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