Corrected image saving to HTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -129,7 +129,7 @@ bool wxRichTextHTMLHandler::DoSaveFile(wxRichTextBuffer *buffer, wxOutputStream&
|
||||
}
|
||||
|
||||
wxRichTextImage* image = wxDynamicCast(obj, wxRichTextImage);
|
||||
if( image && !image->IsEmpty())
|
||||
if( image && (!image->IsEmpty() || image->GetImageBlock().GetData()))
|
||||
WriteImage( image, stream );
|
||||
|
||||
node2 = node2->GetNext();
|
||||
|
Reference in New Issue
Block a user