From: Vadim Zeitlin Date: Tue, 7 Sep 2004 20:16:51 +0000 (+0000) Subject: define WINVER as 0x0502 by default (highest possible), not 0x0400; made the comment... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b96f8e9a6f7aa2ae1cf564adb68f1ee945997856 define WINVER as 0x0502 by default (highest possible), not 0x0400; made the comment before it more clear git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/platform.h b/include/wx/platform.h index c7ec886496..359cb4a3b6 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -95,12 +95,15 @@ # endif /* - see MSDN for the description of possible WINVER values, this one is a - good default and, anyhow, we check for most of the features we use - during run-time. + see MSDN for the description of possible WINVER values, this one is the + highest one defined right now (Windows Server 2003) and we use it unless + it was explicitly overridden by the user to disable recent features + support as we check for all of the features we use which could be not + available on earlier Windows systems during run-time anyhow, so there is + almost no disadvantage in using it. */ # ifndef WINVER -# define WINVER 0x0400 +# define WINVER 0x0502 # endif /* Win95 means Win95-style UI, i.e. Win9x/NT 4+ */