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:
@@ -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
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user