X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..3beb50e570f1b4f7a97c767677451ffc558fa22f:/interface/wx/dragimag.h diff --git a/interface/wx/dragimag.h b/interface/wx/dragimag.h index 9de1317021..b061b2ba1c 100644 --- a/interface/wx/dragimag.h +++ b/interface/wx/dragimag.h @@ -3,12 +3,11 @@ // Purpose: interface of wxDragImage // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @class wxDragImage - @wxheader{dragimag.h} This class is used when you wish to drag an object on the screen, and a simple cursor is not enough. @@ -193,7 +192,7 @@ public: applications to draw their own image instead of using an actual bitmap. If you override this function, you must also override GetImageRect(). */ - virtual bool DoDrawImage(wxDC& dc, const wxPoint& pos); + virtual bool DoDrawImage(wxDC& dc, const wxPoint& pos) const; /** Call this when the drag has finished. @@ -255,8 +254,8 @@ public: This function is available in wxGenericDragImage only. */ - bool UpdateBackingFromWindow(wxDC& windowDC, wxMemoryDC& destDC, - const wxRect& sourceRect, - const wxRect& destRect) const; + virtual bool UpdateBackingFromWindow(wxDC& windowDC, wxMemoryDC& destDC, + const wxRect& sourceRect, + const wxRect& destRect) const; };