]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
Don't infinitely recurse when setting the child focus. Without
[wxWidgets.git] / include / wx / listctrl.h
index 445e448c662c6baac57a0e4cc4b24a0d642d0299..86f7d56b01aa399f1f7ab10db51fc976193f1542 100644 (file)
@@ -39,14 +39,14 @@ class WXDLLEXPORT wxListView : public wxListCtrl
 public:
     wxListView() { }
     wxListView( wxWindow *parent,
-                wxWindowID id = -1,
+                wxWindowID winid = -1,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxLC_REPORT,
                 const wxValidator& validator = wxDefaultValidator,
                 const wxString &name = wxT("listctrl") )
     {
-        Create(parent, id, pos, size, style, validator, name);
+        Create(parent, winid, pos, size, style, validator, name);
     }
 
     // focus/selection stuff