diff options
Diffstat (limited to 'Demos/PaintTest/main.cpp')
-rw-r--r-- | Demos/PaintTest/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/PaintTest/main.cpp b/Demos/PaintTest/main.cpp index 971ae2ed60..3486c5f186 100644 --- a/Demos/PaintTest/main.cpp +++ b/Demos/PaintTest/main.cpp @@ -38,7 +38,7 @@ int main(int argc, char** argv) { GApplication app(argc, argv); - auto* window = new GWindow; + auto window = GWindow::construct(); window->set_rect(100, 100, 400, 400); window->set_title("Paint test"); |