diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-30 10:34:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-30 10:34:24 +0100 |
| commit | 771ba62be4e59439bf1b8dd622502e51f6444145 (patch) | |
| tree | 0ffcaac48d1e4a547b47b1c2f25223c962ce8dd6 /src/wx/content_colour_conversion_dialog.cc | |
| parent | 47dce56d3283c866c4057d0acb192f7942b53a9d (diff) | |
Add Cancel button to custom colour conversion dialogue (#880).
Diffstat (limited to 'src/wx/content_colour_conversion_dialog.cc')
| -rw-r--r-- | src/wx/content_colour_conversion_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_colour_conversion_dialog.cc b/src/wx/content_colour_conversion_dialog.cc index 995e80f6b..badfb894f 100644 --- a/src/wx/content_colour_conversion_dialog.cc +++ b/src/wx/content_colour_conversion_dialog.cc @@ -51,7 +51,7 @@ ContentColourConversionDialog::ContentColourConversionDialog (wxWindow* parent, overall_sizer->Add (new wxStaticLine (this, wxID_ANY), 0, wxEXPAND); overall_sizer->Add (_editor); - wxSizer* buttons = CreateSeparatedButtonSizer (wxOK); + wxSizer* buttons = CreateSeparatedButtonSizer (wxOK | wxCANCEL); if (buttons) { overall_sizer->Add (buttons, wxSizerFlags().Expand().DoubleBorder()); } |
