]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
Removed semi-colons off the end of two macro statement lines so that compilation...
[wxWidgets.git] / include / wx / listctrl.h
index 6aa8a333d5a8633864dbee1a52e45f46d415b6bd..8526b2ef274468a4852a5d83103d44197acfebd1 100644 (file)
@@ -304,7 +304,7 @@ public:
     }
 
     // [de]select an item
-    void Select(long n, bool on = true)
+    void Select(long n, bool on = TRUE)
     {
         SetItemState(n, on ? wxLIST_STATE_SELECTED : 0, wxLIST_STATE_SELECTED);
     }
@@ -331,6 +331,8 @@ public:
     // return TRUE if the item is selected
     bool IsSelected(long index)
         { return GetItemState(index, wxLIST_STATE_SELECTED) != 0; }
+private:
+    DECLARE_DYNAMIC_CLASS(wxListView)
 };
 
 // ----------------------------------------------------------------------------