git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61369
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
f.SetPointSize( /*LogicalToDeviceYRel*/(font.GetPointSize()));
m_graphicContext->SetFont( f, m_textForegroundColour );
#if defined(__WXGTK__) || defined(__WXOSX__)
f.SetPointSize( /*LogicalToDeviceYRel*/(font.GetPointSize()));
m_graphicContext->SetFont( f, m_textForegroundColour );
#if defined(__WXGTK__) || defined(__WXOSX__)
- if ( m_font.GetNoAntiAliasing() )
+ if ( m_font.IsOk() && m_font.GetNoAntiAliasing() )
{
m_graphicContext->SetAntialiasMode(wxANTIALIAS_NONE);
}
{
m_graphicContext->SetAntialiasMode(wxANTIALIAS_NONE);
}