]> git.saurik.com Git - wxWidgets.git/commit
Change wxBoxSizer::AddSpacer() to only add space in sizer direction.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Sep 2009 17:05:32 +0000 (17:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Sep 2009 17:05:32 +0000 (17:05 +0000)
commit1a2df6a75b3d96b35e29b1cf392758cbeeef93e0
treed91388777fce1b42128c72e1b0797f318754399e
parentd1b5dd559600a58350edd30b0762e6573b1b47a1
Change wxBoxSizer::AddSpacer() to only add space in sizer direction.

It used to add a spacer with the given size in both directions but this was
counter-intuitive and wasn't expected even by the original author of this code
so change it to behave more reasonably.

Closes #11197.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/sizer.h
interface/wx/sizer.h
src/common/sizer.cpp