diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-29 12:00:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-29 12:00:36 +0100 |
| commit | 003de48cd0371a60d095dc9d02ed5763c410cf5e (patch) | |
| tree | bfa4ac0a8076535d98b2dca27e9cc31c29706265 /src/wx/audio_plot.cc | |
| parent | 3a72d3e7af018d4e4474d48d9007841a0c63c020 (diff) | |
Build fixes for OS X.
Diffstat (limited to 'src/wx/audio_plot.cc')
| -rw-r--r-- | src/wx/audio_plot.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc index cf44eb69f..3fec1d3fe 100644 --- a/src/wx/audio_plot.cc +++ b/src/wx/audio_plot.cc @@ -42,7 +42,9 @@ AudioPlot::AudioPlot (wxWindow* parent) , _gain (0) , _smoothing (max_smoothing / 2) { +#ifndef __WXOSX__ SetDoubleBuffered (true); +#endif for (int i = 0; i < MAX_AUDIO_CHANNELS; ++i) { _channel_visible[i] = false; |
