added proper bracketing of QDflushing for carbon only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5dbb17e27f
commit
bec721ec75
@ -1447,10 +1447,12 @@ void wxWindowMac::Update()
|
||||
if ( win )
|
||||
{
|
||||
win->MacUpdate( 0 ) ;
|
||||
#if TARGET_API_MAC_CARBON
|
||||
if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) )
|
||||
{
|
||||
QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1447,10 +1447,12 @@ void wxWindowMac::Update()
|
||||
if ( win )
|
||||
{
|
||||
win->MacUpdate( 0 ) ;
|
||||
#if TARGET_API_MAC_CARBON
|
||||
if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) )
|
||||
{
|
||||
QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user