[Mac, 2.8.2] possible bug in drag hilight code
Yaron Tadmor
YaronT at HumanEyes.com
Tue Jul 17 06:48:08 PDT 2007
Hi,
2 possible bugs:
1) In the mac version of dnd.cpp around line 605, there's a code
entering the entering of a new window. This code checks if there's a
dropTarget object for the window. If there is one it uses it to get the
drag result. If there isn't it leaves the result as copy or move (as it
was set earlier in the function). I would expect that if there's no drag
handler attached to the window, that the result would be set to
wxDragNone as the window is not interested in the drag. So it also
shouldn't be highlighted. Am I missing something or is this a real bug?
2) In the same file, in the receive drag callback, it seems that no
one is un-highlighting the window. So if I release the button while over
a window with no handler, it stays highlighted, which is obviously a
bug.
Your comments? Should I fix these 2?
Yaron Tadmor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070717/89e293e2/attachment.htm
More information about the wx-users
mailing list