wxPyDataObjectSimple::SetData should not be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5824777356
commit
7521630773
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user