To complete your information, here is a patch file between my C::B version and the official svn 12207.
Some comments :
1) in main.cpp, there was a wxPaintEvent / ProcessEvent some time ago. It was replaced by Update some time ago (suggested by M.Gimenez if I remember well). As this original couple of instructions is no more in C::B code, the Update is probably not necessary now.
2) In wxsglcanvas.cpp and wxsglcanvas.h, I have added some instructions because I need to initiate and use in wxSmith some new graphic variables (mSampleBuffers and mSamples) in my own developments. These variables were introduced, I think, in wxWidgets 3.0. May be, there is an other way to do this, but I have not found an other way.
3) In global_uservars.xrc, I have commented some instructions, because I had some minor problems when C::B draw these controls, at least in my french C::B version. I don't remenmber, if it's wxWidgets 3.1.4 related, sorry.
4) in lexer_cpp.xml, this is clearly not related to wxWidgets 3.1.4. It simply adds the "rename" keyword to the cpp lexer. This was discussed some time ago in
http://forums.codeblocks.org/index.php/topic,23736.0.html.
If this can help you ...
gd_on