X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35a0184e7d0a19fb2a59c525fdc6b8f7afdfc90a..66b9ec3dab76aedfb19582dc82d793b65054e2ac:/contrib/utils/wxrcedit/edapp.cpp?ds=inline diff --git a/contrib/utils/wxrcedit/edapp.cpp b/contrib/utils/wxrcedit/edapp.cpp index 2ad0a59b05..9c3602ffaa 100644 --- a/contrib/utils/wxrcedit/edapp.cpp +++ b/contrib/utils/wxrcedit/edapp.cpp @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation #pragma interface #endif @@ -30,7 +30,8 @@ #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; }