Audacity: MeterToolBar.cpp:104: error: variable ` wxPaintDC DC ‘ has more initializer but incomplete type

No vaya ser que 1.- me olvide de esto 2.- el sitio original, http://www.linuxquestions.org/questions/archive/23/2005/07/4/290815, desaparezca :)

Una forma (que no me parece elegante) de reparar ese error, que aparece cuando lo compilas contra wxGTK, es modificando el fichero ./src/MeterToolBar.cpp, la función MeterToolBar::OnPaint, de la siguiente manera:

void MeterToolBar::OnPaint(wxPaintEvent & evt)
{
// wxPaintDC dc(this);

int width, height;
GetSize(&width, &height);

// DrawBackground(dc, width, height);
}

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>