you need to modify src/x/wx_text.cc so that wxTextWindowModifyProc is extern,
not static.
