wxLuaDataObjectSimple::GetDataHere() is supposed to call the derived method in Lua, but the implementation was broken. LuaPCall(0, 2) should be LuaPCall(1, 2).
In addition, the handling of the returned value is modified, so that wxMemoryBuffer can be returned.
wxLuaDataObjectSimple::GetDataHere() is supposed to call the derived method in Lua, but the implementation was broken. LuaPCall(0, 2) should be LuaPCall(1, 2). In addition, the handling of the returned value is modified, so that wxMemoryBuffer can be returned.