From: Vadim Zeitlin Date: Wed, 20 Dec 2000 18:22:20 +0000 (+0000) Subject: removed SetFont() from DoDrawText X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/080b749f7d0f4d168902ba868af4c8ebbb655508 removed SetFont() from DoDrawText git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index d471943452..c85d15e173 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1176,7 +1176,9 @@ void wxPostScriptDC::DoDrawText( const wxString& text, wxCoord x, wxCoord y ) GetTextExtent(text, &text_w, &text_h, &text_descent); - SetFont( m_font ); + // VZ: this seems to be unnecessary, so taking it out for now, if it + // doesn't create any problems, remove this comment entirely + //SetFont( m_font ); if (m_textForegroundColour.Ok()) {