X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00a1d2e00442255dae9efd9f68eb497436054e0d..3bf93e1e9ac6b61e5220967d2ada2d4faec4dd9c:/src/os2/treectrl.cpp diff --git a/src/os2/treectrl.cpp b/src/os2/treectrl.cpp index b043d61c7c..f80fcfc47a 100644 --- a/src/os2/treectrl.cpp +++ b/src/os2/treectrl.cpp @@ -210,7 +210,7 @@ public: { return true; } - PMYRECORD pRecord = FindOS2TreeRecordByID( GetTree()->GetHWND() + PMYRECORD pRecord = FindOS2TreeRecordByID( (HWND)GetTree()->GetHWND() ,rItem.m_pItem ); if (pRecord->m_vRecord.flRecordAttr & CRA_SELECTED)