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_mapping_view.cc | |
| parent | 2f848b51a4ac00f7f25691fad40841d066f867cc (diff) | |
Remove wx2.8 compatibility stuff.
Diffstat (limited to 'src/wx/audio_mapping_view.cc')
| -rw-r--r-- | src/wx/audio_mapping_view.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/wx/audio_mapping_view.cc b/src/wx/audio_mapping_view.cc index 859c4d548..5f0f74d23 100644 --- a/src/wx/audio_mapping_view.cc +++ b/src/wx/audio_mapping_view.cc @@ -56,11 +56,7 @@ public: void Draw (wxGrid& grid, wxGridCellAttr &, wxDC& dc, const wxRect& rect, int row, int col, bool) { -#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 9 dc.SetPen (*wxThePenList->FindOrCreatePen (wxColour (255, 255, 255), 0, wxPENSTYLE_SOLID)); -#else - dc.SetPen (*wxThePenList->FindOrCreatePen (wxColour (255, 255, 255), 0, wxSOLID)); -#endif dc.DrawRectangle (rect); wxRendererNative::Get().DrawCheckBox ( @@ -88,11 +84,7 @@ AudioMappingView::AudioMappingView (wxWindow* parent) _grid = new wxGrid (this, wxID_ANY); _grid->CreateGrid (0, 7); -#if wxMINOR_VERSION == 9 _grid->HideRowLabels (); -#else - _grid->SetRowLabelSize (0); -#endif _grid->DisableDragRowSize (); _grid->DisableDragColSize (); _grid->EnableEditing (false); |
