demo tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-10 04:04:52 +00:00
parent 4276dc529d
commit a5d9c77bb8
4 changed files with 5 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ class TestComboBox(wx.Panel):
# This combobox is created with no values initially.
cb = wx.ComboBox(
self, 501, "default value", (90, 80), (95, -1), [], wx.CB_SIMPLE)
self, 501, "default value", (90, 80), (95, -1), [], wx.CB_DROPDOWN)
# Here we dynamically add our values to the second combobox.
for item in sampleList: