I think that Queen Mary was photographed wearing the brooch under discussion as early as 1926, which suggests she purchased the Teck jewels before her brother's or sister-in-law's deaths.
Because of the dating of the portrait in the National Portrait Gallery, I am even more inclined to think that Queen Mary purchased the Teck jewels from her brother in 1919 when she purchased the bracelet I referred to earlier.