]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/edapp.cpp
removed files with empty stubs
[wxWidgets.git] / contrib / utils / wxrcedit / edapp.cpp
index ad65e05c1fe4a2c41304e2fe194334836bdfafe4..10a151c8914e52bad8fbdc0e997a80a0a023a306 100644 (file)
@@ -7,7 +7,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma implementation
     #pragma interface
 #endif
     #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;
 }