From: Julian Smart Date: Thu, 3 Jun 1999 16:17:49 +0000 (+0000) Subject: Removed GetSize from wxToolBar95 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9f55878ef29d49bdaffff25fe51c98815d753a77?ds=inline Removed GetSize from wxToolBar95 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/tbar95.h b/include/wx/msw/tbar95.h index dcc678db06..acbf6aed48 100644 --- a/include/wx/msw/tbar95.h +++ b/include/wx/msw/tbar95.h @@ -66,8 +66,6 @@ class WXDLLEXPORT wxToolBar95: public wxToolBarBase wxSize GetMaxSize() const; - void GetSize(int *w, int *y) const; - virtual bool GetToolState(int toolIndex) const; // Add all the buttons: required for Win95. diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index 3f4d814f84..fc78112d5c 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -437,15 +437,6 @@ wxSize wxToolBar95::GetMaxSize() const return wxSize(m_maxWidth, m_maxHeight); } -void wxToolBar95::GetSize(int *w, int *h) const -{ - wxWindow::GetSize(w, h); - // For some reason, the returned height is several pixels bigger than that - // displayed! - // Taking this fudge factor out now, it seems fine without it. -// *h -= 2; -} - // The button size is bigger than the bitmap size wxSize wxToolBar95::GetToolSize() const {