X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c683a30212b72e411f70ae80bcab73933b72f19..622c5145868017d50b47e812d9f30ade57da289d:/include/wx/rawbmp.h 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