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