X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66619ee50c63df5e232f8450757cf50e20ed94d9..15f0ad701496612df8c145e8e46d4b38515c0bbf:/src/generic/treectlg.cpp?ds=sidebyside diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index fd499ea6fe..25576d2fb7 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -863,7 +863,7 @@ wxGenericTreeCtrl::~wxGenericTreeCtrl() // accessors // ----------------------------------------------------------------------------- -size_t wxGenericTreeCtrl::GetCount() const +unsigned int wxGenericTreeCtrl::GetCount() const { if ( !m_anchor ) { @@ -871,7 +871,7 @@ size_t wxGenericTreeCtrl::GetCount() const return 0; } - size_t count = m_anchor->GetChildrenCount(); + unsigned int count = m_anchor->GetChildrenCount(); if ( !HasFlag(wxTR_HIDE_ROOT) ) { // take the root itself into account