]> git.saurik.com Git - wxWidgets.git/commitdiff
rely on built-in best size...
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 26 Jun 2004 09:39:01 +0000 (09:39 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 26 Jun 2004 09:39:01 +0000 (09:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/gauge.cpp

index bfdbe410dce810c2949f8b9908ae499f54ebb75d..9371fb247d26ceb545a6206ecdfda5b74b1c95a9 100644 (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 ,