X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..7a36d9c7c1a077ba7e05c248bcf19c4c9bb1356f:/docs/tech/tn0009.htm?ds=sidebyside diff --git a/docs/tech/tn0009.htm b/docs/tech/tn0009.htm index 3bafb059fa..60765e4795 100644 --- a/docs/tech/tn0009.htm +++ b/docs/tech/tn0009.htm @@ -31,16 +31,16 @@ depths, and can be loaded from a file or loaded from the Windows resources compi into the executable.
You can decide to use only XPMs on Windows and Unix, or you could use XPMs on Unix and -Windows icons under Windows -- the latter will require some #idefs in your code or use of the wxICON macro.
+Windows icons under Windows -- the latter will require some #ifdefs in your code or use of the wxICON macro.
If you are using a compiler such as Borland C++, Visual C++ or Watcom C++, you can use the provided icon editor. However, if using Cygwin or Mingw32, there is no icon editor so you must obtain one separately, such as IconEdit32.
To convert from XPM to BMP (which can be loaded or pasted into an icon editor to save as an ICO file), -you can use Vadim Zeitlin's xpm2bmp.exe utility. -To convert from BMP to XPM, you can use bmp2xpm.exe -which is actually the old wxWindows 1.68 utility, xpmshow. You will have to edit the resulting +you can use Vadim Zeitlin's xpm2bmp.exe utility. +To convert from BMP to XPM, you can use bmp2xpm.exe +which is actually the old wxWidgets 1.68 utility, xpmshow. You will have to edit the resulting file since the full path is used as the variable name, plus you may wish to specify a transparent colour e.g.: