]> 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 1bc300e86e099c863829ec78e437275295b9b606..2f5a178b082fa42ab77571c580018e6b14b9b626 100644 (file)
 #ifndef __WX_DCSCREEN_H__
 #define __WX_DCSCREEN_H__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "dcscreen.h"
-#endif
-
 #include "wx/dcclient.h"
 
 //-----------------------------------------------------------------------------
@@ -30,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; }