bool wxRadioButton::GetValue() const
{
- return m_peer->GetValue();
+ return m_peer->GetValue() != 0;
}
void wxRadioButton::Command(wxCommandEvent& event)
ProcessCommand( event );
}
-bool wxRadioButton::HandleClicked( double timestampsec )
+bool wxRadioButton::OSXHandleClicked( double timestampsec )
{
- // if already set -> no action
- if (GetValue())
- return true;
+ if ( !m_peer->ButtonClickDidStateChange() )
+ {
+ // if already set -> no action
+ if (GetValue())
+ return true;
+ }
wxRadioButton *cycle;
cycle = this->NextInCycle();