X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a7e80ec291ee33cea0eb05a00e9ee5c8306ae45..be1f902405def888b65c39832ce4a9fb56554880:/src/gtk/dcmemory.cpp?ds=sidebyside 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(); +}