wxDC::GetHandle support for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-07-28 19:31:18 +00:00
parent 6d4b1e2759
commit 8e72f2cd18
5 changed files with 16 additions and 3 deletions

View File

@@ -164,3 +164,8 @@ wxBitmap& wxMemoryDCImpl::GetSelectedBitmap()
return m_selected;
}
void* wxMemoryDCImpl::GetHandle() const
{
const wxBitmap& bmp = GetSelectedBitmap();
return bmp.GetPixmap();
}