Among my wx libraries (in the lib folder) there is something called libwxmsw27_ogl.a which looks like something you should link to.