]>
git.saurik.com Git - wxWidgets.git/blob - contrib/utils/wxrcedit/edapp.cpp
dc2edda79cfc4e6f84483f424ebd1fc7553c2d13
1 /////////////////////////////////////////////////////////////////////////////
2 // Purpose: XML resources editor
3 // Author: Vaclav Slavik
6 // Copyright: (c) 2000 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #if defined(__GNUG__) && !defined(__APPLE__)
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" wxWidgets headers
28 #include "wx/xml/xml.h"
34 #include "propframe.h"
39 class MyApp
: public wxApp
42 virtual bool OnInit();
50 SetVendorName(wxT("wxWidgets"));
51 SetAppName(wxT("wxrcedit"));
52 wxString arg
= (argc
>= 1) ? argv
[1] : _T("");
53 wxInitAllImageHandlers();
54 wxFrame
*frame
= new EditorFrame(NULL
, arg
);
57 PreviewFrame::Get()->Show(true);
58 PropertiesFrame::Get()->Show(true);