Consistently use wxALIGN_CENTRE etc not CENTER