#include "wx/wx.h"
#endif
+#ifndef __WXMSW__
+#error Sorry, this sample is only appropriate under Windows.
+#endif
+
#include "wx/resource.h"
#include <ctype.h>
dialog->Close(TRUE);
}
-bool MyFrame::OnClose(void)
-{
- Show(FALSE);
-
- return TRUE;
-}
-
BEGIN_EVENT_TABLE(MyDialog, wxDialog)
EVT_BUTTON(wxID_OK, MyDialog::OnOk)
EVT_BUTTON(wxID_CANCEL, MyDialog::OnCancel)