Fix wx28 compatibility.