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:
Robert Roebling 2000-12-22 21:17:55 +00:00
parent e80658dacc
commit 1b2dab346d
2 changed files with 10 additions and 10 deletions

View File

@ -154,6 +154,11 @@ gint wxapp_pending_callback( gpointer WXUNUSED(data) )
g_pendingTag = 0;
/* flush the logged messages if any */
#if wxUSE_LOG
wxLog::FlushActive();
#endif // wxUSE_LOG
// Release lock again
gdk_threads_leave();
@ -424,11 +429,6 @@ void wxApp::OnIdle( wxIdleEvent &event )
event.RequestMore(TRUE);
s_inOnIdle = FALSE;
/* flush the logged messages if any */
#if wxUSE_LOG
wxLog::FlushActive();
#endif // wxUSE_LOG
}
bool wxApp::SendIdleEvents()

View File

@ -154,6 +154,11 @@ gint wxapp_pending_callback( gpointer WXUNUSED(data) )
g_pendingTag = 0;
/* flush the logged messages if any */
#if wxUSE_LOG
wxLog::FlushActive();
#endif // wxUSE_LOG
// Release lock again
gdk_threads_leave();
@ -424,11 +429,6 @@ void wxApp::OnIdle( wxIdleEvent &event )
event.RequestMore(TRUE);
s_inOnIdle = FALSE;
/* flush the logged messages if any */
#if wxUSE_LOG
wxLog::FlushActive();
#endif // wxUSE_LOG
}
bool wxApp::SendIdleEvents()