User forums > Using Code::Blocks
wxSmith: use wxImage
(1/1)
NameZero912:
Hi.
I am new to wxWidgets development (using C++). I'd like to develop an application where I load an image file, display it, and then do operations on it (using other libraries) and display the output again. From what I understand, using wxImage is a good way to display those images. But I don't seem to be able to find this element in the wxSmith palettes (or am I just blind?). In the board here I read that apparently there is a wxSmithImage plugin, but I can't seem to find a way to get it from anywhere... Could you help me out please?
Cheers!
Jenna:
If you read the wxWidgets docu, you would see, that you can not directly display an image with wxImage.
You can use wxBitmap to draw it in a wxDC or use wxStaticBitmap to display it (for example).
Navigation
[0] Message Index
Go to full version