]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcscreen.cpp
supporting events also for root control (needed for event handling of mouse and paint...
[wxWidgets.git] / src / msw / dcscreen.cpp
index 53cc7c826ae1ed187b9e3586f8e48e976e64af48..a6f3948d1b3452865560c8150d3ffc7af254be46 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "dcscreen.h"
 #endif
 
 #pragma implementation "dcscreen.h"
 #endif