Commit fix to remove warnings when drawing text

to a mono-bitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2006-11-17 09:47:24 +00:00
parent c77eea28f9
commit 4ba1c184b5

View File

@ -392,6 +392,8 @@ void wxWindowDC::SetUpDC()
gdk_gc_set_fill( m_textGC, GDK_SOLID );
gdk_gc_set_colormap( m_textGC, m_cmap );
/* m_penGC */
m_pen.GetColour().CalcPixel( m_cmap );
gdk_gc_set_foreground( m_penGC, m_pen.GetColour().GetColor() );