X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/430ff602284deeeca03259b9b21d53d26c4a64a9..a369f7c88ac33ee792046ed08eb2aa360befcea0:/include/wx/rawbmp.h diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index 8a347433b3..105c85714c 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -154,6 +154,11 @@ typedef wxPixelFormat wxImagePixelFormat; typedef wxPixelFormat wxNativePixelFormat; #define wxPIXEL_FORMAT_ALPHA 0 +#elif defined(__WXCOCOA__) + // Cocoa is standard RGB or RGBA (normally it is RGBA) + typedef wxPixelFormat wxNativePixelFormat; + + #define wxPIXEL_FORMAT_ALPHA 3 #endif // the (most common) native format for bitmaps with alpha channel