wxWindows application compilation under MS Windows requires at least two extra files, resource and module definition files.
Resource file
Module definition file
The least that must be defined in the Windows resource file (extension RC) is the following statement:
rcinclude "wx/msw/wx.rc"which includes essential internal wxWindows 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.
A module definition file (extension DEF) is required for 16-bit applications, and looks like the following:
NAME Hello DESCRIPTION 'Hello' EXETYPE WINDOWS STUB 'WINSTUB.EXE' CODE PRELOAD MOVEABLE DISCARDABLE DATA PRELOAD MOVEABLE MULTIPLE HEAPSIZE 1024 STACKSIZE 8192The only lines which will usually have to be changed per application are NAME and DESCRIPTION.