reset deferred position/size if the window was moved immediately (#10073)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fa05a943e9
commit
f8cba58b84
@ -1987,6 +1987,11 @@ void wxWindowMSW::DoMoveWindow(int x, int y, int width, int height)
|
||||
#if USE_DEFERRED_SIZING
|
||||
m_pendingPosition = wxPoint(x, y);
|
||||
m_pendingSize = wxSize(width, height);
|
||||
}
|
||||
else // window was moved immediately, without deferring it
|
||||
{
|
||||
m_pendingPosition = wxDefaultPosition;
|
||||
m_pendingSize = wxDefaultSize;
|
||||
#endif // USE_DEFERRED_SIZING
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user