mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Keep a reference to the stream passed to wx.FSFile
This commit is contained in:
@@ -96,7 +96,6 @@ protected:
|
||||
o = bufsize;
|
||||
memcpy((char*)buffer, PyBytes_AsString(result), o); // strings only, not unicode...
|
||||
Py_DECREF(result);
|
||||
|
||||
}
|
||||
else
|
||||
m_lasterror = wxSTREAM_READ_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user