wxHTML: preserve TAB characters when copying <pre> content to clipboard (backport from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -631,6 +631,8 @@ wxString wxHtmlWordCell::ConvertToText(wxHtmlSelection *s) const
|
||||
{
|
||||
int part1 = priv.x;
|
||||
int part2 = priv.y;
|
||||
if ( part1 == part2 )
|
||||
return wxEmptyString;
|
||||
return m_Word.Mid(part1, part2-part1);
|
||||
}
|
||||
//else: return the whole word below
|
||||
|
||||
Reference in New Issue
Block a user