]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xpm/rgbtab.h
workaroung for handling problems because groupboxes are not included in the parent...
[wxWidgets.git] / src / xpm / rgbtab.h
index 3b751849157bd5e0f56ab475dca2e71675cbda1a..2d95e999f5aa0ebdc2271cee54f62c9e5e2dc85f 100644 (file)
@@ -47,8 +47,11 @@ typedef struct {
 #define myRGB(r,g,b) \
        ((unsigned long)r<<16|(unsigned long)g<<8|(unsigned long)b)
 */
 #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 */
 #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[] =
 {
 
 static rgbRecord theRGBRecords[] =
 {