]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/app.cpp
implemented DoGetSize() for wxSlider (patch from Dimitri)
[wxWidgets.git] / src / x11 / app.cpp
index 3408003de49891d8276d3111fb6f02404fc04635..1ca16bb8e24da0060046a068fd46fee85aeb2aa8 100644 (file)
@@ -924,8 +924,6 @@ bool wxApp::SendIdleEvents(wxWindow* win)
 
     win->GetEventHandler()->ProcessEvent(event);
 
 
     win->GetEventHandler()->ProcessEvent(event);
 
-    win->OnInternalIdle();
-
     if (event.MoreRequested())
         needMore = TRUE;
 
     if (event.MoreRequested())
         needMore = TRUE;
 
@@ -939,6 +937,8 @@ bool wxApp::SendIdleEvents(wxWindow* win)
         node = node->Next();
     }
 
         node = node->Next();
     }
 
+    win->OnInternalIdle();
+
     return needMore;
 }
 
     return needMore;
 }
 
@@ -1202,7 +1202,7 @@ void wxApp::OnAssert(const wxChar *file, int line, const wxChar *msg)
 {
     // While the GUI isn't working that well, just print out the
     // message.
 {
     // While the GUI isn't working that well, just print out the
     // message.
-#if 0
+#if 1
     wxAppBase::OnAssert(file, line, msg);
 #else
     wxString msg2;
     wxAppBase::OnAssert(file, line, msg);
 #else
     wxString msg2;