X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fhints_dialog.cc;h=7a44e22676b0305578052d4e1d287ed5b08f6376;hb=b39dbb7cf1b0352cf0eb3af4bf4929556355bff5;hp=05baf19ff335fb513336d5f5ab4adf67bdd93b70;hpb=3c29aa6531a4046a8db72dcac81189eb8893233c;p=dcpomatic.git diff --git a/src/wx/hints_dialog.cc b/src/wx/hints_dialog.cc index 05baf19ff..7a44e2267 100644 --- a/src/wx/hints_dialog.cc +++ b/src/wx/hints_dialog.cc @@ -62,9 +62,9 @@ HintsDialog::HintsDialog (wxWindow* parent, std::weak_ptr film, bool ok) sizer->Add (_text, 1, wxEXPAND | wxALL, 6); if (!ok) { - wxCheckBox* b = new CheckBox (this, _("Don't show hints again")); + auto b = new CheckBox(this, _("Don't show hints again")); sizer->Add (b, 0, wxALL, 6); - b->Bind (wxEVT_CHECKBOX, bind (&HintsDialog::shut_up, this, _1)); + b->bind(&HintsDialog::shut_up, this, _1); } auto buttons = CreateStdDialogButtonSizer (0);