- //
- // List functions: see wxChoice
- //
- inline wxString GetValue(void) const { return GetLabel(); }
- virtual void SetValue(const wxString& rsValue);
-
- //
- // Clipboard operations
- //
- virtual void Copy();
- virtual void Cut();
- virtual void Paste();
-
- virtual void SetInsertionPoint(long lPos);
- virtual void SetInsertionPointEnd(void);
- virtual long GetInsertionPoint(void) const;
- virtual long GetLastPosition(void) const;
- virtual void Replace( long lFrom
- ,long lTo
- ,const wxString& rsValue
- );
- virtual void Remove( long lFrom
- ,long lTo
- );
+ // See wxComboBoxBase discussion of IsEmpty().
+ bool IsListEmpty() const { return wxItemContainer::IsEmpty(); }
+ bool IsTextEmpty() const { return wxTextEntry::IsEmpty(); }
+
+ // resolve ambiguities among virtual functions inherited from both base
+ // classes
+ virtual void Clear();
+ virtual wxString GetValue() const;
+ virtual void SetValue(const wxString& value);
+ virtual wxString GetStringSelection() const
+ { return wxChoice::GetStringSelection(); }
+