Page 1 of 1

How to replace the default wxWidget Icon ?

Posted: Mon Feb 19, 2007 7:39 pm
by manianis
I don't know how to change the default icon in wxWidgets Applications ? Help me please. I'm using MSW wxWidgets 2.8.0 Unicode Release.

Posted: Mon Feb 19, 2007 8:41 pm
by HeReSY
Add a resource file to your project.

resourcefile.rc

Code: Select all

name ICON "icon_name.ico"
HeReSY

Posted: Tue Feb 20, 2007 7:06 am
by manianis
HeReSY wrote:Add a resource file to your project.

resourcefile.rc

Code: Select all

name ICON "icon_name.ico"
HeReSY
That's all. I'll test it... Thanks.

Posted: Tue Feb 20, 2007 6:11 pm
by tierra
Make sure you include that before including the standard wxWidgets resources since Windows uses the first icon included in your resources.