My guess is that you are using an older version of wxWidgets than your
wxPython version.
--
Robin Dunn
Software Craftsman
http://wxPython.org
Do you have the headers for any other version of wxWidgets on your
system that it might be finding by accident? If you're using the 2.8.10
headers then wxABI_VERSION should be 20810 so it should be seeing that
method prototype.
Ah, good catch. I didn't think about checking the stub version.
>
> I see wxGraphicsContext does have a stub for CreateBitmap -- so maybe
> coping that into wxGraphicsRender (in _gdi_wrap.cpp) will take care
> of the problem. I will give that a try tomorrow.
>
> I am curious as to why my wxPython build isn't setting
> wxUSE_GRAPHICS_CONTEXT.
> Looks like my wxWidgets build has it enabled (from config.log):
>
> wx_cv_use_graphics_ctx=wxUSE_GRAPHICS_CONTEXT=yes
>
> Do I need to configure that explicitly for my wxPython build somehow?
>
Configure will override the setting it if it is unable to find the libs
and headers for Cairo. Check the output of configure or its log file to
be sure.