diff --git a/include/wx/msw/gauge95.h b/include/wx/msw/gauge95.h index 052a7ae712..6173f60615 100644 --- a/include/wx/msw/gauge95.h +++ b/include/wx/msw/gauge95.h @@ -16,9 +16,7 @@ #pragma interface "gauge95.h" #endif -#if wxUSE_SLIDER - -#include "wx/control.h" +#if wxUSE_GAUGE WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr; diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 3fdf9d68ec..2472ee678c 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -34,7 +34,7 @@ #if wxUSE_GAUGE -#include "wx/msw/gauge95.h" +#include "wx/gauge.h" #include "wx/msw/private.h" #if !(defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__))