wxMSW DrawText and SetUserScale

Martin Cote cote.martin at gmail.com
Sat Apr 12 12:42:01 PDT 2008


Hi,

I'm having the following problem.  The text that I'm drawing (using
either wxDC::DrawText or wxDC::DrawLabel) doesn't scale after a
wxDC::SetUserScale.  Every thing that is drawn is scaled properly
except for the text, which stays the same size (but it is drawn at the
proper position).

This only happens in wxMSW, wxMac is fine.

Also, Unicode strings doesn't seems to display well with the same
drawing functions.  Again, this only happens in wxMSW.

I'm using the trunk.
Is there any solution to this?

Many thanks,
Martin Cote


More information about the wx-users mailing list