void JXStyleTable::SetAllCellStyles ( const JFontStyle& style ) { itsStyleData->SetAllCellStyles(style); JXInputField* input = NULL; if (IsEditing() && GetXInputField(&input)) { input->SetFontStyle(style); } }
void JXStyleTable::SetCellStyle ( const JPoint& cell, const JFontStyle& style ) { itsStyleData->SetCellStyle(cell, style); JPoint editCell; JXInputField* input = NULL; if (GetEditedCell(&editCell) && editCell == cell && GetXInputField(&input)) { input->SetFontStyle(style); } }