Don't use wxCHECK_W32API_VERSION() in #if when it can be undefined.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 May 2012 21:16:41 +0000 (21:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 May 2012 21:16:41 +0000 (21:16 +0000)
commit364f3b070071ee73e417a3770342d779774288e8
treec384ac9c2721f01997b1aaecdd0e5af66973aa1b
parentff7dbb27d495cc5e7369016aaa1d7449968368aa
Don't use wxCHECK_W32API_VERSION() in #if when it can be undefined.

wxCHECK_W32API_VERSION() is only defined when using MinGW, don't use it an #if
test which is always parsed but only in a separate test inside #ifdef __GNUG__
test which is parsed only when we do use MinGW.

This fixes harmless but annoying warning from MSVC 10.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/winundef.h