X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6ed776fb2d330b4b6d0105c3628ccf88fd3bb60..dd107c50be43e8d4dbdba20df162faf119a3781c:/src/xpm/rgbtab.h?ds=sidebyside diff --git a/src/xpm/rgbtab.h b/src/xpm/rgbtab.h index 3b75184915..2d95e999f5 100644 --- a/src/xpm/rgbtab.h +++ b/src/xpm/rgbtab.h @@ -47,8 +47,11 @@ typedef struct { #define myRGB(r,g,b) \ ((unsigned long)r<<16|(unsigned long)g<<8|(unsigned long)b) */ +#ifndef __OS2__ #define myRGB(r,g,b) RGB(r,g,b) /* MSW has this macro */ - +#else +#define myRGB(r,g,b) OS2RGB(r,g,b) +#endif static rgbRecord theRGBRecords[] = {