]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/toolbkg.cpp
Don't use native MSW wxCommandLinkButton in wxUniversal.
[wxWidgets.git] / src / generic / toolbkg.cpp
index ae2dbbe36dd1ae592b449e03f3db230f89b20053..b88e45b9cd844b2847c92d75db5d331aae86a762 100644 (file)
@@ -137,24 +137,6 @@ void wxToolbook::OnSize(wxSizeEvent& event)
     wxBookCtrlBase::OnSize(event);
 }
 
-wxSize wxToolbook::CalcSizeFromPage(const wxSize& sizePage) const
-{
-    // we need to add the size of the list control and the border between
-    const wxSize sizeToolBar = GetControllerSize();
-
-    wxSize size = sizePage;
-    if ( IsVertical() )
-    {
-        size.y += sizeToolBar.y + GetInternalBorder();
-    }
-    else // left/right aligned
-    {
-        size.x += sizeToolBar.x + GetInternalBorder();
-    }
-
-    return size;
-}
-
 // ----------------------------------------------------------------------------
 // accessing the pages
 // ----------------------------------------------------------------------------