X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..5b88a837ba75928cd3835a6b97ae2bf5ad983a6e:/interface/wx/editlbox.h diff --git a/interface/wx/editlbox.h b/interface/wx/editlbox.h index bb5cead84f..6be3673d8f 100644 --- a/interface/wx/editlbox.h +++ b/interface/wx/editlbox.h @@ -25,10 +25,12 @@ 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 { @@ -49,9 +51,10 @@ public: The text shown just before the list control. @param pos Window position. + If ::wxDefaultPosition is specified then a default position is chosen. @param size - Window size. If wxDefaultSize is specified then the window is sized - appropriately. + Window size. + If ::wxDefaultSize is specified then the window is sized appropriately. @param style Window style. See wxEditableListBox. @param name @@ -64,23 +67,22 @@ public: 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. @@ -92,6 +94,6 @@ public: 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; };