X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00a1d2e00442255dae9efd9f68eb497436054e0d..068b764a5a7cc2929b1fd8ea5643f43b5cbc8762:/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)