[Solved] wxChartPanel error on create

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
mrdebug
Earned some good credits
Earned some good credits
Posts: 131
Joined: Mon Jul 17, 2006 4:57 pm

[Solved] wxChartPanel error on create

Post 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?
Last edited by mrdebug on Fri Apr 08, 2016 7:00 am, edited 1 time in total.
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4182
Joined: Sun Jan 03, 2010 5:45 pm

Re: wxChartPanel error on create

Post by PB »

mrdebug
Earned some good credits
Earned some good credits
Posts: 131
Joined: Mon Jul 17, 2006 4:57 pm

Re: wxChartPanel error on create

Post by mrdebug »

Perfect!
Post Reply