ex: procedure on_click( atom this, atom event_type, atom id, atom event ) -- do stuff here end procedure set_event_handler( my_button, get_id(my_button), wxEVT_COMMAND_BUTTON_CLICKED, routine_id("on_click"))
procedure on_click( atom this, atom event_type, atom id, atom event ) -- do stuff here end procedure
set_event_handler( my_button, get_id(my_button), wxEVT_COMMAND_BUTTON_CLICKED, routine_id("on_click"))
Changes the label on a button.