]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
Renamed generic tree control.
[wxWidgets.git] / src / msw / listctrl.cpp
index 2c4f6642de585d112df02b0b84b49a46219a2322..acb319062b9a0a156d994b6a29c79b6d2388b2b7 100644 (file)
@@ -1039,7 +1039,7 @@ long wxListCtrl::FindItem(long start, const wxString& str, bool partial)
 
     findInfo.flags = LVFI_STRING;
     if ( partial )
-        findInfo.flags |= LVFI_STRING;
+        findInfo.flags |= LVFI_PARTIAL;
     findInfo.psz = WXSTRINGCAST str;
 
     return ListView_FindItem(GetHwnd(), (int) start, & findInfo);