diff options
Diffstat (limited to 'Demos/WidgetGallery/main.cpp')
-rwxr-xr-x | Demos/WidgetGallery/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/WidgetGallery/main.cpp b/Demos/WidgetGallery/main.cpp index fcbbf00ed2..788acf440e 100755 --- a/Demos/WidgetGallery/main.cpp +++ b/Demos/WidgetGallery/main.cpp @@ -44,7 +44,7 @@ int main(int argc, char** argv) button2->set_enabled(false); auto progress1 = GProgressBar::construct(main_widget); - auto timer = CTimer::create(100, [&] { + auto timer = CTimer::construct(100, [&] { progress1->set_value(progress1->value() + 1); if (progress1->value() == progress1->max()) progress1->set_value(progress1->min()); |