Paint PopupWindow as popup menus

This commit is contained in:
David Capello 2014-04-19 16:07:01 -03:00
parent af4e714360
commit 2b3a4d1668
1 changed files with 1 additions and 4 deletions

View File

@ -1724,10 +1724,7 @@ void SkinTheme::paintPopupWindow(PaintEvent& ev)
Graphics* g = ev.getGraphics();
gfx::Rect pos = window->getClientBounds();
g->drawRect(getColor(ThemeColor::PopupWindowBorder), pos);
pos.shrink(1);
g->fillRect(window->getBgColor(), pos);
get_style("menubox")->paint(g, pos, NULL, Style::State());
pos.shrink(window->getBorder());
g->drawString(window->getText(),