From 62fa228ac1bb940b38b67df4c3087ef9ffa581b0 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 12 Oct 2006 07:53:44 +0000 Subject: [PATCH] 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 --- src/mac/carbon/dcmemory.cpp | 1 + 1 file changed, 1 insertion(+) 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) ; -- 2.50.0