Automatic migration. Original reporter: "CABAListic"
Currently it's not possible to retrieve the MouseCursor object via PyCEGUI.System.getSingleton().getDefaultGUIContext().getMouseCursor(), which makes it impossible to set the mouse cursor image. The problem is that the Py++ bindings try to return by value, but the mouse cursor is not copyable. The bug was first reported about a year ago in the forums: http://cegui.org.uk/phpBB2/viewtopic.php?f=3&t=6129
I don't know how to properly fix this in the Py++ generator, but what is needed is that in GUIContext.pypp.cpp:660 the bp::return_value_policy<bp::copy_const_reference>() needs to change. I changed it to bp::return_internal_reference<>() which appears to work for me.