]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/spinctlg.cpp
adjust m_current when inserting items in the control (patch 799937)
[wxWidgets.git] / src / generic / spinctlg.cpp
index 1136b29f9603cf39ca2313e0820d6d7ee19c8b45..91ae4c9f5f132f0da906d199b551957ce953913f 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "spinctlg.h"
 #endif