]> git.saurik.com Git - wxWidgets.git/commit
Still resize wxSplitterWindow children even when sash position doesn't change.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Sep 2011 11:27:17 +0000 (11:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Sep 2011 11:27:17 +0000 (11:27 +0000)
commite657c460a39fdc22b5f71a77a224f274e681e393
tree793a20d8d3249b1546cb7a7a44540baf8bb68f6c
parentb550ad2aec73683693eb7d7870524302e53fd6aa
Still resize wxSplitterWindow children even when sash position doesn't change.

Since the changes if r68876, the splitter windows were not resized correctly
if the splitter size in the direction orthogonal to its own didn't change.
This was an unintended side effect of the changes in that commit as it only
wanted to avoid calling SetSashPositionAndNotify() in this case, but
SizeWindows() should still be called.

Ensure that we do call it always from wxSplitterWindow::OnSize() to fix this.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/splitter.cpp