Hide warnings triggered by Ubuntu 20.04's gcc.
[dcpomatic.git] / src / wx / fonts_dialog.h
index 6c6873ea34f5629b2a448633026ca80041795bad..260e74c3dcd58715f79e1b8f762446fdf1a4e773 100644 (file)
 
 */
 
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/listctrl.h>
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/shared_ptr.hpp>
 #include <boost/weak_ptr.hpp>
 #include <boost/filesystem.hpp>
 
 class Content;
-class CaptionContent;
+class TextContent;
 
 class FontsDialog : public wxDialog
 {
 public:
-       FontsDialog (wxWindow* parent, boost::shared_ptr<Content>, boost::shared_ptr<CaptionContent> caption);
+       FontsDialog (wxWindow* parent, boost::shared_ptr<Content>, boost::shared_ptr<TextContent> caption);
 
 private:
        void setup ();
@@ -39,7 +42,7 @@ private:
        void edit_clicked ();
 
        boost::weak_ptr<Content> _content;
-       boost::weak_ptr<CaptionContent> _caption;
+       boost::weak_ptr<TextContent> _caption;
        wxListCtrl* _fonts;
        wxButton* _edit;
 };