]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/app.cpp
Fix for crash when opening empty node
[wxWidgets.git] / src / os2 / app.cpp
index 65b080d5e955ec2d949e4b14c294dbe4b991d445..3620b182ac857fec94bd8772ef6c633b56a63fb9 100644 (file)
@@ -28,7 +28,7 @@
     #include "wx/dialog.h"
     #include "wx/msgdlg.h"
     #include "wx/intl.h"
     #include "wx/dialog.h"
     #include "wx/msgdlg.h"
     #include "wx/intl.h"
-    #include "wx/wxchar.h"
+    #include "wx/crt.h"
     #include "wx/log.h"
     #include "wx/module.h"
 #endif
     #include "wx/log.h"
     #include "wx/module.h"
 #endif
@@ -484,8 +484,6 @@ void wxApp::OnIdle( wxIdleEvent& rEvent )
 
     gbInOnIdle = true;
 
 
     gbInOnIdle = true;
 
-    wxAppBase::OnIdle(rEvent);
-
 #if wxUSE_DC_CACHEING
     // automated DC cache management: clear the cached DCs and bitmap
     // if it's likely that the app has finished with them, that is, we
 #if wxUSE_DC_CACHEING
     // automated DC cache management: clear the cached DCs and bitmap
     // if it's likely that the app has finished with them, that is, we