Use wxHORIZONTAL default for wxWrapSizer in wxSizerXmlHandler.

For consistency with all other wxSizer kinds, use the default of
wxHORIZONTAL instead of 0 (which has no meaning here) for wxWrapSizer
too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2013-10-18 14:59:55 +00:00
parent 59e7f02424
commit 0e494ab0c3

View File

@ -352,7 +352,7 @@ wxGridBagSizer* wxSizerXmlHandler::Handle_wxGridBagSizer()
wxSizer* wxSizerXmlHandler::Handle_wxWrapSizer()
{
wxWrapSizer *sizer = new wxWrapSizer(GetStyle("orient"), GetStyle("flag"));
wxWrapSizer *sizer = new wxWrapSizer(GetStyle("orient", wxHORIZONTAL), GetStyle("flag"));
return sizer;
}