Blocks compilation if wxversion < 3.0.0

wxCHECK_VERSION(3, 0, 0)