summaryrefslogtreecommitdiff
path: root/src/wx/markers_panel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/markers_panel.h')
-rw-r--r--src/wx/markers_panel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/markers_panel.h b/src/wx/markers_panel.h
index 760df23ac..4c5fd63cf 100644
--- a/src/wx/markers_panel.h
+++ b/src/wx/markers_panel.h
@@ -35,7 +35,7 @@ class wxTipWindow;
class MarkersPanel : public wxPanel
{
public:
- MarkersPanel(wxWindow* parent, FilmViewer& viewer);
+ MarkersPanel(wxWindow* parent, FilmViewer& viewer, bool allow_editing);
void set_film(std::weak_ptr<Film> film);
@@ -58,5 +58,6 @@ private:
MarkerLayoutComponent const* _over = nullptr;
FilmViewer& _viewer;
MarkerLayoutComponent const* _menu_marker = nullptr;
+ bool _allow_editing;
};