]>
git.saurik.com Git - wxWidgets.git/blob - contrib/utils/wxrcedit/edapp.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Purpose: XML resources editor
3 // Author: Vaclav Slavik
6 // Copyright: (c) 2000 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #pragma implementation
15 // For compilers that support precompilation, includes "wx/wx.h".
16 #include "wx/wxprec.h"
22 // for all others, include the necessary headers (this file is usually all you
23 // need because it includes almost all "standard" wxWindows headers
28 #include "wx/xrc/xml.h"
34 #include "propframe.h"
39 class MyApp
: public wxApp
42 virtual bool OnInit();
50 wxString arg
= (argc
>= 1) ? argv
[1] : "";
51 wxInitAllImageHandlers();
52 wxFrame
*frame
= new EditorFrame(NULL
, arg
);
55 PreviewFrame::Get()->Show(TRUE
);
56 PropertiesFrame::Get()->Show(TRUE
);