// ----------------------------------------------------------------------------
int wxChoice::GetSelection() const
{
- return m_peer->GetValue() ;
+ return m_peer->GetValue();
}
void wxChoice::SetSelection( int n )
{
- m_peer->SetValue( n ) ;
+ m_peer->SetValue( n );
}
// ----------------------------------------------------------------------------
return (void *)m_datas[n];
}
-bool wxChoice::HandleClicked( double timestampsec )
+bool wxChoice::OSXHandleClicked( double timestampsec )
{
wxCommandEvent event( wxEVT_COMMAND_CHOICE_SELECTED, m_windowId );
event.SetInt( n );
event.SetString( GetStringSelection() );
event.SetEventObject( this );
-
+
if ( HasClientObjectData() )
event.SetClientObject( GetClientObject( n ) );
else if ( HasClientUntypedData() )