]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/app.cpp
Avoid crash if user aborts the print
[wxWidgets.git] / src / os2 / app.cpp
index 491f4800c283a66ad760011d2d3f4d77eae1946f..3620b182ac857fec94bd8772ef6c633b56a63fb9 100644 (file)
     #include "wx/dialog.h"
     #include "wx/msgdlg.h"
     #include "wx/intl.h"
-    #include "wx/wxchar.h"
-    #include "wx/stdpaths.h"
-    #include "wx/filename.h"
+    #include "wx/crt.h"
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
-#include "wx/module.h"
+#include "wx/stdpaths.h"
+#include "wx/filename.h"
 
 #include "wx/os2/private.h"
 
@@ -484,8 +484,6 @@ void wxApp::OnIdle( wxIdleEvent& rEvent )
 
     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