X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ba55e664d3082c90a46a8ff05de23d8fd522ac0..ee544c174163d85974cc0c265d4f64d7de812f6e:/src/msw/statbr95.cpp diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index 85d27e5191..c1c3c4706f 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -122,7 +122,11 @@ bool wxStatusBar95::Create(wxWindow *parent, m_windowId = id == -1 ? NewControlId() : id; - DWORD wstyle = WS_CHILD | WS_VISIBLE /* | WS_CLIPSIBLINGS */ ; + DWORD wstyle = WS_CHILD | WS_VISIBLE; + + if ( style & wxCLIP_SIBLINGS ) + wstyle |= WS_CLIPSIBLINGS; + // setting SBARS_SIZEGRIP is perfectly useless: it's always on by default // (at least in the version of comctl32.dll I'm using), and the only way to