projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the last_player_load_directory when adding OVs (#2094).
[dcpomatic.git]
/
src
/
wx
/
nag_dialog.cc
diff --git
a/src/wx/nag_dialog.cc
b/src/wx/nag_dialog.cc
index edaf8f83f6a41f97d0da29b7ae6d422be5478d3b..04c3ce8e90ccae9ed69fc8a63c898a03ff571668 100644
(file)
--- a/
src/wx/nag_dialog.cc
+++ b/
src/wx/nag_dialog.cc
@@
-19,10
+19,10
@@
*/
*/
+#include "check_box.h"
#include "nag_dialog.h"
#include "nag_dialog.h"
-#include "wx_util.h"
#include "static_text.h"
#include "static_text.h"
-#include "
check_box
.h"
+#include "
wx_util
.h"
using std::shared_ptr;
using std::shared_ptr;
@@
-44,7
+44,7
@@
NagDialog::NagDialog (wxWindow* parent, Config::Nag nag, wxString message, bool
auto b = new CheckBox (this, _("Don't show this message again"));
sizer->Add (b, 0, wxALL, 6);
auto b = new CheckBox (this, _("Don't show this message again"));
sizer->Add (b, 0, wxALL, 6);
- b->
Bind (wxEVT_CHECKBOX, bind (&NagDialog::shut_up, this, _1)
);
+ b->
bind(&NagDialog::shut_up, this, _1
);
int flags = wxOK;
if (can_cancel) {
int flags = wxOK;
if (can_cancel) {