title: wxWidgets -- Bind() to a resize event
body: <p>I've been learning wxWidgets and C++ together, and it's been super exciting. I've been consuming all the online tutorials I can find, and have purchased and am reading the book as well. I'm well aware that many of the tutorials (and the book) are outdated, so part of my learning is to bring the examples up to current practice.</p>
  
  <p>I've converted the "Your First App" tutorial on the wxwidgets wiki to use dynamic Bind() instead of the event table, for instance, and have updated references to wxEVT_COMMAND_MENU_SELECTED to the newer and preferred wxEVT_MENU:</p>
  
  <pre><code>MyFrame::MyFrame(const wxString &amp;title) : wxFrame(nullptr, wxID_ANY, title) {
  
      MainMenu = new wxMenuBar();
      wxMenu *FileMenu = new wxMenu;
      MainMenu-&gt;Append(FileMenu, _T("File"));
      SetMenuBar(MainMenu);
      CreateStatusBar(1);
  
      FileMenu-&gt;Append(MENU_New, _T("&amp;New"), _T("Create a new file"));
      FileMenu-&gt;Append(MENU_Open, _T("&amp;Open"), _T("Open an existing file"));
      FileMenu-&gt;Append(MENU_Close, _T("&amp;Close"), _T("Close the current document"));
      FileMenu-&gt;Append(MENU_Save, _T("&amp;Save"), _T("Save the current document"));
      FileMenu-&gt;Append(MENU_SaveAs, _T("Save &amp;As"), _T("Save current document with new name"));
      FileMenu-&gt;Append(MENU_Quit, _T("&amp;Quit"), _T("Quit the editor"));
  
      Bind(wxEVT_MENU, &amp;MyFrame::NewFile, this, MENU_New);
      Bind(wxEVT_MENU, &amp;MyFrame::OpenFile, this, MENU_Open);
      Bind(wxEVT_MENU, &amp;MyFrame::CloseFile, this, MENU_Close);
      Bind(wxEVT_MENU, &amp;MyFrame::SaveFile, this, MENU_Save);
      Bind(wxEVT_MENU, &amp;MyFrame::SaveAsFile, this, MENU_SaveAs);
      Bind(wxEVT_MENU, &amp;MyFrame::Quit, this, MENU_Quit);
  
      MainEditBox = new wxTextCtrl(this, TEXT_Main, _T("Hi!\n"), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_RICH | wxNO_BORDER, wxDefaultValidator, wxTextCtrlNameStr);
  }
  </code></pre>
  
  <p>Now, as a learning exercise, I'm interested in figuring out how to Bind to a 'resize' event. What I'd like to do, just for grins, is display the size of the current frame in it's status bar while it's resizing: something like (300 : 200), but dynamically changing as the frame is resized. But I'm having no luck figuring out how to Bind to this event.</p>
  
  <p>Can anybody offer me a tantalizing tip or two on how I might accomplish this? Thank you in advance.</p>