X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..92850d6b2ff6072f4801152fd6bfdb7263715ec0:/src/common/ctrlsub.cpp diff --git a/src/common/ctrlsub.cpp b/src/common/ctrlsub.cpp index 777737f6c3..cf913548e0 100644 --- a/src/common/ctrlsub.cpp +++ b/src/common/ctrlsub.cpp @@ -156,4 +156,13 @@ wxControlWithItems::~wxControlWithItems() // this destructor is required for Darwin } +#if WXWIN_COMPATIBILITY_2_2 + +int wxItemContainer::Number() const +{ + return GetCount(); +} + +#endif // WXWIN_COMPATIBILITY_2_2 + #endif // wxUSE_CONTROLS