From 07d4e8619bc4228e5bf69b87d68a039accb711f0 Mon Sep 17 00:00:00 2001 From: twanvl Date: Wed, 21 Jul 2010 17:35:59 +0000 Subject: [PATCH] gif export is not supported by wxWidgets This 'fixes' #18 by just removing the option to export .gif files git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1447 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/gui/set/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/set/window.cpp b/src/gui/set/window.cpp index 50d63c48..e5bd3cac 100644 --- a/src/gui/set/window.cpp +++ b/src/gui/set/window.cpp @@ -549,7 +549,7 @@ void SetWindow::onFileExportImage(wxCommandEvent&) { CardP card = current_panel->selectedCard(); if (!card) return; // no card selected String name = wxFileSelector(_TITLE_("save image"), settings.default_export_dir, clean_filename(card->identification()), _(""), - _("JPEG images (*.jpg)|*.jpg|Windows bitmaps (*.bmp)|*.bmp|PNG images (*.png)|*.png|GIF images (*.gif)|*.gif|TIFF images (*.tif)|*.tif"), + _("JPEG images (*.jpg)|*.jpg|Windows bitmaps (*.bmp)|*.bmp|PNG images (*.png)|*.png|TIFF images (*.tif)|*.tif"), wxSAVE | wxOVERWRITE_PROMPT, this); if (!name.empty()) { settings.default_export_dir = wxPathOnly(name);