]> git.saurik.com Git - wxWidgets.git/commitdiff
Add GetSelectedBitmap methods
authorRobin Dunn <robin@alldunn.com>
Mon, 10 Dec 2007 20:03:31 +0000 (20:03 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 10 Dec 2007 20:03:31 +0000 (20:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/dcmemory.h

index 71ff1f85acc06ae8554857c03912faa4dcf96990..b31d327e361f776c614e89fab2894b3e9c5099f6 100644 (file)
@@ -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();