]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/sashwin.cpp
adjust m_current when inserting items in the control (patch 799937)
[wxWidgets.git] / src / generic / sashwin.cpp
index 5d00773b5cfd620fc3a60feb342d816aa6982bf0..1a7fdee5dcd2c2cc093e0a58591520c8ee84e02d 100644 (file)
@@ -11,7 +11,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "sashwin.h"
 #endif
 
 #pragma implementation "sashwin.h"
 #endif