I have seen in http://books.google.fr/books/about/Molecular_theory_of_capillarity.html?id=_ydSF_XUVeEC&redir_esc=y that there is a formula for the contact angle with a solid wall of a liquid-gas interface. The formula is
$$ \cos \theta=\frac{ \sigma_{liquid-solid}-\sigma_{gas-solid}}{\sigma_{gas-liquid}}$$ where $\sigma_{AB}$ are the surface tensions between $A$ and $B$.
Does this formula work also in the case where instead of gas we have another liquid?