toplevel fixes to deal with base class fixes. Create interface change to support passing in stacksize and OS/2 SystemSettingsNative support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-01-07 16:51:01 +00:00
parent 5150c01688
commit 793c7f9b9c
3 changed files with 37 additions and 11 deletions

View File

@@ -54,6 +54,9 @@ wxWindowList wxModelessWindows;
// the name of the default wxWindows class
extern const wxChar* wxCanvasClassName;
extern const wxChar* wxFrameClassName;
extern void wxAssociateWinWithHandle( HWND hWnd
,wxWindowOS2* pWin
);
// ============================================================================
// wxTopLevelWindowMSW implementation
@@ -529,6 +532,15 @@ void wxTopLevelWindowOS2::AlterChildPos()
::WinQueryWindowPos(GetHwnd(), &m_vSwpClient);
} // end of wxTopLevelWindowOS2::AlterChildPos
void wxTopLevelWindowOS2::UpdateInternalSize(
wxWindow* pChild
, int nHeight
)
{
pChild->MoveChildren(m_vSwpClient.cy - nHeight);
::WinQueryWindowPos(GetHwnd(), &m_vSwpClient);
} // end of wxTopLevelWindowOS2::UpdateInternalSize
// ----------------------------------------------------------------------------
// wxTopLevelWindowOS2 client size
// ----------------------------------------------------------------------------