Compatibility with previous WxWidgets versions.