]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed GetSize from wxToolBar95
authorJulian Smart <julian@anthemion.co.uk>
Thu, 3 Jun 1999 16:17:49 +0000 (16:17 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 3 Jun 1999 16:17:49 +0000 (16:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/tbar95.h
src/msw/tbar95.cpp

index dcc678db06c28b38a7a6c788f0c0697ea2cee2c4..acbf6aed485a3d076fc32236862d4c06bb61ac31 100644 (file)
@@ -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.
index 3f4d814f84cb57762b4493ad4e6da9a285716b82..fc78112d5c9aaa0aadaace719286edd06a3e6a20 100644 (file)
@@ -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
 {