From: David Webster <Dave.Webster@bhmi.com>
Date: Mon, 4 Feb 2002 23:32:15 +0000 (+0000)
Subject: const fix.
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70b7bcd12120a640ef6144a5c604aa94bc52aa70

const fix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/os2/region.cpp b/src/os2/region.cpp
index 2e65b85d01..c742b392a4 100644
--- a/src/os2/region.cpp
+++ b/src/os2/region.cpp
@@ -225,7 +225,7 @@ wxObjectRefData *wxRegion::CreateData() const
     return new wxRegionRefData;
 }
 
-wxObjectRefData *wxRegion::CloneData(wxObjectRefData *data) const
+wxObjectRefData *wxRegion::CloneData(const wxObjectRefData *data) const
 {
     return new wxRegionRefData(*(wxRegionRefData *)data);
 }