From 5e0ebb716a29a8240bb855e8a01c99379d03e666 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 7 Jan 2008 19:02:26 +0000 Subject: [PATCH] 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 --- include/wx/fontutil.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index afd564a7b6..21a4f8b887 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -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 -- 2.50.0