diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index 568fd7c667..dbdddcee3f 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -144,11 +144,13 @@ typedef wxPixelFormat wxImagePixelFormat; // the (most common) native bitmap format without alpha support typedef wxPixelFormat wxNativePixelFormat; // the (most common) native format for bitmaps with alpha channel @@ -156,7 +158,14 @@ typedef wxPixelFormat wxAlphaPixelFormat; + #if defined(__WXMSW__) + 3 + #elif defined(__WXMAC__) + 0 + #else // default for the others (not supported anyhow) + 3 + #endif // platform + > wxAlphaPixelFormat; // we also define the (default/best) pixel format for the given class: this is // used as default value for the pixel format in wxPixelIterator template