X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..ed45e26357928c1f33d317fd7dfb1ec617389584:/src/msw/button.cpp diff --git a/src/msw/button.cpp b/src/msw/button.cpp index d58fda1ac6..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; @@ -255,7 +258,7 @@ void wxButton::Command(wxCommandEvent & event) // event/message handlers // ---------------------------------------------------------------------------- -bool wxButton::MSWCommand(WXUINT param, WXWORD id) +bool wxButton::MSWCommand(WXUINT param, WXWORD WXUNUSED(id)) { bool processed = FALSE; switch ( param )