X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb71578cae7032226e8650e1a119b6eb043507b8..9082f1a970e72765544a23b6f0b3481011ddca15:/src/os2/window.cpp diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 7a70fa144a..2aef2aaeff 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -369,14 +369,6 @@ bool wxWindow::Create( } else nTempy = pParent->GetSize().y - (vPos.y + rSize.y); -#if 0 - if (nTempy < 0) - { - nTempy = pParent->GetSize().y + (vPos.y + rSize.y); - pParent->SetSize(0, 0, pParent->GetSize().x, nTempy); - nTempy = pParent->GetSize().y - (vPos.y + rSize.y); - } -#endif vPos.y = nTempy; if ( pParent->IsKindOf(CLASSINFO(wxGenericScrolledWindow)) || pParent->IsKindOf(CLASSINFO(wxScrolledWindow))