added flushing for MacOS X buffered window immediatly when using wxWindow::Update

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-01-14 18:08:59 +00:00
parent f6106dae23
commit f175912347
2 changed files with 12 additions and 0 deletions

View File

@@ -1423,7 +1423,13 @@ void wxWindowMac::Update()
{
wxTopLevelWindowMac* win = MacGetTopLevelWindow( ) ;
if ( win )
{
win->MacUpdate( 0 ) ;
if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) )
{
QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ;
}
}
}
wxTopLevelWindowMac* wxWindowMac::MacGetTopLevelWindow() const