]> git.saurik.com Git - wxWidgets.git/commit
Don't test for DC validity in wxX11 wxDC text extent functions.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Nov 2010 13:52:59 +0000 (13:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Nov 2010 13:52:59 +0000 (13:52 +0000)
commit5f480c0bf140db144e00993b060af28e45cd9c94
treec1663f46cb1daa4fe5dafba51aec7b1bcaa67baf
parentbb1b20f1a9b41aa9ceeeeccd551d36f6259f10f7
Don't test for DC validity in wxX11 wxDC text extent functions.

The code in GetTextExtent() and GetChar{Width,Height}() works fine even for
non-initialized wxMemoryDC and the ellipsization unit test relies on this
working so simply remove the asserts which resulted in the test failures.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/x11/dcclient.cpp