X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d2f75071fc2a29ec10abe97c5a908bb35f30f4..a84ece11fffdde5d1bbd254ba58ac3cee79c2e77:/contrib/utils/wxrcedit/edapp.cpp diff --git a/contrib/utils/wxrcedit/edapp.cpp b/contrib/utils/wxrcedit/edapp.cpp index ad65e05c1f..8a3111e7ad 100644 --- a/contrib/utils/wxrcedit/edapp.cpp +++ b/contrib/utils/wxrcedit/edapp.cpp @@ -25,12 +25,13 @@ #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; }