summaryrefslogtreecommitdiff
path: root/src/wx/controls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/controls.cc')
-rw-r--r--src/wx/controls.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc
index 0c12ba463..27139f1f5 100644
--- a/src/wx/controls.cc
+++ b/src/wx/controls.cc
@@ -406,3 +406,13 @@ Controls::film_change (ChangeType type, Film::Property p)
}
}
}
+
+#ifdef DCPOMATIC_PLAYER_STRESS_TEST
+void
+Controls::seek (int slider)
+{
+ _slider->SetValue (slider);
+ slider_moved (false);
+ slider_released ();
+}
+#endif