]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/dcscreen.h
only declare wxHandleFatalExceptions() when wxUSE_ON_FATAL_EXCEPTION == 1
[wxWidgets.git] / include / wx / mgl / dcscreen.h
index a5f0ace17dac48aa97ca615b01e375ac8367537c..1bc300e86e099c863829ec78e437275295b9b606 100644 (file)
@@ -3,14 +3,14 @@
 // Purpose:
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_DCSCREEN_H__
 #define __WX_DCSCREEN_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcscreen.h"
 #endif
 
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxScreenDC: public wxDC
 {
 public:
     wxScreenDC();
-    ~wxScreenDC() {}
+    ~wxScreenDC();
 
     static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; }
     static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; }