Ticket #4272 (confirmed defect)
"CGContextRestoreGState: invalid context" from STC
| Reported by: | dan-sg | Owned by: | robind |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | wxStyledText | Version: | |
| Keywords: | Cc: | dan-sg, robind | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
platform: mac os x 10.4.9
python: 2.5
wxpython: 2.8.3.0
Setting the status bar from inside wx.stc.EVT_STC_PAINTED handler causes "CGContextRestoreGState: invalid context" to be printed.
In the attached example, it only happens once, in the beginning, but I had a larger example where it kept on happening.
Using wx.CallAfter made the problem go away.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

