// 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>
//-----------------------------------------------------------------------------
return m_selected;
}
+void* wxMemoryDCImpl::GetHandle() const
+{
+ const wxBitmap& bmp = GetSelectedBitmap();
+ return bmp.GetPixmap();
+}