git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13569
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxTopLevelWindowMac* win = MacGetTopLevelWindow( ) ;
if ( win )
+ {
win->MacUpdate( 0 ) ;
+ if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) )
+ {
+ QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ;
+ }
+ }
}
wxTopLevelWindowMac* wxWindowMac::MacGetTopLevelWindow() const
{
wxTopLevelWindowMac* win = MacGetTopLevelWindow( ) ;
if ( win )
+ {
win->MacUpdate( 0 ) ;
+ if ( QDIsPortBuffered( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) ) )
+ {
+ QDFlushPortBuffer( GetWindowPort( (WindowRef) win->MacGetWindowRef() ) , NULL ) ;
+ }
+ }
}
wxTopLevelWindowMac* wxWindowMac::MacGetTopLevelWindow() const