"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/cfg/wxwidgets.cpp" between
cppcheck-1.86.tar.gz and cppcheck-1.87.tar.gz

About: Cppcheck is a static analysis tool for C/C++ code. It checks for memory leaks, mismatching allocation-deallocation, buffer overrun, and many more.

wxwidgets.cpp  (cppcheck-1.86):wxwidgets.cpp  (cppcheck-1.87)
skipping to change at line 29 skipping to change at line 29
#include <wx/dataview.h> #include <wx/dataview.h>
#include <wx/memory.h> #include <wx/memory.h>
#include <wx/frame.h> #include <wx/frame.h>
#include <wx/menu.h> #include <wx/menu.h>
#include <wx/stattext.h> #include <wx/stattext.h>
#include <wx/sizer.h> #include <wx/sizer.h>
void validCode() void validCode()
{ {
wxString str = wxGetCwd(); wxString str = wxGetCwd();
wxLogGeneric(wxLOG_Message, "test %d", 0); wxLogGeneric(wxLOG_Message, "test %d", 0);
wxLogMessage("test %s", "str"); wxLogMessage("test %s", "str");
wxString translation1 = _("text"); wxString translation1 = _("text");
wxString translation2 = wxGetTranslation("text"); wxString translation2 = wxGetTranslation("text");
wxString translation3 = wxGetTranslation("string", "domain"); wxString translation3 = wxGetTranslation("string", "domain");
} }
#if wxUSE_GUI==1 #if wxUSE_GUI==1
void validGuiCode() void validGuiCode()
{ {
extern wxSpinCtrl spinCtrlInstance; extern wxSpinCtrl spinCtrlInstance;
spinCtrlInstance.SetBase(10); spinCtrlInstance.SetBase(10);
spinCtrlInstance.SetBase(16); spinCtrlInstance.SetBase(16);
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)