[ wxwindows-Bugs-1526504 ] GTK errors after Remove and Insert sub-menu item

SourceForge.net noreply at sourceforge.net
Fri Jul 21 07:37:54 PDT 2006


Bugs item #1526504, was opened at 2006-07-21 14:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1526504&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: martin (mart-k)
Assigned to: Nobody/Anonymous (nobody)
Summary: GTK errors after Remove and Insert sub-menu item

Initial Comment:
The attached program shows GTK-CRITICAL errors 
reported when manipulating an item in a menu, using 
RemoveItem and InsertItem, the item with a problem is 
a sub-menu.

The program sets up a simple menu with an item with a 
sub-menu. The sub-menu item is removed and reinserted
and then further manipulated. During this subsequent 
manipulation get errors for removing items from the 
sub-menu and for inserting to the main menu.





Output from running:
OSversion (31, 2, 6)
Wx Version 2.6.3.2
One

(python:23656): Gtk-CRITICAL **: file gtkwidget.c: 
line 1911 (gtk_widget_destroy): assertion 
`GTK_IS_WIDGET (widget)' failed
Two

(python:23656): Gtk-CRITICAL **: file gtkwidget.c: 
line 1911 (gtk_widget_destroy): assertion 
`GTK_IS_WIDGET (widget)' failed
Three
Four

(python:23656): Gtk-CRITICAL **: file gtkwindow.c: 
line 6380 (gtk_window_set_screen): assertion 
`GTK_IS_WINDOW (window)' failed
Five

(python:23656): Gtk-CRITICAL **: file gtkwindow.c: 
line 6562 (gtk_window_group_add_window): assertion 
`GTK_IS_WINDOW (window)' failed

(python:23656): Gtk-CRITICAL **: file gtkwindow.c: 
line 3259 (gtk_window_move): assertion `GTK_IS_WINDOW 
(window)' failed

(python:23656): Gtk-CRITICAL **: file gtkwidget.c: 
line 2560 (gtk_widget_size_request): assertion 
`GTK_IS_WIDGET (widget)' failed

(python:23656): Gtk-CRITICAL **: file gtkwidget.c: 
line 2674 (gtk_widget_size_allocate): assertion 
`GTK_IS_WIDGET (widget)' failed

(python:23656): Gtk-CRITICAL **: file gtkwidget.c: 
line 2221 (gtk_widget_realize): assertion 
`GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE 
(widget)' failed


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1526504&group_id=9863




More information about the wx-dev mailing list