gtkPizza warning

Craig Deady cdeady at systems-shop.com
Tue Sep 19 12:52:53 PDT 2006


wx 2.6.3
gcc GTK2 debug
Linux Fedora core 5

I am trying to get xrc to work on an application. I load the .xrc file 
but only get a blank frame.
When the "Get()->LoadFrame" line executes I get the following warning in 
the console window:

Gtk-WARNING **: Attempting to add a widget with type GtkPizza to a 
GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one 
widget at a time; it already contains a widget of type GtkPizza

Then when the frame is shown, I get the following:
 Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE 
(drawable)' failed

Gtk-CRITICAL **: gtk_paint_flat_box: assertion `style->depth == 
gdk_drawable_get_depth (window)' failed

I am new to wxWidgets and xrc, so I am sure I am missing something simple.

Thanks
Craig





More information about the wx-users mailing list