From e32a6e58ad15a0ab2a28c1bd297c4fc2fa60fb1a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Apr 2012 16:07:24 +0000 Subject: [PATCH] Document pure virtual wxDropTarget methods correctly. GetData(), OnData() and OnDrop() were not documented as being pure virtual. Closes #14165. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/dnd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/wx/dnd.h b/interface/wx/dnd.h index bdc65be16b..fef09feb98 100644 --- a/interface/wx/dnd.h +++ b/interface/wx/dnd.h @@ -99,13 +99,13 @@ public: associated with this drop target, calling its wxDataObject::SetData() method. */ - virtual bool GetData(); + virtual bool GetData() = 0; /** Called after OnDrop() returns @true. By default this will usually GetData() and will return the suggested default value @a def. */ - virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def); + virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def) = 0; /** Called when the mouse is being dragged over the drop target. By @@ -136,7 +136,7 @@ public: @return @true to accept the data, or @false to veto the operation. */ - virtual bool OnDrop(wxCoord x, wxCoord y); + virtual bool OnDrop(wxCoord x, wxCoord y) = 0; /** Called when the mouse enters the drop target. By default, this calls -- 2.45.2