- wxCommandEvent event( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, list->GetId() );
- event.SetEventObject( list );
- if ( list->HasClientObjectData() )
- event.SetClientObject( list->GetClientObject(n) );
- else if ( list->HasClientUntypedData() )
- event.SetClientData( list->GetClientData(n) );
- event.SetString( list->GetString(n) );
- event.SetInt( n );
- event.SetExtraLong( 1 );
- list->HandleWindowEvent(event);