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:
@@ -492,16 +492,17 @@ void wxTreeCtrl::DoSetItem (
|
||||
}
|
||||
} // end of wxTreeCtrl::DoSetItem
|
||||
|
||||
size_t wxTreeCtrl::GetCount () const
|
||||
unsigned int wxTreeCtrl::GetCount () const
|
||||
{
|
||||
CNRINFO vCnrInfo;
|
||||
CNRINFO vCnrInfo;
|
||||
|
||||
::WinSendMsg( GetHWND()
|
||||
,CM_QUERYCNRINFO
|
||||
,MPFROMP(&vCnrInfo)
|
||||
,(MPARAM)(USHORT)sizeof(CNRINFO)
|
||||
);
|
||||
return (size_t)vCnrInfo.cRecords;
|
||||
|
||||
return (unsigned int)vCnrInfo.cRecords;
|
||||
} // end of wxTreeCtrl::GetCount
|
||||
|
||||
unsigned int wxTreeCtrl::GetIndent () const
|
||||
|
Reference in New Issue
Block a user