/**
@class wxEditableListBox
- @wxheader{editlbox.h}
An editable listbox is composite control that lets the user easily enter,
delete and reorder a list of strings.
Default style: wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE.
@endStyleTable
+ The control uses a wxListCtrl internally and emit its events.
+
@library{wxadv}
@category{ctrl}
- @see wxListBox
+ @see wxListBox, wxListCtrl
*/
class wxEditableListBox : public wxPanel
{
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxEL_DEFAULT_STYLE,
- const wxString& name = "editableListBox");
+ const wxString& name = wxEditableListBoxNameStr);
/**
Destructor, destroying the list box.
*/
- ~wxEditableListBox();
+ virtual ~wxEditableListBox();
/**
Creates the editable listbox for two-step construction.
See wxEditableListBox() for further details.
*/
- bool Create(wxWindow* parent, wxWindowID id,
- const wxString& label,
+ bool Create(wxWindow* parent, wxWindowID id, const wxString& label,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxEL_DEFAULT_STYLE,
- const wxString& name = "editableListBox");
+ const wxString& name = wxEditableListBoxNameStr);
/**
Replaces current contents with given strings.
Returns in the given array the current contents of the control
(the array will be erased before control's contents are appended).
*/
- void GetSelections(wxArrayString& strings) const;
+ void GetStrings(wxArrayString& strings) const;
};