X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..bf9ce7b55ec8d1e4a8f2dd8ca2c2b6e9f86b57b7:/src/gtk/dcmemory.cpp diff --git a/src/gtk/dcmemory.cpp b/src/gtk/dcmemory.cpp index d502b5bd48..05009c9e59 100644 --- a/src/gtk/dcmemory.cpp +++ b/src/gtk/dcmemory.cpp @@ -2,7 +2,6 @@ // Name: src/gtk/dcmemory.cpp // Purpose: // Author: Robert Roebling -// RCS-ID: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -10,10 +9,8 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include "wx/dcmemory.h" #include "wx/gtk/dcmemory.h" -#include #include //----------------------------------------------------------------------------- @@ -166,3 +163,8 @@ wxBitmap& wxMemoryDCImpl::GetSelectedBitmap() return m_selected; } +void* wxMemoryDCImpl::GetHandle() const +{ + const wxBitmap& bmp = GetSelectedBitmap(); + return bmp.GetPixmap(); +}