]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/listbox.cpp
missing else
[wxWidgets.git] / src / mac / carbon / listbox.cpp
index 91a2c995a68c23b662c6d4ffbb247f516846f901..bbe19045df17e912f0d7b15c989172e4a45ff3df 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/dynarray.h"
     #include "wx/log.h"
+    #include "wx/intl.h"
     #include "wx/app.h"
+    #include "wx/utils.h"
+    #include "wx/button.h"
+    #include "wx/settings.h"
 #endif
 
-#include "wx/button.h"
-#include "wx/settings.h"
 #include "wx/toplevel.h"
 
-#include "wx/utils.h"
-
 IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
 
 BEGIN_EVENT_TABLE(wxListBox, wxControl)
@@ -717,7 +717,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 )
@@ -957,4 +957,4 @@ static pascal void ListBoxDrawProc(
 #endif
 
 
-#endif
+#endif // wxUSE_LISTBOX