wxWidgets now supports only GCC 4 and newer, so there is no reason to keep code specific for older GCC versions.