2 * FILE : src/gtk/help.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithelpc
56 #define SWIG_name "helpc"
59 #include <wx/cshelp.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
90 static void *SwigwxHelpEventTowxCommandEvent(void *ptr
) {
93 src
= (wxHelpEvent
*) ptr
;
94 dest
= (wxCommandEvent
*) src
;
98 static void *SwigwxHelpEventTowxEvent(void *ptr
) {
101 src
= (wxHelpEvent
*) ptr
;
102 dest
= (wxEvent
*) src
;
103 return (void *) dest
;
106 static void *SwigwxHelpEventTowxObject(void *ptr
) {
109 src
= (wxHelpEvent
*) ptr
;
110 dest
= (wxObject
*) src
;
111 return (void *) dest
;
114 #define new_wxHelpEvent(_swigarg0,_swigarg1,_swigarg2) (new wxHelpEvent(_swigarg0,_swigarg1,_swigarg2))
115 static PyObject
*_wrap_new_wxHelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
116 PyObject
* _resultobj
;
117 wxHelpEvent
* _result
;
118 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
119 wxWindowID _arg1
= (wxWindowID
) 0;
120 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
122 PyObject
* _obj2
= 0;
123 char *_kwnames
[] = { "type","id","pt", NULL
};
127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiO:new_wxHelpEvent",_kwnames
,&_arg0
,&_arg1
,&_obj2
))
132 if (! wxPoint_helper(_obj2
, &_arg2
))
136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
137 _result
= (wxHelpEvent
*)new_wxHelpEvent(_arg0
,_arg1
,*_arg2
);
139 wxPyEndAllowThreads(__tstate
);
140 if (PyErr_Occurred()) return NULL
;
142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHelpEvent_p");
143 _resultobj
= Py_BuildValue("s",_ptemp
);
146 _resultobj
= Py_None
;
151 #define wxHelpEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
152 static PyObject
*_wrap_wxHelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
156 PyObject
* _argo0
= 0;
157 char *_kwnames
[] = { "self", NULL
};
161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpEvent_GetPosition",_kwnames
,&_argo0
))
164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_GetPosition. Expected _wxHelpEvent_p.");
171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
172 const wxPoint
& _result_ref
= wxHelpEvent_GetPosition(_arg0
);
173 _result
= (wxPoint
*) &_result_ref
;
175 wxPyEndAllowThreads(__tstate
);
176 if (PyErr_Occurred()) return NULL
;
178 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
179 _resultobj
= Py_BuildValue("s",_ptemp
);
182 _resultobj
= Py_None
;
187 #define wxHelpEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
188 static PyObject
*_wrap_wxHelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
189 PyObject
* _resultobj
;
192 PyObject
* _argo0
= 0;
194 PyObject
* _obj1
= 0;
195 char *_kwnames
[] = { "self","pos", NULL
};
198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_SetPosition. Expected _wxHelpEvent_p.");
209 if (! wxPoint_helper(_obj1
, &_arg1
))
213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
214 wxHelpEvent_SetPosition(_arg0
,*_arg1
);
216 wxPyEndAllowThreads(__tstate
);
217 if (PyErr_Occurred()) return NULL
;
218 } Py_INCREF(Py_None
);
219 _resultobj
= Py_None
;
223 #define wxHelpEvent_GetLink(_swigobj) (_swigobj->GetLink())
224 static PyObject
*_wrap_wxHelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
228 PyObject
* _argo0
= 0;
229 char *_kwnames
[] = { "self", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpEvent_GetLink",_kwnames
,&_argo0
))
235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_GetLink. Expected _wxHelpEvent_p.");
242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
243 const wxString
& _result_ref
= wxHelpEvent_GetLink(_arg0
);
244 _result
= (wxString
*) &_result_ref
;
246 wxPyEndAllowThreads(__tstate
);
247 if (PyErr_Occurred()) return NULL
;
250 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
252 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
258 #define wxHelpEvent_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
259 static PyObject
*_wrap_wxHelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
263 PyObject
* _argo0
= 0;
264 PyObject
* _obj1
= 0;
265 char *_kwnames
[] = { "self","link", NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpEvent_SetLink",_kwnames
,&_argo0
,&_obj1
))
271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_SetLink. Expected _wxHelpEvent_p.");
278 _arg1
= wxString_in_helper(_obj1
);
283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
284 wxHelpEvent_SetLink(_arg0
,*_arg1
);
286 wxPyEndAllowThreads(__tstate
);
287 if (PyErr_Occurred()) return NULL
;
288 } Py_INCREF(Py_None
);
289 _resultobj
= Py_None
;
297 #define wxHelpEvent_GetTarget(_swigobj) (_swigobj->GetTarget())
298 static PyObject
*_wrap_wxHelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
302 PyObject
* _argo0
= 0;
303 char *_kwnames
[] = { "self", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpEvent_GetTarget",_kwnames
,&_argo0
))
309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_GetTarget. Expected _wxHelpEvent_p.");
316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
317 const wxString
& _result_ref
= wxHelpEvent_GetTarget(_arg0
);
318 _result
= (wxString
*) &_result_ref
;
320 wxPyEndAllowThreads(__tstate
);
321 if (PyErr_Occurred()) return NULL
;
324 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
326 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
332 #define wxHelpEvent_SetTarget(_swigobj,_swigarg0) (_swigobj->SetTarget(_swigarg0))
333 static PyObject
*_wrap_wxHelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
337 PyObject
* _argo0
= 0;
338 PyObject
* _obj1
= 0;
339 char *_kwnames
[] = { "self","target", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpEvent_SetTarget",_kwnames
,&_argo0
,&_obj1
))
345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_SetTarget. Expected _wxHelpEvent_p.");
352 _arg1
= wxString_in_helper(_obj1
);
357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
358 wxHelpEvent_SetTarget(_arg0
,*_arg1
);
360 wxPyEndAllowThreads(__tstate
);
361 if (PyErr_Occurred()) return NULL
;
362 } Py_INCREF(Py_None
);
363 _resultobj
= Py_None
;
371 static void *SwigwxContextMenuEventTowxCommandEvent(void *ptr
) {
372 wxContextMenuEvent
*src
;
373 wxCommandEvent
*dest
;
374 src
= (wxContextMenuEvent
*) ptr
;
375 dest
= (wxCommandEvent
*) src
;
376 return (void *) dest
;
379 static void *SwigwxContextMenuEventTowxEvent(void *ptr
) {
380 wxContextMenuEvent
*src
;
382 src
= (wxContextMenuEvent
*) ptr
;
383 dest
= (wxEvent
*) src
;
384 return (void *) dest
;
387 static void *SwigwxContextMenuEventTowxObject(void *ptr
) {
388 wxContextMenuEvent
*src
;
390 src
= (wxContextMenuEvent
*) ptr
;
391 dest
= (wxObject
*) src
;
392 return (void *) dest
;
395 #define new_wxContextMenuEvent(_swigarg0,_swigarg1,_swigarg2) (new wxContextMenuEvent(_swigarg0,_swigarg1,_swigarg2))
396 static PyObject
*_wrap_new_wxContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
398 wxContextMenuEvent
* _result
;
399 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
400 wxWindowID _arg1
= (wxWindowID
) 0;
401 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
403 PyObject
* _obj2
= 0;
404 char *_kwnames
[] = { "type","id","pt", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiO:new_wxContextMenuEvent",_kwnames
,&_arg0
,&_arg1
,&_obj2
))
413 if (! wxPoint_helper(_obj2
, &_arg2
))
417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 _result
= (wxContextMenuEvent
*)new_wxContextMenuEvent(_arg0
,_arg1
,*_arg2
);
420 wxPyEndAllowThreads(__tstate
);
421 if (PyErr_Occurred()) return NULL
;
423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextMenuEvent_p");
424 _resultobj
= Py_BuildValue("s",_ptemp
);
427 _resultobj
= Py_None
;
432 #define wxContextMenuEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
433 static PyObject
*_wrap_wxContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
436 wxContextMenuEvent
* _arg0
;
437 PyObject
* _argo0
= 0;
438 char *_kwnames
[] = { "self", NULL
};
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxContextMenuEvent_GetPosition",_kwnames
,&_argo0
))
445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextMenuEvent_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextMenuEvent_GetPosition. Expected _wxContextMenuEvent_p.");
452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
453 const wxPoint
& _result_ref
= wxContextMenuEvent_GetPosition(_arg0
);
454 _result
= (wxPoint
*) &_result_ref
;
456 wxPyEndAllowThreads(__tstate
);
457 if (PyErr_Occurred()) return NULL
;
459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
460 _resultobj
= Py_BuildValue("s",_ptemp
);
463 _resultobj
= Py_None
;
468 #define wxContextMenuEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
469 static PyObject
*_wrap_wxContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
470 PyObject
* _resultobj
;
471 wxContextMenuEvent
* _arg0
;
473 PyObject
* _argo0
= 0;
475 PyObject
* _obj1
= 0;
476 char *_kwnames
[] = { "self","pos", NULL
};
479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxContextMenuEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextMenuEvent_p")) {
484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextMenuEvent_SetPosition. Expected _wxContextMenuEvent_p.");
490 if (! wxPoint_helper(_obj1
, &_arg1
))
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 wxContextMenuEvent_SetPosition(_arg0
,*_arg1
);
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
499 } Py_INCREF(Py_None
);
500 _resultobj
= Py_None
;
504 static void *SwigwxContextHelpTowxObject(void *ptr
) {
507 src
= (wxContextHelp
*) ptr
;
508 dest
= (wxObject
*) src
;
509 return (void *) dest
;
512 #define new_wxContextHelp(_swigarg0,_swigarg1) (new wxContextHelp(_swigarg0,_swigarg1))
513 static PyObject
*_wrap_new_wxContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
515 wxContextHelp
* _result
;
516 wxWindow
* _arg0
= (wxWindow
*) NULL
;
517 bool _arg1
= (bool ) TRUE
;
518 PyObject
* _argo0
= 0;
519 int tempbool1
= (int) TRUE
;
520 char *_kwnames
[] = { "window","doNow", NULL
};
524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxContextHelp",_kwnames
,&_argo0
,&tempbool1
))
527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxContextHelp. Expected _wxWindow_p.");
533 _arg1
= (bool ) tempbool1
;
535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
536 _result
= (wxContextHelp
*)new_wxContextHelp(_arg0
,_arg1
);
538 wxPyEndAllowThreads(__tstate
);
539 if (PyErr_Occurred()) return NULL
;
541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextHelp_p");
542 _resultobj
= Py_BuildValue("s",_ptemp
);
545 _resultobj
= Py_None
;
550 #define delete_wxContextHelp(_swigobj) (delete _swigobj)
551 static PyObject
*_wrap_delete_wxContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
553 wxContextHelp
* _arg0
;
554 PyObject
* _argo0
= 0;
555 char *_kwnames
[] = { "self", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxContextHelp",_kwnames
,&_argo0
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextHelp_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxContextHelp. Expected _wxContextHelp_p.");
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 delete_wxContextHelp(_arg0
);
571 wxPyEndAllowThreads(__tstate
);
572 if (PyErr_Occurred()) return NULL
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
578 #define wxContextHelp_BeginContextHelp(_swigobj,_swigarg0) (_swigobj->BeginContextHelp(_swigarg0))
579 static PyObject
*_wrap_wxContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
582 wxContextHelp
* _arg0
;
583 wxWindow
* _arg1
= (wxWindow
*) NULL
;
584 PyObject
* _argo0
= 0;
585 PyObject
* _argo1
= 0;
586 char *_kwnames
[] = { "self","window", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxContextHelp_BeginContextHelp",_kwnames
,&_argo0
,&_argo1
))
592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextHelp_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextHelp_BeginContextHelp. Expected _wxContextHelp_p.");
599 if (_argo1
== Py_None
) { _arg1
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxContextHelp_BeginContextHelp. Expected _wxWindow_p.");
606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
607 _result
= (bool )wxContextHelp_BeginContextHelp(_arg0
,_arg1
);
609 wxPyEndAllowThreads(__tstate
);
610 if (PyErr_Occurred()) return NULL
;
611 } _resultobj
= Py_BuildValue("i",_result
);
615 #define wxContextHelp_EndContextHelp(_swigobj) (_swigobj->EndContextHelp())
616 static PyObject
*_wrap_wxContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
619 wxContextHelp
* _arg0
;
620 PyObject
* _argo0
= 0;
621 char *_kwnames
[] = { "self", NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxContextHelp_EndContextHelp",_kwnames
,&_argo0
))
627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextHelp_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextHelp_EndContextHelp. Expected _wxContextHelp_p.");
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 _result
= (bool )wxContextHelp_EndContextHelp(_arg0
);
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) return NULL
;
639 } _resultobj
= Py_BuildValue("i",_result
);
643 static void *SwigwxContextHelpButtonTowxBitmapButton(void *ptr
) {
644 wxContextHelpButton
*src
;
645 wxBitmapButton
*dest
;
646 src
= (wxContextHelpButton
*) ptr
;
647 dest
= (wxBitmapButton
*) src
;
648 return (void *) dest
;
651 static void *SwigwxContextHelpButtonTowxButton(void *ptr
) {
652 wxContextHelpButton
*src
;
654 src
= (wxContextHelpButton
*) ptr
;
655 dest
= (wxButton
*) src
;
656 return (void *) dest
;
659 static void *SwigwxContextHelpButtonTowxControl(void *ptr
) {
660 wxContextHelpButton
*src
;
662 src
= (wxContextHelpButton
*) ptr
;
663 dest
= (wxControl
*) src
;
664 return (void *) dest
;
667 static void *SwigwxContextHelpButtonTowxWindow(void *ptr
) {
668 wxContextHelpButton
*src
;
670 src
= (wxContextHelpButton
*) ptr
;
671 dest
= (wxWindow
*) src
;
672 return (void *) dest
;
675 static void *SwigwxContextHelpButtonTowxEvtHandler(void *ptr
) {
676 wxContextHelpButton
*src
;
678 src
= (wxContextHelpButton
*) ptr
;
679 dest
= (wxEvtHandler
*) src
;
680 return (void *) dest
;
683 static void *SwigwxContextHelpButtonTowxObject(void *ptr
) {
684 wxContextHelpButton
*src
;
686 src
= (wxContextHelpButton
*) ptr
;
687 dest
= (wxObject
*) src
;
688 return (void *) dest
;
691 #define new_wxContextHelpButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxContextHelpButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
692 static PyObject
*_wrap_new_wxContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
694 wxContextHelpButton
* _result
;
696 wxWindowID _arg1
= (wxWindowID
) (wxID_CONTEXT_HELP
);
697 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
698 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
699 long _arg4
= (long ) wxBU_AUTODRAW
;
700 PyObject
* _argo0
= 0;
702 PyObject
* _obj2
= 0;
704 PyObject
* _obj3
= 0;
705 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxContextHelpButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxContextHelpButton. Expected _wxWindow_p.");
721 if (! wxPoint_helper(_obj2
, &_arg2
))
727 if (! wxSize_helper(_obj3
, &_arg3
))
731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
732 _result
= (wxContextHelpButton
*)new_wxContextHelpButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
734 wxPyEndAllowThreads(__tstate
);
735 if (PyErr_Occurred()) return NULL
;
737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextHelpButton_p");
738 _resultobj
= Py_BuildValue("s",_ptemp
);
741 _resultobj
= Py_None
;
746 static PyObject
*_wrap_wxHelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
748 wxHelpProvider
* _result
;
749 wxHelpProvider
* _arg0
;
750 PyObject
* _argo0
= 0;
751 char *_kwnames
[] = { "helpProvider", NULL
};
755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpProvider_Set",_kwnames
,&_argo0
))
758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_Set. Expected _wxHelpProvider_p.");
765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
766 _result
= (wxHelpProvider
*)wxHelpProvider::Set(_arg0
);
768 wxPyEndAllowThreads(__tstate
);
769 if (PyErr_Occurred()) return NULL
;
771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHelpProvider_p");
772 _resultobj
= Py_BuildValue("s",_ptemp
);
775 _resultobj
= Py_None
;
780 static PyObject
*_wrap_wxHelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
782 wxHelpProvider
* _result
;
783 char *_kwnames
[] = { NULL
};
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxHelpProvider_Get",_kwnames
))
790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
791 _result
= (wxHelpProvider
*)wxHelpProvider::Get();
793 wxPyEndAllowThreads(__tstate
);
794 if (PyErr_Occurred()) return NULL
;
796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHelpProvider_p");
797 _resultobj
= Py_BuildValue("s",_ptemp
);
800 _resultobj
= Py_None
;
805 #define wxHelpProvider_GetHelp(_swigobj,_swigarg0) (_swigobj->GetHelp(_swigarg0))
806 static PyObject
*_wrap_wxHelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
809 wxHelpProvider
* _arg0
;
811 PyObject
* _argo0
= 0;
812 PyObject
* _argo1
= 0;
813 char *_kwnames
[] = { "self","window", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpProvider_GetHelp",_kwnames
,&_argo0
,&_argo1
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_GetHelp. Expected _wxHelpProvider_p.");
826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHelpProvider_GetHelp. Expected _wxWindow_p.");
833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
834 _result
= new wxString (wxHelpProvider_GetHelp(_arg0
,_arg1
));
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) return NULL
;
840 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
842 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
851 #define wxHelpProvider_ShowHelp(_swigobj,_swigarg0) (_swigobj->ShowHelp(_swigarg0))
852 static PyObject
*_wrap_wxHelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 PyObject
* _resultobj
;
855 wxHelpProvider
* _arg0
;
856 wxWindowBase
* _arg1
;
857 PyObject
* _argo0
= 0;
858 PyObject
* _argo1
= 0;
859 char *_kwnames
[] = { "self","window", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpProvider_ShowHelp",_kwnames
,&_argo0
,&_argo1
))
865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_ShowHelp. Expected _wxHelpProvider_p.");
872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindowBase_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHelpProvider_ShowHelp. Expected _wxWindowBase_p.");
879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
880 _result
= (bool )wxHelpProvider_ShowHelp(_arg0
,_arg1
);
882 wxPyEndAllowThreads(__tstate
);
883 if (PyErr_Occurred()) return NULL
;
884 } _resultobj
= Py_BuildValue("i",_result
);
888 #define wxHelpProvider_AddHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddHelp(_swigarg0,_swigarg1))
889 static PyObject
*_wrap_wxHelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
891 wxHelpProvider
* _arg0
;
892 wxWindowBase
* _arg1
;
894 PyObject
* _argo0
= 0;
895 PyObject
* _argo1
= 0;
896 PyObject
* _obj2
= 0;
897 char *_kwnames
[] = { "self","window","text", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHelpProvider_AddHelp",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_AddHelp. Expected _wxHelpProvider_p.");
910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindowBase_p")) {
912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHelpProvider_AddHelp. Expected _wxWindowBase_p.");
917 _arg2
= wxString_in_helper(_obj2
);
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 wxHelpProvider_AddHelp(_arg0
,_arg1
,*_arg2
);
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
927 } Py_INCREF(Py_None
);
928 _resultobj
= Py_None
;
936 #define wxHelpProvider_AddHelpById(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddHelp(_swigarg0,_swigarg1))
937 static PyObject
*_wrap_wxHelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
939 wxHelpProvider
* _arg0
;
942 PyObject
* _argo0
= 0;
943 PyObject
* _obj2
= 0;
944 char *_kwnames
[] = { "self","id","text", NULL
};
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHelpProvider_AddHelpById",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_AddHelpById. Expected _wxHelpProvider_p.");
957 _arg2
= wxString_in_helper(_obj2
);
962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
963 wxHelpProvider_AddHelpById(_arg0
,_arg1
,*_arg2
);
965 wxPyEndAllowThreads(__tstate
);
966 if (PyErr_Occurred()) return NULL
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
976 static void wxHelpProvider_Destroy(wxHelpProvider
*self
) { delete self
; }
977 static PyObject
*_wrap_wxHelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
979 wxHelpProvider
* _arg0
;
980 PyObject
* _argo0
= 0;
981 char *_kwnames
[] = { "self", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpProvider_Destroy",_kwnames
,&_argo0
))
987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_Destroy. Expected _wxHelpProvider_p.");
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
995 wxHelpProvider_Destroy(_arg0
);
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) return NULL
;
999 } Py_INCREF(Py_None
);
1000 _resultobj
= Py_None
;
1004 static void *SwigwxSimpleHelpProviderTowxHelpProvider(void *ptr
) {
1005 wxSimpleHelpProvider
*src
;
1006 wxHelpProvider
*dest
;
1007 src
= (wxSimpleHelpProvider
*) ptr
;
1008 dest
= (wxHelpProvider
*) src
;
1009 return (void *) dest
;
1012 #define new_wxSimpleHelpProvider() (new wxSimpleHelpProvider())
1013 static PyObject
*_wrap_new_wxSimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1015 wxSimpleHelpProvider
* _result
;
1016 char *_kwnames
[] = { NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSimpleHelpProvider",_kwnames
))
1023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1024 _result
= (wxSimpleHelpProvider
*)new_wxSimpleHelpProvider();
1026 wxPyEndAllowThreads(__tstate
);
1027 if (PyErr_Occurred()) return NULL
;
1029 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSimpleHelpProvider_p");
1030 _resultobj
= Py_BuildValue("s",_ptemp
);
1033 _resultobj
= Py_None
;
1038 static PyMethodDef helpcMethods
[] = {
1039 { "new_wxSimpleHelpProvider", (PyCFunction
) _wrap_new_wxSimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
1040 { "wxHelpProvider_Destroy", (PyCFunction
) _wrap_wxHelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
1041 { "wxHelpProvider_AddHelpById", (PyCFunction
) _wrap_wxHelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
1042 { "wxHelpProvider_AddHelp", (PyCFunction
) _wrap_wxHelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
1043 { "wxHelpProvider_ShowHelp", (PyCFunction
) _wrap_wxHelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
1044 { "wxHelpProvider_GetHelp", (PyCFunction
) _wrap_wxHelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
1045 { "wxHelpProvider_Get", (PyCFunction
) _wrap_wxHelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
1046 { "wxHelpProvider_Set", (PyCFunction
) _wrap_wxHelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
1047 { "new_wxContextHelpButton", (PyCFunction
) _wrap_new_wxContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
1048 { "wxContextHelp_EndContextHelp", (PyCFunction
) _wrap_wxContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1049 { "wxContextHelp_BeginContextHelp", (PyCFunction
) _wrap_wxContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1050 { "delete_wxContextHelp", (PyCFunction
) _wrap_delete_wxContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1051 { "new_wxContextHelp", (PyCFunction
) _wrap_new_wxContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1052 { "wxContextMenuEvent_SetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1053 { "wxContextMenuEvent_GetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1054 { "new_wxContextMenuEvent", (PyCFunction
) _wrap_new_wxContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
1055 { "wxHelpEvent_SetTarget", (PyCFunction
) _wrap_wxHelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
1056 { "wxHelpEvent_GetTarget", (PyCFunction
) _wrap_wxHelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
1057 { "wxHelpEvent_SetLink", (PyCFunction
) _wrap_wxHelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
1058 { "wxHelpEvent_GetLink", (PyCFunction
) _wrap_wxHelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
1059 { "wxHelpEvent_SetPosition", (PyCFunction
) _wrap_wxHelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1060 { "wxHelpEvent_GetPosition", (PyCFunction
) _wrap_wxHelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1061 { "new_wxHelpEvent", (PyCFunction
) _wrap_new_wxHelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
1068 * This table is used by the pointer type-checker
1070 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1071 { "_wxEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
1072 { "_wxEvent","_wxHelpEvent",SwigwxHelpEventTowxEvent
},
1073 { "_signed_long","_long",0},
1074 { "_wxPrintQuality","_wxCoord",0},
1075 { "_wxPrintQuality","_int",0},
1076 { "_wxPrintQuality","_signed_int",0},
1077 { "_wxPrintQuality","_unsigned_int",0},
1078 { "_wxPrintQuality","_wxWindowID",0},
1079 { "_wxPrintQuality","_uint",0},
1080 { "_wxPrintQuality","_EBool",0},
1081 { "_wxPrintQuality","_size_t",0},
1082 { "_wxPrintQuality","_time_t",0},
1083 { "_byte","_unsigned_char",0},
1084 { "_long","_unsigned_long",0},
1085 { "_long","_signed_long",0},
1086 { "_wxBitmapButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton
},
1087 { "_size_t","_wxCoord",0},
1088 { "_size_t","_wxPrintQuality",0},
1089 { "_size_t","_time_t",0},
1090 { "_size_t","_unsigned_int",0},
1091 { "_size_t","_int",0},
1092 { "_size_t","_wxWindowID",0},
1093 { "_size_t","_uint",0},
1094 { "_uint","_wxCoord",0},
1095 { "_uint","_wxPrintQuality",0},
1096 { "_uint","_time_t",0},
1097 { "_uint","_size_t",0},
1098 { "_uint","_unsigned_int",0},
1099 { "_uint","_int",0},
1100 { "_uint","_wxWindowID",0},
1101 { "_wxChar","_char",0},
1102 { "_wxCommandEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
1103 { "_wxCommandEvent","_wxHelpEvent",SwigwxHelpEventTowxCommandEvent
},
1104 { "_char","_wxChar",0},
1105 { "_wxHelpProvider","_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider
},
1106 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1107 { "_EBool","_wxCoord",0},
1108 { "_EBool","_wxPrintQuality",0},
1109 { "_EBool","_signed_int",0},
1110 { "_EBool","_int",0},
1111 { "_EBool","_wxWindowID",0},
1112 { "_unsigned_long","_long",0},
1113 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1114 { "_signed_int","_wxCoord",0},
1115 { "_signed_int","_wxPrintQuality",0},
1116 { "_signed_int","_EBool",0},
1117 { "_signed_int","_wxWindowID",0},
1118 { "_signed_int","_int",0},
1119 { "_WXTYPE","_short",0},
1120 { "_WXTYPE","_signed_short",0},
1121 { "_WXTYPE","_unsigned_short",0},
1122 { "_unsigned_short","_WXTYPE",0},
1123 { "_unsigned_short","_short",0},
1124 { "_wxObject","_wxContextHelpButton",SwigwxContextHelpButtonTowxObject
},
1125 { "_wxObject","_wxContextHelp",SwigwxContextHelpTowxObject
},
1126 { "_wxObject","_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
1127 { "_wxObject","_wxHelpEvent",SwigwxHelpEventTowxObject
},
1128 { "_signed_short","_WXTYPE",0},
1129 { "_signed_short","_short",0},
1130 { "_unsigned_char","_byte",0},
1131 { "_wxControl","_wxContextHelpButton",SwigwxContextHelpButtonTowxControl
},
1132 { "_unsigned_int","_wxCoord",0},
1133 { "_unsigned_int","_wxPrintQuality",0},
1134 { "_unsigned_int","_time_t",0},
1135 { "_unsigned_int","_size_t",0},
1136 { "_unsigned_int","_uint",0},
1137 { "_unsigned_int","_wxWindowID",0},
1138 { "_unsigned_int","_int",0},
1139 { "_short","_WXTYPE",0},
1140 { "_short","_unsigned_short",0},
1141 { "_short","_signed_short",0},
1142 { "_wxWindowID","_wxCoord",0},
1143 { "_wxWindowID","_wxPrintQuality",0},
1144 { "_wxWindowID","_time_t",0},
1145 { "_wxWindowID","_size_t",0},
1146 { "_wxWindowID","_EBool",0},
1147 { "_wxWindowID","_uint",0},
1148 { "_wxWindowID","_int",0},
1149 { "_wxWindowID","_signed_int",0},
1150 { "_wxWindowID","_unsigned_int",0},
1151 { "_int","_wxCoord",0},
1152 { "_int","_wxPrintQuality",0},
1153 { "_int","_time_t",0},
1154 { "_int","_size_t",0},
1155 { "_int","_EBool",0},
1156 { "_int","_uint",0},
1157 { "_int","_wxWindowID",0},
1158 { "_int","_unsigned_int",0},
1159 { "_int","_signed_int",0},
1160 { "_time_t","_wxCoord",0},
1161 { "_time_t","_wxPrintQuality",0},
1162 { "_time_t","_unsigned_int",0},
1163 { "_time_t","_int",0},
1164 { "_time_t","_wxWindowID",0},
1165 { "_time_t","_uint",0},
1166 { "_time_t","_size_t",0},
1167 { "_wxButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxButton
},
1168 { "_wxCoord","_int",0},
1169 { "_wxCoord","_signed_int",0},
1170 { "_wxCoord","_unsigned_int",0},
1171 { "_wxCoord","_wxWindowID",0},
1172 { "_wxCoord","_uint",0},
1173 { "_wxCoord","_EBool",0},
1174 { "_wxCoord","_size_t",0},
1175 { "_wxCoord","_time_t",0},
1176 { "_wxCoord","_wxPrintQuality",0},
1177 { "_wxEvtHandler","_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler
},
1178 { "_wxWindow","_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow
},
1181 static PyObject
*SWIG_globals
;
1185 SWIGEXPORT(void) inithelpc() {
1187 SWIG_globals
= SWIG_newvarlink();
1188 m
= Py_InitModule("helpc", helpcMethods
);
1189 d
= PyModule_GetDict(m
);
1190 PyDict_SetItemString(d
,"wxFRAME_EX_CONTEXTHELP", PyInt_FromLong((long) wxFRAME_EX_CONTEXTHELP
));
1191 PyDict_SetItemString(d
,"wxDIALOG_EX_CONTEXTHELP", PyInt_FromLong((long) wxDIALOG_EX_CONTEXTHELP
));
1192 PyDict_SetItemString(d
,"wxID_CONTEXT_HELP", PyInt_FromLong((long) wxID_CONTEXT_HELP
));
1193 PyDict_SetItemString(d
,"wxEVT_HELP", PyInt_FromLong((long) wxEVT_HELP
));
1194 PyDict_SetItemString(d
,"wxEVT_DETAILED_HELP", PyInt_FromLong((long) wxEVT_DETAILED_HELP
));
1197 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1198 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);