X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffonts_dialog.h;h=ba98e0963877b82ccf05982b4b81da161dd4ce99;hb=08f96200aacf9f91ef3e3f5b80224a5b2437f279;hp=e251ddab183d9412d958126c81bab8ae50b156f2;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/fonts_dialog.h b/src/wx/fonts_dialog.h index e251ddab1..ba98e0963 100644 --- a/src/wx/fonts_dialog.h +++ b/src/wx/fonts_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2016 Carl Hetherington + Copyright (C) 2014-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -25,11 +25,12 @@ #include class Content; +class TextContent; class FontsDialog : public wxDialog { public: - FontsDialog (wxWindow* parent, boost::shared_ptr); + FontsDialog (wxWindow* parent, boost::shared_ptr, boost::shared_ptr caption); private: void setup (); @@ -38,6 +39,7 @@ private: void edit_clicked (); boost::weak_ptr _content; + boost::weak_ptr _caption; wxListCtrl* _fonts; wxButton* _edit; };