- int wBtn = m_label.Length() * 8 + 12 + 2 * m_macHorizontalBorder;
- int hBtn = 13 + 2 * m_macVerticalBorder;
+ int wBtn = m_label.Length() * 8 + 12 ;
+ int hBtn = 20 ;
+
+ if ( wBtn < 80 )
+ wBtn = 80 ;
+
+ return wxSize(wBtn, hBtn);
+}
+
+wxSize wxButton::GetDefaultSize()
+{
+ int wBtn = 80 /* + 2 * m_macHorizontalBorder */ ;
+ int hBtn = 20 /* + 2 * m_macVerticalBorder */ ;