Wetting of the container wall as a critical-point phenomenon. III. Wetting by contacting conjugate solutions of ternary systems