&ref );
if ( !(GetWindowStyle() & wxST_NO_AUTORESIZE) )
+ {
SetSize( GetBestSize() ) ;
+ SetSizeHints(GetSize());
+ }
Update() ;
}
if ( ret )
{
if ( !(GetWindowStyle() & wxST_NO_AUTORESIZE) )
+ {
SetSize( GetBestSize() );
+ SetSizeHints(GetSize());
+ }
}
return ret;