X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0cf38b706429b69ae87b3d452665bac59356c93..136b3b19145e31eab72e3858a8de359c77268039:/samples/listctrl/listtest.cpp diff --git a/samples/listctrl/listtest.cpp b/samples/listctrl/listtest.cpp index dd01efe4f8..065a3e6b2e 100644 --- a/samples/listctrl/listtest.cpp +++ b/samples/listctrl/listtest.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -724,7 +719,7 @@ void MyListCtrl::OnColClick(wxListEvent& event) int col = event.GetColumn(); // set or unset image - static x = false; + static bool x = false; x = !x; SetColumnImage(col, x ? 0 : -1);