diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-03 11:17:34 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-03 20:18:04 +0200 |
| commit | 689fa55d1529ad88449ca464e9107c4dcc54d1cb (patch) | |
| tree | edd1264941263f2fa25a98d61f98c87876c5b667 /src/wx/file_dialog_wrapper.h | |
| parent | 0aabe4060ea4bad7c7caac633aef0737fccff8c2 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/wx/file_dialog_wrapper.h')
| -rw-r--r-- | src/wx/file_dialog_wrapper.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wx/file_dialog_wrapper.h b/src/wx/file_dialog_wrapper.h index dd63ff2da..8223371db 100644 --- a/src/wx/file_dialog_wrapper.h +++ b/src/wx/file_dialog_wrapper.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,8 +18,11 @@ */ + +#include "wx_util.h" #include <dcp/util.h> + template <class T> class FileDialogWrapper { @@ -34,7 +37,7 @@ public: boost::optional<T> get () { - return T (dcp::file_to_string (wx_to_std (_dialog->GetPath ()))); + return T (dcp::file_to_string(wx_to_std(_dialog->GetPath()))); } int ShowModal () |
