Ticket #14292 (reopened defect)
GLIB warnings on Ubuntu 12.04 when destroying wxMenuBar
|Reported by:||eran||Owned by:|
Testing wxWidgets's minimal sample on Ubuntu 12.04 (Precise) on exit it spams these warnings to the terminal:
(minimal:8605): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
After debugging it, its seems that that these warnings are coming from
wxWindow::~wxWindow (this=0x748b00, __in_chrg=<optimized out>) at ../src/gtk/window.cpp:2351
Here is the complete thread on the wx-users mailing list I had with VZ
Attached is a patch that fixes this problem.