ui/wpf/UIwrapper/UIwrapper/container.cpp

changeset 88
04c81be1c5a0
parent 85
91f45354d1e2
child 101
1c943d43fa81
--- a/ui/wpf/UIwrapper/UIwrapper/container.cpp	Sat Feb 14 10:30:45 2015 +0100
+++ b/ui/wpf/UIwrapper/UIwrapper/container.cpp	Sat Feb 14 13:26:00 2015 +0100
@@ -27,5 +27,5 @@
 
 UI_EXPORT void __stdcall UIlayout_fill(gcroot<UI::Container^> *container, int fill) {
 	UI::Container ^ct = *container;
-	ct->Layout->Fill = fill;
+	ct->Layout->Fill = fill != 0;
 }

mercurial