mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 15:49:36 +02:00
Fix for bug #1190
This commit is contained in:
parent
1a41192675
commit
2f9c7d1567
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user