]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcmemory.h
added wxAnimationCtrl (patch 1570325)
[wxWidgets.git] / include / wx / mac / carbon / dcmemory.h
index 800dae556ec90efe3aff1ffb116c8bd097583d2a..bc6f99ee3ae27390300056bcbbb34c614a42451a 100644 (file)
@@ -21,10 +21,13 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC
   public:
     wxMemoryDC(void);
     wxMemoryDC( wxDC *dc ); // Create compatible DC
-    ~wxMemoryDC(void);
+    virtual ~wxMemoryDC(void);
     virtual void SelectObject( const wxBitmap& bitmap );
-    virtual void DoGetSize( int *width, int *height ) const;
         wxBitmap    GetSelectedObject() { return m_selected ; }
+
+protected:
+    virtual void DoGetSize( int *width, int *height ) const;
+
   private:
     wxBitmap  m_selected;
 };