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