]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/dialoged.cpp
Further border style corrections.
[wxWidgets.git] / utils / dialoged / src / dialoged.cpp
index 1a1b6b4b91a91f3b6b9bfd55d4cc285301fee7a7..2e68783e7056322f4a5cbdbe6902a4d653f475e5 100644 (file)
@@ -1,4 +1,3 @@
-/////////////////////////////////////////////////////////////////////////////
 // Name:        dialoged.cpp
 // Purpose:     Main Dialog Editor implementation file
 // Author:      Julian Smart
 #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)
+END_EVENT_TABLE()
+
 MyApp::MyApp(void)
 {
 }
@@ -40,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;
 }