Avoid creating and immediately destroying a wxGraphicsContext for most uses of wxGCDC.
authorPaul Cornett <paulcor@bullseye.com>
Wed, 11 Jul 2012 06:36:38 +0000 (06:36 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 11 Jul 2012 06:36:38 +0000 (06:36 +0000)
commite7042ce73b824b32d50778c79688a455c6fe89b6
tree4c77baa1369b796f62f69e83e2e85bbfbad9e091
parente6273b919b2a76109cd3d4b90c68d2d92f148eeb
Avoid creating and immediately destroying a wxGraphicsContext for most uses of wxGCDC.
This also causes the dummy "measuring context" to be properly initialized with a default font

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/dcgraph.h
src/common/dcgraph.cpp