CtrlLib: ToolBar images not longer adjusted for dark theme, plugin/pcre: Fixed to compile

git-svn-id: svn://ultimatepp.org/upp/trunk@12880 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-03-23 09:54:12 +00:00
parent d98997c227
commit 97cbae192c
3 changed files with 3 additions and 11 deletions

View file

@ -210,8 +210,6 @@ void MenuItemBase::PaintTopItem(Draw& w, int state) {
Bar::Item& MenuItem::Image(const UPP::Image& img)
{
licon = img;
if(IsDarkColorFace() && !nodarkadjust)
licon = MakeImage(licon, AdjustForDarkBk);
Refresh();
return *this;
}
@ -219,8 +217,6 @@ Bar::Item& MenuItem::Image(const UPP::Image& img)
MenuItem& MenuItem::RightImage(const UPP::Image& img)
{
ricon = img;
if(IsDarkColorFace() && !nodarkadjust)
ricon = MakeImage(ricon, AdjustForDarkBk);
Refresh();
return *this;
}