]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/edapp.cpp
Changed version number
[wxWidgets.git] / contrib / utils / wxrcedit / edapp.cpp
index 10a151c8914e52bad8fbdc0e997a80a0a023a306..dc2edda79cfc4e6f84483f424ebd1fc7553c2d13 100644 (file)
 #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;
 }