fix complilation error: narrowing conversions in xbm files under wxX11. For discussion, please see ticket 12575