]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dcscreen.h
X error handler should be extern C (SunCC warning fix)
[wxWidgets.git] / include / wx / x11 / dcscreen.h
index 67fd3d6df26adb80d3e62a6521ac7888674946fb..0fd97e1dda1af984afe67b9ccdc393cdaa756eb3 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DCSCREEN_H_
 #define _WX_DCSCREEN_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcscreen.h"
 #endif
 
@@ -22,7 +22,7 @@
 // wxScreenDC
 //-----------------------------------------------------------------------------
 
-class wxScreenDC : public wxPaintDC
+class WXDLLIMPEXP_CORE wxScreenDC : public wxPaintDC
 {
 public:
     wxScreenDC();