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:
@@ -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
|
||||||
|
@@ -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);
|
||||||
|
@@ -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
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user