Added wxSimplebook class: a wxBookCtrl without controller.

This new control allows the program to show one of the several pages without
allowing the user to change them (or even see that there are several of them)
himself.

This class is fully inline, so it doesn't add anything to the library and
hence doesn't need neither wxUSE_SIMPLEBOOK nor the corresponding configure
option.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-08-30 20:21:54 +00:00
parent 2e18fe7139
commit cc699de848
13 changed files with 372 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ Classes:
@li wxChoicebook
@li wxListbook
@li wxNotebook
@li wxSimplebook
@li wxTreebook
@li wxToolbook
@@ -35,11 +36,15 @@ displayed one page at a time. wxWidgets has five variants of this control:
@li wxChoicebook: controlled by a wxChoice
@li wxListbook: controlled by a wxListCtrl
@li wxNotebook: uses a row of tabs
@li wxSimplebook: doesn't allow the user to change the page at all.
@li wxTreebook: controlled by a wxTreeCtrl
@li wxToolbook: controlled by a wxToolBar
See the @ref page_samples_notebook for an example of wxBookCtrl usage.
Notice that wxSimplebook is special in that it only allows the program to
change the selection, thus it's usually used in slightly different
circumstances than the other variants.
@section overview_bookctrl_bestbookctrl Best Book