From: <zou...@us...> - 2007-12-11 20:41:20
|
Revision: 934 http://dcplusplus.svn.sourceforge.net/dcplusplus/?rev=934&view=rev Author: zouzou123gen Date: 2007-12-11 12:41:10 -0800 (Tue, 11 Dec 2007) Log Message: ----------- crash on right-click in the download queue Modified Paths: -------------- dcplusplus/trunk/changelog.txt dcplusplus/trunk/smartwin/include/smartwin/widgets/WidgetTreeView.h Modified: dcplusplus/trunk/changelog.txt =================================================================== --- dcplusplus/trunk/changelog.txt 2007-12-11 20:00:08 UTC (rev 933) +++ dcplusplus/trunk/changelog.txt 2007-12-11 20:41:10 UTC (rev 934) @@ -28,6 +28,7 @@ * Fixed a multisource download crash * Fixed state checks for uploads (an invalid sequence could possibly crash client from remote) * Page up/down in private chat scrolls chat log just as in hub chat +* Fixed crash on right-click in the download queue (poy) -- 0.703 2007-11-08 -- * Fixed invalid strings (thanks james ross) Modified: dcplusplus/trunk/smartwin/include/smartwin/widgets/WidgetTreeView.h =================================================================== --- dcplusplus/trunk/smartwin/include/smartwin/widgets/WidgetTreeView.h 2007-12-11 20:00:08 UTC (rev 933) +++ dcplusplus/trunk/smartwin/include/smartwin/widgets/WidgetTreeView.h 2007-12-11 20:41:10 UTC (rev 934) @@ -349,7 +349,8 @@ inline HTREEITEM WidgetTreeView::hitTest(const ScreenCoordinate& pt) { ClientCoordinate cc(pt, this); - return TreeView_HitTest(this->handle(), &cc.getPoint()); + TVHITTESTINFO tvhti = { cc.getPoint() }; + return TreeView_HitTest(this->handle(), &tvhti); } inline HTREEITEM WidgetTreeView::getSelection() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |