1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
use super::*;
extern "C" {
// wxEvent
pub fn wxEvent_CLASSINFO() -> *mut c_void;
// NOT_SUPPORTED: pub fn wxEvent_new(id: c_int, event_type: wxEventType) -> *mut c_void;
pub fn wxEvent_Clone(self_: *const c_void) -> *mut c_void;
pub fn wxEvent_GetEventObject(self_: *const c_void) -> *mut c_void;
// NOT_SUPPORTED: pub fn wxEvent_GetEventType(self_: *const c_void) -> wxEventType;
// NOT_SUPPORTED: pub fn wxEvent_GetEventCategory(self_: *const c_void) -> wxEventCategory;
pub fn wxEvent_GetId(self_: *const c_void) -> c_int;
pub fn wxEvent_GetEventUserData(self_: *const c_void) -> *mut c_void;
pub fn wxEvent_GetSkipped(self_: *const c_void) -> bool;
pub fn wxEvent_GetTimestamp(self_: *const c_void) -> c_long;
pub fn wxEvent_IsCommandEvent(self_: *const c_void) -> bool;
pub fn wxEvent_ResumePropagation(self_: *mut c_void, propagation_level: c_int);
pub fn wxEvent_SetEventObject(self_: *mut c_void, object: *mut c_void);
// NOT_SUPPORTED: pub fn wxEvent_SetEventType(self_: *mut c_void, type_: wxEventType);
pub fn wxEvent_SetId(self_: *mut c_void, id: c_int);
pub fn wxEvent_SetTimestamp(self_: *mut c_void, time_stamp: c_long);
pub fn wxEvent_ShouldPropagate(self_: *const c_void) -> bool;
pub fn wxEvent_Skip(self_: *mut c_void, skip: bool);
pub fn wxEvent_StopPropagation(self_: *mut c_void) -> c_int;
// wxEvtHandler
pub fn wxEvtHandler_CLASSINFO() -> *mut c_void;
pub fn wxEvtHandler_QueueEvent(self_: *mut c_void, event: *mut c_void);
pub fn wxEvtHandler_AddPendingEvent(self_: *mut c_void, event: *const c_void);
// NOT_SUPPORTED: pub fn wxEvtHandler_CallAfter(self_: *mut c_void, method: *mut c_void, x1: T1, None: ...);
// BLOCKED: pub fn wxEvtHandler_CallAfter1(self_: *mut c_void, functor: *const c_void);
pub fn wxEvtHandler_ProcessEvent(self_: *mut c_void, event: *mut c_void) -> bool;
pub fn wxEvtHandler_ProcessEventLocally(self_: *mut c_void, event: *mut c_void) -> bool;
pub fn wxEvtHandler_SafelyProcessEvent(self_: *mut c_void, event: *mut c_void) -> bool;
pub fn wxEvtHandler_ProcessPendingEvents(self_: *mut c_void);
pub fn wxEvtHandler_DeletePendingEvents(self_: *mut c_void);
// NOT_SUPPORTED: pub fn wxEvtHandler_Connect(self_: *mut c_void, id: c_int, last_id: c_int, event_type: wxEventType, function: wxObjectEventFunction, user_data: *mut c_void, event_sink: *mut c_void);
// NOT_SUPPORTED: pub fn wxEvtHandler_Connect1(self_: *mut c_void, id: c_int, event_type: wxEventType, function: wxObjectEventFunction, user_data: *mut c_void, event_sink: *mut c_void);
// NOT_SUPPORTED: pub fn wxEvtHandler_Connect2(self_: *mut c_void, event_type: wxEventType, function: wxObjectEventFunction, user_data: *mut c_void, event_sink: *mut c_void);
// NOT_SUPPORTED: pub fn wxEvtHandler_Disconnect(self_: *mut c_void, event_type: wxEventType, function: wxObjectEventFunction, user_data: *mut c_void, event_sink: *mut c_void) -> bool;
// NOT_SUPPORTED: pub fn wxEvtHandler_Disconnect1(self_: *mut c_void, id: c_int, event_type: wxEventType, function: wxObjectEventFunction, user_data: *mut c_void, event_sink: *mut c_void) -> bool;
// NOT_SUPPORTED: pub fn wxEvtHandler_Disconnect2(self_: *mut c_void, id: c_int, last_id: c_int, event_type: wxEventType, function: wxObjectEventFunction, user_data: *mut c_void, event_sink: *mut c_void) -> bool;
// NOT_SUPPORTED: pub fn wxEvtHandler_Bind(self_: *mut c_void, event_type: *const c_void, functor: Functor, id: c_int, last_id: c_int, user_data: *mut c_void);
// BLOCKED: pub fn wxEvtHandler_Bind1(self_: *mut c_void, event_type: *const c_void, method: *mut c_void, handler: *mut c_void, id: c_int, last_id: c_int, user_data: *mut c_void);
// NOT_SUPPORTED: pub fn wxEvtHandler_Unbind(self_: *mut c_void, event_type: *const c_void, functor: Functor, id: c_int, last_id: c_int, user_data: *mut c_void) -> bool;
// BLOCKED: pub fn wxEvtHandler_Unbind1(self_: *mut c_void, event_type: *const c_void, method: *mut c_void, handler: *mut c_void, id: c_int, last_id: c_int, user_data: *mut c_void) -> bool;
// BLOCKED: pub fn wxEvtHandler_GetClientData(self_: *const c_void) -> *mut c_void;
pub fn wxEvtHandler_GetClientObject(self_: *const c_void) -> *mut c_void;
// BLOCKED: pub fn wxEvtHandler_SetClientData(self_: *mut c_void, data: *mut c_void);
pub fn wxEvtHandler_SetClientObject(self_: *mut c_void, data: *mut c_void);
pub fn wxEvtHandler_GetEvtHandlerEnabled(self_: *const c_void) -> bool;
pub fn wxEvtHandler_GetNextHandler(self_: *const c_void) -> *mut c_void;
pub fn wxEvtHandler_GetPreviousHandler(self_: *const c_void) -> *mut c_void;
pub fn wxEvtHandler_SetEvtHandlerEnabled(self_: *mut c_void, enabled: bool);
pub fn wxEvtHandler_SetNextHandler(self_: *mut c_void, handler: *mut c_void);
pub fn wxEvtHandler_SetPreviousHandler(self_: *mut c_void, handler: *mut c_void);
pub fn wxEvtHandler_Unlink(self_: *mut c_void);
pub fn wxEvtHandler_IsUnlinked(self_: *const c_void) -> bool;
pub fn wxEvtHandler_AddFilter(filter: *mut c_void);
pub fn wxEvtHandler_RemoveFilter(filter: *mut c_void);
pub fn wxEvtHandler_new() -> *mut c_void;
// DTOR: pub fn wxEvtHandler_~wxEvtHandler(self_: *mut c_void);
}