]> git.saurik.com Git - wxWidgets.git/commit - src/common/textmeasurecmn.cpp
Allow wxTextMeasure to work with non-native wxDC objects too.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Oct 2012 12:27:56 +0000 (12:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Oct 2012 12:27:56 +0000 (12:27 +0000)
commit1bce253a23047c6153e130d02e776d3d34b05793
tree3b49aa1db553e4f0edf1fd345d92b3f5ec9aa806
parent5fd78a8e6f21521e5bb5280119f0c5c62fab9cc5
Allow wxTextMeasure to work with non-native wxDC objects too.

Just forward back to wxDC itself in this case instead of using the
platform-specific code in wxTextMeasure that only works with native DCs.

See #14781.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/private/textmeasure.h
src/common/textmeasurecmn.cpp
src/gtk/textmeasure.cpp
src/msw/textmeasure.cpp
tests/graphics/measuring.cpp