- m_rangeMax = range ;
- m_gaugePos = 0 ;
-
- if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
- {
- size = wxSize( 200 , 16 ) ;
- }
-
- Rect bounds = wxMacGetBoundsForControl( this , pos , size ) ;
- verify_noerr ( CreateProgressBarControl( MAC_WXHWND(parent->MacGetTopLevelWindowRef()) , &bounds ,
- m_gaugePos , 0 , m_rangeMax , false /* not indeterminate */ , (ControlRef*) &m_macControl ) ) ;
-
- MacPostControlCreate(pos,size) ;
-
- return TRUE;
-}
+#if 0
+ if (size.x == wxDefaultCoord && size.y == wxDefaultCoord)
+ size = wxSize( 200 , 16 );
+#endif