X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68204d23c26d9fb8c813009dc2b24f5d1c8a279b..2ee322d90c0c0f39d4a3c5f0c942bbda4c7baa1a:/src/mac/carbon/treectrl.cpp diff --git a/src/mac/carbon/treectrl.cpp b/src/mac/carbon/treectrl.cpp index 75dad9de67..164b37af75 100644 --- a/src/mac/carbon/treectrl.cpp +++ b/src/mac/carbon/treectrl.cpp @@ -6,7 +6,7 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" @@ -41,7 +41,7 @@ bool wxTreeCtrl::Create(wxWindow *parent, m_windowStyle = style; - m_windowId = (id == -1) ? NewControlId() : id; + m_windowId = (id == wxID_ANY) ? NewControlId() : id; if (parent) parent->AddChild(this); @@ -57,7 +57,7 @@ wxTreeCtrl::~wxTreeCtrl() } // Attributes -int wxTreeCtrl::GetCount() const +unsigned int wxTreeCtrl::GetCount() const { // TODO return 0; @@ -413,4 +413,3 @@ wxTreeEvent::wxTreeEvent(wxEventType commandType, int id) m_code = 0; m_oldItem = 0; } -