projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix "add" markers submenu for the last couple of markers.
[dcpomatic.git]
/
src
/
wx
/
dir_picker_ctrl.cc
diff --git
a/src/wx/dir_picker_ctrl.cc
b/src/wx/dir_picker_ctrl.cc
index 6c8fdd1fc3e6b48c82505c7e4278b7c428156466..4c19da42af60662672c31d68536227e53c5ef74b 100644
(file)
--- a/
src/wx/dir_picker_ctrl.cc
+++ b/
src/wx/dir_picker_ctrl.cc
@@
-83,9
+83,8
@@
DirPickerCtrl::GetPath () const
void
DirPickerCtrl::browse_clicked ()
{
-
wxDirDialog* d = new wxDirDialog
(this);
+
auto d = make_wx<wxDirDialog>
(this);
if (d->ShowModal () == wxID_OK) {
SetPath (d->GetPath ());
}
- d->Destroy ();
}