Fix login denied (67) errors when trying to download certificates
[dcpomatic.git] / src / wx / system_font_dialog.h
index 35ed0827ef0e13c252cc209a1fab5ecf2fb6a184..da51c9c3a072322cb1a28d371f212130f5877978 100644 (file)
  *  @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>
@@ -36,7 +39,7 @@ class wxListCtrl;
 class SystemFontDialog : public wxDialog
 {
 public:
-       SystemFontDialog (wxWindow* parent);
+       explicit SystemFontDialog (wxWindow* parent);
 
        boost::optional<boost::filesystem::path> get_font () const;