It's stuff like this that is extremely aggravating.
I am doing
exactly what you're doing. Yet it just magically works for you, but gives me errors left and right.
I too need to declare my program as DPI aware, otherwise my program thinks it's okay to look all wonky and ass backwards whenever the user has the font scaling higher than normal.
I created the file DeclareDPIAware.manifest, put it in my project folder, and put this line in my resource file.
http://i.imgur.com/bqgSKmA.pngYet I just get "Syntax Error"
http://i.imgur.com/ACoMdC5.pngThanks codeblocks, very descriptive.
My manifest file:
http://i.imgur.com/E1BDouV.pngWhy is it peaches and cream for you but poop and mud for me with the same method? This makes zero sense.
Even adding a 24 before it does not work.
EDIT:
Okay so going into wx.rc I saw manifest files were added differently because this is a wxWidgets program.
http://i.imgur.com/pmPDzN3.pngApplying that same logic, I got it to work.
http://i.imgur.com/7DPoCN0.pngSorry for the necro, but maybe in the future another soul like me will come across this thread stuck as I was and see the solution.