X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93fbbe07650f0f5b47a162081160007b4d9e3b87..db6634e0d53fce875c78a089f4237a88ae206335:/src/os2/control.cpp diff --git a/src/os2/control.cpp b/src/os2/control.cpp index 5b74ae803e..09bf756b6f 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -131,6 +131,9 @@ bool wxControl::OS2CreateControl( const wxChar* zClassname, else label = m_label; + // clipping siblings does not yet work + dwStyle &= ~WS_CLIPSIBLINGS; + m_hWnd = (WXHWND)::WinCreateWindow( (HWND)GetHwndOf(pParent) // Parent window handle ,(PSZ)zClass // Window class ,(PSZ)label.c_str() // Initial Text @@ -224,7 +227,7 @@ WXDWORD wxControl::OS2GetStyle( long lStyle, WXDWORD* pdwExstyle ) const { long dwStyle = wxWindow::OS2GetStyle( lStyle, pdwExstyle ); - if (AcceptsFocus()) + if (AcceptsFocusFromKeyboard()) { dwStyle |= WS_TABSTOP; }