HiDPI and documentation (OSX/Xcode)

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7433
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

HiDPI and documentation (OSX/Xcode)

Post by ONEEYEMAN »

Hi,
I'm not sure where this question belongs: here or in the "Compiler/IDE forum". But will post here, since it is more close describe my issue.

From here
Of course, this code relies on actually having the resources with the corresponding names (i.e. open_NxN) in MSW .rc file or Mac application bundle and open_NxN_png arrays being defined in the program code, e.g. by including a file generated with bin2c (see wxBITMAP_PNG_FROM_DATA()), on the other platforms.
However, my understanding is that on OSX/Xcode the bitmap file name should be "open@2", to be properly used with HighDPI/Retina display.

Will that code work OK there? Is it going to map the file name appropriately?

I don't have Retina Mac, so can't test it...

Thank you.
Post Reply