+int wxChoice::DoAppend(const wxString& item)
+{
+ Str255 label;
+ wxMenuItem::MacBuildMenuString( label , NULL , NULL , item ,false);
+ AppendMenu( m_macPopUpMenuHandle , label ) ;
+ m_strings.Add( item ) ;
+ m_dataArray.Add( NULL );
+ return m_strings.Count() ;
+}
+
+void *wxChoice::DoGetItemClientData(int N) const
+{
+ return (void *)m_dataArray[N];
+}
+
+void wxChoice::DoSetItemClientData( int N, void* Client_data )
+{
+ wxASSERT_MSG( m_dataArray.GetCount() >= N , "invalid client_data array" ) ;
+
+ if ( m_dataArray.GetCount() > N )
+ {
+ m_dataArray[N] = (char*) Client_data ;
+ }
+ else
+ {
+ m_dataArray.Add( (char*) Client_data ) ;
+ }
+}
+
+void wxChoice::DoSetItemClientObject( int n, wxClientData* clientData )