X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..b5fe7ca67bf3121959a0b5a59afd00c1708f2f03:/interface/wx/dragimag.h diff --git a/interface/wx/dragimag.h b/interface/wx/dragimag.h index 9de1317021..2e0a644db0 100644 --- a/interface/wx/dragimag.h +++ b/interface/wx/dragimag.h @@ -8,7 +8,6 @@ /** @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; };