]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treebkg.cpp
Fix recently broken forwarding of events between event handlers.
[wxWidgets.git] / src / generic / treebkg.cpp
index ab44d27257488d62f36977fd088f59e71b7301a5..5cb6d44cc852ac5de6aeff2525769dca6f45c693 100644 (file)
@@ -556,16 +556,6 @@ bool wxTreebook::SetPageImage(size_t n, int imageId)
     return true;
 }
 
-wxSize wxTreebook::CalcSizeFromPage(const wxSize& sizePage) const
-{
-    const wxSize sizeTree = GetControllerSize();
-
-    wxSize size = sizePage;
-    size.x += sizeTree.x;
-
-    return size;
-}
-
 int wxTreebook::GetSelection() const
 {
    return m_selection;