]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcmemory.h
On screens with restricted space, it's useful to be able to add controls
[wxWidgets.git] / include / wx / mac / carbon / dcmemory.h
index 800dae556ec90efe3aff1ffb116c8bd097583d2a..b5103a8e6e025f33c218a921c251067da4fd8dc9 100644 (file)
@@ -23,8 +23,11 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC
     wxMemoryDC( wxDC *dc ); // Create compatible DC
     ~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;
 };