]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
fix typo in drawing slider ticks; added assert to check for it (slightly modified...
[wxWidgets.git] / src / common / init.cpp
index 6182c6734f3656c68e9bdd2e58568c86f20525df..2e4b571d1fec2b86141e9674f7f6b51c43f98f79 100644 (file)
@@ -27,6 +27,7 @@
     #include "wx/app.h"
     #include "wx/debug.h"
     #include "wx/filefn.h"
     #include "wx/app.h"
     #include "wx/debug.h"
     #include "wx/filefn.h"
+    #include "wx/log.h"
 #endif
 
 #include "wx/module.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; }
 {
 public:
     virtual int OnRun() { wxFAIL_MSG(wxT("unreachable")); return 0; }
-    virtual bool ProcessIdle() { return TRUE; }
 };
 
 // ----------------------------------------------------------------------------
 };
 
 // ----------------------------------------------------------------------------
@@ -110,7 +110,6 @@ bool WXDLLEXPORT wxInitialize()
         return FALSE;
     }
 
         return FALSE;
     }
 
-    wxTheApp->DoInit();
     gs_nInitCount++;
 
     return TRUE;
     gs_nInitCount++;
 
     return TRUE;
@@ -231,3 +230,5 @@ static void DoCleanUp()
     delete wxLog::SetActiveTarget(NULL);
 #endif // wxUSE_LOG
 }
     delete wxLog::SetActiveTarget(NULL);
 #endif // wxUSE_LOG
 }
+
+// vi:sts=4:sw=4:et