X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4a162522b875bc7cb23f1d165703f71bd7010f7..fde5a86bdac3b4286b48620ec5c1ee9be01b4549:/src/os2/control.cpp diff --git a/src/os2/control.cpp b/src/os2/control.cpp index f9f19112b9..3ed6d787a0 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -140,15 +140,6 @@ bool wxControl::OS2CreateControl( zClass = WC_BUTTON; dwStyle |= WS_VISIBLE; - // - // If the parent is a scrolled window the controls must - // have this style or they will overlap the scrollbars - // - if (pParent) - if (pParent->IsKindOf(CLASSINFO(wxScrolledWindow)) || - pParent->IsKindOf(CLASSINFO(wxGenericScrolledWindow))) - dwStyle |= WS_CLIPSIBLINGS; - m_hWnd = (WXHWND)::WinCreateWindow( (HWND)GetHwndOf(pParent) // Parent window handle ,(PSZ)zClass // Window class ,(PSZ)rsLabel.c_str() // Initial Text