Minor beautification of wxToolBar under Mac.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-07-14 18:49:06 +00:00
parent c10f20703e
commit 9aad97fdcc
4 changed files with 4 additions and 4 deletions

View File

@@ -388,7 +388,7 @@ bool wxToolBar::Realize()
void wxToolBar::SetToolBitmapSize(const wxSize& size) void wxToolBar::SetToolBitmapSize(const wxSize& size)
{ {
m_defaultWidth = size.x+2; m_defaultHeight = size.y+2; m_defaultWidth = size.x+4; m_defaultHeight = size.y+4;
} }
// The button size is bigger than the bitmap size // The button size is bigger than the bitmap size

View File

@@ -218,7 +218,7 @@ void wxMacToolTip::Draw()
SetOrigin( 0 , 0 ) ; SetOrigin( 0 , 0 ) ;
TextFont( kFontIDGeneva ) ; TextFont( kFontIDGeneva ) ;
TextSize( 9 ) ; TextSize( 10 ) ;
TextFace( 0 ) ; TextFace( 0 ) ;
FontInfo fontInfo; FontInfo fontInfo;
::GetFontInfo(&fontInfo); ::GetFontInfo(&fontInfo);

View File

@@ -388,7 +388,7 @@ bool wxToolBar::Realize()
void wxToolBar::SetToolBitmapSize(const wxSize& size) void wxToolBar::SetToolBitmapSize(const wxSize& size)
{ {
m_defaultWidth = size.x+2; m_defaultHeight = size.y+2; m_defaultWidth = size.x+4; m_defaultHeight = size.y+4;
} }
// The button size is bigger than the bitmap size // The button size is bigger than the bitmap size

View File

@@ -218,7 +218,7 @@ void wxMacToolTip::Draw()
SetOrigin( 0 , 0 ) ; SetOrigin( 0 , 0 ) ;
TextFont( kFontIDGeneva ) ; TextFont( kFontIDGeneva ) ;
TextSize( 9 ) ; TextSize( 10 ) ;
TextFace( 0 ) ; TextFace( 0 ) ;
FontInfo fontInfo; FontInfo fontInfo;
::GetFontInfo(&fontInfo); ::GetFontInfo(&fontInfo);