Somehow it acts as though it has wxEXPAND, but that stops working if the code is edited (as in the next commit).