]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/dialoged.cpp
Oops, I left an extra { in there.
[wxWidgets.git] / utils / dialoged / src / dialoged.cpp
index 776852971dc19817ed9f273166cb85488b1f29e6..2e68783e7056322f4a5cbdbe6902a4d653f475e5 100644 (file)
 #include "wx/wx.h"
 #endif
 
+#include "wx/deprecated/setup.h"
+
 #include "dialoged.h"
 
+#if !wxUSE_PROPSHEET
+#error Please set wxUSE_PROPSHEET to 1 in setup.h.
+#endif
+#if !wxUSE_RESOURCES
+#error Please set wxUSE_RESOURCES to 1 in setup.h.
+#endif
+
 IMPLEMENT_APP(MyApp)
 
 BEGIN_EVENT_TABLE(MyApp, wxApp)
-    EVT_MENU(OBJECT_MENU_EDIT, MyApp::OnObjectPopupMenu)
-    EVT_MENU(OBJECT_MENU_DELETE, MyApp::OnObjectPopupMenu)
 END_EVENT_TABLE()
 
 MyApp::MyApp(void)
@@ -44,14 +51,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;
 }