]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlsub.cpp
Applied patch [ 1117207 ] changed the test for SQL_C_WCHAR
[wxWidgets.git] / src / common / ctrlsub.cpp
index 03be03f3dc1cc17287d09e967425192fe5cef4bc..cf913548e08ba71cc9b73aa6aa125d357e671d6c 100644 (file)
@@ -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