]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 29 Aug 2005 01:59:36 +0000 (01:59 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 29 Aug 2005 01:59:36 +0000 (01:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);