[wx-dev] Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a,drawable with depth 32

Robin Dunn robin at alldunn.com
Mon Jun 18 15:30:24 PDT 2007


Robin Dunn wrote:
> Has anybody ever seen warning messages like the subject (and know what 
> to do about it?)  The user reports that it seems to be resulting in 
> widgets not fully drawing themselves.  More details and a screenshow are 
> here:  https://bugzilla.osafoundation.org/show_bug.cgi?id=9295
> 

Nevermind.  I think I've tracked this down to the default kde/gtk theme 
on Kubuntu and the app calling SetUseBestVisual.  If I don't use the 
default theme or if I don't call SetUseBestVisual then I don't get those 
warnings and the native widgets draw themselves as expected.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-dev mailing list