wxWidgets application compilation under MS Windows requires at least two extra files, resource and module definition files.
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.