diff -r e624b6fa4c78 -r 04c81be1c5a0 ui/wpf/UIwrapper/UIwrapper/container.cpp --- 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 *container, int fill) { UI::Container ^ct = *container; - ct->Layout->Fill = fill; + ct->Layout->Fill = fill != 0; }