substitute '@b NB:' with '@note'; first partial revision of e*h headers; replace @beginEventTable with @beginEventTable{1} which provides the prototype of the event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
@class wxEditableListBox
|
||||
@wxheader{editlbox.h}
|
||||
|
||||
An editable listbox is composite control that lets the
|
||||
user easily enter, delete and reorder a list of strings.
|
||||
An editable listbox is composite control that lets the user easily enter,
|
||||
delete and reorder a list of strings.
|
||||
|
||||
@beginStyleTable
|
||||
@style{wxEL_ALLOW_NEW}:
|
||||
@@ -23,18 +23,22 @@
|
||||
@style{wxEL_NO_REORDER}:
|
||||
Does not allow the user to reorder the strings.
|
||||
@style{wxEL_DEFAULT_STYLE}:
|
||||
wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE
|
||||
Default style: wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE.
|
||||
@endStyleTable
|
||||
|
||||
@library{wxadv}
|
||||
@category{FIXME}
|
||||
@category{ctrl}
|
||||
|
||||
@see wxListBox
|
||||
*/
|
||||
class wxEditableListBox : public wxPanel
|
||||
{
|
||||
public:
|
||||
//@{
|
||||
/**
|
||||
Default ctor.
|
||||
*/
|
||||
wxEditableListBox();
|
||||
|
||||
/**
|
||||
Constructor, creating and showing a list box.
|
||||
|
||||
@@ -47,8 +51,7 @@ public:
|
||||
@param pos
|
||||
Window position.
|
||||
@param size
|
||||
Window size. If wxDefaultSize is specified then the window is
|
||||
sized
|
||||
Window size. If wxDefaultSize is specified then the window is sized
|
||||
appropriately.
|
||||
@param style
|
||||
Window style. See wxEditableListBox.
|
||||
@@ -57,14 +60,12 @@ public:
|
||||
|
||||
@see Create()
|
||||
*/
|
||||
wxEditableListBox();
|
||||
wxEditableListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxEL_DEFAULT_STYLE,
|
||||
const wxString& name = "editableListBox");
|
||||
//@}
|
||||
|
||||
/**
|
||||
Destructor, destroying the list box.
|
||||
@@ -72,8 +73,8 @@ public:
|
||||
~wxEditableListBox();
|
||||
|
||||
/**
|
||||
Creates the editable listbox for two-step construction. See wxEditableListBox()
|
||||
for further details.
|
||||
Creates the editable listbox for two-step construction.
|
||||
See wxEditableListBox() for further details.
|
||||
*/
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
const wxString& label,
|
||||
@@ -86,5 +87,12 @@ public:
|
||||
Replaces current contents with given strings.
|
||||
*/
|
||||
void SetStrings(const wxArrayString& 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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user