X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c683a30212b72e411f70ae80bcab73933b72f19..1bbcb0d516a6e5578e53a821074335901ae46e3a:/include/wx/rawbmp.h?ds=sidebyside diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index 91a29f6f19..0815f09f17 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -160,6 +160,11 @@ typedef wxPixelFormat wxImagePixelFormat; // Cocoa is standard RGB or RGBA (normally it is RGBA) typedef wxPixelFormat wxNativePixelFormat; + #define wxPIXEL_FORMAT_ALPHA 3 +#elif defined(__WXGTK__) + // Under GTK+ 2.X we use GdkPixbuf, which should be RGBA + typedef wxPixelFormat wxNativePixelFormat; + #define wxPIXEL_FORMAT_ALPHA 3 #endif