X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2f8c2b245959f612f0ebac31ab8d80bef6ea9e2..a255c995a18e60ff48fd1b337b2ce0a13843421d:/src/gtk/bitmap.cpp?ds=sidebyside diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index d7f1334328..6ab6bcb628 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/bitmap.cpp @@ -1050,10 +1050,18 @@ bool wxBitmap::SaveFile( const wxString &name, wxBitmapType type, const wxPalett const char* type_name = NULL; switch (type) { + case wxBITMAP_TYPE_ANI: type_name = "ani"; break; case wxBITMAP_TYPE_BMP: type_name = "bmp"; break; + case wxBITMAP_TYPE_GIF: type_name = "gif"; break; case wxBITMAP_TYPE_ICO: type_name = "ico"; break; case wxBITMAP_TYPE_JPEG: type_name = "jpeg"; break; + case wxBITMAP_TYPE_PCX: type_name = "pcx"; break; case wxBITMAP_TYPE_PNG: type_name = "png"; break; + case wxBITMAP_TYPE_PNM: type_name = "pnm"; break; + case wxBITMAP_TYPE_TGA: type_name = "tga"; break; + case wxBITMAP_TYPE_TIFF: type_name = "tiff"; break; + case wxBITMAP_TYPE_XBM: type_name = "xbm"; break; + case wxBITMAP_TYPE_XPM: type_name = "xpm"; break; default: break; } if (type_name &&