return false;
wxSize size = s ;
-
- if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
+ /*
+ if ( size.x == wxDefaultCoord && size.y == wxDefaultCoord)
{
size = wxSize( 200 , 16 ) ;
}
-
+ */
Rect bounds = wxMacGetBoundsForControl( this , pos , size ) ;
m_peer = new wxMacControl() ;
verify_noerr ( CreateProgressBarControl( MAC_WXHWND(parent->MacGetTopLevelWindowRef()) , &bounds ,
- GetValue() , 0 , GetRange() , false /* not indeterminate */ , *m_peer ) );
+ GetValue() , 0 , GetRange() , false /* not indeterminate */ , m_peer->GetControlRefAddr() ) );
MacPostControlCreate(pos,size) ;