Corrected a clearing bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,7 +41,7 @@ bool wxRichTextXMLHandler::DoLoadFile(wxRichTextBuffer *buffer, wxInputStream& s
|
||||
if (!stream.IsOk())
|
||||
return false;
|
||||
|
||||
buffer->Clear();
|
||||
buffer->ResetAndClearCommands();
|
||||
|
||||
wxXmlDocument* xmlDoc = new wxXmlDocument;
|
||||
bool success = true;
|
||||
|
Reference in New Issue
Block a user