removed wxFunction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -183,22 +183,6 @@ bool wxRadioBox::MSWCommand(WXUINT cmd, WXWORD id)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY
|
||||
wxRadioBox::wxRadioBox(wxWindow *parent, wxFunction func, const char *title,
|
||||
int x, int y, int width, int height,
|
||||
int n, char **choices,
|
||||
int majorDim, long style, const char *name)
|
||||
{
|
||||
wxString *choices2 = new wxString[n];
|
||||
for ( int i = 0; i < n; i ++) choices2[i] = choices[i];
|
||||
Create(parent, -1, title, wxPoint(x, y), wxSize(width, height), n, choices2, majorDim, style,
|
||||
wxDefaultValidator, name);
|
||||
Callback(func);
|
||||
delete choices2;
|
||||
}
|
||||
|
||||
#endif // WXWIN_COMPATIBILITY
|
||||
|
||||
// Radio box item
|
||||
wxRadioBox::wxRadioBox()
|
||||
{
|
||||
|
Reference in New Issue
Block a user