aboutsummaryrefslogtreecommitdiff
path: root/demos/scroll_view
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-11-20 22:43:30 +0800
committercrupest <crupest@outlook.com>2021-11-20 22:43:30 +0800
commita60910cb3db6f47fd8f3b7f31648a9d0514d4f2c (patch)
tree32c01c22e21742ae0c9febb2cbc26339f99eec1d /demos/scroll_view
parent1a53ed0791d9793ed8030d3a44e833e5e7c4542b (diff)
downloadcru-a60910cb3db6f47fd8f3b7f31648a9d0514d4f2c.tar.gz
cru-a60910cb3db6f47fd8f3b7f31648a9d0514d4f2c.tar.bz2
cru-a60910cb3db6f47fd8f3b7f31648a9d0514d4f2c.zip
...
Diffstat (limited to 'demos/scroll_view')
-rw-r--r--demos/scroll_view/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/scroll_view/main.cpp b/demos/scroll_view/main.cpp
index be8bd228..c3593986 100644
--- a/demos/scroll_view/main.cpp
+++ b/demos/scroll_view/main.cpp
@@ -81,7 +81,7 @@ The cold never bothered me anyway)");
scroll_view->SetChild(text_block);
- window->Show();
+ window->GetWindowHost()->GetNativeWindow()->SetVisible(true);
return application->Run();
}