X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a01064f05bea04682cfde8d82b110d4c80299b..835a347314148e6facab05ceb51c14c704a0d8a7:/src/msw/notebook.cpp diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index 53046b87da..8405625fcc 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -844,7 +844,11 @@ void wxNotebook::OnPaint(wxPaintEvent& WXUNUSED(event)) memdc.SelectObject(bmp); // if there is no special brush just use the solid background colour +#if wxUSE_UXTHEME HBRUSH hbr = (HBRUSH)m_hbrBackground; +#else + HBRUSH hbr = 0; +#endif wxBrush brush; if ( !hbr ) {