WM_MOVE processing added (wxMoveEvent generated)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1998-08-14 21:41:53 +00:00
parent 0059a10283
commit 568cb54317

View File

@ -1031,10 +1031,19 @@ long wxWindow::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
break;
}
case WM_MOVE:
{
wxMoveEvent event(wxPoint(LOWORD(lParam), HIWORD(lParam)),
m_windowId);
event.SetEventObject(this);
if ( !GetEventHandler()->ProcessEvent(event) )
Default();
}
break;
case WM_WINDOWPOSCHANGING:
{
WINDOWPOS *pos = (WINDOWPOS *)lParam;
MSWOnWindowPosChanging((void *)pos);
MSWOnWindowPosChanging((void *)lParam);
break;
}