Log error messages work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e80658dacc
commit
1b2dab346d
@ -154,6 +154,11 @@ gint wxapp_pending_callback( gpointer WXUNUSED(data) )
|
|||||||
|
|
||||||
g_pendingTag = 0;
|
g_pendingTag = 0;
|
||||||
|
|
||||||
|
/* flush the logged messages if any */
|
||||||
|
#if wxUSE_LOG
|
||||||
|
wxLog::FlushActive();
|
||||||
|
#endif // wxUSE_LOG
|
||||||
|
|
||||||
// Release lock again
|
// Release lock again
|
||||||
gdk_threads_leave();
|
gdk_threads_leave();
|
||||||
|
|
||||||
@ -424,11 +429,6 @@ void wxApp::OnIdle( wxIdleEvent &event )
|
|||||||
event.RequestMore(TRUE);
|
event.RequestMore(TRUE);
|
||||||
|
|
||||||
s_inOnIdle = FALSE;
|
s_inOnIdle = FALSE;
|
||||||
|
|
||||||
/* flush the logged messages if any */
|
|
||||||
#if wxUSE_LOG
|
|
||||||
wxLog::FlushActive();
|
|
||||||
#endif // wxUSE_LOG
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxApp::SendIdleEvents()
|
bool wxApp::SendIdleEvents()
|
||||||
|
@ -154,6 +154,11 @@ gint wxapp_pending_callback( gpointer WXUNUSED(data) )
|
|||||||
|
|
||||||
g_pendingTag = 0;
|
g_pendingTag = 0;
|
||||||
|
|
||||||
|
/* flush the logged messages if any */
|
||||||
|
#if wxUSE_LOG
|
||||||
|
wxLog::FlushActive();
|
||||||
|
#endif // wxUSE_LOG
|
||||||
|
|
||||||
// Release lock again
|
// Release lock again
|
||||||
gdk_threads_leave();
|
gdk_threads_leave();
|
||||||
|
|
||||||
@ -424,11 +429,6 @@ void wxApp::OnIdle( wxIdleEvent &event )
|
|||||||
event.RequestMore(TRUE);
|
event.RequestMore(TRUE);
|
||||||
|
|
||||||
s_inOnIdle = FALSE;
|
s_inOnIdle = FALSE;
|
||||||
|
|
||||||
/* flush the logged messages if any */
|
|
||||||
#if wxUSE_LOG
|
|
||||||
wxLog::FlushActive();
|
|
||||||
#endif // wxUSE_LOG
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxApp::SendIdleEvents()
|
bool wxApp::SendIdleEvents()
|
||||||
|
Loading…
Reference in New Issue
Block a user