diff --git a/Tutorial/GacUI_ControlTemplate/BlackSkin/Main.cpp b/Tutorial/GacUI_ControlTemplate/BlackSkin/Main.cpp index 39d10602..eef768a3 100644 --- a/Tutorial/GacUI_ControlTemplate/BlackSkin/Main.cpp +++ b/Tutorial/GacUI_ControlTemplate/BlackSkin/Main.cpp @@ -19,9 +19,8 @@ void GuiMain() { LoadDemoTypes(); { - List errors; FileStream fileStream(L"../UIRes/BlackSkin.bin", FileStream::ReadOnly); - auto resource = GuiResource::LoadPrecompiledBinary(fileStream, errors); + auto resource = GuiResource::LoadPrecompiledBinary(fileStream); GetResourceManager()->SetResource(L"Resource", resource); } demo::MainWindow window; diff --git a/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.cpp b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.cpp index b6f44977..f3f75fc4 100644 --- a/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.cpp +++ b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.cpp @@ -24248,7 +24248,7 @@ namespace demo ::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_204)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = 5; __vwsn_temp__.top = 5; __vwsn_temp__.right = 5; __vwsn_temp__.bottom = 5; return __vwsn_temp__; }()); } { - ::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_203)->SetText(::vl::WString(L"\r\n This is the first line of the multilined text.\r\n This is the second line of the multilined text.\r\n This is the third line of the multilined text.", false)); + ::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_203)->SetText(::vl::WString(L"This is the first line of the multilined text.\r\nThis is the second line of the multilined text.\r\nThis is the third line of the multilined text.", false)); } { ::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_202)->AddChild(static_cast<::vl::presentation::controls::GuiControl*>(::vl::__vwsn::This(this)->__vwsn_precompile_203));