fix button and progress issues(#325,#327)

This commit is contained in:
Jinhao
2018-07-17 00:57:05 +08:00
parent 8e546695d7
commit fe6965c4d8
2 changed files with 7 additions and 6 deletions

View File

@@ -150,11 +150,12 @@ namespace nana{ namespace drawerbase
if (false == cite_.draw(graph, attr_.bgcolor, attr_.fgcolor, ::nana::rectangle{ graph.size() }, e_state))
{
if (!API::is_transparent_background(*wdg_))
{
if (API::is_transparent_background(*wdg_))
API::dev::copy_transparent_background(*wdg_, graph);
else
_m_draw_background(graph);
_m_draw_border(graph);
}
_m_draw_border(graph);
}
_m_draw_title(graph, eb);
}