X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31334ecb036c4682ccd5c14b49eeb5dcbf335e03..328bfc22243e3d4672ddf626db4f78e4269c7275:/src/msw/gauge95.cpp?ds=inline diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index c1c2ac99af..efcb6da297 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -37,7 +37,7 @@ #include "wx/msw/gauge95.h" #include "wx/msw/private.h" -#if defined(__WIN95__) && !(defined(__GNUWIN32_OLD__) || defined(__TWIN32__)) +#if defined(__WIN95__) && !((defined(__GNUWIN32_OLD__) || defined(__TWIN32__)) && !defined(__CYGWIN10__)) #include #endif @@ -103,6 +103,10 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id, long msFlags = WS_CHILD | WS_VISIBLE /* | WS_CLIPSIBLINGS */; + if ( m_windowStyle & wxCLIP_SIBLINGS ) + msFlags |= WS_CLIPSIBLINGS; + + if (m_windowStyle & wxGA_VERTICAL) msFlags |= PBS_VERTICAL; @@ -137,11 +141,11 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id, return TRUE; } -void wxGauge95::SetShadowWidth(int w) +void wxGauge95::SetShadowWidth(int WXUNUSED(w)) { } -void wxGauge95::SetBezelFace(int w) +void wxGauge95::SetBezelFace(int WXUNUSED(w)) { }