]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/notebook.h
Simplify and correct MSW selection of background brush for children painting.
[wxWidgets.git] / interface / wx / notebook.h
index 04f135c8088419972f327651f9f0284610bb6c09..19b575d27ebece19090e2367a1890ec37945cc86 100644 (file)
@@ -42,7 +42,7 @@
     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.
@@ -65,7 +65,7 @@
 
     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.
@@ -73,7 +73,7 @@
     overall theme, use:
     @code
     wxColour col = notebook->GetThemeBackgroundColour();
-    if (col.Ok())
+    if (col.IsOk())
     {
         page->SetBackgroundColour(col);
     }
@@ -85,7 +85,8 @@
 
 
     @library{wxcore}
-    @category{miscwnd}
+    @category{bookctrl}
+    @appearance{notebook.png}
 
     @see wxBookCtrl, wxBookCtrlEvent, wxImageList, @ref page_samples_notebook
 */