title: Calling an event handler after text has been modified in wxWidgets
body: <p>I am trying to create a situation in my wxWidgets application where a user can type something into a text box, and if there are one or more characters in the text box, other controls become enabled. As such, I created an event handler that checks TextBox->IsEmpty() on the event wxEVT_COMMAND_TEXT_UPDATED. However, this seems to be called before the changes to the text in the text box take place. Is there any way to get an event to fire after the changes have occurred? 
  Thank you.</p>
  
  <p>EDIT: Code I am using.
  I am using Connect() to set up the event handling, so there is no event table to speak of. This is the code I am using:</p>
  
  <pre><code>cur-&gt;mTextBox = new wxTextCtrl(mParentFrame, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize);
  mParentFrame-&gt;Connect(wxID_ANY, wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler(iguiFrame::correctTextBoxes));
  </code></pre>
  
  <p>correctTextBoxes is a public method of my wxFrame derived class, which calls a function containing only the following code:</p>
  
  <pre><code>if(cur-&gt;mTextBox-&gt;IsEmpty())
  {
      wxMessageBox("Empty!");
  }
  </code></pre>
  
  <p>The message box always pops up "one character" too late. </p>