X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffile_dialog_wrapper.h;h=8223371dbce0399b2d40ff221dff092eae9d22ec;hb=2d4e8c5f69cc694625ad95dcee554499605f823b;hp=dd63ff2dae447bfdaccd6a9842e0f02092fd8d20;hpb=00b60f52add041a36fa62118baf4b5ac78993980;p=dcpomatic.git 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 + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,8 +18,11 @@ */ + +#include "wx_util.h" #include + template class FileDialogWrapper { @@ -34,7 +37,7 @@ public: boost::optional 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 ()