From: Stefan Csomor Date: Thu, 12 Oct 2006 07:53:44 +0000 (+0000) Subject: setting font when using core graphics on a memory dc X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/62fa228ac1bb940b38b67df4c3087ef9ffa581b0 setting font when using core graphics on a memory dc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/dcmemory.cpp b/src/mac/carbon/dcmemory.cpp index 8985e4edc4..20c371825a 100644 --- a/src/mac/carbon/dcmemory.cpp +++ b/src/mac/carbon/dcmemory.cpp @@ -105,6 +105,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap ) m_graphicContext = new wxMacCGContext( bmCtx ) ; m_graphicContext->SetPen( m_pen ) ; m_graphicContext->SetBrush( m_brush ) ; + m_graphicContext->SetFont( m_font ) ; } m_ok = (m_graphicContext != NULL) ;