]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/notebook.h
added support for wxCAL_SHOW_WEEK_NUMBERS to generic version of wxCalendarCtrl (...
[wxWidgets.git] / interface / wx / notebook.h
index 2e2003e884cf9414f006f1a41469ee5ae72f320b..a04135c4ace70833df99f22c7604fb1dc183a2d2 100644 (file)
@@ -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);
     }