Re: getting a DC with wx
- Posted by mattlewis (admin) Jun 14, 2009
- 840 views
SDPringle said...
Thanks Greg. That solves the problem. Is there away to artificially trigger a PAINT event so that the Window will update itself?
If you want to draw outside of a wxPAINT event, you can use a wxClientDC. It appears to be undocumented in wxEuphoria for some reason (I see documentation markup for it in the source, but it's not in the published docs), but it's there, and you can use it just like a wxPaintDC.
Matt