]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcmemory.h
Dont send spin text update event from SetValue()
[wxWidgets.git] / include / wx / mac / carbon / dcmemory.h
index 71ff1f85acc06ae8554857c03912faa4dcf96990..c42c6544e7e11f8eef7df2d1dafbfe5f0747b896 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/mac/carbon/dcclient.h"
 
-class WXDLLEXPORT wxMemoryDCImpl: public wxPaintDCImpl
+class WXDLLIMPEXP_CORE wxMemoryDCImpl: public wxPaintDCImpl
 {
 public:
     wxMemoryDCImpl( wxMemoryDC *owner );
@@ -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();