#include "key_dialog.h"
#include "wx_util.h"
+#include <iostream>
using std::cout;
KeyDialog::KeyDialog (wxWindow* parent, dcp::Key key)
- : TableDialog (parent, _("Key"), 3, true)
+ : TableDialog (parent, _("Key"), 3, 1, true)
{
add (_("Key"), true);
}
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);