added wxNativeFontInfo() ctor from LOGFONT, this is convenient for MSW code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-07 19:02:26 +00:00
parent 55e04bbd7e
commit 5e0ebb716a

View File

@@ -105,6 +105,8 @@ public:
// set the XFLD
void SetXFontName(const wxString& xFontName);
#elif defined(__WXMSW__)
wxNativeFontInfo(const LOGFONT& lf_) : lf(lf_) { }
LOGFONT lf;
#elif defined(__WXPM__)
// OS/2 native structures that define a font