- bool Create(wxWindow *parent, wxWindowID id,
- 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 = wxListBoxNameStr);
-
- ~wxListBox();
-
- bool MSWCommand(WXUINT param, WXWORD id);
-
+ bool Create( wxWindow* pParent
+ ,wxWindowID vId
+ ,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 = wxListBoxNameStr
+ );
+ bool Create( wxWindow* pParent
+ ,wxWindowID vId
+ ,const wxPoint& rPos
+ ,const wxSize& rSize
+ ,const wxArrayString& asChoices
+ ,long lStyle = 0
+ ,const wxValidator& rValidator = wxDefaultValidator
+ ,const wxString& rsName = wxListBoxNameStr
+ );
+
+ virtual ~wxListBox();
+
+ //
+ // Implement base class pure virtuals
+ //
+ virtual void Clear(void);
+ virtual void Delete(int n);
+
+ virtual int GetCount(void) const;
+ virtual wxString GetString(int n) const;
+ virtual void SetString(int n, const wxString& rsString);
+
+ virtual bool IsSelected(int n) const;
+ virtual void DoSetSelection( int n
+ ,bool bSelect
+ );
+ virtual int GetSelection(void) const;
+ virtual int GetSelections(wxArrayInt& raSelections) const;
+
+ virtual int DoAppend(const wxString& rsItem);
+ virtual void DoInsertItems( const wxArrayString& raItems
+ ,int rPos
+ );
+ virtual void DoSetItems( const wxArrayString& raItems
+ ,void ** ppClientData
+ );
+
+ virtual void DoSetFirstItem(int n);
+
+ virtual void DoSetItemClientData( int n
+ ,void* pClientData
+ );
+ virtual void* DoGetItemClientData(int n) const;
+ virtual void DoSetItemClientObject( int n
+ ,wxClientData* pClientData
+ );
+ virtual wxClientData* DoGetItemClientObject(int n) const;
+
+ //
+ // wxCheckListBox support
+ //