- return wxNotebookBase::MSWGetBgBrushForChild(hDC, win);
-}
-
-wxColour wxNotebook::MSWGetBgColourForChild(wxWindow *win)
-{
- if ( m_hasBgCol )
- return GetBackgroundColour();
-
- // Experimental: don't do this since we're doing it in wxPanel
-#if 0 // defined(__POCKETPC__) || defined(__SMARTPHONE__)
- // For some reason, the pages will be grey by default.
- // Normally they should be white on these platforms.
- // (However the static control backgrounds are painted
- // in the correct colour, just not the rest of it.)
- // So let's give WinCE a hint.
- else if (!win->m_hasBgCol)
- return *wxWHITE;
-#endif
-
- if ( !wxUxThemeEngine::GetIfActive() )
- return wxNullColour;
-
- COLORREF c = (COLORREF)QueryBgBitmap(win);
-
- return c == CLR_INVALID ? wxNullColour : wxRGBToColour(c);