let wxCairoContext could create cairo context correctly under x11 in this constructor