]>
git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/dialoged.cpp
2 // Purpose: Main Dialog Editor implementation file
3 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows license
9 /////////////////////////////////////////////////////////////////////////////
12 #pragma implementation "dialoged.h"
15 // For compilers that support precompilation, includes "wx/wx.h".
16 #include "wx/wxprec.h"
34 wxResourceManager
*theResourceManager
= NULL
;
38 bool MyApp::OnInit(void)
40 theResourceManager
= new wxResourceManager
;
41 theResourceManager
->Initialize();
43 theResourceManager
->ShowResourceEditor(TRUE
);
46 theResourceManager
->Load(argv
[1]);
48 SetTopWindow(theResourceManager
->GetEditorFrame());
53 int MyApp::OnExit(void)
55 delete theResourceManager
;
56 theResourceManager
= NULL
;