Pharmaceutical composition comprising at least one compound of general formula wherein - R 1 is a hydrogen atom, an alkyl radical having from 1 to 4 carbon atoms or a -CF 3 radical; - R 2 is a hydrogen atom, an alkyl or alkoxy radical having from 1 to 4 carbon atoms or a chlorine atom; - R 3 is a hydrogen atom, or a linear or branched alkyl or alkoxy radical having from 1 to 10 carbon atoms, optionally substituted with a methoxy group; - R 4 is a hydrogen atom or an alkyl radical having from 1 to 3 carbon atoms; - R 5 is a hydrogen atom or an alkyl radical having from 1 to 3 carbon atoms; - or else R 4 and R 5 form, together with the -N-C(=Y)-bond, a ring of pyrrolidine, pyrrolidinone, piperidine or piperidinone type; - Y represents two hydrogen atoms or a heteroatom such as oxygen or sulfur; - Ar represents a 1,4-phenyl, 2,5-pyridyl, 5,2-pyridyl or 2,5-thiophenyl ring; - X represents an oxygen atom optionally substituted with an alkyl or alkylamine chain or a C-C single bond; - A represents a hydrogen atom or the formula below: wherein ∘ Q is an oxygen atom or the -NH- bond; ∘ R 6 represents a hydrogen atom, an alkyl radical having from 1 to 6 carbon atoms, a cycloalkyl radical having from 3 to 6 carbon atoms, or a -C CH 3 or -C CH 2 CH 3 radical; ∘ R 7 and R 7 ' represent, independently of one another, a hydrogen atom or a hydroxyl group, on the condition that R 7 and R 7 ' are not simultaneously a hydroxyl group; ∘ n is 0, 1, 2, 3, 4 or 5; water, at least one gelling agent, at least one hydrophilic solvent of the compound of formula, chosen from phenoxyethanol, ethanol or a mixture of phenoxyethanol and ethanol, and at least one hydrophilic cosolvent of the compound of formula. - R 1 is a hydrogen atom, an alkyl radical having from 1 to 4 carbon atoms or a -CF 3 radical; - R 2 is a hydrogen atom, an alkyl or alkoxy radical having from 1 to 4 carbon atoms or a chlorine atom; - R 3 is a hydrogen atom, or a linear or branched alkyl or alkoxy radical having from 1 to 10 carbon atoms, optionally substituted with a methoxy group; - R 4 is a hydrogen atom or an alkyl radical having from 1 to 3 carbon atoms; - R 5 is a hydrogen atom or an alkyl radical having from 1 to 3 carbon atoms; - or else R 4 and R 5 form, together with the -N-C(=Y)-bond, a ring of pyrrolidine, pyrrolidinone, piperidine or piperidinone type; - Y represents two hydrogen atoms or a heteroatom such as oxygen or sulfur; - Ar represents a 1,4-phenyl, 2,5-pyridyl, 5,2-pyridyl or 2,5-thiophenyl ring; - X represents an oxygen atom optionally substituted with an alkyl or alkylamine chain or a C-C single bond; - A represents a hydrogen atom or the formula below: wherein ∘ Q is an oxygen atom or the -NH- bond; ∘ R 6 represents a hydrogen atom, an alkyl radical having from 1 to 6 carbon atoms, a cycloalkyl radical having from 3 to 6 carbon atoms, or a -C CH 3 or -C CH 2 CH 3 radical; ∘ R 7 and R 7 ' represent, independently of one another, a hydrogen atom or a hydroxyl group, on the condition that R 7 and R 7 ' are not simultaneously a hydroxyl group; ∘ n is 0, 1, 2, 3, 4 or 5; ∘ Q is an oxygen atom or the -NH- bond; ∘ R 6 represents a hydrogen atom, an alkyl radical having from 1 to 6 carbon atoms, a cycloalkyl radical having from 3 to 6 carbon atoms, or a -C CH 3 or -C CH 2 CH 3 radical; ∘ R 7 and R 7 ' represent, independently of one another, a hydrogen atom or a hydroxyl group, on the condition that R 7 and R 7 ' are not simultaneously a hydroxyl group; ∘ n is 0, 1, 2, 3, 4 or 5;