From: Vadim Zeitlin Date: Tue, 22 May 2007 02:02:51 +0000 (+0000) Subject: remove unused static function (avoids a warning about it) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/30c15c1d736cb0942fd735c7e8585b277698a1c3 remove unused static function (avoids a warning about it) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index 35d85bbefa..682e7043dc 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -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 // ----------------------------------------------------------------------------