m_labelOrig = m_label = label ;
WXValidateStyle( &style );
- m_peer = wxWidgetImpl::CreateCheckBox( this, parent, id, label, pos, size, style, GetExtraStyle() ) ;
+ SetPeer(wxWidgetImpl::CreateCheckBox( this, parent, id, label, pos, size, style, GetExtraStyle() )) ;
MacPostControlCreate(pos, size) ;
wxCheckBoxState wxCheckBox::DoGet3StateValue() const
{
- return (wxCheckBoxState)m_peer->GetValue() ;
+ return (wxCheckBoxState)GetPeer()->GetValue() ;
}
void wxCheckBox::DoSet3StateValue(wxCheckBoxState val)
{
- m_peer->SetValue( val ) ;
+ GetPeer()->SetValue( val ) ;
}
bool wxCheckBox::OSXHandleClicked( double WXUNUSED(timestampsec) )
bool sendEvent = true;
wxCheckBoxState newState = Get3StateValue();
- if ( !m_peer->ButtonClickDidStateChange() )
+ if ( !GetPeer()->ButtonClickDidStateChange() )
{
wxCheckBoxState origState ;