]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dcclient.h
adopting correct implementation virtualization for Do/GradientFillConcentric
[wxWidgets.git] / include / wx / cocoa / dcclient.h
index 5bfc6a15e98661ff7d74955d43e358edf2ff0d3c..c927f0e5bf283719200b728a62187bb4f9064b4a 100644 (file)
@@ -25,7 +25,7 @@ public:
     wxWindowDC(void);
     // Create a DC corresponding to a window
     wxWindowDC(wxWindow *win);
     wxWindowDC(void);
     // Create a DC corresponding to a window
     wxWindowDC(wxWindow *win);
-    ~wxWindowDC(void);
+    virtual ~wxWindowDC(void);
 
 protected:
     wxWindow *m_window;
 
 protected:
     wxWindow *m_window;
@@ -45,7 +45,7 @@ public:
     wxClientDC(void);
     // Create a DC corresponding to a window
     wxClientDC(wxWindow *win);
     wxClientDC(void);
     // Create a DC corresponding to a window
     wxClientDC(wxWindow *win);
-    ~wxClientDC(void);
+    virtual ~wxClientDC(void);
 protected:
 // DC stack
     virtual bool CocoaLockFocus();
 protected:
 // DC stack
     virtual bool CocoaLockFocus();
@@ -59,7 +59,7 @@ public:
     wxPaintDC(void);
     // Create a DC corresponding to a window
     wxPaintDC(wxWindow *win);
     wxPaintDC(void);
     // Create a DC corresponding to a window
     wxPaintDC(wxWindow *win);
-    ~wxPaintDC(void);
+    virtual ~wxPaintDC(void);
 protected:
 // DC stack
     virtual bool CocoaLockFocus();
 protected:
 // DC stack
     virtual bool CocoaLockFocus();