This commit is contained in:
vczh
2023-01-18 01:29:18 -08:00
parent ed160871e6
commit 2367027228
2 changed files with 2 additions and 2 deletions
@@ -88,7 +88,7 @@ namespace demo
}
textBox->Select(begin, end);
textBox->SetFocus();
textBox->SetFocused();
return true;
}
}
@@ -68,7 +68,7 @@ namespace demo
stream::StreamReader reader(decoderStream);
textBox->SetText(reader.ReadToEnd());
textBox->Select(TextPos(), TextPos());
textBox->SetFocus();
textBox->SetFocused();
textBox->ClearUndoRedo();
fileName = dialogOpen->GetFileName();