-/////////////////////////////////////////////////////////////////////////////
// Name: dialoged.cpp
// Purpose: Main Dialog Editor implementation file
// Author: Julian Smart
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)
{
}
{
theResourceManager = new wxResourceManager;
theResourceManager->Initialize();
-
+
theResourceManager->ShowResourceEditor(TRUE);
-
+
if (argc > 1)
theResourceManager->Load(argv[1]);
-
+
SetTopWindow(theResourceManager->GetEditorFrame());
-
+
return TRUE;
}