]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing changing text colors
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 11 Oct 2006 13:54:03 +0000 (13:54 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 11 Oct 2006 13:54:03 +0000 (13:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dccg.cpp

index f90a2864dc57386dfe2c2d0fd01e0dc706ffbcb7..3bb0f6f514980749668eb988ef6538ee46258168 100755 (executable)
@@ -1349,7 +1349,9 @@ void wxDC::SetTextForeground( const wxColour &col )
     if ( col != m_textForegroundColour )
     {
         m_textForegroundColour = col;
-        m_graphicContext->SetTextColor( col ) ;
+        m_graphicContext->SetTextColor( col );
+        // in the current implementation the font contains the text color
+        m_graphicContext->SetFont(m_font);
     }
 }