#include "wx/wx.h"
#endif
-#include "wx/xml/xml.h"
+#include "wx/xrc/xml.h"
#include "wx/image.h"
-
+#include "wx/wx.h"
#include "editor.h"
-
+#include "preview.h"
+#include "propframe.h"
// -- Application
bool MyApp::OnInit()
{
+ SetVendorName(wxT("wxWindows"));
+ SetAppName(wxT("wxrcedit"));
wxString arg = (argc >= 1) ? argv[1] : "";
wxInitAllImageHandlers();
wxFrame *frame = new EditorFrame(NULL, arg);
SetTopWindow(frame);
frame->Show(TRUE);
+ PreviewFrame::Get()->Show(TRUE);
+ PropertiesFrame::Get()->Show(TRUE);
return TRUE;
}