PostCreation();
- ApplyWidgetStyle();
-
SetFont( parent->GetFont() );
wxSize size_best( DoGetBestSize() );
new_size.x = size_best.x;
if (new_size.y == -1)
new_size.y = size_best.y;
+ if (new_size.y > size_best.y)
+ new_size.y = size_best.y;
if ((new_size.x != size.x) || (new_size.y != size.y))
SetSize( new_size.x, new_size.y );