X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/859e5b177d4bc319089c23015b9a55b3e9746a69..b08a2401a3850a210682c477474f55f5907fe300:/contrib/utils/wxrcedit/edapp.cpp diff --git a/contrib/utils/wxrcedit/edapp.cpp b/contrib/utils/wxrcedit/edapp.cpp index ffce6a4fe5..dc2edda79c 100644 --- a/contrib/utils/wxrcedit/edapp.cpp +++ b/contrib/utils/wxrcedit/edapp.cpp @@ -20,7 +20,7 @@ #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 @@ -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] : _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; }