[Solved] wxChartPanel error on create

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

[Solved] wxChartPanel error on create

Postby mrdebug » 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?
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: 1678
Joined: Sun Jan 03, 2010 5:45 pm

Re: wxChartPanel error on create

Postby PB » Fri Apr 08, 2016 6:45 am


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

Re: wxChartPanel error on create

Postby mrdebug » Fri Apr 08, 2016 7:00 am

Perfect!


Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 1 guest