diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/audio_plot.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc index cccdaed34..8e7b3f9f5 100644 --- a/src/wx/audio_plot.cc +++ b/src/wx/audio_plot.cc @@ -39,6 +39,11 @@ AudioPlot::AudioPlot (wxWindow* parent) : wxPanel (parent) , _gain (0) { + SetDoubleBuffered (true); +#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 9 + SetBackgroundStyle (wxBG_STYLE_PAINT); +#endif + for (int i = 0; i < MAX_AUDIO_CHANNELS; ++i) { _channel_visible[i] = false; } |
