capture_window is deprecated in favor of set_capture/release_capture
This commit is contained in:
@@ -469,8 +469,8 @@ namespace nana
|
||||
float_listbox::float_listbox(window wd, const rectangle & r, bool is_ignore_first_mouse_up)
|
||||
:base_type(wd, false, r, appear::bald<appear::floating, appear::no_activate>())
|
||||
{
|
||||
API::capture_window(handle(), true);
|
||||
API::capture_ignore_children(false);
|
||||
this->set_capture(false);
|
||||
|
||||
API::take_active(handle(), false, parent());
|
||||
auto & impl = get_drawer_trigger().get_drawer_impl();
|
||||
impl.clear_state();
|
||||
|
||||
Reference in New Issue
Block a user