X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/955be36cf87ac32dd0d5d98b447a3189c1573c19..bdc72a22686ac141e9bc4559a1171d017fdcb094:/src/msw/treectrl.cpp diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 332911d767..96818dd14d 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -729,7 +729,7 @@ bool wxTreeCtrl::IsVisible(const wxTreeItemId& item) const *(WXHTREEITEM *)&rect = (WXHTREEITEM)item; // FALSE means get item rect for the whole item, not only text - return SendMessage(GetHwnd(), TVM_GETITEMRECT, FALSE, &rect) != 0; + return SendMessage(GetHwnd(), TVM_GETITEMRECT, FALSE, (LPARAM)&rect) != 0; }