summaryrefslogtreecommitdiff
path: root/src/wx/gl_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-04-20 00:03:19 +0200
committerCarl Hetherington <cth@carlh.net>2025-04-20 21:18:19 +0200
commit51c4540fdb30d719ebc3998fb9b86c16e5bf0a66 (patch)
tree15c706252ce458f48e252db3bfe02d736807a345 /src/wx/gl_view.h
parentd921f2dae281aa6a787e693aea9d6446b6122295 (diff)
Tweak handling of wxEVT_PAINT.465-vumeters
Diffstat (limited to 'src/wx/gl_view.h')
-rw-r--r--src/wx/gl_view.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/gl_view.h b/src/wx/gl_view.h
index f20d5962a..2065f5ede 100644
--- a/src/wx/gl_view.h
+++ b/src/wx/gl_view.h
@@ -45,8 +45,6 @@ public:
GLView(wxWindow* parent);
virtual ~GLView();
- virtual void update();
-
wxWindow* canvas() const {
return _canvas;
}
@@ -56,12 +54,14 @@ public:
}
protected:
- virtual void size_changed(wxSizeEvent const& ev);
virtual void thread_setup() = 0;
virtual void draw() = 0;
virtual void thread_playing() = 0;
virtual boost::optional<int> time_until_next_frame() const = 0;
+ virtual void size_changed(wxSizeEvent const& ev);
+ virtual void update();
+
void start_thread_if_required();
void start();
void stop();