Avoid gcc deprecation warnings for wxNORMAL in the tests
We use wxNORMAL intentionally to test for its support, so we're not interested in deprecation warnings about it.
This commit is contained in:
parent
cb49eb5162
commit
b58c87db28
@ -114,10 +114,14 @@ void FontTestCase::Construct()
|
||||
#pragma warning(disable:4996)
|
||||
#endif
|
||||
|
||||
wxGCC_WARNING_SUPPRESS(deprecated-declarations)
|
||||
|
||||
// Tests relying on the soon-to-be-deprecated ctor taking ints and not
|
||||
// wxFontXXX enum elements.
|
||||
CPPUNIT_ASSERT( wxFont(10, wxDEFAULT, wxNORMAL, wxNORMAL).IsOk() );
|
||||
|
||||
wxGCC_WARNING_RESTORE()
|
||||
|
||||
#ifdef __VISUALC__
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user