1) corrected bug in log.cpp which only affected wxGTK: some messages could
appear twice 2) tried to use gtk_widget_set_usize in wxFrame::SetSizeHints(), but it still doesn't work... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -421,6 +421,9 @@ void wxLogGui::Flush()
|
||||
if ( !m_bHasMessages )
|
||||
return;
|
||||
|
||||
// do it right now to block any new calls to Flush() while we're here
|
||||
m_bHasMessages = FALSE;
|
||||
|
||||
// @@@ ugly...
|
||||
|
||||
// concatenate all strings (but not too many to not overfill the msg box)
|
||||
@@ -449,7 +452,6 @@ void wxLogGui::Flush()
|
||||
}
|
||||
|
||||
// no undisplayed messages whatsoever
|
||||
m_bHasMessages =
|
||||
m_bErrors = FALSE;
|
||||
m_aMessages.Empty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user