mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-08-18 09:48:10 +08:00
Update tutorials
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user