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