Fix IsOK() returning false when bitmap processing was actually successful

This commit is contained in:
Blake-Madden
2026-04-04 11:57:27 -04:00
parent 880c280c81
commit 9a5b1b6d66
+1 -1
View File
@@ -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)