]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/testimage.h
Don't use gtk_file_chooser_set_filename() for save file dialogs.
[wxWidgets.git] / tests / testimage.h
index 4c84b5cf51b0ea3021df516289dc628ccde18402..ceb4ff2f7622742a41a8f63445fa3a450724ded8 100644 (file)
@@ -31,9 +31,10 @@ struct assertion_traits<wxImage>
 
     static std::string toString(const wxImage& image)
     {
-        return wxString::Format("image of size %d*%d",
+        return wxString::Format("image of size %d*%d with%s alpha",
                                 image.GetWidth(),
-                                image.GetHeight())
+                                image.GetHeight(),
+                                image.HasAlpha() ? "" : "out")
                 .ToStdString();
     }
 };