Corrected wxToolBar::ToolSetBitmapSize()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2001-05-11 17:07:54 +00:00
parent 804a46d3f7
commit a90c95aa8e
2 changed files with 6 additions and 4 deletions

View File

@ -150,7 +150,8 @@ bool wxToolBar::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons
m_x = x ;
m_y = y ;
}
return true ;
return TRUE;
}
wxToolBar::~wxToolBar()
@ -386,7 +387,7 @@ bool wxToolBar::Realize()
void wxToolBar::SetToolBitmapSize(const wxSize& size)
{
m_defaultWidth = size.x; m_defaultHeight = size.y;
m_defaultWidth = size.x+2; m_defaultHeight = size.y+2;
}
// The button size is bigger than the bitmap size

View File

@ -150,7 +150,8 @@ bool wxToolBar::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons
m_x = x ;
m_y = y ;
}
return true ;
return TRUE;
}
wxToolBar::~wxToolBar()
@ -386,7 +387,7 @@ bool wxToolBar::Realize()
void wxToolBar::SetToolBitmapSize(const wxSize& size)
{
m_defaultWidth = size.x; m_defaultHeight = size.y;
m_defaultWidth = size.x+2; m_defaultHeight = size.y+2;
}
// The button size is bigger than the bitmap size