Page 1 of 1

[Solved] wxChartPanel error on create

Posted: Fri Apr 08, 2016 6:21 am
by mrdebug
This line of code
wxCPFatturato= new wxChartPanel(wxPGrafico);
Where wxPGrafico is a wxPanel, causes this error:
../src/gtk/bitmap.cpp(541): assert ""width > 0 && height > 0"" failed in Create(): invalid bitmap size
This happens with the last wxWidgets library. How can I resolve the problem?

Re: wxChartPanel error on create

Posted: Fri Apr 08, 2016 6:45 am
by PB

Re: wxChartPanel error on create

Posted: Fri Apr 08, 2016 7:00 am
by mrdebug
Perfect!