CtrlLib: RichTextView: reverted to SetFocus

git-svn-id: svn://ultimatepp.org/upp/trunk@7454 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-06-17 13:30:27 +00:00
parent e1bbcb4ece
commit 1b424becba

View file

@ -195,7 +195,7 @@ void RichTextView::LeftDown(Point p, dword keyflags)
if(!(keyflags & K_SHIFT))
anchor = pos;
RefreshSel();
SetWantFocus();
SetFocus();
SetCapture();
}
}
@ -213,7 +213,7 @@ void RichTextView::LeftDouble(Point p, dword keyflags)
while(cursor < text.GetLength() && text[cursor] == ' ')
cursor++;
RefreshSel();
SetWantFocus();
SetFocus();
}
}
@ -224,7 +224,7 @@ void RichTextView::LeftTriple(Point p, dword keyflags)
anchor = pos - rp.posinpara;
cursor = anchor + rp.paralen + 1;
RefreshSel();
SetWantFocus();
SetFocus();
}
void RichTextView::MouseMove(Point p, dword keyflags)