mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Initial port of wxPython demo from Classic to Phoenix.
Pulled and squashed from https://github.com/RobinD42/Phoenix/pull/7 Thanks Metallicow! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
import wx
|
||||
import wx.combo
|
||||
import wx.adv
|
||||
|
||||
import images
|
||||
|
||||
@@ -11,8 +11,8 @@ class TestPanel(wx.Panel):
|
||||
self.log = log
|
||||
wx.Panel.__init__(self, parent, -1)
|
||||
|
||||
bcb1 = wx.combo.BitmapComboBox(self, pos=(25,25), size=(200,-1))
|
||||
bcb2 = wx.combo.BitmapComboBox(self, pos=(250,25), size=(200,-1))
|
||||
bcb1 = wx.adv.BitmapComboBox(self, pos=(25,25), size=(200,-1))
|
||||
bcb2 = wx.adv.BitmapComboBox(self, pos=(250,25), size=(200,-1))
|
||||
|
||||
for bcb in [bcb1, bcb2]:
|
||||
for x in range(12):
|
||||
@@ -32,7 +32,7 @@ class TestPanel(wx.Panel):
|
||||
cd = bcb.GetClientData(idx)
|
||||
self.log.write("EVT_COMBOBOX: Id %d, string '%s', clientData '%s'" % (idx, st, cd))
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
def runTest(frame, nb, log):
|
||||
|
||||
Reference in New Issue
Block a user