Minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
55e72ca5c4
commit
6460c5990b
@ -2278,6 +2278,9 @@ protected:
|
||||
when the control's stylesheet has been replaced, for example when a file
|
||||
is loaded into the control.
|
||||
Valid event functions: GetOldStyleSheet, GetNewStyleSheet.
|
||||
@event{EVT_RICHTEXT_PROPERTIES_CHANGED(id, func)}
|
||||
Process a @c wxEVT_COMMAND_RICHTEXT_PROPERTIES_CHANGED event, generated when
|
||||
properties have been applied to the control. Valid event functions: GetPosition, GetRange.
|
||||
@event{EVT_RICHTEXT_CONTENT_INSERTED(id, func)}
|
||||
Process a @c wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED event, generated when
|
||||
content has been inserted into the control.
|
||||
|
@ -861,7 +861,6 @@ void wxRichTextCtrl::OnMoveMouse(wxMouseEvent& event)
|
||||
// Check for dragging across multiple containers
|
||||
long position2 = 0;
|
||||
wxRichTextObject* hitObj2 = NULL, *contextObj2 = NULL;
|
||||
wxRichTextDrawingContext context(& GetBuffer());
|
||||
int hit2 = GetBuffer().HitTest(dc, context, logicalPt, position2, & hitObj2, & contextObj2, 0);
|
||||
if (hit2 != wxRICHTEXT_HITTEST_NONE && !(hit2 & wxRICHTEXT_HITTEST_OUTSIDE) && hitObj2 && hitObj != hitObj2)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user