Re-enable generation of wxEVT_MOVE_{START,END} events under wxMSW.

Handling of WM_{ENTER,EXIT}SIZEMOVE was disabled as a side-effect of r47927,
possibly unintentionally. Revert this change to generate these events again.

Also document that they're MSW-only for now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-02-05 20:24:47 +00:00
parent 41628a43cb
commit 7721116699
2 changed files with 4 additions and 2 deletions

View File

@@ -3841,6 +3841,8 @@ public:
A move event holds information about wxTopLevelWindow move change events. A move event holds information about wxTopLevelWindow move change events.
These events are currently only generated by wxMSW port.
@beginEventTable{wxMoveEvent} @beginEventTable{wxMoveEvent}
@event{EVT_MOVE(func)} @event{EVT_MOVE(func)}
Process a @c wxEVT_MOVE event, which is generated when a window is moved. Process a @c wxEVT_MOVE event, which is generated when a window is moved.

View File

@@ -2727,7 +2727,7 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l
} }
} }
break; break;
#if 0
case WM_ENTERSIZEMOVE: case WM_ENTERSIZEMOVE:
{ {
processed = HandleEnterSizeMove(); processed = HandleEnterSizeMove();
@@ -2739,7 +2739,7 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l
processed = HandleExitSizeMove(); processed = HandleExitSizeMove();
} }
break; break;
#endif
case WM_SIZING: case WM_SIZING:
{ {
LPRECT pRect = (LPRECT)lParam; LPRECT pRect = (LPRECT)lParam;