X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3582f7f9293b47784b44e7cde687cc22ba71bf8..29d83fc1e5d41ef6adb7984127ce5dc013b09815:/src/msw/spinctrl.cpp?ds=sidebyside diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index f41eb5d32d..2438d11b72 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -245,6 +245,10 @@ bool wxSpinCtrl::Create(wxWindow *parent, if ( want3D || wxStyleHasBorder(style) ) msStyle |= WS_BORDER; + if ( style & wxCLIP_SIBLINGS ) + msStyle |= WS_CLIPSIBLINGS; + + // create the text window m_hwndBuddy = (WXHWND)::CreateWindowEx (