Allow passing multi-line strings to wxDC::DrawText(), even under MSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Jul 2010 23:32:52 +0000 (23:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Jul 2010 23:32:52 +0000 (23:32 +0000)
commita5bb451448bc5abdadd4ded3f3bc18dbbf07fedd
tree59df28d5e2e6624a2e2e2cf9201c246a20da1409
parent715e4f7e3e26595209b5fe8a9ad3e60cce317e5f
Allow passing multi-line strings to wxDC::DrawText(), even under MSW.

Native wxMSW wxDC::DrawText() implementation doesn't support multi-line
strings so use the generic wxDC::DrawLabel() code instead. Drawing multi-line
strings now works at least in wxGTK and wxMSW, to be tested for the other
platforms.

Closes #12239.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
interface/wx/dc.h
samples/drawing/drawing.cpp
src/common/dcbase.cpp
src/msw/dc.cpp