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:
@@ -500,18 +500,18 @@ void wxLogGui::DoLog(wxLogLevel level, const char *szString)
|
|||||||
{
|
{
|
||||||
wxString strTime = TimeStamp();
|
wxString strTime = TimeStamp();
|
||||||
|
|
||||||
#if (defined(__WIN32__) || defined(__WIN16__)) && !defined(__WXSTUBS__)
|
#ifdef __WXMSW__
|
||||||
// don't prepend debug/trace here: it goes to the debug window
|
// don't prepend debug/trace here: it goes to the debug window
|
||||||
// anyhow, but do put a timestamp
|
// anyhow, but do put a timestamp
|
||||||
OutputDebugString(strTime + szString + "\n\r");
|
OutputDebugString(strTime + szString + "\n\r");
|
||||||
#else //!WIN32
|
#else
|
||||||
// send them to stderr
|
// send them to stderr
|
||||||
fprintf(stderr, "%s %s: %s\n",
|
fprintf(stderr, "%s %s: %s\n",
|
||||||
strTime.c_str(),
|
strTime.c_str(),
|
||||||
level == wxLOG_Trace ? _("Trace") : _("Debug"),
|
level == wxLOG_Trace ? _("Trace") : _("Debug"),
|
||||||
szString);
|
szString);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
#endif // WIN32
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
@@ -191,6 +191,13 @@ bool wxFrame::Show( bool show )
|
|||||||
m_sizeSet = FALSE;
|
m_sizeSet = FALSE;
|
||||||
GetEventHandler()->ProcessEvent( event );
|
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 );
|
return wxWindow::Show( show );
|
||||||
}
|
}
|
||||||
|
@@ -191,6 +191,13 @@ bool wxFrame::Show( bool show )
|
|||||||
m_sizeSet = FALSE;
|
m_sizeSet = FALSE;
|
||||||
GetEventHandler()->ProcessEvent( event );
|
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 );
|
return wxWindow::Show( show );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user