/*
- Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
/** @class SystemFontDialog
* @brief A dialog box to select one of the "system" fonts on Windows.
*
* This is necessary because wxFileDialog on Windows will not display
- * the contents of c:\Windows\Fonts, so we need a different way to choose
+ * the contents of `c:\Windows\Fonts`, so we need a different way to choose
* one of those fonts.
*/
+
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
#include <boost/filesystem.hpp>
#include <boost/optional.hpp>
#include <vector>
+
class wxListCtrl;
+
class SystemFontDialog : public wxDialog
{
public:
- SystemFontDialog (wxWindow* parent);
+ explicit SystemFontDialog (wxWindow* parent);
boost::optional<boost::filesystem::path> get_font () const;