Opened 9 months ago

Closed 9 months ago

#16010 closed enhancement (fixed)

Expose ScintillaWX methods DoDragEnter and DoDragLeave

Reported by: cwalther Owned by:
Priority: normal Milestone:
Component: wxStyledText Version: dev-latest
Keywords: wxStyledTextControl wxSTC Scintilla drag drop dnd Cc:
Blocked By: Blocking:
Patch: yes

Description

The attached patch exposes ScintillaWX methods DoDragEnter and DoDragLeave from wxStyledTextCtrl in addition to DoDragOver. These are needed to properly implement alternative wxDropTargets.

DoDragEnter does nothing particularly important, but omitting DoDragLeave leaves behind a drag insertion point indicator that hides the normal text insertion cursor.

The patch is made from my Scintilla 3.3.9 update (#15742) but should also apply independently of it.

Attachments (1)

0001-Expose-ScintillaWX-methods-DoDragEnter-and-DoDragLea.patch download (5.0 KB) - added by cwalther 9 months ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 9 months ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [75977]) Expose ScintillaWX DoDragEnter() and DoDragLeave() methods.

These methods are needed to allow implementing alternative wxDropTargets, in
addition to the already public DoDragOver().

Closes #16010.

Note: See TracTickets for help on using tickets.