Removed GetSize from wxToolBar95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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.
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user