diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-11 12:42:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-11 12:42:26 +0100 |
| commit | cb2d996875db099ce456c18e9751f5dfe3d9056d (patch) | |
| tree | 84f576434cb356bd3c4a09c5d820ec6d65499963 /src/wx/audio_plot.cc | |
| parent | 2f848b51a4ac00f7f25691fad40841d066f867cc (diff) | |
Remove wx2.8 compatibility stuff.
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); } } |
