// Name: src/gtk/dcmemory.cpp
// Purpose:
// Author: Robert Roebling
-// RCS-ID: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// 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();
+}