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 {