]> git.saurik.com Git - wxWidgets.git/commit
Disable deprecation and other warnings in MFC sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 Jan 2011 13:39:24 +0000 (13:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 Jan 2011 13:39:24 +0000 (13:39 +0000)
commited2da291ad485031cf6fd23d3a61a35560e37dd6
treec608fd26458f497c694794ab15b40a5f01390c65
parent0c9786de3a5d0315a252854305bf771196e34224
Disable deprecation and other warnings in MFC sample.

VC8+ give tons of deprecation warnings for the standard functions which are
usually suppressed by wx headers but they need to be included first for the
suppression to be effective. In the MFC sample they were not resulting in many
useless warnings.

Fix this by pre-defining _CRT_SECURE_NO_WARNINGS to suppress them in the
sample itself.

Also suppress a warning about WINVER being undefined.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/mfc/mfctest.cpp