FF: fix to flatnotebook style for older wx versions