diff --git a/src/MixerBoard.cpp b/src/MixerBoard.cpp
index d628352..f8e2b26 100644
a
|
b
|
void MixerTrackCluster::OnPaint(wxPaintEvent & WXUNUSED(event)) |
763 | 763 | { |
764 | 764 | wxPaintDC dc(this); |
765 | 765 | |
766 | | #ifdef __WXMAC__ |
| 766 | #if defined(__WXMAC__) || defined(__APPLE__) |
767 | 767 | // Fill with correct color, not scroller background. Done automatically on Windows. |
768 | 768 | AColor::Medium(&dc, false); |
769 | 769 | dc.DrawRectangle(this->GetClientRect()); |
diff --git a/src/widgets/Meter.cpp b/src/widgets/Meter.cpp
index 718ff15..a2d0bb0 100644
a
|
b
|
void Meter::OnErase(wxEraseEvent & WXUNUSED(event)) |
354 | 354 | void Meter::OnPaint(wxPaintEvent & WXUNUSED(event)) |
355 | 355 | { |
356 | 356 | wxPaintDC dc(this); |
357 | | #ifdef __WXMAC__ |
| 357 | #if defined(__WXMAC__) || defined(__APPLE__) |
358 | 358 | // Mac OS X automatically double-buffers the screen for you, |
359 | 359 | // so our bitmap is unneccessary |
360 | 360 | HandlePaint(dc); |
… |
… |
void Meter::RepaintBarsNow() |
1028 | 1028 | wxClientDC dc(this); |
1029 | 1029 | int i; |
1030 | 1030 | |
1031 | | #ifdef __WXMAC__ |
| 1031 | #if defined(__WXMAC__) || defined(__APPLE__) |
1032 | 1032 | // Mac OS X automatically double-buffers the screen for you, |
1033 | 1033 | // so our bitmap is unneccessary |
1034 | 1034 | for(i=0; i<mNumBars; i++) |