From 9da549ebd825333b5bd8d228f4cb0f41dc97b0fa Mon Sep 17 00:00:00 2001 From: and3md Date: Wed, 16 Aug 2017 22:27:46 +0200 Subject: [PATCH] Fix warnings in helloworld example. --- examples/helloworld/src/helloworld.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/helloworld/src/helloworld.d b/examples/helloworld/src/helloworld.d index ed2713d9..f0c948b1 100644 --- a/examples/helloworld/src/helloworld.d +++ b/examples/helloworld/src/helloworld.d @@ -66,8 +66,8 @@ extern (C) int UIAppMain(string[] args) { }; // show message box with content of editors window.mainWidget.childById!Button("btnOk").click = delegate(Widget w) { - window.showMessageBox(UIString("Ok button pressed"d), - UIString("Editors content\nEdit1: "d ~ edit1.text ~ "\nEdit2: "d ~ edit2.text)); + window.showMessageBox(UIString.fromRaw("Ok button pressed"d), + UIString.fromRaw("Editors content\nEdit1: "d ~ edit1.text ~ "\nEdit2: "d ~ edit2.text)); return true; };