[Solved] wxChartPanel error on create
Posted: Fri Apr 08, 2016 6:21 am
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?
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?