]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlsub.cpp
Use wxTRANSPARENT_BRUSH so the rectangles around the text is not
[wxWidgets.git] / src / common / ctrlsub.cpp
index 777737f6c3a873dcbd076c1b42e0058bd9f8896c..cf913548e08ba71cc9b73aa6aa125d357e671d6c 100644 (file)
@@ -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