summaryrefslogtreecommitdiff
path: root/src/wx/text_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/text_view.cc')
-rw-r--r--src/wx/text_view.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/text_view.cc b/src/wx/text_view.cc
index 2106a3dec..442335b92 100644
--- a/src/wx/text_view.cc
+++ b/src/wx/text_view.cc
@@ -27,7 +27,7 @@
#include "lib/string_text_file_content.h"
#include "lib/text_decoder.h"
#include "text_view.h"
-#include "film_viewer.h"
+#include "control_film_viewer.h"
#include "wx_util.h"
using std::list;
@@ -35,7 +35,9 @@ using boost::shared_ptr;
using boost::bind;
using boost::dynamic_pointer_cast;
-TextView::TextView (wxWindow* parent, shared_ptr<Film> film, shared_ptr<Content> content, shared_ptr<TextContent> text, shared_ptr<Decoder> decoder, FilmViewer* viewer)
+TextView::TextView (
+ wxWindow* parent, shared_ptr<Film> film, shared_ptr<Content> content, shared_ptr<TextContent> text, shared_ptr<Decoder> decoder, ControlFilmViewer* viewer
+ )
: wxDialog (parent, wxID_ANY, _("Captions"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
, _content (content)
, _film_viewer (viewer)