From 249af79837d491d95f3de1735fe7987b2360a082 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sun, 22 Jul 2001 17:15:14 +0000 Subject: [PATCH] post wxUniv merge fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/font/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/font/font.cpp b/samples/font/font.cpp index 00719a113f..d919ea6a59 100644 --- a/samples/font/font.cpp +++ b/samples/font/font.cpp @@ -678,7 +678,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) ) if ( m_font.Ok() ) { wxString fontDesc = m_font.GetNativeFontInfoDesc(); - dc.SetFont(wxFont(fontDesc)); + dc.SetFont(m_font); fontInfo.Printf("Native font info: %s", fontDesc.c_str()); dc.DrawText(fontInfo, 5, 5 + dc.GetCharHeight()); } -- 2.45.2