mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-03 09:29:30 +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))
|
void Meter::OnPaint(wxPaintEvent & WXUNUSED(event))
|
||||||
{
|
{
|
||||||
// wxDC *paintDC = wxAutoBufferedPaintDCFactory(this);
|
#if defined(__WXMAC__)
|
||||||
wxPaintDC *paintDC = new wxPaintDC(this);
|
wxPaintDC *paintDC = new wxPaintDC(this);
|
||||||
|
#else
|
||||||
|
wxDC *paintDC = wxAutoBufferedPaintDCFactory(this);
|
||||||
|
#endif
|
||||||
wxDC & destDC = *paintDC;
|
wxDC & destDC = *paintDC;
|
||||||
|
|
||||||
if (mLayoutValid == false)
|
if (mLayoutValid == false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user