]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/treectrl.cpp
move code ignoring VK_SPACE and VK_RETURN WM_CHAR messages to MSWDefWindowProc()...
[wxWidgets.git] / src / os2 / treectrl.cpp
index b043d61c7c32a008a492b67a6b0855d07ef9e856..f80fcfc47a2e232edd149cee2f87a4fab1a51a64 100644 (file)
@@ -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)