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:
parent
59e7f02424
commit
0e494ab0c3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user