Build fix in wxLog
Moved wxFrame::Resize without success.. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e52f60e652
commit
06405ac80b
@ -500,18 +500,18 @@ void wxLogGui::DoLog(wxLogLevel level, const char *szString)
|
||||
{
|
||||
wxString strTime = TimeStamp();
|
||||
|
||||
#if (defined(__WIN32__) || defined(__WIN16__)) && !defined(__WXSTUBS__)
|
||||
#ifdef __WXMSW__
|
||||
// don't prepend debug/trace here: it goes to the debug window
|
||||
// anyhow, but do put a timestamp
|
||||
OutputDebugString(strTime + szString + "\n\r");
|
||||
#else //!WIN32
|
||||
#else
|
||||
// send them to stderr
|
||||
fprintf(stderr, "%s %s: %s\n",
|
||||
strTime.c_str(),
|
||||
level == wxLOG_Trace ? _("Trace") : _("Debug"),
|
||||
szString);
|
||||
fflush(stderr);
|
||||
#endif // WIN32
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
@ -191,6 +191,13 @@ bool wxFrame::Show( bool show )
|
||||
m_sizeSet = FALSE;
|
||||
GetEventHandler()->ProcessEvent( event );
|
||||
*/
|
||||
|
||||
// here we give wxFrame a chance to do resize updates
|
||||
// before appearing on screen. resize updates have to
|
||||
// be handled in idle time because of GTK's super smart
|
||||
// resize propagation algorithm.
|
||||
|
||||
wxYield();
|
||||
}
|
||||
return wxWindow::Show( show );
|
||||
}
|
||||
|
@ -191,6 +191,13 @@ bool wxFrame::Show( bool show )
|
||||
m_sizeSet = FALSE;
|
||||
GetEventHandler()->ProcessEvent( event );
|
||||
*/
|
||||
|
||||
// here we give wxFrame a chance to do resize updates
|
||||
// before appearing on screen. resize updates have to
|
||||
// be handled in idle time because of GTK's super smart
|
||||
// resize propagation algorithm.
|
||||
|
||||
wxYield();
|
||||
}
|
||||
return wxWindow::Show( show );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user