#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"
}
// Get the window with the focus
-wxWindowMac *wxWindowBase::FindFocus()
+wxWindowMac *wxWindowBase::DoFindFocus()
{
ControlRef control ;
GetKeyboardFocus( GetUserFocusWindow() , &control ) ;
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 ,