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
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "string type is required for parameter";
96 static void *SwigwxHelpEventTowxCommandEvent(void *ptr
) {
99 src
= (wxHelpEvent
*) ptr
;
100 dest
= (wxCommandEvent
*) src
;
101 return (void *) dest
;
104 static void *SwigwxHelpEventTowxEvent(void *ptr
) {
107 src
= (wxHelpEvent
*) ptr
;
108 dest
= (wxEvent
*) src
;
109 return (void *) dest
;
112 static void *SwigwxHelpEventTowxObject(void *ptr
) {
115 src
= (wxHelpEvent
*) ptr
;
116 dest
= (wxObject
*) src
;
117 return (void *) dest
;
120 #define new_wxHelpEvent(_swigarg0,_swigarg1,_swigarg2) (new wxHelpEvent(_swigarg0,_swigarg1,_swigarg2))
121 static PyObject
*_wrap_new_wxHelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
122 PyObject
* _resultobj
;
123 wxHelpEvent
* _result
;
124 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
125 wxWindowID _arg1
= (wxWindowID
) 0;
126 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
128 PyObject
* _obj2
= 0;
129 char *_kwnames
[] = { "type","id","pt", NULL
};
133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiO:new_wxHelpEvent",_kwnames
,&_arg0
,&_arg1
,&_obj2
))
138 if (! wxPoint_helper(_obj2
, &_arg2
))
142 wxPy_BEGIN_ALLOW_THREADS
;
143 _result
= (wxHelpEvent
*)new_wxHelpEvent(_arg0
,_arg1
,*_arg2
);
145 wxPy_END_ALLOW_THREADS
;
146 if (PyErr_Occurred()) return NULL
;
148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHelpEvent_p");
149 _resultobj
= Py_BuildValue("s",_ptemp
);
152 _resultobj
= Py_None
;
157 #define wxHelpEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
158 static PyObject
*_wrap_wxHelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
159 PyObject
* _resultobj
;
162 PyObject
* _argo0
= 0;
163 char *_kwnames
[] = { "self", NULL
};
167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpEvent_GetPosition",_kwnames
,&_argo0
))
170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_GetPosition. Expected _wxHelpEvent_p.");
177 wxPy_BEGIN_ALLOW_THREADS
;
178 const wxPoint
& _result_ref
= wxHelpEvent_GetPosition(_arg0
);
179 _result
= (wxPoint
*) &_result_ref
;
181 wxPy_END_ALLOW_THREADS
;
182 if (PyErr_Occurred()) return NULL
;
184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
185 _resultobj
= Py_BuildValue("s",_ptemp
);
188 _resultobj
= Py_None
;
193 #define wxHelpEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
194 static PyObject
*_wrap_wxHelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
198 PyObject
* _argo0
= 0;
200 PyObject
* _obj1
= 0;
201 char *_kwnames
[] = { "self","pos", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_SetPosition. Expected _wxHelpEvent_p.");
215 if (! wxPoint_helper(_obj1
, &_arg1
))
219 wxPy_BEGIN_ALLOW_THREADS
;
220 wxHelpEvent_SetPosition(_arg0
,*_arg1
);
222 wxPy_END_ALLOW_THREADS
;
223 if (PyErr_Occurred()) return NULL
;
224 } Py_INCREF(Py_None
);
225 _resultobj
= Py_None
;
229 #define wxHelpEvent_GetLink(_swigobj) (_swigobj->GetLink())
230 static PyObject
*_wrap_wxHelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
231 PyObject
* _resultobj
;
234 PyObject
* _argo0
= 0;
235 char *_kwnames
[] = { "self", NULL
};
238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpEvent_GetLink",_kwnames
,&_argo0
))
241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_GetLink. Expected _wxHelpEvent_p.");
248 wxPy_BEGIN_ALLOW_THREADS
;
249 const wxString
& _result_ref
= wxHelpEvent_GetLink(_arg0
);
250 _result
= (wxString
*) &_result_ref
;
252 wxPy_END_ALLOW_THREADS
;
253 if (PyErr_Occurred()) return NULL
;
255 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
260 #define wxHelpEvent_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
261 static PyObject
*_wrap_wxHelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
262 PyObject
* _resultobj
;
265 PyObject
* _argo0
= 0;
266 PyObject
* _obj1
= 0;
267 char *_kwnames
[] = { "self","link", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpEvent_SetLink",_kwnames
,&_argo0
,&_obj1
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_SetLink. Expected _wxHelpEvent_p.");
280 #if PYTHON_API_VERSION >= 1009
281 char* tmpPtr
; int tmpSize
;
282 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
286 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
288 _arg1
= new wxString(tmpPtr
, tmpSize
);
290 if (!PyString_Check(_obj1
)) {
291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
294 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
298 wxPy_BEGIN_ALLOW_THREADS
;
299 wxHelpEvent_SetLink(_arg0
,*_arg1
);
301 wxPy_END_ALLOW_THREADS
;
302 if (PyErr_Occurred()) return NULL
;
303 } Py_INCREF(Py_None
);
304 _resultobj
= Py_None
;
312 #define wxHelpEvent_GetTarget(_swigobj) (_swigobj->GetTarget())
313 static PyObject
*_wrap_wxHelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
314 PyObject
* _resultobj
;
317 PyObject
* _argo0
= 0;
318 char *_kwnames
[] = { "self", NULL
};
321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpEvent_GetTarget",_kwnames
,&_argo0
))
324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_GetTarget. Expected _wxHelpEvent_p.");
331 wxPy_BEGIN_ALLOW_THREADS
;
332 const wxString
& _result_ref
= wxHelpEvent_GetTarget(_arg0
);
333 _result
= (wxString
*) &_result_ref
;
335 wxPy_END_ALLOW_THREADS
;
336 if (PyErr_Occurred()) return NULL
;
338 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
343 #define wxHelpEvent_SetTarget(_swigobj,_swigarg0) (_swigobj->SetTarget(_swigarg0))
344 static PyObject
*_wrap_wxHelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
348 PyObject
* _argo0
= 0;
349 PyObject
* _obj1
= 0;
350 char *_kwnames
[] = { "self","target", NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpEvent_SetTarget",_kwnames
,&_argo0
,&_obj1
))
356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpEvent_p")) {
358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpEvent_SetTarget. Expected _wxHelpEvent_p.");
363 #if PYTHON_API_VERSION >= 1009
364 char* tmpPtr
; int tmpSize
;
365 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
369 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
371 _arg1
= new wxString(tmpPtr
, tmpSize
);
373 if (!PyString_Check(_obj1
)) {
374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
377 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
381 wxPy_BEGIN_ALLOW_THREADS
;
382 wxHelpEvent_SetTarget(_arg0
,*_arg1
);
384 wxPy_END_ALLOW_THREADS
;
385 if (PyErr_Occurred()) return NULL
;
386 } Py_INCREF(Py_None
);
387 _resultobj
= Py_None
;
395 static void *SwigwxContextMenuEventTowxCommandEvent(void *ptr
) {
396 wxContextMenuEvent
*src
;
397 wxCommandEvent
*dest
;
398 src
= (wxContextMenuEvent
*) ptr
;
399 dest
= (wxCommandEvent
*) src
;
400 return (void *) dest
;
403 static void *SwigwxContextMenuEventTowxEvent(void *ptr
) {
404 wxContextMenuEvent
*src
;
406 src
= (wxContextMenuEvent
*) ptr
;
407 dest
= (wxEvent
*) src
;
408 return (void *) dest
;
411 static void *SwigwxContextMenuEventTowxObject(void *ptr
) {
412 wxContextMenuEvent
*src
;
414 src
= (wxContextMenuEvent
*) ptr
;
415 dest
= (wxObject
*) src
;
416 return (void *) dest
;
419 #define new_wxContextMenuEvent(_swigarg0,_swigarg1,_swigarg2) (new wxContextMenuEvent(_swigarg0,_swigarg1,_swigarg2))
420 static PyObject
*_wrap_new_wxContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
422 wxContextMenuEvent
* _result
;
423 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
424 wxWindowID _arg1
= (wxWindowID
) 0;
425 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
427 PyObject
* _obj2
= 0;
428 char *_kwnames
[] = { "type","id","pt", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiO:new_wxContextMenuEvent",_kwnames
,&_arg0
,&_arg1
,&_obj2
))
437 if (! wxPoint_helper(_obj2
, &_arg2
))
441 wxPy_BEGIN_ALLOW_THREADS
;
442 _result
= (wxContextMenuEvent
*)new_wxContextMenuEvent(_arg0
,_arg1
,*_arg2
);
444 wxPy_END_ALLOW_THREADS
;
445 if (PyErr_Occurred()) return NULL
;
447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextMenuEvent_p");
448 _resultobj
= Py_BuildValue("s",_ptemp
);
451 _resultobj
= Py_None
;
456 #define wxContextMenuEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
457 static PyObject
*_wrap_wxContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
458 PyObject
* _resultobj
;
460 wxContextMenuEvent
* _arg0
;
461 PyObject
* _argo0
= 0;
462 char *_kwnames
[] = { "self", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxContextMenuEvent_GetPosition",_kwnames
,&_argo0
))
469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextMenuEvent_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextMenuEvent_GetPosition. Expected _wxContextMenuEvent_p.");
476 wxPy_BEGIN_ALLOW_THREADS
;
477 const wxPoint
& _result_ref
= wxContextMenuEvent_GetPosition(_arg0
);
478 _result
= (wxPoint
*) &_result_ref
;
480 wxPy_END_ALLOW_THREADS
;
481 if (PyErr_Occurred()) return NULL
;
483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
484 _resultobj
= Py_BuildValue("s",_ptemp
);
487 _resultobj
= Py_None
;
492 #define wxContextMenuEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
493 static PyObject
*_wrap_wxContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
495 wxContextMenuEvent
* _arg0
;
497 PyObject
* _argo0
= 0;
499 PyObject
* _obj1
= 0;
500 char *_kwnames
[] = { "self","pos", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxContextMenuEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextMenuEvent_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextMenuEvent_SetPosition. Expected _wxContextMenuEvent_p.");
514 if (! wxPoint_helper(_obj1
, &_arg1
))
518 wxPy_BEGIN_ALLOW_THREADS
;
519 wxContextMenuEvent_SetPosition(_arg0
,*_arg1
);
521 wxPy_END_ALLOW_THREADS
;
522 if (PyErr_Occurred()) return NULL
;
523 } Py_INCREF(Py_None
);
524 _resultobj
= Py_None
;
528 static void *SwigwxContextHelpTowxObject(void *ptr
) {
531 src
= (wxContextHelp
*) ptr
;
532 dest
= (wxObject
*) src
;
533 return (void *) dest
;
536 #define new_wxContextHelp(_swigarg0,_swigarg1) (new wxContextHelp(_swigarg0,_swigarg1))
537 static PyObject
*_wrap_new_wxContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
539 wxContextHelp
* _result
;
540 wxWindow
* _arg0
= (wxWindow
*) NULL
;
541 bool _arg1
= (bool ) TRUE
;
542 PyObject
* _argo0
= 0;
543 int tempbool1
= (int) TRUE
;
544 char *_kwnames
[] = { "window","doNow", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxContextHelp",_kwnames
,&_argo0
,&tempbool1
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxContextHelp. Expected _wxWindow_p.");
557 _arg1
= (bool ) tempbool1
;
559 wxPy_BEGIN_ALLOW_THREADS
;
560 _result
= (wxContextHelp
*)new_wxContextHelp(_arg0
,_arg1
);
562 wxPy_END_ALLOW_THREADS
;
563 if (PyErr_Occurred()) return NULL
;
565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextHelp_p");
566 _resultobj
= Py_BuildValue("s",_ptemp
);
569 _resultobj
= Py_None
;
574 #define delete_wxContextHelp(_swigobj) (delete _swigobj)
575 static PyObject
*_wrap_delete_wxContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
577 wxContextHelp
* _arg0
;
578 PyObject
* _argo0
= 0;
579 char *_kwnames
[] = { "self", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxContextHelp",_kwnames
,&_argo0
))
585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextHelp_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxContextHelp. Expected _wxContextHelp_p.");
592 wxPy_BEGIN_ALLOW_THREADS
;
593 delete_wxContextHelp(_arg0
);
595 wxPy_END_ALLOW_THREADS
;
596 if (PyErr_Occurred()) return NULL
;
597 } Py_INCREF(Py_None
);
598 _resultobj
= Py_None
;
602 #define wxContextHelp_BeginContextHelp(_swigobj,_swigarg0) (_swigobj->BeginContextHelp(_swigarg0))
603 static PyObject
*_wrap_wxContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
606 wxContextHelp
* _arg0
;
607 wxWindow
* _arg1
= (wxWindow
*) NULL
;
608 PyObject
* _argo0
= 0;
609 PyObject
* _argo1
= 0;
610 char *_kwnames
[] = { "self","window", NULL
};
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxContextHelp_BeginContextHelp",_kwnames
,&_argo0
,&_argo1
))
616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextHelp_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextHelp_BeginContextHelp. Expected _wxContextHelp_p.");
623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxContextHelp_BeginContextHelp. Expected _wxWindow_p.");
630 wxPy_BEGIN_ALLOW_THREADS
;
631 _result
= (bool )wxContextHelp_BeginContextHelp(_arg0
,_arg1
);
633 wxPy_END_ALLOW_THREADS
;
634 if (PyErr_Occurred()) return NULL
;
635 } _resultobj
= Py_BuildValue("i",_result
);
639 #define wxContextHelp_EndContextHelp(_swigobj) (_swigobj->EndContextHelp())
640 static PyObject
*_wrap_wxContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
641 PyObject
* _resultobj
;
643 wxContextHelp
* _arg0
;
644 PyObject
* _argo0
= 0;
645 char *_kwnames
[] = { "self", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxContextHelp_EndContextHelp",_kwnames
,&_argo0
))
651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextHelp_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextHelp_EndContextHelp. Expected _wxContextHelp_p.");
658 wxPy_BEGIN_ALLOW_THREADS
;
659 _result
= (bool )wxContextHelp_EndContextHelp(_arg0
);
661 wxPy_END_ALLOW_THREADS
;
662 if (PyErr_Occurred()) return NULL
;
663 } _resultobj
= Py_BuildValue("i",_result
);
667 static void *SwigwxContextHelpButtonTowxBitmapButton(void *ptr
) {
668 wxContextHelpButton
*src
;
669 wxBitmapButton
*dest
;
670 src
= (wxContextHelpButton
*) ptr
;
671 dest
= (wxBitmapButton
*) src
;
672 return (void *) dest
;
675 static void *SwigwxContextHelpButtonTowxButton(void *ptr
) {
676 wxContextHelpButton
*src
;
678 src
= (wxContextHelpButton
*) ptr
;
679 dest
= (wxButton
*) src
;
680 return (void *) dest
;
683 static void *SwigwxContextHelpButtonTowxControl(void *ptr
) {
684 wxContextHelpButton
*src
;
686 src
= (wxContextHelpButton
*) ptr
;
687 dest
= (wxControl
*) src
;
688 return (void *) dest
;
691 static void *SwigwxContextHelpButtonTowxWindow(void *ptr
) {
692 wxContextHelpButton
*src
;
694 src
= (wxContextHelpButton
*) ptr
;
695 dest
= (wxWindow
*) src
;
696 return (void *) dest
;
699 static void *SwigwxContextHelpButtonTowxEvtHandler(void *ptr
) {
700 wxContextHelpButton
*src
;
702 src
= (wxContextHelpButton
*) ptr
;
703 dest
= (wxEvtHandler
*) src
;
704 return (void *) dest
;
707 static void *SwigwxContextHelpButtonTowxObject(void *ptr
) {
708 wxContextHelpButton
*src
;
710 src
= (wxContextHelpButton
*) ptr
;
711 dest
= (wxObject
*) src
;
712 return (void *) dest
;
715 #define new_wxContextHelpButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxContextHelpButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
716 static PyObject
*_wrap_new_wxContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
718 wxContextHelpButton
* _result
;
720 wxWindowID _arg1
= (wxWindowID
) (wxID_CONTEXT_HELP
);
721 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
722 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
723 long _arg4
= (long ) wxBU_AUTODRAW
;
724 PyObject
* _argo0
= 0;
726 PyObject
* _obj2
= 0;
728 PyObject
* _obj3
= 0;
729 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxContextHelpButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxContextHelpButton. Expected _wxWindow_p.");
745 if (! wxPoint_helper(_obj2
, &_arg2
))
751 if (! wxSize_helper(_obj3
, &_arg3
))
755 wxPy_BEGIN_ALLOW_THREADS
;
756 _result
= (wxContextHelpButton
*)new_wxContextHelpButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
758 wxPy_END_ALLOW_THREADS
;
759 if (PyErr_Occurred()) return NULL
;
761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextHelpButton_p");
762 _resultobj
= Py_BuildValue("s",_ptemp
);
765 _resultobj
= Py_None
;
770 static PyObject
*_wrap_wxHelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
772 wxHelpProvider
* _result
;
773 wxHelpProvider
* _arg0
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "helpProvider", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpProvider_Set",_kwnames
,&_argo0
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_Set. Expected _wxHelpProvider_p.");
789 wxPy_BEGIN_ALLOW_THREADS
;
790 _result
= (wxHelpProvider
*)wxHelpProvider::Set(_arg0
);
792 wxPy_END_ALLOW_THREADS
;
793 if (PyErr_Occurred()) return NULL
;
795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHelpProvider_p");
796 _resultobj
= Py_BuildValue("s",_ptemp
);
799 _resultobj
= Py_None
;
804 static PyObject
*_wrap_wxHelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
806 wxHelpProvider
* _result
;
807 char *_kwnames
[] = { NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxHelpProvider_Get",_kwnames
))
814 wxPy_BEGIN_ALLOW_THREADS
;
815 _result
= (wxHelpProvider
*)wxHelpProvider::Get();
817 wxPy_END_ALLOW_THREADS
;
818 if (PyErr_Occurred()) return NULL
;
820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHelpProvider_p");
821 _resultobj
= Py_BuildValue("s",_ptemp
);
824 _resultobj
= Py_None
;
829 #define wxHelpProvider_GetHelp(_swigobj,_swigarg0) (_swigobj->GetHelp(_swigarg0))
830 static PyObject
*_wrap_wxHelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
833 wxHelpProvider
* _arg0
;
835 PyObject
* _argo0
= 0;
836 PyObject
* _argo1
= 0;
837 char *_kwnames
[] = { "self","window", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpProvider_GetHelp",_kwnames
,&_argo0
,&_argo1
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_GetHelp. Expected _wxHelpProvider_p.");
850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHelpProvider_GetHelp. Expected _wxWindow_p.");
857 wxPy_BEGIN_ALLOW_THREADS
;
858 _result
= new wxString (wxHelpProvider_GetHelp(_arg0
,_arg1
));
860 wxPy_END_ALLOW_THREADS
;
861 if (PyErr_Occurred()) return NULL
;
863 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
871 #define wxHelpProvider_ShowHelp(_swigobj,_swigarg0) (_swigobj->ShowHelp(_swigarg0))
872 static PyObject
*_wrap_wxHelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
875 wxHelpProvider
* _arg0
;
876 wxWindowBase
* _arg1
;
877 PyObject
* _argo0
= 0;
878 PyObject
* _argo1
= 0;
879 char *_kwnames
[] = { "self","window", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHelpProvider_ShowHelp",_kwnames
,&_argo0
,&_argo1
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_ShowHelp. Expected _wxHelpProvider_p.");
892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindowBase_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHelpProvider_ShowHelp. Expected _wxWindowBase_p.");
899 wxPy_BEGIN_ALLOW_THREADS
;
900 _result
= (bool )wxHelpProvider_ShowHelp(_arg0
,_arg1
);
902 wxPy_END_ALLOW_THREADS
;
903 if (PyErr_Occurred()) return NULL
;
904 } _resultobj
= Py_BuildValue("i",_result
);
908 #define wxHelpProvider_AddHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddHelp(_swigarg0,_swigarg1))
909 static PyObject
*_wrap_wxHelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
911 wxHelpProvider
* _arg0
;
912 wxWindowBase
* _arg1
;
914 PyObject
* _argo0
= 0;
915 PyObject
* _argo1
= 0;
916 PyObject
* _obj2
= 0;
917 char *_kwnames
[] = { "self","window","text", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHelpProvider_AddHelp",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_AddHelp. Expected _wxHelpProvider_p.");
930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindowBase_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHelpProvider_AddHelp. Expected _wxWindowBase_p.");
937 #if PYTHON_API_VERSION >= 1009
938 char* tmpPtr
; int tmpSize
;
939 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
943 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
945 _arg2
= new wxString(tmpPtr
, tmpSize
);
947 if (!PyString_Check(_obj2
)) {
948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
951 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
955 wxPy_BEGIN_ALLOW_THREADS
;
956 wxHelpProvider_AddHelp(_arg0
,_arg1
,*_arg2
);
958 wxPy_END_ALLOW_THREADS
;
959 if (PyErr_Occurred()) return NULL
;
960 } Py_INCREF(Py_None
);
961 _resultobj
= Py_None
;
969 #define wxHelpProvider_AddHelpById(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddHelp(_swigarg0,_swigarg1))
970 static PyObject
*_wrap_wxHelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
972 wxHelpProvider
* _arg0
;
975 PyObject
* _argo0
= 0;
976 PyObject
* _obj2
= 0;
977 char *_kwnames
[] = { "self","id","text", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHelpProvider_AddHelpById",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_AddHelpById. Expected _wxHelpProvider_p.");
990 #if PYTHON_API_VERSION >= 1009
991 char* tmpPtr
; int tmpSize
;
992 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
993 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
996 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
998 _arg2
= new wxString(tmpPtr
, tmpSize
);
1000 if (!PyString_Check(_obj2
)) {
1001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1004 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 wxHelpProvider_AddHelpById(_arg0
,_arg1
,*_arg2
);
1011 wxPy_END_ALLOW_THREADS
;
1012 if (PyErr_Occurred()) return NULL
;
1013 } Py_INCREF(Py_None
);
1014 _resultobj
= Py_None
;
1022 static void wxHelpProvider_Destroy(wxHelpProvider
*self
) { delete self
; }
1023 static PyObject
*_wrap_wxHelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1025 wxHelpProvider
* _arg0
;
1026 PyObject
* _argo0
= 0;
1027 char *_kwnames
[] = { "self", NULL
};
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHelpProvider_Destroy",_kwnames
,&_argo0
))
1033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHelpProvider_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHelpProvider_Destroy. Expected _wxHelpProvider_p.");
1040 wxPy_BEGIN_ALLOW_THREADS
;
1041 wxHelpProvider_Destroy(_arg0
);
1043 wxPy_END_ALLOW_THREADS
;
1044 if (PyErr_Occurred()) return NULL
;
1045 } Py_INCREF(Py_None
);
1046 _resultobj
= Py_None
;
1050 static void *SwigwxSimpleHelpProviderTowxHelpProvider(void *ptr
) {
1051 wxSimpleHelpProvider
*src
;
1052 wxHelpProvider
*dest
;
1053 src
= (wxSimpleHelpProvider
*) ptr
;
1054 dest
= (wxHelpProvider
*) src
;
1055 return (void *) dest
;
1058 #define new_wxSimpleHelpProvider() (new wxSimpleHelpProvider())
1059 static PyObject
*_wrap_new_wxSimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1061 wxSimpleHelpProvider
* _result
;
1062 char *_kwnames
[] = { NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSimpleHelpProvider",_kwnames
))
1069 wxPy_BEGIN_ALLOW_THREADS
;
1070 _result
= (wxSimpleHelpProvider
*)new_wxSimpleHelpProvider();
1072 wxPy_END_ALLOW_THREADS
;
1073 if (PyErr_Occurred()) return NULL
;
1075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSimpleHelpProvider_p");
1076 _resultobj
= Py_BuildValue("s",_ptemp
);
1079 _resultobj
= Py_None
;
1084 static PyMethodDef helpcMethods
[] = {
1085 { "new_wxSimpleHelpProvider", (PyCFunction
) _wrap_new_wxSimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
1086 { "wxHelpProvider_Destroy", (PyCFunction
) _wrap_wxHelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
1087 { "wxHelpProvider_AddHelpById", (PyCFunction
) _wrap_wxHelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
1088 { "wxHelpProvider_AddHelp", (PyCFunction
) _wrap_wxHelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
1089 { "wxHelpProvider_ShowHelp", (PyCFunction
) _wrap_wxHelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
1090 { "wxHelpProvider_GetHelp", (PyCFunction
) _wrap_wxHelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
1091 { "wxHelpProvider_Get", (PyCFunction
) _wrap_wxHelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
1092 { "wxHelpProvider_Set", (PyCFunction
) _wrap_wxHelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
1093 { "new_wxContextHelpButton", (PyCFunction
) _wrap_new_wxContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
1094 { "wxContextHelp_EndContextHelp", (PyCFunction
) _wrap_wxContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1095 { "wxContextHelp_BeginContextHelp", (PyCFunction
) _wrap_wxContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1096 { "delete_wxContextHelp", (PyCFunction
) _wrap_delete_wxContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1097 { "new_wxContextHelp", (PyCFunction
) _wrap_new_wxContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
1098 { "wxContextMenuEvent_SetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1099 { "wxContextMenuEvent_GetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1100 { "new_wxContextMenuEvent", (PyCFunction
) _wrap_new_wxContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
1101 { "wxHelpEvent_SetTarget", (PyCFunction
) _wrap_wxHelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
1102 { "wxHelpEvent_GetTarget", (PyCFunction
) _wrap_wxHelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
1103 { "wxHelpEvent_SetLink", (PyCFunction
) _wrap_wxHelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
1104 { "wxHelpEvent_GetLink", (PyCFunction
) _wrap_wxHelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
1105 { "wxHelpEvent_SetPosition", (PyCFunction
) _wrap_wxHelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1106 { "wxHelpEvent_GetPosition", (PyCFunction
) _wrap_wxHelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1107 { "new_wxHelpEvent", (PyCFunction
) _wrap_new_wxHelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
1114 * This table is used by the pointer type-checker
1116 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1117 { "_wxEvent","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
1118 { "_wxEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
1119 { "_wxEvent","_class_wxHelpEvent",SwigwxHelpEventTowxEvent
},
1120 { "_wxEvent","_wxHelpEvent",SwigwxHelpEventTowxEvent
},
1121 { "_signed_long","_long",0},
1122 { "_wxPrintQuality","_wxCoord",0},
1123 { "_wxPrintQuality","_int",0},
1124 { "_wxPrintQuality","_signed_int",0},
1125 { "_wxPrintQuality","_unsigned_int",0},
1126 { "_wxPrintQuality","_wxWindowID",0},
1127 { "_wxPrintQuality","_uint",0},
1128 { "_wxPrintQuality","_EBool",0},
1129 { "_wxPrintQuality","_size_t",0},
1130 { "_wxPrintQuality","_time_t",0},
1131 { "_class_wxEvtHandler","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler
},
1132 { "_class_wxEvtHandler","_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler
},
1133 { "_byte","_unsigned_char",0},
1134 { "_long","_unsigned_long",0},
1135 { "_long","_signed_long",0},
1136 { "_wxBitmapButton","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton
},
1137 { "_wxBitmapButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton
},
1138 { "_class_wxObject","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxObject
},
1139 { "_class_wxObject","_wxContextHelpButton",SwigwxContextHelpButtonTowxObject
},
1140 { "_class_wxObject","_class_wxContextHelp",SwigwxContextHelpTowxObject
},
1141 { "_class_wxObject","_wxContextHelp",SwigwxContextHelpTowxObject
},
1142 { "_class_wxObject","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
1143 { "_class_wxObject","_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
1144 { "_class_wxObject","_class_wxHelpEvent",SwigwxHelpEventTowxObject
},
1145 { "_class_wxObject","_wxHelpEvent",SwigwxHelpEventTowxObject
},
1146 { "_size_t","_wxCoord",0},
1147 { "_size_t","_wxPrintQuality",0},
1148 { "_size_t","_time_t",0},
1149 { "_size_t","_unsigned_int",0},
1150 { "_size_t","_int",0},
1151 { "_size_t","_wxWindowID",0},
1152 { "_size_t","_uint",0},
1153 { "_uint","_wxCoord",0},
1154 { "_uint","_wxPrintQuality",0},
1155 { "_uint","_time_t",0},
1156 { "_uint","_size_t",0},
1157 { "_uint","_unsigned_int",0},
1158 { "_uint","_int",0},
1159 { "_uint","_wxWindowID",0},
1160 { "_wxChar","_char",0},
1161 { "_class_wxEvent","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
1162 { "_class_wxEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
1163 { "_class_wxEvent","_class_wxHelpEvent",SwigwxHelpEventTowxEvent
},
1164 { "_class_wxEvent","_wxHelpEvent",SwigwxHelpEventTowxEvent
},
1165 { "_wxCommandEvent","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
1166 { "_wxCommandEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
1167 { "_wxCommandEvent","_class_wxHelpEvent",SwigwxHelpEventTowxCommandEvent
},
1168 { "_wxCommandEvent","_wxHelpEvent",SwigwxHelpEventTowxCommandEvent
},
1169 { "_class_wxButton","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxButton
},
1170 { "_class_wxButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxButton
},
1171 { "_char","_wxChar",0},
1172 { "_wxHelpProvider","_class_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider
},
1173 { "_wxHelpProvider","_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider
},
1174 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1175 { "_EBool","_wxCoord",0},
1176 { "_EBool","_wxPrintQuality",0},
1177 { "_EBool","_signed_int",0},
1178 { "_EBool","_int",0},
1179 { "_EBool","_wxWindowID",0},
1180 { "_unsigned_long","_long",0},
1181 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1182 { "_signed_int","_wxCoord",0},
1183 { "_signed_int","_wxPrintQuality",0},
1184 { "_signed_int","_EBool",0},
1185 { "_signed_int","_wxWindowID",0},
1186 { "_signed_int","_int",0},
1187 { "_WXTYPE","_short",0},
1188 { "_WXTYPE","_signed_short",0},
1189 { "_WXTYPE","_unsigned_short",0},
1190 { "_unsigned_short","_WXTYPE",0},
1191 { "_unsigned_short","_short",0},
1192 { "_class_wxWindow","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow
},
1193 { "_class_wxWindow","_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow
},
1194 { "_wxObject","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxObject
},
1195 { "_wxObject","_wxContextHelpButton",SwigwxContextHelpButtonTowxObject
},
1196 { "_wxObject","_class_wxContextHelp",SwigwxContextHelpTowxObject
},
1197 { "_wxObject","_wxContextHelp",SwigwxContextHelpTowxObject
},
1198 { "_wxObject","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
1199 { "_wxObject","_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
1200 { "_wxObject","_class_wxHelpEvent",SwigwxHelpEventTowxObject
},
1201 { "_wxObject","_wxHelpEvent",SwigwxHelpEventTowxObject
},
1202 { "_signed_short","_WXTYPE",0},
1203 { "_signed_short","_short",0},
1204 { "_unsigned_char","_byte",0},
1205 { "_wxControl","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxControl
},
1206 { "_wxControl","_wxContextHelpButton",SwigwxContextHelpButtonTowxControl
},
1207 { "_unsigned_int","_wxCoord",0},
1208 { "_unsigned_int","_wxPrintQuality",0},
1209 { "_unsigned_int","_time_t",0},
1210 { "_unsigned_int","_size_t",0},
1211 { "_unsigned_int","_uint",0},
1212 { "_unsigned_int","_wxWindowID",0},
1213 { "_unsigned_int","_int",0},
1214 { "_short","_WXTYPE",0},
1215 { "_short","_unsigned_short",0},
1216 { "_short","_signed_short",0},
1217 { "_class_wxBitmapButton","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton
},
1218 { "_class_wxBitmapButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton
},
1219 { "_wxWindowID","_wxCoord",0},
1220 { "_wxWindowID","_wxPrintQuality",0},
1221 { "_wxWindowID","_time_t",0},
1222 { "_wxWindowID","_size_t",0},
1223 { "_wxWindowID","_EBool",0},
1224 { "_wxWindowID","_uint",0},
1225 { "_wxWindowID","_int",0},
1226 { "_wxWindowID","_signed_int",0},
1227 { "_wxWindowID","_unsigned_int",0},
1228 { "_int","_wxCoord",0},
1229 { "_int","_wxPrintQuality",0},
1230 { "_int","_time_t",0},
1231 { "_int","_size_t",0},
1232 { "_int","_EBool",0},
1233 { "_int","_uint",0},
1234 { "_int","_wxWindowID",0},
1235 { "_int","_unsigned_int",0},
1236 { "_int","_signed_int",0},
1237 { "_time_t","_wxCoord",0},
1238 { "_time_t","_wxPrintQuality",0},
1239 { "_time_t","_unsigned_int",0},
1240 { "_time_t","_int",0},
1241 { "_time_t","_wxWindowID",0},
1242 { "_time_t","_uint",0},
1243 { "_time_t","_size_t",0},
1244 { "_wxButton","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxButton
},
1245 { "_wxButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxButton
},
1246 { "_class_wxControl","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxControl
},
1247 { "_class_wxControl","_wxContextHelpButton",SwigwxContextHelpButtonTowxControl
},
1248 { "_wxCoord","_int",0},
1249 { "_wxCoord","_signed_int",0},
1250 { "_wxCoord","_unsigned_int",0},
1251 { "_wxCoord","_wxWindowID",0},
1252 { "_wxCoord","_uint",0},
1253 { "_wxCoord","_EBool",0},
1254 { "_wxCoord","_size_t",0},
1255 { "_wxCoord","_time_t",0},
1256 { "_wxCoord","_wxPrintQuality",0},
1257 { "_class_wxCommandEvent","_class_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
1258 { "_class_wxCommandEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
1259 { "_class_wxCommandEvent","_class_wxHelpEvent",SwigwxHelpEventTowxCommandEvent
},
1260 { "_class_wxCommandEvent","_wxHelpEvent",SwigwxHelpEventTowxCommandEvent
},
1261 { "_wxEvtHandler","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler
},
1262 { "_wxEvtHandler","_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler
},
1263 { "_class_wxHelpProvider","_class_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider
},
1264 { "_class_wxHelpProvider","_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider
},
1265 { "_wxWindow","_class_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow
},
1266 { "_wxWindow","_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow
},
1269 static PyObject
*SWIG_globals
;
1273 SWIGEXPORT(void) inithelpc() {
1275 SWIG_globals
= SWIG_newvarlink();
1276 m
= Py_InitModule("helpc", helpcMethods
);
1277 d
= PyModule_GetDict(m
);
1278 PyDict_SetItemString(d
,"wxFRAME_EX_CONTEXTHELP", PyInt_FromLong((long) wxFRAME_EX_CONTEXTHELP
));
1279 PyDict_SetItemString(d
,"wxDIALOG_EX_CONTEXTHELP", PyInt_FromLong((long) wxDIALOG_EX_CONTEXTHELP
));
1280 PyDict_SetItemString(d
,"wxID_CONTEXT_HELP", PyInt_FromLong((long) wxID_CONTEXT_HELP
));
1281 PyDict_SetItemString(d
,"wxEVT_HELP", PyInt_FromLong((long) wxEVT_HELP
));
1282 PyDict_SetItemString(d
,"wxEVT_DETAILED_HELP", PyInt_FromLong((long) wxEVT_DETAILED_HELP
));
1283 PyDict_SetItemString(d
,"wxEVT_CONTEXT_MENU", PyInt_FromLong((long) wxEVT_CONTEXT_MENU
));
1286 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1287 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);