]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/dialoged.cpp
removed libxpm dependencies from makefiles
[wxWidgets.git] / utils / dialoged / src / dialoged.cpp
index 21029951717df7f1ef7d0c6837a2ce6f13008714..d59b19d8f1b4e83cc199a428fb1e4bfdfb92e24d 100644 (file)
 
 IMPLEMENT_APP(MyApp)
 
 
 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)
 {
 }
 MyApp::MyApp(void)
 {
 }
@@ -39,14 +44,14 @@ bool MyApp::OnInit(void)
 {
     theResourceManager = new wxResourceManager;
     theResourceManager->Initialize();
 {
     theResourceManager = new wxResourceManager;
     theResourceManager->Initialize();
-
+    
     theResourceManager->ShowResourceEditor(TRUE);
     theResourceManager->ShowResourceEditor(TRUE);
-  
+    
     if (argc > 1)
         theResourceManager->Load(argv[1]);
     if (argc > 1)
         theResourceManager->Load(argv[1]);
-
+    
     SetTopWindow(theResourceManager->GetEditorFrame());
     SetTopWindow(theResourceManager->GetEditorFrame());
-
+    
     return TRUE;
 }
 
     return TRUE;
 }