X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..427861bde09badef1a2950ad799e69fac6b4a48a:/interface/wx/dragimag.h diff --git a/interface/wx/dragimag.h b/interface/wx/dragimag.h index c6728c0dd8..2e0a644db0 100644 --- a/interface/wx/dragimag.h +++ b/interface/wx/dragimag.h @@ -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; };