]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dcmemory.h
avoid conflict between wxBookCtrlBase::DoSetSelection() and the derived classes;...
[wxWidgets.git] / include / wx / gtk1 / dcmemory.h
index 93bfb09883a55cd0627de7d9275560f05a1747ed..c998df979e65d8bbd676508d10955563d4cf7135 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcmemory.h
+// Name:        wx/gtk1/dcmemory.h
 // Purpose:
 // Author:      Robert Roebling
 // RCS-ID:      $Id$
@@ -28,7 +28,7 @@ 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;