Note: GetColor() returns a predefined wxColour object
Rather than mark the specified line using the specified background, no
background is set, and a little circle is put to the left of the line
(neither of those, obviously, are correct for the type of marker I'm
defining.)
Is this only happening to me, or is there something wrong with my code?
Note: GetColor() returns a predefined wxColour object
Rather than mark the specified line using the specified background, no
background is set, and a little circle is put to the left of the line
(neither of those, obviously, are correct for the type of marker I'm
defining.)
Is this only happening to me, or is there something wrong with my code?
Changing the STC_MARK_CIRCLE to a STC_MARK_BACKGROUND in the StyleTextCtrl_1.py demo works for me.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I found the problem. I was using wxNewId() to give the marker ids, and
apparently they don't like high numbers, because things like 104 won't
work, but 1 will. That's awfully strange...
I found the problem. I was using wxNewId() to give the marker ids, and
apparently they don't like high numbers, because things like 104 won't
work, but 1 will. That's awfully strange...