fix for palette restoration in wxToolBarSimple
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
05c9ccbe62
commit
a6b27b78d3
@ -557,6 +557,7 @@ void wxToolBarSimple::DrawTool(wxDC& dc, wxToolBarToolBase *toolBase)
|
||||
|
||||
#if wxUSE_PALETTE
|
||||
#ifndef __WXGTK__
|
||||
if (bitmap.GetPalette())
|
||||
memDC.SetPalette(wxNullPalette);
|
||||
#endif
|
||||
#endif // wxUSE_PALETTE
|
||||
|
Loading…
Reference in New Issue
Block a user