From 5150c01688b3a327a7b26013768d573ab8722ba8 Mon Sep 17 00:00:00 2001 From: David Webster Date: Mon, 7 Jan 2002 16:45:23 +0000 Subject: [PATCH] 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 --- src/common/toplvcmn.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 // ---------------------------------------------------------------------------- -- 2.45.2