wxWebKit does not currently make use of the gcc hidden visibility features that are available since gcc 4.
Changing it to make use of these features is trivial as everything is already in place to do so, so the gains that can be had are almost for free.
I have done so and it results in a +-35% binary size decrease (From 30Mib down to 19mib on a 64 bit system). Obviously this also speeds up linking time and other similar benefits.
I will attach the patch to enable this below.
Created attachment 28259 [details]
Patch to enable hidden visibility for gcc > 4
Forgot to mention that this has been tested successfully on both an x86 system with GCC 4.1.2 as well as an x86_64 system with GCC 4.3.3
Landed in r43260, thanks!