- if (HasFlag(wxNB_NOPAGETHEME) || (wxSystemOptions::HasOption(wxT("msw.notebook.themed-background")) &&
- wxSystemOptions::GetOptionInt(wxT("msw.notebook.themed-background")) == 0))
- {
- wxColour col = GetThemeBackgroundColour();
- if (col.Ok())
- {
- pPage->SetBackgroundColour(col);
- }
- }
-