]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
Patch to use high printer resolution instead of Cairo's 72dpi
[wxWidgets.git] / src / msw / listctrl.cpp
index f61b3fd9ca4354fdd4f26bc183f56f13f893ce89..65fb65b7d0f825b0eec7767840ed9f9aab3b3ca3 100644 (file)
@@ -1424,7 +1424,7 @@ long wxListCtrl::FindItem(long start, const wxString& str, bool partial)
     findInfo.flags = LVFI_STRING;
     if ( partial )
         findInfo.flags |= LVFI_PARTIAL;
-    findInfo.psz = str;
+    findInfo.psz = str.wx_str();
 
     // ListView_FindItem() excludes the first item from search and to look
     // through all the items you need to start from -1 which is unnatural and