[Solved] wxWidgets 3.1.0, problem with bmp image

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
mrdebug
Earned some good credits
Earned some good credits
Posts: 131
Joined: Mon Jul 17, 2006 4:57 pm

[Solved] wxWidgets 3.1.0, problem with bmp image

Post by mrdebug »

After porting a wxwidgets 3.0.2 program to 3.1.0 (on Windows) now I have a problem with the bmp images. The program goes to crash when I try to load them. The line where the program goes to crash is this:
wxImage Image(wxT("C:\\Cpp\\wxTrazioni\\wxTrazioni.bmp"), wxBITMAP_TYPE_BMP);
All works well with the old version of wxWidgets.
On Linux all works well.
Last edited by mrdebug on Wed Apr 06, 2016 1:20 pm, edited 1 time in total.
mrdebug
Earned some good credits
Earned some good credits
Posts: 131
Joined: Mon Jul 17, 2006 4:57 pm

Re: wxWidgets 3.1.0, problem with bmp image

Post by mrdebug »

Solved by changing the linked libraries list.
Post Reply