#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
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;
}