diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 23eecc0b4c..ed06a766c9 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -438,8 +438,14 @@ wxSVGBitmapEmbedHandler::ProcessBitmap(const wxBitmap& bmp, wxUnusedVar(x); wxUnusedVar(y); wxUnusedVar(stream); + wxFAIL_MSG + ( + "Embedding bitmaps in SVG is not available because " + "wxWidgets was built with wxUSE_BASE64 set to 0." + ); + return false; -#endif //wxUSE_BASE64 +#endif // wxUSE_BASE64 } // ----------------------------------------------------------