X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..209f3e1453dd576919bf1cc8f696218dae23c34b:/contrib/utils/wxrcedit/edapp.cpp diff --git a/contrib/utils/wxrcedit/edapp.cpp b/contrib/utils/wxrcedit/edapp.cpp index 10a151c891..dc2edda79c 100644 --- a/contrib/utils/wxrcedit/edapp.cpp +++ b/contrib/utils/wxrcedit/edapp.cpp @@ -20,12 +20,12 @@ #endif // for all others, include the necessary headers (this file is usually all you -// need because it includes almost all "standard" wxWindows headers +// need because it includes almost all "standard" wxWidgets headers #ifndef WX_PRECOMP #include "wx/wx.h" #endif -#include "wx/xrc/xml.h" +#include "wx/xml/xml.h" #include "wx/image.h" #include "wx/wx.h" @@ -47,15 +47,15 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { - SetVendorName(wxT("wxWindows")); + SetVendorName(wxT("wxWidgets")); SetAppName(wxT("wxrcedit")); - wxString arg = (argc >= 1) ? argv[1] : ""; + wxString arg = (argc >= 1) ? argv[1] : _T(""); wxInitAllImageHandlers(); wxFrame *frame = new EditorFrame(NULL, arg); SetTopWindow(frame); - frame->Show(TRUE); - PreviewFrame::Get()->Show(TRUE); - PropertiesFrame::Get()->Show(TRUE); - return TRUE; + frame->Show(true); + PreviewFrame::Get()->Show(true); + PropertiesFrame::Get()->Show(true); + return true; }