// Purpose: interface of wxNotebook
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
The styles wxNB_LEFT, RIGHT and BOTTOM are not supported under
Microsoft Windows XP when using visual themes.
- @beginEventTable{wxBookCtrlEvent}
+ @beginEventEmissionTable{wxBookCtrlEvent}
@event{EVT_NOTEBOOK_PAGE_CHANGED(id, func)}
The page selection was changed.
Processes a @c wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED event.
To disable themed pages globally:
@code
- wxSystemOptions::SetOption(wxT("msw.notebook.themed-background"), 0);
+ wxSystemOptions::SetOption("msw.notebook.themed-background", 0);
@endcode
Set the value to 1 to enable it again.
overall theme, use:
@code
wxColour col = notebook->GetThemeBackgroundColour();
- if (col.Ok())
+ if (col.IsOk())
{
page->SetBackgroundColour(col);
}
@library{wxcore}
- @category{miscwnd}
+ @category{bookctrl}
+ @appearance{notebook.png}
@see wxBookCtrl, wxBookCtrlEvent, wxImageList, @ref page_samples_notebook
*/