From: David Webster Date: Mon, 7 Jan 2002 16:45:23 +0000 (+0000) Subject: OS/2 fix to support removal of WXPM ifdefs in header. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5150c01688b3a327a7b26013768d573ab8722ba8?ds=sidebyside OS/2 fix to support removal of WXPM ifdefs in header. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/toplvcmn.cpp b/src/common/toplvcmn.cpp index c2061a6e18..ea6992d636 100644 --- a/src/common/toplvcmn.cpp +++ b/src/common/toplvcmn.cpp @@ -161,8 +161,7 @@ void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event)) child->SetSize(ofs, ofs, clientW - 2*ofs, clientH - 2*ofs); #ifdef __WXPM__ - child->MoveChildren(m_vSwpClient.cy - clientH); - ::WinQueryWindowPos(GetHwnd(), &m_vSwpClient); + UpdateInternalSize(child, clientH); #endif } } @@ -182,7 +181,6 @@ bool wxTopLevelWindowBase::SendIconizeEvent(bool iconized) return GetEventHandler()->ProcessEvent(event); } - // ---------------------------------------------------------------------------- // interactive manipulation // ----------------------------------------------------------------------------