]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ComboBox.py
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see...
[wxWidgets.git] / wxPython / demo / ComboBox.py
index 9cebf4211353be64ab5230f539faeb3348867d32..4ab15a6467f257830acbd271bfe97a26420f86ea 100644 (file)
@@ -40,7 +40,7 @@ class TestComboBox(wx.Panel):
 
         # This combobox is created with no values initially.
         cb = wx.ComboBox(
 
         # 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:
 
         # Here we dynamically add our values to the second combobox.
         for item in sampleList: