Update of /cvsroot/pythoncard/PythonCard/components
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18022
Modified Files:
floatcanvas.py
Log Message:
wx.lib.FloatCanvas doesn't accept a position parameter, so set the position
after the vanvas and widget have been initialized.
Index: floatcanvas.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/components/floatcanvas.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** floatcanvas.py 2 Oct 2004 15:49:57 -0000 1.2
--- floatcanvas.py 27 Oct 2005 23:51:14 -0000 1.3
***************
*** 49,52 ****
--- 49,53 ----
widget.Widget.__init__( self, aParent, aResource )
+ widget.Widget._setPosition(self, aResource.position)
# if there are any events to bind this is where we would do it
|