]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/listbox.h
Add wxDataViewListCtrl::GetItemCount().
[wxWidgets.git] / include / wx / osx / listbox.h
index bb0e176251621e8522f12b01f6dda3991dc585ab..2165dc9b18b2f56aefca3475926047e1404fbbe8 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        wx/mac/carbon/listbox.h
+// Name:        wx/osx/listbox.h
 // Purpose:     wxListBox class
 // Author:      Stefan Csomor
 // Modified by:
@@ -168,6 +168,11 @@ protected:
     wxArrayPtrVoid m_itemsClientData;
 
 private:
+#ifdef __WXOSX_CARBON__
+    // It needs to call our CalcAndSendEvent().
+    friend class wxMacDataBrowserListControl;
+#endif // Carbon
+
     DECLARE_DYNAMIC_CLASS(wxListBox)
     DECLARE_EVENT_TABLE()
 };