]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/treectrl.cpp
Test for x, y in GetPosition
[wxWidgets.git] / src / os2 / treectrl.cpp
index b043d61c7c32a008a492b67a6b0855d07ef9e856..f80fcfc47a2e232edd149cee2f87a4fab1a51a64 100644 (file)
@@ -210,7 +210,7 @@ public:
         {
             return true;
         }
         {
             return true;
         }
-        PMYRECORD                   pRecord = FindOS2TreeRecordByID( GetTree()->GetHWND()
+        PMYRECORD                   pRecord = FindOS2TreeRecordByID( (HWND)GetTree()->GetHWND()
                                                                     ,rItem.m_pItem
                                                                    );
         if (pRecord->m_vRecord.flRecordAttr & CRA_SELECTED)
                                                                     ,rItem.m_pItem
                                                                    );
         if (pRecord->m_vRecord.flRecordAttr & CRA_SELECTED)