MyApp::~MyApp()
{
+#if defined(__WXMSW__)
delete dialog1;
delete menu1;
+#endif
}
BEGIN_EVENT_TABLE(MyPanel, wxPanel)
dialog->Close(TRUE);
}
-bool MyFrame::OnClose(void)
-{
- Show(FALSE);
-
- return TRUE;
-}
-
BEGIN_EVENT_TABLE(MyDialog, wxDialog)
// EVT_BUTTON(RESOURCE_OK, MyDialog::OnOk)
EVT_BUTTON(ID_BUTTON109, MyDialog::OnCancel)