]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcmemory.h
replace wrong WXDLLEXPORT declarations with correct WXDLLIMPEXP_BASE/ADV/GL (patch...
[wxWidgets.git] / include / wx / mac / carbon / dcmemory.h
index e97091b2019a939ac7a3efd4448d0f0b2ad8ff90..b31d327e361f776c614e89fab2894b3e9c5099f6 100644 (file)
@@ -23,18 +23,21 @@ public:
     
     virtual ~wxMemoryDCImpl();
 
-protected:
     virtual void DoGetSize( int *width, int *height ) const;
     virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const 
        { 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();
 
     wxBitmap  m_selected;
     
-private:
     DECLARE_CLASS(wxMemoryDCImpl)
     DECLARE_NO_COPY_CLASS(wxMemoryDCImpl)
 };