]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/listbox.h
going private for m_peer to give a foundation for better encapsulation
[wxWidgets.git] / include / wx / osx / listbox.h
index 870fe8f2729ac520b53ae4c64808c1b6cb1e55cf..2165dc9b18b2f56aefca3475926047e1404fbbe8 100644 (file)
@@ -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()
 };