mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-04 16:14:00 +01:00
Fix for bug #1190
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user