]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcscreen.h
don't return HTCLIENT for static bitmaps, this breaks mouse (leave) event generation
[wxWidgets.git] / include / wx / motif / dcscreen.h
index 27cf673db2729d4260f6d6b60cf16a998f8424ac..16b498aa71e02dbbb6cfa46f49c7bb6be1a5110a 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DCSCREEN_H_
 #define _WX_DCSCREEN_H_
 
 #ifndef _WX_DCSCREEN_H_
 #define _WX_DCSCREEN_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcscreen.h"
 #endif
 
 #pragma interface "dcscreen.h"
 #endif