There seems to be a problem with wxNotebook whereby the page changes
unintentionally with drag-and-drop.
To see this, select any text, perhaps some text on a terminal, or a
web page. Then try to do a drag of that text. As you slowly move the
cursor over the tabs, the page changes.
Any ideas how to fix this?
Thanks in advance.
--Marco
I don't think it's due to anything wx does, must be a GTK thing. And I
wouldn't be surprised if it did intentionally to allow you to drop on some
control inside another page.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Hey Vadim,
Thanks for the response. If GTK does this intentionally, do you know
if there is a way to trap this? Perhaps I can veto the event in the
"Page Changing" event handler, but is there an easy way to know if the
event was triggered from a drag operation?
Thanks,
Marco
Sorry, no, I really don't know anything about this, I'm just guessing.
You'd have to test this in a pure GTK application (they used to have
examples distributed with GTK itself, including one using GtkNotebook so
perhaps you could use this) to even determine whether this guess is
correct.