]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/edapp.cpp
give focus to show top level windows
[wxWidgets.git] / contrib / utils / wxrcedit / edapp.cpp
index ad65e05c1fe4a2c41304e2fe194334836bdfafe4..e06b5bf15da25aaf5156f9eaeafb7d961e29d203 100644 (file)
     #include "wx/wx.h"
 #endif
 
     #include "wx/wx.h"
 #endif
 
-#include "wx/xml/xml.h"
+#include "wx/xrc/xml.h"
 #include "wx/image.h"
 #include "wx/image.h"
-
+#include "wx/wx.h"
 
 #include "editor.h"
 
 #include "editor.h"
-
+#include "preview.h"
+#include "propframe.h"
 
 
 // -- Application
 
 
 // -- Application
@@ -51,6 +52,8 @@ bool MyApp::OnInit()
     wxFrame *frame = new EditorFrame(NULL, arg);
     SetTopWindow(frame);
     frame->Show(TRUE);
     wxFrame *frame = new EditorFrame(NULL, arg);
     SetTopWindow(frame);
     frame->Show(TRUE);
+    PreviewFrame::Get()->Show(TRUE);
+    PropertiesFrame::Get()->Show(TRUE);
     return TRUE;
 }
 
     return TRUE;
 }