Improve default size for wxGauge and wxChoice.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2004-05-15 15:08:30 +00:00
parent 2b2832ef0c
commit ebbb22bd7f
4 changed files with 16 additions and 8 deletions

View File

@@ -72,10 +72,10 @@ void wxGauge::DoSetGauge()
wxSize wxGauge::DoGetBestSize() const
{
if (HasFlag(wxGA_HORIZONTAL))
return wxSize(100, 28);
else
if (HasFlag(wxGA_VERTICAL))
return wxSize(28, 100);
else
return wxSize(100, 28);
}
void wxGauge::SetRange( int range )