X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..748fbf95a859df3b1b9f8b95ee8cd0cc4d205a85:/include/wx/ctrlsub.h diff --git a/include/wx/ctrlsub.h b/include/wx/ctrlsub.h index b3476b77a9..e2ef39df36 100644 --- a/include/wx/ctrlsub.h +++ b/include/wx/ctrlsub.h @@ -80,11 +80,11 @@ 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