News:

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

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