remove unused static function (avoids a warning about it)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-10 02:06:45 +00:00
parent fc56ba9552
commit 3fe1a32c22

View File

@@ -451,22 +451,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
// ----------------------------------------------------------------------------