Add a Cancel button to the LanguageTagDialog.
[dcpomatic.git] / src / wx / language_tag_dialog.cc
index 6fdcdba7898f039d177bce0aa104439d94e9528f..a3ad847d52b9c98d6bb375d3b69811f15ee47859 100644 (file)
@@ -46,7 +46,7 @@ LanguageTagDialog::LanguageTagDialog (wxWindow* parent, dcp::LanguageTag tag)
        overall_sizer->Add (_list, 0, wxALL, DCPOMATIC_SIZER_GAP);
        overall_sizer->Add (add, 0, wxALL, DCPOMATIC_SIZER_GAP);
 
-       auto buttons = CreateSeparatedButtonSizer (wxOK);
+       auto buttons = CreateSeparatedButtonSizer(wxOK | wxCANCEL);
        if (buttons) {
                overall_sizer->Add (buttons, wxSizerFlags().Expand().DoubleBorder());
        }