]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/editlbox.h
don't place NULL pointers in the GDK window array in GTKGetWindow()
[wxWidgets.git] / interface / wx / editlbox.h
index 51013c93c63aea3dc7909ceb883a6f363540e03b..6be3673d8f5feac229bb0f60e7e68b45622787bf 100644 (file)
@@ -51,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
@@ -66,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.