X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33ac7e6f01acbac1cff0ad400d8ea7f0bfd0a62f..211cc8dc907ee50ca6d383b8df16bba9a4d3ce2d:/src/msw/gauge95.cpp?ds=sidebyside diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 8b4bfbeb90..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;