X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/788722ac5ca55bd3c0d1f9bd2d598f90b3b02071..491b5be8305968871bc289453ed088a70c3de044:/src/msw/tglbtn.cpp?ds=inline diff --git a/src/msw/tglbtn.cpp b/src/msw/tglbtn.cpp index f428a631fe..58889e0fb9 100644 --- a/src/msw/tglbtn.cpp +++ b/src/msw/tglbtn.cpp @@ -86,6 +86,10 @@ bool wxToggleButton::Create(wxWindow *parent, wxWindowID id, #endif long msStyle = BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP | WS_CHILD | WS_VISIBLE; + + if ( m_windowStyle & wxCLIP_SIBLINGS ) + msStyle |= WS_CLIPSIBLINGS; + #ifdef __WIN32__ if(m_windowStyle & wxBU_LEFT) msStyle |= BS_LEFT;