]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/gauge.h
Compilation fix for old GCC versions.
[wxWidgets.git] / include / wx / univ / gauge.h
index ae80f68767679f2137809e6951105f07ac18d386..80b1bf6c110448a93a967852594c9c197482ab34 100644 (file)
@@ -9,9 +9,8 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "gaugeuniv.h"
-#endif
+#ifndef _WX_UNIV_GAUGE_H_
+#define _WX_UNIV_GAUGE_H_
 
 // ----------------------------------------------------------------------------
 // wxGauge: a progress bar
 
 // ----------------------------------------------------------------------------
 // wxGauge: a progress bar
@@ -72,3 +71,5 @@ protected:
 
     DECLARE_DYNAMIC_CLASS(wxGauge)
 };
 
     DECLARE_DYNAMIC_CLASS(wxGauge)
 };
+
+#endif // _WX_UNIV_GAUGE_H_