X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfbe03c9c3ffecd6363dcc63e6fc27b8c6ed70aa..ae77fce66c3061534832af3eec7e636723859121:/src/xpm/rgbtab.h?ds=sidebyside diff --git a/src/xpm/rgbtab.h b/src/xpm/rgbtab.h index 39e8d27c9c..75b0f51aa2 100644 --- a/src/xpm/rgbtab.h +++ b/src/xpm/rgbtab.h @@ -47,6 +47,13 @@ typedef struct { #define myRGB(r,g,b) \ ((unsigned long)r<<16|(unsigned long)g<<8|(unsigned long)b) */ + +/* Need an RBG conversion confunction here for OS/2 */ +#if defined(__VISAGECPP__) +/* Bogus stuff to make it compile for now */ +static rgbRecord theRGBRecords[] = { {"AliceBlue", 0L}, {"AntiqueWhite", 1L}, NULL }; +static int numTheRGBRecords = 2; +#else #define myRGB(r,g,b) RGB(r,g,b) /* MSW has this macro */ @@ -290,3 +297,4 @@ static rgbRecord theRGBRecords[] = }; static int numTheRGBRecords = 234; +#endif