Ticket #14292 (reopened defect)
GLIB warnings on Ubuntu 12.04 when destroying wxMenuBar
| Reported by: | eran | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxGTK | Version: | 2.9-svn |
| Keywords: | Cc: | anatoli.steinmark@… | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
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
https://groups.google.com/d/topic/wx-users/9rprajn67Gg/discussion
Attached is a patch that fixes this problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

