Chris,

I commented out the following in FloatCanvas.Circle:

Line 1144 - #self.SetPen(LineColor,LineStyle,LineWidth)
Line 1145 - #self.SetBrush(FillColor,FillStyle)

The class I used to create the circle was:

class MovingCircle(FC.Circle, MovingObjectMixin, ConnectorObjectMixin):
    """
    Circle Object that can be moved
    """
    def SetPen(self,pen):  # My own set pen method
        self.Pen = pen
        self.HitPen = pen
       
    def SetBrush(self,brush): # My own set pen method
        self.Brush = brush
        self.HitBrush = brush

    pass


Here is how I am initializing the MovingCircle class:

Circle_1 = MovingCircle( xy, radius, LineColor = wx.Color(249,247,136), 
FillColor = wx.Color(169,172,55))

Is the fact that I am using a wx.Color instance the problem?


-- 
Benjamin Jessup
ABZ, Inc.



_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to