]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/edapp.cpp
compilation fix after TRUE/FALSE change
[wxWidgets.git] / contrib / utils / wxrcedit / edapp.cpp
index 2ad0a59b05e04ecab02272d8d60d02ad30a2bceb..8a3111e7ad35c04be9726b828930a53aa42201d1 100644 (file)
     #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
@@ -46,11 +47,15 @@ IMPLEMENT_APP(MyApp)
 
 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;
 }