wxImage loads all ok, but won't display
Posted: Wed Jan 17, 2007 7:14 pm
Hi everyone
I wrote a wxWidgets 2.8.0 app under OS X, and now i'm trying to get it to run in Linux (wxGTK 2.8.0). The code runs perfectly on OS X, so i'll assume that it is correct.
I am loading images with wxImage. (Yes, i did add Image Handlers ) to place them in wxBitmapButtons and other stuff.
The image loads without any problem. I am able to get its width and height, i can get whether it has alpha, i am even able to get the color of single pixels from it. However, it will not appear on screen, the buttons are empty - and in wxMAC it does work perfectly.
Whereever i use wxImage the result is empty.
Some samples use bitmap buttons, and everything works okay in them ( ) my app must do something special that breaks wxGTK
any clue?
thanks
I wrote a wxWidgets 2.8.0 app under OS X, and now i'm trying to get it to run in Linux (wxGTK 2.8.0). The code runs perfectly on OS X, so i'll assume that it is correct.
I am loading images with wxImage. (Yes, i did add Image Handlers ) to place them in wxBitmapButtons and other stuff.
The image loads without any problem. I am able to get its width and height, i can get whether it has alpha, i am even able to get the color of single pixels from it. However, it will not appear on screen, the buttons are empty - and in wxMAC it does work perfectly.
Whereever i use wxImage the result is empty.
Some samples use bitmap buttons, and everything works okay in them ( ) my app must do something special that breaks wxGTK
any clue?
thanks