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:
Robin Dunn
2013-06-13 06:06:29 +00:00
parent 84e1e67f01
commit f039f7c367
152 changed files with 3244 additions and 2863 deletions

View File

@@ -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):