]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/rawbmp.h
override all Detach() overloads in wxStaticBoxSizer to avoid virtual function hiding...
[wxWidgets.git] / include / wx / rawbmp.h
index db4c014d15af516d32e763bf620b5224702625df..f9a8df2ab7336af5192d17350f2ec728cc2da8e2 100644 (file)
@@ -165,7 +165,7 @@ typedef wxPixelFormat<unsigned char, 24, 0, 1, 2> wxImagePixelFormat;
     #define wxPIXEL_FORMAT_ALPHA 3
 #elif defined(__WXGTK__)
     // Under GTK+ 2.X we use GdkPixbuf, which should be RGBA
     #define wxPIXEL_FORMAT_ALPHA 3
 #elif defined(__WXGTK__)
     // Under GTK+ 2.X we use GdkPixbuf, which should be RGBA
-    typedef wxPixelFormat<unsigned char, 24, 0, 1, 2> wxNativePixelFormat;
+    typedef wxPixelFormat<unsigned char, 32, 0, 1, 2> wxNativePixelFormat;
 
     #define wxPIXEL_FORMAT_ALPHA 3
 #endif
 
     #define wxPIXEL_FORMAT_ALPHA 3
 #endif