From: Stefan Csomor Date: Sat, 6 May 2006 04:34:45 +0000 (+0000) Subject: must be AnyState , not NoState to get all elements (error in apple's doc, reported) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f028b0d919d618a95254452282b8e8467da51921 must be AnyState , not NoState to get all elements (error in apple's doc, reported) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 50112e6d37..1b54683f4e 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -716,7 +716,7 @@ void wxMacDataBrowserListControl::SetClientDataType(wxClientDataType clientDataI unsigned int wxMacDataBrowserListControl::MacGetCount() const { - return GetItemCount(wxMacDataBrowserRootContainer,false,kDataBrowserItemNoState); + return GetItemCount(wxMacDataBrowserRootContainer,false,kDataBrowserItemAnyState); } void wxMacDataBrowserListControl::MacDelete( unsigned int n )