X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsystem_font_dialog.h;h=a342846d89aff73853c6269586996f1dcfe80804;hb=051dbf3c6b1518326ed6605df724c94d6cbee344;hp=35ed0827ef0e13c252cc209a1fab5ecf2fb6a184;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/system_font_dialog.h b/src/wx/system_font_dialog.h index 35ed0827e..a342846d8 100644 --- a/src/wx/system_font_dialog.h +++ b/src/wx/system_font_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015 Carl Hetherington + Copyright (C) 2015-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,25 +18,32 @@ */ + /** @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 +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS #include #include #include + class wxListCtrl; + class SystemFontDialog : public wxDialog { public: - SystemFontDialog (wxWindow* parent); + explicit SystemFontDialog (wxWindow* parent); boost::optional get_font () const;