]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/html/msw/htmlhelp.cpp
ca0cd3222b4c18d318721fad12c2a410ba7dc747
[wxWidgets.git] / utils / wxPython / modules / html / msw / htmlhelp.cpp
1 /*
2 * FILE : msw/htmlhelp.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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 <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
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);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init inithtmlhelpc
53
54 #define SWIG_name "htmlhelpc"
55
56 #include "helpers.h"
57 #include <wx/html/htmlwin.h>
58 #include <wx/image.h>
59 #include <wx/fs_zip.h>
60 #include <wx/fs_inet.h>
61 #include <wx/wfstream.h>
62 #include "helpsys.h"
63
64 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyList_Check(target)) {
74 o2 = target;
75 target = PyList_New(0);
76 PyList_Append(target, o2);
77 Py_XDECREF(o2);
78 }
79 PyList_Append(target,o);
80 Py_XDECREF(o);
81 }
82 return target;
83 }
84
85 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
86 PyObject* o2;
87 PyObject* o3;
88
89 if (!target) {
90 target = o;
91 } else if (target == Py_None) {
92 Py_DECREF(Py_None);
93 target = o;
94 } else {
95 if (!PyTuple_Check(target)) {
96 o2 = target;
97 target = PyTuple_New(1);
98 PyTuple_SetItem(target, 0, o2);
99 }
100 o3 = PyTuple_New(1);
101 PyTuple_SetItem(o3, 0, o);
102
103 o2 = target;
104 target = PySequence_Concat(o2, o3);
105 Py_DECREF(o2);
106 Py_DECREF(o3);
107 }
108 return target;
109 }
110
111
112 HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
113 HELPEREXPORT int* int_LIST_helper(PyObject* source);
114 HELPEREXPORT long* long_LIST_helper(PyObject* source);
115 HELPEREXPORT char** string_LIST_helper(PyObject* source);
116 HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
117 HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
118 HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
119 HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
120
121
122 static char* wxStringErrorMsg = "string type is required for parameter";
123 #ifdef __cplusplus
124 extern "C" {
125 #endif
126 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr) {
127 wxHtmlHelpController *src;
128 wxEvtHandler *dest;
129 src = (wxHtmlHelpController *) ptr;
130 dest = (wxEvtHandler *) src;
131 return (void *) dest;
132 }
133
134 #define new_wxHtmlHelpController() (new wxHtmlHelpController())
135 static PyObject *_wrap_new_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
136 PyObject * _resultobj;
137 wxHtmlHelpController * _result;
138 char *_kwnames[] = { NULL };
139 char _ptemp[128];
140
141 self = self;
142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpController",_kwnames))
143 return NULL;
144 {
145 wxPy_BEGIN_ALLOW_THREADS;
146 _result = (wxHtmlHelpController *)new_wxHtmlHelpController();
147
148 wxPy_END_ALLOW_THREADS;
149 } if (_result) {
150 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpController_p");
151 _resultobj = Py_BuildValue("s",_ptemp);
152 } else {
153 Py_INCREF(Py_None);
154 _resultobj = Py_None;
155 }
156 return _resultobj;
157 }
158
159 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
160 static PyObject *_wrap_delete_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
161 PyObject * _resultobj;
162 wxHtmlHelpController * _arg0;
163 PyObject * _argo0 = 0;
164 char *_kwnames[] = { "self", NULL };
165
166 self = self;
167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpController",_kwnames,&_argo0))
168 return NULL;
169 if (_argo0) {
170 if (_argo0 == Py_None) { _arg0 = NULL; }
171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
173 return NULL;
174 }
175 }
176 {
177 wxPy_BEGIN_ALLOW_THREADS;
178 delete_wxHtmlHelpController(_arg0);
179
180 wxPy_END_ALLOW_THREADS;
181 } Py_INCREF(Py_None);
182 _resultobj = Py_None;
183 return _resultobj;
184 }
185
186 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
187 static PyObject *_wrap_wxHtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
188 PyObject * _resultobj;
189 wxHtmlHelpController * _arg0;
190 wxString * _arg1;
191 PyObject * _argo0 = 0;
192 PyObject * _obj1 = 0;
193 char *_kwnames[] = { "self","format", NULL };
194
195 self = self;
196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames,&_argo0,&_obj1))
197 return NULL;
198 if (_argo0) {
199 if (_argo0 == Py_None) { _arg0 = NULL; }
200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
202 return NULL;
203 }
204 }
205 {
206 if (!PyString_Check(_obj1)) {
207 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
208 return NULL;
209 }
210 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
211 }
212 {
213 wxPy_BEGIN_ALLOW_THREADS;
214 wxHtmlHelpController_SetTitleFormat(_arg0,*_arg1);
215
216 wxPy_END_ALLOW_THREADS;
217 } Py_INCREF(Py_None);
218 _resultobj = Py_None;
219 {
220 if (_obj1)
221 delete _arg1;
222 }
223 return _resultobj;
224 }
225
226 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
227 static PyObject *_wrap_wxHtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
228 PyObject * _resultobj;
229 wxHtmlHelpController * _arg0;
230 wxString * _arg1;
231 PyObject * _argo0 = 0;
232 PyObject * _obj1 = 0;
233 char *_kwnames[] = { "self","path", NULL };
234
235 self = self;
236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTempDir",_kwnames,&_argo0,&_obj1))
237 return NULL;
238 if (_argo0) {
239 if (_argo0 == Py_None) { _arg0 = NULL; }
240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
242 return NULL;
243 }
244 }
245 {
246 if (!PyString_Check(_obj1)) {
247 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
248 return NULL;
249 }
250 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
251 }
252 {
253 wxPy_BEGIN_ALLOW_THREADS;
254 wxHtmlHelpController_SetTempDir(_arg0,*_arg1);
255
256 wxPy_END_ALLOW_THREADS;
257 } Py_INCREF(Py_None);
258 _resultobj = Py_None;
259 {
260 if (_obj1)
261 delete _arg1;
262 }
263 return _resultobj;
264 }
265
266 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
267 static PyObject *_wrap_wxHtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
268 PyObject * _resultobj;
269 bool _result;
270 wxHtmlHelpController * _arg0;
271 wxString * _arg1;
272 bool _arg2 = (bool ) FALSE;
273 PyObject * _argo0 = 0;
274 PyObject * _obj1 = 0;
275 int tempbool2 = (int) FALSE;
276 char *_kwnames[] = { "self","book","show_wait_msg", NULL };
277
278 self = self;
279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlHelpController_AddBook",_kwnames,&_argo0,&_obj1,&tempbool2))
280 return NULL;
281 if (_argo0) {
282 if (_argo0 == Py_None) { _arg0 = NULL; }
283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
285 return NULL;
286 }
287 }
288 {
289 if (!PyString_Check(_obj1)) {
290 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
291 return NULL;
292 }
293 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
294 }
295 _arg2 = (bool ) tempbool2;
296 {
297 wxPy_BEGIN_ALLOW_THREADS;
298 _result = (bool )wxHtmlHelpController_AddBook(_arg0,*_arg1,_arg2);
299
300 wxPy_END_ALLOW_THREADS;
301 } _resultobj = Py_BuildValue("i",_result);
302 {
303 if (_obj1)
304 delete _arg1;
305 }
306 return _resultobj;
307 }
308
309 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
310 static PyObject *_wrap_wxHtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
311 PyObject * _resultobj;
312 wxHtmlHelpController * _arg0;
313 wxString * _arg1;
314 PyObject * _argo0 = 0;
315 PyObject * _obj1 = 0;
316 char *_kwnames[] = { "self","x", NULL };
317
318 self = self;
319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_Display",_kwnames,&_argo0,&_obj1))
320 return NULL;
321 if (_argo0) {
322 if (_argo0 == Py_None) { _arg0 = NULL; }
323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
325 return NULL;
326 }
327 }
328 {
329 if (!PyString_Check(_obj1)) {
330 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
331 return NULL;
332 }
333 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
334 }
335 {
336 wxPy_BEGIN_ALLOW_THREADS;
337 wxHtmlHelpController_Display(_arg0,*_arg1);
338
339 wxPy_END_ALLOW_THREADS;
340 } Py_INCREF(Py_None);
341 _resultobj = Py_None;
342 {
343 if (_obj1)
344 delete _arg1;
345 }
346 return _resultobj;
347 }
348
349 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
350 static PyObject *_wrap_wxHtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
351 PyObject * _resultobj;
352 wxHtmlHelpController * _arg0;
353 int _arg1;
354 PyObject * _argo0 = 0;
355 char *_kwnames[] = { "self","id", NULL };
356
357 self = self;
358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpController_DisplayID",_kwnames,&_argo0,&_arg1))
359 return NULL;
360 if (_argo0) {
361 if (_argo0 == Py_None) { _arg0 = NULL; }
362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
364 return NULL;
365 }
366 }
367 {
368 wxPy_BEGIN_ALLOW_THREADS;
369 wxHtmlHelpController_DisplayID(_arg0,_arg1);
370
371 wxPy_END_ALLOW_THREADS;
372 } Py_INCREF(Py_None);
373 _resultobj = Py_None;
374 return _resultobj;
375 }
376
377 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
378 static PyObject *_wrap_wxHtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
379 PyObject * _resultobj;
380 wxHtmlHelpController * _arg0;
381 PyObject * _argo0 = 0;
382 char *_kwnames[] = { "self", NULL };
383
384 self = self;
385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayContents",_kwnames,&_argo0))
386 return NULL;
387 if (_argo0) {
388 if (_argo0 == Py_None) { _arg0 = NULL; }
389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
391 return NULL;
392 }
393 }
394 {
395 wxPy_BEGIN_ALLOW_THREADS;
396 wxHtmlHelpController_DisplayContents(_arg0);
397
398 wxPy_END_ALLOW_THREADS;
399 } Py_INCREF(Py_None);
400 _resultobj = Py_None;
401 return _resultobj;
402 }
403
404 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
405 static PyObject *_wrap_wxHtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
406 PyObject * _resultobj;
407 wxHtmlHelpController * _arg0;
408 PyObject * _argo0 = 0;
409 char *_kwnames[] = { "self", NULL };
410
411 self = self;
412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayIndex",_kwnames,&_argo0))
413 return NULL;
414 if (_argo0) {
415 if (_argo0 == Py_None) { _arg0 = NULL; }
416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
418 return NULL;
419 }
420 }
421 {
422 wxPy_BEGIN_ALLOW_THREADS;
423 wxHtmlHelpController_DisplayIndex(_arg0);
424
425 wxPy_END_ALLOW_THREADS;
426 } Py_INCREF(Py_None);
427 _resultobj = Py_None;
428 return _resultobj;
429 }
430
431 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
432 static PyObject *_wrap_wxHtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
433 PyObject * _resultobj;
434 bool _result;
435 wxHtmlHelpController * _arg0;
436 wxString * _arg1;
437 PyObject * _argo0 = 0;
438 PyObject * _obj1 = 0;
439 char *_kwnames[] = { "self","keyword", NULL };
440
441 self = self;
442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_KeywordSearch",_kwnames,&_argo0,&_obj1))
443 return NULL;
444 if (_argo0) {
445 if (_argo0 == Py_None) { _arg0 = NULL; }
446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
448 return NULL;
449 }
450 }
451 {
452 if (!PyString_Check(_obj1)) {
453 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
454 return NULL;
455 }
456 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
457 }
458 {
459 wxPy_BEGIN_ALLOW_THREADS;
460 _result = (bool )wxHtmlHelpController_KeywordSearch(_arg0,*_arg1);
461
462 wxPy_END_ALLOW_THREADS;
463 } _resultobj = Py_BuildValue("i",_result);
464 {
465 if (_obj1)
466 delete _arg1;
467 }
468 return _resultobj;
469 }
470
471 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
472 static PyObject *_wrap_wxHtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
473 PyObject * _resultobj;
474 wxHtmlHelpController * _arg0;
475 wxConfigBase * _arg1;
476 wxString * _arg2 = (wxString *) &wxEmptyString;
477 PyObject * _argo0 = 0;
478 PyObject * _argo1 = 0;
479 PyObject * _obj2 = 0;
480 char *_kwnames[] = { "self","config","rootpath", NULL };
481
482 self = self;
483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2))
484 return NULL;
485 if (_argo0) {
486 if (_argo0 == Py_None) { _arg0 = NULL; }
487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
489 return NULL;
490 }
491 }
492 if (_argo1) {
493 if (_argo1 == Py_None) { _arg1 = NULL; }
494 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
496 return NULL;
497 }
498 }
499 if (_obj2)
500 {
501 if (!PyString_Check(_obj2)) {
502 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
503 return NULL;
504 }
505 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
506 }
507 {
508 wxPy_BEGIN_ALLOW_THREADS;
509 wxHtmlHelpController_UseConfig(_arg0,_arg1,*_arg2);
510
511 wxPy_END_ALLOW_THREADS;
512 } Py_INCREF(Py_None);
513 _resultobj = Py_None;
514 {
515 if (_obj2)
516 delete _arg2;
517 }
518 return _resultobj;
519 }
520
521 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
522 static PyObject *_wrap_wxHtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
523 PyObject * _resultobj;
524 wxHtmlHelpController * _arg0;
525 wxConfigBase * _arg1;
526 wxString * _arg2 = (wxString *) &wxEmptyString;
527 PyObject * _argo0 = 0;
528 PyObject * _argo1 = 0;
529 PyObject * _obj2 = 0;
530 char *_kwnames[] = { "self","cfg","path", NULL };
531
532 self = self;
533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
534 return NULL;
535 if (_argo0) {
536 if (_argo0 == Py_None) { _arg0 = NULL; }
537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
539 return NULL;
540 }
541 }
542 if (_argo1) {
543 if (_argo1 == Py_None) { _arg1 = NULL; }
544 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
545 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
546 return NULL;
547 }
548 }
549 if (_obj2)
550 {
551 if (!PyString_Check(_obj2)) {
552 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
553 return NULL;
554 }
555 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
556 }
557 {
558 wxPy_BEGIN_ALLOW_THREADS;
559 wxHtmlHelpController_ReadCustomization(_arg0,_arg1,*_arg2);
560
561 wxPy_END_ALLOW_THREADS;
562 } Py_INCREF(Py_None);
563 _resultobj = Py_None;
564 {
565 if (_obj2)
566 delete _arg2;
567 }
568 return _resultobj;
569 }
570
571 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
572 static PyObject *_wrap_wxHtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
573 PyObject * _resultobj;
574 wxHtmlHelpController * _arg0;
575 wxConfigBase * _arg1;
576 wxString * _arg2 = (wxString *) &wxEmptyString;
577 PyObject * _argo0 = 0;
578 PyObject * _argo1 = 0;
579 PyObject * _obj2 = 0;
580 char *_kwnames[] = { "self","cfg","path", NULL };
581
582 self = self;
583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
584 return NULL;
585 if (_argo0) {
586 if (_argo0 == Py_None) { _arg0 = NULL; }
587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
589 return NULL;
590 }
591 }
592 if (_argo1) {
593 if (_argo1 == Py_None) { _arg1 = NULL; }
594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
596 return NULL;
597 }
598 }
599 if (_obj2)
600 {
601 if (!PyString_Check(_obj2)) {
602 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
603 return NULL;
604 }
605 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
606 }
607 {
608 wxPy_BEGIN_ALLOW_THREADS;
609 wxHtmlHelpController_WriteCustomization(_arg0,_arg1,*_arg2);
610
611 wxPy_END_ALLOW_THREADS;
612 } Py_INCREF(Py_None);
613 _resultobj = Py_None;
614 {
615 if (_obj2)
616 delete _arg2;
617 }
618 return _resultobj;
619 }
620
621 static void *SwigwxHtmlHelpSystemTowxHtmlHelpController(void *ptr) {
622 wxHtmlHelpSystem *src;
623 wxHtmlHelpController *dest;
624 src = (wxHtmlHelpSystem *) ptr;
625 dest = (wxHtmlHelpController *) src;
626 return (void *) dest;
627 }
628
629 static void *SwigwxHtmlHelpSystemTowxEvtHandler(void *ptr) {
630 wxHtmlHelpSystem *src;
631 wxEvtHandler *dest;
632 src = (wxHtmlHelpSystem *) ptr;
633 dest = (wxEvtHandler *) src;
634 return (void *) dest;
635 }
636
637 #define new_wxHtmlHelpSystem() (new wxHtmlHelpSystem())
638 static PyObject *_wrap_new_wxHtmlHelpSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
639 PyObject * _resultobj;
640 wxHtmlHelpSystem * _result;
641 char *_kwnames[] = { NULL };
642 char _ptemp[128];
643
644 self = self;
645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpSystem",_kwnames))
646 return NULL;
647 {
648 wxPy_BEGIN_ALLOW_THREADS;
649 _result = (wxHtmlHelpSystem *)new_wxHtmlHelpSystem();
650
651 wxPy_END_ALLOW_THREADS;
652 } if (_result) {
653 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpSystem_p");
654 _resultobj = Py_BuildValue("s",_ptemp);
655 } else {
656 Py_INCREF(Py_None);
657 _resultobj = Py_None;
658 }
659 return _resultobj;
660 }
661
662 #define delete_wxHtmlHelpSystem(_swigobj) (delete _swigobj)
663 static PyObject *_wrap_delete_wxHtmlHelpSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
664 PyObject * _resultobj;
665 wxHtmlHelpSystem * _arg0;
666 PyObject * _argo0 = 0;
667 char *_kwnames[] = { "self", NULL };
668
669 self = self;
670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpSystem",_kwnames,&_argo0))
671 return NULL;
672 if (_argo0) {
673 if (_argo0 == Py_None) { _arg0 = NULL; }
674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpSystem. Expected _wxHtmlHelpSystem_p.");
676 return NULL;
677 }
678 }
679 {
680 wxPy_BEGIN_ALLOW_THREADS;
681 delete_wxHtmlHelpSystem(_arg0);
682
683 wxPy_END_ALLOW_THREADS;
684 } Py_INCREF(Py_None);
685 _resultobj = Py_None;
686 return _resultobj;
687 }
688
689 #define wxHtmlHelpSystem_AddBookParam(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddBookParam(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
690 static PyObject *_wrap_wxHtmlHelpSystem_AddBookParam(PyObject *self, PyObject *args, PyObject *kwargs) {
691 PyObject * _resultobj;
692 bool _result;
693 wxHtmlHelpSystem * _arg0;
694 wxString * _arg1;
695 wxString * _arg2;
696 wxString * _arg3 = (wxString *) &wxEmptyString;
697 wxString * _arg4 = (wxString *) &wxEmptyString;
698 wxString * _arg5 = (wxString *) &wxEmptyString;
699 bool _arg6 = (bool ) FALSE;
700 PyObject * _argo0 = 0;
701 PyObject * _obj1 = 0;
702 PyObject * _obj2 = 0;
703 PyObject * _obj3 = 0;
704 PyObject * _obj4 = 0;
705 PyObject * _obj5 = 0;
706 int tempbool6 = (int) FALSE;
707 char *_kwnames[] = { "self","title","contfile","indexfile","deftopic","path","show_wait_msg", NULL };
708
709 self = self;
710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOOi:wxHtmlHelpSystem_AddBookParam",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3,&_obj4,&_obj5,&tempbool6))
711 return NULL;
712 if (_argo0) {
713 if (_argo0 == Py_None) { _arg0 = NULL; }
714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_AddBookParam. Expected _wxHtmlHelpSystem_p.");
716 return NULL;
717 }
718 }
719 {
720 if (!PyString_Check(_obj1)) {
721 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
722 return NULL;
723 }
724 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
725 }
726 {
727 if (!PyString_Check(_obj2)) {
728 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
729 return NULL;
730 }
731 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
732 }
733 if (_obj3)
734 {
735 if (!PyString_Check(_obj3)) {
736 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
737 return NULL;
738 }
739 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
740 }
741 if (_obj4)
742 {
743 if (!PyString_Check(_obj4)) {
744 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
745 return NULL;
746 }
747 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
748 }
749 if (_obj5)
750 {
751 if (!PyString_Check(_obj5)) {
752 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
753 return NULL;
754 }
755 _arg5 = new wxString(PyString_AsString(_obj5), PyString_Size(_obj5));
756 }
757 _arg6 = (bool ) tempbool6;
758 {
759 wxPy_BEGIN_ALLOW_THREADS;
760 _result = (bool )wxHtmlHelpSystem_AddBookParam(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,*_arg5,_arg6);
761
762 wxPy_END_ALLOW_THREADS;
763 } _resultobj = Py_BuildValue("i",_result);
764 {
765 if (_obj1)
766 delete _arg1;
767 }
768 {
769 if (_obj2)
770 delete _arg2;
771 }
772 {
773 if (_obj3)
774 delete _arg3;
775 }
776 {
777 if (_obj4)
778 delete _arg4;
779 }
780 {
781 if (_obj5)
782 delete _arg5;
783 }
784 return _resultobj;
785 }
786
787 #define wxHtmlHelpSystem_CreateToolBar(_swigobj,_swigarg0) (_swigobj->CreateToolBar(_swigarg0))
788 static PyObject *_wrap_wxHtmlHelpSystem_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
789 PyObject * _resultobj;
790 wxToolBar * _result;
791 wxHtmlHelpSystem * _arg0;
792 wxFrame * _arg1;
793 PyObject * _argo0 = 0;
794 PyObject * _argo1 = 0;
795 char *_kwnames[] = { "self","frame", NULL };
796 char _ptemp[128];
797
798 self = self;
799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpSystem_CreateToolBar",_kwnames,&_argo0,&_argo1))
800 return NULL;
801 if (_argo0) {
802 if (_argo0 == Py_None) { _arg0 = NULL; }
803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateToolBar. Expected _wxHtmlHelpSystem_p.");
805 return NULL;
806 }
807 }
808 if (_argo1) {
809 if (_argo1 == Py_None) { _arg1 = NULL; }
810 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
811 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_CreateToolBar. Expected _wxFrame_p.");
812 return NULL;
813 }
814 }
815 {
816 wxPy_BEGIN_ALLOW_THREADS;
817 _result = (wxToolBar *)wxHtmlHelpSystem_CreateToolBar(_arg0,_arg1);
818
819 wxPy_END_ALLOW_THREADS;
820 } if (_result) {
821 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
822 _resultobj = Py_BuildValue("s",_ptemp);
823 } else {
824 Py_INCREF(Py_None);
825 _resultobj = Py_None;
826 }
827 return _resultobj;
828 }
829
830 #define wxHtmlHelpSystem_CreateContentsTree(_swigobj,_swigarg0) (_swigobj->CreateContentsTree(_swigarg0))
831 static PyObject *_wrap_wxHtmlHelpSystem_CreateContentsTree(PyObject *self, PyObject *args, PyObject *kwargs) {
832 PyObject * _resultobj;
833 wxTreeCtrl * _result;
834 wxHtmlHelpSystem * _arg0;
835 wxWindow * _arg1;
836 PyObject * _argo0 = 0;
837 PyObject * _argo1 = 0;
838 char *_kwnames[] = { "self","parent", NULL };
839 char _ptemp[128];
840
841 self = self;
842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpSystem_CreateContentsTree",_kwnames,&_argo0,&_argo1))
843 return NULL;
844 if (_argo0) {
845 if (_argo0 == Py_None) { _arg0 = NULL; }
846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateContentsTree. Expected _wxHtmlHelpSystem_p.");
848 return NULL;
849 }
850 }
851 if (_argo1) {
852 if (_argo1 == Py_None) { _arg1 = NULL; }
853 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
854 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_CreateContentsTree. Expected _wxWindow_p.");
855 return NULL;
856 }
857 }
858 {
859 wxPy_BEGIN_ALLOW_THREADS;
860 _result = (wxTreeCtrl *)wxHtmlHelpSystem_CreateContentsTree(_arg0,_arg1);
861
862 wxPy_END_ALLOW_THREADS;
863 } if (_result) {
864 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
865 _resultobj = Py_BuildValue("s",_ptemp);
866 } else {
867 Py_INCREF(Py_None);
868 _resultobj = Py_None;
869 }
870 return _resultobj;
871 }
872
873 #define wxHtmlHelpSystem_CreateIndexList(_swigobj,_swigarg0) (_swigobj->CreateIndexList(_swigarg0))
874 static PyObject *_wrap_wxHtmlHelpSystem_CreateIndexList(PyObject *self, PyObject *args, PyObject *kwargs) {
875 PyObject * _resultobj;
876 wxListBox * _result;
877 wxHtmlHelpSystem * _arg0;
878 wxWindow * _arg1;
879 PyObject * _argo0 = 0;
880 PyObject * _argo1 = 0;
881 char *_kwnames[] = { "self","parent", NULL };
882 char _ptemp[128];
883
884 self = self;
885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpSystem_CreateIndexList",_kwnames,&_argo0,&_argo1))
886 return NULL;
887 if (_argo0) {
888 if (_argo0 == Py_None) { _arg0 = NULL; }
889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateIndexList. Expected _wxHtmlHelpSystem_p.");
891 return NULL;
892 }
893 }
894 if (_argo1) {
895 if (_argo1 == Py_None) { _arg1 = NULL; }
896 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
897 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_CreateIndexList. Expected _wxWindow_p.");
898 return NULL;
899 }
900 }
901 {
902 wxPy_BEGIN_ALLOW_THREADS;
903 _result = (wxListBox *)wxHtmlHelpSystem_CreateIndexList(_arg0,_arg1);
904
905 wxPy_END_ALLOW_THREADS;
906 } if (_result) {
907 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
908 _resultobj = Py_BuildValue("s",_ptemp);
909 } else {
910 Py_INCREF(Py_None);
911 _resultobj = Py_None;
912 }
913 return _resultobj;
914 }
915
916 #define wxHtmlHelpSystem_CreateHelpWindow(_swigobj) (_swigobj->CreateHelpWindow())
917 static PyObject *_wrap_wxHtmlHelpSystem_CreateHelpWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
918 PyObject * _resultobj;
919 wxHtmlHelpSystem * _arg0;
920 PyObject * _argo0 = 0;
921 char *_kwnames[] = { "self", NULL };
922
923 self = self;
924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_CreateHelpWindow",_kwnames,&_argo0))
925 return NULL;
926 if (_argo0) {
927 if (_argo0 == Py_None) { _arg0 = NULL; }
928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateHelpWindow. Expected _wxHtmlHelpSystem_p.");
930 return NULL;
931 }
932 }
933 {
934 wxPy_BEGIN_ALLOW_THREADS;
935 wxHtmlHelpSystem_CreateHelpWindow(_arg0);
936
937 wxPy_END_ALLOW_THREADS;
938 } Py_INCREF(Py_None);
939 _resultobj = Py_None;
940 return _resultobj;
941 }
942
943 #define wxHtmlHelpSystem_SetControls(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetControls(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
944 static PyObject *_wrap_wxHtmlHelpSystem_SetControls(PyObject *self, PyObject *args, PyObject *kwargs) {
945 PyObject * _resultobj;
946 wxHtmlHelpSystem * _arg0;
947 wxFrame * _arg1;
948 wxHtmlWindow * _arg2;
949 wxTreeCtrl * _arg3 = (wxTreeCtrl *) NULL;
950 wxListBox * _arg4 = (wxListBox *) NULL;
951 wxListBox * _arg5 = (wxListBox *) NULL;
952 PyObject * _argo0 = 0;
953 PyObject * _argo1 = 0;
954 PyObject * _argo2 = 0;
955 PyObject * _argo3 = 0;
956 PyObject * _argo4 = 0;
957 PyObject * _argo5 = 0;
958 char *_kwnames[] = { "self","frame","htmlwin","contents","index","searchlist", NULL };
959
960 self = self;
961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOO:wxHtmlHelpSystem_SetControls",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4,&_argo5))
962 return NULL;
963 if (_argo0) {
964 if (_argo0 == Py_None) { _arg0 = NULL; }
965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_SetControls. Expected _wxHtmlHelpSystem_p.");
967 return NULL;
968 }
969 }
970 if (_argo1) {
971 if (_argo1 == Py_None) { _arg1 = NULL; }
972 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
973 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_SetControls. Expected _wxFrame_p.");
974 return NULL;
975 }
976 }
977 if (_argo2) {
978 if (_argo2 == Py_None) { _arg2 = NULL; }
979 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxHtmlWindow_p")) {
980 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlHelpSystem_SetControls. Expected _wxHtmlWindow_p.");
981 return NULL;
982 }
983 }
984 if (_argo3) {
985 if (_argo3 == Py_None) { _arg3 = NULL; }
986 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTreeCtrl_p")) {
987 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxHtmlHelpSystem_SetControls. Expected _wxTreeCtrl_p.");
988 return NULL;
989 }
990 }
991 if (_argo4) {
992 if (_argo4 == Py_None) { _arg4 = NULL; }
993 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxListBox_p")) {
994 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxHtmlHelpSystem_SetControls. Expected _wxListBox_p.");
995 return NULL;
996 }
997 }
998 if (_argo5) {
999 if (_argo5 == Py_None) { _arg5 = NULL; }
1000 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxListBox_p")) {
1001 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxHtmlHelpSystem_SetControls. Expected _wxListBox_p.");
1002 return NULL;
1003 }
1004 }
1005 {
1006 wxPy_BEGIN_ALLOW_THREADS;
1007 wxHtmlHelpSystem_SetControls(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1008
1009 wxPy_END_ALLOW_THREADS;
1010 } Py_INCREF(Py_None);
1011 _resultobj = Py_None;
1012 return _resultobj;
1013 }
1014
1015 #define wxHtmlHelpSystem_GetFrame(_swigobj) (_swigobj->GetFrame())
1016 static PyObject *_wrap_wxHtmlHelpSystem_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1017 PyObject * _resultobj;
1018 wxFrame * _result;
1019 wxHtmlHelpSystem * _arg0;
1020 PyObject * _argo0 = 0;
1021 char *_kwnames[] = { "self", NULL };
1022 char _ptemp[128];
1023
1024 self = self;
1025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_GetFrame",_kwnames,&_argo0))
1026 return NULL;
1027 if (_argo0) {
1028 if (_argo0 == Py_None) { _arg0 = NULL; }
1029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetFrame. Expected _wxHtmlHelpSystem_p.");
1031 return NULL;
1032 }
1033 }
1034 {
1035 wxPy_BEGIN_ALLOW_THREADS;
1036 _result = (wxFrame *)wxHtmlHelpSystem_GetFrame(_arg0);
1037
1038 wxPy_END_ALLOW_THREADS;
1039 } if (_result) {
1040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
1041 _resultobj = Py_BuildValue("s",_ptemp);
1042 } else {
1043 Py_INCREF(Py_None);
1044 _resultobj = Py_None;
1045 }
1046 return _resultobj;
1047 }
1048
1049 #define wxHtmlHelpSystem_GetHtmlWindow(_swigobj) (_swigobj->GetHtmlWindow())
1050 static PyObject *_wrap_wxHtmlHelpSystem_GetHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1051 PyObject * _resultobj;
1052 wxHtmlWindow * _result;
1053 wxHtmlHelpSystem * _arg0;
1054 PyObject * _argo0 = 0;
1055 char *_kwnames[] = { "self", NULL };
1056 char _ptemp[128];
1057
1058 self = self;
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_GetHtmlWindow",_kwnames,&_argo0))
1060 return NULL;
1061 if (_argo0) {
1062 if (_argo0 == Py_None) { _arg0 = NULL; }
1063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetHtmlWindow. Expected _wxHtmlHelpSystem_p.");
1065 return NULL;
1066 }
1067 }
1068 {
1069 wxPy_BEGIN_ALLOW_THREADS;
1070 _result = (wxHtmlWindow *)wxHtmlHelpSystem_GetHtmlWindow(_arg0);
1071
1072 wxPy_END_ALLOW_THREADS;
1073 } if (_result) {
1074 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWindow_p");
1075 _resultobj = Py_BuildValue("s",_ptemp);
1076 } else {
1077 Py_INCREF(Py_None);
1078 _resultobj = Py_None;
1079 }
1080 return _resultobj;
1081 }
1082
1083 #define wxHtmlHelpSystem_GetContentsTree(_swigobj) (_swigobj->GetContentsTree())
1084 static PyObject *_wrap_wxHtmlHelpSystem_GetContentsTree(PyObject *self, PyObject *args, PyObject *kwargs) {
1085 PyObject * _resultobj;
1086 wxTreeCtrl * _result;
1087 wxHtmlHelpSystem * _arg0;
1088 PyObject * _argo0 = 0;
1089 char *_kwnames[] = { "self", NULL };
1090 char _ptemp[128];
1091
1092 self = self;
1093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_GetContentsTree",_kwnames,&_argo0))
1094 return NULL;
1095 if (_argo0) {
1096 if (_argo0 == Py_None) { _arg0 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetContentsTree. Expected _wxHtmlHelpSystem_p.");
1099 return NULL;
1100 }
1101 }
1102 {
1103 wxPy_BEGIN_ALLOW_THREADS;
1104 _result = (wxTreeCtrl *)wxHtmlHelpSystem_GetContentsTree(_arg0);
1105
1106 wxPy_END_ALLOW_THREADS;
1107 } if (_result) {
1108 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
1109 _resultobj = Py_BuildValue("s",_ptemp);
1110 } else {
1111 Py_INCREF(Py_None);
1112 _resultobj = Py_None;
1113 }
1114 return _resultobj;
1115 }
1116
1117 #define wxHtmlHelpSystem_GetIndexList(_swigobj) (_swigobj->GetIndexList())
1118 static PyObject *_wrap_wxHtmlHelpSystem_GetIndexList(PyObject *self, PyObject *args, PyObject *kwargs) {
1119 PyObject * _resultobj;
1120 wxListBox * _result;
1121 wxHtmlHelpSystem * _arg0;
1122 PyObject * _argo0 = 0;
1123 char *_kwnames[] = { "self", NULL };
1124 char _ptemp[128];
1125
1126 self = self;
1127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_GetIndexList",_kwnames,&_argo0))
1128 return NULL;
1129 if (_argo0) {
1130 if (_argo0 == Py_None) { _arg0 = NULL; }
1131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetIndexList. Expected _wxHtmlHelpSystem_p.");
1133 return NULL;
1134 }
1135 }
1136 {
1137 wxPy_BEGIN_ALLOW_THREADS;
1138 _result = (wxListBox *)wxHtmlHelpSystem_GetIndexList(_arg0);
1139
1140 wxPy_END_ALLOW_THREADS;
1141 } if (_result) {
1142 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
1143 _resultobj = Py_BuildValue("s",_ptemp);
1144 } else {
1145 Py_INCREF(Py_None);
1146 _resultobj = Py_None;
1147 }
1148 return _resultobj;
1149 }
1150
1151 #define wxHtmlHelpSystem_GetSearchList(_swigobj) (_swigobj->GetSearchList())
1152 static PyObject *_wrap_wxHtmlHelpSystem_GetSearchList(PyObject *self, PyObject *args, PyObject *kwargs) {
1153 PyObject * _resultobj;
1154 wxListBox * _result;
1155 wxHtmlHelpSystem * _arg0;
1156 PyObject * _argo0 = 0;
1157 char *_kwnames[] = { "self", NULL };
1158 char _ptemp[128];
1159
1160 self = self;
1161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_GetSearchList",_kwnames,&_argo0))
1162 return NULL;
1163 if (_argo0) {
1164 if (_argo0 == Py_None) { _arg0 = NULL; }
1165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetSearchList. Expected _wxHtmlHelpSystem_p.");
1167 return NULL;
1168 }
1169 }
1170 {
1171 wxPy_BEGIN_ALLOW_THREADS;
1172 _result = (wxListBox *)wxHtmlHelpSystem_GetSearchList(_arg0);
1173
1174 wxPy_END_ALLOW_THREADS;
1175 } if (_result) {
1176 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
1177 _resultobj = Py_BuildValue("s",_ptemp);
1178 } else {
1179 Py_INCREF(Py_None);
1180 _resultobj = Py_None;
1181 }
1182 return _resultobj;
1183 }
1184
1185 #define wxHtmlHelpSystem_GetContentsImageList(_swigobj) (_swigobj->GetContentsImageList())
1186 static PyObject *_wrap_wxHtmlHelpSystem_GetContentsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
1187 PyObject * _resultobj;
1188 wxImageList * _result;
1189 wxHtmlHelpSystem * _arg0;
1190 PyObject * _argo0 = 0;
1191 char *_kwnames[] = { "self", NULL };
1192 char _ptemp[128];
1193
1194 self = self;
1195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_GetContentsImageList",_kwnames,&_argo0))
1196 return NULL;
1197 if (_argo0) {
1198 if (_argo0 == Py_None) { _arg0 = NULL; }
1199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetContentsImageList. Expected _wxHtmlHelpSystem_p.");
1201 return NULL;
1202 }
1203 }
1204 {
1205 wxPy_BEGIN_ALLOW_THREADS;
1206 _result = (wxImageList *)wxHtmlHelpSystem_GetContentsImageList(_arg0);
1207
1208 wxPy_END_ALLOW_THREADS;
1209 } if (_result) {
1210 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
1211 _resultobj = Py_BuildValue("s",_ptemp);
1212 } else {
1213 Py_INCREF(Py_None);
1214 _resultobj = Py_None;
1215 }
1216 return _resultobj;
1217 }
1218
1219 #define wxHtmlHelpSystem_OnToolbar(_swigobj,_swigarg0) (_swigobj->OnToolbar(_swigarg0))
1220 static PyObject *_wrap_wxHtmlHelpSystem_OnToolbar(PyObject *self, PyObject *args, PyObject *kwargs) {
1221 PyObject * _resultobj;
1222 wxHtmlHelpSystem * _arg0;
1223 wxCommandEvent * _arg1;
1224 PyObject * _argo0 = 0;
1225 PyObject * _argo1 = 0;
1226 char *_kwnames[] = { "self","event", NULL };
1227
1228 self = self;
1229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpSystem_OnToolbar",_kwnames,&_argo0,&_argo1))
1230 return NULL;
1231 if (_argo0) {
1232 if (_argo0 == Py_None) { _arg0 = NULL; }
1233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnToolbar. Expected _wxHtmlHelpSystem_p.");
1235 return NULL;
1236 }
1237 }
1238 if (_argo1) {
1239 if (_argo1 == Py_None) { _arg1 = NULL; }
1240 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
1241 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnToolbar. Expected _wxCommandEvent_p.");
1242 return NULL;
1243 }
1244 }
1245 {
1246 wxPy_BEGIN_ALLOW_THREADS;
1247 wxHtmlHelpSystem_OnToolbar(_arg0,*_arg1);
1248
1249 wxPy_END_ALLOW_THREADS;
1250 } Py_INCREF(Py_None);
1251 _resultobj = Py_None;
1252 return _resultobj;
1253 }
1254
1255 #define wxHtmlHelpSystem_OnContentsSel(_swigobj,_swigarg0) (_swigobj->OnContentsSel(_swigarg0))
1256 static PyObject *_wrap_wxHtmlHelpSystem_OnContentsSel(PyObject *self, PyObject *args, PyObject *kwargs) {
1257 PyObject * _resultobj;
1258 wxHtmlHelpSystem * _arg0;
1259 wxTreeEvent * _arg1;
1260 PyObject * _argo0 = 0;
1261 PyObject * _argo1 = 0;
1262 char *_kwnames[] = { "self","event", NULL };
1263
1264 self = self;
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpSystem_OnContentsSel",_kwnames,&_argo0,&_argo1))
1266 return NULL;
1267 if (_argo0) {
1268 if (_argo0 == Py_None) { _arg0 = NULL; }
1269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnContentsSel. Expected _wxHtmlHelpSystem_p.");
1271 return NULL;
1272 }
1273 }
1274 if (_argo1) {
1275 if (_argo1 == Py_None) { _arg1 = NULL; }
1276 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeEvent_p")) {
1277 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnContentsSel. Expected _wxTreeEvent_p.");
1278 return NULL;
1279 }
1280 }
1281 {
1282 wxPy_BEGIN_ALLOW_THREADS;
1283 wxHtmlHelpSystem_OnContentsSel(_arg0,*_arg1);
1284
1285 wxPy_END_ALLOW_THREADS;
1286 } Py_INCREF(Py_None);
1287 _resultobj = Py_None;
1288 return _resultobj;
1289 }
1290
1291 #define wxHtmlHelpSystem_OnIndexSel(_swigobj,_swigarg0) (_swigobj->OnIndexSel(_swigarg0))
1292 static PyObject *_wrap_wxHtmlHelpSystem_OnIndexSel(PyObject *self, PyObject *args, PyObject *kwargs) {
1293 PyObject * _resultobj;
1294 wxHtmlHelpSystem * _arg0;
1295 wxCommandEvent * _arg1;
1296 PyObject * _argo0 = 0;
1297 PyObject * _argo1 = 0;
1298 char *_kwnames[] = { "self","event", NULL };
1299
1300 self = self;
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpSystem_OnIndexSel",_kwnames,&_argo0,&_argo1))
1302 return NULL;
1303 if (_argo0) {
1304 if (_argo0 == Py_None) { _arg0 = NULL; }
1305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnIndexSel. Expected _wxHtmlHelpSystem_p.");
1307 return NULL;
1308 }
1309 }
1310 if (_argo1) {
1311 if (_argo1 == Py_None) { _arg1 = NULL; }
1312 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
1313 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnIndexSel. Expected _wxCommandEvent_p.");
1314 return NULL;
1315 }
1316 }
1317 {
1318 wxPy_BEGIN_ALLOW_THREADS;
1319 wxHtmlHelpSystem_OnIndexSel(_arg0,*_arg1);
1320
1321 wxPy_END_ALLOW_THREADS;
1322 } Py_INCREF(Py_None);
1323 _resultobj = Py_None;
1324 return _resultobj;
1325 }
1326
1327 #define wxHtmlHelpSystem_OnSearchSel(_swigobj,_swigarg0) (_swigobj->OnSearchSel(_swigarg0))
1328 static PyObject *_wrap_wxHtmlHelpSystem_OnSearchSel(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject * _resultobj;
1330 wxHtmlHelpSystem * _arg0;
1331 wxCommandEvent * _arg1;
1332 PyObject * _argo0 = 0;
1333 PyObject * _argo1 = 0;
1334 char *_kwnames[] = { "self","event", NULL };
1335
1336 self = self;
1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpSystem_OnSearchSel",_kwnames,&_argo0,&_argo1))
1338 return NULL;
1339 if (_argo0) {
1340 if (_argo0 == Py_None) { _arg0 = NULL; }
1341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnSearchSel. Expected _wxHtmlHelpSystem_p.");
1343 return NULL;
1344 }
1345 }
1346 if (_argo1) {
1347 if (_argo1 == Py_None) { _arg1 = NULL; }
1348 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
1349 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnSearchSel. Expected _wxCommandEvent_p.");
1350 return NULL;
1351 }
1352 }
1353 {
1354 wxPy_BEGIN_ALLOW_THREADS;
1355 wxHtmlHelpSystem_OnSearchSel(_arg0,*_arg1);
1356
1357 wxPy_END_ALLOW_THREADS;
1358 } Py_INCREF(Py_None);
1359 _resultobj = Py_None;
1360 return _resultobj;
1361 }
1362
1363 #define wxHtmlHelpSystem_OnSearch(_swigobj,_swigarg0) (_swigobj->OnSearch(_swigarg0))
1364 static PyObject *_wrap_wxHtmlHelpSystem_OnSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject * _resultobj;
1366 wxHtmlHelpSystem * _arg0;
1367 wxCommandEvent * _arg1;
1368 PyObject * _argo0 = 0;
1369 PyObject * _argo1 = 0;
1370 char *_kwnames[] = { "self","event", NULL };
1371
1372 self = self;
1373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpSystem_OnSearch",_kwnames,&_argo0,&_argo1))
1374 return NULL;
1375 if (_argo0) {
1376 if (_argo0 == Py_None) { _arg0 = NULL; }
1377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnSearch. Expected _wxHtmlHelpSystem_p.");
1379 return NULL;
1380 }
1381 }
1382 if (_argo1) {
1383 if (_argo1 == Py_None) { _arg1 = NULL; }
1384 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
1385 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnSearch. Expected _wxCommandEvent_p.");
1386 return NULL;
1387 }
1388 }
1389 {
1390 wxPy_BEGIN_ALLOW_THREADS;
1391 wxHtmlHelpSystem_OnSearch(_arg0,*_arg1);
1392
1393 wxPy_END_ALLOW_THREADS;
1394 } Py_INCREF(Py_None);
1395 _resultobj = Py_None;
1396 return _resultobj;
1397 }
1398
1399 #define wxHtmlHelpSystem_OnCloseWindow(_swigobj,_swigarg0) (_swigobj->OnCloseWindow(_swigarg0))
1400 static PyObject *_wrap_wxHtmlHelpSystem_OnCloseWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject * _resultobj;
1402 wxHtmlHelpSystem * _arg0;
1403 wxCloseEvent * _arg1;
1404 PyObject * _argo0 = 0;
1405 PyObject * _argo1 = 0;
1406 char *_kwnames[] = { "self","event", NULL };
1407
1408 self = self;
1409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpSystem_OnCloseWindow",_kwnames,&_argo0,&_argo1))
1410 return NULL;
1411 if (_argo0) {
1412 if (_argo0 == Py_None) { _arg0 = NULL; }
1413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnCloseWindow. Expected _wxHtmlHelpSystem_p.");
1415 return NULL;
1416 }
1417 }
1418 if (_argo1) {
1419 if (_argo1 == Py_None) { _arg1 = NULL; }
1420 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCloseEvent_p")) {
1421 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnCloseWindow. Expected _wxCloseEvent_p.");
1422 return NULL;
1423 }
1424 }
1425 {
1426 wxPy_BEGIN_ALLOW_THREADS;
1427 wxHtmlHelpSystem_OnCloseWindow(_arg0,*_arg1);
1428
1429 wxPy_END_ALLOW_THREADS;
1430 } Py_INCREF(Py_None);
1431 _resultobj = Py_None;
1432 return _resultobj;
1433 }
1434
1435 #define wxHtmlHelpSystem_RefreshLists(_swigobj) (_swigobj->RefreshLists())
1436 static PyObject *_wrap_wxHtmlHelpSystem_RefreshLists(PyObject *self, PyObject *args, PyObject *kwargs) {
1437 PyObject * _resultobj;
1438 wxHtmlHelpSystem * _arg0;
1439 PyObject * _argo0 = 0;
1440 char *_kwnames[] = { "self", NULL };
1441
1442 self = self;
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_RefreshLists",_kwnames,&_argo0))
1444 return NULL;
1445 if (_argo0) {
1446 if (_argo0 == Py_None) { _arg0 = NULL; }
1447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_RefreshLists. Expected _wxHtmlHelpSystem_p.");
1449 return NULL;
1450 }
1451 }
1452 {
1453 wxPy_BEGIN_ALLOW_THREADS;
1454 wxHtmlHelpSystem_RefreshLists(_arg0);
1455
1456 wxPy_END_ALLOW_THREADS;
1457 } Py_INCREF(Py_None);
1458 _resultobj = Py_None;
1459 return _resultobj;
1460 }
1461
1462 #define wxHtmlHelpSystem_CreateContents(_swigobj) (_swigobj->CreateContents())
1463 static PyObject *_wrap_wxHtmlHelpSystem_CreateContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1464 PyObject * _resultobj;
1465 wxHtmlHelpSystem * _arg0;
1466 PyObject * _argo0 = 0;
1467 char *_kwnames[] = { "self", NULL };
1468
1469 self = self;
1470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_CreateContents",_kwnames,&_argo0))
1471 return NULL;
1472 if (_argo0) {
1473 if (_argo0 == Py_None) { _arg0 = NULL; }
1474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateContents. Expected _wxHtmlHelpSystem_p.");
1476 return NULL;
1477 }
1478 }
1479 {
1480 wxPy_BEGIN_ALLOW_THREADS;
1481 wxHtmlHelpSystem_CreateContents(_arg0);
1482
1483 wxPy_END_ALLOW_THREADS;
1484 } Py_INCREF(Py_None);
1485 _resultobj = Py_None;
1486 return _resultobj;
1487 }
1488
1489 #define wxHtmlHelpSystem_CreateIndex(_swigobj) (_swigobj->CreateIndex())
1490 static PyObject *_wrap_wxHtmlHelpSystem_CreateIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1491 PyObject * _resultobj;
1492 wxHtmlHelpSystem * _arg0;
1493 PyObject * _argo0 = 0;
1494 char *_kwnames[] = { "self", NULL };
1495
1496 self = self;
1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpSystem_CreateIndex",_kwnames,&_argo0))
1498 return NULL;
1499 if (_argo0) {
1500 if (_argo0 == Py_None) { _arg0 = NULL; }
1501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateIndex. Expected _wxHtmlHelpSystem_p.");
1503 return NULL;
1504 }
1505 }
1506 {
1507 wxPy_BEGIN_ALLOW_THREADS;
1508 wxHtmlHelpSystem_CreateIndex(_arg0);
1509
1510 wxPy_END_ALLOW_THREADS;
1511 } Py_INCREF(Py_None);
1512 _resultobj = Py_None;
1513 return _resultobj;
1514 }
1515
1516 static PyMethodDef htmlhelpcMethods[] = {
1517 { "wxHtmlHelpSystem_CreateIndex", (PyCFunction) _wrap_wxHtmlHelpSystem_CreateIndex, METH_VARARGS | METH_KEYWORDS },
1518 { "wxHtmlHelpSystem_CreateContents", (PyCFunction) _wrap_wxHtmlHelpSystem_CreateContents, METH_VARARGS | METH_KEYWORDS },
1519 { "wxHtmlHelpSystem_RefreshLists", (PyCFunction) _wrap_wxHtmlHelpSystem_RefreshLists, METH_VARARGS | METH_KEYWORDS },
1520 { "wxHtmlHelpSystem_OnCloseWindow", (PyCFunction) _wrap_wxHtmlHelpSystem_OnCloseWindow, METH_VARARGS | METH_KEYWORDS },
1521 { "wxHtmlHelpSystem_OnSearch", (PyCFunction) _wrap_wxHtmlHelpSystem_OnSearch, METH_VARARGS | METH_KEYWORDS },
1522 { "wxHtmlHelpSystem_OnSearchSel", (PyCFunction) _wrap_wxHtmlHelpSystem_OnSearchSel, METH_VARARGS | METH_KEYWORDS },
1523 { "wxHtmlHelpSystem_OnIndexSel", (PyCFunction) _wrap_wxHtmlHelpSystem_OnIndexSel, METH_VARARGS | METH_KEYWORDS },
1524 { "wxHtmlHelpSystem_OnContentsSel", (PyCFunction) _wrap_wxHtmlHelpSystem_OnContentsSel, METH_VARARGS | METH_KEYWORDS },
1525 { "wxHtmlHelpSystem_OnToolbar", (PyCFunction) _wrap_wxHtmlHelpSystem_OnToolbar, METH_VARARGS | METH_KEYWORDS },
1526 { "wxHtmlHelpSystem_GetContentsImageList", (PyCFunction) _wrap_wxHtmlHelpSystem_GetContentsImageList, METH_VARARGS | METH_KEYWORDS },
1527 { "wxHtmlHelpSystem_GetSearchList", (PyCFunction) _wrap_wxHtmlHelpSystem_GetSearchList, METH_VARARGS | METH_KEYWORDS },
1528 { "wxHtmlHelpSystem_GetIndexList", (PyCFunction) _wrap_wxHtmlHelpSystem_GetIndexList, METH_VARARGS | METH_KEYWORDS },
1529 { "wxHtmlHelpSystem_GetContentsTree", (PyCFunction) _wrap_wxHtmlHelpSystem_GetContentsTree, METH_VARARGS | METH_KEYWORDS },
1530 { "wxHtmlHelpSystem_GetHtmlWindow", (PyCFunction) _wrap_wxHtmlHelpSystem_GetHtmlWindow, METH_VARARGS | METH_KEYWORDS },
1531 { "wxHtmlHelpSystem_GetFrame", (PyCFunction) _wrap_wxHtmlHelpSystem_GetFrame, METH_VARARGS | METH_KEYWORDS },
1532 { "wxHtmlHelpSystem_SetControls", (PyCFunction) _wrap_wxHtmlHelpSystem_SetControls, METH_VARARGS | METH_KEYWORDS },
1533 { "wxHtmlHelpSystem_CreateHelpWindow", (PyCFunction) _wrap_wxHtmlHelpSystem_CreateHelpWindow, METH_VARARGS | METH_KEYWORDS },
1534 { "wxHtmlHelpSystem_CreateIndexList", (PyCFunction) _wrap_wxHtmlHelpSystem_CreateIndexList, METH_VARARGS | METH_KEYWORDS },
1535 { "wxHtmlHelpSystem_CreateContentsTree", (PyCFunction) _wrap_wxHtmlHelpSystem_CreateContentsTree, METH_VARARGS | METH_KEYWORDS },
1536 { "wxHtmlHelpSystem_CreateToolBar", (PyCFunction) _wrap_wxHtmlHelpSystem_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
1537 { "wxHtmlHelpSystem_AddBookParam", (PyCFunction) _wrap_wxHtmlHelpSystem_AddBookParam, METH_VARARGS | METH_KEYWORDS },
1538 { "delete_wxHtmlHelpSystem", (PyCFunction) _wrap_delete_wxHtmlHelpSystem, METH_VARARGS | METH_KEYWORDS },
1539 { "new_wxHtmlHelpSystem", (PyCFunction) _wrap_new_wxHtmlHelpSystem, METH_VARARGS | METH_KEYWORDS },
1540 { "wxHtmlHelpController_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
1541 { "wxHtmlHelpController_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
1542 { "wxHtmlHelpController_UseConfig", (PyCFunction) _wrap_wxHtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
1543 { "wxHtmlHelpController_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
1544 { "wxHtmlHelpController_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
1545 { "wxHtmlHelpController_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
1546 { "wxHtmlHelpController_DisplayID", (PyCFunction) _wrap_wxHtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
1547 { "wxHtmlHelpController_Display", (PyCFunction) _wrap_wxHtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
1548 { "wxHtmlHelpController_AddBook", (PyCFunction) _wrap_wxHtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
1549 { "wxHtmlHelpController_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
1550 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
1551 { "delete_wxHtmlHelpController", (PyCFunction) _wrap_delete_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
1552 { "new_wxHtmlHelpController", (PyCFunction) _wrap_new_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
1553 { NULL, NULL }
1554 };
1555 #ifdef __cplusplus
1556 }
1557 #endif
1558 /*
1559 * This table is used by the pointer type-checker
1560 */
1561 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1562 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1563 { "_wxEvent","_class_wxEvent",0},
1564 { "_class_wxActivateEvent","_wxActivateEvent",0},
1565 { "_signed_long","_long",0},
1566 { "_wxMenuEvent","_class_wxMenuEvent",0},
1567 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
1568 { "_wxBMPHandler","_class_wxBMPHandler",0},
1569 { "_wxImage","_class_wxImage",0},
1570 { "_wxPrintQuality","_int",0},
1571 { "_wxPrintQuality","_signed_int",0},
1572 { "_wxPrintQuality","_unsigned_int",0},
1573 { "_wxPrintQuality","_wxWindowID",0},
1574 { "_wxPrintQuality","_uint",0},
1575 { "_wxPrintQuality","_EBool",0},
1576 { "_wxPrintQuality","_size_t",0},
1577 { "_wxFontData","_class_wxFontData",0},
1578 { "___wxPyCleanup","_class___wxPyCleanup",0},
1579 { "_class_HtmlHistoryItem","_HtmlHistoryItem",0},
1580 { "_class_wxRegionIterator","_wxRegionIterator",0},
1581 { "_class_wxMenuBar","_wxMenuBar",0},
1582 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
1583 { "_class_wxEvtHandler","_class_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxEvtHandler},
1584 { "_class_wxEvtHandler","_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxEvtHandler},
1585 { "_class_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
1586 { "_class_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
1587 { "_class_wxEvtHandler","_wxEvtHandler",0},
1588 { "_wxPaintEvent","_class_wxPaintEvent",0},
1589 { "_wxGIFHandler","_class_wxGIFHandler",0},
1590 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1591 { "_wxCursor","_class_wxCursor",0},
1592 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1593 { "_wxImageHandler","_class_wxImageHandler",0},
1594 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
1595 { "_wxMask","_class_wxMask",0},
1596 { "_wxToolTip","_class_wxToolTip",0},
1597 { "_wxGrid","_class_wxGrid",0},
1598 { "_wxPNGHandler","_class_wxPNGHandler",0},
1599 { "_class_wxColourData","_wxColourData",0},
1600 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
1601 { "_wxPrinter","_class_wxPrinter",0},
1602 { "_class_wxHtmlHelpController","_class_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxHtmlHelpController},
1603 { "_class_wxHtmlHelpController","_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxHtmlHelpController},
1604 { "_class_wxHtmlHelpController","_wxHtmlHelpController",0},
1605 { "_wxPen","_class_wxPen",0},
1606 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1607 { "_byte","_unsigned_char",0},
1608 { "_wxStaticBox","_class_wxStaticBox",0},
1609 { "_class_wxHtmlHelpSystem","_wxHtmlHelpSystem",0},
1610 { "_wxChoice","_class_wxChoice",0},
1611 { "_wxSlider","_class_wxSlider",0},
1612 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
1613 { "_wxPyPrintout","_class_wxPyPrintout",0},
1614 { "_long","_wxDash",0},
1615 { "_long","_unsigned_long",0},
1616 { "_long","_signed_long",0},
1617 { "_wxImageList","_class_wxImageList",0},
1618 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1619 { "_wxBitmapButton","_class_wxBitmapButton",0},
1620 { "_wxSashWindow","_class_wxSashWindow",0},
1621 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
1622 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1623 { "_class_wxGauge","_wxGauge",0},
1624 { "_class_wxSashEvent","_wxSashEvent",0},
1625 { "_wxDC","_class_wxDC",0},
1626 { "_wxListEvent","_class_wxListEvent",0},
1627 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
1628 { "_wxProgressDialog","_class_wxProgressDialog",0},
1629 { "_class_wxBMPHandler","_wxBMPHandler",0},
1630 { "_wxPrintPreview","_class_wxPrintPreview",0},
1631 { "_wxSpinEvent","_class_wxSpinEvent",0},
1632 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
1633 { "_size_t","_wxPrintQuality",0},
1634 { "_size_t","_unsigned_int",0},
1635 { "_size_t","_int",0},
1636 { "_size_t","_wxWindowID",0},
1637 { "_size_t","_uint",0},
1638 { "_class_wxRealPoint","_wxRealPoint",0},
1639 { "_wxPrinterDC","_class_wxPrinterDC",0},
1640 { "_class_wxMenuItem","_wxMenuItem",0},
1641 { "_class_wxPaintEvent","_wxPaintEvent",0},
1642 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1643 { "_class_wxStatusBar","_wxStatusBar",0},
1644 { "_class_wxGIFHandler","_wxGIFHandler",0},
1645 { "_wxPanel","_class_wxPanel",0},
1646 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1647 { "_wxCheckBox","_class_wxCheckBox",0},
1648 { "_wxPyEvent","_class_wxPyEvent",0},
1649 { "_wxTextCtrl","_class_wxTextCtrl",0},
1650 { "_class_wxMask","_wxMask",0},
1651 { "_class_wxToolTip","_wxToolTip",0},
1652 { "_class_wxKeyEvent","_wxKeyEvent",0},
1653 { "_class_wxGrid","_wxGrid",0},
1654 { "_class_wxPNGHandler","_wxPNGHandler",0},
1655 { "_wxColour","_class_wxColour",0},
1656 { "_class_wxDialog","_wxDialog",0},
1657 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
1658 { "_class_wxPrinter","_wxPrinter",0},
1659 { "_wxIdleEvent","_class_wxIdleEvent",0},
1660 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1661 { "_wxToolBar","_class_wxToolBar",0},
1662 { "_wxStaticLine","_class_wxStaticLine",0},
1663 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
1664 { "_wxBrush","_class_wxBrush",0},
1665 { "_wxMiniFrame","_class_wxMiniFrame",0},
1666 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
1667 { "_class_wxPyPrintout","_wxPyPrintout",0},
1668 { "_class_wxSashWindow","_wxSashWindow",0},
1669 { "_wxShowEvent","_class_wxShowEvent",0},
1670 { "_uint","_wxPrintQuality",0},
1671 { "_uint","_size_t",0},
1672 { "_uint","_unsigned_int",0},
1673 { "_uint","_int",0},
1674 { "_uint","_wxWindowID",0},
1675 { "_class_wxEvent","_wxEvent",0},
1676 { "_wxCheckListBox","_class_wxCheckListBox",0},
1677 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
1678 { "_wxGridEvent","_class_wxGridEvent",0},
1679 { "_wxRect","_class_wxRect",0},
1680 { "_wxCommandEvent","_class_wxCommandEvent",0},
1681 { "_wxSizeEvent","_class_wxSizeEvent",0},
1682 { "_class_wxImage","_wxImage",0},
1683 { "_wxPoint","_class_wxPoint",0},
1684 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
1685 { "_class_wxButton","_wxButton",0},
1686 { "_wxRadioBox","_class_wxRadioBox",0},
1687 { "_class_wxFontData","_wxFontData",0},
1688 { "_class___wxPyCleanup","___wxPyCleanup",0},
1689 { "_wxBitmap","_class_wxBitmap",0},
1690 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
1691 { "_wxPrintDialog","_class_wxPrintDialog",0},
1692 { "_wxPyTimer","_class_wxPyTimer",0},
1693 { "_wxWindowDC","_class_wxWindowDC",0},
1694 { "_wxScrollBar","_class_wxScrollBar",0},
1695 { "_wxSpinButton","_class_wxSpinButton",0},
1696 { "_wxToolBarTool","_class_wxToolBarTool",0},
1697 { "_wxColourDialog","_class_wxColourDialog",0},
1698 { "_wxPrintData","_class_wxPrintData",0},
1699 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1700 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1701 { "_wxMessageDialog","_class_wxMessageDialog",0},
1702 { "_class_wxPyEvent","_wxPyEvent",0},
1703 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
1704 { "_wxConfig","_class_wxConfig",0},
1705 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1706 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1707 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
1708 { "_wxListItem","_class_wxListItem",0},
1709 { "_class_wxToolBar","_wxToolBar",0},
1710 { "_class_wxStaticLine","_wxStaticLine",0},
1711 { "_wxScrollEvent","_class_wxScrollEvent",0},
1712 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
1713 { "_EBool","_wxPrintQuality",0},
1714 { "_EBool","_signed_int",0},
1715 { "_EBool","_int",0},
1716 { "_EBool","_wxWindowID",0},
1717 { "_class_wxRegion","_wxRegion",0},
1718 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1719 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
1720 { "_wxStaticText","_class_wxStaticText",0},
1721 { "_wxFont","_class_wxFont",0},
1722 { "_wxCloseEvent","_class_wxCloseEvent",0},
1723 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
1724 { "_wxNotebook","_class_wxNotebook",0},
1725 { "_unsigned_long","_wxDash",0},
1726 { "_unsigned_long","_long",0},
1727 { "_class_wxRect","_wxRect",0},
1728 { "_class_wxDC","_wxDC",0},
1729 { "_class_wxProgressDialog","_wxProgressDialog",0},
1730 { "_wxPyApp","_class_wxPyApp",0},
1731 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
1732 { "_class_wxTreeEvent","_wxTreeEvent",0},
1733 { "_class_wxDirDialog","_wxDirDialog",0},
1734 { "_class_wxPyTimer","_wxPyTimer",0},
1735 { "_wxFocusEvent","_class_wxFocusEvent",0},
1736 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1737 { "_class_wxSpinButton","_wxSpinButton",0},
1738 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1739 { "_class_wxPanel","_wxPanel",0},
1740 { "_class_wxCheckBox","_wxCheckBox",0},
1741 { "_wxComboBox","_class_wxComboBox",0},
1742 { "_wxRadioButton","_class_wxRadioButton",0},
1743 { "_class_wxMessageDialog","_wxMessageDialog",0},
1744 { "_signed_int","_wxPrintQuality",0},
1745 { "_signed_int","_EBool",0},
1746 { "_signed_int","_wxWindowID",0},
1747 { "_signed_int","_int",0},
1748 { "_class_wxTextCtrl","_wxTextCtrl",0},
1749 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1750 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1751 { "_wxMenu","_class_wxMenu",0},
1752 { "_class_wxMoveEvent","_wxMoveEvent",0},
1753 { "_wxListBox","_class_wxListBox",0},
1754 { "_wxScreenDC","_class_wxScreenDC",0},
1755 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
1756 { "_class_wxPyHtmlWindow","_wxPyHtmlWindow",0},
1757 { "_wxHtmlHelpController","_class_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxHtmlHelpController},
1758 { "_wxHtmlHelpController","_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxHtmlHelpController},
1759 { "_wxHtmlHelpController","_class_wxHtmlHelpController",0},
1760 { "_WXTYPE","_short",0},
1761 { "_WXTYPE","_signed_short",0},
1762 { "_WXTYPE","_unsigned_short",0},
1763 { "_wxFileDialog","_class_wxFileDialog",0},
1764 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
1765 { "_class_wxBrush","_wxBrush",0},
1766 { "_unsigned_short","_WXTYPE",0},
1767 { "_unsigned_short","_short",0},
1768 { "_class_wxWindow","_wxWindow",0},
1769 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
1770 { "_class_wxStaticText","_wxStaticText",0},
1771 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
1772 { "_class_wxFont","_wxFont",0},
1773 { "_class_wxCloseEvent","_wxCloseEvent",0},
1774 { "_wxSashEvent","_class_wxSashEvent",0},
1775 { "_class_wxMenuEvent","_wxMenuEvent",0},
1776 { "_wxClientDC","_class_wxClientDC",0},
1777 { "_wxMouseEvent","_class_wxMouseEvent",0},
1778 { "_wxListCtrl","_class_wxListCtrl",0},
1779 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
1780 { "_class_wxPoint","_wxPoint",0},
1781 { "_wxRealPoint","_class_wxRealPoint",0},
1782 { "_class_wxRadioBox","_wxRadioBox",0},
1783 { "_wxGridCell","_class_wxGridCell",0},
1784 { "_signed_short","_WXTYPE",0},
1785 { "_signed_short","_short",0},
1786 { "_wxMemoryDC","_class_wxMemoryDC",0},
1787 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
1788 { "_class_wxPrintDialog","_wxPrintDialog",0},
1789 { "_wxPaintDC","_class_wxPaintDC",0},
1790 { "_class_wxWindowDC","_wxWindowDC",0},
1791 { "_class_wxFocusEvent","_wxFocusEvent",0},
1792 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1793 { "_wxStatusBar","_class_wxStatusBar",0},
1794 { "_class_wxToolBarTool","_wxToolBarTool",0},
1795 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1796 { "_class_wxCursor","_wxCursor",0},
1797 { "_class_wxImageHandler","_wxImageHandler",0},
1798 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1799 { "_wxTreeItemId","_class_wxTreeItemId",0},
1800 { "_unsigned_char","_byte",0},
1801 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1802 { "_class_wxMenu","_wxMenu",0},
1803 { "_wxControl","_class_wxControl",0},
1804 { "_class_wxListBox","_wxListBox",0},
1805 { "_unsigned_int","_wxPrintQuality",0},
1806 { "_unsigned_int","_size_t",0},
1807 { "_unsigned_int","_uint",0},
1808 { "_unsigned_int","_wxWindowID",0},
1809 { "_unsigned_int","_int",0},
1810 { "_wxIcon","_class_wxIcon",0},
1811 { "_wxDialog","_class_wxDialog",0},
1812 { "_class_wxListItem","_wxListItem",0},
1813 { "_class_wxPen","_wxPen",0},
1814 { "_class_wxFileDialog","_wxFileDialog",0},
1815 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
1816 { "_short","_WXTYPE",0},
1817 { "_short","_unsigned_short",0},
1818 { "_short","_signed_short",0},
1819 { "_class_wxStaticBox","_wxStaticBox",0},
1820 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
1821 { "_class_wxScrollEvent","_wxScrollEvent",0},
1822 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1823 { "_class_wxChoice","_wxChoice",0},
1824 { "_class_wxSlider","_wxSlider",0},
1825 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
1826 { "_class_wxImageList","_wxImageList",0},
1827 { "_class_wxBitmapButton","_wxBitmapButton",0},
1828 { "_wxFrame","_class_wxFrame",0},
1829 { "_class_wxNotebook","_wxNotebook",0},
1830 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
1831 { "_wxWindowID","_wxPrintQuality",0},
1832 { "_wxWindowID","_size_t",0},
1833 { "_wxWindowID","_EBool",0},
1834 { "_wxWindowID","_uint",0},
1835 { "_wxWindowID","_int",0},
1836 { "_wxWindowID","_signed_int",0},
1837 { "_wxWindowID","_unsigned_int",0},
1838 { "_int","_wxPrintQuality",0},
1839 { "_int","_size_t",0},
1840 { "_int","_EBool",0},
1841 { "_int","_uint",0},
1842 { "_int","_wxWindowID",0},
1843 { "_int","_unsigned_int",0},
1844 { "_int","_signed_int",0},
1845 { "_class_wxMouseEvent","_wxMouseEvent",0},
1846 { "_class_wxListEvent","_wxListEvent",0},
1847 { "_class_wxPrintPreview","_wxPrintPreview",0},
1848 { "_class_wxSpinEvent","_wxSpinEvent",0},
1849 { "_wxButton","_class_wxButton",0},
1850 { "_class_wxPyApp","_wxPyApp",0},
1851 { "_wxSize","_class_wxSize",0},
1852 { "_wxRegionIterator","_class_wxRegionIterator",0},
1853 { "_class_wxPrinterDC","_wxPrinterDC",0},
1854 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
1855 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
1856 { "_class_wxPaintDC","_wxPaintDC",0},
1857 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1858 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1859 { "_class_wxComboBox","_wxComboBox",0},
1860 { "_class_wxRadioButton","_wxRadioButton",0},
1861 { "_class_wxTreeItemId","_wxTreeItemId",0},
1862 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
1863 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1864 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1865 { "_class_wxControl","_wxControl",0},
1866 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1867 { "_class_wxIcon","_wxIcon",0},
1868 { "_class_wxColour","_wxColour",0},
1869 { "_class_wxScreenDC","_wxScreenDC",0},
1870 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
1871 { "_wxPalette","_class_wxPalette",0},
1872 { "_class_wxIdleEvent","_wxIdleEvent",0},
1873 { "_wxEraseEvent","_class_wxEraseEvent",0},
1874 { "_wxHtmlHelpSystem","_class_wxHtmlHelpSystem",0},
1875 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1876 { "_class_wxMiniFrame","_wxMiniFrame",0},
1877 { "_wxFontDialog","_class_wxFontDialog",0},
1878 { "_wxRegion","_class_wxRegion",0},
1879 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
1880 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
1881 { "_class_wxShowEvent","_wxShowEvent",0},
1882 { "_wxActivateEvent","_class_wxActivateEvent",0},
1883 { "_wxGauge","_class_wxGauge",0},
1884 { "_class_wxCheckListBox","_wxCheckListBox",0},
1885 { "_class_wxGridEvent","_wxGridEvent",0},
1886 { "_class_wxCommandEvent","_wxCommandEvent",0},
1887 { "_class_wxClientDC","_wxClientDC",0},
1888 { "_class_wxSizeEvent","_wxSizeEvent",0},
1889 { "_class_wxListCtrl","_wxListCtrl",0},
1890 { "_class_wxGridCell","_wxGridCell",0},
1891 { "_HtmlHistoryItem","_class_HtmlHistoryItem",0},
1892 { "_class_wxSize","_wxSize",0},
1893 { "_class_wxBitmap","_wxBitmap",0},
1894 { "_class_wxMemoryDC","_wxMemoryDC",0},
1895 { "_wxMenuBar","_class_wxMenuBar",0},
1896 { "_wxTreeEvent","_class_wxTreeEvent",0},
1897 { "_wxDirDialog","_class_wxDirDialog",0},
1898 { "_wxEvtHandler","_class_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxEvtHandler},
1899 { "_wxEvtHandler","_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxEvtHandler},
1900 { "_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
1901 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
1902 { "_wxEvtHandler","_class_wxEvtHandler",0},
1903 { "_wxMenuItem","_class_wxMenuItem",0},
1904 { "_class_wxScrollBar","_wxScrollBar",0},
1905 { "_class_wxColourDialog","_wxColourDialog",0},
1906 { "_class_wxPrintData","_wxPrintData",0},
1907 { "_wxDash","_unsigned_long",0},
1908 { "_wxDash","_long",0},
1909 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1910 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
1911 { "_class_wxConfig","_wxConfig",0},
1912 { "_wxKeyEvent","_class_wxKeyEvent",0},
1913 { "_wxMoveEvent","_class_wxMoveEvent",0},
1914 { "_wxColourData","_class_wxColourData",0},
1915 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
1916 { "_wxPyHtmlWindow","_class_wxPyHtmlWindow",0},
1917 { "_class_wxPalette","_wxPalette",0},
1918 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
1919 { "_class_wxEraseEvent","_wxEraseEvent",0},
1920 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
1921 { "_class_wxFontDialog","_wxFontDialog",0},
1922 { "_wxWindow","_class_wxWindow",0},
1923 { "_class_wxFrame","_wxFrame",0},
1924 {0,0,0}};
1925
1926 static PyObject *SWIG_globals;
1927 #ifdef __cplusplus
1928 extern "C"
1929 #endif
1930 SWIGEXPORT(void) inithtmlhelpc() {
1931 PyObject *m, *d;
1932 SWIG_globals = SWIG_newvarlink();
1933 m = Py_InitModule("htmlhelpc", htmlhelpcMethods);
1934 d = PyModule_GetDict(m);
1935 PyDict_SetItemString(d,"wxID_HTML_PANEL", PyInt_FromLong((long) wxID_HTML_PANEL));
1936 PyDict_SetItemString(d,"wxID_HTML_BACK", PyInt_FromLong((long) wxID_HTML_BACK));
1937 PyDict_SetItemString(d,"wxID_HTML_FORWARD", PyInt_FromLong((long) wxID_HTML_FORWARD));
1938 PyDict_SetItemString(d,"wxID_HTML_TREECTRL", PyInt_FromLong((long) wxID_HTML_TREECTRL));
1939 PyDict_SetItemString(d,"wxID_HTML_INDEXPAGE", PyInt_FromLong((long) wxID_HTML_INDEXPAGE));
1940 PyDict_SetItemString(d,"wxID_HTML_INDEXLIST", PyInt_FromLong((long) wxID_HTML_INDEXLIST));
1941 PyDict_SetItemString(d,"wxID_HTML_NOTEBOOK", PyInt_FromLong((long) wxID_HTML_NOTEBOOK));
1942 PyDict_SetItemString(d,"wxID_HTML_SEARCHPAGE", PyInt_FromLong((long) wxID_HTML_SEARCHPAGE));
1943 PyDict_SetItemString(d,"wxID_HTML_SEARCHTEXT", PyInt_FromLong((long) wxID_HTML_SEARCHTEXT));
1944 PyDict_SetItemString(d,"wxID_HTML_SEARCHLIST", PyInt_FromLong((long) wxID_HTML_SEARCHLIST));
1945 PyDict_SetItemString(d,"wxID_HTML_SEARCHBUTTON", PyInt_FromLong((long) wxID_HTML_SEARCHBUTTON));
1946 PyDict_SetItemString(d,"wxHtmlHelpController_IMG_Book", PyInt_FromLong((long) wxHtmlHelpController::IMG_Book));
1947 PyDict_SetItemString(d,"wxHtmlHelpController_IMG_Folder", PyInt_FromLong((long) wxHtmlHelpController::IMG_Folder));
1948 PyDict_SetItemString(d,"wxHtmlHelpController_IMG_Page", PyInt_FromLong((long) wxHtmlHelpController::IMG_Page));
1949 {
1950 int i;
1951 for (i = 0; _swig_mapping[i].n1; i++)
1952 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1953 }
1954 }