]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/bmpmotif.cpp
use on gdk_draw_lines() call instead of multiple gdk_draw_line() ones (patch 717012)
[wxWidgets.git] / src / motif / bmpmotif.cpp
index c0b958ab78a851c435c820a3aeaf66a4bb055a42..2e800542f2bc0e4b4760ad0dc9a6c371686fbc07 100644 (file)
@@ -99,7 +99,7 @@ void wxBitmapCache::CreateImageIfNeeded( WXWidget w )
                 (WXDisplay*)wxGetDisplay();
 
     XImage *ximage = XGetImage( (Display*)m_display,
-                                (Drawable)m_bitmap.GetPixmap(),
+                                (Drawable)m_bitmap.GetDrawable(),
                                 0, 0,
                                 m_bitmap.GetWidth(), m_bitmap.GetHeight(),
                                 AllPlanes, ZPixmap );
@@ -197,7 +197,7 @@ WXPixmap wxBitmapCache::GetInsensPixmap( WXWidget w )
 
     m_insensPixmap =
         (WXPixmap)XCreateInsensitivePixmap( (Display*)m_display,
-                                            (Pixmap)m_bitmap.GetPixmap() );
+                                            (Pixmap)m_bitmap.GetDrawable() );
 
     m_recalcPixmaps.insens = !m_insensPixmap;
     return m_insensPixmap;