]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/dcscreen.h
Added DetachOldLog to avoid destruction of old log target
[wxWidgets.git] / include / wx / mgl / dcscreen.h
index 684e211875de145d3b1a338be382c6126ab0e180..2f5a178b082fa42ab77571c580018e6b14b9b626 100644 (file)
@@ -26,7 +26,7 @@ class WXDLLEXPORT wxScreenDC: public wxDC
 {
 public:
     wxScreenDC();
-    ~wxScreenDC();
+    virtual ~wxScreenDC();
 
     static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; }
     static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; }