windows-specific files
wxwidgets application compilation under ms windows requires at least one
extra file: a resource file.
resource file
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.ico
the icon can then be referenced by name when creating a frame icon. see
the ms windows sdk documentation.
note: include wx.rc after any icon statements
so programs that search your executable for icons (such
as the program manager) find your application icon first.
|