summaryrefslogtreecommitdiff
path: root/src/wx/font_files_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/font_files_dialog.cc')
-rw-r--r--src/wx/font_files_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/font_files_dialog.cc b/src/wx/font_files_dialog.cc
index 9ed96d715..0c64492d5 100644
--- a/src/wx/font_files_dialog.cc
+++ b/src/wx/font_files_dialog.cc
@@ -49,10 +49,10 @@ FontFilesDialog::FontFilesDialog (wxWindow* parent, FontFiles files)
);
_table->Add (_name[i], 1, wxEXPAND | wxALIGN_CENTER_VERTICAL | wxALL, 6);
add (_set_file[i] = new wxButton (this, wxID_ANY, _("Set from file...")));
- _set_file[i]->Bind (wxEVT_COMMAND_BUTTON_CLICKED, bind (&FontFilesDialog::set_from_file_clicked, this, static_cast<FontFiles::Variant>(i)));
+ _set_file[i]->Bind (wxEVT_BUTTON, bind (&FontFilesDialog::set_from_file_clicked, this, static_cast<FontFiles::Variant>(i)));
#ifdef DCPOMATIC_WINDOWS
add (_set_system[i] = new wxButton (this, wxID_ANY, _("Set from system font...")));
- _set_system[i]->Bind (wxEVT_COMMAND_BUTTON_CLICKED, bind (&FontFilesDialog::set_from_system_clicked, this, static_cast<FontFiles::Variant>(i)));
+ _set_system[i]->Bind (wxEVT_BUTTON, bind (&FontFilesDialog::set_from_system_clicked, this, static_cast<FontFiles::Variant>(i)));
#endif
}