From 9a5b1b6d66cbf6b11ef4ec8c79317eef86f49ba0 Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Sat, 4 Apr 2026 11:57:27 -0400 Subject: [PATCH] Fix IsOK() returning false when bitmap processing was actually successful --- src/common/dcsvg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 180509fc20..ef82100e2a 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -1452,7 +1452,7 @@ void wxSVGFileDCImpl::DoDrawBitmap(const wxBitmap& bmp, wxCoord x, wxCoord y, m_bmp_handler.reset(new wxSVGBitmapFileHandler(m_filename)); wxStringOutputStream stream(&m_svgDocument); - m_writeError = m_bmp_handler->ProcessBitmap(bmp, x, y, stream); + m_writeError = !m_bmp_handler->ProcessBitmap(bmp, x, y, stream); } void wxSVGFileDCImpl::write(const wxString& s)