removed SetFont() from DoDrawText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1176,7 +1176,9 @@ void wxPostScriptDC::DoDrawText( const wxString& text, wxCoord x, wxCoord y )
|
|||||||
|
|
||||||
GetTextExtent(text, &text_w, &text_h, &text_descent);
|
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())
|
if (m_textForegroundColour.Ok())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user