::DeleteMenuItem( m_macPopUpMenuHandle , n + 1) ;
m_strings.Remove( n ) ;
- m_datas.Remove( n ) ;
+ m_datas.RemoveAt( n ) ;
SetControlMaximum( m_macControl , GetCount()) ;
}
event.SetString(GetStringSelection());
ProcessCommand(event);
}
+
+wxSize wxChoice::DoGetBestSize() const
+{
+ // TODO should modify this to take into account string length ala wxGTK
+ return wxSize(100,20);
+}
+
/*
void wxChoice::Command(wxCommandEvent & event)
{