X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..e8e4fa12f29224194fcf30236ec7640b3cac0bc0:/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: