]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/listctrl/listtest.cpp
compate charset names case-insensitively in GetEncodingFromName()
[wxWidgets.git] / samples / listctrl / listtest.cpp
index dd01efe4f8e2e373e5ad5061a4fb71c9a3e0f029..bfef9f62abef47db72fbc67e6b1c6d5c07f77500 100644 (file)
@@ -724,7 +724,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);