mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
PR 42 from Metallicow. Py3 and Phoenix updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -42,7 +42,7 @@ class ProgressIndicator(wx.Panel):
|
||||
self.Sizer.Add(self.gauge, 1, wx.EXPAND)
|
||||
|
||||
size = wx.DefaultSize
|
||||
if kw.has_key('size'):
|
||||
if 'size' in kw:
|
||||
size = kw['size']
|
||||
elif len(args) >= 4:
|
||||
size=args[3] # parent, id, pos, size, style, name
|
||||
|
||||
Reference in New Issue
Block a user