- 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
+#if wxUSE_VALIDATORS
+ ,const wxValidator& rValidator = wxDefaultValidator
+#endif
+ ,const wxString& rsName = wxComboBoxNameStr
+ )
+ {
+ Create( pParent
+ ,vId
+ ,rsValue
+ ,rPos
+ ,rSize
+ ,n
+ ,asChoices
+ ,lStyle
+#if wxUSE_VALIDATORS
+ ,rValidator
+#endif
+ ,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
+#if wxUSE_VALIDATORS
+ ,const wxValidator& rValidator = wxDefaultValidator
+#endif
+ ,const wxString& rsName = wxComboBoxNameStr
+ );
+
+ //
+ // 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();