Toolbars with retina icons in Xojo

We put two images together in one NSImage. The green one is retina (2x) and the blue one is the normal one (1x). Depending on the screen, the icon will switch automatically. The example uses different colors to show the change. Of course you should use the same icon in different resolutions.