adapted to new font setter

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-10-26 06:25:41 +00:00
parent facbe36395
commit a60a549995

View File

@@ -111,7 +111,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
SetGraphicsContext( wxGraphicsContext::CreateFromNative( bmCtx ) );
m_graphicContext->SetPen( m_pen ) ;
m_graphicContext->SetBrush( m_brush ) ;
m_graphicContext->SetFont( m_font ) ;
m_graphicContext->SetFont( m_font , m_textForegroundColour) ;
}
m_ok = (m_graphicContext != NULL) ;