Sets the pen join style (X Windows, Windows). See get-join for a list of join styles.
A pen cannot be modified if it was obtained from a wx:pen-list% or while it is selected into a drawing context.