post wxUniv merge fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2001-07-22 17:15:14 +00:00
parent 8073eb4044
commit 249af79837

View File

@ -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());
}