]> git.saurik.com Git - wxWidgets.git/commitdiff
removed unused GetScrollbarArrowSize() version
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 28 Oct 2006 15:16:45 +0000 (15:16 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 28 Oct 2006 15:16:45 +0000 (15:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/themes/gtk.cpp

index 1b66387049f7857fe1ef91a8a1c66883fb203818..07208440a8f79ea507c77962a05992f2d268f875 100644 (file)
@@ -314,26 +314,6 @@ protected:
     // draw inner GTK shadow
     void DrawInnerShadedRect(wxDC& dc, wxRect *rect);
 
-#if wxUSE_SCROLLBAR
-    // returns the size of the arrow for the scrollbar (depends on
-    // orientation)
-    wxSize GetScrollbarArrowSize(const wxScrollBar *scrollbar) const
-    {
-        wxSize size;
-        if ( scrollbar->IsVertical() )
-        {
-            size = m_sizeScrollbarArrow;
-        }
-        else
-        {
-            size.x = m_sizeScrollbarArrow.y;
-            size.y = m_sizeScrollbarArrow.x;
-        }
-
-        return size;
-    }
-#endif // wxUSE_SCROLLBAR
-
     // get the line wrap indicator bitmap
     wxBitmap GetLineWrapBitmap() const;