From 84adefa331c4159d432d22840663c38f155cd4c1 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Fri, 20 Nov 2009 14:54:40 +0000 Subject: The R13B03 release. --- lib/wx/api_gen/wx_extra/wxe_evth.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lib/wx/api_gen/wx_extra/wxe_evth.h (limited to 'lib/wx/api_gen/wx_extra/wxe_evth.h') diff --git a/lib/wx/api_gen/wx_extra/wxe_evth.h b/lib/wx/api_gen/wx_extra/wxe_evth.h new file mode 100644 index 0000000000..9af603b9e2 --- /dev/null +++ b/lib/wx/api_gen/wx_extra/wxe_evth.h @@ -0,0 +1,25 @@ + +// This add some extra functions, special code is in the compiler +// this file is currently not used at all except to get the inherited +// functions in the erlang modules. + + +class wxeEvtHandler : public wxObject +{ + public: + // Dynamic association of a member function handler with the event handler, + // winid and event type + void Connect(int eventType, + int options = -1); + + // Disconnect + + // Convenience function: take just one id + void Disconnect(int eventType, int winid = -1); + + // Even more convenient: without id (same as using id of wxID_ANY) + void Disconnect(int eventType); + + void Disconnect(); + +} -- cgit v1.2.3