different include for wx 2.9

* no impact on versions of wx earlier than 2.9 by using wxCHECK_VERSION