]> git.saurik.com Git - wxWidgets.git/commitdiff
removed SetFont() from DoDrawText
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Dec 2000 18:22:20 +0000 (18:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Dec 2000 18:22:20 +0000 (18:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dcpsg.cpp

index d471943452cef25aec9332ba8b688e7ecaac2eb5..c85d15e1739f439aa8d95d2e3d7324c583a8d8d7 100644 (file)
@@ -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())
     {