No changes, just avoid overriding GetNativeFontInfoDesc() in wxMSW wxFont.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 26 Nov 2009 02:34:01 +0000 (02:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 26 Nov 2009 02:34:01 +0000 (02:34 +0000)
commit64932e4105654e784d0276671f5ac28f9bdb4ee9
treecab9cde44b456b6b39b7d7a148759a424800537f
parenta77c05ea22b097c390fc492cc9c55e02f892412a
No changes, just avoid overriding GetNativeFontInfoDesc() in wxMSW wxFont.

wxFont::GetNativeFontInfoDesc() and GetNativeFontInfoUserDesc() were
overridden just to ensure that the font is realized but it makes sense to do
it in wxFontRefData::GetNativeFontInfo() itself as detecting the face name
won't work if the font is not realized anyhow. And then we don't need these
functions at all as the only thing they do is checking that the font is valid
when they are called but this can be done in the base class itself as this
should happen in all ports (document that this is the case).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/font.h
interface/wx/font.h
src/common/fontcmn.cpp
src/msw/font.cpp