[wx-dev] wxAUI sample locks the mouse - easy to reproduce
Milan Babuskov
milanb at panonnet.net
Wed Jul 9 07:15:54 PDT 2008
Hi,
I found an interesting problem (using wxGTK 2.8.8 and 2.8.7).
To reproduce, build a debug version of wxGTK and the auidemo sample. Run
it and try to drag one of the tabs to split the notebook control. At
that point you get an assert like this:
[Debug] 12:51:12 AM: ./src/gtk/frame.cpp(330): assert "(m_wxwindow !=
NULL)" failed in GtkOnSize(): invalid frame
The standard assert dialog shows up, but user can't click on it since
dragging took the mouse grab.
There are no problems with wxMSW version, only with wxGTK one.
Of course, the real problem is that you really can't run any application
using wxAUINotebook in the debug mode (short of modifying wx code and
removing the assert - which I don't think is a good idea).
P.S. I added it to the wxTrac, but I hope it will be more 'visible' here:
http://trac.wxwidgets.org/ticket/9627
Thanks,
--
Milan Babuskov
http://www.flamerobin.org
More information about the wx-dev
mailing list