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:
parent
8073eb4044
commit
249af79837
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user