]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/gtk/htmlhelp.cpp
fixed clipping of items with icons text in report mode
[wxWidgets.git] / wxPython / src / gtk / htmlhelp.cpp
... / ...
CommitLineData
1/*
2 * FILE : src/gtk/htmlhelp.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 <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#include "Python.h"
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init inithtmlhelpc
55
56#define SWIG_name "htmlhelpc"
57
58#include "export.h"
59#include <wx/html/htmlwin.h>
60#include <wx/html/helpctrl.h>
61#include <wx/image.h>
62#include <wx/fs_zip.h>
63#include <wx/fs_inet.h>
64#include <wx/wfstream.h>
65
66
67static PyObject* t_output_helper(PyObject* target, PyObject* o) {
68 PyObject* o2;
69 PyObject* o3;
70
71 if (!target) {
72 target = o;
73 } else if (target == Py_None) {
74 Py_DECREF(Py_None);
75 target = o;
76 } else {
77 if (!PyTuple_Check(target)) {
78 o2 = target;
79 target = PyTuple_New(1);
80 PyTuple_SetItem(target, 0, o2);
81 }
82 o3 = PyTuple_New(1);
83 PyTuple_SetItem(o3, 0, o);
84
85 o2 = target;
86 target = PySequence_Concat(o2, o3);
87 Py_DECREF(o2);
88 Py_DECREF(o3);
89 }
90 return target;
91}
92
93#if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg = "String or Unicode type required";
95#else
96 static char* wxStringErrorMsg = "string type is required for parameter";
97#endif
98#ifdef __cplusplus
99extern "C" {
100#endif
101#define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2))
102static PyObject *_wrap_new_wxHtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
103 PyObject * _resultobj;
104 wxHtmlBookRecord * _result;
105 wxString * _arg0;
106 wxString * _arg1;
107 wxString * _arg2;
108 PyObject * _obj0 = 0;
109 PyObject * _obj1 = 0;
110 PyObject * _obj2 = 0;
111 char *_kwnames[] = { "basepath","title","start", NULL };
112 char _ptemp[128];
113
114 self = self;
115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxHtmlBookRecord",_kwnames,&_obj0,&_obj1,&_obj2))
116 return NULL;
117{
118#if PYTHON_API_VERSION >= 1009
119 char* tmpPtr; int tmpSize;
120 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
121 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
122 return NULL;
123 }
124 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
125 return NULL;
126 _arg0 = new wxString(tmpPtr, tmpSize);
127#else
128 if (!PyString_Check(_obj0)) {
129 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
130 return NULL;
131 }
132 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
133#endif
134}
135{
136#if PYTHON_API_VERSION >= 1009
137 char* tmpPtr; int tmpSize;
138 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
139 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
140 return NULL;
141 }
142 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
143 return NULL;
144 _arg1 = new wxString(tmpPtr, tmpSize);
145#else
146 if (!PyString_Check(_obj1)) {
147 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
148 return NULL;
149 }
150 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
151#endif
152}
153{
154#if PYTHON_API_VERSION >= 1009
155 char* tmpPtr; int tmpSize;
156 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
157 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
158 return NULL;
159 }
160 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
161 return NULL;
162 _arg2 = new wxString(tmpPtr, tmpSize);
163#else
164 if (!PyString_Check(_obj2)) {
165 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
166 return NULL;
167 }
168 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
169#endif
170}
171{
172 wxPy_BEGIN_ALLOW_THREADS;
173 _result = (wxHtmlBookRecord *)new_wxHtmlBookRecord(*_arg0,*_arg1,*_arg2);
174
175 wxPy_END_ALLOW_THREADS;
176} if (_result) {
177 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
178 _resultobj = Py_BuildValue("s",_ptemp);
179 } else {
180 Py_INCREF(Py_None);
181 _resultobj = Py_None;
182 }
183{
184 if (_obj0)
185 delete _arg0;
186}
187{
188 if (_obj1)
189 delete _arg1;
190}
191{
192 if (_obj2)
193 delete _arg2;
194}
195 return _resultobj;
196}
197
198#define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
199static PyObject *_wrap_wxHtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
200 PyObject * _resultobj;
201 wxString * _result;
202 wxHtmlBookRecord * _arg0;
203 PyObject * _argo0 = 0;
204 char *_kwnames[] = { "self", NULL };
205
206 self = self;
207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetTitle",_kwnames,&_argo0))
208 return NULL;
209 if (_argo0) {
210 if (_argo0 == Py_None) { _arg0 = NULL; }
211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
213 return NULL;
214 }
215 }
216{
217 wxPy_BEGIN_ALLOW_THREADS;
218 _result = new wxString (wxHtmlBookRecord_GetTitle(_arg0));
219
220 wxPy_END_ALLOW_THREADS;
221}{
222 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
223}
224{
225 delete _result;
226}
227 return _resultobj;
228}
229
230#define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
231static PyObject *_wrap_wxHtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
232 PyObject * _resultobj;
233 wxString * _result;
234 wxHtmlBookRecord * _arg0;
235 PyObject * _argo0 = 0;
236 char *_kwnames[] = { "self", NULL };
237
238 self = self;
239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetStart",_kwnames,&_argo0))
240 return NULL;
241 if (_argo0) {
242 if (_argo0 == Py_None) { _arg0 = NULL; }
243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
245 return NULL;
246 }
247 }
248{
249 wxPy_BEGIN_ALLOW_THREADS;
250 _result = new wxString (wxHtmlBookRecord_GetStart(_arg0));
251
252 wxPy_END_ALLOW_THREADS;
253}{
254 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
255}
256{
257 delete _result;
258}
259 return _resultobj;
260}
261
262#define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
263static PyObject *_wrap_wxHtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
264 PyObject * _resultobj;
265 wxString * _result;
266 wxHtmlBookRecord * _arg0;
267 PyObject * _argo0 = 0;
268 char *_kwnames[] = { "self", NULL };
269
270 self = self;
271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetBasePath",_kwnames,&_argo0))
272 return NULL;
273 if (_argo0) {
274 if (_argo0 == Py_None) { _arg0 = NULL; }
275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
277 return NULL;
278 }
279 }
280{
281 wxPy_BEGIN_ALLOW_THREADS;
282 _result = new wxString (wxHtmlBookRecord_GetBasePath(_arg0));
283
284 wxPy_END_ALLOW_THREADS;
285}{
286 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
287}
288{
289 delete _result;
290}
291 return _resultobj;
292}
293
294#define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
295static PyObject *_wrap_wxHtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
296 PyObject * _resultobj;
297 wxHtmlBookRecord * _arg0;
298 int _arg1;
299 int _arg2;
300 PyObject * _argo0 = 0;
301 char *_kwnames[] = { "self","start","end", NULL };
302
303 self = self;
304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames,&_argo0,&_arg1,&_arg2))
305 return NULL;
306 if (_argo0) {
307 if (_argo0 == Py_None) { _arg0 = NULL; }
308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
310 return NULL;
311 }
312 }
313{
314 wxPy_BEGIN_ALLOW_THREADS;
315 wxHtmlBookRecord_SetContentsRange(_arg0,_arg1,_arg2);
316
317 wxPy_END_ALLOW_THREADS;
318} Py_INCREF(Py_None);
319 _resultobj = Py_None;
320 return _resultobj;
321}
322
323#define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
324static PyObject *_wrap_wxHtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
325 PyObject * _resultobj;
326 int _result;
327 wxHtmlBookRecord * _arg0;
328 PyObject * _argo0 = 0;
329 char *_kwnames[] = { "self", NULL };
330
331 self = self;
332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsStart",_kwnames,&_argo0))
333 return NULL;
334 if (_argo0) {
335 if (_argo0 == Py_None) { _arg0 = NULL; }
336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
338 return NULL;
339 }
340 }
341{
342 wxPy_BEGIN_ALLOW_THREADS;
343 _result = (int )wxHtmlBookRecord_GetContentsStart(_arg0);
344
345 wxPy_END_ALLOW_THREADS;
346} _resultobj = Py_BuildValue("i",_result);
347 return _resultobj;
348}
349
350#define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
351static PyObject *_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
352 PyObject * _resultobj;
353 int _result;
354 wxHtmlBookRecord * _arg0;
355 PyObject * _argo0 = 0;
356 char *_kwnames[] = { "self", NULL };
357
358 self = self;
359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames,&_argo0))
360 return NULL;
361 if (_argo0) {
362 if (_argo0 == Py_None) { _arg0 = NULL; }
363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
365 return NULL;
366 }
367 }
368{
369 wxPy_BEGIN_ALLOW_THREADS;
370 _result = (int )wxHtmlBookRecord_GetContentsEnd(_arg0);
371
372 wxPy_END_ALLOW_THREADS;
373} _resultobj = Py_BuildValue("i",_result);
374 return _resultobj;
375}
376
377#define wxHtmlContentsItem_m_Level_set(_swigobj,_swigval) (_swigobj->m_Level = _swigval,_swigval)
378static PyObject *_wrap_wxHtmlContentsItem_m_Level_set(PyObject *self, PyObject *args, PyObject *kwargs) {
379 PyObject * _resultobj;
380 short _result;
381 wxHtmlContentsItem * _arg0;
382 short _arg1;
383 PyObject * _argo0 = 0;
384 char *_kwnames[] = { "self","m_Level", NULL };
385
386 self = self;
387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxHtmlContentsItem_m_Level_set",_kwnames,&_argo0,&_arg1))
388 return NULL;
389 if (_argo0) {
390 if (_argo0 == Py_None) { _arg0 = NULL; }
391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Level_set. Expected _wxHtmlContentsItem_p.");
393 return NULL;
394 }
395 }
396{
397 wxPy_BEGIN_ALLOW_THREADS;
398 _result = (short )wxHtmlContentsItem_m_Level_set(_arg0,_arg1);
399
400 wxPy_END_ALLOW_THREADS;
401} _resultobj = Py_BuildValue("h",_result);
402 return _resultobj;
403}
404
405#define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level)
406static PyObject *_wrap_wxHtmlContentsItem_m_Level_get(PyObject *self, PyObject *args, PyObject *kwargs) {
407 PyObject * _resultobj;
408 short _result;
409 wxHtmlContentsItem * _arg0;
410 PyObject * _argo0 = 0;
411 char *_kwnames[] = { "self", NULL };
412
413 self = self;
414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Level_get",_kwnames,&_argo0))
415 return NULL;
416 if (_argo0) {
417 if (_argo0 == Py_None) { _arg0 = NULL; }
418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p.");
420 return NULL;
421 }
422 }
423{
424 wxPy_BEGIN_ALLOW_THREADS;
425 _result = (short )wxHtmlContentsItem_m_Level_get(_arg0);
426
427 wxPy_END_ALLOW_THREADS;
428} _resultobj = Py_BuildValue("h",_result);
429 return _resultobj;
430}
431
432#define wxHtmlContentsItem_m_ID_set(_swigobj,_swigval) (_swigobj->m_ID = _swigval,_swigval)
433static PyObject *_wrap_wxHtmlContentsItem_m_ID_set(PyObject *self, PyObject *args, PyObject *kwargs) {
434 PyObject * _resultobj;
435 int _result;
436 wxHtmlContentsItem * _arg0;
437 int _arg1;
438 PyObject * _argo0 = 0;
439 char *_kwnames[] = { "self","m_ID", NULL };
440
441 self = self;
442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContentsItem_m_ID_set",_kwnames,&_argo0,&_arg1))
443 return NULL;
444 if (_argo0) {
445 if (_argo0 == Py_None) { _arg0 = NULL; }
446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_ID_set. Expected _wxHtmlContentsItem_p.");
448 return NULL;
449 }
450 }
451{
452 wxPy_BEGIN_ALLOW_THREADS;
453 _result = (int )wxHtmlContentsItem_m_ID_set(_arg0,_arg1);
454
455 wxPy_END_ALLOW_THREADS;
456} _resultobj = Py_BuildValue("i",_result);
457 return _resultobj;
458}
459
460#define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID)
461static PyObject *_wrap_wxHtmlContentsItem_m_ID_get(PyObject *self, PyObject *args, PyObject *kwargs) {
462 PyObject * _resultobj;
463 int _result;
464 wxHtmlContentsItem * _arg0;
465 PyObject * _argo0 = 0;
466 char *_kwnames[] = { "self", NULL };
467
468 self = self;
469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_ID_get",_kwnames,&_argo0))
470 return NULL;
471 if (_argo0) {
472 if (_argo0 == Py_None) { _arg0 = NULL; }
473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p.");
475 return NULL;
476 }
477 }
478{
479 wxPy_BEGIN_ALLOW_THREADS;
480 _result = (int )wxHtmlContentsItem_m_ID_get(_arg0);
481
482 wxPy_END_ALLOW_THREADS;
483} _resultobj = Py_BuildValue("i",_result);
484 return _resultobj;
485}
486
487static char * wxHtmlContentsItem_m_Name_set(wxHtmlContentsItem *obj, char *val) {
488 if (obj->m_Name) delete [] obj->m_Name;
489 obj->m_Name = new char[strlen(val)+1];
490 strcpy((char *)obj->m_Name,val);
491 return (char *) val;
492}
493static PyObject *_wrap_wxHtmlContentsItem_m_Name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
494 PyObject * _resultobj;
495 char * _result;
496 wxHtmlContentsItem * _arg0;
497 char * _arg1;
498 PyObject * _argo0 = 0;
499 char *_kwnames[] = { "self","m_Name", NULL };
500
501 self = self;
502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlContentsItem_m_Name_set",_kwnames,&_argo0,&_arg1))
503 return NULL;
504 if (_argo0) {
505 if (_argo0 == Py_None) { _arg0 = NULL; }
506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Name_set. Expected _wxHtmlContentsItem_p.");
508 return NULL;
509 }
510 }
511{
512 wxPy_BEGIN_ALLOW_THREADS;
513 _result = (char *)wxHtmlContentsItem_m_Name_set(_arg0,_arg1);
514
515 wxPy_END_ALLOW_THREADS;
516} _resultobj = Py_BuildValue("s", _result);
517 return _resultobj;
518}
519
520#define wxHtmlContentsItem_m_Name_get(_swigobj) ((char *) _swigobj->m_Name)
521static PyObject *_wrap_wxHtmlContentsItem_m_Name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
522 PyObject * _resultobj;
523 char * _result;
524 wxHtmlContentsItem * _arg0;
525 PyObject * _argo0 = 0;
526 char *_kwnames[] = { "self", NULL };
527
528 self = self;
529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Name_get",_kwnames,&_argo0))
530 return NULL;
531 if (_argo0) {
532 if (_argo0 == Py_None) { _arg0 = NULL; }
533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p.");
535 return NULL;
536 }
537 }
538{
539 wxPy_BEGIN_ALLOW_THREADS;
540 _result = (char *)wxHtmlContentsItem_m_Name_get(_arg0);
541
542 wxPy_END_ALLOW_THREADS;
543} _resultobj = Py_BuildValue("s", _result);
544 return _resultobj;
545}
546
547static char * wxHtmlContentsItem_m_Page_set(wxHtmlContentsItem *obj, char *val) {
548 if (obj->m_Page) delete [] obj->m_Page;
549 obj->m_Page = new char[strlen(val)+1];
550 strcpy((char *)obj->m_Page,val);
551 return (char *) val;
552}
553static PyObject *_wrap_wxHtmlContentsItem_m_Page_set(PyObject *self, PyObject *args, PyObject *kwargs) {
554 PyObject * _resultobj;
555 char * _result;
556 wxHtmlContentsItem * _arg0;
557 char * _arg1;
558 PyObject * _argo0 = 0;
559 char *_kwnames[] = { "self","m_Page", NULL };
560
561 self = self;
562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlContentsItem_m_Page_set",_kwnames,&_argo0,&_arg1))
563 return NULL;
564 if (_argo0) {
565 if (_argo0 == Py_None) { _arg0 = NULL; }
566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Page_set. Expected _wxHtmlContentsItem_p.");
568 return NULL;
569 }
570 }
571{
572 wxPy_BEGIN_ALLOW_THREADS;
573 _result = (char *)wxHtmlContentsItem_m_Page_set(_arg0,_arg1);
574
575 wxPy_END_ALLOW_THREADS;
576} _resultobj = Py_BuildValue("s", _result);
577 return _resultobj;
578}
579
580#define wxHtmlContentsItem_m_Page_get(_swigobj) ((char *) _swigobj->m_Page)
581static PyObject *_wrap_wxHtmlContentsItem_m_Page_get(PyObject *self, PyObject *args, PyObject *kwargs) {
582 PyObject * _resultobj;
583 char * _result;
584 wxHtmlContentsItem * _arg0;
585 PyObject * _argo0 = 0;
586 char *_kwnames[] = { "self", NULL };
587
588 self = self;
589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Page_get",_kwnames,&_argo0))
590 return NULL;
591 if (_argo0) {
592 if (_argo0 == Py_None) { _arg0 = NULL; }
593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p.");
595 return NULL;
596 }
597 }
598{
599 wxPy_BEGIN_ALLOW_THREADS;
600 _result = (char *)wxHtmlContentsItem_m_Page_get(_arg0);
601
602 wxPy_END_ALLOW_THREADS;
603} _resultobj = Py_BuildValue("s", _result);
604 return _resultobj;
605}
606
607#define wxHtmlContentsItem_m_Book_set(_swigobj,_swigval) (_swigobj->m_Book = _swigval,_swigval)
608static PyObject *_wrap_wxHtmlContentsItem_m_Book_set(PyObject *self, PyObject *args, PyObject *kwargs) {
609 PyObject * _resultobj;
610 wxHtmlBookRecord * _result;
611 wxHtmlContentsItem * _arg0;
612 wxHtmlBookRecord * _arg1;
613 PyObject * _argo0 = 0;
614 PyObject * _argo1 = 0;
615 char *_kwnames[] = { "self","m_Book", NULL };
616 char _ptemp[128];
617
618 self = self;
619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContentsItem_m_Book_set",_kwnames,&_argo0,&_argo1))
620 return NULL;
621 if (_argo0) {
622 if (_argo0 == Py_None) { _arg0 = NULL; }
623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlContentsItem_p.");
625 return NULL;
626 }
627 }
628 if (_argo1) {
629 if (_argo1 == Py_None) { _arg1 = NULL; }
630 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlBookRecord_p")) {
631 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlBookRecord_p.");
632 return NULL;
633 }
634 }
635{
636 wxPy_BEGIN_ALLOW_THREADS;
637 _result = (wxHtmlBookRecord *)wxHtmlContentsItem_m_Book_set(_arg0,_arg1);
638
639 wxPy_END_ALLOW_THREADS;
640} if (_result) {
641 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
642 _resultobj = Py_BuildValue("s",_ptemp);
643 } else {
644 Py_INCREF(Py_None);
645 _resultobj = Py_None;
646 }
647 return _resultobj;
648}
649
650#define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book)
651static PyObject *_wrap_wxHtmlContentsItem_m_Book_get(PyObject *self, PyObject *args, PyObject *kwargs) {
652 PyObject * _resultobj;
653 wxHtmlBookRecord * _result;
654 wxHtmlContentsItem * _arg0;
655 PyObject * _argo0 = 0;
656 char *_kwnames[] = { "self", NULL };
657 char _ptemp[128];
658
659 self = self;
660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Book_get",_kwnames,&_argo0))
661 return NULL;
662 if (_argo0) {
663 if (_argo0 == Py_None) { _arg0 = NULL; }
664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p.");
666 return NULL;
667 }
668 }
669{
670 wxPy_BEGIN_ALLOW_THREADS;
671 _result = (wxHtmlBookRecord *)wxHtmlContentsItem_m_Book_get(_arg0);
672
673 wxPy_END_ALLOW_THREADS;
674} if (_result) {
675 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
676 _resultobj = Py_BuildValue("s",_ptemp);
677 } else {
678 Py_INCREF(Py_None);
679 _resultobj = Py_None;
680 }
681 return _resultobj;
682}
683
684#define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
685static PyObject *_wrap_wxHtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
686 PyObject * _resultobj;
687 bool _result;
688 wxHtmlSearchStatus * _arg0;
689 PyObject * _argo0 = 0;
690 char *_kwnames[] = { "self", NULL };
691
692 self = self;
693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_Search",_kwnames,&_argo0))
694 return NULL;
695 if (_argo0) {
696 if (_argo0 == Py_None) { _arg0 = NULL; }
697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
699 return NULL;
700 }
701 }
702{
703 wxPy_BEGIN_ALLOW_THREADS;
704 _result = (bool )wxHtmlSearchStatus_Search(_arg0);
705
706 wxPy_END_ALLOW_THREADS;
707} _resultobj = Py_BuildValue("i",_result);
708 return _resultobj;
709}
710
711#define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
712static PyObject *_wrap_wxHtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
713 PyObject * _resultobj;
714 bool _result;
715 wxHtmlSearchStatus * _arg0;
716 PyObject * _argo0 = 0;
717 char *_kwnames[] = { "self", NULL };
718
719 self = self;
720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_IsActive",_kwnames,&_argo0))
721 return NULL;
722 if (_argo0) {
723 if (_argo0 == Py_None) { _arg0 = NULL; }
724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
726 return NULL;
727 }
728 }
729{
730 wxPy_BEGIN_ALLOW_THREADS;
731 _result = (bool )wxHtmlSearchStatus_IsActive(_arg0);
732
733 wxPy_END_ALLOW_THREADS;
734} _resultobj = Py_BuildValue("i",_result);
735 return _resultobj;
736}
737
738#define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
739static PyObject *_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
740 PyObject * _resultobj;
741 int _result;
742 wxHtmlSearchStatus * _arg0;
743 PyObject * _argo0 = 0;
744 char *_kwnames[] = { "self", NULL };
745
746 self = self;
747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames,&_argo0))
748 return NULL;
749 if (_argo0) {
750 if (_argo0 == Py_None) { _arg0 = NULL; }
751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
753 return NULL;
754 }
755 }
756{
757 wxPy_BEGIN_ALLOW_THREADS;
758 _result = (int )wxHtmlSearchStatus_GetCurIndex(_arg0);
759
760 wxPy_END_ALLOW_THREADS;
761} _resultobj = Py_BuildValue("i",_result);
762 return _resultobj;
763}
764
765#define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
766static PyObject *_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
767 PyObject * _resultobj;
768 int _result;
769 wxHtmlSearchStatus * _arg0;
770 PyObject * _argo0 = 0;
771 char *_kwnames[] = { "self", NULL };
772
773 self = self;
774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames,&_argo0))
775 return NULL;
776 if (_argo0) {
777 if (_argo0 == Py_None) { _arg0 = NULL; }
778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
780 return NULL;
781 }
782 }
783{
784 wxPy_BEGIN_ALLOW_THREADS;
785 _result = (int )wxHtmlSearchStatus_GetMaxIndex(_arg0);
786
787 wxPy_END_ALLOW_THREADS;
788} _resultobj = Py_BuildValue("i",_result);
789 return _resultobj;
790}
791
792#define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
793static PyObject *_wrap_wxHtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
794 PyObject * _resultobj;
795 wxString * _result;
796 wxHtmlSearchStatus * _arg0;
797 PyObject * _argo0 = 0;
798 char *_kwnames[] = { "self", NULL };
799
800 self = self;
801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetName",_kwnames,&_argo0))
802 return NULL;
803 if (_argo0) {
804 if (_argo0 == Py_None) { _arg0 = NULL; }
805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
807 return NULL;
808 }
809 }
810{
811 wxPy_BEGIN_ALLOW_THREADS;
812 const wxString & _result_ref = wxHtmlSearchStatus_GetName(_arg0);
813 _result = (wxString *) &_result_ref;
814
815 wxPy_END_ALLOW_THREADS;
816}{
817 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
818}
819 return _resultobj;
820}
821
822#define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
823static PyObject *_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
824 PyObject * _resultobj;
825 wxHtmlContentsItem * _result;
826 wxHtmlSearchStatus * _arg0;
827 PyObject * _argo0 = 0;
828 char *_kwnames[] = { "self", NULL };
829 char _ptemp[128];
830
831 self = self;
832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames,&_argo0))
833 return NULL;
834 if (_argo0) {
835 if (_argo0 == Py_None) { _arg0 = NULL; }
836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
838 return NULL;
839 }
840 }
841{
842 wxPy_BEGIN_ALLOW_THREADS;
843 _result = (wxHtmlContentsItem *)wxHtmlSearchStatus_GetContentsItem(_arg0);
844
845 wxPy_END_ALLOW_THREADS;
846} if (_result) {
847 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
848 _resultobj = Py_BuildValue("s",_ptemp);
849 } else {
850 Py_INCREF(Py_None);
851 _resultobj = Py_None;
852 }
853 return _resultobj;
854}
855
856#define new_wxHtmlHelpData() (new wxHtmlHelpData())
857static PyObject *_wrap_new_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
858 PyObject * _resultobj;
859 wxHtmlHelpData * _result;
860 char *_kwnames[] = { NULL };
861 char _ptemp[128];
862
863 self = self;
864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpData",_kwnames))
865 return NULL;
866{
867 wxPy_BEGIN_ALLOW_THREADS;
868 _result = (wxHtmlHelpData *)new_wxHtmlHelpData();
869
870 wxPy_END_ALLOW_THREADS;
871} if (_result) {
872 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p");
873 _resultobj = Py_BuildValue("s",_ptemp);
874 } else {
875 Py_INCREF(Py_None);
876 _resultobj = Py_None;
877 }
878 return _resultobj;
879}
880
881#define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
882static PyObject *_wrap_delete_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
883 PyObject * _resultobj;
884 wxHtmlHelpData * _arg0;
885 PyObject * _argo0 = 0;
886 char *_kwnames[] = { "self", NULL };
887
888 self = self;
889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpData",_kwnames,&_argo0))
890 return NULL;
891 if (_argo0) {
892 if (_argo0 == Py_None) { _arg0 = NULL; }
893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
895 return NULL;
896 }
897 }
898{
899 wxPy_BEGIN_ALLOW_THREADS;
900 delete_wxHtmlHelpData(_arg0);
901
902 wxPy_END_ALLOW_THREADS;
903} Py_INCREF(Py_None);
904 _resultobj = Py_None;
905 return _resultobj;
906}
907
908#define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
909static PyObject *_wrap_wxHtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
910 PyObject * _resultobj;
911 wxHtmlHelpData * _arg0;
912 wxString * _arg1;
913 PyObject * _argo0 = 0;
914 PyObject * _obj1 = 0;
915 char *_kwnames[] = { "self","path", NULL };
916
917 self = self;
918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_SetTempDir",_kwnames,&_argo0,&_obj1))
919 return NULL;
920 if (_argo0) {
921 if (_argo0 == Py_None) { _arg0 = NULL; }
922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
924 return NULL;
925 }
926 }
927{
928#if PYTHON_API_VERSION >= 1009
929 char* tmpPtr; int tmpSize;
930 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
931 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
932 return NULL;
933 }
934 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
935 return NULL;
936 _arg1 = new wxString(tmpPtr, tmpSize);
937#else
938 if (!PyString_Check(_obj1)) {
939 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
940 return NULL;
941 }
942 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
943#endif
944}
945{
946 wxPy_BEGIN_ALLOW_THREADS;
947 wxHtmlHelpData_SetTempDir(_arg0,*_arg1);
948
949 wxPy_END_ALLOW_THREADS;
950} Py_INCREF(Py_None);
951 _resultobj = Py_None;
952{
953 if (_obj1)
954 delete _arg1;
955}
956 return _resultobj;
957}
958
959#define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
960static PyObject *_wrap_wxHtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
961 PyObject * _resultobj;
962 bool _result;
963 wxHtmlHelpData * _arg0;
964 wxString * _arg1;
965 PyObject * _argo0 = 0;
966 PyObject * _obj1 = 0;
967 char *_kwnames[] = { "self","book", NULL };
968
969 self = self;
970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_AddBook",_kwnames,&_argo0,&_obj1))
971 return NULL;
972 if (_argo0) {
973 if (_argo0 == Py_None) { _arg0 = NULL; }
974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
976 return NULL;
977 }
978 }
979{
980#if PYTHON_API_VERSION >= 1009
981 char* tmpPtr; int tmpSize;
982 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
983 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
984 return NULL;
985 }
986 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
987 return NULL;
988 _arg1 = new wxString(tmpPtr, tmpSize);
989#else
990 if (!PyString_Check(_obj1)) {
991 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
992 return NULL;
993 }
994 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
995#endif
996}
997{
998 wxPy_BEGIN_ALLOW_THREADS;
999 _result = (bool )wxHtmlHelpData_AddBook(_arg0,*_arg1);
1000
1001 wxPy_END_ALLOW_THREADS;
1002} _resultobj = Py_BuildValue("i",_result);
1003{
1004 if (_obj1)
1005 delete _arg1;
1006}
1007 return _resultobj;
1008}
1009
1010#define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1011static PyObject *_wrap_wxHtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1012 PyObject * _resultobj;
1013 wxString * _result;
1014 wxHtmlHelpData * _arg0;
1015 wxString * _arg1;
1016 PyObject * _argo0 = 0;
1017 PyObject * _obj1 = 0;
1018 char *_kwnames[] = { "self","page", NULL };
1019
1020 self = self;
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_FindPageByName",_kwnames,&_argo0,&_obj1))
1022 return NULL;
1023 if (_argo0) {
1024 if (_argo0 == Py_None) { _arg0 = NULL; }
1025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1027 return NULL;
1028 }
1029 }
1030{
1031#if PYTHON_API_VERSION >= 1009
1032 char* tmpPtr; int tmpSize;
1033 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1034 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1035 return NULL;
1036 }
1037 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1038 return NULL;
1039 _arg1 = new wxString(tmpPtr, tmpSize);
1040#else
1041 if (!PyString_Check(_obj1)) {
1042 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1043 return NULL;
1044 }
1045 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1046#endif
1047}
1048{
1049 wxPy_BEGIN_ALLOW_THREADS;
1050 _result = new wxString (wxHtmlHelpData_FindPageByName(_arg0,*_arg1));
1051
1052 wxPy_END_ALLOW_THREADS;
1053}{
1054 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1055}
1056{
1057 if (_obj1)
1058 delete _arg1;
1059}
1060{
1061 delete _result;
1062}
1063 return _resultobj;
1064}
1065
1066#define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1067static PyObject *_wrap_wxHtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
1068 PyObject * _resultobj;
1069 wxString * _result;
1070 wxHtmlHelpData * _arg0;
1071 int _arg1;
1072 PyObject * _argo0 = 0;
1073 char *_kwnames[] = { "self","id", NULL };
1074
1075 self = self;
1076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpData_FindPageById",_kwnames,&_argo0,&_arg1))
1077 return NULL;
1078 if (_argo0) {
1079 if (_argo0 == Py_None) { _arg0 = NULL; }
1080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1082 return NULL;
1083 }
1084 }
1085{
1086 wxPy_BEGIN_ALLOW_THREADS;
1087 _result = new wxString (wxHtmlHelpData_FindPageById(_arg0,_arg1));
1088
1089 wxPy_END_ALLOW_THREADS;
1090}{
1091 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1092}
1093{
1094 delete _result;
1095}
1096 return _resultobj;
1097}
1098
1099#define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1100static PyObject *_wrap_wxHtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
1101 PyObject * _resultobj;
1102 wxHtmlBookRecArray * _result;
1103 wxHtmlHelpData * _arg0;
1104 PyObject * _argo0 = 0;
1105 char *_kwnames[] = { "self", NULL };
1106 char _ptemp[128];
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetBookRecArray",_kwnames,&_argo0))
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1115 return NULL;
1116 }
1117 }
1118{
1119 wxPy_BEGIN_ALLOW_THREADS;
1120 const wxHtmlBookRecArray & _result_ref = wxHtmlHelpData_GetBookRecArray(_arg0);
1121 _result = (wxHtmlBookRecArray *) &_result_ref;
1122
1123 wxPy_END_ALLOW_THREADS;
1124} if (_result) {
1125 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecArray_p");
1126 _resultobj = Py_BuildValue("s",_ptemp);
1127 } else {
1128 Py_INCREF(Py_None);
1129 _resultobj = Py_None;
1130 }
1131 return _resultobj;
1132}
1133
1134#define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1135static PyObject *_wrap_wxHtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1136 PyObject * _resultobj;
1137 wxHtmlContentsItem * _result;
1138 wxHtmlHelpData * _arg0;
1139 PyObject * _argo0 = 0;
1140 char *_kwnames[] = { "self", NULL };
1141 char _ptemp[128];
1142
1143 self = self;
1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContents",_kwnames,&_argo0))
1145 return NULL;
1146 if (_argo0) {
1147 if (_argo0 == Py_None) { _arg0 = NULL; }
1148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1150 return NULL;
1151 }
1152 }
1153{
1154 wxPy_BEGIN_ALLOW_THREADS;
1155 _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetContents(_arg0);
1156
1157 wxPy_END_ALLOW_THREADS;
1158} if (_result) {
1159 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1160 _resultobj = Py_BuildValue("s",_ptemp);
1161 } else {
1162 Py_INCREF(Py_None);
1163 _resultobj = Py_None;
1164 }
1165 return _resultobj;
1166}
1167
1168#define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1169static PyObject *_wrap_wxHtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject * _resultobj;
1171 int _result;
1172 wxHtmlHelpData * _arg0;
1173 PyObject * _argo0 = 0;
1174 char *_kwnames[] = { "self", NULL };
1175
1176 self = self;
1177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContentsCnt",_kwnames,&_argo0))
1178 return NULL;
1179 if (_argo0) {
1180 if (_argo0 == Py_None) { _arg0 = NULL; }
1181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1183 return NULL;
1184 }
1185 }
1186{
1187 wxPy_BEGIN_ALLOW_THREADS;
1188 _result = (int )wxHtmlHelpData_GetContentsCnt(_arg0);
1189
1190 wxPy_END_ALLOW_THREADS;
1191} _resultobj = Py_BuildValue("i",_result);
1192 return _resultobj;
1193}
1194
1195#define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1196static PyObject *_wrap_wxHtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1197 PyObject * _resultobj;
1198 wxHtmlContentsItem * _result;
1199 wxHtmlHelpData * _arg0;
1200 PyObject * _argo0 = 0;
1201 char *_kwnames[] = { "self", NULL };
1202 char _ptemp[128];
1203
1204 self = self;
1205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndex",_kwnames,&_argo0))
1206 return NULL;
1207 if (_argo0) {
1208 if (_argo0 == Py_None) { _arg0 = NULL; }
1209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1211 return NULL;
1212 }
1213 }
1214{
1215 wxPy_BEGIN_ALLOW_THREADS;
1216 _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetIndex(_arg0);
1217
1218 wxPy_END_ALLOW_THREADS;
1219} if (_result) {
1220 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1221 _resultobj = Py_BuildValue("s",_ptemp);
1222 } else {
1223 Py_INCREF(Py_None);
1224 _resultobj = Py_None;
1225 }
1226 return _resultobj;
1227}
1228
1229#define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1230static PyObject *_wrap_wxHtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
1231 PyObject * _resultobj;
1232 int _result;
1233 wxHtmlHelpData * _arg0;
1234 PyObject * _argo0 = 0;
1235 char *_kwnames[] = { "self", NULL };
1236
1237 self = self;
1238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndexCnt",_kwnames,&_argo0))
1239 return NULL;
1240 if (_argo0) {
1241 if (_argo0 == Py_None) { _arg0 = NULL; }
1242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1244 return NULL;
1245 }
1246 }
1247{
1248 wxPy_BEGIN_ALLOW_THREADS;
1249 _result = (int )wxHtmlHelpData_GetIndexCnt(_arg0);
1250
1251 wxPy_END_ALLOW_THREADS;
1252} _resultobj = Py_BuildValue("i",_result);
1253 return _resultobj;
1254}
1255
1256static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr) {
1257 wxHtmlHelpFrame *src;
1258 wxFrame *dest;
1259 src = (wxHtmlHelpFrame *) ptr;
1260 dest = (wxFrame *) src;
1261 return (void *) dest;
1262}
1263
1264static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr) {
1265 wxHtmlHelpFrame *src;
1266 wxWindow *dest;
1267 src = (wxHtmlHelpFrame *) ptr;
1268 dest = (wxWindow *) src;
1269 return (void *) dest;
1270}
1271
1272static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr) {
1273 wxHtmlHelpFrame *src;
1274 wxEvtHandler *dest;
1275 src = (wxHtmlHelpFrame *) ptr;
1276 dest = (wxEvtHandler *) src;
1277 return (void *) dest;
1278}
1279
1280static void *SwigwxHtmlHelpFrameTowxObject(void *ptr) {
1281 wxHtmlHelpFrame *src;
1282 wxObject *dest;
1283 src = (wxHtmlHelpFrame *) ptr;
1284 dest = (wxObject *) src;
1285 return (void *) dest;
1286}
1287
1288#define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1289static PyObject *_wrap_new_wxHtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1290 PyObject * _resultobj;
1291 wxHtmlHelpFrame * _result;
1292 wxWindow * _arg0;
1293 int _arg1;
1294 wxString * _arg2 = (wxString *) &wxEmptyString;
1295 int _arg3 = (int ) wxHF_DEFAULTSTYLE;
1296 wxHtmlHelpData * _arg4 = (wxHtmlHelpData *) NULL;
1297 PyObject * _argo0 = 0;
1298 PyObject * _obj2 = 0;
1299 PyObject * _argo4 = 0;
1300 char *_kwnames[] = { "parent","wxWindowID","title","style","data", NULL };
1301 char _ptemp[128];
1302
1303 self = self;
1304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_argo4))
1305 return NULL;
1306 if (_argo0) {
1307 if (_argo0 == Py_None) { _arg0 = NULL; }
1308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1310 return NULL;
1311 }
1312 }
1313 if (_obj2)
1314{
1315#if PYTHON_API_VERSION >= 1009
1316 char* tmpPtr; int tmpSize;
1317 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1318 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1319 return NULL;
1320 }
1321 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1322 return NULL;
1323 _arg2 = new wxString(tmpPtr, tmpSize);
1324#else
1325 if (!PyString_Check(_obj2)) {
1326 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1327 return NULL;
1328 }
1329 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1330#endif
1331}
1332 if (_argo4) {
1333 if (_argo4 == Py_None) { _arg4 = NULL; }
1334 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxHtmlHelpData_p")) {
1335 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1336 return NULL;
1337 }
1338 }
1339{
1340 wxPy_BEGIN_ALLOW_THREADS;
1341 _result = (wxHtmlHelpFrame *)new_wxHtmlHelpFrame(_arg0,_arg1,*_arg2,_arg3,_arg4);
1342
1343 wxPy_END_ALLOW_THREADS;
1344} if (_result) {
1345 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p");
1346 _resultobj = Py_BuildValue("s",_ptemp);
1347 } else {
1348 Py_INCREF(Py_None);
1349 _resultobj = Py_None;
1350 }
1351{
1352 if (_obj2)
1353 delete _arg2;
1354}
1355 return _resultobj;
1356}
1357
1358#define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1359static PyObject *_wrap_wxHtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1360 PyObject * _resultobj;
1361 wxHtmlHelpData * _result;
1362 wxHtmlHelpFrame * _arg0;
1363 PyObject * _argo0 = 0;
1364 char *_kwnames[] = { "self", NULL };
1365 char _ptemp[128];
1366
1367 self = self;
1368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_GetData",_kwnames,&_argo0))
1369 return NULL;
1370 if (_argo0) {
1371 if (_argo0 == Py_None) { _arg0 = NULL; }
1372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1374 return NULL;
1375 }
1376 }
1377{
1378 wxPy_BEGIN_ALLOW_THREADS;
1379 _result = (wxHtmlHelpData *)wxHtmlHelpFrame_GetData(_arg0);
1380
1381 wxPy_END_ALLOW_THREADS;
1382} if (_result) {
1383 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p");
1384 _resultobj = Py_BuildValue("s",_ptemp);
1385 } else {
1386 Py_INCREF(Py_None);
1387 _resultobj = Py_None;
1388 }
1389 return _resultobj;
1390}
1391
1392#define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1393static PyObject *_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
1394 PyObject * _resultobj;
1395 wxHtmlHelpFrame * _arg0;
1396 wxString * _arg1;
1397 PyObject * _argo0 = 0;
1398 PyObject * _obj1 = 0;
1399 char *_kwnames[] = { "self","format", NULL };
1400
1401 self = self;
1402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames,&_argo0,&_obj1))
1403 return NULL;
1404 if (_argo0) {
1405 if (_argo0 == Py_None) { _arg0 = NULL; }
1406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1408 return NULL;
1409 }
1410 }
1411{
1412#if PYTHON_API_VERSION >= 1009
1413 char* tmpPtr; int tmpSize;
1414 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1415 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1416 return NULL;
1417 }
1418 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1419 return NULL;
1420 _arg1 = new wxString(tmpPtr, tmpSize);
1421#else
1422 if (!PyString_Check(_obj1)) {
1423 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1424 return NULL;
1425 }
1426 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1427#endif
1428}
1429{
1430 wxPy_BEGIN_ALLOW_THREADS;
1431 wxHtmlHelpFrame_SetTitleFormat(_arg0,*_arg1);
1432
1433 wxPy_END_ALLOW_THREADS;
1434} Py_INCREF(Py_None);
1435 _resultobj = Py_None;
1436{
1437 if (_obj1)
1438 delete _arg1;
1439}
1440 return _resultobj;
1441}
1442
1443#define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1444static PyObject *_wrap_wxHtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
1445 PyObject * _resultobj;
1446 wxHtmlHelpFrame * _arg0;
1447 wxString * _arg1;
1448 PyObject * _argo0 = 0;
1449 PyObject * _obj1 = 0;
1450 char *_kwnames[] = { "self","x", NULL };
1451
1452 self = self;
1453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_Display",_kwnames,&_argo0,&_obj1))
1454 return NULL;
1455 if (_argo0) {
1456 if (_argo0 == Py_None) { _arg0 = NULL; }
1457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1459 return NULL;
1460 }
1461 }
1462{
1463#if PYTHON_API_VERSION >= 1009
1464 char* tmpPtr; int tmpSize;
1465 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1466 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1467 return NULL;
1468 }
1469 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1470 return NULL;
1471 _arg1 = new wxString(tmpPtr, tmpSize);
1472#else
1473 if (!PyString_Check(_obj1)) {
1474 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1475 return NULL;
1476 }
1477 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1478#endif
1479}
1480{
1481 wxPy_BEGIN_ALLOW_THREADS;
1482 wxHtmlHelpFrame_Display(_arg0,*_arg1);
1483
1484 wxPy_END_ALLOW_THREADS;
1485} Py_INCREF(Py_None);
1486 _resultobj = Py_None;
1487{
1488 if (_obj1)
1489 delete _arg1;
1490}
1491 return _resultobj;
1492}
1493
1494#define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1495static PyObject *_wrap_wxHtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
1496 PyObject * _resultobj;
1497 wxHtmlHelpFrame * _arg0;
1498 int _arg1;
1499 PyObject * _argo0 = 0;
1500 char *_kwnames[] = { "self","id", NULL };
1501
1502 self = self;
1503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames,&_argo0,&_arg1))
1504 return NULL;
1505 if (_argo0) {
1506 if (_argo0 == Py_None) { _arg0 = NULL; }
1507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1509 return NULL;
1510 }
1511 }
1512{
1513 wxPy_BEGIN_ALLOW_THREADS;
1514 wxHtmlHelpFrame_DisplayID(_arg0,_arg1);
1515
1516 wxPy_END_ALLOW_THREADS;
1517} Py_INCREF(Py_None);
1518 _resultobj = Py_None;
1519 return _resultobj;
1520}
1521
1522#define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1523static PyObject *_wrap_wxHtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject * _resultobj;
1525 wxHtmlHelpFrame * _arg0;
1526 PyObject * _argo0 = 0;
1527 char *_kwnames[] = { "self", NULL };
1528
1529 self = self;
1530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayContents",_kwnames,&_argo0))
1531 return NULL;
1532 if (_argo0) {
1533 if (_argo0 == Py_None) { _arg0 = NULL; }
1534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1536 return NULL;
1537 }
1538 }
1539{
1540 wxPy_BEGIN_ALLOW_THREADS;
1541 wxHtmlHelpFrame_DisplayContents(_arg0);
1542
1543 wxPy_END_ALLOW_THREADS;
1544} Py_INCREF(Py_None);
1545 _resultobj = Py_None;
1546 return _resultobj;
1547}
1548
1549#define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1550static PyObject *_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1551 PyObject * _resultobj;
1552 wxHtmlHelpFrame * _arg0;
1553 PyObject * _argo0 = 0;
1554 char *_kwnames[] = { "self", NULL };
1555
1556 self = self;
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames,&_argo0))
1558 return NULL;
1559 if (_argo0) {
1560 if (_argo0 == Py_None) { _arg0 = NULL; }
1561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1563 return NULL;
1564 }
1565 }
1566{
1567 wxPy_BEGIN_ALLOW_THREADS;
1568 wxHtmlHelpFrame_DisplayIndex(_arg0);
1569
1570 wxPy_END_ALLOW_THREADS;
1571} Py_INCREF(Py_None);
1572 _resultobj = Py_None;
1573 return _resultobj;
1574}
1575
1576#define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1577static PyObject *_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
1578 PyObject * _resultobj;
1579 bool _result;
1580 wxHtmlHelpFrame * _arg0;
1581 wxString * _arg1;
1582 PyObject * _argo0 = 0;
1583 PyObject * _obj1 = 0;
1584 char *_kwnames[] = { "self","keyword", NULL };
1585
1586 self = self;
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames,&_argo0,&_obj1))
1588 return NULL;
1589 if (_argo0) {
1590 if (_argo0 == Py_None) { _arg0 = NULL; }
1591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1593 return NULL;
1594 }
1595 }
1596{
1597#if PYTHON_API_VERSION >= 1009
1598 char* tmpPtr; int tmpSize;
1599 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1600 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1601 return NULL;
1602 }
1603 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1604 return NULL;
1605 _arg1 = new wxString(tmpPtr, tmpSize);
1606#else
1607 if (!PyString_Check(_obj1)) {
1608 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1609 return NULL;
1610 }
1611 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1612#endif
1613}
1614{
1615 wxPy_BEGIN_ALLOW_THREADS;
1616 _result = (bool )wxHtmlHelpFrame_KeywordSearch(_arg0,*_arg1);
1617
1618 wxPy_END_ALLOW_THREADS;
1619} _resultobj = Py_BuildValue("i",_result);
1620{
1621 if (_obj1)
1622 delete _arg1;
1623}
1624 return _resultobj;
1625}
1626
1627#define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1628static PyObject *_wrap_wxHtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
1629 PyObject * _resultobj;
1630 wxHtmlHelpFrame * _arg0;
1631 wxConfigBase * _arg1;
1632 wxString * _arg2 = (wxString *) &wxEmptyString;
1633 PyObject * _argo0 = 0;
1634 PyObject * _argo1 = 0;
1635 PyObject * _obj2 = 0;
1636 char *_kwnames[] = { "self","config","rootpath", NULL };
1637
1638 self = self;
1639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2))
1640 return NULL;
1641 if (_argo0) {
1642 if (_argo0 == Py_None) { _arg0 = NULL; }
1643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1645 return NULL;
1646 }
1647 }
1648 if (_argo1) {
1649 if (_argo1 == Py_None) { _arg1 = NULL; }
1650 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
1651 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1652 return NULL;
1653 }
1654 }
1655 if (_obj2)
1656{
1657#if PYTHON_API_VERSION >= 1009
1658 char* tmpPtr; int tmpSize;
1659 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1660 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1661 return NULL;
1662 }
1663 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1664 return NULL;
1665 _arg2 = new wxString(tmpPtr, tmpSize);
1666#else
1667 if (!PyString_Check(_obj2)) {
1668 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1669 return NULL;
1670 }
1671 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1672#endif
1673}
1674{
1675 wxPy_BEGIN_ALLOW_THREADS;
1676 wxHtmlHelpFrame_UseConfig(_arg0,_arg1,*_arg2);
1677
1678 wxPy_END_ALLOW_THREADS;
1679} Py_INCREF(Py_None);
1680 _resultobj = Py_None;
1681{
1682 if (_obj2)
1683 delete _arg2;
1684}
1685 return _resultobj;
1686}
1687
1688#define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1689static PyObject *_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
1690 PyObject * _resultobj;
1691 wxHtmlHelpFrame * _arg0;
1692 wxConfigBase * _arg1;
1693 wxString * _arg2 = (wxString *) &wxEmptyString;
1694 PyObject * _argo0 = 0;
1695 PyObject * _argo1 = 0;
1696 PyObject * _obj2 = 0;
1697 char *_kwnames[] = { "self","cfg","path", NULL };
1698
1699 self = self;
1700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
1701 return NULL;
1702 if (_argo0) {
1703 if (_argo0 == Py_None) { _arg0 = NULL; }
1704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1706 return NULL;
1707 }
1708 }
1709 if (_argo1) {
1710 if (_argo1 == Py_None) { _arg1 = NULL; }
1711 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
1712 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1713 return NULL;
1714 }
1715 }
1716 if (_obj2)
1717{
1718#if PYTHON_API_VERSION >= 1009
1719 char* tmpPtr; int tmpSize;
1720 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1721 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1722 return NULL;
1723 }
1724 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1725 return NULL;
1726 _arg2 = new wxString(tmpPtr, tmpSize);
1727#else
1728 if (!PyString_Check(_obj2)) {
1729 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1730 return NULL;
1731 }
1732 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1733#endif
1734}
1735{
1736 wxPy_BEGIN_ALLOW_THREADS;
1737 wxHtmlHelpFrame_ReadCustomization(_arg0,_arg1,*_arg2);
1738
1739 wxPy_END_ALLOW_THREADS;
1740} Py_INCREF(Py_None);
1741 _resultobj = Py_None;
1742{
1743 if (_obj2)
1744 delete _arg2;
1745}
1746 return _resultobj;
1747}
1748
1749#define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1750static PyObject *_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject * _resultobj;
1752 wxHtmlHelpFrame * _arg0;
1753 wxConfigBase * _arg1;
1754 wxString * _arg2 = (wxString *) &wxEmptyString;
1755 PyObject * _argo0 = 0;
1756 PyObject * _argo1 = 0;
1757 PyObject * _obj2 = 0;
1758 char *_kwnames[] = { "self","cfg","path", NULL };
1759
1760 self = self;
1761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
1762 return NULL;
1763 if (_argo0) {
1764 if (_argo0 == Py_None) { _arg0 = NULL; }
1765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1767 return NULL;
1768 }
1769 }
1770 if (_argo1) {
1771 if (_argo1 == Py_None) { _arg1 = NULL; }
1772 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
1773 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1774 return NULL;
1775 }
1776 }
1777 if (_obj2)
1778{
1779#if PYTHON_API_VERSION >= 1009
1780 char* tmpPtr; int tmpSize;
1781 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1782 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1783 return NULL;
1784 }
1785 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1786 return NULL;
1787 _arg2 = new wxString(tmpPtr, tmpSize);
1788#else
1789 if (!PyString_Check(_obj2)) {
1790 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1791 return NULL;
1792 }
1793 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1794#endif
1795}
1796{
1797 wxPy_BEGIN_ALLOW_THREADS;
1798 wxHtmlHelpFrame_WriteCustomization(_arg0,_arg1,*_arg2);
1799
1800 wxPy_END_ALLOW_THREADS;
1801} Py_INCREF(Py_None);
1802 _resultobj = Py_None;
1803{
1804 if (_obj2)
1805 delete _arg2;
1806}
1807 return _resultobj;
1808}
1809
1810static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr) {
1811 wxHtmlHelpController *src;
1812 wxEvtHandler *dest;
1813 src = (wxHtmlHelpController *) ptr;
1814 dest = (wxEvtHandler *) src;
1815 return (void *) dest;
1816}
1817
1818static void *SwigwxHtmlHelpControllerTowxObject(void *ptr) {
1819 wxHtmlHelpController *src;
1820 wxObject *dest;
1821 src = (wxHtmlHelpController *) ptr;
1822 dest = (wxObject *) src;
1823 return (void *) dest;
1824}
1825
1826#define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1827static PyObject *_wrap_new_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
1828 PyObject * _resultobj;
1829 wxHtmlHelpController * _result;
1830 int _arg0 = (int ) (wxHF_DEFAULTSTYLE);
1831 char *_kwnames[] = { "style", NULL };
1832 char _ptemp[128];
1833
1834 self = self;
1835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxHtmlHelpController",_kwnames,&_arg0))
1836 return NULL;
1837{
1838 wxPy_BEGIN_ALLOW_THREADS;
1839 _result = (wxHtmlHelpController *)new_wxHtmlHelpController(_arg0);
1840
1841 wxPy_END_ALLOW_THREADS;
1842} if (_result) {
1843 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpController_p");
1844 _resultobj = Py_BuildValue("s",_ptemp);
1845 } else {
1846 Py_INCREF(Py_None);
1847 _resultobj = Py_None;
1848 }
1849 return _resultobj;
1850}
1851
1852#define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1853static PyObject *_wrap_delete_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
1854 PyObject * _resultobj;
1855 wxHtmlHelpController * _arg0;
1856 PyObject * _argo0 = 0;
1857 char *_kwnames[] = { "self", NULL };
1858
1859 self = self;
1860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpController",_kwnames,&_argo0))
1861 return NULL;
1862 if (_argo0) {
1863 if (_argo0 == Py_None) { _arg0 = NULL; }
1864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1866 return NULL;
1867 }
1868 }
1869{
1870 wxPy_BEGIN_ALLOW_THREADS;
1871 delete_wxHtmlHelpController(_arg0);
1872
1873 wxPy_END_ALLOW_THREADS;
1874} Py_INCREF(Py_None);
1875 _resultobj = Py_None;
1876 return _resultobj;
1877}
1878
1879#define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1880static PyObject *_wrap_wxHtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
1881 PyObject * _resultobj;
1882 wxHtmlHelpController * _arg0;
1883 wxString * _arg1;
1884 PyObject * _argo0 = 0;
1885 PyObject * _obj1 = 0;
1886 char *_kwnames[] = { "self","format", NULL };
1887
1888 self = self;
1889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames,&_argo0,&_obj1))
1890 return NULL;
1891 if (_argo0) {
1892 if (_argo0 == Py_None) { _arg0 = NULL; }
1893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
1895 return NULL;
1896 }
1897 }
1898{
1899#if PYTHON_API_VERSION >= 1009
1900 char* tmpPtr; int tmpSize;
1901 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1902 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1903 return NULL;
1904 }
1905 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1906 return NULL;
1907 _arg1 = new wxString(tmpPtr, tmpSize);
1908#else
1909 if (!PyString_Check(_obj1)) {
1910 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1911 return NULL;
1912 }
1913 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1914#endif
1915}
1916{
1917 wxPy_BEGIN_ALLOW_THREADS;
1918 wxHtmlHelpController_SetTitleFormat(_arg0,*_arg1);
1919
1920 wxPy_END_ALLOW_THREADS;
1921} Py_INCREF(Py_None);
1922 _resultobj = Py_None;
1923{
1924 if (_obj1)
1925 delete _arg1;
1926}
1927 return _resultobj;
1928}
1929
1930#define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1931static PyObject *_wrap_wxHtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
1932 PyObject * _resultobj;
1933 wxHtmlHelpController * _arg0;
1934 wxString * _arg1;
1935 PyObject * _argo0 = 0;
1936 PyObject * _obj1 = 0;
1937 char *_kwnames[] = { "self","path", NULL };
1938
1939 self = self;
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTempDir",_kwnames,&_argo0,&_obj1))
1941 return NULL;
1942 if (_argo0) {
1943 if (_argo0 == Py_None) { _arg0 = NULL; }
1944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
1946 return NULL;
1947 }
1948 }
1949{
1950#if PYTHON_API_VERSION >= 1009
1951 char* tmpPtr; int tmpSize;
1952 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1953 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1954 return NULL;
1955 }
1956 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1957 return NULL;
1958 _arg1 = new wxString(tmpPtr, tmpSize);
1959#else
1960 if (!PyString_Check(_obj1)) {
1961 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1962 return NULL;
1963 }
1964 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1965#endif
1966}
1967{
1968 wxPy_BEGIN_ALLOW_THREADS;
1969 wxHtmlHelpController_SetTempDir(_arg0,*_arg1);
1970
1971 wxPy_END_ALLOW_THREADS;
1972} Py_INCREF(Py_None);
1973 _resultobj = Py_None;
1974{
1975 if (_obj1)
1976 delete _arg1;
1977}
1978 return _resultobj;
1979}
1980
1981#define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
1982static PyObject *_wrap_wxHtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject * _resultobj;
1984 bool _result;
1985 wxHtmlHelpController * _arg0;
1986 wxString * _arg1;
1987 int _arg2 = (int ) FALSE;
1988 PyObject * _argo0 = 0;
1989 PyObject * _obj1 = 0;
1990 char *_kwnames[] = { "self","book","show_wait_msg", NULL };
1991
1992 self = self;
1993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlHelpController_AddBook",_kwnames,&_argo0,&_obj1,&_arg2))
1994 return NULL;
1995 if (_argo0) {
1996 if (_argo0 == Py_None) { _arg0 = NULL; }
1997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
1999 return NULL;
2000 }
2001 }
2002{
2003#if PYTHON_API_VERSION >= 1009
2004 char* tmpPtr; int tmpSize;
2005 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2006 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2007 return NULL;
2008 }
2009 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2010 return NULL;
2011 _arg1 = new wxString(tmpPtr, tmpSize);
2012#else
2013 if (!PyString_Check(_obj1)) {
2014 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2015 return NULL;
2016 }
2017 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2018#endif
2019}
2020{
2021 wxPy_BEGIN_ALLOW_THREADS;
2022 _result = (bool )wxHtmlHelpController_AddBook(_arg0,*_arg1,_arg2);
2023
2024 wxPy_END_ALLOW_THREADS;
2025} _resultobj = Py_BuildValue("i",_result);
2026{
2027 if (_obj1)
2028 delete _arg1;
2029}
2030 return _resultobj;
2031}
2032
2033#define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2034static PyObject *_wrap_wxHtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
2035 PyObject * _resultobj;
2036 wxHtmlHelpController * _arg0;
2037 wxString * _arg1;
2038 PyObject * _argo0 = 0;
2039 PyObject * _obj1 = 0;
2040 char *_kwnames[] = { "self","x", NULL };
2041
2042 self = self;
2043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_Display",_kwnames,&_argo0,&_obj1))
2044 return NULL;
2045 if (_argo0) {
2046 if (_argo0 == Py_None) { _arg0 = NULL; }
2047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
2049 return NULL;
2050 }
2051 }
2052{
2053#if PYTHON_API_VERSION >= 1009
2054 char* tmpPtr; int tmpSize;
2055 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2056 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2057 return NULL;
2058 }
2059 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2060 return NULL;
2061 _arg1 = new wxString(tmpPtr, tmpSize);
2062#else
2063 if (!PyString_Check(_obj1)) {
2064 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2065 return NULL;
2066 }
2067 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2068#endif
2069}
2070{
2071 wxPy_BEGIN_ALLOW_THREADS;
2072 wxHtmlHelpController_Display(_arg0,*_arg1);
2073
2074 wxPy_END_ALLOW_THREADS;
2075} Py_INCREF(Py_None);
2076 _resultobj = Py_None;
2077{
2078 if (_obj1)
2079 delete _arg1;
2080}
2081 return _resultobj;
2082}
2083
2084#define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2085static PyObject *_wrap_wxHtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
2086 PyObject * _resultobj;
2087 wxHtmlHelpController * _arg0;
2088 int _arg1;
2089 PyObject * _argo0 = 0;
2090 char *_kwnames[] = { "self","id", NULL };
2091
2092 self = self;
2093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpController_DisplayID",_kwnames,&_argo0,&_arg1))
2094 return NULL;
2095 if (_argo0) {
2096 if (_argo0 == Py_None) { _arg0 = NULL; }
2097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2099 return NULL;
2100 }
2101 }
2102{
2103 wxPy_BEGIN_ALLOW_THREADS;
2104 wxHtmlHelpController_DisplayID(_arg0,_arg1);
2105
2106 wxPy_END_ALLOW_THREADS;
2107} Py_INCREF(Py_None);
2108 _resultobj = Py_None;
2109 return _resultobj;
2110}
2111
2112#define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2113static PyObject *_wrap_wxHtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2114 PyObject * _resultobj;
2115 wxHtmlHelpController * _arg0;
2116 PyObject * _argo0 = 0;
2117 char *_kwnames[] = { "self", NULL };
2118
2119 self = self;
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayContents",_kwnames,&_argo0))
2121 return NULL;
2122 if (_argo0) {
2123 if (_argo0 == Py_None) { _arg0 = NULL; }
2124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2126 return NULL;
2127 }
2128 }
2129{
2130 wxPy_BEGIN_ALLOW_THREADS;
2131 wxHtmlHelpController_DisplayContents(_arg0);
2132
2133 wxPy_END_ALLOW_THREADS;
2134} Py_INCREF(Py_None);
2135 _resultobj = Py_None;
2136 return _resultobj;
2137}
2138
2139#define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2140static PyObject *_wrap_wxHtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2141 PyObject * _resultobj;
2142 wxHtmlHelpController * _arg0;
2143 PyObject * _argo0 = 0;
2144 char *_kwnames[] = { "self", NULL };
2145
2146 self = self;
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayIndex",_kwnames,&_argo0))
2148 return NULL;
2149 if (_argo0) {
2150 if (_argo0 == Py_None) { _arg0 = NULL; }
2151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2153 return NULL;
2154 }
2155 }
2156{
2157 wxPy_BEGIN_ALLOW_THREADS;
2158 wxHtmlHelpController_DisplayIndex(_arg0);
2159
2160 wxPy_END_ALLOW_THREADS;
2161} Py_INCREF(Py_None);
2162 _resultobj = Py_None;
2163 return _resultobj;
2164}
2165
2166#define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2167static PyObject *_wrap_wxHtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
2168 PyObject * _resultobj;
2169 bool _result;
2170 wxHtmlHelpController * _arg0;
2171 wxString * _arg1;
2172 PyObject * _argo0 = 0;
2173 PyObject * _obj1 = 0;
2174 char *_kwnames[] = { "self","keyword", NULL };
2175
2176 self = self;
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_KeywordSearch",_kwnames,&_argo0,&_obj1))
2178 return NULL;
2179 if (_argo0) {
2180 if (_argo0 == Py_None) { _arg0 = NULL; }
2181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2183 return NULL;
2184 }
2185 }
2186{
2187#if PYTHON_API_VERSION >= 1009
2188 char* tmpPtr; int tmpSize;
2189 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2190 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2191 return NULL;
2192 }
2193 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2194 return NULL;
2195 _arg1 = new wxString(tmpPtr, tmpSize);
2196#else
2197 if (!PyString_Check(_obj1)) {
2198 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2199 return NULL;
2200 }
2201 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2202#endif
2203}
2204{
2205 wxPy_BEGIN_ALLOW_THREADS;
2206 _result = (bool )wxHtmlHelpController_KeywordSearch(_arg0,*_arg1);
2207
2208 wxPy_END_ALLOW_THREADS;
2209} _resultobj = Py_BuildValue("i",_result);
2210{
2211 if (_obj1)
2212 delete _arg1;
2213}
2214 return _resultobj;
2215}
2216
2217#define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2218static PyObject *_wrap_wxHtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
2219 PyObject * _resultobj;
2220 wxHtmlHelpController * _arg0;
2221 wxConfigBase * _arg1;
2222 wxString * _arg2 = (wxString *) &wxEmptyString;
2223 PyObject * _argo0 = 0;
2224 PyObject * _argo1 = 0;
2225 PyObject * _obj2 = 0;
2226 char *_kwnames[] = { "self","config","rootpath", NULL };
2227
2228 self = self;
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2))
2230 return NULL;
2231 if (_argo0) {
2232 if (_argo0 == Py_None) { _arg0 = NULL; }
2233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2235 return NULL;
2236 }
2237 }
2238 if (_argo1) {
2239 if (_argo1 == Py_None) { _arg1 = NULL; }
2240 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2241 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2242 return NULL;
2243 }
2244 }
2245 if (_obj2)
2246{
2247#if PYTHON_API_VERSION >= 1009
2248 char* tmpPtr; int tmpSize;
2249 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2250 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2251 return NULL;
2252 }
2253 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2254 return NULL;
2255 _arg2 = new wxString(tmpPtr, tmpSize);
2256#else
2257 if (!PyString_Check(_obj2)) {
2258 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2259 return NULL;
2260 }
2261 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2262#endif
2263}
2264{
2265 wxPy_BEGIN_ALLOW_THREADS;
2266 wxHtmlHelpController_UseConfig(_arg0,_arg1,*_arg2);
2267
2268 wxPy_END_ALLOW_THREADS;
2269} Py_INCREF(Py_None);
2270 _resultobj = Py_None;
2271{
2272 if (_obj2)
2273 delete _arg2;
2274}
2275 return _resultobj;
2276}
2277
2278#define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2279static PyObject *_wrap_wxHtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject * _resultobj;
2281 wxHtmlHelpController * _arg0;
2282 wxConfigBase * _arg1;
2283 wxString * _arg2 = (wxString *) &wxEmptyString;
2284 PyObject * _argo0 = 0;
2285 PyObject * _argo1 = 0;
2286 PyObject * _obj2 = 0;
2287 char *_kwnames[] = { "self","cfg","path", NULL };
2288
2289 self = self;
2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2291 return NULL;
2292 if (_argo0) {
2293 if (_argo0 == Py_None) { _arg0 = NULL; }
2294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2296 return NULL;
2297 }
2298 }
2299 if (_argo1) {
2300 if (_argo1 == Py_None) { _arg1 = NULL; }
2301 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2302 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2303 return NULL;
2304 }
2305 }
2306 if (_obj2)
2307{
2308#if PYTHON_API_VERSION >= 1009
2309 char* tmpPtr; int tmpSize;
2310 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2311 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2312 return NULL;
2313 }
2314 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2315 return NULL;
2316 _arg2 = new wxString(tmpPtr, tmpSize);
2317#else
2318 if (!PyString_Check(_obj2)) {
2319 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2320 return NULL;
2321 }
2322 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2323#endif
2324}
2325{
2326 wxPy_BEGIN_ALLOW_THREADS;
2327 wxHtmlHelpController_ReadCustomization(_arg0,_arg1,*_arg2);
2328
2329 wxPy_END_ALLOW_THREADS;
2330} Py_INCREF(Py_None);
2331 _resultobj = Py_None;
2332{
2333 if (_obj2)
2334 delete _arg2;
2335}
2336 return _resultobj;
2337}
2338
2339#define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2340static PyObject *_wrap_wxHtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject * _resultobj;
2342 wxHtmlHelpController * _arg0;
2343 wxConfigBase * _arg1;
2344 wxString * _arg2 = (wxString *) &wxEmptyString;
2345 PyObject * _argo0 = 0;
2346 PyObject * _argo1 = 0;
2347 PyObject * _obj2 = 0;
2348 char *_kwnames[] = { "self","cfg","path", NULL };
2349
2350 self = self;
2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2352 return NULL;
2353 if (_argo0) {
2354 if (_argo0 == Py_None) { _arg0 = NULL; }
2355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2357 return NULL;
2358 }
2359 }
2360 if (_argo1) {
2361 if (_argo1 == Py_None) { _arg1 = NULL; }
2362 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2363 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2364 return NULL;
2365 }
2366 }
2367 if (_obj2)
2368{
2369#if PYTHON_API_VERSION >= 1009
2370 char* tmpPtr; int tmpSize;
2371 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2372 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2373 return NULL;
2374 }
2375 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2376 return NULL;
2377 _arg2 = new wxString(tmpPtr, tmpSize);
2378#else
2379 if (!PyString_Check(_obj2)) {
2380 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2381 return NULL;
2382 }
2383 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2384#endif
2385}
2386{
2387 wxPy_BEGIN_ALLOW_THREADS;
2388 wxHtmlHelpController_WriteCustomization(_arg0,_arg1,*_arg2);
2389
2390 wxPy_END_ALLOW_THREADS;
2391} Py_INCREF(Py_None);
2392 _resultobj = Py_None;
2393{
2394 if (_obj2)
2395 delete _arg2;
2396}
2397 return _resultobj;
2398}
2399
2400#define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2401static PyObject *_wrap_wxHtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2402 PyObject * _resultobj;
2403 wxHtmlHelpFrame * _result;
2404 wxHtmlHelpController * _arg0;
2405 PyObject * _argo0 = 0;
2406 char *_kwnames[] = { "self", NULL };
2407 char _ptemp[128];
2408
2409 self = self;
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_GetFrame",_kwnames,&_argo0))
2411 return NULL;
2412 if (_argo0) {
2413 if (_argo0 == Py_None) { _arg0 = NULL; }
2414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2416 return NULL;
2417 }
2418 }
2419{
2420 wxPy_BEGIN_ALLOW_THREADS;
2421 _result = (wxHtmlHelpFrame *)wxHtmlHelpController_GetFrame(_arg0);
2422
2423 wxPy_END_ALLOW_THREADS;
2424} if (_result) {
2425 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p");
2426 _resultobj = Py_BuildValue("s",_ptemp);
2427 } else {
2428 Py_INCREF(Py_None);
2429 _resultobj = Py_None;
2430 }
2431 return _resultobj;
2432}
2433
2434static PyMethodDef htmlhelpcMethods[] = {
2435 { "wxHtmlHelpController_GetFrame", (PyCFunction) _wrap_wxHtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
2436 { "wxHtmlHelpController_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
2437 { "wxHtmlHelpController_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
2438 { "wxHtmlHelpController_UseConfig", (PyCFunction) _wrap_wxHtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
2439 { "wxHtmlHelpController_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
2440 { "wxHtmlHelpController_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
2441 { "wxHtmlHelpController_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
2442 { "wxHtmlHelpController_DisplayID", (PyCFunction) _wrap_wxHtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
2443 { "wxHtmlHelpController_Display", (PyCFunction) _wrap_wxHtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
2444 { "wxHtmlHelpController_AddBook", (PyCFunction) _wrap_wxHtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
2445 { "wxHtmlHelpController_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
2446 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
2447 { "delete_wxHtmlHelpController", (PyCFunction) _wrap_delete_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
2448 { "new_wxHtmlHelpController", (PyCFunction) _wrap_new_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
2449 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
2450 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
2451 { "wxHtmlHelpFrame_UseConfig", (PyCFunction) _wrap_wxHtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
2452 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
2453 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
2454 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
2455 { "wxHtmlHelpFrame_DisplayID", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
2456 { "wxHtmlHelpFrame_Display", (PyCFunction) _wrap_wxHtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
2457 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
2458 { "wxHtmlHelpFrame_GetData", (PyCFunction) _wrap_wxHtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
2459 { "new_wxHtmlHelpFrame", (PyCFunction) _wrap_new_wxHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
2460 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
2461 { "wxHtmlHelpData_GetIndex", (PyCFunction) _wrap_wxHtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
2462 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
2463 { "wxHtmlHelpData_GetContents", (PyCFunction) _wrap_wxHtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
2464 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_wxHtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
2465 { "wxHtmlHelpData_FindPageById", (PyCFunction) _wrap_wxHtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
2466 { "wxHtmlHelpData_FindPageByName", (PyCFunction) _wrap_wxHtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
2467 { "wxHtmlHelpData_AddBook", (PyCFunction) _wrap_wxHtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
2468 { "wxHtmlHelpData_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
2469 { "delete_wxHtmlHelpData", (PyCFunction) _wrap_delete_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS },
2470 { "new_wxHtmlHelpData", (PyCFunction) _wrap_new_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS },
2471 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_wxHtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
2472 { "wxHtmlSearchStatus_GetName", (PyCFunction) _wrap_wxHtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
2473 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
2474 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
2475 { "wxHtmlSearchStatus_IsActive", (PyCFunction) _wrap_wxHtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
2476 { "wxHtmlSearchStatus_Search", (PyCFunction) _wrap_wxHtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
2477 { "wxHtmlContentsItem_m_Book_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Book_get, METH_VARARGS | METH_KEYWORDS },
2478 { "wxHtmlContentsItem_m_Book_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Book_set, METH_VARARGS | METH_KEYWORDS },
2479 { "wxHtmlContentsItem_m_Page_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Page_get, METH_VARARGS | METH_KEYWORDS },
2480 { "wxHtmlContentsItem_m_Page_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Page_set, METH_VARARGS | METH_KEYWORDS },
2481 { "wxHtmlContentsItem_m_Name_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Name_get, METH_VARARGS | METH_KEYWORDS },
2482 { "wxHtmlContentsItem_m_Name_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Name_set, METH_VARARGS | METH_KEYWORDS },
2483 { "wxHtmlContentsItem_m_ID_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_ID_get, METH_VARARGS | METH_KEYWORDS },
2484 { "wxHtmlContentsItem_m_ID_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_ID_set, METH_VARARGS | METH_KEYWORDS },
2485 { "wxHtmlContentsItem_m_Level_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Level_get, METH_VARARGS | METH_KEYWORDS },
2486 { "wxHtmlContentsItem_m_Level_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Level_set, METH_VARARGS | METH_KEYWORDS },
2487 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
2488 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
2489 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_wxHtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
2490 { "wxHtmlBookRecord_GetBasePath", (PyCFunction) _wrap_wxHtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
2491 { "wxHtmlBookRecord_GetStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
2492 { "wxHtmlBookRecord_GetTitle", (PyCFunction) _wrap_wxHtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
2493 { "new_wxHtmlBookRecord", (PyCFunction) _wrap_new_wxHtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
2494 { NULL, NULL }
2495};
2496#ifdef __cplusplus
2497}
2498#endif
2499/*
2500 * This table is used by the pointer type-checker
2501 */
2502static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2503 { "_signed_long","_long",0},
2504 { "_wxPrintQuality","_wxCoord",0},
2505 { "_wxPrintQuality","_int",0},
2506 { "_wxPrintQuality","_signed_int",0},
2507 { "_wxPrintQuality","_unsigned_int",0},
2508 { "_wxPrintQuality","_wxWindowID",0},
2509 { "_wxPrintQuality","_uint",0},
2510 { "_wxPrintQuality","_EBool",0},
2511 { "_wxPrintQuality","_size_t",0},
2512 { "_wxPrintQuality","_time_t",0},
2513 { "_class_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2514 { "_class_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2515 { "_class_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2516 { "_class_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2517 { "_byte","_unsigned_char",0},
2518 { "_long","_unsigned_long",0},
2519 { "_long","_signed_long",0},
2520 { "_class_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject},
2521 { "_class_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject},
2522 { "_class_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject},
2523 { "_class_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject},
2524 { "_size_t","_wxCoord",0},
2525 { "_size_t","_wxPrintQuality",0},
2526 { "_size_t","_time_t",0},
2527 { "_size_t","_unsigned_int",0},
2528 { "_size_t","_int",0},
2529 { "_size_t","_wxWindowID",0},
2530 { "_size_t","_uint",0},
2531 { "_uint","_wxCoord",0},
2532 { "_uint","_wxPrintQuality",0},
2533 { "_uint","_time_t",0},
2534 { "_uint","_size_t",0},
2535 { "_uint","_unsigned_int",0},
2536 { "_uint","_int",0},
2537 { "_uint","_wxWindowID",0},
2538 { "_wxChar","_char",0},
2539 { "_char","_wxChar",0},
2540 { "_EBool","_wxCoord",0},
2541 { "_EBool","_wxPrintQuality",0},
2542 { "_EBool","_signed_int",0},
2543 { "_EBool","_int",0},
2544 { "_EBool","_wxWindowID",0},
2545 { "_unsigned_long","_long",0},
2546 { "_signed_int","_wxCoord",0},
2547 { "_signed_int","_wxPrintQuality",0},
2548 { "_signed_int","_EBool",0},
2549 { "_signed_int","_wxWindowID",0},
2550 { "_signed_int","_int",0},
2551 { "_WXTYPE","_wxDateTime_t",0},
2552 { "_WXTYPE","_short",0},
2553 { "_WXTYPE","_signed_short",0},
2554 { "_WXTYPE","_unsigned_short",0},
2555 { "_unsigned_short","_wxDateTime_t",0},
2556 { "_unsigned_short","_WXTYPE",0},
2557 { "_unsigned_short","_short",0},
2558 { "_class_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
2559 { "_class_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
2560 { "_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject},
2561 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject},
2562 { "_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject},
2563 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject},
2564 { "_signed_short","_WXTYPE",0},
2565 { "_signed_short","_short",0},
2566 { "_unsigned_char","_byte",0},
2567 { "_unsigned_int","_wxCoord",0},
2568 { "_unsigned_int","_wxPrintQuality",0},
2569 { "_unsigned_int","_time_t",0},
2570 { "_unsigned_int","_size_t",0},
2571 { "_unsigned_int","_uint",0},
2572 { "_unsigned_int","_wxWindowID",0},
2573 { "_unsigned_int","_int",0},
2574 { "_short","_wxDateTime_t",0},
2575 { "_short","_WXTYPE",0},
2576 { "_short","_unsigned_short",0},
2577 { "_short","_signed_short",0},
2578 { "_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
2579 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
2580 { "_wxWindowID","_wxCoord",0},
2581 { "_wxWindowID","_wxPrintQuality",0},
2582 { "_wxWindowID","_time_t",0},
2583 { "_wxWindowID","_size_t",0},
2584 { "_wxWindowID","_EBool",0},
2585 { "_wxWindowID","_uint",0},
2586 { "_wxWindowID","_int",0},
2587 { "_wxWindowID","_signed_int",0},
2588 { "_wxWindowID","_unsigned_int",0},
2589 { "_int","_wxCoord",0},
2590 { "_int","_wxPrintQuality",0},
2591 { "_int","_time_t",0},
2592 { "_int","_size_t",0},
2593 { "_int","_EBool",0},
2594 { "_int","_uint",0},
2595 { "_int","_wxWindowID",0},
2596 { "_int","_unsigned_int",0},
2597 { "_int","_signed_int",0},
2598 { "_wxDateTime_t","_unsigned_short",0},
2599 { "_wxDateTime_t","_short",0},
2600 { "_wxDateTime_t","_WXTYPE",0},
2601 { "_time_t","_wxCoord",0},
2602 { "_time_t","_wxPrintQuality",0},
2603 { "_time_t","_unsigned_int",0},
2604 { "_time_t","_int",0},
2605 { "_time_t","_wxWindowID",0},
2606 { "_time_t","_uint",0},
2607 { "_time_t","_size_t",0},
2608 { "_wxCoord","_int",0},
2609 { "_wxCoord","_signed_int",0},
2610 { "_wxCoord","_unsigned_int",0},
2611 { "_wxCoord","_wxWindowID",0},
2612 { "_wxCoord","_uint",0},
2613 { "_wxCoord","_EBool",0},
2614 { "_wxCoord","_size_t",0},
2615 { "_wxCoord","_time_t",0},
2616 { "_wxCoord","_wxPrintQuality",0},
2617 { "_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2618 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2619 { "_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2620 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2621 { "_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
2622 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
2623 { "_class_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
2624 { "_class_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
2625{0,0,0}};
2626
2627static PyObject *SWIG_globals;
2628#ifdef __cplusplus
2629extern "C"
2630#endif
2631SWIGEXPORT(void) inithtmlhelpc() {
2632 PyObject *m, *d;
2633 SWIG_globals = SWIG_newvarlink();
2634 m = Py_InitModule("htmlhelpc", htmlhelpcMethods);
2635 d = PyModule_GetDict(m);
2636 PyDict_SetItemString(d,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR));
2637 PyDict_SetItemString(d,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR));
2638 PyDict_SetItemString(d,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS));
2639 PyDict_SetItemString(d,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX));
2640 PyDict_SetItemString(d,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH));
2641 PyDict_SetItemString(d,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS));
2642 PyDict_SetItemString(d,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES));
2643 PyDict_SetItemString(d,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT));
2644 PyDict_SetItemString(d,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE));
2645{
2646 int i;
2647 for (i = 0; _swig_mapping[i].n1; i++)
2648 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2649}
2650}