wxWidgets application compilation under MS Windows requires at least one extra file: a resource file.
The least that must be defined in the Windows resource file (extension RC) is the following statement:
#include "wx/msw/wx.rc"which includes essential internal wxWidgets definitions. The resource script may also contain references to icons, cursors, etc., for example:
wxicon icon wx.icoThe icon can then be referenced by name when creating a frame icon. See the MS Windows SDK documentation.