]>
git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/dialoged.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Main Dialog Editor implementation file
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "dialoged.h"
16 // For compilers that support precompilation, includes "wx/wx.h".
17 #include "wx/wxprec.h"
35 wxResourceManager
*theResourceManager
= NULL
;
39 bool MyApp::OnInit(void)
41 theResourceManager
= new wxResourceManager
;
42 theResourceManager
->Initialize();
44 theResourceManager
->ShowResourceEditor(TRUE
);
47 theResourceManager
->Load(argv
[1]);
49 SetTopWindow(theResourceManager
->GetEditorFrame());
54 int MyApp::OnExit(void)
56 delete theResourceManager
;
57 theResourceManager
= NULL
;