projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use new CheckBox::bind().
[dcpomatic.git]
/
src
/
wx
/
confirm_kdm_email_dialog.cc
diff --git
a/src/wx/confirm_kdm_email_dialog.cc
b/src/wx/confirm_kdm_email_dialog.cc
index 7709442c917735f025ab4bd813d0ac5c173d9d01..66508655785ddf78ed88f2657246d19a5434c1a2 100644
(file)
--- a/
src/wx/confirm_kdm_email_dialog.cc
+++ b/
src/wx/confirm_kdm_email_dialog.cc
@@
-40,10
+40,10
@@
ConfirmKDMEmailDialog::ConfirmKDMEmailDialog (wxWindow* parent, list<string> ema
_sizer->Add (new StaticText (this, message), 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
_sizer->Add (new StaticText (this, message), 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
-
wxCheckBox*
shut_up = new CheckBox (this, _("Don't ask this again"));
+
auto
shut_up = new CheckBox (this, _("Don't ask this again"));
_sizer->Add (shut_up, 0, wxALL, DCPOMATIC_DIALOG_BORDER);
_sizer->Add (shut_up, 0, wxALL, DCPOMATIC_DIALOG_BORDER);
- shut_up->
Bind (wxEVT_CHECKBOX, bind (&ConfirmKDMEmailDialog::shut_up, this, _1)
);
+ shut_up->
bind(&ConfirmKDMEmailDialog::shut_up, this, _1
);
layout ();
}
layout ();
}