public void ApplyWS(int hvoWs)
{
CheckDisposed();
m_innerFwTextBox.ApplyWS(hvoWs);
if (m_innerFwTextBox.Tss.Length == 0)
{
// Need to also set the properties on the string. This allows searching for
// writing system only.
ITsStrBldr bldr = m_innerFwTextBox.Tss.GetBldr();
bldr.SetIntPropValues(0, 0, (int)FwTextPropType.ktptWs, 0, hvoWs);
m_innerFwTextBox.Tss = bldr.GetString();
}
}