notifying children of absolute position changes, add version checks instead of symbol checks, so that CW builds do not complain on 10.2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2005-02-24 14:09:08 +00:00
parent 37d0bfa875
commit 91ae6e3a94

View File

@ -1811,6 +1811,9 @@ void wxWindowMac::DoMoveWindow(int x, int y, int width, int height)
if ( vis )
m_peer->SetVisibility( true , true ) ;
if ( doMove )
wxWindowMac::MacSuperChangedPosition() ; // like this only children will be notified
MacInvalidateBorders() ;
MacRepositionScrollBars() ;
@ -2401,7 +2404,7 @@ void wxWindowMac::MacPaintBorders( int leftOrigin , int rightOrigin )
InsetRect( &rect, -MacGetLeftBorderSize() , -MacGetTopBorderSize() ) ;
#if wxMAC_USE_CORE_GRAPHICS && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
if ( HIThemeDrawFrame != 0)
if ( UMAGetSystemVersion() >= 0x1030 )
{
Rect srect = rect ;
HIThemeFrameDrawInfo info ;
@ -3069,7 +3072,7 @@ bool wxWindowMac::MacDoRedraw( WXHRGN updatergnr , long time )
if ( !child->GetEventHandler()->ProcessEvent( eventNc ) )
{
#if wxMAC_USE_CORE_GRAPHICS && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
if ( HIThemeDrawFrame != 0)
if ( UMAGetSystemVersion() >= 0x1030 )
{
child->MacPaintBorders(0,0) ;
}