X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6788de4d30773ed96c3793c2e0faee88266a7140..1b6f93fcfe211e81c77d7485c4c3786a846c84df:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 0b9a9ae16b..2e4b571d1f 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -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" @@ -48,7 +49,6 @@ class /* no WXDLLEXPORT */ wxConsoleApp : public wxApp { public: virtual int OnRun() { wxFAIL_MSG(wxT("unreachable")); return 0; } - virtual bool ProcessIdle() { return TRUE; } }; // ---------------------------------------------------------------------------- @@ -110,7 +110,6 @@ bool WXDLLEXPORT wxInitialize() return FALSE; } - wxTheApp->DoInit(); gs_nInitCount++; return TRUE; @@ -153,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; @@ -231,3 +230,5 @@ static void DoCleanUp() delete wxLog::SetActiveTarget(NULL); #endif // wxUSE_LOG } + +// vi:sts=4:sw=4:et