X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a01064f05bea04682cfde8d82b110d4c80299b..52437a76c384f7f27ff3632e152e71847b34f65e:/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 ) {