wxmousecapturechangedeventan 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. derived from include files <wx/event.h> 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.
see also wxmousecapturelostevent event handling overview, wxwindow::capturemouse, wxwindow::releasemouse, wxwindow::getcapture members
wxmousecapturechangedevent::wxmousecapturechangedevent
wxmousecapturechangedevent::wxmousecapturechangedeventwxmousecapturechangedevent(wxwindowid windowid = 0, wxwindow* gainedcapture = null) constructor.
wxactivateevent::getcapturedwindowwxwindow* getcapturedwindow() const returns the window that gained the capture, or null if it was a non-wxwidgets window.
|