summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
024e0f6)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25898
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxSize sz = GetDefaultSize() ;
{
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;
if (wBtn > sz.x) sz.x = wBtn;
{
wxSize sz = GetDefaultSize() ;
{
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;
if (wBtn > sz.x) sz.x = wBtn;
{
if ( IsKindOf( CLASSINFO( wxButton ) ) )
{
{
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 ;
}
if ( m_width < 70 )
m_width = 70 ;
}
{
if ( IsKindOf( CLASSINFO( wxButton ) ) )
{
{
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 ;
}
if ( m_width < 70 )
m_width = 70 ;
}