Set wxUSE_DPI_AWARE_MANIFEST=2 for all samples, not just toolbar
This is required for high resolution bitmaps support and it will be needed in other samples too, so use it for all of them. This probably will result in some problems due to remaining bugs with high DPI support, but it should make them more noticeable and so should help with finding and fixing them.
This commit is contained in:
@@ -25,6 +25,9 @@ sample ICON "sample.ico"
|
||||
// for more information)
|
||||
#define wxUSE_NO_MANIFEST 0
|
||||
|
||||
// To get DPI change events, we need to opt in into per monitor DPI support.
|
||||
#define wxUSE_DPI_AWARE_MANIFEST 2
|
||||
|
||||
// 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"
|
||||
|
@@ -1,6 +1,3 @@
|
||||
// To get DPI change events, we need to opt in into per monitor DPI support.
|
||||
#define wxUSE_DPI_AWARE_MANIFEST 2
|
||||
|
||||
#include "../sample.rc"
|
||||
|
||||
new RCDATA "bitmaps/new.png"
|
||||
|
Reference in New Issue
Block a user