[wxDC::GetTextExtent()] Generates different values after wxMemoryDC::SelectObject()

Mario Figueiredo marfig at gmail.com
Tue Sep 4 01:44:44 PDT 2007


On 9/4/07, Vadim Zeitlin <vadim at wxwidgets.org> wrote:
>  You can select a temporary 1*1 bitmap initially, it should be enough for
> the calculations to work correctly. You can also use wxClientDC of some
> window -- if you use the same fonts, the results should be the same.

Thank you. I should do as you suggest.




More information about the wx-users mailing list