mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-10 03:13:28 +00:00
maybe
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@749 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -532,10 +532,13 @@ void MwHideCursor(MwWidget handle) {
|
||||
|
||||
void MwDispatchUserHandler(MwWidget handle, const char* key, void* handler_data) {
|
||||
int ind = shgeti(handle->handler, key);
|
||||
int p = handle->prop_event;
|
||||
if(ind == -1) return;
|
||||
if(handle->destroyed) return;
|
||||
|
||||
if(p) handle->prop_event = 0;
|
||||
handle->handler[ind].value(handle, handle->handler[ind].user_data, handler_data);
|
||||
if(p) handle->prop_event = 1;
|
||||
}
|
||||
|
||||
void MwAddUserHandler(MwWidget handle, const char* key, MwUserHandler handler, void* user_data) {
|
||||
|
||||
Reference in New Issue
Block a user