X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84bc0d49e411fd74ddac8b13318fc2edfba9258a..0deb5fab34f3cc90d717347b7335297ff67cc1b3:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 856b88c575..0598adb064 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -71,6 +71,8 @@ _treeList = [ 'GraphicsContext', 'CollapsiblePane', 'ComboCtrl', + 'OwnerDrawnComboBox', + 'BitmapComboBox', ]), # managed windows == things with a (optional) caption you can close @@ -114,7 +116,6 @@ _treeList = [ 'CheckListBox', 'Choice', 'ComboBox', - 'ComboCtrl', 'Gauge', 'Grid', 'Grid_MegaExample', @@ -176,7 +177,7 @@ _treeList = [ 'ActiveX_FlashWindow', 'ActiveX_IEHtmlWindow', 'ActiveX_PDFWindow', - #'RightTextCtrl', deprecated as we have wxTE_RIGHT now. + 'BitmapComboBox', 'Calendar', 'CalendarCtrl', 'CheckListCtrlMixin', @@ -200,6 +201,7 @@ _treeList = [ 'MaskedNumCtrl', 'MediaCtrl', 'MultiSplitterWindow', + 'OwnerDrawnComboBox', 'Pickers', 'PyCrust', 'PyPlot', @@ -1367,7 +1369,7 @@ class wxPythonDemo(wx.Frame): filter = self.filter.GetValue() for category, items in _treeList: if filter: - items = [item for item in items if filter in item.lower()] + items = [item for item in items if filter.lower() in item.lower()] if items: child = self.tree.AppendItem(self.root, category) if not firstChild: firstChild = child