Hinged part of an aircraft wing