diff --git a/cfg/wxwidgets.cfg b/cfg/wxwidgets.cfg index 1a60d3d7e..bd5d37a47 100644 --- a/cfg/wxwidgets.cfg +++ b/cfg/wxwidgets.cfg @@ -2,19 +2,22 @@ - + + + + - + - + - + - - + + @@ -1356,9 +1359,6 @@ - - - diff --git a/test/cfg/wxwidgets.cpp b/test/cfg/wxwidgets.cpp index cc0932417..e1028c237 100644 --- a/test/cfg/wxwidgets.cpp +++ b/test/cfg/wxwidgets.cpp @@ -123,18 +123,20 @@ void deprecatedFunctions(wxApp &a, // cppcheck-suppress SetTextIndentCalled comboCtrl.SetTextIndent(0); +#if wxUSE_DEBUG_CONTEXT==1 // cppcheck-suppress GetLevelCalled // cppcheck-suppress ignoredReturnValue wxDebugContext::GetLevel(); // cppcheck-suppress SetLevelCalled wxDebugContext::SetLevel(42); +#endif // cppcheck-suppress wxDos2UnixFilenameCalled wxDos2UnixFilename(path); // cppcheck-suppress wxFileNameFromPathCalled // cppcheck-suppress ignoredReturnValue - wxFileNameFromPath(wxT("../test.c")); + wxFileNameFromPath(wxT_2("../test.c")); #endif #if defined(__WXMSW__) || defined(__WXGTK__)