]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcmemory.cpp
merge DoDrawText() and DoDrawRotatedText() into one function
[wxWidgets.git] / src / gtk / dcmemory.cpp
index 4771dfff8e4ffc063d838aced20ed9035731240a..1933d5000b24f5d7e27a26982c5622d2a7906d06 100644 (file)
@@ -164,3 +164,8 @@ wxBitmap& wxMemoryDCImpl::GetSelectedBitmap()
     return m_selected;
 }
 
+void* wxMemoryDCImpl::GetHandle() const
+{
+    const wxBitmap& bmp = GetSelectedBitmap();
+    return bmp.GetPixmap();
+}