/**
@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.
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.
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;
};