Merge branch 'samples-dpi-v2-aware'
Build all samples, not just one of them, as per-monitor DPI v2 programs under MSW and minor cleanup of the samples .rc files. See https://github.com/wxWidgets/wxWidgets/pull/2557
This commit is contained in:
commit
3d5664cabe
@ -8,7 +8,6 @@
|
||||
<headers>anitest.h</headers>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
<wx-data id="catalog">
|
||||
|
@ -1,2 +0,0 @@
|
||||
#include "wx/msw/wx.rc"
|
||||
|
@ -7,7 +7,6 @@
|
||||
<sources>collpane.cpp</sources>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
||||
|
@ -8,7 +8,6 @@
|
||||
<headers>mymodels.h</headers>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
||||
|
@ -6,6 +6,5 @@
|
||||
<sources>popup.cpp</sources>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
</makefile>
|
||||
|
@ -17,7 +17,6 @@
|
||||
<wx-lib>propgrid</wx-lib>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
||||
|
@ -10,7 +10,6 @@
|
||||
<wx-lib>ribbon</wx-lib>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
||||
|
@ -12,7 +12,6 @@
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>xml</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
||||
|
@ -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"
|
||||
|
@ -9,7 +9,6 @@
|
||||
<wx-lib>media</wx-lib>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
<wx-data id="data">
|
||||
|
@ -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"
|
||||
|
@ -8,7 +8,6 @@
|
||||
<headers>treetest.h</headers>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
||||
|
@ -8,7 +8,6 @@
|
||||
<headers>validate.h</headers>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
||||
|
@ -12,7 +12,6 @@
|
||||
<wx-lib>stc</wx-lib>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
<if cond="OUT_OF_TREE_MAKEFILES=='0'">
|
||||
<sys-lib>$(LIB_SCINTILLA)</sys-lib>
|
||||
</if>
|
||||
|
@ -59,7 +59,6 @@
|
||||
<headers>widgets.h itemcontainer.h</headers>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>../sample.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
||||
|
@ -1,3 +0,0 @@
|
||||
mondrian ICON "sample.ico"
|
||||
#include "wx/msw/wx.rc"
|
||||
|
Loading…
Reference in New Issue
Block a user