]> git.saurik.com Git - wxWidgets.git/commitdiff
wxPyDataObjectSimple::SetData should not be const
authorRobin Dunn <robin@alldunn.com>
Wed, 12 Jul 2006 21:19:20 +0000 (21:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 12 Jul 2006 21:19:20 +0000 (21:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_dataobj.i

index 8f5f8f0e27eb434cd6d042bb167c5b8420fa0a47..d01569c2ac3406540e582aa6a73b17e6eb29749a 100644 (file)
@@ -410,7 +410,7 @@ public:
 
     DEC_PYCALLBACK_SIZET__const(GetDataSize);
     bool GetDataHere(void *buf) const;
-    bool SetData(size_t len, const void *buf) const;
+    bool SetData(size_t len, const void *buf);
     PYPRIVATE;
 };
 
@@ -438,7 +438,7 @@ bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
     return rval;
 }
 
-bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
+bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) {
     // For this one we simply need to make a string from buf and len
     // and send it to the Python method.
     bool rval = false;