wxPython 2.5.3.1 GLCanvas Demo: BadMatch

The GLCanvas demos in wxPython 2.5.3.1 work just fine for me on Mac OS X,
but I'm having trouble running them on Mandrake 10.

$ uname -a
Linux dude.local 2.6.3-4mdk #1 Tue Mar 2 07:26:13 CET 2004 i686 unknown unknown GNU/Linux

I've installed the Mesa RPMs and have built from source using the following
.configure script:

#!/bin/sh
../configure --enable-debug -with-gtk \
              --with-opengl \
              --enable-geometry \
              --enable-sound \
              --enable-display

When I try to run the GLCanvas demo I get a BadMatch error. This happens
regardless of whether I use the Linux box's X server or redirect to the Mac.
(See below for the error message.)

PyOpenGL is installed, and I'm able to run its sample scripts against both X servers. xdpyinfo on both X servers shows both the GLX and SGI-GLX extensions are available.

Thanks for any help. Please let me know if you need more information.

Here's the error:

The program 'demo.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
   (Details: serial 5874 error_code 8 request_code 152 minor_code 5)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error() function.)

···

--
Mitch