#endif
BEGIN_EVENT_TABLE(wxDialog, wxDialogBase)
-#ifdef __SMARTPHONE__
- EVT_MENU(wxID_OK, wxDialog::OnOK)
- EVT_MENU(wxID_APPLY, wxDialog::OnApply)
- EVT_MENU(wxID_CANCEL, wxDialog::OnCancel)
-#else
EVT_BUTTON(wxID_OK, wxDialog::OnOK)
EVT_BUTTON(wxID_APPLY, wxDialog::OnApply)
EVT_BUTTON(wxID_CANCEL, wxDialog::OnCancel)
-#endif
EVT_SYS_COLOUR_CHANGED(wxDialog::OnSysColourChanged)
{
Init();
- Create(parent, -1, title, wxPoint(x, y), wxSize(w, h), style, name);
+ Create(parent, wxID_ANY, title, wxPoint(x, y), wxSize(w, h), style, name);
}
void wxDialog::SetModal(bool WXUNUSED(flag))