ui.backend.windows: explicate quotation parameters in add-wm-handler
parent
d1d3a33617
commit
9cdb209d01
|
@ -506,7 +506,7 @@ SYMBOL: wm-handlers
|
||||||
|
|
||||||
H{ } clone wm-handlers set-global
|
H{ } clone wm-handlers set-global
|
||||||
|
|
||||||
: add-wm-handler ( quot wm -- )
|
: add-wm-handler ( quot: ( hWnd Msg wParam lParam -- LRESULT ) wm -- )
|
||||||
dup array?
|
dup array?
|
||||||
[ [ execute( -- wm ) add-wm-handler ] with each ]
|
[ [ execute( -- wm ) add-wm-handler ] with each ]
|
||||||
[ wm-handlers get-global set-at ] if ;
|
[ wm-handlers get-global set-at ] if ;
|
||||||
|
|
Loading…
Reference in New Issue