From: David Elliott Date: Sat, 6 Dec 2003 23:20:46 +0000 (+0000) Subject: wxCocoa: Added wxNativePixelFormat and defined wxPIXEL_FORMAT_ALPHA X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a28fe6d54e9f3d0a3f0d52b6ae74f3a53f5e1415 wxCocoa: Added wxNativePixelFormat and defined wxPIXEL_FORMAT_ALPHA git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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