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