X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33ac7e6f01acbac1cff0ad400d8ea7f0bfd0a62f..ed45e26357928c1f33d317fd7dfb1ec617389584:/src/msw/button.cpp diff --git a/src/msw/button.cpp b/src/msw/button.cpp index 72e64675f7..e5423b1ffb 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -76,6 +76,9 @@ bool wxButton::Create(wxWindow *parent, long msStyle = WS_VISIBLE | WS_TABSTOP | WS_CHILD /* | WS_CLIPSIBLINGS */ ; + if ( m_windowStyle & wxCLIP_SIBLINGS ) + msStyle |= WS_CLIPSIBLINGS; + #ifdef __WIN32__ if(m_windowStyle & wxBU_LEFT) msStyle |= BS_LEFT;