]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcmemory.cpp
updated setup.h for OpenVMS
[wxWidgets.git] / src / gtk / dcmemory.cpp
index d502b5bd48d9ce06fee27693e0e67b10c944373d..1933d5000b24f5d7e27a26982c5622d2a7906d06 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#include "wx/dcmemory.h"
 #include "wx/gtk/dcmemory.h"
 
-#include <gdk/gdk.h>
 #include <gtk/gtk.h>
 
 //-----------------------------------------------------------------------------
@@ -166,3 +164,8 @@ wxBitmap& wxMemoryDCImpl::GetSelectedBitmap()
     return m_selected;
 }
 
+void* wxMemoryDCImpl::GetHandle() const
+{
+    const wxBitmap& bmp = GetSelectedBitmap();
+    return bmp.GetPixmap();
+}