diff --git a/src/mac/button.cpp b/src/mac/button.cpp index 82e4e34c5f..cc3685a17d 100644 --- a/src/mac/button.cpp +++ b/src/mac/button.cpp @@ -87,7 +87,7 @@ wxSize wxButton::DoGetBestSize() const { wxSize sz = GetDefaultSize() ; - int wBtn = m_label.Length() * 8 + 12 + 2 * kMacOSXHorizontalBorder ; + int wBtn = m_label.Length() * 10 + 12 + 2 * kMacOSXHorizontalBorder ; if (wBtn > sz.x) sz.x = wBtn; diff --git a/src/mac/carbon/button.cpp b/src/mac/carbon/button.cpp index 82e4e34c5f..cc3685a17d 100644 --- a/src/mac/carbon/button.cpp +++ b/src/mac/carbon/button.cpp @@ -87,7 +87,7 @@ wxSize wxButton::DoGetBestSize() const { wxSize sz = GetDefaultSize() ; - int wBtn = m_label.Length() * 8 + 12 + 2 * kMacOSXHorizontalBorder ; + int wBtn = m_label.Length() * 10 + 12 + 2 * kMacOSXHorizontalBorder ; if (wBtn > sz.x) sz.x = wBtn; diff --git a/src/mac/carbon/control.cpp b/src/mac/carbon/control.cpp index 49be26a16c..ae57f23ab0 100644 --- a/src/mac/carbon/control.cpp +++ b/src/mac/carbon/control.cpp @@ -433,7 +433,7 @@ void wxControl::MacAdjustControlRect() { if ( IsKindOf( CLASSINFO( wxButton ) ) ) { - m_width = m_label.Length() * 8 + 12 ; + m_width = m_label.Length() * 10 + 12 ; if ( m_width < 70 ) m_width = 70 ; } diff --git a/src/mac/control.cpp b/src/mac/control.cpp index 49be26a16c..ae57f23ab0 100644 --- a/src/mac/control.cpp +++ b/src/mac/control.cpp @@ -433,7 +433,7 @@ void wxControl::MacAdjustControlRect() { if ( IsKindOf( CLASSINFO( wxButton ) ) ) { - m_width = m_label.Length() * 8 + 12 ; + m_width = m_label.Length() * 10 + 12 ; if ( m_width < 70 ) m_width = 70 ; }