- theResourceManager.Initialize();
- theResourceManager.ShowResourceEditor(TRUE);
-
- if (argc > 1)
- theResourceManager.Load(argv[1]);
-
- SetTopWindow(theResourceManager.GetEditorFrame());
-
- return TRUE;
+ theResourceManager = new wxResourceManager;
+ theResourceManager->Initialize();
+
+ theResourceManager->ShowResourceEditor(TRUE);
+
+ if (argc > 1)
+ theResourceManager->Load(argv[1]);
+
+ SetTopWindow(theResourceManager->GetEditorFrame());
+
+ return TRUE;