]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slidrmsw.cpp
don't call SelectObject() twice in SetBrush() nor SetFont() neither
[wxWidgets.git] / src / msw / slidrmsw.cpp
index 3a776160abfb5de364570094478cfb9ebcf1c33a..48cfaf922abbf1559a4171afb0f10aee82c016b4 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "slidrmsw.h"
 #endif