X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..0b165ed6b209ea9f5ddd7bfb1813c6f0718a9a3d:/include/wx/ctrlsub.h diff --git a/include/wx/ctrlsub.h b/include/wx/ctrlsub.h index b3476b77a9..0fa00d4e64 100644 --- a/include/wx/ctrlsub.h +++ b/include/wx/ctrlsub.h @@ -80,14 +80,14 @@ public: bool HasClientUntypedData() const { return m_clientDataItemsType == wxClientData_Void; } -#if WXWIN_COMPATIBILITY_2 +#if WXWIN_COMPATIBILITY_2_2 // compatibility - these functions are deprecated, use the new ones // instead int Number() const { return GetCount(); } -#endif // WXWIN_COMPATIBILITY_2 +#endif // WXWIN_COMPATIBILITY_2_2 -#ifdef __WXMAC_X__ - virtual ~wxItemContainer() {} // Added min for Mac X +#ifdef __DARWIN__ + virtual ~wxItemContainer() { } #endif protected: