From: Robin Dunn Date: Sat, 28 Jul 2012 19:31:09 +0000 (+0000) Subject: wxDC::GetHandle support for wxMSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6d4b1e2759abc6da2cc163d81b63a457b2bef0b0 wxDC::GetHandle support for wxMSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/dc.h b/include/wx/msw/dc.h index f874111c8d..ddb8797d00 100644 --- a/include/wx/msw/dc.h +++ b/include/wx/msw/dc.h @@ -126,6 +126,8 @@ public: m_clipX2 = 0; } + void* GetHandle() const { return (void*)GetHDC(); } + const wxBitmap& GetSelectedBitmap() const { return m_selectedBitmap; } wxBitmap& GetSelectedBitmap() { return m_selectedBitmap; }