X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c14fc8ccaea1a0c7fd074d75936713d6f61c87e..232b2162776e08c0b16d5280b90f5c075f38c667:/interface/wx/notebook.h diff --git a/interface/wx/notebook.h b/interface/wx/notebook.h index 2e2003e884..a04135c4ac 100644 --- a/interface/wx/notebook.h +++ b/interface/wx/notebook.h @@ -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); }