#include "wx/layout.h"
#include "wx/dialog.h"
#include "wx/scrolbar.h"
-#include "wx/scrolwin.h"
#include "wx/statbox.h"
#include "wx/button.h"
#include "wx/settings.h"
#include "wx/log.h"
#include "wx/geometry.h"
#include "wx/textctrl.h"
-#include "wx/laywin.h"
-#include "wx/splitter.h"
#include "wx/toolbar.h"
#include "wx/dc.h"
void wxWindowMac::Update()
{
#if TARGET_API_MAC_OSX
- WindowRef window = (WindowRef)MacGetTopLevelWindowRef() ;
+
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
+ WindowRef window = (WindowRef)MacGetTopLevelWindowRef() ;
+
// for composited windows this also triggers a redraw of all
// invalid views in the window
if( UMAGetSystemVersion() >= 0x1030 )
MacRootWindowToWindow( &x , &y ) ;
if ( !includeOuterStructures || (
- parent->IsKindOf( CLASSINFO( wxScrolledWindow ) ) ||
- parent->IsKindOf( CLASSINFO( wxSashLayoutWindow ) ) ||
- ( parent->GetParent() && parent->GetParent()->IsKindOf( CLASSINFO( wxSplitterWindow ) ) )
+ parent->MacClipChildren() ||
+ ( parent->GetParent() && parent->GetParent()->MacClipGrandChildren() )
) )
{
SetRectRgn( tempRgn ,