]>
git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/dialoged.cpp
bde94cba52c2a7cdf84893b882bbf47867dd1201
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"
29 // A macro needed for some compilers (AIX) that need 'main' to be defined
30 // in the application itself.
39 wxResourceManager
*theResourceManager
= NULL
;
41 bool MyApp::OnInit(void)
43 theResourceManager
= new wxResourceManager
;
44 theResourceManager
->Initialize();
46 theResourceManager
->ShowResourceEditor(TRUE
);
49 theResourceManager
->Load(argv
[1]);
51 SetTopWindow(theResourceManager
->GetEditorFrame());
56 int MyApp::OnExit(void)
58 delete theResourceManager
;
59 theResourceManager
= NULL
;