summaryrefslogtreecommitdiff
path: root/src/wx/gl_view.cc
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.cc
parentd921f2dae281aa6a787e693aea9d6446b6122295 (diff)
Tweak handling of wxEVT_PAINT.465-vumeters
Diffstat (limited to 'src/wx/gl_view.cc')
-rw-r--r--src/wx/gl_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/gl_view.cc b/src/wx/gl_view.cc
index 2c7424a29..ddae483f5 100644
--- a/src/wx/gl_view.cc
+++ b/src/wx/gl_view.cc
@@ -50,6 +50,7 @@ GLView::GLView(wxWindow* parent)
parent, attributes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE
);
_canvas->Bind(wxEVT_SIZE, boost::bind(&GLView::size_changed, this, _1));
+ _canvas->Bind(wxEVT_PAINT, boost::bind(&GLView::update, this));
}