X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33ac7e6f01acbac1cff0ad400d8ea7f0bfd0a62f..29d83fc1e5d41ef6adb7984127ce5dc013b09815:/src/msw/gauge95.cpp diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 8b4bfbeb90..e171056ef1 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -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;