Agreements by way of wager are void; and no suit shall be brought for recovering anything alleged to be one on any wager, or entrusted to any person to abide able the result of any game or other uncertain event on which any wager is made. Exception in favour of certain prices for horse-racing. This section shall not be deemed to render unlaw...