1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00
This commit is contained in:
Leland Lucius 2015-09-16 13:04:26 -05:00
parent 1a41192675
commit 2f9c7d1567

View File

@ -414,8 +414,11 @@ void Meter::OnErase(wxEraseEvent & WXUNUSED(event))
void Meter::OnPaint(wxPaintEvent & WXUNUSED(event))
{
// wxDC *paintDC = wxAutoBufferedPaintDCFactory(this);
#if defined(__WXMAC__)
wxPaintDC *paintDC = new wxPaintDC(this);
#else
wxDC *paintDC = wxAutoBufferedPaintDCFactory(this);
#endif
wxDC & destDC = *paintDC;
if (mLayoutValid == false)