<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">

<!-- THIS FILE IS GENERATED DO NOT EDIT -->


<erlref>
<header>
  <copyright>
    <year>2020</year><year>2021</year>
    <holder>wxWidgets team.</holder></copyright>
  <legalnotice>Licensed under the wxWindows Free Documentation Licence, Version 3
  </legalnotice>
  <title>wxMouseCaptureChangedEvent</title>
</header>
<module>wxMouseCaptureChangedEvent</module>
<modulesummary>Functions for wxMouseCaptureChangedEvent class</modulesummary>
<description><p>An mouse capture changed event is sent to a window that loses its mouse capture. This is called even if <seemfa marker="wxWindow#releaseMouse/1"><c>wxWindow:releaseMouse/1</c></seemfa> 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.
      </p><p>Only for:wxmsw</p><p>See: <seeerl marker="wxMouseCaptureLostEvent"><c>wxMouseCaptureLostEvent</c></seeerl>, <url href="https://docs.wxwidgets.org/3.1/overview_events.html#overview_events">Overview events</url>, <seemfa marker="wxWindow#captureMouse/1"><c>wxWindow:captureMouse/1</c></seemfa>, <seemfa marker="wxWindow#releaseMouse/1"><c>wxWindow:releaseMouse/1</c></seemfa>, <seemfa marker="wxWindow#getCapture/0"><c>wxWindow:getCapture/0</c></seemfa>
      </p>
  <p>This class is derived (and can use functions) from: 
    <seeerl marker="wxEvent"><c>wxEvent</c></seeerl></p>
  
  <p>wxWidgets docs: <url href="https://docs.wxwidgets.org/3.1/classwx_mouse_capture_changed_event.html">wxMouseCaptureChangedEvent</url></p>
  </description><section><title>Events</title><p>Use <seemfa marker="wxEvtHandler#connect/3"><c>wxEvtHandler:connect/3</c></seemfa> with <seetype marker="#wxMouseCaptureChangedEventType"><c>wxMouseCaptureChangedEventType</c></seetype> to subscribe to events of this type.</p></section>
<datatypes>
    <datatype><name name="wxMouseCaptureChangedEvent"/></datatype>
    <datatype><name name="wxMouseCaptureChanged"/></datatype>
    <datatype><name name="wxMouseCaptureChangedEventType"/></datatype></datatypes>

<funcs>
  <func>
    <name name="getCapturedWindow" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the window that gained the capture, or NULL if it was a non-wxWidgets window. </fsummary>
    <desc><p>Returns the window that gained the capture, or NULL if it was a non-wxWidgets window. 
      </p></desc>
  </func>
  </funcs>
</erlref>
