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?
[Solved] wxChartPanel error on create
[Solved] wxChartPanel error on create
Last edited by mrdebug on Fri Apr 08, 2016 7:00 am, edited 1 time in total.
Re: wxChartPanel error on create
Something like this should fix it:
https://github.com/pbfordev/wxFreeChart ... 872d6ffb4e
https://github.com/pbfordev/wxFreeChart ... 872d6ffb4e
Re: wxChartPanel error on create
Perfect!