wxWidgets/build/msw
Vadim Zeitlin 8cd79b7af0 Factor out text measurement from wxDC and wxWindow into wxTextMeasure.
Add a new private wxTextMeasure class implementing methods for measuring text
and move the often duplicated (but not always identically) code for doing the
same from wxDC and wxWindow into it.

Currently this class is only really implemented in wxMSW and wxGTK.

Also extend the test for text measuring functions and rename it to
MeasuringTextTestCase from MeasuringContextTestCase as it's not wxGC-specific
any more.

Closes #14705.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-17 22:35:49 +00:00
..
config.bcc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
config.gcc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
config.vc Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
config.wat Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
makefile.bcc Factor out text measurement from wxDC and wxWindow into wxTextMeasure. 2012-10-17 22:35:49 +00:00
makefile.gcc Factor out text measurement from wxDC and wxWindow into wxTextMeasure. 2012-10-17 22:35:49 +00:00
makefile.vc Factor out text measurement from wxDC and wxWindow into wxTextMeasure. 2012-10-17 22:35:49 +00:00
makefile.wat Factor out text measurement from wxDC and wxWindow into wxTextMeasure. 2012-10-17 22:35:49 +00:00
wx_adv.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_aui.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_base.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_core.dsp Factor out text measurement from wxDC and wxWindow into wxTextMeasure. 2012-10-17 22:35:49 +00:00
wx_dll.dsw Update wx_dll.dsw to include the ribbon library. 2010-09-01 09:48:24 +00:00
wx_gl.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_html.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_media.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_net.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_propgrid.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_qa.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_ribbon.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_richtext.dsp Rebake after addition of richtexttabspage.h in r72497. 2012-09-17 12:18:52 +00:00
wx_stc.dsp rebake make/project files for new scintilla 2012-08-14 05:14:27 +00:00
wx_vc7_adv.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_aui.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_base.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_core.vcproj Factor out text measurement from wxDC and wxWindow into wxTextMeasure. 2012-10-17 22:35:49 +00:00
wx_vc7_gl.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_html.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_media.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_net.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_propgrid.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_qa.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_ribbon.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_richtext.vcproj Rebake after addition of richtexttabspage.h in r72497. 2012-09-17 12:18:52 +00:00
wx_vc7_stc.vcproj rebake make/project files for new scintilla 2012-08-14 05:14:27 +00:00
wx_vc7_webview.vcproj Add generic wxFileSystem support to wxWebView using wxWebViewFSHandler. 2012-09-11 09:26:58 +00:00
wx_vc7_wxexpat.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
wx_vc7_wxjpeg.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
wx_vc7_wxpng.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
wx_vc7_wxregex.vcproj Fix VC2008 dependencies with Bakefile 0.2.9. 2011-02-13 17:09:33 +00:00
wx_vc7_wxscintilla.vcproj rebake make/project files for new scintilla 2012-08-14 05:14:27 +00:00
wx_vc7_wxtiff.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
wx_vc7_wxzlib.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
wx_vc7_xml.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7_xrc.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc7.sln Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
wx_vc8_adv.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_aui.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_base.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_core.vcproj Factor out text measurement from wxDC and wxWindow into wxTextMeasure. 2012-10-17 22:35:49 +00:00
wx_vc8_gl.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_html.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_media.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_net.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_propgrid.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_qa.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_ribbon.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_richtext.vcproj Rebake after addition of richtexttabspage.h in r72497. 2012-09-17 12:18:52 +00:00
wx_vc8_stc.vcproj rebake make/project files for new scintilla 2012-08-14 05:14:27 +00:00
wx_vc8_webview.vcproj Add generic wxFileSystem support to wxWebView using wxWebViewFSHandler. 2012-09-11 09:26:58 +00:00
wx_vc8_wxexpat.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc8_wxjpeg.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc8_wxpng.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc8_wxregex.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc8_wxscintilla.vcproj rebake make/project files for new scintilla 2012-08-14 05:14:27 +00:00
wx_vc8_wxtiff.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc8_wxzlib.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc8_xml.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8_xrc.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc8.sln Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
wx_vc9_adv.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_aui.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_base.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_core.vcproj Factor out text measurement from wxDC and wxWindow into wxTextMeasure. 2012-10-17 22:35:49 +00:00
wx_vc9_gl.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_html.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_media.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_net.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_propgrid.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_qa.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_ribbon.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_richtext.vcproj Rebake after addition of richtexttabspage.h in r72497. 2012-09-17 12:18:52 +00:00
wx_vc9_stc.vcproj rebake make/project files for new scintilla 2012-08-14 05:14:27 +00:00
wx_vc9_webview.vcproj Add generic wxFileSystem support to wxWebView using wxWebViewFSHandler. 2012-09-11 09:26:58 +00:00
wx_vc9_wxexpat.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc9_wxjpeg.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc9_wxpng.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc9_wxregex.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc9_wxscintilla.vcproj rebake make/project files for new scintilla 2012-08-14 05:14:27 +00:00
wx_vc9_wxtiff.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc9_wxzlib.vcproj Disable VC8+ deprecation warnings for standard functions at bakefile level. 2011-12-29 22:05:46 +00:00
wx_vc9_xml.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9_xrc.vcproj Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_vc9.sln Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
wx_webview.dsp Add generic wxFileSystem support to wxWebView using wxWebViewFSHandler. 2012-09-11 09:26:58 +00:00
wx_wxexpat.dsp Define _CRT_SECURE_NO_WARNINGS when building 3rd party libs with MSVC. 2009-12-01 00:42:19 +00:00
wx_wxjpeg.dsp Define _CRT_SECURE_NO_WARNINGS when building 3rd party libs with MSVC. 2009-12-01 00:42:19 +00:00
wx_wxpng.dsp merge libpng 1.4.4 to trunk 2010-11-30 18:41:25 +00:00
wx_wxregex.dsp Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
wx_wxscintilla.dsp rebake make/project files for new scintilla 2012-08-14 05:14:27 +00:00
wx_wxtiff.dsp Move wx/evtloop.h from GUI_CMN_HDR to BASE_CMN_HDR in files.bkl. 2010-01-24 01:00:20 +00:00
wx_wxzlib.dsp Define _CRT_SECURE_NO_WARNINGS when building 3rd party libs with MSVC. 2009-12-01 00:42:19 +00:00
wx_xml.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx_xrc.dsp Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
wx.dsw Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00