]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/button.cpp
replaced wxYield() call in PopupMenu() by a much safer wxYieldForCommandsOnly() ...
[wxWidgets.git] / src / msw / button.cpp
index 72e64675f77daba340c07dcd4d82ca2ac91e54c4..e5423b1ffb438e30d2029be2169b252c708303a6 100644 (file)
@@ -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;