Changing the default icon for a wxFrame application (Windows

General questions regarding the usage of CodeLite
PierreB
CodeLite Curious
Posts: 1
Joined: Thu Feb 04, 2016 8:15 pm
Genuine User: Yes
IDE Question: c++
Contact:

Changing the default icon for a wxFrame application (Windows

Post by PierreB »

Hi everyone,

I must be missing something in the way to choose my own png icon for the C++ wxFrame application !

Using wxCrafter, I select my wxFrame and assign different size icons as png under the "Frame icons" subset.

Then Generate code.

But after compiling, It still use the default one (three red, blue, yellos squares)

Can someone put me on the track?

Thanx
Pierre
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Changing the default icon for a wxFrame application (Win

Post by eranif »

Under Windows you need to set your icon in the .rc (resource) file
This is how Windows works

Eran
Make sure you have read the HOW TO POST thread
Post Reply