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