]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
factor out the fd<->handlers map from wxFDIODispatcher into a separate wxMappedFDIODi...
[wxWidgets.git] / src / generic / scrlwing.cpp
index 35d85bbefa90cd96ca015d74f97fd6536bc2c680..682e7043dcbadefe7cd04f417676272afac91b6c 100644 (file)
@@ -468,22 +468,6 @@ wxWindow *wxScrollHelper::GetTargetWindow() const
     return m_targetWindow;
 }
 
-#ifdef __WXMAC__
-static bool wxScrolledWindowHasChildren(wxWindow* win)
-{
-    wxWindowList::compatibility_iterator node = win->GetChildren().GetFirst();
-    while ( node )
-    {
-        wxWindow* child = node->GetData();
-        if ( !child->IsKindOf(CLASSINFO(wxScrollBar)) )
-            return true;
-
-        node = node->GetNext();
-    }
-    return false;
-}
-#endif
-
 // ----------------------------------------------------------------------------
 // scrolling implementation itself
 // ----------------------------------------------------------------------------