From 1b2dab346d2dfe454d7b4fff28afba81e27965b7 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 22 Dec 2000 21:17:55 +0000 Subject: [PATCH] Log error messages work. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/app.cpp | 10 +++++----- src/gtk1/app.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index ea97495e22..860d6d6c71 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -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() diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index ea97495e22..860d6d6c71 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -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()