fix an issue of button(#67)

This commit is contained in:
Jinhao
2015-07-22 01:05:52 +08:00
parent 5bc1568f3e
commit e47d8504ea
3 changed files with 97 additions and 105 deletions

View File

@@ -916,6 +916,9 @@ namespace detail
// the return value is NULL
window_manager::core_window_t* window_manager::capture_window(core_window_t* wd, bool value)
{
if (!this->available(wd))
return nullptr;
nana::point pos = native_interface::cursor_position();
auto & attr_cap = attr_.capture.history;