]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gauge95.h
reverted Julian's unintentional breakage of wxChoice
[wxWidgets.git] / include / wx / msw / gauge95.h
index 3cb7379a65379f819f17efe37d17390dda623ac5..c1ab4ab1d0b0929f604217bea5e8a4b255aeec99 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _GAUGE95_H_
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _GAUGE95_H_
@@ -16,6 +16,8 @@
 #pragma interface "gauge95.h"
 #endif
 
 #pragma interface "gauge95.h"
 #endif
 
+#if wxUSE_SLIDER
+
 #include "wx/control.h"
 
 WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
 #include "wx/control.h"
 
 WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
@@ -75,5 +77,7 @@ protected:
     int      m_gaugePos;
 };
 
     int      m_gaugePos;
 };
 
+#endif // wxUSE_GAUGE
+
 #endif
     // _GAUGEMSW_H_
 #endif
     // _GAUGEMSW_H_