I am creating a wx.Frame with a GLCanvas.  On some platforms, setting the WX_GL_DEPTH_SIZE attribute of the canvas to 32 works fine.  On another platform, I just get a blank frame (the GLCanvas doesn't render) unless I reduce the depth size to 16.  Is there an easy way in the calling code to determine the allowable values for the depth size?
Are you running Linux? Perhaps you could get that information from the table of display modes that glxinfo -t outputs.
How can I determine the max allowable WX_GL_DEPTH_SIZE for a wx GLCanvas?