/*
- 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.
*/
+
+#include "wx_util.h"
#include <dcp/util.h>
+
template <class T>
class FileDialogWrapper
{
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 ()