]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/dragimag.h
add const qualifiers
[wxWidgets.git] / interface / dragimag.h
index 56cc00496065fb89460f58e5f9edefcfcac544c2..695c393a1019c56289c0d54311eb24be1fab4d8a 100644 (file)
@@ -148,7 +148,7 @@ public:
         (together with
         wxDragImage::DoDrawImage) to provide a virtual drawing capability.
     */
-    virtual wxRect GetImageRect(const wxPoint& pos);
+    virtual wxRect GetImageRect(const wxPoint& pos) const;
 
     /**
         Hides the image. You may wish to call this before updating the window
@@ -193,5 +193,5 @@ public:
     */
     bool UpdateBackingFromWindow(wxDC& windowDC, wxMemoryDC& destDC,
                                  const wxRect& sourceRect,
-                                 const wxRect& destRect);
+                                 const wxRect& destRect) const;
 };