While you should always check the labels, in general no, candy canes do not have gelatin in them.  They are typically made with sugar and corn syrup, peppermint oil and food coloring.