From: Robin Dunn Date: Mon, 10 Dec 2007 20:03:31 +0000 (+0000) Subject: Add GetSelectedBitmap methods X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8fde39dfea217d340c9151ae70b4d23d93e0eaf7 Add GetSelectedBitmap methods git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/dcmemory.h b/include/wx/mac/carbon/dcmemory.h index 71ff1f85ac..b31d327e36 100644 --- a/include/wx/mac/carbon/dcmemory.h +++ b/include/wx/mac/carbon/dcmemory.h @@ -28,6 +28,11 @@ public: { return subrect == NULL ? GetSelectedBitmap() : GetSelectedBitmap().GetSubBitmap(*subrect); } virtual void DoSelect(const wxBitmap& bitmap); + virtual const wxBitmap& GetSelectedBitmap() const + { return m_selected; } + virtual wxBitmap& GetSelectedBitmap() + { return m_selected; } + private: void Init();