if ( !wxControl::Create( parent, id, pos, size, style, wxDefaultValidator, name ) )
return false;
- m_label = label;
+ m_labelOrig = m_label = label;
Rect bounds = wxMacGetBoundsForControl( this, pos, size );
}
}
- *borderTop = extraTop + GetCharHeight();
+ *borderTop = extraTop;
+ if ( !m_label.empty() )
+ *borderTop += GetCharHeight();
+
*borderOther = other;
}