X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..a8bda512079352ba81933e278d9ccdb8ef7a9866:/interface/wx/dragimag.h diff --git a/interface/wx/dragimag.h b/interface/wx/dragimag.h index c6728c0dd8..b061b2ba1c 100644 --- a/interface/wx/dragimag.h +++ b/interface/wx/dragimag.h @@ -3,7 +3,7 @@ // Purpose: interface of wxDragImage // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -192,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. @@ -254,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; };