X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/580cc1eb856780d56396da36a9f0f5826638ba3a..5c7b506103cfc078a821860766e31c47d595e07f:/include/wx/cocoa/listbox.h diff --git a/include/wx/cocoa/listbox.h b/include/wx/cocoa/listbox.h index 855ee09fc8..2d4c74b94e 100644 --- a/include/wx/cocoa/listbox.h +++ b/include/wx/cocoa/listbox.h @@ -76,13 +76,15 @@ protected: WX_NSMutableArray m_cocoaItems; wxArrayPtrVoid m_itemClientData; struct objc_object *m_cocoaDataSource; + bool m_needsUpdate; inline bool _WxCocoa_GetNeedsUpdate(); inline void _WxCocoa_SetNeedsUpdate(bool needsUpdate); - void _WxCocoa_OnIdle(wxIdleEvent &event); + virtual void OnInternalIdle(); // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------ public: + virtual wxSize DoGetBestSize() const; // pure virtuals from wxListBoxBase virtual bool IsSelected(int n) const; virtual int GetSelections(wxArrayInt& aSelections) const;