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:
@@ -1447,10 +1447,12 @@ void wxWindowMac::Update()
|
|||||||
if ( win )
|
if ( win )
|
||||||
{
|
{
|
||||||
win->MacUpdate( 0 ) ;
|
win->MacUpdate( 0 ) ;
|
||||||
|
#if TARGET_API_MAC_CARBON
|
||||||
if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) )
|
if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) )
|
||||||
{
|
{
|
||||||
QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ;
|
QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1447,10 +1447,12 @@ void wxWindowMac::Update()
|
|||||||
if ( win )
|
if ( win )
|
||||||
{
|
{
|
||||||
win->MacUpdate( 0 ) ;
|
win->MacUpdate( 0 ) ;
|
||||||
|
#if TARGET_API_MAC_CARBON
|
||||||
if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) )
|
if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) )
|
||||||
{
|
{
|
||||||
QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ;
|
QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user