X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8d5be011d6d7e9aaf493eb8f5e21960d22b2a8f..da55d0644f1cc11b5c55de4fc18d039f69666e86:/src/common/ctrlsub.cpp diff --git a/src/common/ctrlsub.cpp b/src/common/ctrlsub.cpp index 03be03f3dc..cf913548e0 100644 --- a/src/common/ctrlsub.cpp +++ b/src/common/ctrlsub.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 22.10.99 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -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