- //
- // 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
- );
+ bool Create( wxWindow* pParent
+ ,wxWindowID vId
+ ,const wxString& rsValue
+ ,const wxPoint& rPos
+ ,const wxSize& rSize
+ ,const wxArrayString& asChoices
+ ,long lStyle = 0
+ ,const wxValidator& rValidator = wxDefaultValidator
+ ,const wxString& rsName = wxComboBoxNameStr
+ );
+
+ // 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(); }
+