X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71908213057690d5452f72b2b9c8e62b53357170..f7476b53e6da9a916d7863dc62bc6c7f60685651:/include/wx/univ/gauge.h

diff --git a/include/wx/univ/gauge.h b/include/wx/univ/gauge.h
index b4587d788e..ae80f68767 100644
--- a/include/wx/univ/gauge.h
+++ b/include/wx/univ/gauge.h
@@ -9,8 +9,8 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-    #pragma implementation "gauge.h"
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
+    #pragma interface "gaugeuniv.h"
 #endif
 
 // ----------------------------------------------------------------------------