improve stability of event

This commit is contained in:
Jinhao
2016-04-10 15:23:44 +08:00
parent 88b9149f54
commit 07b5b19545
23 changed files with 118 additions and 121 deletions

View File

@@ -480,7 +480,7 @@ namespace nana
chose_ = true;
arg_datechooser evt_arg{ static_cast<nana::date_chooser*>(API::get_widget(window_handle)) };
API::events<nana::date_chooser>(window_handle).date_changed.emit(evt_arg);
API::events<nana::date_chooser>(window_handle).date_changed.emit(evt_arg, window_handle);
}
bool chose() const