No-op; rename a whole load of wx constants to their shorter equivalents.
[dcpomatic.git] / src / wx / key_dialog.cc
index 3ab16d7954dc93ff5240ef75e8f00a257cdb76d3..414e61d37ec93cb3194aeb7bb953eabdb1e482ce 100644 (file)
@@ -49,8 +49,8 @@ KeyDialog::KeyDialog (wxWindow* parent, dcp::Key key)
 
        _random = add (new wxButton (this, wxID_ANY, _("Random")));
 
-       _key->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&KeyDialog::key_changed, this));
-       _random->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&KeyDialog::random, this));
+       _key->Bind (wxEVT_TEXT, boost::bind (&KeyDialog::key_changed, this));
+       _random->Bind (wxEVT_BUTTON, boost::bind (&KeyDialog::random, this));
 
        layout ();
 }