diff --git a/tests/font/fonttest.cpp b/tests/font/fonttest.cpp index cd5f908ac4..3491af6fcf 100644 --- a/tests/font/fonttest.cpp +++ b/tests/font/fonttest.cpp @@ -120,7 +120,7 @@ void FontTestCase::Construct() // wxFontXXX enum elements. CPPUNIT_ASSERT( wxFont(10, wxDEFAULT, wxNORMAL, wxNORMAL).IsOk() ); - wxGCC_WARNING_RESTORE() + wxGCC_WARNING_RESTORE(deprecated-declarations) #ifdef __VISUALC__ #pragma warning(pop)