]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/editlbox.h
remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other...
[wxWidgets.git] / interface / wx / editlbox.h
index 67a6380211a9276354416056ab9cf8bb2f46dbdb..d489a95be619fdbb338798b6654150d88be31e01 100644 (file)
@@ -66,23 +66,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.
@@ -94,6 +93,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;
 };