]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dcmemory.h
Add virtual keyword where applicable.
[wxWidgets.git] / include / wx / x11 / dcmemory.h
index 12d839d42595e3d33e3494aa86723af243ac7187..5fd1114288557668b0c7325c4c5df1361a20ef0b 100644 (file)
@@ -21,12 +21,13 @@ public:
     wxMemoryDC( wxDC *dc ); // Create compatible DC
     ~wxMemoryDC();
     virtual void SelectObject( const wxBitmap& bitmap );
-    void DoGetSize( int *width, int *height ) const;
 
     // implementation
     wxBitmap  m_selected;
 
-private:
+protected:
+    void DoGetSize( int *width, int *height ) const;
+
     DECLARE_DYNAMIC_CLASS(wxMemoryDC)
 };