- inline wxComboBox(wxWindow *parent, wxWindowID id,
- const wxString& value = wxEmptyString,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- int n = 0, const wxString choices[] = NULL,
- long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxComboBoxNameStr)
- {
- Create(parent, id, value, pos, size, n, choices, style, validator, name);
- }
+ inline wxComboBox( wxWindow* pParent
+ ,wxWindowID vId
+ ,const wxString& rsValue = wxEmptyString
+ ,const wxPoint& rPos = wxDefaultPosition
+ ,const wxSize& rSize = wxDefaultSize
+ ,int n = 0
+ ,const wxString asChoices[] = NULL
+ ,long lStyle = 0
+ ,const wxValidator& rValidator = wxDefaultValidator
+ ,const wxString& rsName = wxComboBoxNameStr
+ )
+ {
+ Create( pParent
+ ,vId
+ ,rsValue
+ ,rPos
+ ,rSize
+ ,n
+ ,asChoices
+ ,lStyle
+ ,rValidator
+ ,rsName
+ );
+ }
+
+ inline wxComboBox( 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
+ )
+ {
+ Create( pParent
+ ,vId
+ ,rsValue
+ ,rPos
+ ,rSize
+ ,asChoices
+ ,lStyle
+ ,rValidator
+ ,rsName
+ );
+ }
+
+ bool Create( wxWindow* pParent
+ ,wxWindowID vId
+ ,const wxString& rsValue = wxEmptyString
+ ,const wxPoint& rPos = wxDefaultPosition
+ ,const wxSize& rSize = wxDefaultSize
+ ,int n = 0
+ ,const wxString asChoices[] = NULL
+ ,long lStyle = 0
+ ,const wxValidator& rValidator = wxDefaultValidator
+ ,const wxString& rsName = wxComboBoxNameStr
+ );
+
+ 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
+ );
+
+ //
+ // List functions: see wxChoice
+ //
+ virtual wxString GetValue(void) const;
+ virtual void SetValue(const wxString& rsValue);
+
+ //
+ // Clipboard operations
+ //
+ virtual void Copy();
+ virtual void Cut();
+ virtual void Paste();