[wxPython] SetDashes

Hi,

I'm experimenting with the "SetDashes" function of class wxPen, but it
doesn't seem to work quite right on me.

I wrote:

    pen = wxPen(wxNamedColour("GREEN"), 3)
    pen.SetDashes([5,10,4,7])
    dc.SetPen(pen)
    dc.DrawLine(10, 10, 400, 400)

just for testing purposes. The line appears totally solid and green.

I searched the list archive and found several others also had similar
problems. But I couldn't find any definitive answers on this.

Is this a known issue? or am I not using SetDashes correctly?

Regards,

Kohei

I searched the list archive and found several others also had similar
problems. But I couldn't find any definitive answers on this.

Is this a known issue? or am I not using SetDashes correctly?

A known issue, but I don't think anybody is working on it. Check on wx-dev.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

>
> I searched the list archive and found several others also had similar
> problems. But I couldn't find any definitive answers on this.
>
> Is this a known issue? or am I not using SetDashes correctly?

A known issue, but I don't think anybody is working on it. Check on wx-dev.

--
Robin Dunn

I thought it was fixed?

Although I didn't get it to work, and hesitated to ask again...

Thomas

> >
> > I searched the list archive and found several others also had similar
> > problems. But I couldn't find any definitive answers on this.
> >
> > Is this a known issue? or am I not using SetDashes correctly?
>
> A known issue, but I don't think anybody is working on it. Check on

wx-dev.

>
> --
> Robin Dunn

I thought it was fixed?

ActiveState Community - Boosting coder and team productivity with ready-to-use open source languages and tools.

Although I didn't get it to work, and hesitated to ask again...

Hmm... I forgot about that. I guess it's the result of having too much
stuff in my head and some of it overflowing and running down the drain.

I'll double check it.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!