]>
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
;
37 bool MyApp::OnInit(void)
39 theResourceManager
= new wxResourceManager
;
40 theResourceManager
->Initialize();
42 theResourceManager
->ShowResourceEditor(TRUE
);
45 theResourceManager
->Load(argv
[1]);
47 SetTopWindow(theResourceManager
->GetEditorFrame());
52 int MyApp::OnExit(void)
54 delete theResourceManager
;
55 theResourceManager
= NULL
;