X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsystem_font_dialog.h;h=59639d2b0b95cb0fa7d8c12517f35fee39d7550e;hb=4f4561c4b5bb1e8a2fa8e673606d18ffa25aec6c;hp=6d5aa0ef9264a7ccfc1932da763a844c2b861117;hpb=fe6921ea758a84d3982180cb2a8e6d95be9cf732;p=dcpomatic.git diff --git a/src/wx/system_font_dialog.h b/src/wx/system_font_dialog.h index 6d5aa0ef9..59639d2b0 100644 --- a/src/wx/system_font_dialog.h +++ b/src/wx/system_font_dialog.h @@ -1,41 +1,49 @@ /* - Copyright (C) 2015 Carl Hetherington + Copyright (C) 2015-2021 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ + /** @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 +DCPOMATIC_ENABLE_WARNINGS #include #include #include + class wxListCtrl; + class SystemFontDialog : public wxDialog { public: - SystemFontDialog (wxWindow* parent); + explicit SystemFontDialog (wxWindow* parent); boost::optional get_font () const;