X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a7e80ec291ee33cea0eb05a00e9ee5c8306ae45..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/gtk/dcmemory.cpp diff --git a/src/gtk/dcmemory.cpp b/src/gtk/dcmemory.cpp index 4771dfff8e..1933d5000b 100644 --- a/src/gtk/dcmemory.cpp +++ b/src/gtk/dcmemory.cpp @@ -164,3 +164,8 @@ wxBitmap& wxMemoryDCImpl::GetSelectedBitmap() return m_selected; } +void* wxMemoryDCImpl::GetHandle() const +{ + const wxBitmap& bmp = GetSelectedBitmap(); + return bmp.GetPixmap(); +}