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