2003-08-06 08:27:23 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: samples/samples.rc
|
2015-11-28 17:54:31 -05:00
|
|
|
// Purpose: a standard MSW .rc file for the wxWidgets samples
|
2003-08-06 08:27:23 -04:00
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Modified by:
|
|
|
|
// Created: 04.08.03
|
2015-11-28 17:54:31 -05:00
|
|
|
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
|
2003-08-06 08:27:23 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2015-11-28 17:54:31 -05:00
|
|
|
// this minimal resource file is all what is needed for most of the wxWidgets
|
2003-08-06 08:27:23 -04:00
|
|
|
// samples
|
|
|
|
|
|
|
|
// note that the icon used by the Explorer (i.e. the programs icon) is the
|
|
|
|
// first icon in the executable and the icons are sorted both by their order
|
2015-11-28 17:54:31 -05:00
|
|
|
// and alphabetically (!), so put this icon first and give it a name
|
|
|
|
// starting with "a"
|
2003-08-06 08:27:23 -04:00
|
|
|
aaaaaaaa ICON "sample.ico"
|
|
|
|
|
|
|
|
// this icon is used with wxFrame::SetIcon()
|
|
|
|
sample ICON "sample.ico"
|
|
|
|
|
2003-08-14 10:08:53 -04:00
|
|
|
// set this to 1 if you don't want to use manifest resource (manifest resource
|
|
|
|
// is needed to enable visual styles on Windows XP - see docs/msw/winxp.txt
|
|
|
|
// for more information)
|
|
|
|
#define wxUSE_NO_MANIFEST 0
|
|
|
|
|
2021-10-20 11:19:41 -04:00
|
|
|
// To get DPI change events, we need to opt in into per monitor DPI support.
|
2022-04-20 16:14:35 -04:00
|
|
|
#ifndef wxUSE_DPI_AWARE_MANIFEST
|
2021-10-20 11:19:41 -04:00
|
|
|
#define wxUSE_DPI_AWARE_MANIFEST 2
|
2022-04-20 16:14:35 -04:00
|
|
|
#endif
|
2021-10-20 11:19:41 -04:00
|
|
|
|
2003-08-06 08:27:23 -04:00
|
|
|
// this is not always needed but doesn't hurt (except making the executable
|
|
|
|
// very slightly larger): this file contains the standard icons, cursors, ...
|
|
|
|
#include "wx/msw/wx.rc"
|
|
|
|
|