projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c77eea2
)
Commit fix to remove warnings when drawing text
author
Robert Roebling
<robert@roebling.de>
Fri, 17 Nov 2006 09:47:24 +0000
(09:47 +0000)
committer
Robert Roebling
<robert@roebling.de>
Fri, 17 Nov 2006 09:47:24 +0000
(09:47 +0000)
to a mono-bitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43464
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/gtk/dcclient.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/gtk/dcclient.cpp
b/src/gtk/dcclient.cpp
index 77ed883565f1571ac859aac074e45af788dd08e4..15b718f7a546e7872a7f7d802c6593b7cf1a159d 100644
(file)
--- a/
src/gtk/dcclient.cpp
+++ b/
src/gtk/dcclient.cpp
@@
-391,6
+391,8
@@
void wxWindowDC::SetUpDC()
gdk_gc_set_background( m_textGC, m_textBackgroundColour.GetColor() );
gdk_gc_set_fill( m_textGC, GDK_SOLID );
+
+ gdk_gc_set_colormap( m_textGC, m_cmap );
/* m_penGC */
m_pen.GetColour().CalcPixel( m_cmap );