Restore the use of wxListCtrl in report view in wxListbook.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Aug 2012 11:34:46 +0000 (11:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Aug 2012 11:34:46 +0000 (11:34 +0000)
commit947873e263cc974ec958884641a6a53d7f0e339b
treefd37a002e0a60932b1ac885e2b9590975a26cf9f
parent524a2c6e51b2e14758ee9dcd51fc3922198b5d13
Restore the use of wxListCtrl in report view in wxListbook.

This reverts r71965 for wxMSW as the list mode there doesn't work correctly if
there are sufficiently many items: the native control insists on laying them
out in multiple columns which is inappropriate for wxListbook, so use report
mode for horizontal wxListbooks. Do use the list mode in the vertical case as
we do want to have multiple columns -- and not rows -- then.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/listbook.h
src/generic/listbkg.cpp