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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init inithelpc
54 #define SWIG_name "helpc"
57 #include <wx/cshelp.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 #if PYTHON_API_VERSION >= 1009
106 static char* wxStringErrorMsg
= "String or Unicode type required";
108 static char* wxStringErrorMsg
= "String type required";
113 static void *SwigwxHelpEventTowxCommandEvent(void *ptr
) {
115 wxCommandEvent
*dest
;
116 src
= (wxHelpEvent
*) ptr
;
117 dest
= (wxCommandEvent
*) src
;
118 return (void *) dest
;
121 static void *SwigwxHelpEventTowxEvent(void *ptr
) {
124 src
= (wxHelpEvent
*) ptr
;
125 dest
= (wxEvent
*) src
;
126 return (void *) dest
;
129 static void *SwigwxHelpEventTowxObject(void *ptr
) {
132 src
= (wxHelpEvent
*) ptr
;
133 dest
= (wxObject
*) src
;
134 return (void *) dest
;
137 #define new_wxHelpEvent(_swigarg0,_swigarg1,_swigarg2) (new wxHelpEvent(_swigarg0,_swigarg1,_swigarg2))
138 static PyObject
*_wrap_new_wxHelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
139 PyObject
* _resultobj
;
140 wxHelpEvent
* _result
;
141 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
142 wxWindowID _arg1
= (wxWindowID
) 0;
143 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
145 PyObject
* _obj2
= 0;
146 char *_kwnames
[] = { "type","id","pt", NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiO:new_wxHelpEvent",_kwnames
,&_arg0
,&_arg1
,&_obj2
))
155 if (! wxPoint_helper(_obj2
, &_arg2
))
159 wxPy_BEGIN_ALLOW_THREADS
;
160 _result
= (wxHelpEvent
*)new_wxHelpEvent(_arg0
,_arg1
,*_arg2
);
162 wxPy_END_ALLOW_THREADS
;
163 if (PyErr_Occurred()) return NULL
;
165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHelpEvent_p");
166 _resultobj
= Py_BuildValue("s",_ptemp
);
169 _resultobj
= Py_None
;
174 #define wxHelpEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
175 static PyObject
*_wrap_wxHelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
176 PyObject
* _resultobj
;
179 PyObject
* _argo0
= 0;
180 char *_kwnames
[] = { "self", NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpEvent_GetPosition",_kwnames
,&_argo0
))
187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_GetPosition. Expected _wxHelpEvent_p.");
194 wxPy_BEGIN_ALLOW_THREADS
;
195 const wxPoint
& _result_ref
= wxHelpEvent_GetPosition(_arg0
);
196 _result
= (wxPoint
*) &_result_ref
;
198 wxPy_END_ALLOW_THREADS
;
199 if (PyErr_Occurred()) return NULL
;
201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
202 _resultobj
= Py_BuildValue("s",_ptemp
);
205 _resultobj
= Py_None
;
210 #define wxHelpEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
211 static PyObject
*_wrap_wxHelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
212 PyObject
* _resultobj
;
215 PyObject
* _argo0
= 0;
217 PyObject
* _obj1
= 0;
218 char *_kwnames
[] = { "self","pos", NULL
};
221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_SetPosition. Expected _wxHelpEvent_p.");
232 if (! wxPoint_helper(_obj1
, &_arg1
))
236 wxPy_BEGIN_ALLOW_THREADS
;
237 wxHelpEvent_SetPosition(_arg0
,*_arg1
);
239 wxPy_END_ALLOW_THREADS
;
240 if (PyErr_Occurred()) return NULL
;
241 } Py_INCREF(Py_None
);
242 _resultobj
= Py_None
;
246 #define wxHelpEvent_GetLink(_swigobj) (_swigobj->GetLink())
247 static PyObject
*_wrap_wxHelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
251 PyObject
* _argo0
= 0;
252 char *_kwnames
[] = { "self", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpEvent_GetLink",_kwnames
,&_argo0
))
258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_GetLink. Expected _wxHelpEvent_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 const wxString
& _result_ref
= wxHelpEvent_GetLink(_arg0
);
267 _result
= (wxString
*) &_result_ref
;
269 wxPy_END_ALLOW_THREADS
;
270 if (PyErr_Occurred()) return NULL
;
272 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
277 #define wxHelpEvent_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
278 static PyObject
*_wrap_wxHelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
282 PyObject
* _argo0
= 0;
283 PyObject
* _obj1
= 0;
284 char *_kwnames
[] = { "self","link", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpEvent_SetLink",_kwnames
,&_argo0
,&_obj1
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_SetLink. Expected _wxHelpEvent_p.");
297 #if PYTHON_API_VERSION >= 1009
298 char* tmpPtr
; int tmpSize
;
299 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
300 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
303 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
305 _arg1
= new wxString(tmpPtr
, tmpSize
);
307 if (!PyString_Check(_obj1
)) {
308 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
311 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
315 wxPy_BEGIN_ALLOW_THREADS
;
316 wxHelpEvent_SetLink(_arg0
,*_arg1
);
318 wxPy_END_ALLOW_THREADS
;
319 if (PyErr_Occurred()) return NULL
;
320 } Py_INCREF(Py_None
);
321 _resultobj
= Py_None
;
329 #define wxHelpEvent_GetTarget(_swigobj) (_swigobj->GetTarget())
330 static PyObject
*_wrap_wxHelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
334 PyObject
* _argo0
= 0;
335 char *_kwnames
[] = { "self", NULL
};
338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpEvent_GetTarget",_kwnames
,&_argo0
))
341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_GetTarget. Expected _wxHelpEvent_p.");
348 wxPy_BEGIN_ALLOW_THREADS
;
349 const wxString
& _result_ref
= wxHelpEvent_GetTarget(_arg0
);
350 _result
= (wxString
*) &_result_ref
;
352 wxPy_END_ALLOW_THREADS
;
353 if (PyErr_Occurred()) return NULL
;
355 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
360 #define wxHelpEvent_SetTarget(_swigobj,_swigarg0) (_swigobj->SetTarget(_swigarg0))
361 static PyObject
*_wrap_wxHelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
362 PyObject
* _resultobj
;
365 PyObject
* _argo0
= 0;
366 PyObject
* _obj1
= 0;
367 char *_kwnames
[] = { "self","target", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpEvent_SetTarget",_kwnames
,&_argo0
,&_obj1
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_SetTarget. Expected _wxHelpEvent_p.");
380 #if PYTHON_API_VERSION >= 1009
381 char* tmpPtr
; int tmpSize
;
382 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
386 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
388 _arg1
= new wxString(tmpPtr
, tmpSize
);
390 if (!PyString_Check(_obj1
)) {
391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
394 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
398 wxPy_BEGIN_ALLOW_THREADS
;
399 wxHelpEvent_SetTarget(_arg0
,*_arg1
);
401 wxPy_END_ALLOW_THREADS
;
402 if (PyErr_Occurred()) return NULL
;
403 } Py_INCREF(Py_None
);
404 _resultobj
= Py_None
;
412 static void *SwigwxContextMenuEventTowxCommandEvent(void *ptr
) {
413 wxContextMenuEvent
*src
;
414 wxCommandEvent
*dest
;
415 src
= (wxContextMenuEvent
*) ptr
;
416 dest
= (wxCommandEvent
*) src
;
417 return (void *) dest
;
420 static void *SwigwxContextMenuEventTowxEvent(void *ptr
) {
421 wxContextMenuEvent
*src
;
423 src
= (wxContextMenuEvent
*) ptr
;
424 dest
= (wxEvent
*) src
;
425 return (void *) dest
;
428 static void *SwigwxContextMenuEventTowxObject(void *ptr
) {
429 wxContextMenuEvent
*src
;
431 src
= (wxContextMenuEvent
*) ptr
;
432 dest
= (wxObject
*) src
;
433 return (void *) dest
;
436 #define new_wxContextMenuEvent(_swigarg0,_swigarg1,_swigarg2) (new wxContextMenuEvent(_swigarg0,_swigarg1,_swigarg2))
437 static PyObject
*_wrap_new_wxContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
438 PyObject
* _resultobj
;
439 wxContextMenuEvent
* _result
;
440 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
441 wxWindowID _arg1
= (wxWindowID
) 0;
442 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
444 PyObject
* _obj2
= 0;
445 char *_kwnames
[] = { "type","id","pt", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiO:new_wxContextMenuEvent",_kwnames
,&_arg0
,&_arg1
,&_obj2
))
454 if (! wxPoint_helper(_obj2
, &_arg2
))
458 wxPy_BEGIN_ALLOW_THREADS
;
459 _result
= (wxContextMenuEvent
*)new_wxContextMenuEvent(_arg0
,_arg1
,*_arg2
);
461 wxPy_END_ALLOW_THREADS
;
462 if (PyErr_Occurred()) return NULL
;
464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextMenuEvent_p");
465 _resultobj
= Py_BuildValue("s",_ptemp
);
468 _resultobj
= Py_None
;
473 #define wxContextMenuEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
474 static PyObject
*_wrap_wxContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxContextMenuEvent
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxContextMenuEvent_GetPosition",_kwnames
,&_argo0
))
486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextMenuEvent_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextMenuEvent_GetPosition. Expected _wxContextMenuEvent_p.");
493 wxPy_BEGIN_ALLOW_THREADS
;
494 const wxPoint
& _result_ref
= wxContextMenuEvent_GetPosition(_arg0
);
495 _result
= (wxPoint
*) &_result_ref
;
497 wxPy_END_ALLOW_THREADS
;
498 if (PyErr_Occurred()) return NULL
;
500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
501 _resultobj
= Py_BuildValue("s",_ptemp
);
504 _resultobj
= Py_None
;
509 #define wxContextMenuEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
510 static PyObject
*_wrap_wxContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
512 wxContextMenuEvent
* _arg0
;
514 PyObject
* _argo0
= 0;
516 PyObject
* _obj1
= 0;
517 char *_kwnames
[] = { "self","pos", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxContextMenuEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextMenuEvent_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextMenuEvent_SetPosition. Expected _wxContextMenuEvent_p.");
531 if (! wxPoint_helper(_obj1
, &_arg1
))
535 wxPy_BEGIN_ALLOW_THREADS
;
536 wxContextMenuEvent_SetPosition(_arg0
,*_arg1
);
538 wxPy_END_ALLOW_THREADS
;
539 if (PyErr_Occurred()) return NULL
;
540 } Py_INCREF(Py_None
);
541 _resultobj
= Py_None
;
545 static void *SwigwxContextHelpTowxObject(void *ptr
) {
548 src
= (wxContextHelp
*) ptr
;
549 dest
= (wxObject
*) src
;
550 return (void *) dest
;
553 #define new_wxContextHelp(_swigarg0,_swigarg1) (new wxContextHelp(_swigarg0,_swigarg1))
554 static PyObject
*_wrap_new_wxContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxContextHelp
* _result
;
557 wxWindow
* _arg0
= (wxWindow
*) NULL
;
558 bool _arg1
= (bool ) TRUE
;
559 PyObject
* _argo0
= 0;
560 int tempbool1
= (int) TRUE
;
561 char *_kwnames
[] = { "window","doNow", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxContextHelp",_kwnames
,&_argo0
,&tempbool1
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxContextHelp. Expected _wxWindow_p.");
574 _arg1
= (bool ) tempbool1
;
576 wxPy_BEGIN_ALLOW_THREADS
;
577 _result
= (wxContextHelp
*)new_wxContextHelp(_arg0
,_arg1
);
579 wxPy_END_ALLOW_THREADS
;
580 if (PyErr_Occurred()) return NULL
;
582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextHelp_p");
583 _resultobj
= Py_BuildValue("s",_ptemp
);
586 _resultobj
= Py_None
;
591 #define delete_wxContextHelp(_swigobj) (delete _swigobj)
592 static PyObject
*_wrap_delete_wxContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
594 wxContextHelp
* _arg0
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxContextHelp",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextHelp_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxContextHelp. Expected _wxContextHelp_p.");
609 wxPy_BEGIN_ALLOW_THREADS
;
610 delete_wxContextHelp(_arg0
);
612 wxPy_END_ALLOW_THREADS
;
613 if (PyErr_Occurred()) return NULL
;
614 } Py_INCREF(Py_None
);
615 _resultobj
= Py_None
;
619 #define wxContextHelp_BeginContextHelp(_swigobj,_swigarg0) (_swigobj->BeginContextHelp(_swigarg0))
620 static PyObject
*_wrap_wxContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 PyObject
* _resultobj
;
623 wxContextHelp
* _arg0
;
624 wxWindow
* _arg1
= (wxWindow
*) NULL
;
625 PyObject
* _argo0
= 0;
626 PyObject
* _argo1
= 0;
627 char *_kwnames
[] = { "self","window", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxContextHelp_BeginContextHelp",_kwnames
,&_argo0
,&_argo1
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextHelp_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextHelp_BeginContextHelp. Expected _wxContextHelp_p.");
640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxContextHelp_BeginContextHelp. Expected _wxWindow_p.");
647 wxPy_BEGIN_ALLOW_THREADS
;
648 _result
= (bool )wxContextHelp_BeginContextHelp(_arg0
,_arg1
);
650 wxPy_END_ALLOW_THREADS
;
651 if (PyErr_Occurred()) return NULL
;
652 } _resultobj
= Py_BuildValue("i",_result
);
656 #define wxContextHelp_EndContextHelp(_swigobj) (_swigobj->EndContextHelp())
657 static PyObject
*_wrap_wxContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
660 wxContextHelp
* _arg0
;
661 PyObject
* _argo0
= 0;
662 char *_kwnames
[] = { "self", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxContextHelp_EndContextHelp",_kwnames
,&_argo0
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextHelp_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextHelp_EndContextHelp. Expected _wxContextHelp_p.");
675 wxPy_BEGIN_ALLOW_THREADS
;
676 _result
= (bool )wxContextHelp_EndContextHelp(_arg0
);
678 wxPy_END_ALLOW_THREADS
;
679 if (PyErr_Occurred()) return NULL
;
680 } _resultobj
= Py_BuildValue("i",_result
);
684 static void *SwigwxContextHelpButtonTowxBitmapButton(void *ptr
) {
685 wxContextHelpButton
*src
;
686 wxBitmapButton
*dest
;
687 src
= (wxContextHelpButton
*) ptr
;
688 dest
= (wxBitmapButton
*) src
;
689 return (void *) dest
;
692 static void *SwigwxContextHelpButtonTowxButton(void *ptr
) {
693 wxContextHelpButton
*src
;
695 src
= (wxContextHelpButton
*) ptr
;
696 dest
= (wxButton
*) src
;
697 return (void *) dest
;
700 static void *SwigwxContextHelpButtonTowxControl(void *ptr
) {
701 wxContextHelpButton
*src
;
703 src
= (wxContextHelpButton
*) ptr
;
704 dest
= (wxControl
*) src
;
705 return (void *) dest
;
708 static void *SwigwxContextHelpButtonTowxWindow(void *ptr
) {
709 wxContextHelpButton
*src
;
711 src
= (wxContextHelpButton
*) ptr
;
712 dest
= (wxWindow
*) src
;
713 return (void *) dest
;
716 static void *SwigwxContextHelpButtonTowxEvtHandler(void *ptr
) {
717 wxContextHelpButton
*src
;
719 src
= (wxContextHelpButton
*) ptr
;
720 dest
= (wxEvtHandler
*) src
;
721 return (void *) dest
;
724 static void *SwigwxContextHelpButtonTowxObject(void *ptr
) {
725 wxContextHelpButton
*src
;
727 src
= (wxContextHelpButton
*) ptr
;
728 dest
= (wxObject
*) src
;
729 return (void *) dest
;
732 #define new_wxContextHelpButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxContextHelpButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
733 static PyObject
*_wrap_new_wxContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
735 wxContextHelpButton
* _result
;
737 wxWindowID _arg1
= (wxWindowID
) (wxID_CONTEXT_HELP
);
738 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
739 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
740 long _arg4
= (long ) wxBU_AUTODRAW
;
741 PyObject
* _argo0
= 0;
743 PyObject
* _obj2
= 0;
745 PyObject
* _obj3
= 0;
746 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxContextHelpButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxContextHelpButton. Expected _wxWindow_p.");
762 if (! wxPoint_helper(_obj2
, &_arg2
))
768 if (! wxSize_helper(_obj3
, &_arg3
))
772 wxPy_BEGIN_ALLOW_THREADS
;
773 _result
= (wxContextHelpButton
*)new_wxContextHelpButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
775 wxPy_END_ALLOW_THREADS
;
776 if (PyErr_Occurred()) return NULL
;
778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextHelpButton_p");
779 _resultobj
= Py_BuildValue("s",_ptemp
);
782 _resultobj
= Py_None
;
787 static PyObject
*_wrap_wxHelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
789 wxHelpProvider
* _result
;
790 wxHelpProvider
* _arg0
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "helpProvider", NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpProvider_Set",_kwnames
,&_argo0
))
799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_Set. Expected _wxHelpProvider_p.");
806 wxPy_BEGIN_ALLOW_THREADS
;
807 _result
= (wxHelpProvider
*)wxHelpProvider::Set(_arg0
);
809 wxPy_END_ALLOW_THREADS
;
810 if (PyErr_Occurred()) return NULL
;
812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHelpProvider_p");
813 _resultobj
= Py_BuildValue("s",_ptemp
);
816 _resultobj
= Py_None
;
821 static PyObject
*_wrap_wxHelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
823 wxHelpProvider
* _result
;
824 char *_kwnames
[] = { NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxHelpProvider_Get",_kwnames
))
831 wxPy_BEGIN_ALLOW_THREADS
;
832 _result
= (wxHelpProvider
*)wxHelpProvider::Get();
834 wxPy_END_ALLOW_THREADS
;
835 if (PyErr_Occurred()) return NULL
;
837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHelpProvider_p");
838 _resultobj
= Py_BuildValue("s",_ptemp
);
841 _resultobj
= Py_None
;
846 #define wxHelpProvider_GetHelp(_swigobj,_swigarg0) (_swigobj->GetHelp(_swigarg0))
847 static PyObject
*_wrap_wxHelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
850 wxHelpProvider
* _arg0
;
852 PyObject
* _argo0
= 0;
853 PyObject
* _argo1
= 0;
854 char *_kwnames
[] = { "self","window", NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpProvider_GetHelp",_kwnames
,&_argo0
,&_argo1
))
860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_GetHelp. Expected _wxHelpProvider_p.");
867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHelpProvider_GetHelp. Expected _wxWindow_p.");
874 wxPy_BEGIN_ALLOW_THREADS
;
875 _result
= new wxString (wxHelpProvider_GetHelp(_arg0
,_arg1
));
877 wxPy_END_ALLOW_THREADS
;
878 if (PyErr_Occurred()) return NULL
;
880 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
888 #define wxHelpProvider_ShowHelp(_swigobj,_swigarg0) (_swigobj->ShowHelp(_swigarg0))
889 static PyObject
*_wrap_wxHelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
892 wxHelpProvider
* _arg0
;
893 wxWindowBase
* _arg1
;
894 PyObject
* _argo0
= 0;
895 PyObject
* _argo1
= 0;
896 char *_kwnames
[] = { "self","window", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpProvider_ShowHelp",_kwnames
,&_argo0
,&_argo1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_ShowHelp. Expected _wxHelpProvider_p.");
909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindowBase_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHelpProvider_ShowHelp. Expected _wxWindowBase_p.");
916 wxPy_BEGIN_ALLOW_THREADS
;
917 _result
= (bool )wxHelpProvider_ShowHelp(_arg0
,_arg1
);
919 wxPy_END_ALLOW_THREADS
;
920 if (PyErr_Occurred()) return NULL
;
921 } _resultobj
= Py_BuildValue("i",_result
);
925 #define wxHelpProvider_AddHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddHelp(_swigarg0,_swigarg1))
926 static PyObject
*_wrap_wxHelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
928 wxHelpProvider
* _arg0
;
929 wxWindowBase
* _arg1
;
931 PyObject
* _argo0
= 0;
932 PyObject
* _argo1
= 0;
933 PyObject
* _obj2
= 0;
934 char *_kwnames
[] = { "self","window","text", NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHelpProvider_AddHelp",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_AddHelp. Expected _wxHelpProvider_p.");
947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindowBase_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHelpProvider_AddHelp. Expected _wxWindowBase_p.");
954 #if PYTHON_API_VERSION >= 1009
955 char* tmpPtr
; int tmpSize
;
956 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
960 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
962 _arg2
= new wxString(tmpPtr
, tmpSize
);
964 if (!PyString_Check(_obj2
)) {
965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
968 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
972 wxPy_BEGIN_ALLOW_THREADS
;
973 wxHelpProvider_AddHelp(_arg0
,_arg1
,*_arg2
);
975 wxPy_END_ALLOW_THREADS
;
976 if (PyErr_Occurred()) return NULL
;
977 } Py_INCREF(Py_None
);
978 _resultobj
= Py_None
;
986 #define wxHelpProvider_AddHelpById(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddHelp(_swigarg0,_swigarg1))
987 static PyObject
*_wrap_wxHelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
989 wxHelpProvider
* _arg0
;
992 PyObject
* _argo0
= 0;
993 PyObject
* _obj2
= 0;
994 char *_kwnames
[] = { "self","id","text", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHelpProvider_AddHelpById",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_AddHelpById. Expected _wxHelpProvider_p.");
1007 #if PYTHON_API_VERSION >= 1009
1008 char* tmpPtr
; int tmpSize
;
1009 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1013 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1015 _arg2
= new wxString(tmpPtr
, tmpSize
);
1017 if (!PyString_Check(_obj2
)) {
1018 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1021 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 wxHelpProvider_AddHelpById(_arg0
,_arg1
,*_arg2
);
1028 wxPy_END_ALLOW_THREADS
;
1029 if (PyErr_Occurred()) return NULL
;
1030 } Py_INCREF(Py_None
);
1031 _resultobj
= Py_None
;
1039 static void wxHelpProvider_Destroy(wxHelpProvider
*self
) { delete self
; }
1040 static PyObject
*_wrap_wxHelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
* _resultobj
;
1042 wxHelpProvider
* _arg0
;
1043 PyObject
* _argo0
= 0;
1044 char *_kwnames
[] = { "self", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpProvider_Destroy",_kwnames
,&_argo0
))
1050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_Destroy. Expected _wxHelpProvider_p.");
1057 wxPy_BEGIN_ALLOW_THREADS
;
1058 wxHelpProvider_Destroy(_arg0
);
1060 wxPy_END_ALLOW_THREADS
;
1061 if (PyErr_Occurred()) return NULL
;
1062 } Py_INCREF(Py_None
);
1063 _resultobj
= Py_None
;
1067 static void *SwigwxSimpleHelpProviderTowxHelpProvider(void *ptr
) {
1068 wxSimpleHelpProvider
*src
;
1069 wxHelpProvider
*dest
;
1070 src
= (wxSimpleHelpProvider
*) ptr
;
1071 dest
= (wxHelpProvider
*) src
;
1072 return (void *) dest
;
1075 #define new_wxSimpleHelpProvider() (new wxSimpleHelpProvider())
1076 static PyObject
*_wrap_new_wxSimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
* _resultobj
;
1078 wxSimpleHelpProvider
* _result
;
1079 char *_kwnames
[] = { NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSimpleHelpProvider",_kwnames
))
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= (wxSimpleHelpProvider
*)new_wxSimpleHelpProvider();
1089 wxPy_END_ALLOW_THREADS
;
1090 if (PyErr_Occurred()) return NULL
;
1092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSimpleHelpProvider_p");
1093 _resultobj
= Py_BuildValue("s",_ptemp
);
1096 _resultobj
= Py_None
;
1101 static PyMethodDef helpcMethods
[] = {
1102 { "new_wxSimpleHelpProvider", (PyCFunction
) _wrap_new_wxSimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
1103 { "wxHelpProvider_Destroy", (PyCFunction
) _wrap_wxHelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
1104 { "wxHelpProvider_AddHelpById", (PyCFunction
) _wrap_wxHelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
1105 { "wxHelpProvider_AddHelp", (PyCFunction
) _wrap_wxHelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
1106 { "wxHelpProvider_ShowHelp", (PyCFunction
) _wrap_wxHelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
1107 { "wxHelpProvider_GetHelp", (PyCFunction
) _wrap_wxHelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
1108 { "wxHelpProvider_Get", (PyCFunction
) _wrap_wxHelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
1109 { "wxHelpProvider_Set", (PyCFunction
) _wrap_wxHelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
1110 { "new_wxContextHelpButton", (PyCFunction
) _wrap_new_wxContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
1111 { "wxContextHelp_EndContextHelp", (PyCFunction
) _wrap_wxContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1112 { "wxContextHelp_BeginContextHelp", (PyCFunction
) _wrap_wxContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1113 { "delete_wxContextHelp", (PyCFunction
) _wrap_delete_wxContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1114 { "new_wxContextHelp", (PyCFunction
) _wrap_new_wxContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1115 { "wxContextMenuEvent_SetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1116 { "wxContextMenuEvent_GetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1117 { "new_wxContextMenuEvent", (PyCFunction
) _wrap_new_wxContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
1118 { "wxHelpEvent_SetTarget", (PyCFunction
) _wrap_wxHelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
1119 { "wxHelpEvent_GetTarget", (PyCFunction
) _wrap_wxHelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
1120 { "wxHelpEvent_SetLink", (PyCFunction
) _wrap_wxHelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
1121 { "wxHelpEvent_GetLink", (PyCFunction
) _wrap_wxHelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
1122 { "wxHelpEvent_SetPosition", (PyCFunction
) _wrap_wxHelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1123 { "wxHelpEvent_GetPosition", (PyCFunction
) _wrap_wxHelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1124 { "new_wxHelpEvent", (PyCFunction
) _wrap_new_wxHelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
1131 * This table is used by the pointer type-checker
1133 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1134 { "_wxEvent","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
1135 { "_wxEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
1136 { "_wxEvent","_class_wxHelpEvent",SwigwxHelpEventTowxEvent
},
1137 { "_wxEvent","_wxHelpEvent",SwigwxHelpEventTowxEvent
},
1138 { "_signed_long","_long",0},
1139 { "_wxPrintQuality","_wxCoord",0},
1140 { "_wxPrintQuality","_int",0},
1141 { "_wxPrintQuality","_signed_int",0},
1142 { "_wxPrintQuality","_unsigned_int",0},
1143 { "_wxPrintQuality","_wxWindowID",0},
1144 { "_wxPrintQuality","_uint",0},
1145 { "_wxPrintQuality","_EBool",0},
1146 { "_wxPrintQuality","_size_t",0},
1147 { "_wxPrintQuality","_time_t",0},
1148 { "_class_wxEvtHandler","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler
},
1149 { "_class_wxEvtHandler","_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler
},
1150 { "_byte","_unsigned_char",0},
1151 { "_long","_unsigned_long",0},
1152 { "_long","_signed_long",0},
1153 { "_wxBitmapButton","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton
},
1154 { "_wxBitmapButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton
},
1155 { "_class_wxObject","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxObject
},
1156 { "_class_wxObject","_wxContextHelpButton",SwigwxContextHelpButtonTowxObject
},
1157 { "_class_wxObject","_class_wxContextHelp",SwigwxContextHelpTowxObject
},
1158 { "_class_wxObject","_wxContextHelp",SwigwxContextHelpTowxObject
},
1159 { "_class_wxObject","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
1160 { "_class_wxObject","_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
1161 { "_class_wxObject","_class_wxHelpEvent",SwigwxHelpEventTowxObject
},
1162 { "_class_wxObject","_wxHelpEvent",SwigwxHelpEventTowxObject
},
1163 { "_size_t","_wxCoord",0},
1164 { "_size_t","_wxPrintQuality",0},
1165 { "_size_t","_time_t",0},
1166 { "_size_t","_unsigned_int",0},
1167 { "_size_t","_int",0},
1168 { "_size_t","_wxWindowID",0},
1169 { "_size_t","_uint",0},
1170 { "_uint","_wxCoord",0},
1171 { "_uint","_wxPrintQuality",0},
1172 { "_uint","_time_t",0},
1173 { "_uint","_size_t",0},
1174 { "_uint","_unsigned_int",0},
1175 { "_uint","_int",0},
1176 { "_uint","_wxWindowID",0},
1177 { "_wxChar","_char",0},
1178 { "_class_wxEvent","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
1179 { "_class_wxEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
1180 { "_class_wxEvent","_class_wxHelpEvent",SwigwxHelpEventTowxEvent
},
1181 { "_class_wxEvent","_wxHelpEvent",SwigwxHelpEventTowxEvent
},
1182 { "_wxCommandEvent","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
1183 { "_wxCommandEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
1184 { "_wxCommandEvent","_class_wxHelpEvent",SwigwxHelpEventTowxCommandEvent
},
1185 { "_wxCommandEvent","_wxHelpEvent",SwigwxHelpEventTowxCommandEvent
},
1186 { "_class_wxButton","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxButton
},
1187 { "_class_wxButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxButton
},
1188 { "_char","_wxChar",0},
1189 { "_wxHelpProvider","_class_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider
},
1190 { "_wxHelpProvider","_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider
},
1191 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1192 { "_EBool","_wxCoord",0},
1193 { "_EBool","_wxPrintQuality",0},
1194 { "_EBool","_signed_int",0},
1195 { "_EBool","_int",0},
1196 { "_EBool","_wxWindowID",0},
1197 { "_unsigned_long","_long",0},
1198 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1199 { "_signed_int","_wxCoord",0},
1200 { "_signed_int","_wxPrintQuality",0},
1201 { "_signed_int","_EBool",0},
1202 { "_signed_int","_wxWindowID",0},
1203 { "_signed_int","_int",0},
1204 { "_WXTYPE","_short",0},
1205 { "_WXTYPE","_signed_short",0},
1206 { "_WXTYPE","_unsigned_short",0},
1207 { "_unsigned_short","_WXTYPE",0},
1208 { "_unsigned_short","_short",0},
1209 { "_class_wxWindow","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow
},
1210 { "_class_wxWindow","_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow
},
1211 { "_wxObject","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxObject
},
1212 { "_wxObject","_wxContextHelpButton",SwigwxContextHelpButtonTowxObject
},
1213 { "_wxObject","_class_wxContextHelp",SwigwxContextHelpTowxObject
},
1214 { "_wxObject","_wxContextHelp",SwigwxContextHelpTowxObject
},
1215 { "_wxObject","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
1216 { "_wxObject","_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
1217 { "_wxObject","_class_wxHelpEvent",SwigwxHelpEventTowxObject
},
1218 { "_wxObject","_wxHelpEvent",SwigwxHelpEventTowxObject
},
1219 { "_signed_short","_WXTYPE",0},
1220 { "_signed_short","_short",0},
1221 { "_unsigned_char","_byte",0},
1222 { "_wxControl","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxControl
},
1223 { "_wxControl","_wxContextHelpButton",SwigwxContextHelpButtonTowxControl
},
1224 { "_unsigned_int","_wxCoord",0},
1225 { "_unsigned_int","_wxPrintQuality",0},
1226 { "_unsigned_int","_time_t",0},
1227 { "_unsigned_int","_size_t",0},
1228 { "_unsigned_int","_uint",0},
1229 { "_unsigned_int","_wxWindowID",0},
1230 { "_unsigned_int","_int",0},
1231 { "_short","_WXTYPE",0},
1232 { "_short","_unsigned_short",0},
1233 { "_short","_signed_short",0},
1234 { "_class_wxBitmapButton","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton
},
1235 { "_class_wxBitmapButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton
},
1236 { "_wxWindowID","_wxCoord",0},
1237 { "_wxWindowID","_wxPrintQuality",0},
1238 { "_wxWindowID","_time_t",0},
1239 { "_wxWindowID","_size_t",0},
1240 { "_wxWindowID","_EBool",0},
1241 { "_wxWindowID","_uint",0},
1242 { "_wxWindowID","_int",0},
1243 { "_wxWindowID","_signed_int",0},
1244 { "_wxWindowID","_unsigned_int",0},
1245 { "_int","_wxCoord",0},
1246 { "_int","_wxPrintQuality",0},
1247 { "_int","_time_t",0},
1248 { "_int","_size_t",0},
1249 { "_int","_EBool",0},
1250 { "_int","_uint",0},
1251 { "_int","_wxWindowID",0},
1252 { "_int","_unsigned_int",0},
1253 { "_int","_signed_int",0},
1254 { "_time_t","_wxCoord",0},
1255 { "_time_t","_wxPrintQuality",0},
1256 { "_time_t","_unsigned_int",0},
1257 { "_time_t","_int",0},
1258 { "_time_t","_wxWindowID",0},
1259 { "_time_t","_uint",0},
1260 { "_time_t","_size_t",0},
1261 { "_wxButton","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxButton
},
1262 { "_wxButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxButton
},
1263 { "_class_wxControl","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxControl
},
1264 { "_class_wxControl","_wxContextHelpButton",SwigwxContextHelpButtonTowxControl
},
1265 { "_wxCoord","_int",0},
1266 { "_wxCoord","_signed_int",0},
1267 { "_wxCoord","_unsigned_int",0},
1268 { "_wxCoord","_wxWindowID",0},
1269 { "_wxCoord","_uint",0},
1270 { "_wxCoord","_EBool",0},
1271 { "_wxCoord","_size_t",0},
1272 { "_wxCoord","_time_t",0},
1273 { "_wxCoord","_wxPrintQuality",0},
1274 { "_class_wxCommandEvent","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
1275 { "_class_wxCommandEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
1276 { "_class_wxCommandEvent","_class_wxHelpEvent",SwigwxHelpEventTowxCommandEvent
},
1277 { "_class_wxCommandEvent","_wxHelpEvent",SwigwxHelpEventTowxCommandEvent
},
1278 { "_wxEvtHandler","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler
},
1279 { "_wxEvtHandler","_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler
},
1280 { "_class_wxHelpProvider","_class_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider
},
1281 { "_class_wxHelpProvider","_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider
},
1282 { "_wxWindow","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow
},
1283 { "_wxWindow","_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow
},
1286 static PyObject
*SWIG_globals
;
1290 SWIGEXPORT(void) inithelpc() {
1292 SWIG_globals
= SWIG_newvarlink();
1293 m
= Py_InitModule("helpc", helpcMethods
);
1294 d
= PyModule_GetDict(m
);
1295 PyDict_SetItemString(d
,"wxFRAME_EX_CONTEXTHELP", PyInt_FromLong((long) wxFRAME_EX_CONTEXTHELP
));
1296 PyDict_SetItemString(d
,"wxDIALOG_EX_CONTEXTHELP", PyInt_FromLong((long) wxDIALOG_EX_CONTEXTHELP
));
1297 PyDict_SetItemString(d
,"wxID_CONTEXT_HELP", PyInt_FromLong((long) wxID_CONTEXT_HELP
));
1298 PyDict_SetItemString(d
,"wxEVT_HELP", PyInt_FromLong((long) wxEVT_HELP
));
1299 PyDict_SetItemString(d
,"wxEVT_DETAILED_HELP", PyInt_FromLong((long) wxEVT_DETAILED_HELP
));
1300 PyDict_SetItemString(d
,"wxEVT_CONTEXT_MENU", PyInt_FromLong((long) wxEVT_CONTEXT_MENU
));
1303 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1304 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);