]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/help.cpp
2.4 -> 2.5; build in another directory than source one; mention --disable-shared
[wxWidgets.git] / wxPython / src / gtk / help.cpp
1 /*
2 * FILE : src/gtk/help.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init inithelpc
54
55 #define SWIG_name "helpc"
56
57 #include "wxPython.h"
58 #include <wx/cshelp.h>
59
60
61 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
63 PyObject* o3;
64
65 if (!target) {
66 target = o;
67 } else if (target == Py_None) {
68 Py_DECREF(Py_None);
69 target = o;
70 } else {
71 if (!PyTuple_Check(target)) {
72 o2 = target;
73 target = PyTuple_New(1);
74 PyTuple_SetItem(target, 0, o2);
75 }
76 o3 = PyTuple_New(1);
77 PyTuple_SetItem(o3, 0, o);
78
79 o2 = target;
80 target = PySequence_Concat(o2, o3);
81 Py_DECREF(o2);
82 Py_DECREF(o3);
83 }
84 return target;
85 }
86 #ifdef __cplusplus
87 extern "C" {
88 #endif
89 static void *SwigwxHelpEventTowxCommandEvent(void *ptr) {
90 wxHelpEvent *src;
91 wxCommandEvent *dest;
92 src = (wxHelpEvent *) ptr;
93 dest = (wxCommandEvent *) src;
94 return (void *) dest;
95 }
96
97 static void *SwigwxHelpEventTowxEvent(void *ptr) {
98 wxHelpEvent *src;
99 wxEvent *dest;
100 src = (wxHelpEvent *) ptr;
101 dest = (wxEvent *) src;
102 return (void *) dest;
103 }
104
105 static void *SwigwxHelpEventTowxObject(void *ptr) {
106 wxHelpEvent *src;
107 wxObject *dest;
108 src = (wxHelpEvent *) ptr;
109 dest = (wxObject *) src;
110 return (void *) dest;
111 }
112
113 #define new_wxHelpEvent(_swigarg0,_swigarg1,_swigarg2) (new wxHelpEvent(_swigarg0,_swigarg1,_swigarg2))
114 static PyObject *_wrap_new_wxHelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
115 PyObject * _resultobj;
116 wxHelpEvent * _result;
117 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
118 wxWindowID _arg1 = (wxWindowID ) 0;
119 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
120 wxPoint temp;
121 PyObject * _obj2 = 0;
122 char *_kwnames[] = { "type","id","pt", NULL };
123 char _ptemp[128];
124
125 self = self;
126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiO:new_wxHelpEvent",_kwnames,&_arg0,&_arg1,&_obj2))
127 return NULL;
128 if (_obj2)
129 {
130 _arg2 = &temp;
131 if (! wxPoint_helper(_obj2, &_arg2))
132 return NULL;
133 }
134 {
135 PyThreadState* __tstate = wxPyBeginAllowThreads();
136 _result = (wxHelpEvent *)new_wxHelpEvent(_arg0,_arg1,*_arg2);
137
138 wxPyEndAllowThreads(__tstate);
139 if (PyErr_Occurred()) return NULL;
140 } if (_result) {
141 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHelpEvent_p");
142 _resultobj = Py_BuildValue("s",_ptemp);
143 } else {
144 Py_INCREF(Py_None);
145 _resultobj = Py_None;
146 }
147 return _resultobj;
148 }
149
150 #define wxHelpEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
151 static PyObject *_wrap_wxHelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
152 PyObject * _resultobj;
153 wxPoint * _result;
154 wxHelpEvent * _arg0;
155 PyObject * _argo0 = 0;
156 char *_kwnames[] = { "self", NULL };
157 char _ptemp[128];
158
159 self = self;
160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHelpEvent_GetPosition",_kwnames,&_argo0))
161 return NULL;
162 if (_argo0) {
163 if (_argo0 == Py_None) { _arg0 = NULL; }
164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpEvent_p")) {
165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpEvent_GetPosition. Expected _wxHelpEvent_p.");
166 return NULL;
167 }
168 }
169 {
170 PyThreadState* __tstate = wxPyBeginAllowThreads();
171 const wxPoint & _result_ref = wxHelpEvent_GetPosition(_arg0);
172 _result = (wxPoint *) &_result_ref;
173
174 wxPyEndAllowThreads(__tstate);
175 if (PyErr_Occurred()) return NULL;
176 } if (_result) {
177 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
178 _resultobj = Py_BuildValue("s",_ptemp);
179 } else {
180 Py_INCREF(Py_None);
181 _resultobj = Py_None;
182 }
183 return _resultobj;
184 }
185
186 #define wxHelpEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
187 static PyObject *_wrap_wxHelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
188 PyObject * _resultobj;
189 wxHelpEvent * _arg0;
190 wxPoint * _arg1;
191 PyObject * _argo0 = 0;
192 wxPoint temp;
193 PyObject * _obj1 = 0;
194 char *_kwnames[] = { "self","pos", NULL };
195
196 self = self;
197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHelpEvent_SetPosition",_kwnames,&_argo0,&_obj1))
198 return NULL;
199 if (_argo0) {
200 if (_argo0 == Py_None) { _arg0 = NULL; }
201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpEvent_p")) {
202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpEvent_SetPosition. Expected _wxHelpEvent_p.");
203 return NULL;
204 }
205 }
206 {
207 _arg1 = &temp;
208 if (! wxPoint_helper(_obj1, &_arg1))
209 return NULL;
210 }
211 {
212 PyThreadState* __tstate = wxPyBeginAllowThreads();
213 wxHelpEvent_SetPosition(_arg0,*_arg1);
214
215 wxPyEndAllowThreads(__tstate);
216 if (PyErr_Occurred()) return NULL;
217 } Py_INCREF(Py_None);
218 _resultobj = Py_None;
219 return _resultobj;
220 }
221
222 #define wxHelpEvent_GetLink(_swigobj) (_swigobj->GetLink())
223 static PyObject *_wrap_wxHelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
224 PyObject * _resultobj;
225 wxString * _result;
226 wxHelpEvent * _arg0;
227 PyObject * _argo0 = 0;
228 char *_kwnames[] = { "self", NULL };
229
230 self = self;
231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHelpEvent_GetLink",_kwnames,&_argo0))
232 return NULL;
233 if (_argo0) {
234 if (_argo0 == Py_None) { _arg0 = NULL; }
235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpEvent_p")) {
236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpEvent_GetLink. Expected _wxHelpEvent_p.");
237 return NULL;
238 }
239 }
240 {
241 PyThreadState* __tstate = wxPyBeginAllowThreads();
242 const wxString & _result_ref = wxHelpEvent_GetLink(_arg0);
243 _result = (wxString *) &_result_ref;
244
245 wxPyEndAllowThreads(__tstate);
246 if (PyErr_Occurred()) return NULL;
247 }{
248 #if wxUSE_UNICODE
249 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
250 #else
251 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
252 #endif
253 }
254 return _resultobj;
255 }
256
257 #define wxHelpEvent_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
258 static PyObject *_wrap_wxHelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
259 PyObject * _resultobj;
260 wxHelpEvent * _arg0;
261 wxString * _arg1;
262 PyObject * _argo0 = 0;
263 PyObject * _obj1 = 0;
264 char *_kwnames[] = { "self","link", NULL };
265
266 self = self;
267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHelpEvent_SetLink",_kwnames,&_argo0,&_obj1))
268 return NULL;
269 if (_argo0) {
270 if (_argo0 == Py_None) { _arg0 = NULL; }
271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpEvent_p")) {
272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpEvent_SetLink. Expected _wxHelpEvent_p.");
273 return NULL;
274 }
275 }
276 {
277 _arg1 = wxString_in_helper(_obj1);
278 if (_arg1 == NULL)
279 return NULL;
280 }
281 {
282 PyThreadState* __tstate = wxPyBeginAllowThreads();
283 wxHelpEvent_SetLink(_arg0,*_arg1);
284
285 wxPyEndAllowThreads(__tstate);
286 if (PyErr_Occurred()) return NULL;
287 } Py_INCREF(Py_None);
288 _resultobj = Py_None;
289 {
290 if (_obj1)
291 delete _arg1;
292 }
293 return _resultobj;
294 }
295
296 #define wxHelpEvent_GetTarget(_swigobj) (_swigobj->GetTarget())
297 static PyObject *_wrap_wxHelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
298 PyObject * _resultobj;
299 wxString * _result;
300 wxHelpEvent * _arg0;
301 PyObject * _argo0 = 0;
302 char *_kwnames[] = { "self", NULL };
303
304 self = self;
305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHelpEvent_GetTarget",_kwnames,&_argo0))
306 return NULL;
307 if (_argo0) {
308 if (_argo0 == Py_None) { _arg0 = NULL; }
309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpEvent_p")) {
310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpEvent_GetTarget. Expected _wxHelpEvent_p.");
311 return NULL;
312 }
313 }
314 {
315 PyThreadState* __tstate = wxPyBeginAllowThreads();
316 const wxString & _result_ref = wxHelpEvent_GetTarget(_arg0);
317 _result = (wxString *) &_result_ref;
318
319 wxPyEndAllowThreads(__tstate);
320 if (PyErr_Occurred()) return NULL;
321 }{
322 #if wxUSE_UNICODE
323 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
324 #else
325 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
326 #endif
327 }
328 return _resultobj;
329 }
330
331 #define wxHelpEvent_SetTarget(_swigobj,_swigarg0) (_swigobj->SetTarget(_swigarg0))
332 static PyObject *_wrap_wxHelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
333 PyObject * _resultobj;
334 wxHelpEvent * _arg0;
335 wxString * _arg1;
336 PyObject * _argo0 = 0;
337 PyObject * _obj1 = 0;
338 char *_kwnames[] = { "self","target", NULL };
339
340 self = self;
341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHelpEvent_SetTarget",_kwnames,&_argo0,&_obj1))
342 return NULL;
343 if (_argo0) {
344 if (_argo0 == Py_None) { _arg0 = NULL; }
345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpEvent_p")) {
346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpEvent_SetTarget. Expected _wxHelpEvent_p.");
347 return NULL;
348 }
349 }
350 {
351 _arg1 = wxString_in_helper(_obj1);
352 if (_arg1 == NULL)
353 return NULL;
354 }
355 {
356 PyThreadState* __tstate = wxPyBeginAllowThreads();
357 wxHelpEvent_SetTarget(_arg0,*_arg1);
358
359 wxPyEndAllowThreads(__tstate);
360 if (PyErr_Occurred()) return NULL;
361 } Py_INCREF(Py_None);
362 _resultobj = Py_None;
363 {
364 if (_obj1)
365 delete _arg1;
366 }
367 return _resultobj;
368 }
369
370 static void *SwigwxContextHelpTowxObject(void *ptr) {
371 wxContextHelp *src;
372 wxObject *dest;
373 src = (wxContextHelp *) ptr;
374 dest = (wxObject *) src;
375 return (void *) dest;
376 }
377
378 #define new_wxContextHelp(_swigarg0,_swigarg1) (new wxContextHelp(_swigarg0,_swigarg1))
379 static PyObject *_wrap_new_wxContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
380 PyObject * _resultobj;
381 wxContextHelp * _result;
382 wxWindow * _arg0 = (wxWindow *) NULL;
383 bool _arg1 = (bool ) TRUE;
384 PyObject * _argo0 = 0;
385 int tempbool1 = (int) TRUE;
386 char *_kwnames[] = { "window","doNow", NULL };
387 char _ptemp[128];
388
389 self = self;
390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxContextHelp",_kwnames,&_argo0,&tempbool1))
391 return NULL;
392 if (_argo0) {
393 if (_argo0 == Py_None) { _arg0 = NULL; }
394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxContextHelp. Expected _wxWindow_p.");
396 return NULL;
397 }
398 }
399 _arg1 = (bool ) tempbool1;
400 {
401 PyThreadState* __tstate = wxPyBeginAllowThreads();
402 _result = (wxContextHelp *)new_wxContextHelp(_arg0,_arg1);
403
404 wxPyEndAllowThreads(__tstate);
405 if (PyErr_Occurred()) return NULL;
406 } if (_result) {
407 SWIG_MakePtr(_ptemp, (char *) _result,"_wxContextHelp_p");
408 _resultobj = Py_BuildValue("s",_ptemp);
409 } else {
410 Py_INCREF(Py_None);
411 _resultobj = Py_None;
412 }
413 return _resultobj;
414 }
415
416 #define delete_wxContextHelp(_swigobj) (delete _swigobj)
417 static PyObject *_wrap_delete_wxContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
418 PyObject * _resultobj;
419 wxContextHelp * _arg0;
420 PyObject * _argo0 = 0;
421 char *_kwnames[] = { "self", NULL };
422
423 self = self;
424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxContextHelp",_kwnames,&_argo0))
425 return NULL;
426 if (_argo0) {
427 if (_argo0 == Py_None) { _arg0 = NULL; }
428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxContextHelp_p")) {
429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxContextHelp. Expected _wxContextHelp_p.");
430 return NULL;
431 }
432 }
433 {
434 PyThreadState* __tstate = wxPyBeginAllowThreads();
435 delete_wxContextHelp(_arg0);
436
437 wxPyEndAllowThreads(__tstate);
438 if (PyErr_Occurred()) return NULL;
439 } Py_INCREF(Py_None);
440 _resultobj = Py_None;
441 return _resultobj;
442 }
443
444 #define wxContextHelp_BeginContextHelp(_swigobj,_swigarg0) (_swigobj->BeginContextHelp(_swigarg0))
445 static PyObject *_wrap_wxContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
446 PyObject * _resultobj;
447 bool _result;
448 wxContextHelp * _arg0;
449 wxWindow * _arg1 = (wxWindow *) NULL;
450 PyObject * _argo0 = 0;
451 PyObject * _argo1 = 0;
452 char *_kwnames[] = { "self","window", NULL };
453
454 self = self;
455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxContextHelp_BeginContextHelp",_kwnames,&_argo0,&_argo1))
456 return NULL;
457 if (_argo0) {
458 if (_argo0 == Py_None) { _arg0 = NULL; }
459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxContextHelp_p")) {
460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxContextHelp_BeginContextHelp. Expected _wxContextHelp_p.");
461 return NULL;
462 }
463 }
464 if (_argo1) {
465 if (_argo1 == Py_None) { _arg1 = NULL; }
466 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
467 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxContextHelp_BeginContextHelp. Expected _wxWindow_p.");
468 return NULL;
469 }
470 }
471 {
472 PyThreadState* __tstate = wxPyBeginAllowThreads();
473 _result = (bool )wxContextHelp_BeginContextHelp(_arg0,_arg1);
474
475 wxPyEndAllowThreads(__tstate);
476 if (PyErr_Occurred()) return NULL;
477 } _resultobj = Py_BuildValue("i",_result);
478 return _resultobj;
479 }
480
481 #define wxContextHelp_EndContextHelp(_swigobj) (_swigobj->EndContextHelp())
482 static PyObject *_wrap_wxContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
483 PyObject * _resultobj;
484 bool _result;
485 wxContextHelp * _arg0;
486 PyObject * _argo0 = 0;
487 char *_kwnames[] = { "self", NULL };
488
489 self = self;
490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxContextHelp_EndContextHelp",_kwnames,&_argo0))
491 return NULL;
492 if (_argo0) {
493 if (_argo0 == Py_None) { _arg0 = NULL; }
494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxContextHelp_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxContextHelp_EndContextHelp. Expected _wxContextHelp_p.");
496 return NULL;
497 }
498 }
499 {
500 PyThreadState* __tstate = wxPyBeginAllowThreads();
501 _result = (bool )wxContextHelp_EndContextHelp(_arg0);
502
503 wxPyEndAllowThreads(__tstate);
504 if (PyErr_Occurred()) return NULL;
505 } _resultobj = Py_BuildValue("i",_result);
506 return _resultobj;
507 }
508
509 static void *SwigwxContextHelpButtonTowxBitmapButton(void *ptr) {
510 wxContextHelpButton *src;
511 wxBitmapButton *dest;
512 src = (wxContextHelpButton *) ptr;
513 dest = (wxBitmapButton *) src;
514 return (void *) dest;
515 }
516
517 static void *SwigwxContextHelpButtonTowxButton(void *ptr) {
518 wxContextHelpButton *src;
519 wxButton *dest;
520 src = (wxContextHelpButton *) ptr;
521 dest = (wxButton *) src;
522 return (void *) dest;
523 }
524
525 static void *SwigwxContextHelpButtonTowxControl(void *ptr) {
526 wxContextHelpButton *src;
527 wxControl *dest;
528 src = (wxContextHelpButton *) ptr;
529 dest = (wxControl *) src;
530 return (void *) dest;
531 }
532
533 static void *SwigwxContextHelpButtonTowxWindow(void *ptr) {
534 wxContextHelpButton *src;
535 wxWindow *dest;
536 src = (wxContextHelpButton *) ptr;
537 dest = (wxWindow *) src;
538 return (void *) dest;
539 }
540
541 static void *SwigwxContextHelpButtonTowxEvtHandler(void *ptr) {
542 wxContextHelpButton *src;
543 wxEvtHandler *dest;
544 src = (wxContextHelpButton *) ptr;
545 dest = (wxEvtHandler *) src;
546 return (void *) dest;
547 }
548
549 static void *SwigwxContextHelpButtonTowxObject(void *ptr) {
550 wxContextHelpButton *src;
551 wxObject *dest;
552 src = (wxContextHelpButton *) ptr;
553 dest = (wxObject *) src;
554 return (void *) dest;
555 }
556
557 #define new_wxContextHelpButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxContextHelpButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
558 static PyObject *_wrap_new_wxContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
559 PyObject * _resultobj;
560 wxContextHelpButton * _result;
561 wxWindow * _arg0;
562 wxWindowID _arg1 = (wxWindowID ) (wxID_CONTEXT_HELP);
563 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
564 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
565 long _arg4 = (long ) wxBU_AUTODRAW;
566 PyObject * _argo0 = 0;
567 wxPoint temp;
568 PyObject * _obj2 = 0;
569 wxSize temp0;
570 PyObject * _obj3 = 0;
571 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
572 char _ptemp[128];
573
574 self = self;
575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxContextHelpButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
576 return NULL;
577 if (_argo0) {
578 if (_argo0 == Py_None) { _arg0 = NULL; }
579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxContextHelpButton. Expected _wxWindow_p.");
581 return NULL;
582 }
583 }
584 if (_obj2)
585 {
586 _arg2 = &temp;
587 if (! wxPoint_helper(_obj2, &_arg2))
588 return NULL;
589 }
590 if (_obj3)
591 {
592 _arg3 = &temp0;
593 if (! wxSize_helper(_obj3, &_arg3))
594 return NULL;
595 }
596 {
597 PyThreadState* __tstate = wxPyBeginAllowThreads();
598 _result = (wxContextHelpButton *)new_wxContextHelpButton(_arg0,_arg1,*_arg2,*_arg3,_arg4);
599
600 wxPyEndAllowThreads(__tstate);
601 if (PyErr_Occurred()) return NULL;
602 } if (_result) {
603 SWIG_MakePtr(_ptemp, (char *) _result,"_wxContextHelpButton_p");
604 _resultobj = Py_BuildValue("s",_ptemp);
605 } else {
606 Py_INCREF(Py_None);
607 _resultobj = Py_None;
608 }
609 return _resultobj;
610 }
611
612 static PyObject *_wrap_wxHelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
613 PyObject * _resultobj;
614 wxHelpProvider * _result;
615 wxHelpProvider * _arg0;
616 PyObject * _argo0 = 0;
617 char *_kwnames[] = { "helpProvider", NULL };
618 char _ptemp[128];
619
620 self = self;
621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHelpProvider_Set",_kwnames,&_argo0))
622 return NULL;
623 if (_argo0) {
624 if (_argo0 == Py_None) { _arg0 = NULL; }
625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpProvider_p")) {
626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpProvider_Set. Expected _wxHelpProvider_p.");
627 return NULL;
628 }
629 }
630 {
631 PyThreadState* __tstate = wxPyBeginAllowThreads();
632 _result = (wxHelpProvider *)wxHelpProvider::Set(_arg0);
633
634 wxPyEndAllowThreads(__tstate);
635 if (PyErr_Occurred()) return NULL;
636 } if (_result) {
637 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHelpProvider_p");
638 _resultobj = Py_BuildValue("s",_ptemp);
639 } else {
640 Py_INCREF(Py_None);
641 _resultobj = Py_None;
642 }
643 return _resultobj;
644 }
645
646 static PyObject *_wrap_wxHelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
647 PyObject * _resultobj;
648 wxHelpProvider * _result;
649 char *_kwnames[] = { NULL };
650 char _ptemp[128];
651
652 self = self;
653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxHelpProvider_Get",_kwnames))
654 return NULL;
655 {
656 PyThreadState* __tstate = wxPyBeginAllowThreads();
657 _result = (wxHelpProvider *)wxHelpProvider::Get();
658
659 wxPyEndAllowThreads(__tstate);
660 if (PyErr_Occurred()) return NULL;
661 } if (_result) {
662 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHelpProvider_p");
663 _resultobj = Py_BuildValue("s",_ptemp);
664 } else {
665 Py_INCREF(Py_None);
666 _resultobj = Py_None;
667 }
668 return _resultobj;
669 }
670
671 #define wxHelpProvider_GetHelp(_swigobj,_swigarg0) (_swigobj->GetHelp(_swigarg0))
672 static PyObject *_wrap_wxHelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
673 PyObject * _resultobj;
674 wxString * _result;
675 wxHelpProvider * _arg0;
676 wxWindow * _arg1;
677 PyObject * _argo0 = 0;
678 PyObject * _argo1 = 0;
679 char *_kwnames[] = { "self","window", NULL };
680
681 self = self;
682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHelpProvider_GetHelp",_kwnames,&_argo0,&_argo1))
683 return NULL;
684 if (_argo0) {
685 if (_argo0 == Py_None) { _arg0 = NULL; }
686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpProvider_p")) {
687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpProvider_GetHelp. Expected _wxHelpProvider_p.");
688 return NULL;
689 }
690 }
691 if (_argo1) {
692 if (_argo1 == Py_None) { _arg1 = NULL; }
693 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
694 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHelpProvider_GetHelp. Expected _wxWindow_p.");
695 return NULL;
696 }
697 }
698 {
699 PyThreadState* __tstate = wxPyBeginAllowThreads();
700 _result = new wxString (wxHelpProvider_GetHelp(_arg0,_arg1));
701
702 wxPyEndAllowThreads(__tstate);
703 if (PyErr_Occurred()) return NULL;
704 }{
705 #if wxUSE_UNICODE
706 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
707 #else
708 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
709 #endif
710 }
711 {
712 delete _result;
713 }
714 return _resultobj;
715 }
716
717 #define wxHelpProvider_ShowHelp(_swigobj,_swigarg0) (_swigobj->ShowHelp(_swigarg0))
718 static PyObject *_wrap_wxHelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
719 PyObject * _resultobj;
720 bool _result;
721 wxHelpProvider * _arg0;
722 wxWindowBase * _arg1;
723 PyObject * _argo0 = 0;
724 PyObject * _argo1 = 0;
725 char *_kwnames[] = { "self","window", NULL };
726
727 self = self;
728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHelpProvider_ShowHelp",_kwnames,&_argo0,&_argo1))
729 return NULL;
730 if (_argo0) {
731 if (_argo0 == Py_None) { _arg0 = NULL; }
732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpProvider_p")) {
733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpProvider_ShowHelp. Expected _wxHelpProvider_p.");
734 return NULL;
735 }
736 }
737 if (_argo1) {
738 if (_argo1 == Py_None) { _arg1 = NULL; }
739 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindowBase_p")) {
740 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHelpProvider_ShowHelp. Expected _wxWindowBase_p.");
741 return NULL;
742 }
743 }
744 {
745 PyThreadState* __tstate = wxPyBeginAllowThreads();
746 _result = (bool )wxHelpProvider_ShowHelp(_arg0,_arg1);
747
748 wxPyEndAllowThreads(__tstate);
749 if (PyErr_Occurred()) return NULL;
750 } _resultobj = Py_BuildValue("i",_result);
751 return _resultobj;
752 }
753
754 #define wxHelpProvider_AddHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddHelp(_swigarg0,_swigarg1))
755 static PyObject *_wrap_wxHelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
756 PyObject * _resultobj;
757 wxHelpProvider * _arg0;
758 wxWindowBase * _arg1;
759 wxString * _arg2;
760 PyObject * _argo0 = 0;
761 PyObject * _argo1 = 0;
762 PyObject * _obj2 = 0;
763 char *_kwnames[] = { "self","window","text", NULL };
764
765 self = self;
766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHelpProvider_AddHelp",_kwnames,&_argo0,&_argo1,&_obj2))
767 return NULL;
768 if (_argo0) {
769 if (_argo0 == Py_None) { _arg0 = NULL; }
770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpProvider_p")) {
771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpProvider_AddHelp. Expected _wxHelpProvider_p.");
772 return NULL;
773 }
774 }
775 if (_argo1) {
776 if (_argo1 == Py_None) { _arg1 = NULL; }
777 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindowBase_p")) {
778 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHelpProvider_AddHelp. Expected _wxWindowBase_p.");
779 return NULL;
780 }
781 }
782 {
783 _arg2 = wxString_in_helper(_obj2);
784 if (_arg2 == NULL)
785 return NULL;
786 }
787 {
788 PyThreadState* __tstate = wxPyBeginAllowThreads();
789 wxHelpProvider_AddHelp(_arg0,_arg1,*_arg2);
790
791 wxPyEndAllowThreads(__tstate);
792 if (PyErr_Occurred()) return NULL;
793 } Py_INCREF(Py_None);
794 _resultobj = Py_None;
795 {
796 if (_obj2)
797 delete _arg2;
798 }
799 return _resultobj;
800 }
801
802 #define wxHelpProvider_AddHelpById(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddHelp(_swigarg0,_swigarg1))
803 static PyObject *_wrap_wxHelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
804 PyObject * _resultobj;
805 wxHelpProvider * _arg0;
806 wxWindowID _arg1;
807 wxString * _arg2;
808 PyObject * _argo0 = 0;
809 PyObject * _obj2 = 0;
810 char *_kwnames[] = { "self","id","text", NULL };
811
812 self = self;
813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxHelpProvider_AddHelpById",_kwnames,&_argo0,&_arg1,&_obj2))
814 return NULL;
815 if (_argo0) {
816 if (_argo0 == Py_None) { _arg0 = NULL; }
817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpProvider_p")) {
818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpProvider_AddHelpById. Expected _wxHelpProvider_p.");
819 return NULL;
820 }
821 }
822 {
823 _arg2 = wxString_in_helper(_obj2);
824 if (_arg2 == NULL)
825 return NULL;
826 }
827 {
828 PyThreadState* __tstate = wxPyBeginAllowThreads();
829 wxHelpProvider_AddHelpById(_arg0,_arg1,*_arg2);
830
831 wxPyEndAllowThreads(__tstate);
832 if (PyErr_Occurred()) return NULL;
833 } Py_INCREF(Py_None);
834 _resultobj = Py_None;
835 {
836 if (_obj2)
837 delete _arg2;
838 }
839 return _resultobj;
840 }
841
842 static void wxHelpProvider_Destroy(wxHelpProvider *self) { delete self; }
843 static PyObject *_wrap_wxHelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
844 PyObject * _resultobj;
845 wxHelpProvider * _arg0;
846 PyObject * _argo0 = 0;
847 char *_kwnames[] = { "self", NULL };
848
849 self = self;
850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHelpProvider_Destroy",_kwnames,&_argo0))
851 return NULL;
852 if (_argo0) {
853 if (_argo0 == Py_None) { _arg0 = NULL; }
854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHelpProvider_p")) {
855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHelpProvider_Destroy. Expected _wxHelpProvider_p.");
856 return NULL;
857 }
858 }
859 {
860 PyThreadState* __tstate = wxPyBeginAllowThreads();
861 wxHelpProvider_Destroy(_arg0);
862
863 wxPyEndAllowThreads(__tstate);
864 if (PyErr_Occurred()) return NULL;
865 } Py_INCREF(Py_None);
866 _resultobj = Py_None;
867 return _resultobj;
868 }
869
870 static void *SwigwxSimpleHelpProviderTowxHelpProvider(void *ptr) {
871 wxSimpleHelpProvider *src;
872 wxHelpProvider *dest;
873 src = (wxSimpleHelpProvider *) ptr;
874 dest = (wxHelpProvider *) src;
875 return (void *) dest;
876 }
877
878 #define new_wxSimpleHelpProvider() (new wxSimpleHelpProvider())
879 static PyObject *_wrap_new_wxSimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
880 PyObject * _resultobj;
881 wxSimpleHelpProvider * _result;
882 char *_kwnames[] = { NULL };
883 char _ptemp[128];
884
885 self = self;
886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxSimpleHelpProvider",_kwnames))
887 return NULL;
888 {
889 PyThreadState* __tstate = wxPyBeginAllowThreads();
890 _result = (wxSimpleHelpProvider *)new_wxSimpleHelpProvider();
891
892 wxPyEndAllowThreads(__tstate);
893 if (PyErr_Occurred()) return NULL;
894 } if (_result) {
895 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSimpleHelpProvider_p");
896 _resultobj = Py_BuildValue("s",_ptemp);
897 } else {
898 Py_INCREF(Py_None);
899 _resultobj = Py_None;
900 }
901 return _resultobj;
902 }
903
904 static PyMethodDef helpcMethods[] = {
905 { "new_wxSimpleHelpProvider", (PyCFunction) _wrap_new_wxSimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
906 { "wxHelpProvider_Destroy", (PyCFunction) _wrap_wxHelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
907 { "wxHelpProvider_AddHelpById", (PyCFunction) _wrap_wxHelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
908 { "wxHelpProvider_AddHelp", (PyCFunction) _wrap_wxHelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
909 { "wxHelpProvider_ShowHelp", (PyCFunction) _wrap_wxHelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
910 { "wxHelpProvider_GetHelp", (PyCFunction) _wrap_wxHelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
911 { "wxHelpProvider_Get", (PyCFunction) _wrap_wxHelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
912 { "wxHelpProvider_Set", (PyCFunction) _wrap_wxHelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
913 { "new_wxContextHelpButton", (PyCFunction) _wrap_new_wxContextHelpButton, METH_VARARGS | METH_KEYWORDS },
914 { "wxContextHelp_EndContextHelp", (PyCFunction) _wrap_wxContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
915 { "wxContextHelp_BeginContextHelp", (PyCFunction) _wrap_wxContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
916 { "delete_wxContextHelp", (PyCFunction) _wrap_delete_wxContextHelp, METH_VARARGS | METH_KEYWORDS },
917 { "new_wxContextHelp", (PyCFunction) _wrap_new_wxContextHelp, METH_VARARGS | METH_KEYWORDS },
918 { "wxHelpEvent_SetTarget", (PyCFunction) _wrap_wxHelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
919 { "wxHelpEvent_GetTarget", (PyCFunction) _wrap_wxHelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
920 { "wxHelpEvent_SetLink", (PyCFunction) _wrap_wxHelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
921 { "wxHelpEvent_GetLink", (PyCFunction) _wrap_wxHelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
922 { "wxHelpEvent_SetPosition", (PyCFunction) _wrap_wxHelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
923 { "wxHelpEvent_GetPosition", (PyCFunction) _wrap_wxHelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
924 { "new_wxHelpEvent", (PyCFunction) _wrap_new_wxHelpEvent, METH_VARARGS | METH_KEYWORDS },
925 { NULL, NULL }
926 };
927 #ifdef __cplusplus
928 }
929 #endif
930 /*
931 * This table is used by the pointer type-checker
932 */
933 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
934 { "_wxEvent","_wxHelpEvent",SwigwxHelpEventTowxEvent},
935 { "_signed_long","_long",0},
936 { "_wxPrintQuality","_wxCoord",0},
937 { "_wxPrintQuality","_int",0},
938 { "_wxPrintQuality","_signed_int",0},
939 { "_wxPrintQuality","_unsigned_int",0},
940 { "_wxPrintQuality","_wxWindowID",0},
941 { "_wxPrintQuality","_uint",0},
942 { "_wxPrintQuality","_EBool",0},
943 { "_wxPrintQuality","_size_t",0},
944 { "_wxPrintQuality","_time_t",0},
945 { "_byte","_unsigned_char",0},
946 { "_long","_unsigned_long",0},
947 { "_long","_signed_long",0},
948 { "_wxBitmapButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxBitmapButton},
949 { "_size_t","_wxCoord",0},
950 { "_size_t","_wxPrintQuality",0},
951 { "_size_t","_time_t",0},
952 { "_size_t","_unsigned_int",0},
953 { "_size_t","_int",0},
954 { "_size_t","_wxWindowID",0},
955 { "_size_t","_uint",0},
956 { "_uint","_wxCoord",0},
957 { "_uint","_wxPrintQuality",0},
958 { "_uint","_time_t",0},
959 { "_uint","_size_t",0},
960 { "_uint","_unsigned_int",0},
961 { "_uint","_int",0},
962 { "_uint","_wxWindowID",0},
963 { "_wxChar","_char",0},
964 { "_wxCommandEvent","_wxHelpEvent",SwigwxHelpEventTowxCommandEvent},
965 { "_char","_wxChar",0},
966 { "_wxHelpProvider","_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider},
967 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
968 { "_EBool","_wxCoord",0},
969 { "_EBool","_wxPrintQuality",0},
970 { "_EBool","_signed_int",0},
971 { "_EBool","_int",0},
972 { "_EBool","_wxWindowID",0},
973 { "_unsigned_long","_long",0},
974 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
975 { "_signed_int","_wxCoord",0},
976 { "_signed_int","_wxPrintQuality",0},
977 { "_signed_int","_EBool",0},
978 { "_signed_int","_wxWindowID",0},
979 { "_signed_int","_int",0},
980 { "_WXTYPE","_short",0},
981 { "_WXTYPE","_signed_short",0},
982 { "_WXTYPE","_unsigned_short",0},
983 { "_unsigned_short","_WXTYPE",0},
984 { "_unsigned_short","_short",0},
985 { "_wxObject","_wxContextHelpButton",SwigwxContextHelpButtonTowxObject},
986 { "_wxObject","_wxContextHelp",SwigwxContextHelpTowxObject},
987 { "_wxObject","_wxHelpEvent",SwigwxHelpEventTowxObject},
988 { "_signed_short","_WXTYPE",0},
989 { "_signed_short","_short",0},
990 { "_unsigned_char","_byte",0},
991 { "_wxControl","_wxContextHelpButton",SwigwxContextHelpButtonTowxControl},
992 { "_unsigned_int","_wxCoord",0},
993 { "_unsigned_int","_wxPrintQuality",0},
994 { "_unsigned_int","_time_t",0},
995 { "_unsigned_int","_size_t",0},
996 { "_unsigned_int","_uint",0},
997 { "_unsigned_int","_wxWindowID",0},
998 { "_unsigned_int","_int",0},
999 { "_short","_WXTYPE",0},
1000 { "_short","_unsigned_short",0},
1001 { "_short","_signed_short",0},
1002 { "_wxWindowID","_wxCoord",0},
1003 { "_wxWindowID","_wxPrintQuality",0},
1004 { "_wxWindowID","_time_t",0},
1005 { "_wxWindowID","_size_t",0},
1006 { "_wxWindowID","_EBool",0},
1007 { "_wxWindowID","_uint",0},
1008 { "_wxWindowID","_int",0},
1009 { "_wxWindowID","_signed_int",0},
1010 { "_wxWindowID","_unsigned_int",0},
1011 { "_int","_wxCoord",0},
1012 { "_int","_wxPrintQuality",0},
1013 { "_int","_time_t",0},
1014 { "_int","_size_t",0},
1015 { "_int","_EBool",0},
1016 { "_int","_uint",0},
1017 { "_int","_wxWindowID",0},
1018 { "_int","_unsigned_int",0},
1019 { "_int","_signed_int",0},
1020 { "_time_t","_wxCoord",0},
1021 { "_time_t","_wxPrintQuality",0},
1022 { "_time_t","_unsigned_int",0},
1023 { "_time_t","_int",0},
1024 { "_time_t","_wxWindowID",0},
1025 { "_time_t","_uint",0},
1026 { "_time_t","_size_t",0},
1027 { "_wxButton","_wxContextHelpButton",SwigwxContextHelpButtonTowxButton},
1028 { "_wxCoord","_int",0},
1029 { "_wxCoord","_signed_int",0},
1030 { "_wxCoord","_unsigned_int",0},
1031 { "_wxCoord","_wxWindowID",0},
1032 { "_wxCoord","_uint",0},
1033 { "_wxCoord","_EBool",0},
1034 { "_wxCoord","_size_t",0},
1035 { "_wxCoord","_time_t",0},
1036 { "_wxCoord","_wxPrintQuality",0},
1037 { "_wxEvtHandler","_wxContextHelpButton",SwigwxContextHelpButtonTowxEvtHandler},
1038 { "_wxWindow","_wxContextHelpButton",SwigwxContextHelpButtonTowxWindow},
1039 {0,0,0}};
1040
1041 static PyObject *SWIG_globals;
1042 #ifdef __cplusplus
1043 extern "C"
1044 #endif
1045 SWIGEXPORT(void) inithelpc() {
1046 PyObject *m, *d;
1047 SWIG_globals = SWIG_newvarlink();
1048 m = Py_InitModule("helpc", helpcMethods);
1049 d = PyModule_GetDict(m);
1050 PyDict_SetItemString(d,"wxFRAME_EX_CONTEXTHELP", PyInt_FromLong((long) wxFRAME_EX_CONTEXTHELP));
1051 PyDict_SetItemString(d,"wxDIALOG_EX_CONTEXTHELP", PyInt_FromLong((long) wxDIALOG_EX_CONTEXTHELP));
1052 PyDict_SetItemString(d,"wxID_CONTEXT_HELP", PyInt_FromLong((long) wxID_CONTEXT_HELP));
1053 PyDict_SetItemString(d,"wxEVT_HELP", PyInt_FromLong((long) wxEVT_HELP));
1054 PyDict_SetItemString(d,"wxEVT_DETAILED_HELP", PyInt_FromLong((long) wxEVT_DETAILED_HELP));
1055 {
1056 int i;
1057 for (i = 0; _swig_mapping[i].n1; i++)
1058 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1059 }
1060 }