X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12d9e30820444b48882ab9e29139611b99a84495..6ee3c06421446908fabe9de45b8e0c7519c28c24:/contrib/utils/wxrcedit/edapp.cpp diff --git a/contrib/utils/wxrcedit/edapp.cpp b/contrib/utils/wxrcedit/edapp.cpp index 3adb61a1c7..10a151c891 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 @@ -25,7 +25,7 @@ #include "wx/wx.h" #endif -#include "wx/xml/xml.h" +#include "wx/xrc/xml.h" #include "wx/image.h" #include "wx/wx.h" @@ -47,6 +47,8 @@ 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);