]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/dialoged.cpp
don't use GetSelectedInto() in release build
[wxWidgets.git] / utils / dialoged / src / dialoged.cpp
index d59b19d8f1b4e83cc199a428fb1e4bfdfb92e24d..3b208d17cd212b9905757ce5be8012f2225be6e0 100644 (file)
 
 #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)