]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/dialoged.cpp
corrected thread detection for Darwin / Mac OS X
[wxWidgets.git] / utils / dialoged / src / dialoged.cpp
index 21029951717df7f1ef7d0c6837a2ce6f13008714..3485d5dae506c420de549810cd6430ac9cba9862 100644 (file)
 
 #include "dialoged.h"
 
+#if !wxUSE_PROPSHEET
+#error Please set wxUSE_PROPSHEET to 1 in setup.h.
+#endif
+
 IMPLEMENT_APP(MyApp)
 
+BEGIN_EVENT_TABLE(MyApp, wxApp)
+END_EVENT_TABLE()
+
 MyApp::MyApp(void)
 {
 }
@@ -39,14 +46,14 @@ bool MyApp::OnInit(void)
 {
     theResourceManager = new wxResourceManager;
     theResourceManager->Initialize();
-
+    
     theResourceManager->ShowResourceEditor(TRUE);
-  
+    
     if (argc > 1)
         theResourceManager->Load(argv[1]);
-
+    
     SetTopWindow(theResourceManager->GetEditorFrame());
-
+    
     return TRUE;
 }