summaryrefslogtreecommitdiff
path: root/src/wx/name_format_editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/name_format_editor.cc')
-rw-r--r--src/wx/name_format_editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/name_format_editor.cc b/src/wx/name_format_editor.cc
index 309e04c60..4a93edb18 100644
--- a/src/wx/name_format_editor.cc
+++ b/src/wx/name_format_editor.cc
@@ -47,7 +47,7 @@ NameFormatEditor::NameFormatEditor (wxWindow* parent, dcp::NameFormat name, dcp:
}
_specification->SetValue (std_to_wx (_name.specification ()));
- _specification->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&NameFormatEditor::changed, this));
+ _specification->Bind (wxEVT_TEXT, boost::bind (&NameFormatEditor::changed, this));
update_example ();
}