X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fkey_dialog.cc;h=2062a2341aa060f75aa4fac62b029b880b4ae487;hb=ff58dfbdeedd62479f47eee2a808470c92a7cd3f;hp=70229c7a90babaebdb7ca5953db533f7803b9c2a;hpb=dd0e105978aa1fe725de990be98b4943a3beef03;p=dcpomatic.git diff --git a/src/wx/key_dialog.cc b/src/wx/key_dialog.cc index 70229c7a9..2062a2341 100644 --- a/src/wx/key_dialog.cc +++ b/src/wx/key_dialog.cc @@ -19,11 +19,12 @@ #include "key_dialog.h" #include "wx_util.h" +#include using std::cout; KeyDialog::KeyDialog (wxWindow* parent, dcp::Key key) - : TableDialog (parent, _("Key"), 3, true) + : TableDialog (parent, _("Key"), 3, 1, true) { add (_("Key"), true); @@ -40,8 +41,8 @@ KeyDialog::KeyDialog (wxWindow* parent, dcp::Key key) } validator.SetIncludes (list); - - _key = add (new wxTextCtrl (this, wxID_ANY, _(""), wxDefaultPosition, size, 0, validator)); + + _key = add (new wxTextCtrl (this, wxID_ANY, wxT (""), wxDefaultPosition, size, 0, validator)); _key->SetValue (std_to_wx (key.hex ())); _key->SetMaxLength (32);