title: wxWidgets: Detecting click event on custom controls
body: <p>How to add a click event listener to my custom control made with wxWidgets? The custom control uses wxWindow as the base. On the event list I see </p>
  
  <pre><code>wxEVT_LEFT_DOWN 
  wxEVT_LEFT_UP 
  wxEVT_LEFT_DCLICK
  wxEVT_MIDDLE_DOWN
  wxEVT_MIDDLE_UP 
  wxEVT_MIDDLE_DCLICK
  wxEVT_RIGHT_DOWN 
  wxEVT_RIGHT_UP
  wxEVT_RIGHT_DCLICK
  wxEVT_MOTION
  wxEVT_ENTER_WINDOW
  wxEVT_LEAVE_WINDOW
  wxEVT_MOUSEWHEEL 
  </code></pre>
  
  <p>But there is no <code>wxEVT_LEFT_CLICK</code> or similar. </p>