Refactor wxGDIPlusFontData ctor to allow using it without wxGDIPlusContext.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Oct 2011 22:07:18 +0000 (22:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Oct 2011 22:07:18 +0000 (22:07 +0000)
commit12493a5fb8f95c1a2918fc3ef010995ab1e4946a
tree5f86e734659afa540b931b07789582656d3f3240
parent645f9bd3772a7a4ca3687553e1af53e5a0bb51c1
Refactor wxGDIPlusFontData ctor to allow using it without wxGDIPlusContext.

wxGDIPlusFontData only needs wxGDIPlusContext to get the font unit to use, so
pass the font unit directly to the ctor to allow also using it when there is
no context at hand.

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