]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/listbox.h
add SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators...
[wxWidgets.git] / interface / wx / listbox.h
index 07f2540d83dc111ff42a254cee9b729b5fa6cdaa..363f62471137c0a05e502802589f0ba469cae143 100644 (file)
@@ -129,21 +129,20 @@ public:
         Creates the listbox for two-step construction.
         See wxListBox() for further details.
     */
-    bool Create(wxWindowparent, wxWindowID id,
+    bool Create(wxWindow *parent, wxWindowID id,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
-                int n,
-                const wxString choices[] = NULL,
+                int n = 0, const wxString choices[] = NULL,
                 long style = 0,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString& name = "listBox");
-    bool Create(wxWindowparent, wxWindowID id,
+                const wxString& name = wxListBoxNameStr);
+    bool Create(wxWindow *parent, wxWindowID id,
                 const wxPoint& pos,
                 const wxSize& size,
                 const wxArrayString& choices,
                 long style = 0,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString& name = "listBox");
+                const wxString& name = wxListBoxNameStr);
     //@}
 
     /**
@@ -188,6 +187,11 @@ public:
     */
     int HitTest(const wxPoint& point) const;
 
+    /**
+        @overload
+    */
+    int HitTest(int x, int y) const;
+
     /**
         Insert the given number of strings before the specified position.