]>
Commit | Line | Data |
---|---|---|
2f90df85 | 1 | /* |
8f17924e | 2 | * FILE : htmlhelp.cpp |
2f90df85 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 810) | |
7 | * | |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
52 | #define SWIG_init inithtmlhelpc | |
53 | ||
54 | #define SWIG_name "htmlhelpc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/html/htmlwin.h> | |
58 | #include <wx/html/helpctrl.h> | |
59 | #include <wx/image.h> | |
60 | #include <wx/fs_zip.h> | |
61 | #include <wx/fs_inet.h> | |
62 | #include <wx/wfstream.h> | |
63 | ||
64 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
65 | PyObject* o2; | |
66 | PyObject* o3; | |
67 | if (!target) { | |
68 | target = o; | |
69 | } else if (target == Py_None) { | |
70 | Py_DECREF(Py_None); | |
71 | target = o; | |
72 | } else { | |
73 | if (!PyList_Check(target)) { | |
74 | o2 = target; | |
75 | target = PyList_New(0); | |
76 | PyList_Append(target, o2); | |
77 | Py_XDECREF(o2); | |
78 | } | |
79 | PyList_Append(target,o); | |
80 | Py_XDECREF(o); | |
81 | } | |
82 | return target; | |
83 | } | |
84 | ||
85 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
86 | PyObject* o2; | |
87 | PyObject* o3; | |
88 | ||
89 | if (!target) { | |
90 | target = o; | |
91 | } else if (target == Py_None) { | |
92 | Py_DECREF(Py_None); | |
93 | target = o; | |
94 | } else { | |
95 | if (!PyTuple_Check(target)) { | |
96 | o2 = target; | |
97 | target = PyTuple_New(1); | |
98 | PyTuple_SetItem(target, 0, o2); | |
99 | } | |
100 | o3 = PyTuple_New(1); | |
101 | PyTuple_SetItem(o3, 0, o); | |
102 | ||
103 | o2 = target; | |
104 | target = PySequence_Concat(o2, o3); | |
105 | Py_DECREF(o2); | |
106 | Py_DECREF(o3); | |
107 | } | |
108 | return target; | |
109 | } | |
110 | ||
111 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
112 | #ifdef __cplusplus | |
113 | extern "C" { | |
114 | #endif | |
115 | #define new_wxHtmlHelpFrameCfg() (new wxHtmlHelpFrameCfg()) | |
116 | static PyObject *_wrap_new_wxHtmlHelpFrameCfg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
117 | PyObject * _resultobj; | |
118 | wxHtmlHelpFrameCfg * _result; | |
119 | char *_kwnames[] = { NULL }; | |
120 | char _ptemp[128]; | |
121 | ||
122 | self = self; | |
123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpFrameCfg",_kwnames)) | |
124 | return NULL; | |
125 | { | |
126 | wxPy_BEGIN_ALLOW_THREADS; | |
127 | _result = (wxHtmlHelpFrameCfg *)new_wxHtmlHelpFrameCfg(); | |
128 | ||
129 | wxPy_END_ALLOW_THREADS; | |
130 | } if (_result) { | |
131 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrameCfg_p"); | |
132 | _resultobj = Py_BuildValue("s",_ptemp); | |
133 | } else { | |
134 | Py_INCREF(Py_None); | |
135 | _resultobj = Py_None; | |
136 | } | |
137 | return _resultobj; | |
138 | } | |
139 | ||
140 | #define wxHtmlHelpFrameCfg_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
141 | static PyObject *_wrap_wxHtmlHelpFrameCfg_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
142 | PyObject * _resultobj; | |
143 | long _result; | |
144 | wxHtmlHelpFrameCfg * _arg0; | |
145 | long _arg1; | |
146 | PyObject * _argo0 = 0; | |
147 | char *_kwnames[] = { "self","x", NULL }; | |
148 | ||
149 | self = self; | |
150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_x_set",_kwnames,&_argo0,&_arg1)) | |
151 | return NULL; | |
152 | if (_argo0) { | |
153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_set. Expected _wxHtmlHelpFrameCfg_p."); | |
156 | return NULL; | |
157 | } | |
158 | } | |
159 | { | |
160 | wxPy_BEGIN_ALLOW_THREADS; | |
161 | _result = (long )wxHtmlHelpFrameCfg_x_set(_arg0,_arg1); | |
162 | ||
163 | wxPy_END_ALLOW_THREADS; | |
164 | } _resultobj = Py_BuildValue("l",_result); | |
165 | return _resultobj; | |
166 | } | |
167 | ||
168 | #define wxHtmlHelpFrameCfg_x_get(_swigobj) ((long ) _swigobj->x) | |
169 | static PyObject *_wrap_wxHtmlHelpFrameCfg_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
170 | PyObject * _resultobj; | |
171 | long _result; | |
172 | wxHtmlHelpFrameCfg * _arg0; | |
173 | PyObject * _argo0 = 0; | |
174 | char *_kwnames[] = { "self", NULL }; | |
175 | ||
176 | self = self; | |
177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_x_get",_kwnames,&_argo0)) | |
178 | return NULL; | |
179 | if (_argo0) { | |
180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_get. Expected _wxHtmlHelpFrameCfg_p."); | |
183 | return NULL; | |
184 | } | |
185 | } | |
186 | { | |
187 | wxPy_BEGIN_ALLOW_THREADS; | |
188 | _result = (long )wxHtmlHelpFrameCfg_x_get(_arg0); | |
189 | ||
190 | wxPy_END_ALLOW_THREADS; | |
191 | } _resultobj = Py_BuildValue("l",_result); | |
192 | return _resultobj; | |
193 | } | |
194 | ||
195 | #define wxHtmlHelpFrameCfg_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
196 | static PyObject *_wrap_wxHtmlHelpFrameCfg_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
197 | PyObject * _resultobj; | |
198 | long _result; | |
199 | wxHtmlHelpFrameCfg * _arg0; | |
200 | long _arg1; | |
201 | PyObject * _argo0 = 0; | |
202 | char *_kwnames[] = { "self","y", NULL }; | |
203 | ||
204 | self = self; | |
205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_y_set",_kwnames,&_argo0,&_arg1)) | |
206 | return NULL; | |
207 | if (_argo0) { | |
208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_set. Expected _wxHtmlHelpFrameCfg_p."); | |
211 | return NULL; | |
212 | } | |
213 | } | |
214 | { | |
215 | wxPy_BEGIN_ALLOW_THREADS; | |
216 | _result = (long )wxHtmlHelpFrameCfg_y_set(_arg0,_arg1); | |
217 | ||
218 | wxPy_END_ALLOW_THREADS; | |
219 | } _resultobj = Py_BuildValue("l",_result); | |
220 | return _resultobj; | |
221 | } | |
222 | ||
223 | #define wxHtmlHelpFrameCfg_y_get(_swigobj) ((long ) _swigobj->y) | |
224 | static PyObject *_wrap_wxHtmlHelpFrameCfg_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
225 | PyObject * _resultobj; | |
226 | long _result; | |
227 | wxHtmlHelpFrameCfg * _arg0; | |
228 | PyObject * _argo0 = 0; | |
229 | char *_kwnames[] = { "self", NULL }; | |
230 | ||
231 | self = self; | |
232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_y_get",_kwnames,&_argo0)) | |
233 | return NULL; | |
234 | if (_argo0) { | |
235 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
236 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_get. Expected _wxHtmlHelpFrameCfg_p."); | |
238 | return NULL; | |
239 | } | |
240 | } | |
241 | { | |
242 | wxPy_BEGIN_ALLOW_THREADS; | |
243 | _result = (long )wxHtmlHelpFrameCfg_y_get(_arg0); | |
244 | ||
245 | wxPy_END_ALLOW_THREADS; | |
246 | } _resultobj = Py_BuildValue("l",_result); | |
247 | return _resultobj; | |
248 | } | |
249 | ||
250 | #define wxHtmlHelpFrameCfg_w_set(_swigobj,_swigval) (_swigobj->w = _swigval,_swigval) | |
251 | static PyObject *_wrap_wxHtmlHelpFrameCfg_w_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
252 | PyObject * _resultobj; | |
253 | long _result; | |
254 | wxHtmlHelpFrameCfg * _arg0; | |
255 | long _arg1; | |
256 | PyObject * _argo0 = 0; | |
257 | char *_kwnames[] = { "self","w", NULL }; | |
258 | ||
259 | self = self; | |
260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_w_set",_kwnames,&_argo0,&_arg1)) | |
261 | return NULL; | |
262 | if (_argo0) { | |
263 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
264 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_set. Expected _wxHtmlHelpFrameCfg_p."); | |
266 | return NULL; | |
267 | } | |
268 | } | |
269 | { | |
270 | wxPy_BEGIN_ALLOW_THREADS; | |
271 | _result = (long )wxHtmlHelpFrameCfg_w_set(_arg0,_arg1); | |
272 | ||
273 | wxPy_END_ALLOW_THREADS; | |
274 | } _resultobj = Py_BuildValue("l",_result); | |
275 | return _resultobj; | |
276 | } | |
277 | ||
278 | #define wxHtmlHelpFrameCfg_w_get(_swigobj) ((long ) _swigobj->w) | |
279 | static PyObject *_wrap_wxHtmlHelpFrameCfg_w_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
280 | PyObject * _resultobj; | |
281 | long _result; | |
282 | wxHtmlHelpFrameCfg * _arg0; | |
283 | PyObject * _argo0 = 0; | |
284 | char *_kwnames[] = { "self", NULL }; | |
285 | ||
286 | self = self; | |
287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_w_get",_kwnames,&_argo0)) | |
288 | return NULL; | |
289 | if (_argo0) { | |
290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_get. Expected _wxHtmlHelpFrameCfg_p."); | |
293 | return NULL; | |
294 | } | |
295 | } | |
296 | { | |
297 | wxPy_BEGIN_ALLOW_THREADS; | |
298 | _result = (long )wxHtmlHelpFrameCfg_w_get(_arg0); | |
299 | ||
300 | wxPy_END_ALLOW_THREADS; | |
301 | } _resultobj = Py_BuildValue("l",_result); | |
302 | return _resultobj; | |
303 | } | |
304 | ||
305 | #define wxHtmlHelpFrameCfg_h_set(_swigobj,_swigval) (_swigobj->h = _swigval,_swigval) | |
306 | static PyObject *_wrap_wxHtmlHelpFrameCfg_h_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
307 | PyObject * _resultobj; | |
308 | long _result; | |
309 | wxHtmlHelpFrameCfg * _arg0; | |
310 | long _arg1; | |
311 | PyObject * _argo0 = 0; | |
312 | char *_kwnames[] = { "self","h", NULL }; | |
313 | ||
314 | self = self; | |
315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_h_set",_kwnames,&_argo0,&_arg1)) | |
316 | return NULL; | |
317 | if (_argo0) { | |
318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_set. Expected _wxHtmlHelpFrameCfg_p."); | |
321 | return NULL; | |
322 | } | |
323 | } | |
324 | { | |
325 | wxPy_BEGIN_ALLOW_THREADS; | |
326 | _result = (long )wxHtmlHelpFrameCfg_h_set(_arg0,_arg1); | |
327 | ||
328 | wxPy_END_ALLOW_THREADS; | |
329 | } _resultobj = Py_BuildValue("l",_result); | |
330 | return _resultobj; | |
331 | } | |
332 | ||
333 | #define wxHtmlHelpFrameCfg_h_get(_swigobj) ((long ) _swigobj->h) | |
334 | static PyObject *_wrap_wxHtmlHelpFrameCfg_h_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
335 | PyObject * _resultobj; | |
336 | long _result; | |
337 | wxHtmlHelpFrameCfg * _arg0; | |
338 | PyObject * _argo0 = 0; | |
339 | char *_kwnames[] = { "self", NULL }; | |
340 | ||
341 | self = self; | |
342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_h_get",_kwnames,&_argo0)) | |
343 | return NULL; | |
344 | if (_argo0) { | |
345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_get. Expected _wxHtmlHelpFrameCfg_p."); | |
348 | return NULL; | |
349 | } | |
350 | } | |
351 | { | |
352 | wxPy_BEGIN_ALLOW_THREADS; | |
353 | _result = (long )wxHtmlHelpFrameCfg_h_get(_arg0); | |
354 | ||
355 | wxPy_END_ALLOW_THREADS; | |
356 | } _resultobj = Py_BuildValue("l",_result); | |
357 | return _resultobj; | |
358 | } | |
359 | ||
360 | #define wxHtmlHelpFrameCfg_sashpos_set(_swigobj,_swigval) (_swigobj->sashpos = _swigval,_swigval) | |
361 | static PyObject *_wrap_wxHtmlHelpFrameCfg_sashpos_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
362 | PyObject * _resultobj; | |
363 | long _result; | |
364 | wxHtmlHelpFrameCfg * _arg0; | |
365 | long _arg1; | |
366 | PyObject * _argo0 = 0; | |
367 | char *_kwnames[] = { "self","sashpos", NULL }; | |
368 | ||
369 | self = self; | |
370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_sashpos_set",_kwnames,&_argo0,&_arg1)) | |
371 | return NULL; | |
372 | if (_argo0) { | |
373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_set. Expected _wxHtmlHelpFrameCfg_p."); | |
376 | return NULL; | |
377 | } | |
378 | } | |
379 | { | |
380 | wxPy_BEGIN_ALLOW_THREADS; | |
381 | _result = (long )wxHtmlHelpFrameCfg_sashpos_set(_arg0,_arg1); | |
382 | ||
383 | wxPy_END_ALLOW_THREADS; | |
384 | } _resultobj = Py_BuildValue("l",_result); | |
385 | return _resultobj; | |
386 | } | |
387 | ||
388 | #define wxHtmlHelpFrameCfg_sashpos_get(_swigobj) ((long ) _swigobj->sashpos) | |
389 | static PyObject *_wrap_wxHtmlHelpFrameCfg_sashpos_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
390 | PyObject * _resultobj; | |
391 | long _result; | |
392 | wxHtmlHelpFrameCfg * _arg0; | |
393 | PyObject * _argo0 = 0; | |
394 | char *_kwnames[] = { "self", NULL }; | |
395 | ||
396 | self = self; | |
397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_sashpos_get",_kwnames,&_argo0)) | |
398 | return NULL; | |
399 | if (_argo0) { | |
400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_get. Expected _wxHtmlHelpFrameCfg_p."); | |
403 | return NULL; | |
404 | } | |
405 | } | |
406 | { | |
407 | wxPy_BEGIN_ALLOW_THREADS; | |
408 | _result = (long )wxHtmlHelpFrameCfg_sashpos_get(_arg0); | |
409 | ||
410 | wxPy_END_ALLOW_THREADS; | |
411 | } _resultobj = Py_BuildValue("l",_result); | |
412 | return _resultobj; | |
413 | } | |
414 | ||
415 | #define wxHtmlHelpFrameCfg_navig_on_set(_swigobj,_swigval) (_swigobj->navig_on = _swigval,_swigval) | |
416 | static PyObject *_wrap_wxHtmlHelpFrameCfg_navig_on_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
417 | PyObject * _resultobj; | |
418 | bool _result; | |
419 | wxHtmlHelpFrameCfg * _arg0; | |
420 | bool _arg1; | |
421 | PyObject * _argo0 = 0; | |
422 | int tempbool1; | |
423 | char *_kwnames[] = { "self","navig_on", NULL }; | |
424 | ||
425 | self = self; | |
426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrameCfg_navig_on_set",_kwnames,&_argo0,&tempbool1)) | |
427 | return NULL; | |
428 | if (_argo0) { | |
429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_set. Expected _wxHtmlHelpFrameCfg_p."); | |
432 | return NULL; | |
433 | } | |
434 | } | |
435 | _arg1 = (bool ) tempbool1; | |
436 | { | |
437 | wxPy_BEGIN_ALLOW_THREADS; | |
438 | _result = (bool )wxHtmlHelpFrameCfg_navig_on_set(_arg0,_arg1); | |
439 | ||
440 | wxPy_END_ALLOW_THREADS; | |
441 | } _resultobj = Py_BuildValue("i",_result); | |
442 | return _resultobj; | |
443 | } | |
444 | ||
445 | #define wxHtmlHelpFrameCfg_navig_on_get(_swigobj) ((bool ) _swigobj->navig_on) | |
446 | static PyObject *_wrap_wxHtmlHelpFrameCfg_navig_on_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
447 | PyObject * _resultobj; | |
448 | bool _result; | |
449 | wxHtmlHelpFrameCfg * _arg0; | |
450 | PyObject * _argo0 = 0; | |
451 | char *_kwnames[] = { "self", NULL }; | |
452 | ||
453 | self = self; | |
454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_navig_on_get",_kwnames,&_argo0)) | |
455 | return NULL; | |
456 | if (_argo0) { | |
457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_get. Expected _wxHtmlHelpFrameCfg_p."); | |
460 | return NULL; | |
461 | } | |
462 | } | |
463 | { | |
464 | wxPy_BEGIN_ALLOW_THREADS; | |
465 | _result = (bool )wxHtmlHelpFrameCfg_navig_on_get(_arg0); | |
466 | ||
467 | wxPy_END_ALLOW_THREADS; | |
468 | } _resultobj = Py_BuildValue("i",_result); | |
469 | return _resultobj; | |
470 | } | |
471 | ||
472 | #define wxHtmlHelpFrameCfg_style_set(_swigobj,_swigval) (_swigobj->style = _swigval,_swigval) | |
473 | static PyObject *_wrap_wxHtmlHelpFrameCfg_style_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
474 | PyObject * _resultobj; | |
475 | int _result; | |
476 | wxHtmlHelpFrameCfg * _arg0; | |
477 | int _arg1; | |
478 | PyObject * _argo0 = 0; | |
479 | char *_kwnames[] = { "self","style", NULL }; | |
480 | ||
481 | self = self; | |
482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrameCfg_style_set",_kwnames,&_argo0,&_arg1)) | |
483 | return NULL; | |
484 | if (_argo0) { | |
485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_style_set. Expected _wxHtmlHelpFrameCfg_p."); | |
488 | return NULL; | |
489 | } | |
490 | } | |
491 | { | |
492 | wxPy_BEGIN_ALLOW_THREADS; | |
493 | _result = (int )wxHtmlHelpFrameCfg_style_set(_arg0,_arg1); | |
494 | ||
495 | wxPy_END_ALLOW_THREADS; | |
496 | } _resultobj = Py_BuildValue("i",_result); | |
497 | return _resultobj; | |
498 | } | |
499 | ||
500 | #define wxHtmlHelpFrameCfg_style_get(_swigobj) ((int ) _swigobj->style) | |
501 | static PyObject *_wrap_wxHtmlHelpFrameCfg_style_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
502 | PyObject * _resultobj; | |
503 | int _result; | |
504 | wxHtmlHelpFrameCfg * _arg0; | |
505 | PyObject * _argo0 = 0; | |
506 | char *_kwnames[] = { "self", NULL }; | |
507 | ||
508 | self = self; | |
509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_style_get",_kwnames,&_argo0)) | |
510 | return NULL; | |
511 | if (_argo0) { | |
512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_style_get. Expected _wxHtmlHelpFrameCfg_p."); | |
515 | return NULL; | |
516 | } | |
517 | } | |
518 | { | |
519 | wxPy_BEGIN_ALLOW_THREADS; | |
520 | _result = (int )wxHtmlHelpFrameCfg_style_get(_arg0); | |
521 | ||
522 | wxPy_END_ALLOW_THREADS; | |
523 | } _resultobj = Py_BuildValue("i",_result); | |
524 | return _resultobj; | |
525 | } | |
526 | ||
527 | #define wxHtmlHelpFrameCfg_titleformat_set(_swigobj,_swigval) (_swigobj->titleformat = *(_swigval),_swigval) | |
528 | static PyObject *_wrap_wxHtmlHelpFrameCfg_titleformat_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
529 | PyObject * _resultobj; | |
530 | wxString * _result; | |
531 | wxHtmlHelpFrameCfg * _arg0; | |
532 | wxString * _arg1; | |
533 | PyObject * _argo0 = 0; | |
534 | PyObject * _obj1 = 0; | |
535 | char *_kwnames[] = { "self","titleformat", NULL }; | |
536 | ||
537 | self = self; | |
538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrameCfg_titleformat_set",_kwnames,&_argo0,&_obj1)) | |
539 | return NULL; | |
540 | if (_argo0) { | |
541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_titleformat_set. Expected _wxHtmlHelpFrameCfg_p."); | |
544 | return NULL; | |
545 | } | |
546 | } | |
547 | { | |
548 | if (!PyString_Check(_obj1)) { | |
549 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
550 | return NULL; | |
551 | } | |
552 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
553 | } | |
554 | { | |
555 | wxPy_BEGIN_ALLOW_THREADS; | |
556 | _result = (wxString *)wxHtmlHelpFrameCfg_titleformat_set(_arg0,_arg1); | |
557 | ||
558 | wxPy_END_ALLOW_THREADS; | |
559 | }{ | |
560 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
561 | } | |
562 | { | |
563 | if (_obj1) | |
564 | delete _arg1; | |
565 | } | |
566 | return _resultobj; | |
567 | } | |
568 | ||
569 | #define wxHtmlHelpFrameCfg_titleformat_get(_swigobj) (&_swigobj->titleformat) | |
570 | static PyObject *_wrap_wxHtmlHelpFrameCfg_titleformat_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
571 | PyObject * _resultobj; | |
572 | wxString * _result; | |
573 | wxHtmlHelpFrameCfg * _arg0; | |
574 | PyObject * _argo0 = 0; | |
575 | char *_kwnames[] = { "self", NULL }; | |
576 | ||
577 | self = self; | |
578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_titleformat_get",_kwnames,&_argo0)) | |
579 | return NULL; | |
580 | if (_argo0) { | |
581 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
582 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) { | |
583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_titleformat_get. Expected _wxHtmlHelpFrameCfg_p."); | |
584 | return NULL; | |
585 | } | |
586 | } | |
587 | { | |
588 | wxPy_BEGIN_ALLOW_THREADS; | |
589 | _result = (wxString *)wxHtmlHelpFrameCfg_titleformat_get(_arg0); | |
590 | ||
591 | wxPy_END_ALLOW_THREADS; | |
592 | }{ | |
593 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
594 | } | |
595 | return _resultobj; | |
596 | } | |
597 | ||
598 | #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2)) | |
599 | static PyObject *_wrap_new_wxHtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
600 | PyObject * _resultobj; | |
601 | wxHtmlBookRecord * _result; | |
602 | wxString * _arg0; | |
603 | wxString * _arg1; | |
604 | wxString * _arg2; | |
605 | PyObject * _obj0 = 0; | |
606 | PyObject * _obj1 = 0; | |
607 | PyObject * _obj2 = 0; | |
608 | char *_kwnames[] = { "basepath","title","start", NULL }; | |
609 | char _ptemp[128]; | |
610 | ||
611 | self = self; | |
612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxHtmlBookRecord",_kwnames,&_obj0,&_obj1,&_obj2)) | |
613 | return NULL; | |
614 | { | |
615 | if (!PyString_Check(_obj0)) { | |
616 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
617 | return NULL; | |
618 | } | |
619 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); | |
620 | } | |
621 | { | |
622 | if (!PyString_Check(_obj1)) { | |
623 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
624 | return NULL; | |
625 | } | |
626 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
627 | } | |
628 | { | |
629 | if (!PyString_Check(_obj2)) { | |
630 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
631 | return NULL; | |
632 | } | |
633 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
634 | } | |
635 | { | |
636 | wxPy_BEGIN_ALLOW_THREADS; | |
637 | _result = (wxHtmlBookRecord *)new_wxHtmlBookRecord(*_arg0,*_arg1,*_arg2); | |
638 | ||
639 | wxPy_END_ALLOW_THREADS; | |
640 | } if (_result) { | |
641 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p"); | |
642 | _resultobj = Py_BuildValue("s",_ptemp); | |
643 | } else { | |
644 | Py_INCREF(Py_None); | |
645 | _resultobj = Py_None; | |
646 | } | |
647 | { | |
648 | if (_obj0) | |
649 | delete _arg0; | |
650 | } | |
651 | { | |
652 | if (_obj1) | |
653 | delete _arg1; | |
654 | } | |
655 | { | |
656 | if (_obj2) | |
657 | delete _arg2; | |
658 | } | |
659 | return _resultobj; | |
660 | } | |
661 | ||
662 | #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
663 | static PyObject *_wrap_wxHtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
664 | PyObject * _resultobj; | |
665 | wxString * _result; | |
666 | wxHtmlBookRecord * _arg0; | |
667 | PyObject * _argo0 = 0; | |
668 | char *_kwnames[] = { "self", NULL }; | |
669 | ||
670 | self = self; | |
671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetTitle",_kwnames,&_argo0)) | |
672 | return NULL; | |
673 | if (_argo0) { | |
674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) { | |
676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p."); | |
677 | return NULL; | |
678 | } | |
679 | } | |
680 | { | |
681 | wxPy_BEGIN_ALLOW_THREADS; | |
682 | _result = new wxString (wxHtmlBookRecord_GetTitle(_arg0)); | |
683 | ||
684 | wxPy_END_ALLOW_THREADS; | |
685 | }{ | |
686 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
687 | } | |
688 | { | |
689 | delete _result; | |
690 | } | |
691 | return _resultobj; | |
692 | } | |
693 | ||
694 | #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart()) | |
695 | static PyObject *_wrap_wxHtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
696 | PyObject * _resultobj; | |
697 | wxString * _result; | |
698 | wxHtmlBookRecord * _arg0; | |
699 | PyObject * _argo0 = 0; | |
700 | char *_kwnames[] = { "self", NULL }; | |
701 | ||
702 | self = self; | |
703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetStart",_kwnames,&_argo0)) | |
704 | return NULL; | |
705 | if (_argo0) { | |
706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) { | |
708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p."); | |
709 | return NULL; | |
710 | } | |
711 | } | |
712 | { | |
713 | wxPy_BEGIN_ALLOW_THREADS; | |
714 | _result = new wxString (wxHtmlBookRecord_GetStart(_arg0)); | |
715 | ||
716 | wxPy_END_ALLOW_THREADS; | |
717 | }{ | |
718 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
719 | } | |
720 | { | |
721 | delete _result; | |
722 | } | |
723 | return _resultobj; | |
724 | } | |
725 | ||
726 | #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath()) | |
727 | static PyObject *_wrap_wxHtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
728 | PyObject * _resultobj; | |
729 | wxString * _result; | |
730 | wxHtmlBookRecord * _arg0; | |
731 | PyObject * _argo0 = 0; | |
732 | char *_kwnames[] = { "self", NULL }; | |
733 | ||
734 | self = self; | |
735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetBasePath",_kwnames,&_argo0)) | |
736 | return NULL; | |
737 | if (_argo0) { | |
738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) { | |
740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p."); | |
741 | return NULL; | |
742 | } | |
743 | } | |
744 | { | |
745 | wxPy_BEGIN_ALLOW_THREADS; | |
746 | _result = new wxString (wxHtmlBookRecord_GetBasePath(_arg0)); | |
747 | ||
748 | wxPy_END_ALLOW_THREADS; | |
749 | }{ | |
750 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
751 | } | |
752 | { | |
753 | delete _result; | |
754 | } | |
755 | return _resultobj; | |
756 | } | |
757 | ||
758 | #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1)) | |
759 | static PyObject *_wrap_wxHtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
760 | PyObject * _resultobj; | |
761 | wxHtmlBookRecord * _arg0; | |
762 | int _arg1; | |
763 | int _arg2; | |
764 | PyObject * _argo0 = 0; | |
765 | char *_kwnames[] = { "self","start","end", NULL }; | |
766 | ||
767 | self = self; | |
768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames,&_argo0,&_arg1,&_arg2)) | |
769 | return NULL; | |
770 | if (_argo0) { | |
771 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
772 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) { | |
773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p."); | |
774 | return NULL; | |
775 | } | |
776 | } | |
777 | { | |
778 | wxPy_BEGIN_ALLOW_THREADS; | |
779 | wxHtmlBookRecord_SetContentsRange(_arg0,_arg1,_arg2); | |
780 | ||
781 | wxPy_END_ALLOW_THREADS; | |
782 | } Py_INCREF(Py_None); | |
783 | _resultobj = Py_None; | |
784 | return _resultobj; | |
785 | } | |
786 | ||
787 | #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart()) | |
788 | static PyObject *_wrap_wxHtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
789 | PyObject * _resultobj; | |
790 | int _result; | |
791 | wxHtmlBookRecord * _arg0; | |
792 | PyObject * _argo0 = 0; | |
793 | char *_kwnames[] = { "self", NULL }; | |
794 | ||
795 | self = self; | |
796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsStart",_kwnames,&_argo0)) | |
797 | return NULL; | |
798 | if (_argo0) { | |
799 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
800 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) { | |
801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p."); | |
802 | return NULL; | |
803 | } | |
804 | } | |
805 | { | |
806 | wxPy_BEGIN_ALLOW_THREADS; | |
807 | _result = (int )wxHtmlBookRecord_GetContentsStart(_arg0); | |
808 | ||
809 | wxPy_END_ALLOW_THREADS; | |
810 | } _resultobj = Py_BuildValue("i",_result); | |
811 | return _resultobj; | |
812 | } | |
813 | ||
814 | #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd()) | |
815 | static PyObject *_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
816 | PyObject * _resultobj; | |
817 | int _result; | |
818 | wxHtmlBookRecord * _arg0; | |
819 | PyObject * _argo0 = 0; | |
820 | char *_kwnames[] = { "self", NULL }; | |
821 | ||
822 | self = self; | |
823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames,&_argo0)) | |
824 | return NULL; | |
825 | if (_argo0) { | |
826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) { | |
828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p."); | |
829 | return NULL; | |
830 | } | |
831 | } | |
832 | { | |
833 | wxPy_BEGIN_ALLOW_THREADS; | |
834 | _result = (int )wxHtmlBookRecord_GetContentsEnd(_arg0); | |
835 | ||
836 | wxPy_END_ALLOW_THREADS; | |
837 | } _resultobj = Py_BuildValue("i",_result); | |
838 | return _resultobj; | |
839 | } | |
840 | ||
841 | #define wxHtmlContentsItem_m_Level_set(_swigobj,_swigval) (_swigobj->m_Level = _swigval,_swigval) | |
842 | static PyObject *_wrap_wxHtmlContentsItem_m_Level_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
843 | PyObject * _resultobj; | |
844 | short _result; | |
845 | wxHtmlContentsItem * _arg0; | |
846 | short _arg1; | |
847 | PyObject * _argo0 = 0; | |
848 | char *_kwnames[] = { "self","m_Level", NULL }; | |
849 | ||
850 | self = self; | |
851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxHtmlContentsItem_m_Level_set",_kwnames,&_argo0,&_arg1)) | |
852 | return NULL; | |
853 | if (_argo0) { | |
854 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
855 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Level_set. Expected _wxHtmlContentsItem_p."); | |
857 | return NULL; | |
858 | } | |
859 | } | |
860 | { | |
861 | wxPy_BEGIN_ALLOW_THREADS; | |
862 | _result = (short )wxHtmlContentsItem_m_Level_set(_arg0,_arg1); | |
863 | ||
864 | wxPy_END_ALLOW_THREADS; | |
865 | } _resultobj = Py_BuildValue("h",_result); | |
866 | return _resultobj; | |
867 | } | |
868 | ||
869 | #define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level) | |
870 | static PyObject *_wrap_wxHtmlContentsItem_m_Level_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
871 | PyObject * _resultobj; | |
872 | short _result; | |
873 | wxHtmlContentsItem * _arg0; | |
874 | PyObject * _argo0 = 0; | |
875 | char *_kwnames[] = { "self", NULL }; | |
876 | ||
877 | self = self; | |
878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Level_get",_kwnames,&_argo0)) | |
879 | return NULL; | |
880 | if (_argo0) { | |
881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p."); | |
884 | return NULL; | |
885 | } | |
886 | } | |
887 | { | |
888 | wxPy_BEGIN_ALLOW_THREADS; | |
889 | _result = (short )wxHtmlContentsItem_m_Level_get(_arg0); | |
890 | ||
891 | wxPy_END_ALLOW_THREADS; | |
892 | } _resultobj = Py_BuildValue("h",_result); | |
893 | return _resultobj; | |
894 | } | |
895 | ||
896 | #define wxHtmlContentsItem_m_ID_set(_swigobj,_swigval) (_swigobj->m_ID = _swigval,_swigval) | |
897 | static PyObject *_wrap_wxHtmlContentsItem_m_ID_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
898 | PyObject * _resultobj; | |
899 | int _result; | |
900 | wxHtmlContentsItem * _arg0; | |
901 | int _arg1; | |
902 | PyObject * _argo0 = 0; | |
903 | char *_kwnames[] = { "self","m_ID", NULL }; | |
904 | ||
905 | self = self; | |
906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContentsItem_m_ID_set",_kwnames,&_argo0,&_arg1)) | |
907 | return NULL; | |
908 | if (_argo0) { | |
909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_ID_set. Expected _wxHtmlContentsItem_p."); | |
912 | return NULL; | |
913 | } | |
914 | } | |
915 | { | |
916 | wxPy_BEGIN_ALLOW_THREADS; | |
917 | _result = (int )wxHtmlContentsItem_m_ID_set(_arg0,_arg1); | |
918 | ||
919 | wxPy_END_ALLOW_THREADS; | |
920 | } _resultobj = Py_BuildValue("i",_result); | |
921 | return _resultobj; | |
922 | } | |
923 | ||
924 | #define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID) | |
925 | static PyObject *_wrap_wxHtmlContentsItem_m_ID_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
926 | PyObject * _resultobj; | |
927 | int _result; | |
928 | wxHtmlContentsItem * _arg0; | |
929 | PyObject * _argo0 = 0; | |
930 | char *_kwnames[] = { "self", NULL }; | |
931 | ||
932 | self = self; | |
933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_ID_get",_kwnames,&_argo0)) | |
934 | return NULL; | |
935 | if (_argo0) { | |
936 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
937 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p."); | |
939 | return NULL; | |
940 | } | |
941 | } | |
942 | { | |
943 | wxPy_BEGIN_ALLOW_THREADS; | |
944 | _result = (int )wxHtmlContentsItem_m_ID_get(_arg0); | |
945 | ||
946 | wxPy_END_ALLOW_THREADS; | |
947 | } _resultobj = Py_BuildValue("i",_result); | |
948 | return _resultobj; | |
949 | } | |
950 | ||
951 | static char * wxHtmlContentsItem_m_Name_set(wxHtmlContentsItem *obj, char *val) { | |
952 | if (obj->m_Name) delete [] obj->m_Name; | |
953 | obj->m_Name = new char[strlen(val)+1]; | |
954 | strcpy((char *)obj->m_Name,val); | |
955 | return (char *) val; | |
956 | } | |
957 | static PyObject *_wrap_wxHtmlContentsItem_m_Name_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
958 | PyObject * _resultobj; | |
959 | char * _result; | |
960 | wxHtmlContentsItem * _arg0; | |
961 | char * _arg1; | |
962 | PyObject * _argo0 = 0; | |
963 | char *_kwnames[] = { "self","m_Name", NULL }; | |
964 | ||
965 | self = self; | |
966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlContentsItem_m_Name_set",_kwnames,&_argo0,&_arg1)) | |
967 | return NULL; | |
968 | if (_argo0) { | |
969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Name_set. Expected _wxHtmlContentsItem_p."); | |
972 | return NULL; | |
973 | } | |
974 | } | |
975 | { | |
976 | wxPy_BEGIN_ALLOW_THREADS; | |
977 | _result = (char *)wxHtmlContentsItem_m_Name_set(_arg0,_arg1); | |
978 | ||
979 | wxPy_END_ALLOW_THREADS; | |
980 | } _resultobj = Py_BuildValue("s", _result); | |
981 | return _resultobj; | |
982 | } | |
983 | ||
984 | #define wxHtmlContentsItem_m_Name_get(_swigobj) ((char *) _swigobj->m_Name) | |
985 | static PyObject *_wrap_wxHtmlContentsItem_m_Name_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
986 | PyObject * _resultobj; | |
987 | char * _result; | |
988 | wxHtmlContentsItem * _arg0; | |
989 | PyObject * _argo0 = 0; | |
990 | char *_kwnames[] = { "self", NULL }; | |
991 | ||
992 | self = self; | |
993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Name_get",_kwnames,&_argo0)) | |
994 | return NULL; | |
995 | if (_argo0) { | |
996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p."); | |
999 | return NULL; | |
1000 | } | |
1001 | } | |
1002 | { | |
1003 | wxPy_BEGIN_ALLOW_THREADS; | |
1004 | _result = (char *)wxHtmlContentsItem_m_Name_get(_arg0); | |
1005 | ||
1006 | wxPy_END_ALLOW_THREADS; | |
1007 | } _resultobj = Py_BuildValue("s", _result); | |
1008 | return _resultobj; | |
1009 | } | |
1010 | ||
1011 | static char * wxHtmlContentsItem_m_Page_set(wxHtmlContentsItem *obj, char *val) { | |
1012 | if (obj->m_Page) delete [] obj->m_Page; | |
1013 | obj->m_Page = new char[strlen(val)+1]; | |
1014 | strcpy((char *)obj->m_Page,val); | |
1015 | return (char *) val; | |
1016 | } | |
1017 | static PyObject *_wrap_wxHtmlContentsItem_m_Page_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1018 | PyObject * _resultobj; | |
1019 | char * _result; | |
1020 | wxHtmlContentsItem * _arg0; | |
1021 | char * _arg1; | |
1022 | PyObject * _argo0 = 0; | |
1023 | char *_kwnames[] = { "self","m_Page", NULL }; | |
1024 | ||
1025 | self = self; | |
1026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlContentsItem_m_Page_set",_kwnames,&_argo0,&_arg1)) | |
1027 | return NULL; | |
1028 | if (_argo0) { | |
1029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
1031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Page_set. Expected _wxHtmlContentsItem_p."); | |
1032 | return NULL; | |
1033 | } | |
1034 | } | |
1035 | { | |
1036 | wxPy_BEGIN_ALLOW_THREADS; | |
1037 | _result = (char *)wxHtmlContentsItem_m_Page_set(_arg0,_arg1); | |
1038 | ||
1039 | wxPy_END_ALLOW_THREADS; | |
1040 | } _resultobj = Py_BuildValue("s", _result); | |
1041 | return _resultobj; | |
1042 | } | |
1043 | ||
1044 | #define wxHtmlContentsItem_m_Page_get(_swigobj) ((char *) _swigobj->m_Page) | |
1045 | static PyObject *_wrap_wxHtmlContentsItem_m_Page_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1046 | PyObject * _resultobj; | |
1047 | char * _result; | |
1048 | wxHtmlContentsItem * _arg0; | |
1049 | PyObject * _argo0 = 0; | |
1050 | char *_kwnames[] = { "self", NULL }; | |
1051 | ||
1052 | self = self; | |
1053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Page_get",_kwnames,&_argo0)) | |
1054 | return NULL; | |
1055 | if (_argo0) { | |
1056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
1058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p."); | |
1059 | return NULL; | |
1060 | } | |
1061 | } | |
1062 | { | |
1063 | wxPy_BEGIN_ALLOW_THREADS; | |
1064 | _result = (char *)wxHtmlContentsItem_m_Page_get(_arg0); | |
1065 | ||
1066 | wxPy_END_ALLOW_THREADS; | |
1067 | } _resultobj = Py_BuildValue("s", _result); | |
1068 | return _resultobj; | |
1069 | } | |
1070 | ||
1071 | #define wxHtmlContentsItem_m_Book_set(_swigobj,_swigval) (_swigobj->m_Book = _swigval,_swigval) | |
1072 | static PyObject *_wrap_wxHtmlContentsItem_m_Book_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1073 | PyObject * _resultobj; | |
1074 | wxHtmlBookRecord * _result; | |
1075 | wxHtmlContentsItem * _arg0; | |
1076 | wxHtmlBookRecord * _arg1; | |
1077 | PyObject * _argo0 = 0; | |
1078 | PyObject * _argo1 = 0; | |
1079 | char *_kwnames[] = { "self","m_Book", NULL }; | |
1080 | char _ptemp[128]; | |
1081 | ||
1082 | self = self; | |
1083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContentsItem_m_Book_set",_kwnames,&_argo0,&_argo1)) | |
1084 | return NULL; | |
1085 | if (_argo0) { | |
1086 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1087 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
1088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlContentsItem_p."); | |
1089 | return NULL; | |
1090 | } | |
1091 | } | |
1092 | if (_argo1) { | |
1093 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1094 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlBookRecord_p")) { | |
1095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlBookRecord_p."); | |
1096 | return NULL; | |
1097 | } | |
1098 | } | |
1099 | { | |
1100 | wxPy_BEGIN_ALLOW_THREADS; | |
1101 | _result = (wxHtmlBookRecord *)wxHtmlContentsItem_m_Book_set(_arg0,_arg1); | |
1102 | ||
1103 | wxPy_END_ALLOW_THREADS; | |
1104 | } if (_result) { | |
1105 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p"); | |
1106 | _resultobj = Py_BuildValue("s",_ptemp); | |
1107 | } else { | |
1108 | Py_INCREF(Py_None); | |
1109 | _resultobj = Py_None; | |
1110 | } | |
1111 | return _resultobj; | |
1112 | } | |
1113 | ||
1114 | #define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book) | |
1115 | static PyObject *_wrap_wxHtmlContentsItem_m_Book_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1116 | PyObject * _resultobj; | |
1117 | wxHtmlBookRecord * _result; | |
1118 | wxHtmlContentsItem * _arg0; | |
1119 | PyObject * _argo0 = 0; | |
1120 | char *_kwnames[] = { "self", NULL }; | |
1121 | char _ptemp[128]; | |
1122 | ||
1123 | self = self; | |
1124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Book_get",_kwnames,&_argo0)) | |
1125 | return NULL; | |
1126 | if (_argo0) { | |
1127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) { | |
1129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p."); | |
1130 | return NULL; | |
1131 | } | |
1132 | } | |
1133 | { | |
1134 | wxPy_BEGIN_ALLOW_THREADS; | |
1135 | _result = (wxHtmlBookRecord *)wxHtmlContentsItem_m_Book_get(_arg0); | |
1136 | ||
1137 | wxPy_END_ALLOW_THREADS; | |
1138 | } if (_result) { | |
1139 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p"); | |
1140 | _resultobj = Py_BuildValue("s",_ptemp); | |
1141 | } else { | |
1142 | Py_INCREF(Py_None); | |
1143 | _resultobj = Py_None; | |
1144 | } | |
1145 | return _resultobj; | |
1146 | } | |
1147 | ||
1148 | #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search()) | |
1149 | static PyObject *_wrap_wxHtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1150 | PyObject * _resultobj; | |
1151 | bool _result; | |
1152 | wxHtmlSearchStatus * _arg0; | |
1153 | PyObject * _argo0 = 0; | |
1154 | char *_kwnames[] = { "self", NULL }; | |
1155 | ||
1156 | self = self; | |
1157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_Search",_kwnames,&_argo0)) | |
1158 | return NULL; | |
1159 | if (_argo0) { | |
1160 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1161 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) { | |
1162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p."); | |
1163 | return NULL; | |
1164 | } | |
1165 | } | |
1166 | { | |
1167 | wxPy_BEGIN_ALLOW_THREADS; | |
1168 | _result = (bool )wxHtmlSearchStatus_Search(_arg0); | |
1169 | ||
1170 | wxPy_END_ALLOW_THREADS; | |
1171 | } _resultobj = Py_BuildValue("i",_result); | |
1172 | return _resultobj; | |
1173 | } | |
1174 | ||
1175 | #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive()) | |
1176 | static PyObject *_wrap_wxHtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1177 | PyObject * _resultobj; | |
1178 | bool _result; | |
1179 | wxHtmlSearchStatus * _arg0; | |
1180 | PyObject * _argo0 = 0; | |
1181 | char *_kwnames[] = { "self", NULL }; | |
1182 | ||
1183 | self = self; | |
1184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_IsActive",_kwnames,&_argo0)) | |
1185 | return NULL; | |
1186 | if (_argo0) { | |
1187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) { | |
1189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p."); | |
1190 | return NULL; | |
1191 | } | |
1192 | } | |
1193 | { | |
1194 | wxPy_BEGIN_ALLOW_THREADS; | |
1195 | _result = (bool )wxHtmlSearchStatus_IsActive(_arg0); | |
1196 | ||
1197 | wxPy_END_ALLOW_THREADS; | |
1198 | } _resultobj = Py_BuildValue("i",_result); | |
1199 | return _resultobj; | |
1200 | } | |
1201 | ||
1202 | #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex()) | |
1203 | static PyObject *_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1204 | PyObject * _resultobj; | |
1205 | int _result; | |
1206 | wxHtmlSearchStatus * _arg0; | |
1207 | PyObject * _argo0 = 0; | |
1208 | char *_kwnames[] = { "self", NULL }; | |
1209 | ||
1210 | self = self; | |
1211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames,&_argo0)) | |
1212 | return NULL; | |
1213 | if (_argo0) { | |
1214 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1215 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) { | |
1216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p."); | |
1217 | return NULL; | |
1218 | } | |
1219 | } | |
1220 | { | |
1221 | wxPy_BEGIN_ALLOW_THREADS; | |
1222 | _result = (int )wxHtmlSearchStatus_GetCurIndex(_arg0); | |
1223 | ||
1224 | wxPy_END_ALLOW_THREADS; | |
1225 | } _resultobj = Py_BuildValue("i",_result); | |
1226 | return _resultobj; | |
1227 | } | |
1228 | ||
1229 | #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex()) | |
1230 | static PyObject *_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1231 | PyObject * _resultobj; | |
1232 | int _result; | |
1233 | wxHtmlSearchStatus * _arg0; | |
1234 | PyObject * _argo0 = 0; | |
1235 | char *_kwnames[] = { "self", NULL }; | |
1236 | ||
1237 | self = self; | |
1238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames,&_argo0)) | |
1239 | return NULL; | |
1240 | if (_argo0) { | |
1241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) { | |
1243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p."); | |
1244 | return NULL; | |
1245 | } | |
1246 | } | |
1247 | { | |
1248 | wxPy_BEGIN_ALLOW_THREADS; | |
1249 | _result = (int )wxHtmlSearchStatus_GetMaxIndex(_arg0); | |
1250 | ||
1251 | wxPy_END_ALLOW_THREADS; | |
1252 | } _resultobj = Py_BuildValue("i",_result); | |
1253 | return _resultobj; | |
1254 | } | |
1255 | ||
1256 | #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName()) | |
1257 | static PyObject *_wrap_wxHtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1258 | PyObject * _resultobj; | |
1259 | wxString * _result; | |
1260 | wxHtmlSearchStatus * _arg0; | |
1261 | PyObject * _argo0 = 0; | |
1262 | char *_kwnames[] = { "self", NULL }; | |
1263 | ||
1264 | self = self; | |
1265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetName",_kwnames,&_argo0)) | |
1266 | return NULL; | |
1267 | if (_argo0) { | |
1268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) { | |
1270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p."); | |
1271 | return NULL; | |
1272 | } | |
1273 | } | |
1274 | { | |
1275 | wxPy_BEGIN_ALLOW_THREADS; | |
1276 | const wxString & _result_ref = wxHtmlSearchStatus_GetName(_arg0); | |
1277 | _result = (wxString *) &_result_ref; | |
1278 | ||
1279 | wxPy_END_ALLOW_THREADS; | |
1280 | }{ | |
1281 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
1282 | } | |
1283 | return _resultobj; | |
1284 | } | |
1285 | ||
1286 | #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem()) | |
1287 | static PyObject *_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1288 | PyObject * _resultobj; | |
1289 | wxHtmlContentsItem * _result; | |
1290 | wxHtmlSearchStatus * _arg0; | |
1291 | PyObject * _argo0 = 0; | |
1292 | char *_kwnames[] = { "self", NULL }; | |
1293 | char _ptemp[128]; | |
1294 | ||
1295 | self = self; | |
1296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames,&_argo0)) | |
1297 | return NULL; | |
1298 | if (_argo0) { | |
1299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) { | |
1301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p."); | |
1302 | return NULL; | |
1303 | } | |
1304 | } | |
1305 | { | |
1306 | wxPy_BEGIN_ALLOW_THREADS; | |
1307 | _result = (wxHtmlContentsItem *)wxHtmlSearchStatus_GetContentsItem(_arg0); | |
1308 | ||
1309 | wxPy_END_ALLOW_THREADS; | |
1310 | } if (_result) { | |
1311 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p"); | |
1312 | _resultobj = Py_BuildValue("s",_ptemp); | |
1313 | } else { | |
1314 | Py_INCREF(Py_None); | |
1315 | _resultobj = Py_None; | |
1316 | } | |
1317 | return _resultobj; | |
1318 | } | |
1319 | ||
1320 | #define new_wxHtmlHelpData() (new wxHtmlHelpData()) | |
1321 | static PyObject *_wrap_new_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1322 | PyObject * _resultobj; | |
1323 | wxHtmlHelpData * _result; | |
1324 | char *_kwnames[] = { NULL }; | |
1325 | char _ptemp[128]; | |
1326 | ||
1327 | self = self; | |
1328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpData",_kwnames)) | |
1329 | return NULL; | |
1330 | { | |
1331 | wxPy_BEGIN_ALLOW_THREADS; | |
1332 | _result = (wxHtmlHelpData *)new_wxHtmlHelpData(); | |
1333 | ||
1334 | wxPy_END_ALLOW_THREADS; | |
1335 | } if (_result) { | |
1336 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p"); | |
1337 | _resultobj = Py_BuildValue("s",_ptemp); | |
1338 | } else { | |
1339 | Py_INCREF(Py_None); | |
1340 | _resultobj = Py_None; | |
1341 | } | |
1342 | return _resultobj; | |
1343 | } | |
1344 | ||
1345 | #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj) | |
1346 | static PyObject *_wrap_delete_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1347 | PyObject * _resultobj; | |
1348 | wxHtmlHelpData * _arg0; | |
1349 | PyObject * _argo0 = 0; | |
1350 | char *_kwnames[] = { "self", NULL }; | |
1351 | ||
1352 | self = self; | |
1353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpData",_kwnames,&_argo0)) | |
1354 | return NULL; | |
1355 | if (_argo0) { | |
1356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p."); | |
1359 | return NULL; | |
1360 | } | |
1361 | } | |
1362 | { | |
1363 | wxPy_BEGIN_ALLOW_THREADS; | |
1364 | delete_wxHtmlHelpData(_arg0); | |
1365 | ||
1366 | wxPy_END_ALLOW_THREADS; | |
1367 | } Py_INCREF(Py_None); | |
1368 | _resultobj = Py_None; | |
1369 | return _resultobj; | |
1370 | } | |
1371 | ||
1372 | #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0)) | |
1373 | static PyObject *_wrap_wxHtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1374 | PyObject * _resultobj; | |
1375 | wxHtmlHelpData * _arg0; | |
1376 | wxString * _arg1; | |
1377 | PyObject * _argo0 = 0; | |
1378 | PyObject * _obj1 = 0; | |
1379 | char *_kwnames[] = { "self","path", NULL }; | |
1380 | ||
1381 | self = self; | |
1382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_SetTempDir",_kwnames,&_argo0,&_obj1)) | |
1383 | return NULL; | |
1384 | if (_argo0) { | |
1385 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1386 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1387 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p."); | |
1388 | return NULL; | |
1389 | } | |
1390 | } | |
1391 | { | |
1392 | if (!PyString_Check(_obj1)) { | |
1393 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1394 | return NULL; | |
1395 | } | |
1396 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1397 | } | |
1398 | { | |
1399 | wxPy_BEGIN_ALLOW_THREADS; | |
1400 | wxHtmlHelpData_SetTempDir(_arg0,*_arg1); | |
1401 | ||
1402 | wxPy_END_ALLOW_THREADS; | |
1403 | } Py_INCREF(Py_None); | |
1404 | _resultobj = Py_None; | |
1405 | { | |
1406 | if (_obj1) | |
1407 | delete _arg1; | |
1408 | } | |
1409 | return _resultobj; | |
1410 | } | |
1411 | ||
1412 | #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0)) | |
1413 | static PyObject *_wrap_wxHtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1414 | PyObject * _resultobj; | |
1415 | bool _result; | |
1416 | wxHtmlHelpData * _arg0; | |
1417 | wxString * _arg1; | |
1418 | PyObject * _argo0 = 0; | |
1419 | PyObject * _obj1 = 0; | |
1420 | char *_kwnames[] = { "self","book", NULL }; | |
1421 | ||
1422 | self = self; | |
1423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_AddBook",_kwnames,&_argo0,&_obj1)) | |
1424 | return NULL; | |
1425 | if (_argo0) { | |
1426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p."); | |
1429 | return NULL; | |
1430 | } | |
1431 | } | |
1432 | { | |
1433 | if (!PyString_Check(_obj1)) { | |
1434 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1435 | return NULL; | |
1436 | } | |
1437 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1438 | } | |
1439 | { | |
1440 | wxPy_BEGIN_ALLOW_THREADS; | |
1441 | _result = (bool )wxHtmlHelpData_AddBook(_arg0,*_arg1); | |
1442 | ||
1443 | wxPy_END_ALLOW_THREADS; | |
1444 | } _resultobj = Py_BuildValue("i",_result); | |
1445 | { | |
1446 | if (_obj1) | |
1447 | delete _arg1; | |
1448 | } | |
1449 | return _resultobj; | |
1450 | } | |
1451 | ||
1452 | #define wxHtmlHelpData_AddBookParam(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AddBookParam(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1453 | static PyObject *_wrap_wxHtmlHelpData_AddBookParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1454 | PyObject * _resultobj; | |
1455 | bool _result; | |
1456 | wxHtmlHelpData * _arg0; | |
1457 | wxString * _arg1; | |
1458 | wxString * _arg2; | |
1459 | wxString * _arg3 = (wxString *) &wxEmptyString; | |
1460 | wxString * _arg4 = (wxString *) &wxEmptyString; | |
1461 | wxString * _arg5 = (wxString *) &wxEmptyString; | |
1462 | PyObject * _argo0 = 0; | |
1463 | PyObject * _obj1 = 0; | |
1464 | PyObject * _obj2 = 0; | |
1465 | PyObject * _obj3 = 0; | |
1466 | PyObject * _obj4 = 0; | |
1467 | PyObject * _obj5 = 0; | |
1468 | char *_kwnames[] = { "self","title","contfile","indexfile","deftopic","path", NULL }; | |
1469 | ||
1470 | self = self; | |
1471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|OOO:wxHtmlHelpData_AddBookParam",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3,&_obj4,&_obj5)) | |
1472 | return NULL; | |
1473 | if (_argo0) { | |
1474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_AddBookParam. Expected _wxHtmlHelpData_p."); | |
1477 | return NULL; | |
1478 | } | |
1479 | } | |
1480 | { | |
1481 | if (!PyString_Check(_obj1)) { | |
1482 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1483 | return NULL; | |
1484 | } | |
1485 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1486 | } | |
1487 | { | |
1488 | if (!PyString_Check(_obj2)) { | |
1489 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1490 | return NULL; | |
1491 | } | |
1492 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
1493 | } | |
1494 | if (_obj3) | |
1495 | { | |
1496 | if (!PyString_Check(_obj3)) { | |
1497 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1498 | return NULL; | |
1499 | } | |
1500 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); | |
1501 | } | |
1502 | if (_obj4) | |
1503 | { | |
1504 | if (!PyString_Check(_obj4)) { | |
1505 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1506 | return NULL; | |
1507 | } | |
1508 | _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4)); | |
1509 | } | |
1510 | if (_obj5) | |
1511 | { | |
1512 | if (!PyString_Check(_obj5)) { | |
1513 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1514 | return NULL; | |
1515 | } | |
1516 | _arg5 = new wxString(PyString_AsString(_obj5), PyString_Size(_obj5)); | |
1517 | } | |
1518 | { | |
1519 | wxPy_BEGIN_ALLOW_THREADS; | |
1520 | _result = (bool )wxHtmlHelpData_AddBookParam(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,*_arg5); | |
1521 | ||
1522 | wxPy_END_ALLOW_THREADS; | |
1523 | } _resultobj = Py_BuildValue("i",_result); | |
1524 | { | |
1525 | if (_obj1) | |
1526 | delete _arg1; | |
1527 | } | |
1528 | { | |
1529 | if (_obj2) | |
1530 | delete _arg2; | |
1531 | } | |
1532 | { | |
1533 | if (_obj3) | |
1534 | delete _arg3; | |
1535 | } | |
1536 | { | |
1537 | if (_obj4) | |
1538 | delete _arg4; | |
1539 | } | |
1540 | { | |
1541 | if (_obj5) | |
1542 | delete _arg5; | |
1543 | } | |
1544 | return _resultobj; | |
1545 | } | |
1546 | ||
1547 | #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0)) | |
1548 | static PyObject *_wrap_wxHtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1549 | PyObject * _resultobj; | |
1550 | wxString * _result; | |
1551 | wxHtmlHelpData * _arg0; | |
1552 | wxString * _arg1; | |
1553 | PyObject * _argo0 = 0; | |
1554 | PyObject * _obj1 = 0; | |
1555 | char *_kwnames[] = { "self","page", NULL }; | |
1556 | ||
1557 | self = self; | |
1558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_FindPageByName",_kwnames,&_argo0,&_obj1)) | |
1559 | return NULL; | |
1560 | if (_argo0) { | |
1561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p."); | |
1564 | return NULL; | |
1565 | } | |
1566 | } | |
1567 | { | |
1568 | if (!PyString_Check(_obj1)) { | |
1569 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1570 | return NULL; | |
1571 | } | |
1572 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1573 | } | |
1574 | { | |
1575 | wxPy_BEGIN_ALLOW_THREADS; | |
1576 | _result = new wxString (wxHtmlHelpData_FindPageByName(_arg0,*_arg1)); | |
1577 | ||
1578 | wxPy_END_ALLOW_THREADS; | |
1579 | }{ | |
1580 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
1581 | } | |
1582 | { | |
1583 | if (_obj1) | |
1584 | delete _arg1; | |
1585 | } | |
1586 | { | |
1587 | delete _result; | |
1588 | } | |
1589 | return _resultobj; | |
1590 | } | |
1591 | ||
1592 | #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0)) | |
1593 | static PyObject *_wrap_wxHtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1594 | PyObject * _resultobj; | |
1595 | wxString * _result; | |
1596 | wxHtmlHelpData * _arg0; | |
1597 | int _arg1; | |
1598 | PyObject * _argo0 = 0; | |
1599 | char *_kwnames[] = { "self","id", NULL }; | |
1600 | ||
1601 | self = self; | |
1602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpData_FindPageById",_kwnames,&_argo0,&_arg1)) | |
1603 | return NULL; | |
1604 | if (_argo0) { | |
1605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p."); | |
1608 | return NULL; | |
1609 | } | |
1610 | } | |
1611 | { | |
1612 | wxPy_BEGIN_ALLOW_THREADS; | |
1613 | _result = new wxString (wxHtmlHelpData_FindPageById(_arg0,_arg1)); | |
1614 | ||
1615 | wxPy_END_ALLOW_THREADS; | |
1616 | }{ | |
1617 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
1618 | } | |
1619 | { | |
1620 | delete _result; | |
1621 | } | |
1622 | return _resultobj; | |
1623 | } | |
1624 | ||
1625 | #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray()) | |
1626 | static PyObject *_wrap_wxHtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1627 | PyObject * _resultobj; | |
1628 | wxHtmlBookRecArray * _result; | |
1629 | wxHtmlHelpData * _arg0; | |
1630 | PyObject * _argo0 = 0; | |
1631 | char *_kwnames[] = { "self", NULL }; | |
1632 | char _ptemp[128]; | |
1633 | ||
1634 | self = self; | |
1635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetBookRecArray",_kwnames,&_argo0)) | |
1636 | return NULL; | |
1637 | if (_argo0) { | |
1638 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1639 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1640 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p."); | |
1641 | return NULL; | |
1642 | } | |
1643 | } | |
1644 | { | |
1645 | wxPy_BEGIN_ALLOW_THREADS; | |
1646 | const wxHtmlBookRecArray & _result_ref = wxHtmlHelpData_GetBookRecArray(_arg0); | |
1647 | _result = (wxHtmlBookRecArray *) &_result_ref; | |
1648 | ||
1649 | wxPy_END_ALLOW_THREADS; | |
1650 | } if (_result) { | |
1651 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecArray_p"); | |
1652 | _resultobj = Py_BuildValue("s",_ptemp); | |
1653 | } else { | |
1654 | Py_INCREF(Py_None); | |
1655 | _resultobj = Py_None; | |
1656 | } | |
1657 | return _resultobj; | |
1658 | } | |
1659 | ||
1660 | #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents()) | |
1661 | static PyObject *_wrap_wxHtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1662 | PyObject * _resultobj; | |
1663 | wxHtmlContentsItem * _result; | |
1664 | wxHtmlHelpData * _arg0; | |
1665 | PyObject * _argo0 = 0; | |
1666 | char *_kwnames[] = { "self", NULL }; | |
1667 | char _ptemp[128]; | |
1668 | ||
1669 | self = self; | |
1670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContents",_kwnames,&_argo0)) | |
1671 | return NULL; | |
1672 | if (_argo0) { | |
1673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p."); | |
1676 | return NULL; | |
1677 | } | |
1678 | } | |
1679 | { | |
1680 | wxPy_BEGIN_ALLOW_THREADS; | |
1681 | _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetContents(_arg0); | |
1682 | ||
1683 | wxPy_END_ALLOW_THREADS; | |
1684 | } if (_result) { | |
1685 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p"); | |
1686 | _resultobj = Py_BuildValue("s",_ptemp); | |
1687 | } else { | |
1688 | Py_INCREF(Py_None); | |
1689 | _resultobj = Py_None; | |
1690 | } | |
1691 | return _resultobj; | |
1692 | } | |
1693 | ||
1694 | #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt()) | |
1695 | static PyObject *_wrap_wxHtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1696 | PyObject * _resultobj; | |
1697 | int _result; | |
1698 | wxHtmlHelpData * _arg0; | |
1699 | PyObject * _argo0 = 0; | |
1700 | char *_kwnames[] = { "self", NULL }; | |
1701 | ||
1702 | self = self; | |
1703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContentsCnt",_kwnames,&_argo0)) | |
1704 | return NULL; | |
1705 | if (_argo0) { | |
1706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p."); | |
1709 | return NULL; | |
1710 | } | |
1711 | } | |
1712 | { | |
1713 | wxPy_BEGIN_ALLOW_THREADS; | |
1714 | _result = (int )wxHtmlHelpData_GetContentsCnt(_arg0); | |
1715 | ||
1716 | wxPy_END_ALLOW_THREADS; | |
1717 | } _resultobj = Py_BuildValue("i",_result); | |
1718 | return _resultobj; | |
1719 | } | |
1720 | ||
1721 | #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex()) | |
1722 | static PyObject *_wrap_wxHtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1723 | PyObject * _resultobj; | |
1724 | wxHtmlContentsItem * _result; | |
1725 | wxHtmlHelpData * _arg0; | |
1726 | PyObject * _argo0 = 0; | |
1727 | char *_kwnames[] = { "self", NULL }; | |
1728 | char _ptemp[128]; | |
1729 | ||
1730 | self = self; | |
1731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndex",_kwnames,&_argo0)) | |
1732 | return NULL; | |
1733 | if (_argo0) { | |
1734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p."); | |
1737 | return NULL; | |
1738 | } | |
1739 | } | |
1740 | { | |
1741 | wxPy_BEGIN_ALLOW_THREADS; | |
1742 | _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetIndex(_arg0); | |
1743 | ||
1744 | wxPy_END_ALLOW_THREADS; | |
1745 | } if (_result) { | |
1746 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p"); | |
1747 | _resultobj = Py_BuildValue("s",_ptemp); | |
1748 | } else { | |
1749 | Py_INCREF(Py_None); | |
1750 | _resultobj = Py_None; | |
1751 | } | |
1752 | return _resultobj; | |
1753 | } | |
1754 | ||
1755 | #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt()) | |
1756 | static PyObject *_wrap_wxHtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1757 | PyObject * _resultobj; | |
1758 | int _result; | |
1759 | wxHtmlHelpData * _arg0; | |
1760 | PyObject * _argo0 = 0; | |
1761 | char *_kwnames[] = { "self", NULL }; | |
1762 | ||
1763 | self = self; | |
1764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndexCnt",_kwnames,&_argo0)) | |
1765 | return NULL; | |
1766 | if (_argo0) { | |
1767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) { | |
1769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p."); | |
1770 | return NULL; | |
1771 | } | |
1772 | } | |
1773 | { | |
1774 | wxPy_BEGIN_ALLOW_THREADS; | |
1775 | _result = (int )wxHtmlHelpData_GetIndexCnt(_arg0); | |
1776 | ||
1777 | wxPy_END_ALLOW_THREADS; | |
1778 | } _resultobj = Py_BuildValue("i",_result); | |
1779 | return _resultobj; | |
1780 | } | |
1781 | ||
1782 | static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr) { | |
1783 | wxHtmlHelpFrame *src; | |
1784 | wxFrame *dest; | |
1785 | src = (wxHtmlHelpFrame *) ptr; | |
1786 | dest = (wxFrame *) src; | |
1787 | return (void *) dest; | |
1788 | } | |
1789 | ||
1790 | static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr) { | |
1791 | wxHtmlHelpFrame *src; | |
1792 | wxWindow *dest; | |
1793 | src = (wxHtmlHelpFrame *) ptr; | |
1794 | dest = (wxWindow *) src; | |
1795 | return (void *) dest; | |
1796 | } | |
1797 | ||
1798 | static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr) { | |
1799 | wxHtmlHelpFrame *src; | |
1800 | wxEvtHandler *dest; | |
1801 | src = (wxHtmlHelpFrame *) ptr; | |
1802 | dest = (wxEvtHandler *) src; | |
1803 | return (void *) dest; | |
1804 | } | |
1805 | ||
1806 | #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1807 | static PyObject *_wrap_new_wxHtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1808 | PyObject * _resultobj; | |
1809 | wxHtmlHelpFrame * _result; | |
1810 | wxWindow * _arg0; | |
1811 | int _arg1; | |
1812 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
1813 | int _arg3 = (int ) wxHF_DEFAULTSTYLE; | |
1814 | wxHtmlHelpData * _arg4 = (wxHtmlHelpData *) NULL; | |
1815 | PyObject * _argo0 = 0; | |
1816 | PyObject * _obj2 = 0; | |
1817 | PyObject * _argo4 = 0; | |
1818 | char *_kwnames[] = { "parent","wxWindowID","title","style","data", NULL }; | |
1819 | char _ptemp[128]; | |
1820 | ||
1821 | self = self; | |
1822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_argo4)) | |
1823 | return NULL; | |
1824 | if (_argo0) { | |
1825 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1826 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
1827 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p."); | |
1828 | return NULL; | |
1829 | } | |
1830 | } | |
1831 | if (_obj2) | |
1832 | { | |
1833 | if (!PyString_Check(_obj2)) { | |
1834 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1835 | return NULL; | |
1836 | } | |
1837 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
1838 | } | |
1839 | if (_argo4) { | |
1840 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
1841 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxHtmlHelpData_p")) { | |
1842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p."); | |
1843 | return NULL; | |
1844 | } | |
1845 | } | |
1846 | { | |
1847 | wxPy_BEGIN_ALLOW_THREADS; | |
1848 | _result = (wxHtmlHelpFrame *)new_wxHtmlHelpFrame(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
1849 | ||
1850 | wxPy_END_ALLOW_THREADS; | |
1851 | } if (_result) { | |
1852 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p"); | |
1853 | _resultobj = Py_BuildValue("s",_ptemp); | |
1854 | } else { | |
1855 | Py_INCREF(Py_None); | |
1856 | _resultobj = Py_None; | |
1857 | } | |
1858 | { | |
1859 | if (_obj2) | |
1860 | delete _arg2; | |
1861 | } | |
1862 | return _resultobj; | |
1863 | } | |
1864 | ||
1865 | #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData()) | |
1866 | static PyObject *_wrap_wxHtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1867 | PyObject * _resultobj; | |
1868 | wxHtmlHelpData * _result; | |
1869 | wxHtmlHelpFrame * _arg0; | |
1870 | PyObject * _argo0 = 0; | |
1871 | char *_kwnames[] = { "self", NULL }; | |
1872 | char _ptemp[128]; | |
1873 | ||
1874 | self = self; | |
1875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_GetData",_kwnames,&_argo0)) | |
1876 | return NULL; | |
1877 | if (_argo0) { | |
1878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
1880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p."); | |
1881 | return NULL; | |
1882 | } | |
1883 | } | |
1884 | { | |
1885 | wxPy_BEGIN_ALLOW_THREADS; | |
1886 | _result = (wxHtmlHelpData *)wxHtmlHelpFrame_GetData(_arg0); | |
1887 | ||
1888 | wxPy_END_ALLOW_THREADS; | |
1889 | } if (_result) { | |
1890 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p"); | |
1891 | _resultobj = Py_BuildValue("s",_ptemp); | |
1892 | } else { | |
1893 | Py_INCREF(Py_None); | |
1894 | _resultobj = Py_None; | |
1895 | } | |
1896 | return _resultobj; | |
1897 | } | |
1898 | ||
1899 | #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0)) | |
1900 | static PyObject *_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1901 | PyObject * _resultobj; | |
1902 | wxHtmlHelpFrame * _arg0; | |
1903 | wxString * _arg1; | |
1904 | PyObject * _argo0 = 0; | |
1905 | PyObject * _obj1 = 0; | |
1906 | char *_kwnames[] = { "self","format", NULL }; | |
1907 | ||
1908 | self = self; | |
1909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames,&_argo0,&_obj1)) | |
1910 | return NULL; | |
1911 | if (_argo0) { | |
1912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
1914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p."); | |
1915 | return NULL; | |
1916 | } | |
1917 | } | |
1918 | { | |
1919 | if (!PyString_Check(_obj1)) { | |
1920 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1921 | return NULL; | |
1922 | } | |
1923 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1924 | } | |
1925 | { | |
1926 | wxPy_BEGIN_ALLOW_THREADS; | |
1927 | wxHtmlHelpFrame_SetTitleFormat(_arg0,*_arg1); | |
1928 | ||
1929 | wxPy_END_ALLOW_THREADS; | |
1930 | } Py_INCREF(Py_None); | |
1931 | _resultobj = Py_None; | |
1932 | { | |
1933 | if (_obj1) | |
1934 | delete _arg1; | |
1935 | } | |
1936 | return _resultobj; | |
1937 | } | |
1938 | ||
1939 | #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0)) | |
1940 | static PyObject *_wrap_wxHtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1941 | PyObject * _resultobj; | |
1942 | wxHtmlHelpFrame * _arg0; | |
1943 | wxString * _arg1; | |
1944 | PyObject * _argo0 = 0; | |
1945 | PyObject * _obj1 = 0; | |
1946 | char *_kwnames[] = { "self","x", NULL }; | |
1947 | ||
1948 | self = self; | |
1949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_Display",_kwnames,&_argo0,&_obj1)) | |
1950 | return NULL; | |
1951 | if (_argo0) { | |
1952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
1954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p."); | |
1955 | return NULL; | |
1956 | } | |
1957 | } | |
1958 | { | |
1959 | if (!PyString_Check(_obj1)) { | |
1960 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1961 | return NULL; | |
1962 | } | |
1963 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1964 | } | |
1965 | { | |
1966 | wxPy_BEGIN_ALLOW_THREADS; | |
1967 | wxHtmlHelpFrame_Display(_arg0,*_arg1); | |
1968 | ||
1969 | wxPy_END_ALLOW_THREADS; | |
1970 | } Py_INCREF(Py_None); | |
1971 | _resultobj = Py_None; | |
1972 | { | |
1973 | if (_obj1) | |
1974 | delete _arg1; | |
1975 | } | |
1976 | return _resultobj; | |
1977 | } | |
1978 | ||
1979 | #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0)) | |
1980 | static PyObject *_wrap_wxHtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1981 | PyObject * _resultobj; | |
1982 | wxHtmlHelpFrame * _arg0; | |
1983 | int _arg1; | |
1984 | PyObject * _argo0 = 0; | |
1985 | char *_kwnames[] = { "self","id", NULL }; | |
1986 | ||
1987 | self = self; | |
1988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames,&_argo0,&_arg1)) | |
1989 | return NULL; | |
1990 | if (_argo0) { | |
1991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
1993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p."); | |
1994 | return NULL; | |
1995 | } | |
1996 | } | |
1997 | { | |
1998 | wxPy_BEGIN_ALLOW_THREADS; | |
1999 | wxHtmlHelpFrame_DisplayID(_arg0,_arg1); | |
2000 | ||
2001 | wxPy_END_ALLOW_THREADS; | |
2002 | } Py_INCREF(Py_None); | |
2003 | _resultobj = Py_None; | |
2004 | return _resultobj; | |
2005 | } | |
2006 | ||
2007 | #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents()) | |
2008 | static PyObject *_wrap_wxHtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2009 | PyObject * _resultobj; | |
2010 | wxHtmlHelpFrame * _arg0; | |
2011 | PyObject * _argo0 = 0; | |
2012 | char *_kwnames[] = { "self", NULL }; | |
2013 | ||
2014 | self = self; | |
2015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayContents",_kwnames,&_argo0)) | |
2016 | return NULL; | |
2017 | if (_argo0) { | |
2018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p."); | |
2021 | return NULL; | |
2022 | } | |
2023 | } | |
2024 | { | |
2025 | wxPy_BEGIN_ALLOW_THREADS; | |
2026 | wxHtmlHelpFrame_DisplayContents(_arg0); | |
2027 | ||
2028 | wxPy_END_ALLOW_THREADS; | |
2029 | } Py_INCREF(Py_None); | |
2030 | _resultobj = Py_None; | |
2031 | return _resultobj; | |
2032 | } | |
2033 | ||
2034 | #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex()) | |
2035 | static PyObject *_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2036 | PyObject * _resultobj; | |
2037 | wxHtmlHelpFrame * _arg0; | |
2038 | PyObject * _argo0 = 0; | |
2039 | char *_kwnames[] = { "self", NULL }; | |
2040 | ||
2041 | self = self; | |
2042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames,&_argo0)) | |
2043 | return NULL; | |
2044 | if (_argo0) { | |
2045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p."); | |
2048 | return NULL; | |
2049 | } | |
2050 | } | |
2051 | { | |
2052 | wxPy_BEGIN_ALLOW_THREADS; | |
2053 | wxHtmlHelpFrame_DisplayIndex(_arg0); | |
2054 | ||
2055 | wxPy_END_ALLOW_THREADS; | |
2056 | } Py_INCREF(Py_None); | |
2057 | _resultobj = Py_None; | |
2058 | return _resultobj; | |
2059 | } | |
2060 | ||
2061 | #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0)) | |
2062 | static PyObject *_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2063 | PyObject * _resultobj; | |
2064 | bool _result; | |
2065 | wxHtmlHelpFrame * _arg0; | |
2066 | wxString * _arg1; | |
2067 | PyObject * _argo0 = 0; | |
2068 | PyObject * _obj1 = 0; | |
2069 | char *_kwnames[] = { "self","keyword", NULL }; | |
2070 | ||
2071 | self = self; | |
2072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames,&_argo0,&_obj1)) | |
2073 | return NULL; | |
2074 | if (_argo0) { | |
2075 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2076 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p."); | |
2078 | return NULL; | |
2079 | } | |
2080 | } | |
2081 | { | |
2082 | if (!PyString_Check(_obj1)) { | |
2083 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2084 | return NULL; | |
2085 | } | |
2086 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2087 | } | |
2088 | { | |
2089 | wxPy_BEGIN_ALLOW_THREADS; | |
2090 | _result = (bool )wxHtmlHelpFrame_KeywordSearch(_arg0,*_arg1); | |
2091 | ||
2092 | wxPy_END_ALLOW_THREADS; | |
2093 | } _resultobj = Py_BuildValue("i",_result); | |
2094 | { | |
2095 | if (_obj1) | |
2096 | delete _arg1; | |
2097 | } | |
2098 | return _resultobj; | |
2099 | } | |
2100 | ||
2101 | #define wxHtmlHelpFrame_RefreshLists(_swigobj,_swigarg0) (_swigobj->RefreshLists(_swigarg0)) | |
2102 | static PyObject *_wrap_wxHtmlHelpFrame_RefreshLists(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2103 | PyObject * _resultobj; | |
2104 | wxHtmlHelpFrame * _arg0; | |
2105 | int _arg1 = (int ) FALSE; | |
2106 | PyObject * _argo0 = 0; | |
2107 | char *_kwnames[] = { "self","show_progress", NULL }; | |
2108 | ||
2109 | self = self; | |
2110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxHtmlHelpFrame_RefreshLists",_kwnames,&_argo0,&_arg1)) | |
2111 | return NULL; | |
2112 | if (_argo0) { | |
2113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_RefreshLists. Expected _wxHtmlHelpFrame_p."); | |
2116 | return NULL; | |
2117 | } | |
2118 | } | |
2119 | { | |
2120 | wxPy_BEGIN_ALLOW_THREADS; | |
2121 | wxHtmlHelpFrame_RefreshLists(_arg0,_arg1); | |
2122 | ||
2123 | wxPy_END_ALLOW_THREADS; | |
2124 | } Py_INCREF(Py_None); | |
2125 | _resultobj = Py_None; | |
2126 | return _resultobj; | |
2127 | } | |
2128 | ||
2129 | #define wxHtmlHelpFrame_CreateContents(_swigobj,_swigarg0) (_swigobj->CreateContents(_swigarg0)) | |
2130 | static PyObject *_wrap_wxHtmlHelpFrame_CreateContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2131 | PyObject * _resultobj; | |
2132 | wxHtmlHelpFrame * _arg0; | |
2133 | int _arg1 = (int ) FALSE; | |
2134 | PyObject * _argo0 = 0; | |
2135 | char *_kwnames[] = { "self","show_progress", NULL }; | |
2136 | ||
2137 | self = self; | |
2138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxHtmlHelpFrame_CreateContents",_kwnames,&_argo0,&_arg1)) | |
2139 | return NULL; | |
2140 | if (_argo0) { | |
2141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_CreateContents. Expected _wxHtmlHelpFrame_p."); | |
2144 | return NULL; | |
2145 | } | |
2146 | } | |
2147 | { | |
2148 | wxPy_BEGIN_ALLOW_THREADS; | |
2149 | wxHtmlHelpFrame_CreateContents(_arg0,_arg1); | |
2150 | ||
2151 | wxPy_END_ALLOW_THREADS; | |
2152 | } Py_INCREF(Py_None); | |
2153 | _resultobj = Py_None; | |
2154 | return _resultobj; | |
2155 | } | |
2156 | ||
2157 | #define wxHtmlHelpFrame_CreateIndex(_swigobj,_swigarg0) (_swigobj->CreateIndex(_swigarg0)) | |
2158 | static PyObject *_wrap_wxHtmlHelpFrame_CreateIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2159 | PyObject * _resultobj; | |
2160 | wxHtmlHelpFrame * _arg0; | |
2161 | int _arg1 = (int ) FALSE; | |
2162 | PyObject * _argo0 = 0; | |
2163 | char *_kwnames[] = { "self","show_progress", NULL }; | |
2164 | ||
2165 | self = self; | |
2166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxHtmlHelpFrame_CreateIndex",_kwnames,&_argo0,&_arg1)) | |
2167 | return NULL; | |
2168 | if (_argo0) { | |
2169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_CreateIndex. Expected _wxHtmlHelpFrame_p."); | |
2172 | return NULL; | |
2173 | } | |
2174 | } | |
2175 | { | |
2176 | wxPy_BEGIN_ALLOW_THREADS; | |
2177 | wxHtmlHelpFrame_CreateIndex(_arg0,_arg1); | |
2178 | ||
2179 | wxPy_END_ALLOW_THREADS; | |
2180 | } Py_INCREF(Py_None); | |
2181 | _resultobj = Py_None; | |
2182 | return _resultobj; | |
2183 | } | |
2184 | ||
2185 | #define wxHtmlHelpFrame_CreateSearch(_swigobj) (_swigobj->CreateSearch()) | |
2186 | static PyObject *_wrap_wxHtmlHelpFrame_CreateSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2187 | PyObject * _resultobj; | |
2188 | wxHtmlHelpFrame * _arg0; | |
2189 | PyObject * _argo0 = 0; | |
2190 | char *_kwnames[] = { "self", NULL }; | |
2191 | ||
2192 | self = self; | |
2193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_CreateSearch",_kwnames,&_argo0)) | |
2194 | return NULL; | |
2195 | if (_argo0) { | |
2196 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2197 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_CreateSearch. Expected _wxHtmlHelpFrame_p."); | |
2199 | return NULL; | |
2200 | } | |
2201 | } | |
2202 | { | |
2203 | wxPy_BEGIN_ALLOW_THREADS; | |
2204 | wxHtmlHelpFrame_CreateSearch(_arg0); | |
2205 | ||
2206 | wxPy_END_ALLOW_THREADS; | |
2207 | } Py_INCREF(Py_None); | |
2208 | _resultobj = Py_None; | |
2209 | return _resultobj; | |
2210 | } | |
2211 | ||
2212 | #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1)) | |
2213 | static PyObject *_wrap_wxHtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2214 | PyObject * _resultobj; | |
2215 | wxHtmlHelpFrame * _arg0; | |
2216 | wxConfigBase * _arg1; | |
2217 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
2218 | PyObject * _argo0 = 0; | |
2219 | PyObject * _argo1 = 0; | |
2220 | PyObject * _obj2 = 0; | |
2221 | char *_kwnames[] = { "self","config","rootpath", NULL }; | |
2222 | ||
2223 | self = self; | |
2224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2)) | |
2225 | return NULL; | |
2226 | if (_argo0) { | |
2227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p."); | |
2230 | return NULL; | |
2231 | } | |
2232 | } | |
2233 | if (_argo1) { | |
2234 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2235 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
2236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p."); | |
2237 | return NULL; | |
2238 | } | |
2239 | } | |
2240 | if (_obj2) | |
2241 | { | |
2242 | if (!PyString_Check(_obj2)) { | |
2243 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2244 | return NULL; | |
2245 | } | |
2246 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2247 | } | |
2248 | { | |
2249 | wxPy_BEGIN_ALLOW_THREADS; | |
2250 | wxHtmlHelpFrame_UseConfig(_arg0,_arg1,*_arg2); | |
2251 | ||
2252 | wxPy_END_ALLOW_THREADS; | |
2253 | } Py_INCREF(Py_None); | |
2254 | _resultobj = Py_None; | |
2255 | { | |
2256 | if (_obj2) | |
2257 | delete _arg2; | |
2258 | } | |
2259 | return _resultobj; | |
2260 | } | |
2261 | ||
2262 | #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1)) | |
2263 | static PyObject *_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2264 | PyObject * _resultobj; | |
2265 | wxHtmlHelpFrame * _arg0; | |
2266 | wxConfigBase * _arg1; | |
2267 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
2268 | PyObject * _argo0 = 0; | |
2269 | PyObject * _argo1 = 0; | |
2270 | PyObject * _obj2 = 0; | |
2271 | char *_kwnames[] = { "self","cfg","path", NULL }; | |
2272 | ||
2273 | self = self; | |
2274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2)) | |
2275 | return NULL; | |
2276 | if (_argo0) { | |
2277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p."); | |
2280 | return NULL; | |
2281 | } | |
2282 | } | |
2283 | if (_argo1) { | |
2284 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2285 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
2286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p."); | |
2287 | return NULL; | |
2288 | } | |
2289 | } | |
2290 | if (_obj2) | |
2291 | { | |
2292 | if (!PyString_Check(_obj2)) { | |
2293 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2294 | return NULL; | |
2295 | } | |
2296 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2297 | } | |
2298 | { | |
2299 | wxPy_BEGIN_ALLOW_THREADS; | |
2300 | wxHtmlHelpFrame_ReadCustomization(_arg0,_arg1,*_arg2); | |
2301 | ||
2302 | wxPy_END_ALLOW_THREADS; | |
2303 | } Py_INCREF(Py_None); | |
2304 | _resultobj = Py_None; | |
2305 | { | |
2306 | if (_obj2) | |
2307 | delete _arg2; | |
2308 | } | |
2309 | return _resultobj; | |
2310 | } | |
2311 | ||
2312 | #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1)) | |
2313 | static PyObject *_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2314 | PyObject * _resultobj; | |
2315 | wxHtmlHelpFrame * _arg0; | |
2316 | wxConfigBase * _arg1; | |
2317 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
2318 | PyObject * _argo0 = 0; | |
2319 | PyObject * _argo1 = 0; | |
2320 | PyObject * _obj2 = 0; | |
2321 | char *_kwnames[] = { "self","cfg","path", NULL }; | |
2322 | ||
2323 | self = self; | |
2324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2)) | |
2325 | return NULL; | |
2326 | if (_argo0) { | |
2327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) { | |
2329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p."); | |
2330 | return NULL; | |
2331 | } | |
2332 | } | |
2333 | if (_argo1) { | |
2334 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2335 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
2336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p."); | |
2337 | return NULL; | |
2338 | } | |
2339 | } | |
2340 | if (_obj2) | |
2341 | { | |
2342 | if (!PyString_Check(_obj2)) { | |
2343 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2344 | return NULL; | |
2345 | } | |
2346 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2347 | } | |
2348 | { | |
2349 | wxPy_BEGIN_ALLOW_THREADS; | |
2350 | wxHtmlHelpFrame_WriteCustomization(_arg0,_arg1,*_arg2); | |
2351 | ||
2352 | wxPy_END_ALLOW_THREADS; | |
2353 | } Py_INCREF(Py_None); | |
2354 | _resultobj = Py_None; | |
2355 | { | |
2356 | if (_obj2) | |
2357 | delete _arg2; | |
2358 | } | |
2359 | return _resultobj; | |
2360 | } | |
2361 | ||
2362 | static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr) { | |
2363 | wxHtmlHelpController *src; | |
2364 | wxEvtHandler *dest; | |
2365 | src = (wxHtmlHelpController *) ptr; | |
2366 | dest = (wxEvtHandler *) src; | |
2367 | return (void *) dest; | |
2368 | } | |
2369 | ||
2370 | #define new_wxHtmlHelpController() (new wxHtmlHelpController()) | |
2371 | static PyObject *_wrap_new_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2372 | PyObject * _resultobj; | |
2373 | wxHtmlHelpController * _result; | |
2374 | char *_kwnames[] = { NULL }; | |
2375 | char _ptemp[128]; | |
2376 | ||
2377 | self = self; | |
2378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpController",_kwnames)) | |
2379 | return NULL; | |
2380 | { | |
2381 | wxPy_BEGIN_ALLOW_THREADS; | |
2382 | _result = (wxHtmlHelpController *)new_wxHtmlHelpController(); | |
2383 | ||
2384 | wxPy_END_ALLOW_THREADS; | |
2385 | } if (_result) { | |
2386 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpController_p"); | |
2387 | _resultobj = Py_BuildValue("s",_ptemp); | |
2388 | } else { | |
2389 | Py_INCREF(Py_None); | |
2390 | _resultobj = Py_None; | |
2391 | } | |
2392 | return _resultobj; | |
2393 | } | |
2394 | ||
2395 | #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj) | |
2396 | static PyObject *_wrap_delete_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2397 | PyObject * _resultobj; | |
2398 | wxHtmlHelpController * _arg0; | |
2399 | PyObject * _argo0 = 0; | |
2400 | char *_kwnames[] = { "self", NULL }; | |
2401 | ||
2402 | self = self; | |
2403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpController",_kwnames,&_argo0)) | |
2404 | return NULL; | |
2405 | if (_argo0) { | |
2406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p."); | |
2409 | return NULL; | |
2410 | } | |
2411 | } | |
2412 | { | |
2413 | wxPy_BEGIN_ALLOW_THREADS; | |
2414 | delete_wxHtmlHelpController(_arg0); | |
2415 | ||
2416 | wxPy_END_ALLOW_THREADS; | |
2417 | } Py_INCREF(Py_None); | |
2418 | _resultobj = Py_None; | |
2419 | return _resultobj; | |
2420 | } | |
2421 | ||
2422 | #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0)) | |
2423 | static PyObject *_wrap_wxHtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2424 | PyObject * _resultobj; | |
2425 | wxHtmlHelpController * _arg0; | |
2426 | wxString * _arg1; | |
2427 | PyObject * _argo0 = 0; | |
2428 | PyObject * _obj1 = 0; | |
2429 | char *_kwnames[] = { "self","format", NULL }; | |
2430 | ||
2431 | self = self; | |
2432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames,&_argo0,&_obj1)) | |
2433 | return NULL; | |
2434 | if (_argo0) { | |
2435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p."); | |
2438 | return NULL; | |
2439 | } | |
2440 | } | |
2441 | { | |
2442 | if (!PyString_Check(_obj1)) { | |
2443 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2444 | return NULL; | |
2445 | } | |
2446 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2447 | } | |
2448 | { | |
2449 | wxPy_BEGIN_ALLOW_THREADS; | |
2450 | wxHtmlHelpController_SetTitleFormat(_arg0,*_arg1); | |
2451 | ||
2452 | wxPy_END_ALLOW_THREADS; | |
2453 | } Py_INCREF(Py_None); | |
2454 | _resultobj = Py_None; | |
2455 | { | |
2456 | if (_obj1) | |
2457 | delete _arg1; | |
2458 | } | |
2459 | return _resultobj; | |
2460 | } | |
2461 | ||
2462 | #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0)) | |
2463 | static PyObject *_wrap_wxHtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2464 | PyObject * _resultobj; | |
2465 | wxHtmlHelpController * _arg0; | |
2466 | wxString * _arg1; | |
2467 | PyObject * _argo0 = 0; | |
2468 | PyObject * _obj1 = 0; | |
2469 | char *_kwnames[] = { "self","path", NULL }; | |
2470 | ||
2471 | self = self; | |
2472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTempDir",_kwnames,&_argo0,&_obj1)) | |
2473 | return NULL; | |
2474 | if (_argo0) { | |
2475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p."); | |
2478 | return NULL; | |
2479 | } | |
2480 | } | |
2481 | { | |
2482 | if (!PyString_Check(_obj1)) { | |
2483 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2484 | return NULL; | |
2485 | } | |
2486 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2487 | } | |
2488 | { | |
2489 | wxPy_BEGIN_ALLOW_THREADS; | |
2490 | wxHtmlHelpController_SetTempDir(_arg0,*_arg1); | |
2491 | ||
2492 | wxPy_END_ALLOW_THREADS; | |
2493 | } Py_INCREF(Py_None); | |
2494 | _resultobj = Py_None; | |
2495 | { | |
2496 | if (_obj1) | |
2497 | delete _arg1; | |
2498 | } | |
2499 | return _resultobj; | |
2500 | } | |
2501 | ||
2502 | #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1)) | |
2503 | static PyObject *_wrap_wxHtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2504 | PyObject * _resultobj; | |
2505 | bool _result; | |
2506 | wxHtmlHelpController * _arg0; | |
2507 | wxString * _arg1; | |
2508 | int _arg2 = (int ) FALSE; | |
2509 | PyObject * _argo0 = 0; | |
2510 | PyObject * _obj1 = 0; | |
2511 | char *_kwnames[] = { "self","book","show_wait_msg", NULL }; | |
2512 | ||
2513 | self = self; | |
2514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlHelpController_AddBook",_kwnames,&_argo0,&_obj1,&_arg2)) | |
2515 | return NULL; | |
2516 | if (_argo0) { | |
2517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p."); | |
2520 | return NULL; | |
2521 | } | |
2522 | } | |
2523 | { | |
2524 | if (!PyString_Check(_obj1)) { | |
2525 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2526 | return NULL; | |
2527 | } | |
2528 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2529 | } | |
2530 | { | |
2531 | wxPy_BEGIN_ALLOW_THREADS; | |
2532 | _result = (bool )wxHtmlHelpController_AddBook(_arg0,*_arg1,_arg2); | |
2533 | ||
2534 | wxPy_END_ALLOW_THREADS; | |
2535 | } _resultobj = Py_BuildValue("i",_result); | |
2536 | { | |
2537 | if (_obj1) | |
2538 | delete _arg1; | |
2539 | } | |
2540 | return _resultobj; | |
2541 | } | |
2542 | ||
2543 | #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0)) | |
2544 | static PyObject *_wrap_wxHtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2545 | PyObject * _resultobj; | |
2546 | wxHtmlHelpController * _arg0; | |
2547 | wxString * _arg1; | |
2548 | PyObject * _argo0 = 0; | |
2549 | PyObject * _obj1 = 0; | |
2550 | char *_kwnames[] = { "self","x", NULL }; | |
2551 | ||
2552 | self = self; | |
2553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_Display",_kwnames,&_argo0,&_obj1)) | |
2554 | return NULL; | |
2555 | if (_argo0) { | |
2556 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2557 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p."); | |
2559 | return NULL; | |
2560 | } | |
2561 | } | |
2562 | { | |
2563 | if (!PyString_Check(_obj1)) { | |
2564 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2565 | return NULL; | |
2566 | } | |
2567 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2568 | } | |
2569 | { | |
2570 | wxPy_BEGIN_ALLOW_THREADS; | |
2571 | wxHtmlHelpController_Display(_arg0,*_arg1); | |
2572 | ||
2573 | wxPy_END_ALLOW_THREADS; | |
2574 | } Py_INCREF(Py_None); | |
2575 | _resultobj = Py_None; | |
2576 | { | |
2577 | if (_obj1) | |
2578 | delete _arg1; | |
2579 | } | |
2580 | return _resultobj; | |
2581 | } | |
2582 | ||
2583 | #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0)) | |
2584 | static PyObject *_wrap_wxHtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2585 | PyObject * _resultobj; | |
2586 | wxHtmlHelpController * _arg0; | |
2587 | int _arg1; | |
2588 | PyObject * _argo0 = 0; | |
2589 | char *_kwnames[] = { "self","id", NULL }; | |
2590 | ||
2591 | self = self; | |
2592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpController_DisplayID",_kwnames,&_argo0,&_arg1)) | |
2593 | return NULL; | |
2594 | if (_argo0) { | |
2595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p."); | |
2598 | return NULL; | |
2599 | } | |
2600 | } | |
2601 | { | |
2602 | wxPy_BEGIN_ALLOW_THREADS; | |
2603 | wxHtmlHelpController_DisplayID(_arg0,_arg1); | |
2604 | ||
2605 | wxPy_END_ALLOW_THREADS; | |
2606 | } Py_INCREF(Py_None); | |
2607 | _resultobj = Py_None; | |
2608 | return _resultobj; | |
2609 | } | |
2610 | ||
2611 | #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents()) | |
2612 | static PyObject *_wrap_wxHtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2613 | PyObject * _resultobj; | |
2614 | wxHtmlHelpController * _arg0; | |
2615 | PyObject * _argo0 = 0; | |
2616 | char *_kwnames[] = { "self", NULL }; | |
2617 | ||
2618 | self = self; | |
2619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayContents",_kwnames,&_argo0)) | |
2620 | return NULL; | |
2621 | if (_argo0) { | |
2622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p."); | |
2625 | return NULL; | |
2626 | } | |
2627 | } | |
2628 | { | |
2629 | wxPy_BEGIN_ALLOW_THREADS; | |
2630 | wxHtmlHelpController_DisplayContents(_arg0); | |
2631 | ||
2632 | wxPy_END_ALLOW_THREADS; | |
2633 | } Py_INCREF(Py_None); | |
2634 | _resultobj = Py_None; | |
2635 | return _resultobj; | |
2636 | } | |
2637 | ||
2638 | #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex()) | |
2639 | static PyObject *_wrap_wxHtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2640 | PyObject * _resultobj; | |
2641 | wxHtmlHelpController * _arg0; | |
2642 | PyObject * _argo0 = 0; | |
2643 | char *_kwnames[] = { "self", NULL }; | |
2644 | ||
2645 | self = self; | |
2646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayIndex",_kwnames,&_argo0)) | |
2647 | return NULL; | |
2648 | if (_argo0) { | |
2649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p."); | |
2652 | return NULL; | |
2653 | } | |
2654 | } | |
2655 | { | |
2656 | wxPy_BEGIN_ALLOW_THREADS; | |
2657 | wxHtmlHelpController_DisplayIndex(_arg0); | |
2658 | ||
2659 | wxPy_END_ALLOW_THREADS; | |
2660 | } Py_INCREF(Py_None); | |
2661 | _resultobj = Py_None; | |
2662 | return _resultobj; | |
2663 | } | |
2664 | ||
2665 | #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0)) | |
2666 | static PyObject *_wrap_wxHtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2667 | PyObject * _resultobj; | |
2668 | bool _result; | |
2669 | wxHtmlHelpController * _arg0; | |
2670 | wxString * _arg1; | |
2671 | PyObject * _argo0 = 0; | |
2672 | PyObject * _obj1 = 0; | |
2673 | char *_kwnames[] = { "self","keyword", NULL }; | |
2674 | ||
2675 | self = self; | |
2676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_KeywordSearch",_kwnames,&_argo0,&_obj1)) | |
2677 | return NULL; | |
2678 | if (_argo0) { | |
2679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p."); | |
2682 | return NULL; | |
2683 | } | |
2684 | } | |
2685 | { | |
2686 | if (!PyString_Check(_obj1)) { | |
2687 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2688 | return NULL; | |
2689 | } | |
2690 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2691 | } | |
2692 | { | |
2693 | wxPy_BEGIN_ALLOW_THREADS; | |
2694 | _result = (bool )wxHtmlHelpController_KeywordSearch(_arg0,*_arg1); | |
2695 | ||
2696 | wxPy_END_ALLOW_THREADS; | |
2697 | } _resultobj = Py_BuildValue("i",_result); | |
2698 | { | |
2699 | if (_obj1) | |
2700 | delete _arg1; | |
2701 | } | |
2702 | return _resultobj; | |
2703 | } | |
2704 | ||
2705 | #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1)) | |
2706 | static PyObject *_wrap_wxHtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2707 | PyObject * _resultobj; | |
2708 | wxHtmlHelpController * _arg0; | |
2709 | wxConfigBase * _arg1; | |
2710 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
2711 | PyObject * _argo0 = 0; | |
2712 | PyObject * _argo1 = 0; | |
2713 | PyObject * _obj2 = 0; | |
2714 | char *_kwnames[] = { "self","config","rootpath", NULL }; | |
2715 | ||
2716 | self = self; | |
2717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2)) | |
2718 | return NULL; | |
2719 | if (_argo0) { | |
2720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p."); | |
2723 | return NULL; | |
2724 | } | |
2725 | } | |
2726 | if (_argo1) { | |
2727 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2728 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
2729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p."); | |
2730 | return NULL; | |
2731 | } | |
2732 | } | |
2733 | if (_obj2) | |
2734 | { | |
2735 | if (!PyString_Check(_obj2)) { | |
2736 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2737 | return NULL; | |
2738 | } | |
2739 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2740 | } | |
2741 | { | |
2742 | wxPy_BEGIN_ALLOW_THREADS; | |
2743 | wxHtmlHelpController_UseConfig(_arg0,_arg1,*_arg2); | |
2744 | ||
2745 | wxPy_END_ALLOW_THREADS; | |
2746 | } Py_INCREF(Py_None); | |
2747 | _resultobj = Py_None; | |
2748 | { | |
2749 | if (_obj2) | |
2750 | delete _arg2; | |
2751 | } | |
2752 | return _resultobj; | |
2753 | } | |
2754 | ||
2755 | #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1)) | |
2756 | static PyObject *_wrap_wxHtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2757 | PyObject * _resultobj; | |
2758 | wxHtmlHelpController * _arg0; | |
2759 | wxConfigBase * _arg1; | |
2760 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
2761 | PyObject * _argo0 = 0; | |
2762 | PyObject * _argo1 = 0; | |
2763 | PyObject * _obj2 = 0; | |
2764 | char *_kwnames[] = { "self","cfg","path", NULL }; | |
2765 | ||
2766 | self = self; | |
2767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2)) | |
2768 | return NULL; | |
2769 | if (_argo0) { | |
2770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p."); | |
2773 | return NULL; | |
2774 | } | |
2775 | } | |
2776 | if (_argo1) { | |
2777 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2778 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
2779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p."); | |
2780 | return NULL; | |
2781 | } | |
2782 | } | |
2783 | if (_obj2) | |
2784 | { | |
2785 | if (!PyString_Check(_obj2)) { | |
2786 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2787 | return NULL; | |
2788 | } | |
2789 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2790 | } | |
2791 | { | |
2792 | wxPy_BEGIN_ALLOW_THREADS; | |
2793 | wxHtmlHelpController_ReadCustomization(_arg0,_arg1,*_arg2); | |
2794 | ||
2795 | wxPy_END_ALLOW_THREADS; | |
2796 | } Py_INCREF(Py_None); | |
2797 | _resultobj = Py_None; | |
2798 | { | |
2799 | if (_obj2) | |
2800 | delete _arg2; | |
2801 | } | |
2802 | return _resultobj; | |
2803 | } | |
2804 | ||
2805 | #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1)) | |
2806 | static PyObject *_wrap_wxHtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2807 | PyObject * _resultobj; | |
2808 | wxHtmlHelpController * _arg0; | |
2809 | wxConfigBase * _arg1; | |
2810 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
2811 | PyObject * _argo0 = 0; | |
2812 | PyObject * _argo1 = 0; | |
2813 | PyObject * _obj2 = 0; | |
2814 | char *_kwnames[] = { "self","cfg","path", NULL }; | |
2815 | ||
2816 | self = self; | |
2817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2)) | |
2818 | return NULL; | |
2819 | if (_argo0) { | |
2820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p."); | |
2823 | return NULL; | |
2824 | } | |
2825 | } | |
2826 | if (_argo1) { | |
2827 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2828 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
2829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p."); | |
2830 | return NULL; | |
2831 | } | |
2832 | } | |
2833 | if (_obj2) | |
2834 | { | |
2835 | if (!PyString_Check(_obj2)) { | |
2836 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2837 | return NULL; | |
2838 | } | |
2839 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2840 | } | |
2841 | { | |
2842 | wxPy_BEGIN_ALLOW_THREADS; | |
2843 | wxHtmlHelpController_WriteCustomization(_arg0,_arg1,*_arg2); | |
2844 | ||
2845 | wxPy_END_ALLOW_THREADS; | |
2846 | } Py_INCREF(Py_None); | |
2847 | _resultobj = Py_None; | |
2848 | { | |
2849 | if (_obj2) | |
2850 | delete _arg2; | |
2851 | } | |
2852 | return _resultobj; | |
2853 | } | |
2854 | ||
2855 | #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame()) | |
2856 | static PyObject *_wrap_wxHtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2857 | PyObject * _resultobj; | |
2858 | wxHtmlHelpFrame * _result; | |
2859 | wxHtmlHelpController * _arg0; | |
2860 | PyObject * _argo0 = 0; | |
2861 | char *_kwnames[] = { "self", NULL }; | |
2862 | char _ptemp[128]; | |
2863 | ||
2864 | self = self; | |
2865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_GetFrame",_kwnames,&_argo0)) | |
2866 | return NULL; | |
2867 | if (_argo0) { | |
2868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p."); | |
2871 | return NULL; | |
2872 | } | |
2873 | } | |
2874 | { | |
2875 | wxPy_BEGIN_ALLOW_THREADS; | |
2876 | _result = (wxHtmlHelpFrame *)wxHtmlHelpController_GetFrame(_arg0); | |
2877 | ||
2878 | wxPy_END_ALLOW_THREADS; | |
2879 | } if (_result) { | |
2880 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p"); | |
2881 | _resultobj = Py_BuildValue("s",_ptemp); | |
2882 | } else { | |
2883 | Py_INCREF(Py_None); | |
2884 | _resultobj = Py_None; | |
2885 | } | |
2886 | return _resultobj; | |
2887 | } | |
2888 | ||
2889 | #define wxHtmlHelpController_CreateHelpWindow(_swigobj,_swigarg0) (_swigobj->CreateHelpWindow(_swigarg0)) | |
2890 | static PyObject *_wrap_wxHtmlHelpController_CreateHelpWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2891 | PyObject * _resultobj; | |
2892 | wxHtmlHelpController * _arg0; | |
2893 | int _arg1 = (int ) FALSE; | |
2894 | PyObject * _argo0 = 0; | |
2895 | char *_kwnames[] = { "self","show_progress", NULL }; | |
2896 | ||
2897 | self = self; | |
2898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxHtmlHelpController_CreateHelpWindow",_kwnames,&_argo0,&_arg1)) | |
2899 | return NULL; | |
2900 | if (_argo0) { | |
2901 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2902 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) { | |
2903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_CreateHelpWindow. Expected _wxHtmlHelpController_p."); | |
2904 | return NULL; | |
2905 | } | |
2906 | } | |
2907 | { | |
2908 | wxPy_BEGIN_ALLOW_THREADS; | |
2909 | wxHtmlHelpController_CreateHelpWindow(_arg0,_arg1); | |
2910 | ||
2911 | wxPy_END_ALLOW_THREADS; | |
2912 | } Py_INCREF(Py_None); | |
2913 | _resultobj = Py_None; | |
2914 | return _resultobj; | |
2915 | } | |
2916 | ||
2917 | static PyMethodDef htmlhelpcMethods[] = { | |
2918 | { "wxHtmlHelpController_CreateHelpWindow", (PyCFunction) _wrap_wxHtmlHelpController_CreateHelpWindow, METH_VARARGS | METH_KEYWORDS }, | |
2919 | { "wxHtmlHelpController_GetFrame", (PyCFunction) _wrap_wxHtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
2920 | { "wxHtmlHelpController_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
2921 | { "wxHtmlHelpController_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
2922 | { "wxHtmlHelpController_UseConfig", (PyCFunction) _wrap_wxHtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
2923 | { "wxHtmlHelpController_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
2924 | { "wxHtmlHelpController_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
2925 | { "wxHtmlHelpController_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
2926 | { "wxHtmlHelpController_DisplayID", (PyCFunction) _wrap_wxHtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
2927 | { "wxHtmlHelpController_Display", (PyCFunction) _wrap_wxHtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS }, | |
2928 | { "wxHtmlHelpController_AddBook", (PyCFunction) _wrap_wxHtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
2929 | { "wxHtmlHelpController_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
2930 | { "wxHtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
2931 | { "delete_wxHtmlHelpController", (PyCFunction) _wrap_delete_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
2932 | { "new_wxHtmlHelpController", (PyCFunction) _wrap_new_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
2933 | { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
2934 | { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
2935 | { "wxHtmlHelpFrame_UseConfig", (PyCFunction) _wrap_wxHtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
2936 | { "wxHtmlHelpFrame_CreateSearch", (PyCFunction) _wrap_wxHtmlHelpFrame_CreateSearch, METH_VARARGS | METH_KEYWORDS }, | |
2937 | { "wxHtmlHelpFrame_CreateIndex", (PyCFunction) _wrap_wxHtmlHelpFrame_CreateIndex, METH_VARARGS | METH_KEYWORDS }, | |
2938 | { "wxHtmlHelpFrame_CreateContents", (PyCFunction) _wrap_wxHtmlHelpFrame_CreateContents, METH_VARARGS | METH_KEYWORDS }, | |
2939 | { "wxHtmlHelpFrame_RefreshLists", (PyCFunction) _wrap_wxHtmlHelpFrame_RefreshLists, METH_VARARGS | METH_KEYWORDS }, | |
2940 | { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
2941 | { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
2942 | { "wxHtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
2943 | { "wxHtmlHelpFrame_DisplayID", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
2944 | { "wxHtmlHelpFrame_Display", (PyCFunction) _wrap_wxHtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS }, | |
2945 | { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
2946 | { "wxHtmlHelpFrame_GetData", (PyCFunction) _wrap_wxHtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS }, | |
2947 | { "new_wxHtmlHelpFrame", (PyCFunction) _wrap_new_wxHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS }, | |
2948 | { "wxHtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS }, | |
2949 | { "wxHtmlHelpData_GetIndex", (PyCFunction) _wrap_wxHtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
2950 | { "wxHtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS }, | |
2951 | { "wxHtmlHelpData_GetContents", (PyCFunction) _wrap_wxHtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS }, | |
2952 | { "wxHtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_wxHtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS }, | |
2953 | { "wxHtmlHelpData_FindPageById", (PyCFunction) _wrap_wxHtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS }, | |
2954 | { "wxHtmlHelpData_FindPageByName", (PyCFunction) _wrap_wxHtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS }, | |
2955 | { "wxHtmlHelpData_AddBookParam", (PyCFunction) _wrap_wxHtmlHelpData_AddBookParam, METH_VARARGS | METH_KEYWORDS }, | |
2956 | { "wxHtmlHelpData_AddBook", (PyCFunction) _wrap_wxHtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
2957 | { "wxHtmlHelpData_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
2958 | { "delete_wxHtmlHelpData", (PyCFunction) _wrap_delete_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
2959 | { "new_wxHtmlHelpData", (PyCFunction) _wrap_new_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
2960 | { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_wxHtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS }, | |
2961 | { "wxHtmlSearchStatus_GetName", (PyCFunction) _wrap_wxHtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS }, | |
2962 | { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS }, | |
2963 | { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS }, | |
2964 | { "wxHtmlSearchStatus_IsActive", (PyCFunction) _wrap_wxHtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS }, | |
2965 | { "wxHtmlSearchStatus_Search", (PyCFunction) _wrap_wxHtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS }, | |
2966 | { "wxHtmlContentsItem_m_Book_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Book_get, METH_VARARGS | METH_KEYWORDS }, | |
2967 | { "wxHtmlContentsItem_m_Book_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Book_set, METH_VARARGS | METH_KEYWORDS }, | |
2968 | { "wxHtmlContentsItem_m_Page_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Page_get, METH_VARARGS | METH_KEYWORDS }, | |
2969 | { "wxHtmlContentsItem_m_Page_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Page_set, METH_VARARGS | METH_KEYWORDS }, | |
2970 | { "wxHtmlContentsItem_m_Name_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Name_get, METH_VARARGS | METH_KEYWORDS }, | |
2971 | { "wxHtmlContentsItem_m_Name_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Name_set, METH_VARARGS | METH_KEYWORDS }, | |
2972 | { "wxHtmlContentsItem_m_ID_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_ID_get, METH_VARARGS | METH_KEYWORDS }, | |
2973 | { "wxHtmlContentsItem_m_ID_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_ID_set, METH_VARARGS | METH_KEYWORDS }, | |
2974 | { "wxHtmlContentsItem_m_Level_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Level_get, METH_VARARGS | METH_KEYWORDS }, | |
2975 | { "wxHtmlContentsItem_m_Level_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Level_set, METH_VARARGS | METH_KEYWORDS }, | |
2976 | { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS }, | |
2977 | { "wxHtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS }, | |
2978 | { "wxHtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_wxHtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS }, | |
2979 | { "wxHtmlBookRecord_GetBasePath", (PyCFunction) _wrap_wxHtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
2980 | { "wxHtmlBookRecord_GetStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS }, | |
2981 | { "wxHtmlBookRecord_GetTitle", (PyCFunction) _wrap_wxHtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
2982 | { "new_wxHtmlBookRecord", (PyCFunction) _wrap_new_wxHtmlBookRecord, METH_VARARGS | METH_KEYWORDS }, | |
2983 | { "wxHtmlHelpFrameCfg_titleformat_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_titleformat_get, METH_VARARGS | METH_KEYWORDS }, | |
2984 | { "wxHtmlHelpFrameCfg_titleformat_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_titleformat_set, METH_VARARGS | METH_KEYWORDS }, | |
2985 | { "wxHtmlHelpFrameCfg_style_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_style_get, METH_VARARGS | METH_KEYWORDS }, | |
2986 | { "wxHtmlHelpFrameCfg_style_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_style_set, METH_VARARGS | METH_KEYWORDS }, | |
2987 | { "wxHtmlHelpFrameCfg_navig_on_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_navig_on_get, METH_VARARGS | METH_KEYWORDS }, | |
2988 | { "wxHtmlHelpFrameCfg_navig_on_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_navig_on_set, METH_VARARGS | METH_KEYWORDS }, | |
2989 | { "wxHtmlHelpFrameCfg_sashpos_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_sashpos_get, METH_VARARGS | METH_KEYWORDS }, | |
2990 | { "wxHtmlHelpFrameCfg_sashpos_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_sashpos_set, METH_VARARGS | METH_KEYWORDS }, | |
2991 | { "wxHtmlHelpFrameCfg_h_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_h_get, METH_VARARGS | METH_KEYWORDS }, | |
2992 | { "wxHtmlHelpFrameCfg_h_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_h_set, METH_VARARGS | METH_KEYWORDS }, | |
2993 | { "wxHtmlHelpFrameCfg_w_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_w_get, METH_VARARGS | METH_KEYWORDS }, | |
2994 | { "wxHtmlHelpFrameCfg_w_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_w_set, METH_VARARGS | METH_KEYWORDS }, | |
2995 | { "wxHtmlHelpFrameCfg_y_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_y_get, METH_VARARGS | METH_KEYWORDS }, | |
2996 | { "wxHtmlHelpFrameCfg_y_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_y_set, METH_VARARGS | METH_KEYWORDS }, | |
2997 | { "wxHtmlHelpFrameCfg_x_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_x_get, METH_VARARGS | METH_KEYWORDS }, | |
2998 | { "wxHtmlHelpFrameCfg_x_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_x_set, METH_VARARGS | METH_KEYWORDS }, | |
2999 | { "new_wxHtmlHelpFrameCfg", (PyCFunction) _wrap_new_wxHtmlHelpFrameCfg, METH_VARARGS | METH_KEYWORDS }, | |
3000 | { NULL, NULL } | |
3001 | }; | |
3002 | #ifdef __cplusplus | |
3003 | } | |
3004 | #endif | |
3005 | /* | |
3006 | * This table is used by the pointer type-checker | |
3007 | */ | |
3008 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
3009 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
3010 | { "_wxEvent","_class_wxEvent",0}, | |
3011 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
3012 | { "_class_wxHtmlParser","_wxHtmlParser",0}, | |
3013 | { "_signed_long","_long",0}, | |
3014 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
3015 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
f0261a72 | 3016 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
2f90df85 RD |
3017 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
3018 | { "_wxImage","_class_wxImage",0}, | |
3019 | { "_wxPrintQuality","_int",0}, | |
3020 | { "_wxPrintQuality","_signed_int",0}, | |
3021 | { "_wxPrintQuality","_unsigned_int",0}, | |
3022 | { "_wxPrintQuality","_wxWindowID",0}, | |
3023 | { "_wxPrintQuality","_uint",0}, | |
3024 | { "_wxPrintQuality","_EBool",0}, | |
3025 | { "_wxPrintQuality","_size_t",0}, | |
3026 | { "_wxFontData","_class_wxFontData",0}, | |
3027 | { "___wxPyCleanup","_class___wxPyCleanup",0}, | |
3028 | { "_class_HtmlHistoryItem","_HtmlHistoryItem",0}, | |
3029 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
3030 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
3031 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
f0261a72 | 3032 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
2f90df85 RD |
3033 | { "_wxHtmlHelpData","_class_wxHtmlHelpData",0}, |
3034 | { "_class_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler}, | |
3035 | { "_class_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler}, | |
3036 | { "_class_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler}, | |
3037 | { "_class_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler}, | |
3038 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
3039 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
3040 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
f0261a72 | 3041 | { "_wxPySizer","_class_wxPySizer",0}, |
2f90df85 RD |
3042 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, |
3043 | { "_wxCursor","_class_wxCursor",0}, | |
3044 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
3045 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
3046 | { "_wxHtmlWidgetCell","_class_wxHtmlWidgetCell",0}, | |
3047 | { "_class_wxTreeCtrl","_wxTreeCtrl",0}, | |
3048 | { "_wxMask","_class_wxMask",0}, | |
3049 | { "_wxToolTip","_class_wxToolTip",0}, | |
3050 | { "_wxGrid","_class_wxGrid",0}, | |
3051 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
3052 | { "_class_wxColourData","_wxColourData",0}, | |
3053 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
3054 | { "_wxPrinter","_class_wxPrinter",0}, | |
3055 | { "_class_wxHtmlHelpController","_wxHtmlHelpController",0}, | |
3056 | { "_wxPen","_class_wxPen",0}, | |
3057 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
3058 | { "_byte","_unsigned_char",0}, | |
3059 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
3060 | { "_wxChoice","_class_wxChoice",0}, | |
3061 | { "_wxSlider","_class_wxSlider",0}, | |
3062 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
3063 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
3064 | { "_long","_wxDash",0}, | |
3065 | { "_long","_unsigned_long",0}, | |
3066 | { "_long","_signed_long",0}, | |
3067 | { "_wxImageList","_class_wxImageList",0}, | |
3068 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
3069 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
3070 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
f0261a72 | 3071 | { "_class_wxSizer","_wxSizer",0}, |
2f90df85 RD |
3072 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
3073 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
3074 | { "_class_wxGauge","_wxGauge",0}, | |
3075 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
3076 | { "_wxDC","_class_wxDC",0}, | |
f0261a72 | 3077 | { "_wxSizerItem","_class_wxSizerItem",0}, |
2f90df85 RD |
3078 | { "_wxListEvent","_class_wxListEvent",0}, |
3079 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
3080 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
3081 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
3082 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
3083 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
3084 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
3085 | { "_size_t","_wxPrintQuality",0}, | |
3086 | { "_size_t","_unsigned_int",0}, | |
3087 | { "_size_t","_int",0}, | |
3088 | { "_size_t","_wxWindowID",0}, | |
3089 | { "_size_t","_uint",0}, | |
3090 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
3091 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
3092 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
3093 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
3094 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
3095 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
f0261a72 | 3096 | { "_class_wxPySizer","_wxPySizer",0}, |
2f90df85 RD |
3097 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
3098 | { "_wxPanel","_class_wxPanel",0}, | |
3099 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
3100 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
3101 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
3102 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
3103 | { "_class_wxMask","_wxMask",0}, | |
3104 | { "_class_wxToolTip","_wxToolTip",0}, | |
3105 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
3106 | { "_class_wxGrid","_wxGrid",0}, | |
3107 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
3108 | { "_wxColour","_class_wxColour",0}, | |
3109 | { "_class_wxDialog","_wxDialog",0}, | |
3110 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
3111 | { "_class_wxPrinter","_wxPrinter",0}, | |
3112 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
3113 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
3114 | { "_wxToolBar","_class_wxToolBar",0}, | |
f0261a72 | 3115 | { "_wxCaret","_class_wxCaret",0}, |
2f90df85 RD |
3116 | { "_wxStaticLine","_class_wxStaticLine",0}, |
3117 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
3118 | { "_wxBrush","_class_wxBrush",0}, | |
3119 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
3120 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
3121 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
3122 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
3123 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
3124 | { "_uint","_wxPrintQuality",0}, | |
3125 | { "_uint","_size_t",0}, | |
3126 | { "_uint","_unsigned_int",0}, | |
3127 | { "_uint","_int",0}, | |
3128 | { "_uint","_wxWindowID",0}, | |
f0261a72 | 3129 | { "_wxPyValidator","_class_wxPyValidator",0}, |
2f90df85 RD |
3130 | { "_class_wxEvent","_wxEvent",0}, |
3131 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
3132 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
3133 | { "_wxGridEvent","_class_wxGridEvent",0}, | |
3134 | { "_wxRect","_class_wxRect",0}, | |
3135 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
3136 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
3137 | { "_class_wxImage","_wxImage",0}, | |
3138 | { "_wxPoint","_class_wxPoint",0}, | |
3139 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
3140 | { "_class_wxButton","_wxButton",0}, | |
3141 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
3142 | { "_class_wxFontData","_wxFontData",0}, | |
f0261a72 | 3143 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
2f90df85 RD |
3144 | { "_class___wxPyCleanup","___wxPyCleanup",0}, |
3145 | { "_wxHtmlCell","_class_wxHtmlCell",0}, | |
3146 | { "_wxBitmap","_class_wxBitmap",0}, | |
3147 | { "_wxPrintDialog","_class_wxPrintDialog",0}, | |
3148 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
3149 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
3150 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
3151 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
3152 | { "_wxToolBarTool","_class_wxToolBarTool",0}, | |
3153 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
3154 | { "_wxPrintData","_class_wxPrintData",0}, | |
3155 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
3156 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
3157 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
3158 | { "_class_wxHtmlWidgetCell","_wxHtmlWidgetCell",0}, | |
3159 | { "_wxHtmlBookRecord","_class_wxHtmlBookRecord",0}, | |
f0261a72 | 3160 | { "_class_wxValidator","_wxValidator",0}, |
2f90df85 RD |
3161 | { "_class_wxPyEvent","_wxPyEvent",0}, |
3162 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
3163 | { "_wxConfig","_class_wxConfig",0}, | |
3164 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
3165 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
3166 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
3167 | { "_wxListItem","_class_wxListItem",0}, | |
3168 | { "_class_wxToolBar","_wxToolBar",0}, | |
3169 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
3170 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
3171 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
3172 | { "_wxPyHtmlTagHandler","_class_wxPyHtmlTagHandler",0}, | |
3173 | { "_EBool","_wxPrintQuality",0}, | |
3174 | { "_EBool","_signed_int",0}, | |
3175 | { "_EBool","_int",0}, | |
3176 | { "_EBool","_wxWindowID",0}, | |
3177 | { "_class_wxRegion","_wxRegion",0}, | |
3178 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
3179 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
3180 | { "_wxHtmlContainerCell","_class_wxHtmlContainerCell",0}, | |
3181 | { "_wxStaticText","_class_wxStaticText",0}, | |
3182 | { "_wxFont","_class_wxFont",0}, | |
3183 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
3184 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
3185 | { "_wxNotebook","_class_wxNotebook",0}, | |
3186 | { "_unsigned_long","_wxDash",0}, | |
3187 | { "_unsigned_long","_long",0}, | |
3188 | { "_class_wxRect","_wxRect",0}, | |
3189 | { "_class_wxDC","_wxDC",0}, | |
3190 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, | |
3191 | { "_class_wxProgressDialog","_wxProgressDialog",0}, | |
3192 | { "_wxPyApp","_class_wxPyApp",0}, | |
3193 | { "_wxHtmlWinParser","_class_wxHtmlWinParser",0}, | |
3194 | { "_wxHtmlSearchStatus","_class_wxHtmlSearchStatus",0}, | |
3195 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
3196 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
3197 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
3198 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
3199 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
3200 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
3201 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
3202 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
3203 | { "_class_wxPanel","_wxPanel",0}, | |
3204 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
3205 | { "_wxComboBox","_class_wxComboBox",0}, | |
3206 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
3207 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
3208 | { "_wxHtmlTag","_class_wxHtmlTag",0}, | |
3209 | { "_signed_int","_wxPrintQuality",0}, | |
3210 | { "_signed_int","_EBool",0}, | |
3211 | { "_signed_int","_wxWindowID",0}, | |
3212 | { "_signed_int","_int",0}, | |
3213 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
3214 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
3215 | { "_wxMenu","_class_wxMenu",0}, | |
3216 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
3217 | { "_wxListBox","_class_wxListBox",0}, | |
3218 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
3219 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
3220 | { "_class_wxPyHtmlWindow","_wxPyHtmlWindow",0}, | |
3221 | { "_wxHtmlHelpFrameCfg","_class_wxHtmlHelpFrameCfg",0}, | |
3222 | { "_wxHtmlHelpController","_class_wxHtmlHelpController",0}, | |
3223 | { "_WXTYPE","_short",0}, | |
3224 | { "_WXTYPE","_signed_short",0}, | |
3225 | { "_WXTYPE","_unsigned_short",0}, | |
3226 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
f0261a72 | 3227 | { "_class_wxCaret","_wxCaret",0}, |
2f90df85 RD |
3228 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
3229 | { "_class_wxBrush","_wxBrush",0}, | |
3230 | { "_class_wxPyHtmlTagHandler","_wxPyHtmlTagHandler",0}, | |
3231 | { "_unsigned_short","_WXTYPE",0}, | |
3232 | { "_unsigned_short","_short",0}, | |
3233 | { "_class_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow}, | |
3234 | { "_class_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow}, | |
3235 | { "_class_wxWindow","_wxWindow",0}, | |
3236 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
3237 | { "_class_wxStaticText","_wxStaticText",0}, | |
3238 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
3239 | { "_class_wxFont","_wxFont",0}, | |
f0261a72 | 3240 | { "_class_wxPyValidator","_wxPyValidator",0}, |
2f90df85 RD |
3241 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
3242 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
3243 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
3244 | { "_wxClientDC","_class_wxClientDC",0}, | |
3245 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
3246 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
3247 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
3248 | { "_class_wxPoint","_wxPoint",0}, | |
3249 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
3250 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
3251 | { "_wxGridCell","_class_wxGridCell",0}, | |
f0261a72 | 3252 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
2f90df85 RD |
3253 | { "_class_wxHtmlWinParser","_wxHtmlWinParser",0}, |
3254 | { "_class_wxHtmlCell","_wxHtmlCell",0}, | |
3255 | { "_class_wxHtmlSearchStatus","_wxHtmlSearchStatus",0}, | |
3256 | { "_signed_short","_WXTYPE",0}, | |
3257 | { "_signed_short","_short",0}, | |
3258 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
3259 | { "_class_wxPrintDialog","_wxPrintDialog",0}, | |
3260 | { "_class_wxHtmlHelpData","_wxHtmlHelpData",0}, | |
3261 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
3262 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
3263 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
3264 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
3265 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
3266 | { "_class_wxToolBarTool","_wxToolBarTool",0}, | |
3267 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
3268 | { "_class_wxCursor","_wxCursor",0}, | |
3269 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
3270 | { "_class_wxImageHandler","_wxImageHandler",0}, | |
3271 | { "_class_wxHtmlTag","_wxHtmlTag",0}, | |
3272 | { "_class_wxHtmlBookRecord","_wxHtmlBookRecord",0}, | |
3273 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
3274 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
3275 | { "_unsigned_char","_byte",0}, | |
3276 | { "_class_wxMenu","_wxMenu",0}, | |
3277 | { "_wxControl","_class_wxControl",0}, | |
3278 | { "_class_wxListBox","_wxListBox",0}, | |
3279 | { "_unsigned_int","_wxPrintQuality",0}, | |
3280 | { "_unsigned_int","_size_t",0}, | |
3281 | { "_unsigned_int","_uint",0}, | |
3282 | { "_unsigned_int","_wxWindowID",0}, | |
3283 | { "_unsigned_int","_int",0}, | |
3284 | { "_wxIcon","_class_wxIcon",0}, | |
3285 | { "_wxDialog","_class_wxDialog",0}, | |
3286 | { "_class_wxListItem","_wxListItem",0}, | |
3287 | { "_class_wxHtmlHelpFrameCfg","_wxHtmlHelpFrameCfg",0}, | |
3288 | { "_class_wxPen","_wxPen",0}, | |
3289 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
3290 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
3291 | { "_short","_WXTYPE",0}, | |
3292 | { "_short","_unsigned_short",0}, | |
3293 | { "_short","_signed_short",0}, | |
3294 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
3295 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
3296 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
3297 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
3298 | { "_class_wxChoice","_wxChoice",0}, | |
3299 | { "_class_wxSlider","_wxSlider",0}, | |
3300 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
3301 | { "_wxHtmlHelpFrame","_class_wxHtmlHelpFrame",0}, | |
3302 | { "_class_wxImageList","_wxImageList",0}, | |
3303 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
3304 | { "_class_wxHtmlContainerCell","_wxHtmlContainerCell",0}, | |
3305 | { "_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame}, | |
3306 | { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame}, | |
3307 | { "_wxFrame","_class_wxFrame",0}, | |
3308 | { "_class_wxNotebook","_wxNotebook",0}, | |
3309 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
3310 | { "_wxWindowID","_wxPrintQuality",0}, | |
3311 | { "_wxWindowID","_size_t",0}, | |
3312 | { "_wxWindowID","_EBool",0}, | |
3313 | { "_wxWindowID","_uint",0}, | |
3314 | { "_wxWindowID","_int",0}, | |
3315 | { "_wxWindowID","_signed_int",0}, | |
3316 | { "_wxWindowID","_unsigned_int",0}, | |
3317 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, | |
f0261a72 | 3318 | { "_class_wxSizerItem","_wxSizerItem",0}, |
2f90df85 RD |
3319 | { "_int","_wxPrintQuality",0}, |
3320 | { "_int","_size_t",0}, | |
3321 | { "_int","_EBool",0}, | |
3322 | { "_int","_uint",0}, | |
3323 | { "_int","_wxWindowID",0}, | |
3324 | { "_int","_unsigned_int",0}, | |
3325 | { "_int","_signed_int",0}, | |
3326 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
f0261a72 | 3327 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
2f90df85 RD |
3328 | { "_class_wxListEvent","_wxListEvent",0}, |
3329 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
3330 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
3331 | { "_wxPyHtmlWinTagHandler","_class_wxPyHtmlWinTagHandler",0}, | |
3332 | { "_wxButton","_class_wxButton",0}, | |
3333 | { "_class_wxPyApp","_wxPyApp",0}, | |
3334 | { "_wxSize","_class_wxSize",0}, | |
3335 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
3336 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, | |
3337 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
f0261a72 | 3338 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
2f90df85 RD |
3339 | { "_class_wxPaintDC","_wxPaintDC",0}, |
3340 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
3341 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
3342 | { "_class_wxComboBox","_wxComboBox",0}, | |
3343 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
f0261a72 | 3344 | { "_wxValidator","_class_wxValidator",0}, |
2f90df85 RD |
3345 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
3346 | { "_wxTreeCtrl","_class_wxTreeCtrl",0}, | |
3347 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
3348 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
3349 | { "_class_wxControl","_wxControl",0}, | |
3350 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
3351 | { "_class_wxIcon","_wxIcon",0}, | |
3352 | { "_class_wxColour","_wxColour",0}, | |
3353 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
3354 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
3355 | { "_wxPalette","_class_wxPalette",0}, | |
3356 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
3357 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
3358 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
3359 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
3360 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
3361 | { "_class_wxHtmlHelpFrame","_wxHtmlHelpFrame",0}, | |
3362 | { "_wxRegion","_class_wxRegion",0}, | |
3363 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
3364 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
f0261a72 | 3365 | { "_wxSizer","_class_wxSizer",0}, |
2f90df85 RD |
3366 | { "_class_wxShowEvent","_wxShowEvent",0}, |
3367 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
3368 | { "_wxGauge","_class_wxGauge",0}, | |
3369 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
3370 | { "_wxHtmlParser","_class_wxHtmlParser",0}, | |
3371 | { "_class_wxGridEvent","_wxGridEvent",0}, | |
3372 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
3373 | { "_class_wxClientDC","_wxClientDC",0}, | |
3374 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
3375 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
3376 | { "_class_wxPyHtmlWinTagHandler","_wxPyHtmlWinTagHandler",0}, | |
3377 | { "_class_wxGridCell","_wxGridCell",0}, | |
3378 | { "_HtmlHistoryItem","_class_HtmlHistoryItem",0}, | |
3379 | { "_class_wxSize","_wxSize",0}, | |
3380 | { "_class_wxBitmap","_wxBitmap",0}, | |
3381 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
3382 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
3383 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
3384 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
3385 | { "_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler}, | |
3386 | { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler}, | |
3387 | { "_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler}, | |
3388 | { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler}, | |
3389 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
3390 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
3391 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
3392 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
3393 | { "_class_wxPrintData","_wxPrintData",0}, | |
3394 | { "_wxDash","_unsigned_long",0}, | |
3395 | { "_wxDash","_long",0}, | |
3396 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
3397 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
3398 | { "_class_wxConfig","_wxConfig",0}, | |
3399 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
3400 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
3401 | { "_wxColourData","_class_wxColourData",0}, | |
3402 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
3403 | { "_wxPyHtmlWindow","_class_wxPyHtmlWindow",0}, | |
3404 | { "_class_wxPalette","_wxPalette",0}, | |
3405 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, | |
3406 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
3407 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
3408 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
3409 | { "_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow}, | |
3410 | { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow}, | |
3411 | { "_wxWindow","_class_wxWindow",0}, | |
3412 | { "_class_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame}, | |
3413 | { "_class_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame}, | |
3414 | { "_class_wxFrame","_wxFrame",0}, | |
3415 | {0,0,0}}; | |
3416 | ||
3417 | static PyObject *SWIG_globals; | |
3418 | #ifdef __cplusplus | |
3419 | extern "C" | |
3420 | #endif | |
3421 | SWIGEXPORT(void) inithtmlhelpc() { | |
3422 | PyObject *m, *d; | |
3423 | SWIG_globals = SWIG_newvarlink(); | |
3424 | m = Py_InitModule("htmlhelpc", htmlhelpcMethods); | |
3425 | d = PyModule_GetDict(m); | |
3426 | PyDict_SetItemString(d,"wxID_HTML_PANEL", PyInt_FromLong((long) wxID_HTML_PANEL)); | |
3427 | PyDict_SetItemString(d,"wxID_HTML_BACK", PyInt_FromLong((long) wxID_HTML_BACK)); | |
3428 | PyDict_SetItemString(d,"wxID_HTML_FORWARD", PyInt_FromLong((long) wxID_HTML_FORWARD)); | |
3429 | PyDict_SetItemString(d,"wxID_HTML_TREECTRL", PyInt_FromLong((long) wxID_HTML_TREECTRL)); | |
3430 | PyDict_SetItemString(d,"wxID_HTML_INDEXPAGE", PyInt_FromLong((long) wxID_HTML_INDEXPAGE)); | |
3431 | PyDict_SetItemString(d,"wxID_HTML_INDEXLIST", PyInt_FromLong((long) wxID_HTML_INDEXLIST)); | |
3432 | PyDict_SetItemString(d,"wxID_HTML_NOTEBOOK", PyInt_FromLong((long) wxID_HTML_NOTEBOOK)); | |
3433 | PyDict_SetItemString(d,"wxID_HTML_SEARCHPAGE", PyInt_FromLong((long) wxID_HTML_SEARCHPAGE)); | |
3434 | PyDict_SetItemString(d,"wxID_HTML_SEARCHTEXT", PyInt_FromLong((long) wxID_HTML_SEARCHTEXT)); | |
3435 | PyDict_SetItemString(d,"wxID_HTML_SEARCHLIST", PyInt_FromLong((long) wxID_HTML_SEARCHLIST)); | |
3436 | PyDict_SetItemString(d,"wxID_HTML_SEARCHBUTTON", PyInt_FromLong((long) wxID_HTML_SEARCHBUTTON)); | |
3437 | { | |
3438 | int i; | |
3439 | for (i = 0; _swig_mapping[i].n1; i++) | |
3440 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
3441 | } | |
3442 | } |