Make it possible to create just one clock, for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,7 +15,10 @@ class TestPanel(wx.Panel):
|
|||||||
wx.Panel.__init__(self, parent)
|
wx.Panel.__init__(self, parent)
|
||||||
|
|
||||||
# A mostly default clock
|
# A mostly default clock
|
||||||
c1 = ac.AnalogClock(self)
|
c1 = ac.AnalogClock(self, size=(200,200))
|
||||||
|
|
||||||
|
if True: # for a simpler test case just set this to False and
|
||||||
|
# only the one clock will be created
|
||||||
|
|
||||||
# A plain clock, with square hour and round minute marks, no
|
# A plain clock, with square hour and round minute marks, no
|
||||||
# shadow, static border
|
# shadow, static border
|
||||||
|
Reference in New Issue
Block a user