I am getting this exception:
TypeError: Required argument 'width' (pos 4) not found
File "h:\devProjectsT\PhoenixWxDemo\demo\RightTextCtrl.py", line 68, in <module>
run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])
File "h:\devProjectsT\PhoenixWxDemo\demo\run.py", line 157, in main
app.MainLoop()
File "c:\Python27\Lib\site-packages\wx-2.9.3-msw\wx\_core.py", line 8651, in MainLoop
wx.PyApp.MainLoop(self)
File "c:\Python27\Lib\site-packages\wx-2.9.3-msw\wx\_core.py", line 7943, in MainLoop
return _core_.PyApp_MainLoop(*args, **kwargs)
File "c:\Python27\Lib\site-packages\wx-2.9.3-msw\wx\lib\rightalign.py", line 91, in OnPaint
dc.SetClippingRegion((0, 0), (dcwidth, dcheight))
File "c:\Python27\Lib\site-packages\wx-2.9.3-msw\wx\_gdi.py", line 3915, in SetClippingRegion
return _gdi_.DC_SetClippingRegion(*args, **kwargs)
It looks like changing line 91 in wx.lib.rightalign.py from:
dc.SetClippingRegion((0, 0), (dcwidth, dcheight))
to:
dc.SetClippingRegion(0, 0, dcwidth, dcheight)
fixes it.
Werner