diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-11 17:26:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-11 17:26:16 +0100 |
| commit | 39c36075c62ce4c148ce14de0ae7b29d8427be2b (patch) | |
| tree | 81e90e8065df9c1d68a6e6be646c5825400538dd /src/wx/audio_plot.cc | |
| parent | 6ff93316d9e89fd649b9fabac258318ed8470007 (diff) | |
| parent | 8bdc282a88cbd0446b06866b9436c43200886314 (diff) | |
Merge branch '1.0' of /home/carl/git/dvdomatic into 1.0
Diffstat (limited to 'src/wx/audio_plot.cc')
| -rw-r--r-- | src/wx/audio_plot.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc index e2e2cdf76..b8b9ead25 100644 --- a/src/wx/audio_plot.cc +++ b/src/wx/audio_plot.cc @@ -147,11 +147,7 @@ AudioPlot::paint (wxPaintEvent &) plot_peak (p, c); } wxColour const col = _colours[c]; -#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 9 gc->SetPen (*wxThePenList->FindOrCreatePen (wxColour (col.Red(), col.Green(), col.Blue(), col.Alpha() / 2), 1, wxPENSTYLE_SOLID)); -#else - gc->SetPen (*wxThePenList->FindOrCreatePen (wxColour (col.Red(), col.Green(), col.Blue(), col.Alpha() / 2), 1, wxSOLID)); -#endif gc->StrokePath (p); } } @@ -163,11 +159,7 @@ AudioPlot::paint (wxPaintEvent &) plot_rms (p, c); } wxColour const col = _colours[c]; -#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 9 gc->SetPen (*wxThePenList->FindOrCreatePen (col, 1, wxPENSTYLE_SOLID)); -#else - gc->SetPen (*wxThePenList->FindOrCreatePen (col, 1, wxSOLID)); -#endif gc->StrokePath (p); } } |
