summaryrefslogtreecommitdiff
path: root/src/wx/content_timeline.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-21 02:31:51 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-21 02:31:51 +0100
commit0de22230138c3cda3aa3d824f87eb5d806e595fc (patch)
tree5ff0dc12ff2076166ed331feda507e60c7c781f5 /src/wx/content_timeline.h
parentea070593476e687e151fe7ecbb05cd3825f0cf50 (diff)
Stop selecting content in the main window when clicking on the timeline.
This seems not very useful, but mostly it looks horrible on Linux with the main and timeline windows fighting over which has the focus.
Diffstat (limited to 'src/wx/content_timeline.h')
-rw-r--r--src/wx/content_timeline.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wx/content_timeline.h b/src/wx/content_timeline.h
index 48dd986cc..2653701b9 100644
--- a/src/wx/content_timeline.h
+++ b/src/wx/content_timeline.h
@@ -35,7 +35,6 @@ LIBDCP_ENABLE_WARNINGS
#include <boost/signals2.hpp>
-class ContentPanel;
class ContentTimelineView;
class Film;
class FilmViewer;
@@ -47,7 +46,7 @@ class TimelineTimeAxisView;
class ContentTimeline : public Timeline
{
public:
- ContentTimeline(wxWindow *, ContentPanel *, std::shared_ptr<Film>, FilmViewer& viewer);
+ ContentTimeline(wxWindow *, std::shared_ptr<Film>, FilmViewer& viewer);
std::shared_ptr<Film> film();
@@ -120,7 +119,6 @@ private:
wxScrolledCanvas* _labels_canvas;
wxScrolledCanvas* _main_canvas;
- ContentPanel* _content_panel;
std::weak_ptr<Film> _film;
FilmViewer& _viewer;
ContentTimelineViewList _views;