rely on built-in best size...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-06-26 09:39:01 +00:00
parent 6dfa00e85c
commit f4e8ff28c5

View File

@@ -35,12 +35,12 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
return false;
wxSize size = s ;
/*
if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
{
size = wxSize( 200 , 16 ) ;
}
*/
Rect bounds = wxMacGetBoundsForControl( this , pos , size ) ;
m_peer = new wxMacControl() ;
verify_noerr ( CreateProgressBarControl( MAC_WXHWND(parent->MacGetTopLevelWindowRef()) , &bounds ,