]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dcmemory.h
adjust so that mono bitmaps don't get an alpha channel
[wxWidgets.git] / include / wx / x11 / dcmemory.h
index 12d839d42595e3d33e3494aa86723af243ac7187..a9d5ebd7f7d2f479b6078a6877ee5b36187b44f3 100644 (file)
@@ -19,14 +19,15 @@ class WXDLLIMPEXP_CORE wxMemoryDC : public wxWindowDC
 public:
     wxMemoryDC();
     wxMemoryDC( wxDC *dc ); // Create compatible DC
-    ~wxMemoryDC();
+    virtual ~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)
 };