diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-05-24 14:20:43 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-26 12:42:07 +0100 |
| commit | 428ced8015bca308c34d109b5244b08a8287d5a0 (patch) | |
| tree | 3a560b2745c806b1b8a4840879423d595a951a5f /src/wx/audio_mapping_view.h | |
| parent | 171c5b69beb10e709d6b8f67e45a11196bf7ce91 (diff) | |
Use wxDC for all drawing of the audio mapping view, removing
use of wxGraphicsContext. This seems to fix strange rendering
problems on Windows.
Backported-from-commit: 3e4f6d59b46e3c09c9d0aba907ff0633bf0bc2e5
Backported-from-branch: v2.15.x
Diffstat (limited to 'src/wx/audio_mapping_view.h')
| -rw-r--r-- | src/wx/audio_mapping_view.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wx/audio_mapping_view.h b/src/wx/audio_mapping_view.h index a96757b5c..ffb8c9ed9 100644 --- a/src/wx/audio_mapping_view.h +++ b/src/wx/audio_mapping_view.h @@ -75,11 +75,11 @@ private: void map_values_changed (); void setup_sizes (); void paint (); - void paint_static (wxDC& dc, wxGraphicsContext* gc); - void paint_column_labels (wxDC& dc, wxGraphicsContext* gc); - void paint_column_lines (wxGraphicsContext* gc); - void paint_row_labels (wxDC& dc, wxGraphicsContext* gc); - void paint_row_lines (wxGraphicsContext* gc); + void paint_static (wxDC& dc); + void paint_column_labels (wxDC& dc); + void paint_column_lines (wxDC& dc); + void paint_row_labels (wxDC& dc); + void paint_row_lines (wxDC& dc); void paint_indicators (wxDC& dc); void size (wxSizeEvent &); void scroll (); |
