From: Stefan Csomor Date: Sat, 26 Jun 2004 09:39:01 +0000 (+0000) Subject: rely on built-in best size... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f4e8ff28c5ad0c498ee676a3470e615b6479ba3b rely on built-in best size... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/gauge.cpp b/src/mac/carbon/gauge.cpp index bfdbe410dc..9371fb247d 100644 --- a/src/mac/carbon/gauge.cpp +++ b/src/mac/carbon/gauge.cpp @@ -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 ,