]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
reset the tooltip text before changing it, this apparently prevents a spurious redraw...
[wxWidgets.git] / src / common / appcmn.cpp
index 9a6cb43f66eb61b8d3a0241901fbeca9e3747263..82fdabf78e515d524b6d2dff811f70ae84574831 100644 (file)
@@ -103,6 +103,10 @@ bool wxAppBase::Initialize(int& argcOrig, wxChar **argvOrig)
 
     wxBitmap::InitStandardHandlers();
 
 
     wxBitmap::InitStandardHandlers();
 
+    // for compatibility call the old initialization function too
+    if ( !OnInitGui() )
+        return false;
+
     return true;
 }
 
     return true;
 }