- // List functions
- virtual void Append(const wxString& item);
- virtual void Delete(int n);
- virtual void Clear();
- virtual int GetSelection() const ;
- virtual void SetSelection(int n);
- virtual int FindString(const wxString& s) const;
- virtual wxString GetString(int n) const ;
- virtual wxString GetStringSelection() const ;
- virtual bool SetStringSelection(const wxString& sel);
-
- // Text field functions
- virtual wxString GetValue() const ;
- virtual void SetValue(const wxString& value);
-
- // Clipboard operations
- virtual void Copy();
- virtual void Cut();
- virtual void Paste();
- virtual void SetInsertionPoint(long pos);
- virtual void SetInsertionPointEnd();
- virtual long GetInsertionPoint() const ;
- virtual long GetLastPosition() const ;
- virtual void Replace(long from, long to, const wxString& value);
- virtual void Remove(long from, long to);
- virtual void SetSelection(long from, long to);
- virtual void SetEditable(bool editable);
- virtual int GetCount() const { return m_choice->GetCount() ; }
- void MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ;
+ // List functions
+ virtual void Delete(int n);
+ virtual void Clear();
+
+ virtual int GetSelection() const ;
+ virtual void SetSelection(int n);
+ virtual void Select(int n) { SetSelection(n) ; }
+ virtual int FindString(const wxString& s) const;
+ virtual wxString GetString(int n) const ;
+ virtual wxString GetStringSelection() const ;
+ virtual void SetString(int n, const wxString& s) ;
+ virtual bool SetStringSelection(const wxString& sel);
+
+ // Text field functions
+ virtual wxString GetValue() const ;
+ virtual void SetValue(const wxString& value);
+
+ // Clipboard operations
+ virtual void Copy();
+ virtual void Cut();
+ virtual void Paste();
+ virtual void SetInsertionPoint(long pos);
+ virtual void SetInsertionPointEnd();
+ virtual long GetInsertionPoint() const ;
+ virtual long GetLastPosition() const ;
+ virtual void Replace(long from, long to, const wxString& value);
+ virtual void Remove(long from, long to);
+ virtual void SetSelection(long from, long to);
+ virtual void SetEditable(bool editable);
+ virtual int GetCount() const { return m_choice->GetCount() ; }
+ void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ;
+
+ wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST
+