X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..159b66c02a8f1c724d1af3c768ad5d90f4c8a0e2:/include/wx/ctrlsub.h?ds=inline 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: