mirror of https://github.com/buggins/dlangui.git
Fix warnings in helloworld example.
This commit is contained in:
parent
8a7245ba24
commit
9da549ebd8
|
@ -66,8 +66,8 @@ extern (C) int UIAppMain(string[] args) {
|
||||||
};
|
};
|
||||||
// show message box with content of editors
|
// show message box with content of editors
|
||||||
window.mainWidget.childById!Button("btnOk").click = delegate(Widget w) {
|
window.mainWidget.childById!Button("btnOk").click = delegate(Widget w) {
|
||||||
window.showMessageBox(UIString("Ok button pressed"d),
|
window.showMessageBox(UIString.fromRaw("Ok button pressed"d),
|
||||||
UIString("Editors content\nEdit1: "d ~ edit1.text ~ "\nEdit2: "d ~ edit2.text));
|
UIString.fromRaw("Editors content\nEdit1: "d ~ edit1.text ~ "\nEdit2: "d ~ edit2.text));
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue