News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wxSmith: Changing the application icon

Started by CyberSlayer, April 27, 2007, 09:44:51 PM

Previous topic - Next topic

CyberSlayer

How can I change the icon in the upper left corner of a frame based app created with wxSmith?

Thanks.

raph

Hi,

Easy, just add

SetIcon(wxICON(aaaa));

to your frames constructor, where aaaa is either a xpm image or (on win) an icon resource (defined in resource.rc).

Regards raph

CyberSlayer