wxSingleChoiceDialog
Implements methods from the following classes
wxDialog
Methods
wxSingleChoiceDialog
Constructor, taking an array of wxString choices and optional client data.
GetSelection
Returns the index of selected item.
GetSelectionData
Returns the client data associated with the selection.
GetStringSelection
Returns the selected string.
SetSelection
Sets the index of the initially selected item.
ShowModal
Shows the dialog, returning either wxID_OK or wxID_CANCEL.
Static Methods
wxSingleChoiceDialog
wxSingleChoiceDialog
(
wxWindow
&
$parent
,
string
$message
,
string
$caption
,
integer
$n
,
array
$choices
,
=
NULL
,
integer
$style
=
wxCHOICEDLG_STYLE
,
wxPoint
$pos
=
wxDefaultPosition
)
Constructor, taking an array of wxString choices and optional client data.
wxSingleChoiceDialog
(
wxWindow
&
$parent
,
string
$message
,
string
$caption
,
array
$choices
,
=
NULL
,
integer
$style
=
wxCHOICEDLG_STYLE
,
wxPoint
$pos
=
wxDefaultPosition
)
Constructor, taking an array of wxString choices and optional client data.
GetSelection
integer
GetSelection
( )
Returns the index of selected item.
GetSelectionData
GetSelectionData
( )
Returns the client data associated with the selection.
GetStringSelection
string
GetStringSelection
( )
Returns the selected string.
SetSelection
SetSelection
(
integer
$selection
)
Sets the index of the initially selected item.
ShowModal
integer
ShowModal
( )
Shows the dialog, returning either wxID_OK or wxID_CANCEL.