An mouse capture lost event is sent to a window that obtained mouse capture, which was subsequently loss due to "external" event, for example when a dialog box is shown or if another application captures the mouse.
If this happens, this event is sent to all windows that are on capture stack (i.e. called CaptureMouse, but didn't call ReleaseMouse yet). The event is not sent if the capture changes because of a call to CaptureMouse or ReleaseMouse.
This event is currently emitted 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 wxMouseCaptureLostEvent argument.
|EVT_MOUSE_CAPTURE_LOST(func)||Process a wxEVT_MOUSE_CAPTURE_LOST event.|
wxMouseCaptureChangedEvent Event handling overview, wxWindow::CaptureMouse, wxWindow::ReleaseMouse, wxWindow::GetCapture
wxMouseCaptureLostEvent(wxWindowID windowId = 0)