Add wxToolbook::EnablePage()

Add functions to enable or disable pages inside wxToolbook.

Using the new functions you can present disabled icons so that the user
can expect more functionality and you do not need to add/remove pages in
different states.

Closes https://github.com/wxWidgets/wxWidgets/pull/1038
This commit is contained in:
Stefan Ziegler
2018-12-03 14:02:11 +01:00
committed by Vadim Zeitlin
parent 58f3dcf780
commit 974b7c0990
4 changed files with 71 additions and 2 deletions

View File

@@ -140,6 +140,7 @@ All (GUI):
- Add wxDisplay::GetPPI().
- Add wxJoystickEvent::GetButtonOrdinal() (Mick Phillips).
- Add wxGraphicsContext::GetWindow() and implement wxGraphicsContext::GetDPI().
- Add wxToolbook::EnablePage() (Stefan Ziegler).
wxGTK: