X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21342bba689c15e441fc4b74db6e10ebc3b11b00..0e4cfcdd7729457d2fb5922ace5c091576c2ca6b:/src/motif/dcmemory.cpp?ds=sidebyside diff --git a/src/motif/dcmemory.cpp b/src/motif/dcmemory.cpp index 8ac24c411e..451576cf5e 100644 --- a/src/motif/dcmemory.cpp +++ b/src/motif/dcmemory.cpp @@ -105,7 +105,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap ) if (m_bitmap.Ok() && (bitmap.GetDisplay() == m_display)) { - m_pixmap = m_bitmap.GetPixmap(); + m_pixmap = m_bitmap.GetDrawable(); Display* display = (Display*) m_display; XGCValues gcvalues;