For example:
wxIcon= *icon= new wxIcon(;
icon->LoadFile("MyIcon.ico",wxBITMAP_TYPE_ICO);
frame->SetIcon(*icon);//It appears at the bottom left of your window
What's the matter?I don't understand easily
Regards
-----Message d'origine-----
De : Francis Courtois [mailto:***@_NoSpam_fcourtois.com]
Envoye : mardi 20 avril 2004 09:01
A : wx-***@lists.wxwidgets.org
Objet : Re: [XP] How to attach an icon ?
I did that, but what else should I do apart from creating this file ?
Should I modify something in the makefile ? Do I need to name this file
the same name.rc as name.exe ?
Thnaks
PS: my wrong email address is supposed to avoid spamming !
Post by Aj LavinPost by Francis CourtoisI am new to wxWidget and have to face several issues. My main OS is win
XP (although I use a lot Linux). I use MinGW and related gcc + wxWidgets
2.4.2.
Among these, how to attach an icon to my software in win XP ?
aaaa ICON "myIconFile.ico"
This seems to work on all versions of MS Windows.
HTH,
AJ
PS: Your reply-to address appears to be broken.
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-***@lists.wxwidgets.org
For additional commands, e-mail: wx-users-***@lists.wxwidgets.org