X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..e328812d748d2db49440a5fcf3ef9d3a49edbd56:/src/msw/gauge95.cpp diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index e3ea695d8a..655e9fcf67 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -24,12 +24,11 @@ #pragma hdrstop #endif +#if wxUSE_GAUGE + #ifndef WX_PRECOMP - #include "wx/defs.h" #endif -#if wxUSE_GAUGE - #include "wx/gauge.h" #include "wx/msw/private.h" @@ -95,7 +94,9 @@ wxBEGIN_FLAGS( wxGaugeStyle ) wxFLAGS_MEMBER(wxGA_HORIZONTAL) wxFLAGS_MEMBER(wxGA_VERTICAL) +#if WXWIN_COMPATIBILITY_2_6 wxFLAGS_MEMBER(wxGA_PROGRESSBAR) +#endif // WXWIN_COMPATIBILITY_2_6 wxFLAGS_MEMBER(wxGA_SMOOTH) wxEND_FLAGS( wxGaugeStyle ) @@ -217,4 +218,3 @@ bool wxGauge95::SetBackgroundColour(const wxColour& col) } #endif // wxUSE_GAUGE -