title: Easy way to get a wxTextCtrl click event?
body: <p>Is there an easy way to handle when a user clicks on a wxTextCtrl? After reading the docs <a href="http://docs.wxwidgets.org/2.8.4/wx_wxtextctrl.html" rel="nofollow noreferrer">wxTextCtrl</a> I see that there isn't a click or double click event. I understand that there is no such thing as "click" events in wxWidgets from the question <a href="https://stackoverflow.com/questions/98941/wxwidgets-detecting-click-event-on-custom-controls">wxWidgets: Detecting click event on custom controls</a>, so a simple mouse down event will do.</p>
  
  <p><strong>Example answer:</strong> </p>
  
  <p>From: <a href="http://wiki.wxwidgets.org/WxTaskBarIcon" rel="nofollow noreferrer">wx wiki</a></p>
  
  <pre><code>    textCtrl-&gt;Connect(wxEVT_LEFT_DOWN,
                wxMouseEventHandler(MyClass::OnClick), NULL, this );
  </code></pre>