]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/dcscreen.h
compilation fix for wxString::Format("no variadic arguments") and VC6
[wxWidgets.git] / include / wx / mgl / dcscreen.h
index 1bc300e86e099c863829ec78e437275295b9b606..a60a4f2cac872c7fe6e53fb294c3125d72c5558c 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"
 
 //-----------------------------------------------------------------------------
 // classes
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScreenDC;
+class WXDLLIMPEXP_FWD_CORE wxScreenDC;
 
 //-----------------------------------------------------------------------------
 // wxScreenDC
@@ -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; }