]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/treectrl.h
Line-up interfaces to use size_t for GetCount()s.
[wxWidgets.git] / include / wx / mac / carbon / treectrl.h
index cc41d76a26cd28fde6d87c98dc1c7556b6903880..c73ec7fae95bb0f8b7312b1952a3a06d7697d608 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        treectrl.h
+// Name:        wx/mac/carbon/treectrl.h
 // Purpose:     wxTreeCtrl class
 // Author:      Stefan Csomor
 // Modified by:
@@ -116,7 +116,7 @@ public:
     // --------
     wxTreeCtrl();
 
-    inline wxTreeCtrl(wxWindow *parent, wxWindowID id = -1,
+    inline wxTreeCtrl(wxWindow *parent, wxWindowID id = wxID_ANY,
         const wxPoint& pos = wxDefaultPosition,
         const wxSize& size = wxDefaultSize,
         long style = wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT,
@@ -137,7 +137,7 @@ public:
     // accessors
     // ---------
       //
-    int GetCount() const;
+    size_t GetCount() const;
 
       // indent
     int GetIndent() const;