News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

wxSmith: use wxImage

Started by NameZero912, April 30, 2011, 10:36:23 AM

Previous topic - Next topic

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).