An mouse capture changed event is sent to a window that loses its mouse capture. This is called even if wxWindow::ReleaseCapture was called by the application code. Handling this event allows an application to cater for unexpected capture releases which might otherwise confuse mouse handling code.
This event is implemented under Windows only.
Event table macros
To process this event, use the following event handler macro to direct input to a member function that takes a wxMouseCaptureChangedEvent argument.
|EVT_MOUSE_CAPTURE_CHANGED(func)||Process a wxEVT_MOUSE_CAPTURE_CHANGED event.|
wxMouseCaptureLostEvent Event handling overview, wxWindow::CaptureMouse, wxWindow::ReleaseMouse, wxWindow::GetCapture
wxMouseCaptureChangedEvent(wxWindowID windowId = 0, wxWindow* gainedCapture = NULL)
wxWindow* GetCapturedWindow() const
Returns the window that gained the capture, or NULL if it was a non-wxWidgets window.