Update tutorials

This commit is contained in:
vczh
2022-12-09 16:45:30 -08:00
parent 03a5ee8544
commit cedfc035b9
16 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -112,5 +112,5 @@ public:
void SetColorizer(GuiMultilineTextBox* textBox, bool forXml)
{
textBox->SetColorizer(forXml ? new XmlColorizer : nullptr);
textBox->SetColorizer(forXml ? Ptr(new XmlColorizer) : nullptr);
}
@@ -298,7 +298,7 @@ namespace demo
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
if (!findWindow)
{
auto window = MakePtr<FindWindow>();
auto window = Ptr(new FindWindow);
window->textBox = textBox;
window->MoveToScreenCenter();
window->GetNativeWindow()->SetParent(GetNativeWindow());