code review

This commit is contained in:
Jinhao
2015-10-07 18:01:46 +08:00
parent c6f13c1748
commit 573a5bee86
18 changed files with 36 additions and 333 deletions

View File

@@ -255,31 +255,6 @@ namespace nana
instance(true);
}
private:
/*
void _m_enter(const arg_mouse& arg) //deprecated
{
pair_t & pr = _m_get(arg.window_handle);
if(pr.second.size())
{
this->show(pr.second);
}
}
*/
/*
void _m_leave(const arg_mouse&) //deprecated
{
close();
}
*/
/*
void _m_destroy(const arg_destroy& arg) //deprecated
{
_m_untip(arg.window_handle);
}
*/
void _m_untip(window wd)
{
for (auto i = cont_.begin(); i != cont_.end(); ++i)
@@ -313,8 +288,6 @@ namespace nana
this->show(pr.second);
});
//auto leave_fn = std::bind(&controller::_m_leave, this, std::placeholders::_1); //deprecated
auto leave_fn = [this]{
this->close();
};