]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
Added missing includes for non-precompiled headers.
[wxWidgets.git] / src / common / init.cpp
index bdbed9efd0b3525d896c293d602e465b06e4f854..2e4b571d1fec2b86141e9674f7f6b51c43f98f79 100644 (file)
@@ -27,6 +27,7 @@
     #include "wx/app.h"
     #include "wx/debug.h"
     #include "wx/filefn.h"
+    #include "wx/log.h"
 #endif
 
 #include "wx/module.h"
@@ -109,7 +110,6 @@ bool WXDLLEXPORT wxInitialize()
         return FALSE;
     }
 
-    wxTheApp->DoInit();
     gs_nInitCount++;
 
     return TRUE;
@@ -152,7 +152,7 @@ int wxEntry(int argc, char **argv)
     int mb_argc = 0;
     while (mb_argc < argc)
     {
-        wxTheApp->argv[mb_argc] = wxStrdup(wxConvLibc.cMB2WX(argv[mb_argc]));
+        wxTheApp->argv[mb_argc] = wxStrdup(wxConvLocal.cMB2WX(argv[mb_argc]));
         mb_argc++;
     }
     wxTheApp->argv[mb_argc] = (wxChar *)NULL;
@@ -230,3 +230,5 @@ static void DoCleanUp()
     delete wxLog::SetActiveTarget(NULL);
 #endif // wxUSE_LOG
 }
+
+// vi:sts=4:sw=4:et