<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>

Typically, there is no "click" event (and in the case of
wxWidgets
-
there isn't
). The action of clicking is broken into its two parts: Mouse Down and Mouse Up. Typically what you think of as a "left click" event is actually handled in a "left up" event.
Try it out:
Hover over a button (such as the "Add Comment" button this page)
Click the left-mouse button down and hold
Move the mouse off of the button while holding down
Release the left-mouse button
Nothing happens!
This time:
Hover over the same button
Click the
left-mouse button down and hold
Release the left-mouse button
The "click" action you expect is triggered by the up event!