Back to unsigned int count in wxTreeCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user