Fix 'not enough actual parameters for macro' warning
The macro wxGCC_WARNING_RESTORE is being used without a parameter which
MSVC warns about. Fix by passing the same parameter as when using
wxGCC_WARNING_SUPPRESS, namely deprecated-declarations.
Regression since b58c87db28
.
This commit is contained in:
parent
3486c5707b
commit
fe716b3c8e
@ -120,7 +120,7 @@ void FontTestCase::Construct()
|
|||||||
// wxFontXXX enum elements.
|
// wxFontXXX enum elements.
|
||||||
CPPUNIT_ASSERT( wxFont(10, wxDEFAULT, wxNORMAL, wxNORMAL).IsOk() );
|
CPPUNIT_ASSERT( wxFont(10, wxDEFAULT, wxNORMAL, wxNORMAL).IsOk() );
|
||||||
|
|
||||||
wxGCC_WARNING_RESTORE()
|
wxGCC_WARNING_RESTORE(deprecated-declarations)
|
||||||
|
|
||||||
#ifdef __VISUALC__
|
#ifdef __VISUALC__
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
|
Loading…
Reference in New Issue
Block a user