diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-20 00:03:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-04-20 21:18:19 +0200 |
| commit | 51c4540fdb30d719ebc3998fb9b86c16e5bf0a66 (patch) | |
| tree | 15c706252ce458f48e252db3bfe02d736807a345 /src/wx/gl_view.h | |
| parent | d921f2dae281aa6a787e693aea9d6446b6122295 (diff) | |
Tweak handling of wxEVT_PAINT.465-vumeters
Diffstat (limited to 'src/wx/gl_view.h')
| -rw-r--r-- | src/wx/gl_view.h | 6 |
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(); |
