]> git.saurik.com Git - wxWidgets.git/commitdiff
wxDC::GetHandle support for wxMSW
authorRobin Dunn <robin@alldunn.com>
Sat, 28 Jul 2012 19:31:09 +0000 (19:31 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 28 Jul 2012 19:31:09 +0000 (19:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/dc.h

index f874111c8d539b419ff0323b58f6cb47604a5a7a..ddb8797d00dd72311862906000b788578ea998dd 100644 (file)
@@ -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; }