summaryrefslogtreecommitdiff
path: root/src/wx/standard_controls.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-06-10 00:50:37 +0200
committerCarl Hetherington <cth@carlh.net>2020-06-20 20:09:15 +0200
commit9946c7aabecbb578dcbcb37f27973a98616956ce (patch)
tree2a3029fee1bdb43cd31bf9169bc8dd440d6f6c4c /src/wx/standard_controls.cc
parent2d9ad1b7bb17ae209aab7f85eb9d850bfead265f (diff)
First hacks on OOBE help.
Diffstat (limited to 'src/wx/standard_controls.cc')
-rw-r--r--src/wx/standard_controls.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/standard_controls.cc b/src/wx/standard_controls.cc
index 5df89f8fe..11426ff59 100644
--- a/src/wx/standard_controls.cc
+++ b/src/wx/standard_controls.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2018-2020 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,8 +18,9 @@
*/
-#include "standard_controls.h"
#include "film_viewer.h"
+#include "standard_controls.h"
+#include "wx_help.h"
#include <wx/wx.h>
#include <wx/tglbtn.h>
@@ -31,6 +32,7 @@ StandardControls::StandardControls (wxWindow* parent, shared_ptr<FilmViewer> vie
{
_button_sizer->Add (_play_button, 0, wxEXPAND);
_play_button->Bind (wxEVT_TOGGLEBUTTON, boost::bind(&StandardControls::play_clicked, this));
+ HelpGUI::instance()->landmark (_play_button, HelpGUI::PLAY_BUTTON);
}
void