Size updates and new methods to export.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-06-04 19:03:35 +00:00
parent 744442dd11
commit 39c26ef2d7
3 changed files with 84 additions and 66 deletions

View File

@@ -314,7 +314,6 @@ wxWindow::~wxWindow()
{
if (pFrame->GetLastFocus() == this)
pFrame->SetLastFocus((wxWindow*)NULL);
break;
}
}
if (m_parent)
@@ -1449,6 +1448,17 @@ void wxWindow::DoMoveWindow(
, int nHeight
)
{
RECTL vRect;
HWND hParent;
wxWindow* pParent = GetParent();
if (pParent)
hParent = GetWinHwnd(pParent);
else
hParent = HWND_DESKTOP;
::WinQueryWindowRect(hParent, &vRect);
nY = vRect.yTop - (nY + nHeight);
if ( !::WinSetWindowPos( GetHwnd()
,HWND_TOP
,(LONG)nX