Expose ScintillaWX DoDragEnter() and DoDragLeave() methods.
These methods are needed to allow implementing alternative wxDropTargets, in addition to the already public DoDragOver(). Closes #16010. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4488,10 +4488,17 @@ bool wxStyledTextCtrl::LoadFile(const wxString& filename)
|
||||
#endif // !wxUSE_TEXTCTRL
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
wxDragResult wxStyledTextCtrl::DoDragOver(wxCoord x, wxCoord y, wxDragResult def) {
|
||||
return m_swx->DoDragOver(x, y, def);
|
||||
wxDragResult wxStyledTextCtrl::DoDragEnter(wxCoord x, wxCoord y, wxDragResult def) {
|
||||
return m_swx->DoDragEnter(x, y, def);
|
||||
}
|
||||
|
||||
wxDragResult wxStyledTextCtrl::DoDragOver(wxCoord x, wxCoord y, wxDragResult def) {
|
||||
return m_swx->DoDragOver(x, y, def);
|
||||
}
|
||||
|
||||
void wxStyledTextCtrl::DoDragLeave() {
|
||||
m_swx->DoDragLeave();
|
||||
}
|
||||
|
||||
bool wxStyledTextCtrl::DoDropText(long x, long y, const wxString& data) {
|
||||
return m_swx->DoDropText(x, y, data);
|
||||
|
Reference in New Issue
Block a user