// Modified by:
// Created: 22.10.99
// RCS-ID: $Id$
-// Copyright: (c) wxWindows team
+// Copyright: (c) wxWidgets team
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// implementation
// ============================================================================
-wxItemContainer::wxItemContainer()
-{
- m_clientDataItemsType = wxClientData_None;
-}
-
wxItemContainer::~wxItemContainer()
{
// this destructor is required for Darwin
return DoGetItemClientData(n);
}
-wxControlWithItems::wxControlWithItems()
+wxControlWithItems::~wxControlWithItems()
{
+ // this destructor is required for Darwin
}
-wxControlWithItems::~wxControlWithItems()
+#if WXWIN_COMPATIBILITY_2_2
+
+int wxItemContainer::Number() const
{
- // this destructor is required for Darwin
+ return GetCount();
}
+#endif // WXWIN_COMPATIBILITY_2_2
+
#endif // wxUSE_CONTROLS