]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/control.cpp
added conversions via UniChar for wchar = 4 bytes versions
[wxWidgets.git] / src / mac / carbon / control.cpp
index ae57f23ab07e48b09f2b08a4ec810d27902d15a5..49be26a16ccb9fd5cdc6e6332803eae751ad824a 100644 (file)
@@ -433,7 +433,7 @@ void wxControl::MacAdjustControlRect()
         {
             if ( IsKindOf( CLASSINFO( wxButton ) ) )
             {
-                m_width = m_label.Length() * 10 + 12 ;
+                m_width = m_label.Length() * 8 + 12 ;
                 if ( m_width < 70 )
                   m_width = 70 ;
             }