YourApp.rc
mondrian ICON "mondrian.ico" // identifier ICON filename #include "wx/msw/wx.rc"
YourApp.cpp
// In the constructor, MyDialog::MyDialog(wxWindow* parent) { ... SetIcon(wxICON(mondrian)); // the same identifier that you put in the rc file }