X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d5c2a8eb521f99044a04ee5aa7be4a5619cb918..59840ba3b16e4baf3228dd79c6b7ae40b55cf488:/src/univ/notebook.cpp diff --git a/src/univ/notebook.cpp b/src/univ/notebook.cpp index 17d7aefce0..252723acd7 100644 --- a/src/univ/notebook.cpp +++ b/src/univ/notebook.cpp @@ -466,6 +466,7 @@ void wxNotebook::DoDrawTab(wxDC& dc, const wxRect& rect, size_t n) dc.SelectObject(bmp); dc.SetBackground(wxBrush(GetBackgroundColour(), wxSOLID)); m_imageList->Draw(image, dc, 0, 0, wxIMAGELIST_DRAW_NORMAL, TRUE); + dc.SelectObject(wxNullBitmap); #else bmp = *m_imageList->GetBitmap(image); #endif