projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Applied patch #1197608 (Correction to key up handler).
[wxWidgets.git]
/
src
/
gtk
/
dcmemory.cpp
diff --git
a/src/gtk/dcmemory.cpp
b/src/gtk/dcmemory.cpp
index 0ec10532b7d8ce554a856cda72862eee8115ed91..a3ac365287797b80972362e05d9bf963a554e360 100644
(file)
--- a/
src/gtk/dcmemory.cpp
+++ b/
src/gtk/dcmemory.cpp
@@
-71,6
+71,10
@@
void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
m_window = m_selected.GetBitmap();
}
+#ifdef __WXGTK20__
+ m_selected.PurgeOtherRepresentations(wxBitmap::Pixmap);
+#endif
+
m_isMemDC = TRUE;
SetUpDC();