X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35a0184e7d0a19fb2a59c525fdc6b8f7afdfc90a..c6ebc32af0bd65527ab148d512dfdd67f3fcbd0a:/contrib/utils/wxrcedit/edapp.cpp diff --git a/contrib/utils/wxrcedit/edapp.cpp b/contrib/utils/wxrcedit/edapp.cpp index 2ad0a59b05..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; }