X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af3062a8bec9addb6d598cfd0b919c7876d5738f..bc797f4cc8ffe36277ba8b7dd4b57e63a96bfcb5:/src/common/wincmn.cpp?ds=sidebyside diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 89f902063e..ce68b5ac34 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -1161,6 +1161,9 @@ bool wxWindowBase::Layout() GetClientSize(&w, &h); GetSizer()->SetDimension( 0, 0, w, h ); +#if defined __WXPM__ + OS2Layout(w, h); +#endif } else { @@ -1667,7 +1670,7 @@ struct WXDLLEXPORT wxWindowNext void wxWindowBase::CaptureMouse() { wxLogTrace(_T("mousecapture"), _T("CaptureMouse(0x%08x)"), this); - + wxWindow *winOld = GetCapture(); if ( winOld ) {