]> git.saurik.com Git - wxWidgets.git/commitdiff
OS/2 fix to support removal of WXPM ifdefs in header.
authorDavid Webster <Dave.Webster@bhmi.com>
Mon, 7 Jan 2002 16:45:23 +0000 (16:45 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Mon, 7 Jan 2002 16:45:23 +0000 (16:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/toplvcmn.cpp

index c2061a6e18f3bcdd84a116fbbc1b2776ed77d5b1..ea6992d636e00d9d35fc334f0209bcfe7ae31556 100644 (file)
@@ -161,8 +161,7 @@ void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
 
             child->SetSize(ofs, ofs, clientW - 2*ofs, clientH - 2*ofs);
 #ifdef __WXPM__
 
             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
         }
     }
 #endif
         }
     }
@@ -182,7 +181,6 @@ bool wxTopLevelWindowBase::SendIconizeEvent(bool iconized)
     return GetEventHandler()->ProcessEvent(event);
 }
 
     return GetEventHandler()->ProcessEvent(event);
 }
 
-
 // ----------------------------------------------------------------------------
 // interactive manipulation
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // interactive manipulation
 // ----------------------------------------------------------------------------