Drawing graphics into a window on Linux failure
David Mathews
grnbriar at mindspring.com
Fri Jun 1 12:53:40 PDT 2007
That is the two I have tried. They both work on windows, only
wxPaintDC works on the Mac, and neither work on Ubuntu Linux, though
all other graphics work (buttons, text and icons).
David
On Jun 1, 2007, at 3:09 PM, Vadim Zeitlin wrote:
> On Fri, 1 Jun 2007 15:07:46 -0400 David Mathews
> <grnbriar at mindspring.com> wrote:
>
> DM> I've tried using the DC from the Paint event (works on Windows and
> DM> Mac) and the DC from the window (works only on Windows).
>
> Which kind of wxDC do you use? In EVT_PAINT handler you need to use
> wxPaintDC, everywhere else you should use wxClientDC.
>
> Regards,
> VZ
>
> --
> TT-Solutions: wxWidgets consultancy and technical support
> http://www.tt-solutions.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
More information about the wx-users
mailing list