Re: wxDropSource and wxListBox on Mac, mouse left down not being detected.
Tony Kennedy <[email protected]> Thu, 2 Oct 2025 04:39:20 -0700 (PDT)
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
I'll try and modify the dnd sample so it also has a wxListBox to drag from. Tony. On Thursday, 2 October 2025 at 12:26:02 UTC+1 Tony Kennedy wrote: > Hi all, > > Using wx 3.3.0 on MacOS 15.7.1 (Sequioa) > > I'm testing some drag/drop functionality on the Mac. Everything works fine > on Windows (for a wxDropSource with wxListbox, wxTreeCtrl, wxDataViewCtrl > and wxListbox). > > On the Mac, all works fine except the wxListbox. I select something, then > try dragging, but the selection just seems to follow the mouse, and in my > MouseMotion function, the LeftDown is always false. I've tried using > wxGetMouseState as well to see if the left is down, same result. > > Does anyone else have an application on the Mac where drag/drop is > implemented using a wxListBox? I'd be interested to know if it's working > with wx 3.3.0. > > Thanks in advance, > > Tony. > -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/11c4292b-31da-48e9-919f-6e1efe6d04a7n%40googlegroups.com.