]>
Commit | Line | Data |
---|---|---|
325274bb | 1 | /* |
9d8bd15f | 2 | * FILE : ./html.cpp |
325274bb RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
0f66a9f3 | 6 | * Version 1.1 (Build 810) |
325274bb 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__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
52 | #define SWIG_init inithtmlc | |
53 | ||
54 | #define SWIG_name "htmlc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/html/htmlwin.h> | |
dc2f8a65 | 58 | #include <wx/html/htmprint.h> |
325274bb RD |
59 | #include <wx/image.h> |
60 | #include <wx/fs_zip.h> | |
61 | #include <wx/fs_inet.h> | |
0f66a9f3 | 62 | #include <wx/wfstream.h> |
325274bb | 63 | |
dc2f8a65 RD |
64 | #include "printfw.h" |
65 | ||
325274bb RD |
66 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { |
67 | PyObject* o2; | |
68 | PyObject* o3; | |
69 | if (!target) { | |
70 | target = o; | |
71 | } else if (target == Py_None) { | |
72 | Py_DECREF(Py_None); | |
73 | target = o; | |
74 | } else { | |
75 | if (!PyList_Check(target)) { | |
76 | o2 = target; | |
77 | target = PyList_New(0); | |
78 | PyList_Append(target, o2); | |
79 | Py_XDECREF(o2); | |
80 | } | |
81 | PyList_Append(target,o); | |
82 | Py_XDECREF(o); | |
83 | } | |
84 | return target; | |
85 | } | |
86 | ||
87 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
88 | PyObject* o2; | |
89 | PyObject* o3; | |
90 | ||
91 | if (!target) { | |
92 | target = o; | |
93 | } else if (target == Py_None) { | |
94 | Py_DECREF(Py_None); | |
95 | target = o; | |
96 | } else { | |
97 | if (!PyTuple_Check(target)) { | |
98 | o2 = target; | |
99 | target = PyTuple_New(1); | |
100 | PyTuple_SetItem(target, 0, o2); | |
101 | } | |
102 | o3 = PyTuple_New(1); | |
103 | PyTuple_SetItem(o3, 0, o); | |
104 | ||
105 | o2 = target; | |
106 | target = PySequence_Concat(o2, o3); | |
107 | Py_DECREF(o2); | |
108 | Py_DECREF(o3); | |
109 | } | |
110 | return target; | |
111 | } | |
112 | ||
325274bb RD |
113 | static char* wxStringErrorMsg = "string type is required for parameter"; |
114 | ||
115 | #ifdef __WXMSW__ | |
0f66a9f3 RD |
116 | wxString wxPyEmptyStr(""); |
117 | wxPoint wxPyDefaultPosition(wxDefaultPosition); | |
118 | wxSize wxPyDefaultSize(wxDefaultSize); | |
325274bb | 119 | #endif |
325274bb | 120 | |
0f66a9f3 RD |
121 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { |
122 | public: | |
123 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
124 | ||
125 | wxHtmlParser* GetParser() { return m_Parser; } | |
126 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
127 | ||
128 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
129 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
130 | ||
131 | PYPRIVATE; | |
132 | }; | |
133 | ||
134 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
135 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
136 | ||
0f66a9f3 RD |
137 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { |
138 | public: | |
139 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
140 | ||
141 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
142 | void ParseInner(const wxHtmlTag& tag) | |
143 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
144 | ||
145 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
146 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
147 | ||
148 | PYPRIVATE; | |
149 | }; | |
150 | ||
151 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
152 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
153 | ||
154 | ||
0f66a9f3 RD |
155 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { |
156 | public: | |
157 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
158 | m_tagHandlerClass = thc; | |
159 | Py_INCREF(m_tagHandlerClass); | |
160 | RegisterModule(this); | |
161 | wxHtmlWinParser::AddModule(this); | |
162 | } | |
163 | ||
164 | void OnExit() { | |
165 | Py_DECREF(m_tagHandlerClass); | |
166 | m_tagHandlerClass = NULL; | |
dc2f8a65 | 167 | for (size_t x=0; x < m_objArray.GetCount(); x++) { |
0f66a9f3 RD |
168 | PyObject* obj = (PyObject*)m_objArray.Item(x); |
169 | Py_DECREF(obj); | |
170 | } | |
171 | }; | |
172 | ||
173 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
174 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
175 | ||
176 | // First, make a new instance of the tag handler | |
e166644c | 177 | bool doSave = wxPyRestoreThread(); |
0f66a9f3 RD |
178 | PyObject* arg = Py_BuildValue("()"); |
179 | PyObject* obj = PyInstance_New(m_tagHandlerClass, arg, NULL); | |
180 | Py_DECREF(arg); | |
e166644c | 181 | wxPySaveThread(doSave); |
0f66a9f3 RD |
182 | |
183 | // now figure out where it's C++ object is... | |
184 | wxPyHtmlWinTagHandler* thPtr; | |
185 | if (SWIG_GetPtrObj(obj, (void **)&thPtr, "_wxPyHtmlWinTagHandler_p")) | |
186 | return; | |
187 | ||
188 | // add it, | |
189 | parser->AddTagHandler(thPtr); | |
190 | ||
191 | // and track it. | |
192 | m_objArray.Add(obj); | |
193 | } | |
194 | ||
195 | private: | |
196 | PyObject* m_tagHandlerClass; | |
197 | wxArrayPtrVoid m_objArray; | |
198 | ||
199 | }; | |
200 | ||
201 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
202 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
203 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
204 | new wxPyHtmlTagsModule(tagHandlerClass); | |
205 | } | |
206 | ||
207 | class wxPyHtmlWindow : public wxHtmlWindow { | |
208 | public: | |
209 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
210 | const wxPoint& pos = wxDefaultPosition, | |
211 | const wxSize& size = wxDefaultSize, | |
212 | long style = wxHW_SCROLLBAR_AUTO, | |
213 | const wxString& name = "htmlWindow") | |
214 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
215 | ||
216 | DEC_PYCALLBACK__STRING(OnLinkClicked); | |
217 | ||
218 | PYPRIVATE; | |
219 | }; | |
220 | ||
221 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnLinkClicked); | |
222 | ||
223 | ||
224 | void wxHtmlWindow_AddFilter(wxHtmlFilter *filter) { | |
225 | wxHtmlWindow::AddFilter(filter); | |
226 | } | |
227 | ||
228 | extern "C" SWIGEXPORT(void) inithtmlhelpc(); | |
229 | #ifdef __cplusplus | |
230 | extern "C" { | |
231 | #endif | |
232 | static PyObject *_wrap_wxHtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
233 | PyObject * _resultobj; | |
234 | PyObject * _arg0; | |
235 | PyObject * _obj0 = 0; | |
236 | char *_kwnames[] = { "tagHandlerClass", NULL }; | |
237 | ||
238 | self = self; | |
239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_AddTagHandler",_kwnames,&_obj0)) | |
240 | return NULL; | |
241 | { | |
242 | _arg0 = _obj0; | |
243 | } | |
244 | { | |
245 | wxPy_BEGIN_ALLOW_THREADS; | |
246 | wxHtmlWinParser_AddTagHandler(_arg0); | |
247 | ||
248 | wxPy_END_ALLOW_THREADS; | |
249 | } Py_INCREF(Py_None); | |
250 | _resultobj = Py_None; | |
251 | return _resultobj; | |
252 | } | |
253 | ||
254 | static PyObject *_wrap_wxHtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
255 | PyObject * _resultobj; | |
256 | wxHtmlFilter * _arg0; | |
257 | PyObject * _argo0 = 0; | |
258 | char *_kwnames[] = { "filter", NULL }; | |
259 | ||
260 | self = self; | |
261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_AddFilter",_kwnames,&_argo0)) | |
262 | return NULL; | |
263 | if (_argo0) { | |
264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlFilter_p")) { | |
266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p."); | |
267 | return NULL; | |
268 | } | |
269 | } | |
270 | { | |
271 | wxPy_BEGIN_ALLOW_THREADS; | |
272 | wxHtmlWindow_AddFilter(_arg0); | |
273 | ||
274 | wxPy_END_ALLOW_THREADS; | |
275 | } Py_INCREF(Py_None); | |
276 | _resultobj = Py_None; | |
277 | return _resultobj; | |
278 | } | |
279 | ||
280 | #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName()) | |
281 | static PyObject *_wrap_wxHtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
282 | PyObject * _resultobj; | |
283 | wxString * _result; | |
284 | wxHtmlTag * _arg0; | |
285 | PyObject * _argo0 = 0; | |
286 | char *_kwnames[] = { "self", NULL }; | |
287 | ||
288 | self = self; | |
289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetName",_kwnames,&_argo0)) | |
290 | return NULL; | |
291 | if (_argo0) { | |
292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p."); | |
295 | return NULL; | |
296 | } | |
297 | } | |
298 | { | |
299 | wxPy_BEGIN_ALLOW_THREADS; | |
300 | _result = new wxString (wxHtmlTag_GetName(_arg0)); | |
301 | ||
302 | wxPy_END_ALLOW_THREADS; | |
303 | }{ | |
304 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
305 | } | |
306 | { | |
307 | delete _result; | |
308 | } | |
309 | return _resultobj; | |
310 | } | |
311 | ||
312 | #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0)) | |
313 | static PyObject *_wrap_wxHtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
314 | PyObject * _resultobj; | |
315 | bool _result; | |
316 | wxHtmlTag * _arg0; | |
317 | wxString * _arg1; | |
318 | PyObject * _argo0 = 0; | |
319 | PyObject * _obj1 = 0; | |
320 | char *_kwnames[] = { "self","par", NULL }; | |
321 | ||
322 | self = self; | |
323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTag_HasParam",_kwnames,&_argo0,&_obj1)) | |
324 | return NULL; | |
325 | if (_argo0) { | |
326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p."); | |
329 | return NULL; | |
330 | } | |
331 | } | |
332 | { | |
333 | if (!PyString_Check(_obj1)) { | |
334 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
335 | return NULL; | |
336 | } | |
337 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
338 | } | |
339 | { | |
340 | wxPy_BEGIN_ALLOW_THREADS; | |
341 | _result = (bool )wxHtmlTag_HasParam(_arg0,*_arg1); | |
342 | ||
343 | wxPy_END_ALLOW_THREADS; | |
344 | } _resultobj = Py_BuildValue("i",_result); | |
345 | { | |
346 | if (_obj1) | |
347 | delete _arg1; | |
348 | } | |
349 | return _resultobj; | |
350 | } | |
351 | ||
352 | #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1)) | |
353 | static PyObject *_wrap_wxHtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
354 | PyObject * _resultobj; | |
355 | wxString * _result; | |
356 | wxHtmlTag * _arg0; | |
357 | wxString * _arg1; | |
358 | int _arg2 = (int ) FALSE; | |
359 | PyObject * _argo0 = 0; | |
360 | PyObject * _obj1 = 0; | |
361 | char *_kwnames[] = { "self","par","with_commas", NULL }; | |
362 | ||
363 | self = self; | |
364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlTag_GetParam",_kwnames,&_argo0,&_obj1,&_arg2)) | |
365 | return NULL; | |
366 | if (_argo0) { | |
367 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
368 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p."); | |
370 | return NULL; | |
371 | } | |
372 | } | |
373 | { | |
374 | if (!PyString_Check(_obj1)) { | |
375 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
376 | return NULL; | |
377 | } | |
378 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
379 | } | |
380 | { | |
381 | wxPy_BEGIN_ALLOW_THREADS; | |
382 | _result = new wxString (wxHtmlTag_GetParam(_arg0,*_arg1,_arg2)); | |
383 | ||
384 | wxPy_END_ALLOW_THREADS; | |
385 | }{ | |
386 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
387 | } | |
388 | { | |
389 | if (_obj1) | |
390 | delete _arg1; | |
391 | } | |
392 | { | |
393 | delete _result; | |
394 | } | |
395 | return _resultobj; | |
396 | } | |
397 | ||
398 | #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams()) | |
399 | static PyObject *_wrap_wxHtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) { | |
400 | PyObject * _resultobj; | |
401 | wxString * _result; | |
402 | wxHtmlTag * _arg0; | |
403 | PyObject * _argo0 = 0; | |
404 | char *_kwnames[] = { "self", NULL }; | |
405 | ||
406 | self = self; | |
407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetAllParams",_kwnames,&_argo0)) | |
408 | return NULL; | |
409 | if (_argo0) { | |
410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p."); | |
413 | return NULL; | |
414 | } | |
415 | } | |
416 | { | |
417 | wxPy_BEGIN_ALLOW_THREADS; | |
418 | _result = new wxString (wxHtmlTag_GetAllParams(_arg0)); | |
419 | ||
420 | wxPy_END_ALLOW_THREADS; | |
421 | }{ | |
422 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
423 | } | |
424 | { | |
425 | delete _result; | |
426 | } | |
427 | return _resultobj; | |
428 | } | |
429 | ||
430 | #define wxHtmlTag_IsEnding(_swigobj) (_swigobj->IsEnding()) | |
431 | static PyObject *_wrap_wxHtmlTag_IsEnding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
432 | PyObject * _resultobj; | |
433 | bool _result; | |
434 | wxHtmlTag * _arg0; | |
435 | PyObject * _argo0 = 0; | |
436 | char *_kwnames[] = { "self", NULL }; | |
437 | ||
438 | self = self; | |
439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_IsEnding",_kwnames,&_argo0)) | |
440 | return NULL; | |
441 | if (_argo0) { | |
442 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
443 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_IsEnding. Expected _wxHtmlTag_p."); | |
445 | return NULL; | |
446 | } | |
447 | } | |
448 | { | |
449 | wxPy_BEGIN_ALLOW_THREADS; | |
450 | _result = (bool )wxHtmlTag_IsEnding(_arg0); | |
451 | ||
452 | wxPy_END_ALLOW_THREADS; | |
453 | } _resultobj = Py_BuildValue("i",_result); | |
454 | return _resultobj; | |
455 | } | |
456 | ||
457 | #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding()) | |
458 | static PyObject *_wrap_wxHtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
459 | PyObject * _resultobj; | |
460 | bool _result; | |
461 | wxHtmlTag * _arg0; | |
462 | PyObject * _argo0 = 0; | |
463 | char *_kwnames[] = { "self", NULL }; | |
464 | ||
465 | self = self; | |
466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_HasEnding",_kwnames,&_argo0)) | |
467 | return NULL; | |
468 | if (_argo0) { | |
469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p."); | |
472 | return NULL; | |
473 | } | |
474 | } | |
475 | { | |
476 | wxPy_BEGIN_ALLOW_THREADS; | |
477 | _result = (bool )wxHtmlTag_HasEnding(_arg0); | |
478 | ||
479 | wxPy_END_ALLOW_THREADS; | |
480 | } _resultobj = Py_BuildValue("i",_result); | |
481 | return _resultobj; | |
482 | } | |
483 | ||
484 | #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos()) | |
485 | static PyObject *_wrap_wxHtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
486 | PyObject * _resultobj; | |
487 | int _result; | |
488 | wxHtmlTag * _arg0; | |
489 | PyObject * _argo0 = 0; | |
490 | char *_kwnames[] = { "self", NULL }; | |
491 | ||
492 | self = self; | |
493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetBeginPos",_kwnames,&_argo0)) | |
494 | return NULL; | |
495 | if (_argo0) { | |
496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p."); | |
499 | return NULL; | |
500 | } | |
501 | } | |
502 | { | |
503 | wxPy_BEGIN_ALLOW_THREADS; | |
504 | _result = (int )wxHtmlTag_GetBeginPos(_arg0); | |
505 | ||
506 | wxPy_END_ALLOW_THREADS; | |
507 | } _resultobj = Py_BuildValue("i",_result); | |
508 | return _resultobj; | |
509 | } | |
510 | ||
511 | #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1()) | |
512 | static PyObject *_wrap_wxHtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
513 | PyObject * _resultobj; | |
514 | int _result; | |
515 | wxHtmlTag * _arg0; | |
516 | PyObject * _argo0 = 0; | |
517 | char *_kwnames[] = { "self", NULL }; | |
518 | ||
519 | self = self; | |
520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos1",_kwnames,&_argo0)) | |
521 | return NULL; | |
522 | if (_argo0) { | |
523 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
524 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p."); | |
526 | return NULL; | |
527 | } | |
528 | } | |
529 | { | |
530 | wxPy_BEGIN_ALLOW_THREADS; | |
531 | _result = (int )wxHtmlTag_GetEndPos1(_arg0); | |
532 | ||
533 | wxPy_END_ALLOW_THREADS; | |
534 | } _resultobj = Py_BuildValue("i",_result); | |
535 | return _resultobj; | |
536 | } | |
537 | ||
538 | #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2()) | |
539 | static PyObject *_wrap_wxHtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
540 | PyObject * _resultobj; | |
541 | int _result; | |
542 | wxHtmlTag * _arg0; | |
543 | PyObject * _argo0 = 0; | |
544 | char *_kwnames[] = { "self", NULL }; | |
545 | ||
546 | self = self; | |
547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos2",_kwnames,&_argo0)) | |
548 | return NULL; | |
549 | if (_argo0) { | |
550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p."); | |
553 | return NULL; | |
554 | } | |
555 | } | |
556 | { | |
557 | wxPy_BEGIN_ALLOW_THREADS; | |
558 | _result = (int )wxHtmlTag_GetEndPos2(_arg0); | |
559 | ||
560 | wxPy_END_ALLOW_THREADS; | |
561 | } _resultobj = Py_BuildValue("i",_result); | |
562 | return _resultobj; | |
563 | } | |
564 | ||
565 | #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0)) | |
566 | static PyObject *_wrap_wxHtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
567 | PyObject * _resultobj; | |
568 | wxHtmlParser * _arg0; | |
569 | wxFileSystem * _arg1; | |
570 | PyObject * _argo0 = 0; | |
571 | PyObject * _argo1 = 0; | |
572 | char *_kwnames[] = { "self","fs", NULL }; | |
573 | ||
574 | self = self; | |
575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_SetFS",_kwnames,&_argo0,&_argo1)) | |
576 | return NULL; | |
577 | if (_argo0) { | |
578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p."); | |
581 | return NULL; | |
582 | } | |
583 | } | |
584 | if (_argo1) { | |
585 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
586 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileSystem_p")) { | |
587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p."); | |
588 | return NULL; | |
589 | } | |
590 | } | |
591 | { | |
592 | wxPy_BEGIN_ALLOW_THREADS; | |
593 | wxHtmlParser_SetFS(_arg0,_arg1); | |
594 | ||
595 | wxPy_END_ALLOW_THREADS; | |
596 | } Py_INCREF(Py_None); | |
597 | _resultobj = Py_None; | |
598 | return _resultobj; | |
599 | } | |
600 | ||
601 | #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS()) | |
602 | static PyObject *_wrap_wxHtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
603 | PyObject * _resultobj; | |
604 | wxFileSystem * _result; | |
605 | wxHtmlParser * _arg0; | |
606 | PyObject * _argo0 = 0; | |
607 | char *_kwnames[] = { "self", NULL }; | |
608 | char _ptemp[128]; | |
609 | ||
610 | self = self; | |
611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetFS",_kwnames,&_argo0)) | |
612 | return NULL; | |
613 | if (_argo0) { | |
614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p."); | |
617 | return NULL; | |
618 | } | |
619 | } | |
620 | { | |
621 | wxPy_BEGIN_ALLOW_THREADS; | |
622 | _result = (wxFileSystem *)wxHtmlParser_GetFS(_arg0); | |
623 | ||
624 | wxPy_END_ALLOW_THREADS; | |
625 | } if (_result) { | |
626 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileSystem_p"); | |
627 | _resultobj = Py_BuildValue("s",_ptemp); | |
628 | } else { | |
629 | Py_INCREF(Py_None); | |
630 | _resultobj = Py_None; | |
631 | } | |
632 | return _resultobj; | |
633 | } | |
634 | ||
635 | #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0)) | |
636 | static PyObject *_wrap_wxHtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
637 | PyObject * _resultobj; | |
638 | wxObject * _result; | |
639 | wxHtmlParser * _arg0; | |
640 | wxString * _arg1; | |
641 | PyObject * _argo0 = 0; | |
642 | PyObject * _obj1 = 0; | |
643 | char *_kwnames[] = { "self","source", NULL }; | |
644 | char _ptemp[128]; | |
645 | ||
646 | self = self; | |
647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_Parse",_kwnames,&_argo0,&_obj1)) | |
648 | return NULL; | |
649 | if (_argo0) { | |
650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p."); | |
653 | return NULL; | |
654 | } | |
655 | } | |
656 | { | |
657 | if (!PyString_Check(_obj1)) { | |
658 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
659 | return NULL; | |
660 | } | |
661 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
662 | } | |
663 | { | |
664 | wxPy_BEGIN_ALLOW_THREADS; | |
665 | _result = (wxObject *)wxHtmlParser_Parse(_arg0,*_arg1); | |
666 | ||
667 | wxPy_END_ALLOW_THREADS; | |
668 | } if (_result) { | |
669 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p"); | |
670 | _resultobj = Py_BuildValue("s",_ptemp); | |
671 | } else { | |
672 | Py_INCREF(Py_None); | |
673 | _resultobj = Py_None; | |
674 | } | |
675 | { | |
676 | if (_obj1) | |
677 | delete _arg1; | |
678 | } | |
679 | return _resultobj; | |
680 | } | |
681 | ||
682 | #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0)) | |
683 | static PyObject *_wrap_wxHtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
684 | PyObject * _resultobj; | |
685 | wxHtmlParser * _arg0; | |
686 | wxString * _arg1; | |
687 | PyObject * _argo0 = 0; | |
688 | PyObject * _obj1 = 0; | |
689 | char *_kwnames[] = { "self","source", NULL }; | |
690 | ||
691 | self = self; | |
692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_InitParser",_kwnames,&_argo0,&_obj1)) | |
693 | return NULL; | |
694 | if (_argo0) { | |
695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p."); | |
698 | return NULL; | |
699 | } | |
700 | } | |
701 | { | |
702 | if (!PyString_Check(_obj1)) { | |
703 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
704 | return NULL; | |
705 | } | |
706 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
707 | } | |
708 | { | |
709 | wxPy_BEGIN_ALLOW_THREADS; | |
710 | wxHtmlParser_InitParser(_arg0,*_arg1); | |
711 | ||
712 | wxPy_END_ALLOW_THREADS; | |
713 | } Py_INCREF(Py_None); | |
714 | _resultobj = Py_None; | |
715 | { | |
716 | if (_obj1) | |
717 | delete _arg1; | |
718 | } | |
719 | return _resultobj; | |
720 | } | |
721 | ||
722 | #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser()) | |
723 | static PyObject *_wrap_wxHtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
724 | PyObject * _resultobj; | |
725 | wxHtmlParser * _arg0; | |
726 | PyObject * _argo0 = 0; | |
727 | char *_kwnames[] = { "self", NULL }; | |
728 | ||
729 | self = self; | |
730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_DoneParser",_kwnames,&_argo0)) | |
731 | return NULL; | |
732 | if (_argo0) { | |
733 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
734 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
735 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p."); | |
736 | return NULL; | |
737 | } | |
738 | } | |
739 | { | |
740 | wxPy_BEGIN_ALLOW_THREADS; | |
741 | wxHtmlParser_DoneParser(_arg0); | |
742 | ||
743 | wxPy_END_ALLOW_THREADS; | |
744 | } Py_INCREF(Py_None); | |
745 | _resultobj = Py_None; | |
746 | return _resultobj; | |
747 | } | |
748 | ||
749 | #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1)) | |
750 | static PyObject *_wrap_wxHtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
751 | PyObject * _resultobj; | |
752 | wxHtmlParser * _arg0; | |
753 | int _arg1; | |
754 | int _arg2; | |
755 | PyObject * _argo0 = 0; | |
756 | char *_kwnames[] = { "self","begin_pos","end_pos", NULL }; | |
757 | ||
758 | self = self; | |
759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlParser_DoParsing",_kwnames,&_argo0,&_arg1,&_arg2)) | |
760 | return NULL; | |
761 | if (_argo0) { | |
762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p."); | |
765 | return NULL; | |
766 | } | |
767 | } | |
768 | { | |
769 | wxPy_BEGIN_ALLOW_THREADS; | |
770 | wxHtmlParser_DoParsing(_arg0,_arg1,_arg2); | |
771 | ||
772 | wxPy_END_ALLOW_THREADS; | |
773 | } Py_INCREF(Py_None); | |
774 | _resultobj = Py_None; | |
775 | return _resultobj; | |
776 | } | |
777 | ||
778 | #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0)) | |
779 | static PyObject *_wrap_wxHtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
780 | PyObject * _resultobj; | |
781 | wxHtmlParser * _arg0; | |
782 | wxHtmlTagHandler * _arg1; | |
783 | PyObject * _argo0 = 0; | |
784 | PyObject * _argo1 = 0; | |
785 | char *_kwnames[] = { "self","handler", NULL }; | |
786 | ||
787 | self = self; | |
788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_AddTagHandler",_kwnames,&_argo0,&_argo1)) | |
789 | return NULL; | |
790 | if (_argo0) { | |
791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p."); | |
794 | return NULL; | |
795 | } | |
796 | } | |
797 | if (_argo1) { | |
798 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
799 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTagHandler_p")) { | |
800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p."); | |
801 | return NULL; | |
802 | } | |
803 | } | |
804 | { | |
805 | wxPy_BEGIN_ALLOW_THREADS; | |
806 | wxHtmlParser_AddTagHandler(_arg0,_arg1); | |
807 | ||
808 | wxPy_END_ALLOW_THREADS; | |
809 | } Py_INCREF(Py_None); | |
810 | _resultobj = Py_None; | |
811 | return _resultobj; | |
812 | } | |
813 | ||
814 | #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource()) | |
815 | static PyObject *_wrap_wxHtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) { | |
816 | PyObject * _resultobj; | |
817 | wxString * _result; | |
818 | wxHtmlParser * _arg0; | |
819 | PyObject * _argo0 = 0; | |
820 | char *_kwnames[] = { "self", NULL }; | |
821 | ||
822 | self = self; | |
823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetSource",_kwnames,&_argo0)) | |
824 | return NULL; | |
825 | if (_argo0) { | |
826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p."); | |
829 | return NULL; | |
830 | } | |
831 | } | |
832 | { | |
833 | wxPy_BEGIN_ALLOW_THREADS; | |
834 | _result = (wxString *)wxHtmlParser_GetSource(_arg0); | |
835 | ||
836 | wxPy_END_ALLOW_THREADS; | |
837 | }{ | |
838 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
839 | } | |
840 | return _resultobj; | |
841 | } | |
842 | ||
dc2f8a65 RD |
843 | #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1)) |
844 | static PyObject *_wrap_wxHtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
845 | PyObject * _resultobj; | |
846 | wxHtmlParser * _arg0; | |
847 | wxHtmlTagHandler * _arg1; | |
848 | wxString * _arg2; | |
849 | PyObject * _argo0 = 0; | |
850 | PyObject * _argo1 = 0; | |
851 | PyObject * _obj2 = 0; | |
852 | char *_kwnames[] = { "self","handler","tags", NULL }; | |
853 | ||
854 | self = self; | |
855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlParser_PushTagHandler",_kwnames,&_argo0,&_argo1,&_obj2)) | |
856 | return NULL; | |
857 | if (_argo0) { | |
858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p."); | |
861 | return NULL; | |
862 | } | |
863 | } | |
864 | if (_argo1) { | |
865 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
866 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTagHandler_p")) { | |
867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p."); | |
868 | return NULL; | |
869 | } | |
870 | } | |
871 | { | |
872 | if (!PyString_Check(_obj2)) { | |
873 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
874 | return NULL; | |
875 | } | |
876 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
877 | } | |
878 | { | |
879 | wxPy_BEGIN_ALLOW_THREADS; | |
880 | wxHtmlParser_PushTagHandler(_arg0,_arg1,*_arg2); | |
881 | ||
882 | wxPy_END_ALLOW_THREADS; | |
883 | } Py_INCREF(Py_None); | |
884 | _resultobj = Py_None; | |
885 | { | |
886 | if (_obj2) | |
887 | delete _arg2; | |
888 | } | |
889 | return _resultobj; | |
890 | } | |
891 | ||
892 | #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler()) | |
893 | static PyObject *_wrap_wxHtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
894 | PyObject * _resultobj; | |
895 | wxHtmlParser * _arg0; | |
896 | PyObject * _argo0 = 0; | |
897 | char *_kwnames[] = { "self", NULL }; | |
898 | ||
899 | self = self; | |
900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_PopTagHandler",_kwnames,&_argo0)) | |
901 | return NULL; | |
902 | if (_argo0) { | |
903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p."); | |
906 | return NULL; | |
907 | } | |
908 | } | |
909 | { | |
910 | wxPy_BEGIN_ALLOW_THREADS; | |
911 | wxHtmlParser_PopTagHandler(_arg0); | |
912 | ||
913 | wxPy_END_ALLOW_THREADS; | |
914 | } Py_INCREF(Py_None); | |
915 | _resultobj = Py_None; | |
916 | return _resultobj; | |
917 | } | |
918 | ||
0f66a9f3 RD |
919 | static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr) { |
920 | wxHtmlWinParser *src; | |
921 | wxHtmlParser *dest; | |
922 | src = (wxHtmlWinParser *) ptr; | |
923 | dest = (wxHtmlParser *) src; | |
924 | return (void *) dest; | |
925 | } | |
926 | ||
927 | #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0)) | |
928 | static PyObject *_wrap_new_wxHtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
929 | PyObject * _resultobj; | |
930 | wxHtmlWinParser * _result; | |
931 | wxWindow * _arg0; | |
932 | PyObject * _argo0 = 0; | |
933 | char *_kwnames[] = { "wnd", NULL }; | |
934 | char _ptemp[128]; | |
935 | ||
936 | self = self; | |
937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlWinParser",_kwnames,&_argo0)) | |
938 | return NULL; | |
939 | if (_argo0) { | |
940 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
941 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p."); | |
943 | return NULL; | |
944 | } | |
945 | } | |
946 | { | |
947 | wxPy_BEGIN_ALLOW_THREADS; | |
948 | _result = (wxHtmlWinParser *)new_wxHtmlWinParser(_arg0); | |
949 | ||
950 | wxPy_END_ALLOW_THREADS; | |
951 | } if (_result) { | |
952 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p"); | |
953 | _resultobj = Py_BuildValue("s",_ptemp); | |
954 | } else { | |
955 | Py_INCREF(Py_None); | |
956 | _resultobj = Py_None; | |
957 | } | |
958 | return _resultobj; | |
959 | } | |
960 | ||
961 | #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0)) | |
962 | static PyObject *_wrap_wxHtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
963 | PyObject * _resultobj; | |
964 | wxHtmlWinParser * _arg0; | |
965 | wxDC * _arg1; | |
966 | PyObject * _argo0 = 0; | |
967 | PyObject * _argo1 = 0; | |
968 | char *_kwnames[] = { "self","dc", NULL }; | |
969 | ||
970 | self = self; | |
971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetDC",_kwnames,&_argo0,&_argo1)) | |
972 | return NULL; | |
973 | if (_argo0) { | |
974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p."); | |
977 | return NULL; | |
978 | } | |
979 | } | |
980 | if (_argo1) { | |
981 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
982 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p."); | |
984 | return NULL; | |
985 | } | |
986 | } | |
987 | { | |
988 | wxPy_BEGIN_ALLOW_THREADS; | |
989 | wxHtmlWinParser_SetDC(_arg0,_arg1); | |
990 | ||
991 | wxPy_END_ALLOW_THREADS; | |
992 | } Py_INCREF(Py_None); | |
993 | _resultobj = Py_None; | |
994 | return _resultobj; | |
995 | } | |
996 | ||
997 | #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC()) | |
998 | static PyObject *_wrap_wxHtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
999 | PyObject * _resultobj; | |
1000 | wxDC * _result; | |
1001 | wxHtmlWinParser * _arg0; | |
1002 | PyObject * _argo0 = 0; | |
1003 | char *_kwnames[] = { "self", NULL }; | |
1004 | char _ptemp[128]; | |
1005 | ||
1006 | self = self; | |
1007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetDC",_kwnames,&_argo0)) | |
1008 | return NULL; | |
1009 | if (_argo0) { | |
1010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p."); | |
1013 | return NULL; | |
1014 | } | |
1015 | } | |
1016 | { | |
1017 | wxPy_BEGIN_ALLOW_THREADS; | |
1018 | _result = (wxDC *)wxHtmlWinParser_GetDC(_arg0); | |
1019 | ||
1020 | wxPy_END_ALLOW_THREADS; | |
1021 | } if (_result) { | |
1022 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p"); | |
1023 | _resultobj = Py_BuildValue("s",_ptemp); | |
1024 | } else { | |
1025 | Py_INCREF(Py_None); | |
1026 | _resultobj = Py_None; | |
1027 | } | |
1028 | return _resultobj; | |
1029 | } | |
1030 | ||
1031 | #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight()) | |
1032 | static PyObject *_wrap_wxHtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1033 | PyObject * _resultobj; | |
1034 | int _result; | |
1035 | wxHtmlWinParser * _arg0; | |
1036 | PyObject * _argo0 = 0; | |
1037 | char *_kwnames[] = { "self", NULL }; | |
1038 | ||
1039 | self = self; | |
1040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharHeight",_kwnames,&_argo0)) | |
1041 | return NULL; | |
1042 | if (_argo0) { | |
1043 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1044 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p."); | |
1046 | return NULL; | |
1047 | } | |
1048 | } | |
1049 | { | |
1050 | wxPy_BEGIN_ALLOW_THREADS; | |
1051 | _result = (int )wxHtmlWinParser_GetCharHeight(_arg0); | |
1052 | ||
1053 | wxPy_END_ALLOW_THREADS; | |
1054 | } _resultobj = Py_BuildValue("i",_result); | |
1055 | return _resultobj; | |
1056 | } | |
1057 | ||
1058 | #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth()) | |
1059 | static PyObject *_wrap_wxHtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1060 | PyObject * _resultobj; | |
1061 | int _result; | |
1062 | wxHtmlWinParser * _arg0; | |
1063 | PyObject * _argo0 = 0; | |
1064 | char *_kwnames[] = { "self", NULL }; | |
1065 | ||
1066 | self = self; | |
1067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharWidth",_kwnames,&_argo0)) | |
1068 | return NULL; | |
1069 | if (_argo0) { | |
1070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p."); | |
1073 | return NULL; | |
1074 | } | |
1075 | } | |
1076 | { | |
1077 | wxPy_BEGIN_ALLOW_THREADS; | |
1078 | _result = (int )wxHtmlWinParser_GetCharWidth(_arg0); | |
1079 | ||
1080 | wxPy_END_ALLOW_THREADS; | |
1081 | } _resultobj = Py_BuildValue("i",_result); | |
1082 | return _resultobj; | |
1083 | } | |
1084 | ||
1085 | #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
1086 | static PyObject *_wrap_wxHtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1087 | PyObject * _resultobj; | |
1088 | wxWindow * _result; | |
1089 | wxHtmlWinParser * _arg0; | |
1090 | PyObject * _argo0 = 0; | |
1091 | char *_kwnames[] = { "self", NULL }; | |
1092 | char _ptemp[128]; | |
1093 | ||
1094 | self = self; | |
1095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetWindow",_kwnames,&_argo0)) | |
1096 | return NULL; | |
1097 | if (_argo0) { | |
1098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p."); | |
1101 | return NULL; | |
1102 | } | |
1103 | } | |
1104 | { | |
1105 | wxPy_BEGIN_ALLOW_THREADS; | |
1106 | _result = (wxWindow *)wxHtmlWinParser_GetWindow(_arg0); | |
1107 | ||
1108 | wxPy_END_ALLOW_THREADS; | |
1109 | } if (_result) { | |
1110 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1111 | _resultobj = Py_BuildValue("s",_ptemp); | |
1112 | } else { | |
1113 | Py_INCREF(Py_None); | |
1114 | _resultobj = Py_None; | |
1115 | } | |
1116 | return _resultobj; | |
1117 | } | |
1118 | ||
1119 | #define wxHtmlWinParser_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1120 | static PyObject *_wrap_wxHtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1121 | PyObject * _resultobj; | |
1122 | wxHtmlWinParser * _arg0; | |
1123 | wxString * _arg1; | |
1124 | int _arg2; | |
1125 | wxString * _arg3; | |
1126 | int _arg4; | |
1127 | int * _arg5; | |
1128 | PyObject * _argo0 = 0; | |
1129 | PyObject * _obj1 = 0; | |
1130 | PyObject * _obj3 = 0; | |
1131 | PyObject * _obj5 = 0; | |
1132 | char *_kwnames[] = { "self","normal_face","normal_italic_mode","fixed_face","fixed_italic_mode","LIST", NULL }; | |
1133 | ||
1134 | self = self; | |
1135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiOiO:wxHtmlWinParser_SetFonts",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3,&_arg4,&_obj5)) | |
1136 | return NULL; | |
1137 | if (_argo0) { | |
1138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p."); | |
1141 | return NULL; | |
1142 | } | |
1143 | } | |
1144 | { | |
1145 | if (!PyString_Check(_obj1)) { | |
1146 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1147 | return NULL; | |
1148 | } | |
1149 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1150 | } | |
1151 | { | |
1152 | if (!PyString_Check(_obj3)) { | |
1153 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1154 | return NULL; | |
1155 | } | |
1156 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); | |
1157 | } | |
1158 | { | |
1159 | _arg5 = int_LIST_helper(_obj5); | |
1160 | if (_arg5 == NULL) { | |
1161 | return NULL; | |
1162 | } | |
1163 | } | |
1164 | { | |
1165 | wxPy_BEGIN_ALLOW_THREADS; | |
1166 | wxHtmlWinParser_SetFonts(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5); | |
1167 | ||
1168 | wxPy_END_ALLOW_THREADS; | |
1169 | } Py_INCREF(Py_None); | |
1170 | _resultobj = Py_None; | |
1171 | { | |
1172 | if (_obj1) | |
1173 | delete _arg1; | |
1174 | } | |
1175 | { | |
1176 | if (_obj3) | |
1177 | delete _arg3; | |
1178 | } | |
1179 | { | |
1180 | delete [] _arg5; | |
1181 | } | |
1182 | return _resultobj; | |
1183 | } | |
1184 | ||
1185 | #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer()) | |
1186 | static PyObject *_wrap_wxHtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1187 | PyObject * _resultobj; | |
1188 | wxHtmlContainerCell * _result; | |
1189 | wxHtmlWinParser * _arg0; | |
1190 | PyObject * _argo0 = 0; | |
1191 | char *_kwnames[] = { "self", NULL }; | |
1192 | char _ptemp[128]; | |
1193 | ||
1194 | self = self; | |
1195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetContainer",_kwnames,&_argo0)) | |
1196 | return NULL; | |
1197 | if (_argo0) { | |
1198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p."); | |
1201 | return NULL; | |
1202 | } | |
1203 | } | |
1204 | { | |
1205 | wxPy_BEGIN_ALLOW_THREADS; | |
1206 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_GetContainer(_arg0); | |
1207 | ||
1208 | wxPy_END_ALLOW_THREADS; | |
1209 | } if (_result) { | |
1210 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
1211 | _resultobj = Py_BuildValue("s",_ptemp); | |
1212 | } else { | |
1213 | Py_INCREF(Py_None); | |
1214 | _resultobj = Py_None; | |
1215 | } | |
1216 | return _resultobj; | |
1217 | } | |
1218 | ||
1219 | #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer()) | |
1220 | static PyObject *_wrap_wxHtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1221 | PyObject * _resultobj; | |
1222 | wxHtmlContainerCell * _result; | |
1223 | wxHtmlWinParser * _arg0; | |
1224 | PyObject * _argo0 = 0; | |
1225 | char *_kwnames[] = { "self", NULL }; | |
1226 | char _ptemp[128]; | |
1227 | ||
1228 | self = self; | |
1229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_OpenContainer",_kwnames,&_argo0)) | |
1230 | return NULL; | |
1231 | if (_argo0) { | |
1232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p."); | |
1235 | return NULL; | |
1236 | } | |
1237 | } | |
1238 | { | |
1239 | wxPy_BEGIN_ALLOW_THREADS; | |
1240 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_OpenContainer(_arg0); | |
1241 | ||
1242 | wxPy_END_ALLOW_THREADS; | |
1243 | } if (_result) { | |
1244 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
1245 | _resultobj = Py_BuildValue("s",_ptemp); | |
1246 | } else { | |
1247 | Py_INCREF(Py_None); | |
1248 | _resultobj = Py_None; | |
1249 | } | |
1250 | return _resultobj; | |
1251 | } | |
1252 | ||
dc2f8a65 RD |
1253 | #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0)) |
1254 | static PyObject *_wrap_wxHtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1255 | PyObject * _resultobj; | |
1256 | wxHtmlContainerCell * _result; | |
1257 | wxHtmlWinParser * _arg0; | |
1258 | wxHtmlContainerCell * _arg1; | |
1259 | PyObject * _argo0 = 0; | |
1260 | PyObject * _argo1 = 0; | |
1261 | char *_kwnames[] = { "self","c", NULL }; | |
1262 | char _ptemp[128]; | |
1263 | ||
1264 | self = self; | |
1265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetContainer",_kwnames,&_argo0,&_argo1)) | |
1266 | return NULL; | |
1267 | if (_argo0) { | |
1268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p."); | |
1271 | return NULL; | |
1272 | } | |
1273 | } | |
1274 | if (_argo1) { | |
1275 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1276 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlContainerCell_p")) { | |
1277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p."); | |
1278 | return NULL; | |
1279 | } | |
1280 | } | |
1281 | { | |
1282 | wxPy_BEGIN_ALLOW_THREADS; | |
1283 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_SetContainer(_arg0,_arg1); | |
1284 | ||
1285 | wxPy_END_ALLOW_THREADS; | |
1286 | } if (_result) { | |
1287 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
1288 | _resultobj = Py_BuildValue("s",_ptemp); | |
1289 | } else { | |
1290 | Py_INCREF(Py_None); | |
1291 | _resultobj = Py_None; | |
1292 | } | |
1293 | return _resultobj; | |
1294 | } | |
1295 | ||
0f66a9f3 RD |
1296 | #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer()) |
1297 | static PyObject *_wrap_wxHtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1298 | PyObject * _resultobj; | |
1299 | wxHtmlContainerCell * _result; | |
1300 | wxHtmlWinParser * _arg0; | |
1301 | PyObject * _argo0 = 0; | |
1302 | char *_kwnames[] = { "self", NULL }; | |
1303 | char _ptemp[128]; | |
1304 | ||
1305 | self = self; | |
1306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CloseContainer",_kwnames,&_argo0)) | |
1307 | return NULL; | |
1308 | if (_argo0) { | |
1309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p."); | |
1312 | return NULL; | |
1313 | } | |
1314 | } | |
1315 | { | |
1316 | wxPy_BEGIN_ALLOW_THREADS; | |
1317 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_CloseContainer(_arg0); | |
1318 | ||
1319 | wxPy_END_ALLOW_THREADS; | |
1320 | } if (_result) { | |
1321 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
1322 | _resultobj = Py_BuildValue("s",_ptemp); | |
1323 | } else { | |
1324 | Py_INCREF(Py_None); | |
1325 | _resultobj = Py_None; | |
1326 | } | |
1327 | return _resultobj; | |
1328 | } | |
1329 | ||
1330 | #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize()) | |
1331 | static PyObject *_wrap_wxHtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1332 | PyObject * _resultobj; | |
1333 | int _result; | |
1334 | wxHtmlWinParser * _arg0; | |
1335 | PyObject * _argo0 = 0; | |
1336 | char *_kwnames[] = { "self", NULL }; | |
1337 | ||
1338 | self = self; | |
1339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontSize",_kwnames,&_argo0)) | |
1340 | return NULL; | |
1341 | if (_argo0) { | |
1342 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1343 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p."); | |
1345 | return NULL; | |
1346 | } | |
1347 | } | |
1348 | { | |
1349 | wxPy_BEGIN_ALLOW_THREADS; | |
1350 | _result = (int )wxHtmlWinParser_GetFontSize(_arg0); | |
1351 | ||
1352 | wxPy_END_ALLOW_THREADS; | |
1353 | } _resultobj = Py_BuildValue("i",_result); | |
1354 | return _resultobj; | |
1355 | } | |
1356 | ||
1357 | #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0)) | |
1358 | static PyObject *_wrap_wxHtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1359 | PyObject * _resultobj; | |
1360 | wxHtmlWinParser * _arg0; | |
1361 | int _arg1; | |
1362 | PyObject * _argo0 = 0; | |
1363 | char *_kwnames[] = { "self","s", NULL }; | |
1364 | ||
1365 | self = self; | |
1366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontSize",_kwnames,&_argo0,&_arg1)) | |
1367 | return NULL; | |
1368 | if (_argo0) { | |
1369 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1370 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p."); | |
1372 | return NULL; | |
1373 | } | |
1374 | } | |
1375 | { | |
1376 | wxPy_BEGIN_ALLOW_THREADS; | |
1377 | wxHtmlWinParser_SetFontSize(_arg0,_arg1); | |
1378 | ||
1379 | wxPy_END_ALLOW_THREADS; | |
1380 | } Py_INCREF(Py_None); | |
1381 | _resultobj = Py_None; | |
1382 | return _resultobj; | |
1383 | } | |
1384 | ||
1385 | #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold()) | |
1386 | static PyObject *_wrap_wxHtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1387 | PyObject * _resultobj; | |
1388 | int _result; | |
1389 | wxHtmlWinParser * _arg0; | |
1390 | PyObject * _argo0 = 0; | |
1391 | char *_kwnames[] = { "self", NULL }; | |
1392 | ||
1393 | self = self; | |
1394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontBold",_kwnames,&_argo0)) | |
1395 | return NULL; | |
1396 | if (_argo0) { | |
1397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p."); | |
1400 | return NULL; | |
1401 | } | |
1402 | } | |
1403 | { | |
1404 | wxPy_BEGIN_ALLOW_THREADS; | |
1405 | _result = (int )wxHtmlWinParser_GetFontBold(_arg0); | |
1406 | ||
1407 | wxPy_END_ALLOW_THREADS; | |
1408 | } _resultobj = Py_BuildValue("i",_result); | |
1409 | return _resultobj; | |
1410 | } | |
1411 | ||
1412 | #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0)) | |
1413 | static PyObject *_wrap_wxHtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1414 | PyObject * _resultobj; | |
1415 | wxHtmlWinParser * _arg0; | |
1416 | int _arg1; | |
1417 | PyObject * _argo0 = 0; | |
1418 | char *_kwnames[] = { "self","x", NULL }; | |
1419 | ||
1420 | self = self; | |
1421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontBold",_kwnames,&_argo0,&_arg1)) | |
1422 | return NULL; | |
1423 | if (_argo0) { | |
1424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p."); | |
1427 | return NULL; | |
1428 | } | |
1429 | } | |
1430 | { | |
1431 | wxPy_BEGIN_ALLOW_THREADS; | |
1432 | wxHtmlWinParser_SetFontBold(_arg0,_arg1); | |
1433 | ||
1434 | wxPy_END_ALLOW_THREADS; | |
1435 | } Py_INCREF(Py_None); | |
1436 | _resultobj = Py_None; | |
1437 | return _resultobj; | |
1438 | } | |
1439 | ||
1440 | #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic()) | |
1441 | static PyObject *_wrap_wxHtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1442 | PyObject * _resultobj; | |
1443 | int _result; | |
1444 | wxHtmlWinParser * _arg0; | |
1445 | PyObject * _argo0 = 0; | |
1446 | char *_kwnames[] = { "self", NULL }; | |
1447 | ||
1448 | self = self; | |
1449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontItalic",_kwnames,&_argo0)) | |
1450 | return NULL; | |
1451 | if (_argo0) { | |
1452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p."); | |
1455 | return NULL; | |
1456 | } | |
1457 | } | |
1458 | { | |
1459 | wxPy_BEGIN_ALLOW_THREADS; | |
1460 | _result = (int )wxHtmlWinParser_GetFontItalic(_arg0); | |
1461 | ||
1462 | wxPy_END_ALLOW_THREADS; | |
1463 | } _resultobj = Py_BuildValue("i",_result); | |
1464 | return _resultobj; | |
1465 | } | |
1466 | ||
1467 | #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0)) | |
1468 | static PyObject *_wrap_wxHtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1469 | PyObject * _resultobj; | |
1470 | wxHtmlWinParser * _arg0; | |
1471 | int _arg1; | |
1472 | PyObject * _argo0 = 0; | |
1473 | char *_kwnames[] = { "self","x", NULL }; | |
1474 | ||
1475 | self = self; | |
1476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames,&_argo0,&_arg1)) | |
1477 | return NULL; | |
1478 | if (_argo0) { | |
1479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p."); | |
1482 | return NULL; | |
1483 | } | |
1484 | } | |
1485 | { | |
1486 | wxPy_BEGIN_ALLOW_THREADS; | |
1487 | wxHtmlWinParser_SetFontItalic(_arg0,_arg1); | |
1488 | ||
1489 | wxPy_END_ALLOW_THREADS; | |
1490 | } Py_INCREF(Py_None); | |
1491 | _resultobj = Py_None; | |
1492 | return _resultobj; | |
1493 | } | |
1494 | ||
1495 | #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined()) | |
1496 | static PyObject *_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1497 | PyObject * _resultobj; | |
1498 | int _result; | |
1499 | wxHtmlWinParser * _arg0; | |
1500 | PyObject * _argo0 = 0; | |
1501 | char *_kwnames[] = { "self", NULL }; | |
1502 | ||
1503 | self = self; | |
1504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames,&_argo0)) | |
1505 | return NULL; | |
1506 | if (_argo0) { | |
1507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p."); | |
1510 | return NULL; | |
1511 | } | |
1512 | } | |
1513 | { | |
1514 | wxPy_BEGIN_ALLOW_THREADS; | |
1515 | _result = (int )wxHtmlWinParser_GetFontUnderlined(_arg0); | |
1516 | ||
1517 | wxPy_END_ALLOW_THREADS; | |
1518 | } _resultobj = Py_BuildValue("i",_result); | |
1519 | return _resultobj; | |
1520 | } | |
1521 | ||
1522 | #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0)) | |
1523 | static PyObject *_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1524 | PyObject * _resultobj; | |
1525 | wxHtmlWinParser * _arg0; | |
1526 | int _arg1; | |
1527 | PyObject * _argo0 = 0; | |
1528 | char *_kwnames[] = { "self","x", NULL }; | |
1529 | ||
1530 | self = self; | |
1531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames,&_argo0,&_arg1)) | |
1532 | return NULL; | |
1533 | if (_argo0) { | |
1534 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1535 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p."); | |
1537 | return NULL; | |
1538 | } | |
1539 | } | |
1540 | { | |
1541 | wxPy_BEGIN_ALLOW_THREADS; | |
1542 | wxHtmlWinParser_SetFontUnderlined(_arg0,_arg1); | |
1543 | ||
1544 | wxPy_END_ALLOW_THREADS; | |
1545 | } Py_INCREF(Py_None); | |
1546 | _resultobj = Py_None; | |
1547 | return _resultobj; | |
1548 | } | |
1549 | ||
1550 | #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed()) | |
1551 | static PyObject *_wrap_wxHtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1552 | PyObject * _resultobj; | |
1553 | int _result; | |
1554 | wxHtmlWinParser * _arg0; | |
1555 | PyObject * _argo0 = 0; | |
1556 | char *_kwnames[] = { "self", NULL }; | |
1557 | ||
1558 | self = self; | |
1559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontFixed",_kwnames,&_argo0)) | |
1560 | return NULL; | |
1561 | if (_argo0) { | |
1562 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1563 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p."); | |
1565 | return NULL; | |
1566 | } | |
1567 | } | |
1568 | { | |
1569 | wxPy_BEGIN_ALLOW_THREADS; | |
1570 | _result = (int )wxHtmlWinParser_GetFontFixed(_arg0); | |
1571 | ||
1572 | wxPy_END_ALLOW_THREADS; | |
1573 | } _resultobj = Py_BuildValue("i",_result); | |
1574 | return _resultobj; | |
1575 | } | |
1576 | ||
1577 | #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0)) | |
1578 | static PyObject *_wrap_wxHtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1579 | PyObject * _resultobj; | |
1580 | wxHtmlWinParser * _arg0; | |
1581 | int _arg1; | |
1582 | PyObject * _argo0 = 0; | |
1583 | char *_kwnames[] = { "self","x", NULL }; | |
1584 | ||
1585 | self = self; | |
1586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames,&_argo0,&_arg1)) | |
1587 | return NULL; | |
1588 | if (_argo0) { | |
1589 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1590 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p."); | |
1592 | return NULL; | |
1593 | } | |
1594 | } | |
1595 | { | |
1596 | wxPy_BEGIN_ALLOW_THREADS; | |
1597 | wxHtmlWinParser_SetFontFixed(_arg0,_arg1); | |
1598 | ||
1599 | wxPy_END_ALLOW_THREADS; | |
1600 | } Py_INCREF(Py_None); | |
1601 | _resultobj = Py_None; | |
1602 | return _resultobj; | |
1603 | } | |
1604 | ||
1605 | #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign()) | |
1606 | static PyObject *_wrap_wxHtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1607 | PyObject * _resultobj; | |
1608 | int _result; | |
1609 | wxHtmlWinParser * _arg0; | |
1610 | PyObject * _argo0 = 0; | |
1611 | char *_kwnames[] = { "self", NULL }; | |
1612 | ||
1613 | self = self; | |
1614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetAlign",_kwnames,&_argo0)) | |
1615 | return NULL; | |
1616 | if (_argo0) { | |
1617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p."); | |
1620 | return NULL; | |
1621 | } | |
1622 | } | |
1623 | { | |
1624 | wxPy_BEGIN_ALLOW_THREADS; | |
1625 | _result = (int )wxHtmlWinParser_GetAlign(_arg0); | |
1626 | ||
1627 | wxPy_END_ALLOW_THREADS; | |
1628 | } _resultobj = Py_BuildValue("i",_result); | |
1629 | return _resultobj; | |
1630 | } | |
1631 | ||
1632 | #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0)) | |
1633 | static PyObject *_wrap_wxHtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1634 | PyObject * _resultobj; | |
1635 | wxHtmlWinParser * _arg0; | |
1636 | int _arg1; | |
1637 | PyObject * _argo0 = 0; | |
1638 | char *_kwnames[] = { "self","a", NULL }; | |
1639 | ||
1640 | self = self; | |
1641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetAlign",_kwnames,&_argo0,&_arg1)) | |
1642 | return NULL; | |
1643 | if (_argo0) { | |
1644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p."); | |
1647 | return NULL; | |
1648 | } | |
1649 | } | |
1650 | { | |
1651 | wxPy_BEGIN_ALLOW_THREADS; | |
1652 | wxHtmlWinParser_SetAlign(_arg0,_arg1); | |
1653 | ||
1654 | wxPy_END_ALLOW_THREADS; | |
1655 | } Py_INCREF(Py_None); | |
1656 | _resultobj = Py_None; | |
1657 | return _resultobj; | |
1658 | } | |
1659 | ||
1660 | #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor()) | |
1661 | static PyObject *_wrap_wxHtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1662 | PyObject * _resultobj; | |
1663 | wxColour * _result; | |
1664 | wxHtmlWinParser * _arg0; | |
1665 | PyObject * _argo0 = 0; | |
1666 | char *_kwnames[] = { "self", NULL }; | |
1667 | char _ptemp[128]; | |
1668 | ||
1669 | self = self; | |
1670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLinkColor",_kwnames,&_argo0)) | |
1671 | return NULL; | |
1672 | if (_argo0) { | |
1673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p."); | |
1676 | return NULL; | |
1677 | } | |
1678 | } | |
1679 | { | |
1680 | wxPy_BEGIN_ALLOW_THREADS; | |
1681 | const wxColour & _result_ref = wxHtmlWinParser_GetLinkColor(_arg0); | |
1682 | _result = (wxColour *) &_result_ref; | |
1683 | ||
1684 | wxPy_END_ALLOW_THREADS; | |
1685 | } if (_result) { | |
1686 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1687 | _resultobj = Py_BuildValue("s",_ptemp); | |
1688 | } else { | |
1689 | Py_INCREF(Py_None); | |
1690 | _resultobj = Py_None; | |
1691 | } | |
1692 | return _resultobj; | |
1693 | } | |
1694 | ||
1695 | #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0)) | |
1696 | static PyObject *_wrap_wxHtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1697 | PyObject * _resultobj; | |
1698 | wxHtmlWinParser * _arg0; | |
1699 | wxColour * _arg1; | |
1700 | PyObject * _argo0 = 0; | |
1701 | PyObject * _argo1 = 0; | |
1702 | char *_kwnames[] = { "self","clr", NULL }; | |
1703 | ||
1704 | self = self; | |
1705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLinkColor",_kwnames,&_argo0,&_argo1)) | |
1706 | return NULL; | |
1707 | if (_argo0) { | |
1708 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1709 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p."); | |
1711 | return NULL; | |
1712 | } | |
1713 | } | |
1714 | if (_argo1) { | |
1715 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1716 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
1717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetLinkColor. Expected _wxColour_p."); | |
1718 | return NULL; | |
1719 | } | |
1720 | } | |
1721 | { | |
1722 | wxPy_BEGIN_ALLOW_THREADS; | |
1723 | wxHtmlWinParser_SetLinkColor(_arg0,*_arg1); | |
1724 | ||
1725 | wxPy_END_ALLOW_THREADS; | |
1726 | } Py_INCREF(Py_None); | |
1727 | _resultobj = Py_None; | |
1728 | return _resultobj; | |
1729 | } | |
1730 | ||
1731 | #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor()) | |
1732 | static PyObject *_wrap_wxHtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1733 | PyObject * _resultobj; | |
1734 | wxColour * _result; | |
1735 | wxHtmlWinParser * _arg0; | |
1736 | PyObject * _argo0 = 0; | |
1737 | char *_kwnames[] = { "self", NULL }; | |
1738 | char _ptemp[128]; | |
1739 | ||
1740 | self = self; | |
1741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetActualColor",_kwnames,&_argo0)) | |
1742 | return NULL; | |
1743 | if (_argo0) { | |
1744 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1745 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p."); | |
1747 | return NULL; | |
1748 | } | |
1749 | } | |
1750 | { | |
1751 | wxPy_BEGIN_ALLOW_THREADS; | |
1752 | const wxColour & _result_ref = wxHtmlWinParser_GetActualColor(_arg0); | |
1753 | _result = (wxColour *) &_result_ref; | |
1754 | ||
1755 | wxPy_END_ALLOW_THREADS; | |
1756 | } if (_result) { | |
1757 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1758 | _resultobj = Py_BuildValue("s",_ptemp); | |
1759 | } else { | |
1760 | Py_INCREF(Py_None); | |
1761 | _resultobj = Py_None; | |
1762 | } | |
1763 | return _resultobj; | |
1764 | } | |
1765 | ||
1766 | #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0)) | |
1767 | static PyObject *_wrap_wxHtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1768 | PyObject * _resultobj; | |
1769 | wxHtmlWinParser * _arg0; | |
1770 | wxColour * _arg1; | |
1771 | PyObject * _argo0 = 0; | |
1772 | PyObject * _argo1 = 0; | |
1773 | char *_kwnames[] = { "self","clr", NULL }; | |
1774 | ||
1775 | self = self; | |
1776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetActualColor",_kwnames,&_argo0,&_argo1)) | |
1777 | return NULL; | |
1778 | if (_argo0) { | |
1779 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1780 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p."); | |
1782 | return NULL; | |
1783 | } | |
1784 | } | |
1785 | if (_argo1) { | |
1786 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1787 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
1788 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetActualColor. Expected _wxColour_p."); | |
1789 | return NULL; | |
1790 | } | |
1791 | } | |
1792 | { | |
1793 | wxPy_BEGIN_ALLOW_THREADS; | |
1794 | wxHtmlWinParser_SetActualColor(_arg0,*_arg1); | |
1795 | ||
1796 | wxPy_END_ALLOW_THREADS; | |
1797 | } Py_INCREF(Py_None); | |
1798 | _resultobj = Py_None; | |
1799 | return _resultobj; | |
1800 | } | |
1801 | ||
1802 | #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink()) | |
1803 | static PyObject *_wrap_wxHtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1804 | PyObject * _resultobj; | |
1805 | wxString * _result; | |
1806 | wxHtmlWinParser * _arg0; | |
1807 | PyObject * _argo0 = 0; | |
1808 | char *_kwnames[] = { "self", NULL }; | |
1809 | ||
1810 | self = self; | |
1811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLink",_kwnames,&_argo0)) | |
1812 | return NULL; | |
1813 | if (_argo0) { | |
1814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p."); | |
1817 | return NULL; | |
1818 | } | |
1819 | } | |
1820 | { | |
1821 | wxPy_BEGIN_ALLOW_THREADS; | |
1822 | const wxString & _result_ref = wxHtmlWinParser_GetLink(_arg0); | |
1823 | _result = (wxString *) &_result_ref; | |
1824 | ||
1825 | wxPy_END_ALLOW_THREADS; | |
1826 | }{ | |
1827 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
1828 | } | |
1829 | return _resultobj; | |
1830 | } | |
1831 | ||
1832 | #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0)) | |
1833 | static PyObject *_wrap_wxHtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1834 | PyObject * _resultobj; | |
1835 | wxHtmlWinParser * _arg0; | |
1836 | wxString * _arg1; | |
1837 | PyObject * _argo0 = 0; | |
1838 | PyObject * _obj1 = 0; | |
1839 | char *_kwnames[] = { "self","link", NULL }; | |
1840 | ||
1841 | self = self; | |
1842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLink",_kwnames,&_argo0,&_obj1)) | |
1843 | return NULL; | |
1844 | if (_argo0) { | |
1845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p."); | |
1848 | return NULL; | |
1849 | } | |
1850 | } | |
1851 | { | |
1852 | if (!PyString_Check(_obj1)) { | |
1853 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1854 | return NULL; | |
1855 | } | |
1856 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1857 | } | |
1858 | { | |
1859 | wxPy_BEGIN_ALLOW_THREADS; | |
1860 | wxHtmlWinParser_SetLink(_arg0,*_arg1); | |
1861 | ||
1862 | wxPy_END_ALLOW_THREADS; | |
1863 | } Py_INCREF(Py_None); | |
1864 | _resultobj = Py_None; | |
1865 | { | |
1866 | if (_obj1) | |
1867 | delete _arg1; | |
1868 | } | |
1869 | return _resultobj; | |
1870 | } | |
1871 | ||
1872 | #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont()) | |
1873 | static PyObject *_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1874 | PyObject * _resultobj; | |
1875 | wxFont * _result; | |
1876 | wxHtmlWinParser * _arg0; | |
1877 | PyObject * _argo0 = 0; | |
1878 | char *_kwnames[] = { "self", NULL }; | |
1879 | char _ptemp[128]; | |
1880 | ||
1881 | self = self; | |
1882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames,&_argo0)) | |
1883 | return NULL; | |
1884 | if (_argo0) { | |
1885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p."); | |
1888 | return NULL; | |
1889 | } | |
1890 | } | |
1891 | { | |
1892 | wxPy_BEGIN_ALLOW_THREADS; | |
1893 | _result = (wxFont *)wxHtmlWinParser_CreateCurrentFont(_arg0); | |
1894 | ||
1895 | wxPy_END_ALLOW_THREADS; | |
1896 | } if (_result) { | |
1897 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
1898 | _resultobj = Py_BuildValue("s",_ptemp); | |
1899 | } else { | |
1900 | Py_INCREF(Py_None); | |
1901 | _resultobj = Py_None; | |
1902 | } | |
1903 | return _resultobj; | |
1904 | } | |
1905 | ||
1906 | #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler()) | |
1907 | static PyObject *_wrap_new_wxHtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1908 | PyObject * _resultobj; | |
1909 | wxPyHtmlTagHandler * _result; | |
1910 | char *_kwnames[] = { NULL }; | |
1911 | char _ptemp[128]; | |
1912 | ||
1913 | self = self; | |
1914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlTagHandler",_kwnames)) | |
1915 | return NULL; | |
1916 | { | |
1917 | wxPy_BEGIN_ALLOW_THREADS; | |
1918 | _result = (wxPyHtmlTagHandler *)new_wxHtmlTagHandler(); | |
1919 | ||
1920 | wxPy_END_ALLOW_THREADS; | |
1921 | } if (_result) { | |
1922 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlTagHandler_p"); | |
1923 | _resultobj = Py_BuildValue("s",_ptemp); | |
1924 | } else { | |
1925 | Py_INCREF(Py_None); | |
1926 | _resultobj = Py_None; | |
1927 | } | |
1928 | return _resultobj; | |
1929 | } | |
1930 | ||
1931 | #define wxHtmlTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
1932 | static PyObject *_wrap_wxHtmlTagHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1933 | PyObject * _resultobj; | |
1934 | wxPyHtmlTagHandler * _arg0; | |
1935 | PyObject * _arg1; | |
1936 | PyObject * _argo0 = 0; | |
1937 | PyObject * _obj1 = 0; | |
1938 | char *_kwnames[] = { "self","self", NULL }; | |
1939 | ||
1940 | self = self; | |
1941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler__setSelf",_kwnames,&_argo0,&_obj1)) | |
1942 | return NULL; | |
1943 | if (_argo0) { | |
1944 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1945 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) { | |
1946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler__setSelf. Expected _wxPyHtmlTagHandler_p."); | |
1947 | return NULL; | |
1948 | } | |
1949 | } | |
1950 | { | |
1951 | _arg1 = _obj1; | |
1952 | } | |
1953 | { | |
1954 | wxPy_BEGIN_ALLOW_THREADS; | |
1955 | wxHtmlTagHandler__setSelf(_arg0,_arg1); | |
1956 | ||
1957 | wxPy_END_ALLOW_THREADS; | |
1958 | } Py_INCREF(Py_None); | |
1959 | _resultobj = Py_None; | |
1960 | return _resultobj; | |
1961 | } | |
1962 | ||
1963 | #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0)) | |
1964 | static PyObject *_wrap_wxHtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1965 | PyObject * _resultobj; | |
1966 | wxPyHtmlTagHandler * _arg0; | |
1967 | wxHtmlParser * _arg1; | |
1968 | PyObject * _argo0 = 0; | |
1969 | PyObject * _argo1 = 0; | |
1970 | char *_kwnames[] = { "self","parser", NULL }; | |
1971 | ||
1972 | self = self; | |
1973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_SetParser",_kwnames,&_argo0,&_argo1)) | |
1974 | return NULL; | |
1975 | if (_argo0) { | |
1976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) { | |
1978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p."); | |
1979 | return NULL; | |
1980 | } | |
1981 | } | |
1982 | if (_argo1) { | |
1983 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1984 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) { | |
1985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p."); | |
1986 | return NULL; | |
1987 | } | |
1988 | } | |
1989 | { | |
1990 | wxPy_BEGIN_ALLOW_THREADS; | |
1991 | wxHtmlTagHandler_SetParser(_arg0,_arg1); | |
1992 | ||
1993 | wxPy_END_ALLOW_THREADS; | |
1994 | } Py_INCREF(Py_None); | |
1995 | _resultobj = Py_None; | |
1996 | return _resultobj; | |
1997 | } | |
1998 | ||
1999 | #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser()) | |
2000 | static PyObject *_wrap_wxHtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2001 | PyObject * _resultobj; | |
2002 | wxHtmlParser * _result; | |
2003 | wxPyHtmlTagHandler * _arg0; | |
2004 | PyObject * _argo0 = 0; | |
2005 | char *_kwnames[] = { "self", NULL }; | |
2006 | char _ptemp[128]; | |
2007 | ||
2008 | self = self; | |
2009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTagHandler_GetParser",_kwnames,&_argo0)) | |
2010 | return NULL; | |
2011 | if (_argo0) { | |
2012 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2013 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) { | |
2014 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p."); | |
2015 | return NULL; | |
2016 | } | |
2017 | } | |
2018 | { | |
2019 | wxPy_BEGIN_ALLOW_THREADS; | |
2020 | _result = (wxHtmlParser *)wxHtmlTagHandler_GetParser(_arg0); | |
2021 | ||
2022 | wxPy_END_ALLOW_THREADS; | |
2023 | } if (_result) { | |
2024 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlParser_p"); | |
2025 | _resultobj = Py_BuildValue("s",_ptemp); | |
2026 | } else { | |
2027 | Py_INCREF(Py_None); | |
2028 | _resultobj = Py_None; | |
2029 | } | |
2030 | return _resultobj; | |
2031 | } | |
2032 | ||
2033 | #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0)) | |
2034 | static PyObject *_wrap_wxHtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2035 | PyObject * _resultobj; | |
2036 | wxPyHtmlTagHandler * _arg0; | |
2037 | wxHtmlTag * _arg1; | |
2038 | PyObject * _argo0 = 0; | |
2039 | PyObject * _argo1 = 0; | |
2040 | char *_kwnames[] = { "self","tag", NULL }; | |
325274bb | 2041 | |
0f66a9f3 RD |
2042 | self = self; |
2043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_ParseInner",_kwnames,&_argo0,&_argo1)) | |
2044 | return NULL; | |
2045 | if (_argo0) { | |
2046 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2047 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) { | |
2048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p."); | |
2049 | return NULL; | |
2050 | } | |
2051 | } | |
2052 | if (_argo1) { | |
2053 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2054 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { | |
2055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p."); | |
2056 | return NULL; | |
2057 | } | |
2058 | } | |
2059 | { | |
2060 | wxPy_BEGIN_ALLOW_THREADS; | |
2061 | wxHtmlTagHandler_ParseInner(_arg0,*_arg1); | |
325274bb | 2062 | |
0f66a9f3 RD |
2063 | wxPy_END_ALLOW_THREADS; |
2064 | } Py_INCREF(Py_None); | |
2065 | _resultobj = Py_None; | |
2066 | return _resultobj; | |
2067 | } | |
2068 | ||
2069 | static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr) { | |
2070 | wxPyHtmlWinTagHandler *src; | |
2071 | wxPyHtmlTagHandler *dest; | |
2072 | src = (wxPyHtmlWinTagHandler *) ptr; | |
2073 | dest = (wxPyHtmlTagHandler *) src; | |
2074 | return (void *) dest; | |
2075 | } | |
2076 | ||
2077 | #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler()) | |
2078 | static PyObject *_wrap_new_wxHtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2079 | PyObject * _resultobj; | |
2080 | wxPyHtmlWinTagHandler * _result; | |
2081 | char *_kwnames[] = { NULL }; | |
2082 | char _ptemp[128]; | |
2083 | ||
2084 | self = self; | |
2085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlWinTagHandler",_kwnames)) | |
2086 | return NULL; | |
2087 | { | |
2088 | wxPy_BEGIN_ALLOW_THREADS; | |
2089 | _result = (wxPyHtmlWinTagHandler *)new_wxHtmlWinTagHandler(); | |
2090 | ||
2091 | wxPy_END_ALLOW_THREADS; | |
2092 | } if (_result) { | |
2093 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWinTagHandler_p"); | |
2094 | _resultobj = Py_BuildValue("s",_ptemp); | |
2095 | } else { | |
2096 | Py_INCREF(Py_None); | |
2097 | _resultobj = Py_None; | |
2098 | } | |
2099 | return _resultobj; | |
2100 | } | |
2101 | ||
2102 | #define wxHtmlWinTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
2103 | static PyObject *_wrap_wxHtmlWinTagHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2104 | PyObject * _resultobj; | |
2105 | wxPyHtmlWinTagHandler * _arg0; | |
2106 | PyObject * _arg1; | |
2107 | PyObject * _argo0 = 0; | |
2108 | PyObject * _obj1 = 0; | |
2109 | char *_kwnames[] = { "self","self", NULL }; | |
2110 | ||
2111 | self = self; | |
2112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler__setSelf",_kwnames,&_argo0,&_obj1)) | |
2113 | return NULL; | |
2114 | if (_argo0) { | |
2115 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2116 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) { | |
2117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler__setSelf. Expected _wxPyHtmlWinTagHandler_p."); | |
2118 | return NULL; | |
2119 | } | |
2120 | } | |
2121 | { | |
2122 | _arg1 = _obj1; | |
2123 | } | |
2124 | { | |
2125 | wxPy_BEGIN_ALLOW_THREADS; | |
2126 | wxHtmlWinTagHandler__setSelf(_arg0,_arg1); | |
2127 | ||
2128 | wxPy_END_ALLOW_THREADS; | |
2129 | } Py_INCREF(Py_None); | |
2130 | _resultobj = Py_None; | |
2131 | return _resultobj; | |
2132 | } | |
2133 | ||
2134 | #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0)) | |
2135 | static PyObject *_wrap_wxHtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2136 | PyObject * _resultobj; | |
2137 | wxPyHtmlWinTagHandler * _arg0; | |
2138 | wxHtmlParser * _arg1; | |
2139 | PyObject * _argo0 = 0; | |
2140 | PyObject * _argo1 = 0; | |
2141 | char *_kwnames[] = { "self","parser", NULL }; | |
2142 | ||
2143 | self = self; | |
2144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_SetParser",_kwnames,&_argo0,&_argo1)) | |
2145 | return NULL; | |
2146 | if (_argo0) { | |
2147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) { | |
2149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p."); | |
2150 | return NULL; | |
2151 | } | |
2152 | } | |
2153 | if (_argo1) { | |
2154 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2155 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) { | |
2156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p."); | |
2157 | return NULL; | |
2158 | } | |
2159 | } | |
2160 | { | |
2161 | wxPy_BEGIN_ALLOW_THREADS; | |
2162 | wxHtmlWinTagHandler_SetParser(_arg0,_arg1); | |
2163 | ||
2164 | wxPy_END_ALLOW_THREADS; | |
2165 | } Py_INCREF(Py_None); | |
2166 | _resultobj = Py_None; | |
2167 | return _resultobj; | |
2168 | } | |
2169 | ||
2170 | #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser()) | |
2171 | static PyObject *_wrap_wxHtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2172 | PyObject * _resultobj; | |
2173 | wxHtmlWinParser * _result; | |
2174 | wxPyHtmlWinTagHandler * _arg0; | |
2175 | PyObject * _argo0 = 0; | |
2176 | char *_kwnames[] = { "self", NULL }; | |
2177 | char _ptemp[128]; | |
2178 | ||
2179 | self = self; | |
2180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinTagHandler_GetParser",_kwnames,&_argo0)) | |
2181 | return NULL; | |
2182 | if (_argo0) { | |
2183 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2184 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) { | |
2185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p."); | |
2186 | return NULL; | |
2187 | } | |
2188 | } | |
2189 | { | |
2190 | wxPy_BEGIN_ALLOW_THREADS; | |
2191 | _result = (wxHtmlWinParser *)wxHtmlWinTagHandler_GetParser(_arg0); | |
2192 | ||
2193 | wxPy_END_ALLOW_THREADS; | |
2194 | } if (_result) { | |
2195 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p"); | |
2196 | _resultobj = Py_BuildValue("s",_ptemp); | |
2197 | } else { | |
2198 | Py_INCREF(Py_None); | |
2199 | _resultobj = Py_None; | |
2200 | } | |
2201 | return _resultobj; | |
2202 | } | |
2203 | ||
2204 | #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0)) | |
2205 | static PyObject *_wrap_wxHtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2206 | PyObject * _resultobj; | |
2207 | wxPyHtmlWinTagHandler * _arg0; | |
2208 | wxHtmlTag * _arg1; | |
2209 | PyObject * _argo0 = 0; | |
2210 | PyObject * _argo1 = 0; | |
2211 | char *_kwnames[] = { "self","tag", NULL }; | |
2212 | ||
2213 | self = self; | |
2214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames,&_argo0,&_argo1)) | |
2215 | return NULL; | |
2216 | if (_argo0) { | |
2217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) { | |
2219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p."); | |
2220 | return NULL; | |
2221 | } | |
2222 | } | |
2223 | if (_argo1) { | |
2224 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2225 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { | |
2226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p."); | |
2227 | return NULL; | |
2228 | } | |
2229 | } | |
2230 | { | |
2231 | wxPy_BEGIN_ALLOW_THREADS; | |
2232 | wxHtmlWinTagHandler_ParseInner(_arg0,*_arg1); | |
2233 | ||
2234 | wxPy_END_ALLOW_THREADS; | |
2235 | } Py_INCREF(Py_None); | |
2236 | _resultobj = Py_None; | |
2237 | return _resultobj; | |
2238 | } | |
325274bb | 2239 | |
e166644c RD |
2240 | #define new_wxHtmlCell() (new wxHtmlCell()) |
2241 | static PyObject *_wrap_new_wxHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2242 | PyObject * _resultobj; |
e166644c RD |
2243 | wxHtmlCell * _result; |
2244 | char *_kwnames[] = { NULL }; | |
325274bb RD |
2245 | char _ptemp[128]; |
2246 | ||
2247 | self = self; | |
e166644c | 2248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlCell",_kwnames)) |
325274bb RD |
2249 | return NULL; |
2250 | { | |
2251 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2252 | _result = (wxHtmlCell *)new_wxHtmlCell(); |
325274bb RD |
2253 | |
2254 | wxPy_END_ALLOW_THREADS; | |
2255 | } if (_result) { | |
e166644c | 2256 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); |
325274bb RD |
2257 | _resultobj = Py_BuildValue("s",_ptemp); |
2258 | } else { | |
2259 | Py_INCREF(Py_None); | |
2260 | _resultobj = Py_None; | |
2261 | } | |
2262 | return _resultobj; | |
2263 | } | |
2264 | ||
e166644c RD |
2265 | #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0)) |
2266 | static PyObject *_wrap_wxHtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2267 | PyObject * _resultobj; |
e166644c RD |
2268 | wxHtmlCell * _arg0; |
2269 | wxHtmlContainerCell * _arg1; | |
325274bb | 2270 | PyObject * _argo0 = 0; |
e166644c RD |
2271 | PyObject * _argo1 = 0; |
2272 | char *_kwnames[] = { "self","p", NULL }; | |
325274bb RD |
2273 | |
2274 | self = self; | |
e166644c | 2275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetParent",_kwnames,&_argo0,&_argo1)) |
325274bb RD |
2276 | return NULL; |
2277 | if (_argo0) { | |
2278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p."); | |
325274bb RD |
2281 | return NULL; |
2282 | } | |
2283 | } | |
e166644c RD |
2284 | if (_argo1) { |
2285 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2286 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlContainerCell_p")) { | |
2287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p."); | |
325274bb RD |
2288 | return NULL; |
2289 | } | |
2290 | } | |
2291 | { | |
2292 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2293 | wxHtmlCell_SetParent(_arg0,_arg1); |
325274bb RD |
2294 | |
2295 | wxPy_END_ALLOW_THREADS; | |
2296 | } Py_INCREF(Py_None); | |
2297 | _resultobj = Py_None; | |
2298 | return _resultobj; | |
2299 | } | |
2300 | ||
e166644c RD |
2301 | #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent()) |
2302 | static PyObject *_wrap_wxHtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2303 | PyObject * _resultobj; |
e166644c RD |
2304 | wxHtmlContainerCell * _result; |
2305 | wxHtmlCell * _arg0; | |
325274bb | 2306 | PyObject * _argo0 = 0; |
0f66a9f3 | 2307 | char *_kwnames[] = { "self", NULL }; |
e166644c | 2308 | char _ptemp[128]; |
325274bb RD |
2309 | |
2310 | self = self; | |
e166644c | 2311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetParent",_kwnames,&_argo0)) |
325274bb RD |
2312 | return NULL; |
2313 | if (_argo0) { | |
2314 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2315 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p."); | |
325274bb RD |
2317 | return NULL; |
2318 | } | |
2319 | } | |
2320 | { | |
2321 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2322 | _result = (wxHtmlContainerCell *)wxHtmlCell_GetParent(_arg0); |
325274bb RD |
2323 | |
2324 | wxPy_END_ALLOW_THREADS; | |
e166644c RD |
2325 | } if (_result) { |
2326 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
2327 | _resultobj = Py_BuildValue("s",_ptemp); | |
2328 | } else { | |
2329 | Py_INCREF(Py_None); | |
2330 | _resultobj = Py_None; | |
2331 | } | |
325274bb RD |
2332 | return _resultobj; |
2333 | } | |
2334 | ||
e166644c RD |
2335 | #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX()) |
2336 | static PyObject *_wrap_wxHtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2337 | PyObject * _resultobj; |
e166644c RD |
2338 | int _result; |
2339 | wxHtmlCell * _arg0; | |
325274bb | 2340 | PyObject * _argo0 = 0; |
0f66a9f3 | 2341 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
2342 | |
2343 | self = self; | |
e166644c | 2344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosX",_kwnames,&_argo0)) |
325274bb RD |
2345 | return NULL; |
2346 | if (_argo0) { | |
2347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p."); | |
325274bb RD |
2350 | return NULL; |
2351 | } | |
2352 | } | |
2353 | { | |
2354 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2355 | _result = (int )wxHtmlCell_GetPosX(_arg0); |
325274bb RD |
2356 | |
2357 | wxPy_END_ALLOW_THREADS; | |
e166644c | 2358 | } _resultobj = Py_BuildValue("i",_result); |
325274bb RD |
2359 | return _resultobj; |
2360 | } | |
2361 | ||
e166644c RD |
2362 | #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY()) |
2363 | static PyObject *_wrap_wxHtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2364 | PyObject * _resultobj; |
e166644c RD |
2365 | int _result; |
2366 | wxHtmlCell * _arg0; | |
325274bb | 2367 | PyObject * _argo0 = 0; |
e166644c | 2368 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
2369 | |
2370 | self = self; | |
e166644c | 2371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosY",_kwnames,&_argo0)) |
325274bb RD |
2372 | return NULL; |
2373 | if (_argo0) { | |
2374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p."); | |
325274bb RD |
2377 | return NULL; |
2378 | } | |
2379 | } | |
2380 | { | |
2381 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2382 | _result = (int )wxHtmlCell_GetPosY(_arg0); |
325274bb RD |
2383 | |
2384 | wxPy_END_ALLOW_THREADS; | |
e166644c | 2385 | } _resultobj = Py_BuildValue("i",_result); |
325274bb RD |
2386 | return _resultobj; |
2387 | } | |
2388 | ||
e166644c RD |
2389 | #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth()) |
2390 | static PyObject *_wrap_wxHtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
0f66a9f3 | 2391 | PyObject * _resultobj; |
e166644c RD |
2392 | int _result; |
2393 | wxHtmlCell * _arg0; | |
0f66a9f3 | 2394 | PyObject * _argo0 = 0; |
e166644c | 2395 | char *_kwnames[] = { "self", NULL }; |
0f66a9f3 RD |
2396 | |
2397 | self = self; | |
e166644c | 2398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetWidth",_kwnames,&_argo0)) |
0f66a9f3 RD |
2399 | return NULL; |
2400 | if (_argo0) { | |
2401 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2402 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p."); | |
0f66a9f3 RD |
2404 | return NULL; |
2405 | } | |
2406 | } | |
0f66a9f3 RD |
2407 | { |
2408 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2409 | _result = (int )wxHtmlCell_GetWidth(_arg0); |
0f66a9f3 RD |
2410 | |
2411 | wxPy_END_ALLOW_THREADS; | |
e166644c | 2412 | } _resultobj = Py_BuildValue("i",_result); |
0f66a9f3 RD |
2413 | return _resultobj; |
2414 | } | |
2415 | ||
e166644c RD |
2416 | #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight()) |
2417 | static PyObject *_wrap_wxHtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2418 | PyObject * _resultobj; |
e166644c RD |
2419 | int _result; |
2420 | wxHtmlCell * _arg0; | |
325274bb | 2421 | PyObject * _argo0 = 0; |
e166644c | 2422 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
2423 | |
2424 | self = self; | |
e166644c | 2425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetHeight",_kwnames,&_argo0)) |
325274bb RD |
2426 | return NULL; |
2427 | if (_argo0) { | |
2428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p."); | |
325274bb RD |
2431 | return NULL; |
2432 | } | |
2433 | } | |
2434 | { | |
2435 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2436 | _result = (int )wxHtmlCell_GetHeight(_arg0); |
325274bb RD |
2437 | |
2438 | wxPy_END_ALLOW_THREADS; | |
2439 | } _resultobj = Py_BuildValue("i",_result); | |
2440 | return _resultobj; | |
2441 | } | |
2442 | ||
e166644c RD |
2443 | #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent()) |
2444 | static PyObject *_wrap_wxHtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2445 | PyObject * _resultobj; |
e166644c RD |
2446 | int _result; |
2447 | wxHtmlCell * _arg0; | |
325274bb | 2448 | PyObject * _argo0 = 0; |
e166644c | 2449 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
2450 | |
2451 | self = self; | |
e166644c | 2452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetDescent",_kwnames,&_argo0)) |
325274bb RD |
2453 | return NULL; |
2454 | if (_argo0) { | |
2455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p."); | |
325274bb RD |
2458 | return NULL; |
2459 | } | |
2460 | } | |
2461 | { | |
2462 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2463 | _result = (int )wxHtmlCell_GetDescent(_arg0); |
325274bb RD |
2464 | |
2465 | wxPy_END_ALLOW_THREADS; | |
2466 | } _resultobj = Py_BuildValue("i",_result); | |
2467 | return _resultobj; | |
2468 | } | |
2469 | ||
e166644c RD |
2470 | #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1)) |
2471 | static PyObject *_wrap_wxHtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb RD |
2472 | PyObject * _resultobj; |
2473 | wxString * _result; | |
e166644c RD |
2474 | wxHtmlCell * _arg0; |
2475 | int _arg1 = (int ) 0; | |
2476 | int _arg2 = (int ) 0; | |
325274bb | 2477 | PyObject * _argo0 = 0; |
e166644c | 2478 | char *_kwnames[] = { "self","x","y", NULL }; |
325274bb RD |
2479 | |
2480 | self = self; | |
e166644c | 2481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxHtmlCell_GetLink",_kwnames,&_argo0,&_arg1,&_arg2)) |
325274bb RD |
2482 | return NULL; |
2483 | if (_argo0) { | |
2484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p."); | |
325274bb RD |
2487 | return NULL; |
2488 | } | |
2489 | } | |
2490 | { | |
2491 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2492 | _result = new wxString (wxHtmlCell_GetLink(_arg0,_arg1,_arg2)); |
325274bb RD |
2493 | |
2494 | wxPy_END_ALLOW_THREADS; | |
2495 | }{ | |
2496 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
2497 | } | |
2498 | { | |
2499 | delete _result; | |
2500 | } | |
2501 | return _resultobj; | |
2502 | } | |
2503 | ||
e166644c RD |
2504 | #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext()) |
2505 | static PyObject *_wrap_wxHtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2506 | PyObject * _resultobj; |
e166644c RD |
2507 | wxHtmlCell * _result; |
2508 | wxHtmlCell * _arg0; | |
325274bb | 2509 | PyObject * _argo0 = 0; |
e166644c RD |
2510 | char *_kwnames[] = { "self", NULL }; |
2511 | char _ptemp[128]; | |
325274bb RD |
2512 | |
2513 | self = self; | |
e166644c | 2514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetNext",_kwnames,&_argo0)) |
325274bb RD |
2515 | return NULL; |
2516 | if (_argo0) { | |
2517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p."); | |
325274bb RD |
2520 | return NULL; |
2521 | } | |
2522 | } | |
2523 | { | |
2524 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2525 | _result = (wxHtmlCell *)wxHtmlCell_GetNext(_arg0); |
325274bb RD |
2526 | |
2527 | wxPy_END_ALLOW_THREADS; | |
e166644c RD |
2528 | } if (_result) { |
2529 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
2530 | _resultobj = Py_BuildValue("s",_ptemp); | |
2531 | } else { | |
2532 | Py_INCREF(Py_None); | |
2533 | _resultobj = Py_None; | |
2534 | } | |
325274bb RD |
2535 | return _resultobj; |
2536 | } | |
2537 | ||
e166644c RD |
2538 | #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1)) |
2539 | static PyObject *_wrap_wxHtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2540 | PyObject * _resultobj; |
e166644c RD |
2541 | wxHtmlCell * _arg0; |
2542 | int _arg1; | |
2543 | int _arg2; | |
325274bb | 2544 | PyObject * _argo0 = 0; |
e166644c | 2545 | char *_kwnames[] = { "self","x","y", NULL }; |
325274bb RD |
2546 | |
2547 | self = self; | |
e166644c | 2548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlCell_SetPos",_kwnames,&_argo0,&_arg1,&_arg2)) |
325274bb RD |
2549 | return NULL; |
2550 | if (_argo0) { | |
2551 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2552 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p."); | |
325274bb RD |
2554 | return NULL; |
2555 | } | |
2556 | } | |
2557 | { | |
2558 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 2559 | wxHtmlCell_SetPos(_arg0,_arg1,_arg2); |
325274bb RD |
2560 | |
2561 | wxPy_END_ALLOW_THREADS; | |
e166644c RD |
2562 | } Py_INCREF(Py_None); |
2563 | _resultobj = Py_None; | |
2564 | return _resultobj; | |
2565 | } | |
2566 | ||
2567 | #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0)) | |
2568 | static PyObject *_wrap_wxHtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2569 | PyObject * _resultobj; | |
2570 | wxHtmlCell * _arg0; | |
2571 | wxString * _arg1; | |
2572 | PyObject * _argo0 = 0; | |
2573 | PyObject * _obj1 = 0; | |
2574 | char *_kwnames[] = { "self","link", NULL }; | |
2575 | ||
2576 | self = self; | |
2577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetLink",_kwnames,&_argo0,&_obj1)) | |
2578 | return NULL; | |
2579 | if (_argo0) { | |
2580 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2581 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p."); | |
2583 | return NULL; | |
2584 | } | |
2585 | } | |
2586 | { | |
2587 | if (!PyString_Check(_obj1)) { | |
2588 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2589 | return NULL; | |
2590 | } | |
2591 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2592 | } | |
2593 | { | |
2594 | wxPy_BEGIN_ALLOW_THREADS; | |
2595 | wxHtmlCell_SetLink(_arg0,*_arg1); | |
2596 | ||
2597 | wxPy_END_ALLOW_THREADS; | |
2598 | } Py_INCREF(Py_None); | |
2599 | _resultobj = Py_None; | |
2600 | { | |
2601 | if (_obj1) | |
2602 | delete _arg1; | |
2603 | } | |
2604 | return _resultobj; | |
2605 | } | |
2606 | ||
2607 | #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0)) | |
2608 | static PyObject *_wrap_wxHtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2609 | PyObject * _resultobj; | |
2610 | wxHtmlCell * _arg0; | |
2611 | wxHtmlCell * _arg1; | |
2612 | PyObject * _argo0 = 0; | |
2613 | PyObject * _argo1 = 0; | |
2614 | char *_kwnames[] = { "self","cell", NULL }; | |
2615 | ||
2616 | self = self; | |
2617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetNext",_kwnames,&_argo0,&_argo1)) | |
2618 | return NULL; | |
2619 | if (_argo0) { | |
2620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p."); | |
2623 | return NULL; | |
2624 | } | |
2625 | } | |
2626 | if (_argo1) { | |
2627 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2628 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
2629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p."); | |
2630 | return NULL; | |
2631 | } | |
2632 | } | |
2633 | { | |
2634 | wxPy_BEGIN_ALLOW_THREADS; | |
2635 | wxHtmlCell_SetNext(_arg0,_arg1); | |
2636 | ||
2637 | wxPy_END_ALLOW_THREADS; | |
2638 | } Py_INCREF(Py_None); | |
2639 | _resultobj = Py_None; | |
2640 | return _resultobj; | |
2641 | } | |
2642 | ||
2643 | #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0)) | |
2644 | static PyObject *_wrap_wxHtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2645 | PyObject * _resultobj; | |
2646 | wxHtmlCell * _arg0; | |
2647 | int _arg1; | |
2648 | PyObject * _argo0 = 0; | |
2649 | char *_kwnames[] = { "self","w", NULL }; | |
2650 | ||
2651 | self = self; | |
2652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_Layout",_kwnames,&_argo0,&_arg1)) | |
2653 | return NULL; | |
2654 | if (_argo0) { | |
2655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p."); | |
2658 | return NULL; | |
2659 | } | |
2660 | } | |
2661 | { | |
2662 | wxPy_BEGIN_ALLOW_THREADS; | |
2663 | wxHtmlCell_Layout(_arg0,_arg1); | |
2664 | ||
2665 | wxPy_END_ALLOW_THREADS; | |
2666 | } Py_INCREF(Py_None); | |
2667 | _resultobj = Py_None; | |
2668 | return _resultobj; | |
2669 | } | |
2670 | ||
2671 | #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2672 | static PyObject *_wrap_wxHtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2673 | PyObject * _resultobj; | |
2674 | wxHtmlCell * _arg0; | |
2675 | wxDC * _arg1; | |
2676 | int _arg2; | |
2677 | int _arg3; | |
2678 | int _arg4; | |
2679 | int _arg5; | |
2680 | PyObject * _argo0 = 0; | |
2681 | PyObject * _argo1 = 0; | |
2682 | char *_kwnames[] = { "self","dc","x","y","view_y1","view_y2", NULL }; | |
2683 | ||
2684 | self = self; | |
2685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii:wxHtmlCell_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2686 | return NULL; | |
2687 | if (_argo0) { | |
2688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p."); | |
2691 | return NULL; | |
2692 | } | |
2693 | } | |
2694 | if (_argo1) { | |
2695 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2696 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p."); | |
2698 | return NULL; | |
2699 | } | |
2700 | } | |
2701 | { | |
2702 | wxPy_BEGIN_ALLOW_THREADS; | |
2703 | wxHtmlCell_Draw(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
2704 | ||
2705 | wxPy_END_ALLOW_THREADS; | |
2706 | } Py_INCREF(Py_None); | |
2707 | _resultobj = Py_None; | |
2708 | return _resultobj; | |
2709 | } | |
2710 | ||
2711 | #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2)) | |
2712 | static PyObject *_wrap_wxHtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2713 | PyObject * _resultobj; | |
2714 | wxHtmlCell * _arg0; | |
2715 | wxDC * _arg1; | |
2716 | int _arg2; | |
2717 | int _arg3; | |
2718 | PyObject * _argo0 = 0; | |
2719 | PyObject * _argo1 = 0; | |
2720 | char *_kwnames[] = { "self","dc","x","y", NULL }; | |
2721 | ||
2722 | self = self; | |
2723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxHtmlCell_DrawInvisible",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
2724 | return NULL; | |
2725 | if (_argo0) { | |
2726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p."); | |
2729 | return NULL; | |
2730 | } | |
2731 | } | |
2732 | if (_argo1) { | |
2733 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2734 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2735 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p."); | |
2736 | return NULL; | |
2737 | } | |
2738 | } | |
2739 | { | |
2740 | wxPy_BEGIN_ALLOW_THREADS; | |
2741 | wxHtmlCell_DrawInvisible(_arg0,*_arg1,_arg2,_arg3); | |
2742 | ||
2743 | wxPy_END_ALLOW_THREADS; | |
2744 | } Py_INCREF(Py_None); | |
2745 | _resultobj = Py_None; | |
2746 | return _resultobj; | |
2747 | } | |
2748 | ||
2749 | #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1)) | |
2750 | static PyObject *_wrap_wxHtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2751 | PyObject * _resultobj; | |
2752 | wxHtmlCell * _result; | |
2753 | wxHtmlCell * _arg0; | |
2754 | int _arg1; | |
2755 | void * _arg2; | |
2756 | PyObject * _argo0 = 0; | |
2757 | PyObject * _argo2 = 0; | |
2758 | char *_kwnames[] = { "self","condition","param", NULL }; | |
2759 | char _ptemp[128]; | |
2760 | ||
2761 | self = self; | |
2762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxHtmlCell_Find",_kwnames,&_argo0,&_arg1,&_argo2)) | |
2763 | return NULL; | |
2764 | if (_argo0) { | |
2765 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2766 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p."); | |
2768 | return NULL; | |
2769 | } | |
2770 | } | |
2771 | if (_argo2) { | |
2772 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2773 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
2774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p."); | |
2775 | return NULL; | |
2776 | } | |
2777 | } | |
2778 | { | |
2779 | wxPy_BEGIN_ALLOW_THREADS; | |
2780 | _result = (wxHtmlCell *)wxHtmlCell_Find(_arg0,_arg1,_arg2); | |
2781 | ||
2782 | wxPy_END_ALLOW_THREADS; | |
2783 | } if (_result) { | |
2784 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
2785 | _resultobj = Py_BuildValue("s",_ptemp); | |
2786 | } else { | |
2787 | Py_INCREF(Py_None); | |
2788 | _resultobj = Py_None; | |
2789 | } | |
2790 | return _resultobj; | |
2791 | } | |
2792 | ||
dc2f8a65 RD |
2793 | #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0)) |
2794 | static PyObject *_wrap_wxHtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2795 | PyObject * _resultobj; | |
2796 | bool _result; | |
2797 | wxHtmlCell * _arg0; | |
2798 | int * _arg1; | |
2799 | PyObject * _argo0 = 0; | |
2800 | PyObject * _argo1 = 0; | |
2801 | char *_kwnames[] = { "self","pagebreak", NULL }; | |
2802 | ||
2803 | self = self; | |
2804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_AdjustPagebreak",_kwnames,&_argo0,&_argo1)) | |
2805 | return NULL; | |
2806 | if (_argo0) { | |
2807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p."); | |
2810 | return NULL; | |
2811 | } | |
2812 | } | |
2813 | if (_argo1) { | |
2814 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2815 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
2816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p."); | |
2817 | return NULL; | |
2818 | } | |
2819 | } | |
2820 | { | |
2821 | wxPy_BEGIN_ALLOW_THREADS; | |
2822 | _result = (bool )wxHtmlCell_AdjustPagebreak(_arg0,_arg1); | |
2823 | ||
2824 | wxPy_END_ALLOW_THREADS; | |
2825 | } _resultobj = Py_BuildValue("i",_result); | |
2826 | return _resultobj; | |
2827 | } | |
2828 | ||
2829 | #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0)) | |
2830 | static PyObject *_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2831 | PyObject * _resultobj; | |
2832 | wxHtmlCell * _arg0; | |
2833 | bool _arg1; | |
2834 | PyObject * _argo0 = 0; | |
2835 | int tempbool1; | |
2836 | char *_kwnames[] = { "self","can", NULL }; | |
2837 | ||
2838 | self = self; | |
2839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames,&_argo0,&tempbool1)) | |
2840 | return NULL; | |
2841 | if (_argo0) { | |
2842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p."); | |
2845 | return NULL; | |
2846 | } | |
2847 | } | |
2848 | _arg1 = (bool ) tempbool1; | |
2849 | { | |
2850 | wxPy_BEGIN_ALLOW_THREADS; | |
2851 | wxHtmlCell_SetCanLiveOnPagebreak(_arg0,_arg1); | |
2852 | ||
2853 | wxPy_END_ALLOW_THREADS; | |
2854 | } Py_INCREF(Py_None); | |
2855 | _resultobj = Py_None; | |
2856 | return _resultobj; | |
2857 | } | |
2858 | ||
e166644c RD |
2859 | static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr) { |
2860 | wxHtmlContainerCell *src; | |
2861 | wxHtmlCell *dest; | |
2862 | src = (wxHtmlContainerCell *) ptr; | |
2863 | dest = (wxHtmlCell *) src; | |
2864 | return (void *) dest; | |
2865 | } | |
2866 | ||
2867 | #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0)) | |
2868 | static PyObject *_wrap_new_wxHtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2869 | PyObject * _resultobj; | |
2870 | wxHtmlContainerCell * _result; | |
2871 | wxHtmlContainerCell * _arg0; | |
2872 | PyObject * _argo0 = 0; | |
2873 | char *_kwnames[] = { "parent", NULL }; | |
2874 | char _ptemp[128]; | |
2875 | ||
2876 | self = self; | |
2877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlContainerCell",_kwnames,&_argo0)) | |
2878 | return NULL; | |
2879 | if (_argo0) { | |
2880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
2882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p."); | |
2883 | return NULL; | |
2884 | } | |
2885 | } | |
2886 | { | |
2887 | wxPy_BEGIN_ALLOW_THREADS; | |
2888 | _result = (wxHtmlContainerCell *)new_wxHtmlContainerCell(_arg0); | |
2889 | ||
2890 | wxPy_END_ALLOW_THREADS; | |
2891 | } if (_result) { | |
2892 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
2893 | _resultobj = Py_BuildValue("s",_ptemp); | |
2894 | } else { | |
2895 | Py_INCREF(Py_None); | |
2896 | _resultobj = Py_None; | |
2897 | } | |
2898 | return _resultobj; | |
2899 | } | |
2900 | ||
2901 | #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0)) | |
2902 | static PyObject *_wrap_wxHtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2903 | PyObject * _resultobj; | |
2904 | wxHtmlContainerCell * _arg0; | |
2905 | wxHtmlCell * _arg1; | |
2906 | PyObject * _argo0 = 0; | |
2907 | PyObject * _argo1 = 0; | |
2908 | char *_kwnames[] = { "self","cell", NULL }; | |
2909 | ||
2910 | self = self; | |
2911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_InsertCell",_kwnames,&_argo0,&_argo1)) | |
2912 | return NULL; | |
2913 | if (_argo0) { | |
2914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
2916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p."); | |
2917 | return NULL; | |
2918 | } | |
2919 | } | |
2920 | if (_argo1) { | |
2921 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2922 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
2923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p."); | |
2924 | return NULL; | |
2925 | } | |
2926 | } | |
2927 | { | |
2928 | wxPy_BEGIN_ALLOW_THREADS; | |
2929 | wxHtmlContainerCell_InsertCell(_arg0,_arg1); | |
2930 | ||
2931 | wxPy_END_ALLOW_THREADS; | |
2932 | } Py_INCREF(Py_None); | |
2933 | _resultobj = Py_None; | |
2934 | return _resultobj; | |
2935 | } | |
2936 | ||
2937 | #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0)) | |
2938 | static PyObject *_wrap_wxHtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2939 | PyObject * _resultobj; | |
2940 | wxHtmlContainerCell * _arg0; | |
2941 | int _arg1; | |
2942 | PyObject * _argo0 = 0; | |
2943 | char *_kwnames[] = { "self","al", NULL }; | |
2944 | ||
2945 | self = self; | |
2946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames,&_argo0,&_arg1)) | |
2947 | return NULL; | |
2948 | if (_argo0) { | |
2949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
2951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p."); | |
2952 | return NULL; | |
2953 | } | |
2954 | } | |
2955 | { | |
2956 | wxPy_BEGIN_ALLOW_THREADS; | |
2957 | wxHtmlContainerCell_SetAlignHor(_arg0,_arg1); | |
2958 | ||
2959 | wxPy_END_ALLOW_THREADS; | |
2960 | } Py_INCREF(Py_None); | |
2961 | _resultobj = Py_None; | |
2962 | return _resultobj; | |
2963 | } | |
2964 | ||
2965 | #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor()) | |
2966 | static PyObject *_wrap_wxHtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2967 | PyObject * _resultobj; | |
2968 | int _result; | |
2969 | wxHtmlContainerCell * _arg0; | |
2970 | PyObject * _argo0 = 0; | |
2971 | char *_kwnames[] = { "self", NULL }; | |
2972 | ||
2973 | self = self; | |
2974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignHor",_kwnames,&_argo0)) | |
2975 | return NULL; | |
2976 | if (_argo0) { | |
2977 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2978 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
2979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p."); | |
2980 | return NULL; | |
2981 | } | |
2982 | } | |
2983 | { | |
2984 | wxPy_BEGIN_ALLOW_THREADS; | |
2985 | _result = (int )wxHtmlContainerCell_GetAlignHor(_arg0); | |
2986 | ||
2987 | wxPy_END_ALLOW_THREADS; | |
2988 | } _resultobj = Py_BuildValue("i",_result); | |
2989 | return _resultobj; | |
2990 | } | |
2991 | ||
2992 | #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0)) | |
2993 | static PyObject *_wrap_wxHtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2994 | PyObject * _resultobj; | |
2995 | wxHtmlContainerCell * _arg0; | |
2996 | int _arg1; | |
2997 | PyObject * _argo0 = 0; | |
2998 | char *_kwnames[] = { "self","al", NULL }; | |
2999 | ||
3000 | self = self; | |
3001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames,&_argo0,&_arg1)) | |
3002 | return NULL; | |
3003 | if (_argo0) { | |
3004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p."); | |
3007 | return NULL; | |
3008 | } | |
3009 | } | |
3010 | { | |
3011 | wxPy_BEGIN_ALLOW_THREADS; | |
3012 | wxHtmlContainerCell_SetAlignVer(_arg0,_arg1); | |
3013 | ||
3014 | wxPy_END_ALLOW_THREADS; | |
3015 | } Py_INCREF(Py_None); | |
3016 | _resultobj = Py_None; | |
3017 | return _resultobj; | |
3018 | } | |
3019 | ||
3020 | #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer()) | |
3021 | static PyObject *_wrap_wxHtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3022 | PyObject * _resultobj; | |
3023 | int _result; | |
3024 | wxHtmlContainerCell * _arg0; | |
3025 | PyObject * _argo0 = 0; | |
3026 | char *_kwnames[] = { "self", NULL }; | |
3027 | ||
3028 | self = self; | |
3029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignVer",_kwnames,&_argo0)) | |
3030 | return NULL; | |
3031 | if (_argo0) { | |
3032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p."); | |
3035 | return NULL; | |
3036 | } | |
3037 | } | |
3038 | { | |
3039 | wxPy_BEGIN_ALLOW_THREADS; | |
3040 | _result = (int )wxHtmlContainerCell_GetAlignVer(_arg0); | |
3041 | ||
3042 | wxPy_END_ALLOW_THREADS; | |
3043 | } _resultobj = Py_BuildValue("i",_result); | |
3044 | return _resultobj; | |
3045 | } | |
3046 | ||
3047 | #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2)) | |
3048 | static PyObject *_wrap_wxHtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3049 | PyObject * _resultobj; | |
3050 | wxHtmlContainerCell * _arg0; | |
3051 | int _arg1; | |
3052 | int _arg2; | |
9d8bd15f | 3053 | int _arg3 = (int ) (wxHTML_UNITS_PIXELS); |
e166644c RD |
3054 | PyObject * _argo0 = 0; |
3055 | char *_kwnames[] = { "self","i","what","units", NULL }; | |
3056 | ||
3057 | self = self; | |
3058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
3059 | return NULL; | |
3060 | if (_argo0) { | |
3061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p."); | |
3064 | return NULL; | |
3065 | } | |
3066 | } | |
3067 | { | |
3068 | wxPy_BEGIN_ALLOW_THREADS; | |
3069 | wxHtmlContainerCell_SetIndent(_arg0,_arg1,_arg2,_arg3); | |
3070 | ||
3071 | wxPy_END_ALLOW_THREADS; | |
3072 | } Py_INCREF(Py_None); | |
3073 | _resultobj = Py_None; | |
3074 | return _resultobj; | |
3075 | } | |
3076 | ||
3077 | #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0)) | |
3078 | static PyObject *_wrap_wxHtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3079 | PyObject * _resultobj; | |
3080 | int _result; | |
3081 | wxHtmlContainerCell * _arg0; | |
3082 | int _arg1; | |
3083 | PyObject * _argo0 = 0; | |
3084 | char *_kwnames[] = { "self","ind", NULL }; | |
3085 | ||
3086 | self = self; | |
3087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndent",_kwnames,&_argo0,&_arg1)) | |
3088 | return NULL; | |
3089 | if (_argo0) { | |
3090 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3091 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3092 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p."); | |
3093 | return NULL; | |
3094 | } | |
3095 | } | |
3096 | { | |
3097 | wxPy_BEGIN_ALLOW_THREADS; | |
3098 | _result = (int )wxHtmlContainerCell_GetIndent(_arg0,_arg1); | |
3099 | ||
3100 | wxPy_END_ALLOW_THREADS; | |
3101 | } _resultobj = Py_BuildValue("i",_result); | |
3102 | return _resultobj; | |
3103 | } | |
3104 | ||
3105 | #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0)) | |
3106 | static PyObject *_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3107 | PyObject * _resultobj; | |
3108 | int _result; | |
3109 | wxHtmlContainerCell * _arg0; | |
3110 | int _arg1; | |
3111 | PyObject * _argo0 = 0; | |
3112 | char *_kwnames[] = { "self","ind", NULL }; | |
3113 | ||
3114 | self = self; | |
3115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames,&_argo0,&_arg1)) | |
3116 | return NULL; | |
3117 | if (_argo0) { | |
3118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p."); | |
3121 | return NULL; | |
3122 | } | |
3123 | } | |
3124 | { | |
3125 | wxPy_BEGIN_ALLOW_THREADS; | |
3126 | _result = (int )wxHtmlContainerCell_GetIndentUnits(_arg0,_arg1); | |
3127 | ||
3128 | wxPy_END_ALLOW_THREADS; | |
3129 | } _resultobj = Py_BuildValue("i",_result); | |
3130 | return _resultobj; | |
3131 | } | |
3132 | ||
3133 | #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0)) | |
3134 | static PyObject *_wrap_wxHtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3135 | PyObject * _resultobj; | |
3136 | wxHtmlContainerCell * _arg0; | |
3137 | wxHtmlTag * _arg1; | |
3138 | PyObject * _argo0 = 0; | |
3139 | PyObject * _argo1 = 0; | |
3140 | char *_kwnames[] = { "self","tag", NULL }; | |
3141 | ||
3142 | self = self; | |
3143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetAlign",_kwnames,&_argo0,&_argo1)) | |
3144 | return NULL; | |
3145 | if (_argo0) { | |
3146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p."); | |
3149 | return NULL; | |
3150 | } | |
3151 | } | |
3152 | if (_argo1) { | |
3153 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3154 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { | |
3155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p."); | |
3156 | return NULL; | |
3157 | } | |
3158 | } | |
3159 | { | |
3160 | wxPy_BEGIN_ALLOW_THREADS; | |
3161 | wxHtmlContainerCell_SetAlign(_arg0,*_arg1); | |
3162 | ||
3163 | wxPy_END_ALLOW_THREADS; | |
3164 | } Py_INCREF(Py_None); | |
3165 | _resultobj = Py_None; | |
3166 | return _resultobj; | |
3167 | } | |
3168 | ||
3169 | #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1)) | |
3170 | static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3171 | PyObject * _resultobj; | |
3172 | wxHtmlContainerCell * _arg0; | |
3173 | int _arg1; | |
3174 | int _arg2; | |
3175 | PyObject * _argo0 = 0; | |
3176 | char *_kwnames[] = { "self","w","units", NULL }; | |
3177 | ||
3178 | self = self; | |
3179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3180 | return NULL; | |
3181 | if (_argo0) { | |
3182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p."); | |
3185 | return NULL; | |
3186 | } | |
3187 | } | |
3188 | { | |
3189 | wxPy_BEGIN_ALLOW_THREADS; | |
3190 | wxHtmlContainerCell_SetWidthFloat(_arg0,_arg1,_arg2); | |
3191 | ||
3192 | wxPy_END_ALLOW_THREADS; | |
3193 | } Py_INCREF(Py_None); | |
3194 | _resultobj = Py_None; | |
3195 | return _resultobj; | |
3196 | } | |
3197 | ||
3198 | #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0)) | |
3199 | static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3200 | PyObject * _resultobj; | |
3201 | wxHtmlContainerCell * _arg0; | |
3202 | wxHtmlTag * _arg1; | |
3203 | PyObject * _argo0 = 0; | |
3204 | PyObject * _argo1 = 0; | |
3205 | char *_kwnames[] = { "self","tag", NULL }; | |
3206 | ||
3207 | self = self; | |
3208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames,&_argo0,&_argo1)) | |
3209 | return NULL; | |
3210 | if (_argo0) { | |
3211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p."); | |
3214 | return NULL; | |
3215 | } | |
3216 | } | |
3217 | if (_argo1) { | |
3218 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3219 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { | |
3220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p."); | |
3221 | return NULL; | |
3222 | } | |
3223 | } | |
3224 | { | |
3225 | wxPy_BEGIN_ALLOW_THREADS; | |
3226 | wxHtmlContainerCell_SetWidthFloatFromTag(_arg0,*_arg1); | |
3227 | ||
3228 | wxPy_END_ALLOW_THREADS; | |
3229 | } Py_INCREF(Py_None); | |
3230 | _resultobj = Py_None; | |
3231 | return _resultobj; | |
3232 | } | |
3233 | ||
3234 | #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1)) | |
3235 | static PyObject *_wrap_wxHtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3236 | PyObject * _resultobj; | |
3237 | wxHtmlContainerCell * _arg0; | |
3238 | int _arg1; | |
9d8bd15f | 3239 | int _arg2 = (int ) (wxHTML_ALIGN_TOP); |
e166644c RD |
3240 | PyObject * _argo0 = 0; |
3241 | char *_kwnames[] = { "self","h","align", NULL }; | |
3242 | ||
3243 | self = self; | |
3244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3245 | return NULL; | |
3246 | if (_argo0) { | |
3247 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3248 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p."); | |
3250 | return NULL; | |
3251 | } | |
3252 | } | |
3253 | { | |
3254 | wxPy_BEGIN_ALLOW_THREADS; | |
3255 | wxHtmlContainerCell_SetMinHeight(_arg0,_arg1,_arg2); | |
3256 | ||
3257 | wxPy_END_ALLOW_THREADS; | |
3258 | } Py_INCREF(Py_None); | |
3259 | _resultobj = Py_None; | |
3260 | return _resultobj; | |
3261 | } | |
3262 | ||
3263 | #define wxHtmlContainerCell_GetMaxLineWidth(_swigobj) (_swigobj->GetMaxLineWidth()) | |
3264 | static PyObject *_wrap_wxHtmlContainerCell_GetMaxLineWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3265 | PyObject * _resultobj; | |
3266 | int _result; | |
3267 | wxHtmlContainerCell * _arg0; | |
3268 | PyObject * _argo0 = 0; | |
3269 | char *_kwnames[] = { "self", NULL }; | |
3270 | ||
3271 | self = self; | |
3272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetMaxLineWidth",_kwnames,&_argo0)) | |
3273 | return NULL; | |
3274 | if (_argo0) { | |
3275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetMaxLineWidth. Expected _wxHtmlContainerCell_p."); | |
3278 | return NULL; | |
3279 | } | |
3280 | } | |
3281 | { | |
3282 | wxPy_BEGIN_ALLOW_THREADS; | |
3283 | _result = (int )wxHtmlContainerCell_GetMaxLineWidth(_arg0); | |
3284 | ||
3285 | wxPy_END_ALLOW_THREADS; | |
3286 | } _resultobj = Py_BuildValue("i",_result); | |
3287 | return _resultobj; | |
3288 | } | |
3289 | ||
3290 | #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
3291 | static PyObject *_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3292 | PyObject * _resultobj; | |
3293 | wxHtmlContainerCell * _arg0; | |
3294 | wxColour * _arg1; | |
3295 | PyObject * _argo0 = 0; | |
3296 | PyObject * _argo1 = 0; | |
3297 | char *_kwnames[] = { "self","clr", NULL }; | |
3298 | ||
3299 | self = self; | |
3300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames,&_argo0,&_argo1)) | |
3301 | return NULL; | |
3302 | if (_argo0) { | |
3303 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3304 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p."); | |
3306 | return NULL; | |
3307 | } | |
3308 | } | |
3309 | if (_argo1) { | |
3310 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3311 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
3312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxColour_p."); | |
3313 | return NULL; | |
3314 | } | |
3315 | } | |
3316 | { | |
3317 | wxPy_BEGIN_ALLOW_THREADS; | |
3318 | wxHtmlContainerCell_SetBackgroundColour(_arg0,*_arg1); | |
3319 | ||
3320 | wxPy_END_ALLOW_THREADS; | |
3321 | } Py_INCREF(Py_None); | |
3322 | _resultobj = Py_None; | |
3323 | return _resultobj; | |
3324 | } | |
3325 | ||
3326 | #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1)) | |
3327 | static PyObject *_wrap_wxHtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3328 | PyObject * _resultobj; | |
3329 | wxHtmlContainerCell * _arg0; | |
3330 | wxColour * _arg1; | |
3331 | wxColour * _arg2; | |
3332 | PyObject * _argo0 = 0; | |
3333 | PyObject * _argo1 = 0; | |
3334 | PyObject * _argo2 = 0; | |
3335 | char *_kwnames[] = { "self","clr1","clr2", NULL }; | |
3336 | ||
3337 | self = self; | |
3338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlContainerCell_SetBorder",_kwnames,&_argo0,&_argo1,&_argo2)) | |
3339 | return NULL; | |
3340 | if (_argo0) { | |
3341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p."); | |
3344 | return NULL; | |
3345 | } | |
3346 | } | |
3347 | if (_argo1) { | |
3348 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3349 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
3350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetBorder. Expected _wxColour_p."); | |
3351 | return NULL; | |
3352 | } | |
3353 | } | |
3354 | if (_argo2) { | |
3355 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3356 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxColour_p")) { | |
3357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlContainerCell_SetBorder. Expected _wxColour_p."); | |
3358 | return NULL; | |
3359 | } | |
3360 | } | |
3361 | { | |
3362 | wxPy_BEGIN_ALLOW_THREADS; | |
3363 | wxHtmlContainerCell_SetBorder(_arg0,*_arg1,*_arg2); | |
3364 | ||
3365 | wxPy_END_ALLOW_THREADS; | |
3366 | } Py_INCREF(Py_None); | |
3367 | _resultobj = Py_None; | |
3368 | return _resultobj; | |
3369 | } | |
3370 | ||
3371 | #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell()) | |
3372 | static PyObject *_wrap_wxHtmlContainerCell_GetFirstCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3373 | PyObject * _resultobj; | |
3374 | wxHtmlCell * _result; | |
3375 | wxHtmlContainerCell * _arg0; | |
3376 | PyObject * _argo0 = 0; | |
3377 | char *_kwnames[] = { "self", NULL }; | |
3378 | char _ptemp[128]; | |
3379 | ||
3380 | self = self; | |
3381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetFirstCell",_kwnames,&_argo0)) | |
3382 | return NULL; | |
3383 | if (_argo0) { | |
3384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p."); | |
3387 | return NULL; | |
3388 | } | |
3389 | } | |
3390 | { | |
3391 | wxPy_BEGIN_ALLOW_THREADS; | |
3392 | _result = (wxHtmlCell *)wxHtmlContainerCell_GetFirstCell(_arg0); | |
3393 | ||
3394 | wxPy_END_ALLOW_THREADS; | |
3395 | } if (_result) { | |
3396 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
3397 | _resultobj = Py_BuildValue("s",_ptemp); | |
3398 | } else { | |
3399 | Py_INCREF(Py_None); | |
3400 | _resultobj = Py_None; | |
3401 | } | |
3402 | return _resultobj; | |
3403 | } | |
3404 | ||
3405 | static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr) { | |
3406 | wxHtmlWidgetCell *src; | |
3407 | wxHtmlCell *dest; | |
3408 | src = (wxHtmlWidgetCell *) ptr; | |
3409 | dest = (wxHtmlCell *) src; | |
3410 | return (void *) dest; | |
3411 | } | |
3412 | ||
3413 | #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1)) | |
3414 | static PyObject *_wrap_new_wxHtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3415 | PyObject * _resultobj; | |
3416 | wxHtmlWidgetCell * _result; | |
3417 | wxWindow * _arg0; | |
3418 | int _arg1 = (int ) 0; | |
3419 | PyObject * _argo0 = 0; | |
3420 | char *_kwnames[] = { "wnd","w", NULL }; | |
3421 | char _ptemp[128]; | |
3422 | ||
3423 | self = self; | |
3424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlWidgetCell",_kwnames,&_argo0,&_arg1)) | |
3425 | return NULL; | |
3426 | if (_argo0) { | |
3427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
3429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p."); | |
3430 | return NULL; | |
3431 | } | |
3432 | } | |
3433 | { | |
3434 | wxPy_BEGIN_ALLOW_THREADS; | |
3435 | _result = (wxHtmlWidgetCell *)new_wxHtmlWidgetCell(_arg0,_arg1); | |
3436 | ||
3437 | wxPy_END_ALLOW_THREADS; | |
3438 | } if (_result) { | |
3439 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWidgetCell_p"); | |
3440 | _resultobj = Py_BuildValue("s",_ptemp); | |
3441 | } else { | |
3442 | Py_INCREF(Py_None); | |
3443 | _resultobj = Py_None; | |
3444 | } | |
3445 | return _resultobj; | |
3446 | } | |
3447 | ||
3448 | #define new_HtmlHistoryItem(_swigarg0,_swigarg1) (new HtmlHistoryItem(_swigarg0,_swigarg1)) | |
3449 | static PyObject *_wrap_new_HtmlHistoryItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3450 | PyObject * _resultobj; | |
3451 | HtmlHistoryItem * _result; | |
3452 | char * _arg0; | |
3453 | char * _arg1; | |
3454 | char *_kwnames[] = { "p","a", NULL }; | |
3455 | char _ptemp[128]; | |
3456 | ||
3457 | self = self; | |
3458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ss:new_HtmlHistoryItem",_kwnames,&_arg0,&_arg1)) | |
3459 | return NULL; | |
3460 | { | |
3461 | wxPy_BEGIN_ALLOW_THREADS; | |
3462 | _result = (HtmlHistoryItem *)new_HtmlHistoryItem(_arg0,_arg1); | |
3463 | ||
3464 | wxPy_END_ALLOW_THREADS; | |
3465 | } if (_result) { | |
3466 | SWIG_MakePtr(_ptemp, (char *) _result,"_HtmlHistoryItem_p"); | |
3467 | _resultobj = Py_BuildValue("s",_ptemp); | |
3468 | } else { | |
3469 | Py_INCREF(Py_None); | |
3470 | _resultobj = Py_None; | |
3471 | } | |
3472 | return _resultobj; | |
3473 | } | |
3474 | ||
3475 | #define HtmlHistoryItem_GetPos(_swigobj) (_swigobj->GetPos()) | |
3476 | static PyObject *_wrap_HtmlHistoryItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3477 | PyObject * _resultobj; | |
3478 | int _result; | |
3479 | HtmlHistoryItem * _arg0; | |
3480 | PyObject * _argo0 = 0; | |
3481 | char *_kwnames[] = { "self", NULL }; | |
3482 | ||
3483 | self = self; | |
3484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:HtmlHistoryItem_GetPos",_kwnames,&_argo0)) | |
3485 | return NULL; | |
3486 | if (_argo0) { | |
3487 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3488 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) { | |
3489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPos. Expected _HtmlHistoryItem_p."); | |
3490 | return NULL; | |
3491 | } | |
3492 | } | |
3493 | { | |
3494 | wxPy_BEGIN_ALLOW_THREADS; | |
3495 | _result = (int )HtmlHistoryItem_GetPos(_arg0); | |
3496 | ||
3497 | wxPy_END_ALLOW_THREADS; | |
3498 | } _resultobj = Py_BuildValue("i",_result); | |
3499 | return _resultobj; | |
3500 | } | |
3501 | ||
3502 | #define HtmlHistoryItem_SetPos(_swigobj,_swigarg0) (_swigobj->SetPos(_swigarg0)) | |
3503 | static PyObject *_wrap_HtmlHistoryItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3504 | PyObject * _resultobj; | |
3505 | HtmlHistoryItem * _arg0; | |
3506 | int _arg1; | |
3507 | PyObject * _argo0 = 0; | |
3508 | char *_kwnames[] = { "self","p", NULL }; | |
3509 | ||
3510 | self = self; | |
3511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:HtmlHistoryItem_SetPos",_kwnames,&_argo0,&_arg1)) | |
3512 | return NULL; | |
3513 | if (_argo0) { | |
3514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) { | |
3516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_SetPos. Expected _HtmlHistoryItem_p."); | |
3517 | return NULL; | |
3518 | } | |
3519 | } | |
3520 | { | |
3521 | wxPy_BEGIN_ALLOW_THREADS; | |
3522 | HtmlHistoryItem_SetPos(_arg0,_arg1); | |
3523 | ||
3524 | wxPy_END_ALLOW_THREADS; | |
3525 | } Py_INCREF(Py_None); | |
3526 | _resultobj = Py_None; | |
3527 | return _resultobj; | |
3528 | } | |
3529 | ||
3530 | #define HtmlHistoryItem_GetPage(_swigobj) (_swigobj->GetPage()) | |
3531 | static PyObject *_wrap_HtmlHistoryItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3532 | PyObject * _resultobj; | |
3533 | wxString * _result; | |
3534 | HtmlHistoryItem * _arg0; | |
3535 | PyObject * _argo0 = 0; | |
3536 | char *_kwnames[] = { "self", NULL }; | |
3537 | ||
3538 | self = self; | |
3539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:HtmlHistoryItem_GetPage",_kwnames,&_argo0)) | |
3540 | return NULL; | |
3541 | if (_argo0) { | |
3542 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3543 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) { | |
3544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPage. Expected _HtmlHistoryItem_p."); | |
3545 | return NULL; | |
3546 | } | |
3547 | } | |
3548 | { | |
3549 | wxPy_BEGIN_ALLOW_THREADS; | |
3550 | const wxString & _result_ref = HtmlHistoryItem_GetPage(_arg0); | |
3551 | _result = (wxString *) &_result_ref; | |
3552 | ||
3553 | wxPy_END_ALLOW_THREADS; | |
3554 | }{ | |
3555 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
3556 | } | |
3557 | return _resultobj; | |
3558 | } | |
3559 | ||
3560 | #define HtmlHistoryItem_GetAnchor(_swigobj) (_swigobj->GetAnchor()) | |
3561 | static PyObject *_wrap_HtmlHistoryItem_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3562 | PyObject * _resultobj; | |
3563 | wxString * _result; | |
3564 | HtmlHistoryItem * _arg0; | |
3565 | PyObject * _argo0 = 0; | |
3566 | char *_kwnames[] = { "self", NULL }; | |
3567 | ||
3568 | self = self; | |
3569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:HtmlHistoryItem_GetAnchor",_kwnames,&_argo0)) | |
3570 | return NULL; | |
3571 | if (_argo0) { | |
3572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) { | |
3574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetAnchor. Expected _HtmlHistoryItem_p."); | |
3575 | return NULL; | |
3576 | } | |
3577 | } | |
3578 | { | |
3579 | wxPy_BEGIN_ALLOW_THREADS; | |
3580 | const wxString & _result_ref = HtmlHistoryItem_GetAnchor(_arg0); | |
3581 | _result = (wxString *) &_result_ref; | |
3582 | ||
3583 | wxPy_END_ALLOW_THREADS; | |
3584 | }{ | |
3585 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
3586 | } | |
3587 | return _resultobj; | |
3588 | } | |
3589 | ||
3590 | static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr) { | |
3591 | wxPyHtmlWindow *src; | |
3592 | wxScrolledWindow *dest; | |
3593 | src = (wxPyHtmlWindow *) ptr; | |
3594 | dest = (wxScrolledWindow *) src; | |
3595 | return (void *) dest; | |
3596 | } | |
3597 | ||
3598 | static void *SwigwxPyHtmlWindowTowxPanel(void *ptr) { | |
3599 | wxPyHtmlWindow *src; | |
3600 | wxPanel *dest; | |
3601 | src = (wxPyHtmlWindow *) ptr; | |
3602 | dest = (wxPanel *) src; | |
3603 | return (void *) dest; | |
3604 | } | |
3605 | ||
3606 | static void *SwigwxPyHtmlWindowTowxWindow(void *ptr) { | |
3607 | wxPyHtmlWindow *src; | |
3608 | wxWindow *dest; | |
3609 | src = (wxPyHtmlWindow *) ptr; | |
3610 | dest = (wxWindow *) src; | |
3611 | return (void *) dest; | |
3612 | } | |
3613 | ||
3614 | static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr) { | |
3615 | wxPyHtmlWindow *src; | |
3616 | wxEvtHandler *dest; | |
3617 | src = (wxPyHtmlWindow *) ptr; | |
3618 | dest = (wxEvtHandler *) src; | |
3619 | return (void *) dest; | |
3620 | } | |
3621 | ||
3622 | #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3623 | static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3624 | PyObject * _resultobj; | |
3625 | wxPyHtmlWindow * _result; | |
3626 | wxWindow * _arg0; | |
3627 | int _arg1 = (int ) -1; | |
3628 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
3629 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
3630 | int _arg4 = (int ) wxHW_SCROLLBAR_AUTO; | |
3631 | char * _arg5 = (char *) "htmlWindow"; | |
3632 | PyObject * _argo0 = 0; | |
2f90df85 RD |
3633 | wxPoint temp; |
3634 | PyObject * _obj2 = 0; | |
3635 | wxSize temp0; | |
3636 | PyObject * _obj3 = 0; | |
e166644c RD |
3637 | char *_kwnames[] = { "parent","id","pos","size","flags","name", NULL }; |
3638 | char _ptemp[128]; | |
3639 | ||
3640 | self = self; | |
2f90df85 | 3641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOis:new_wxHtmlWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
e166644c RD |
3642 | return NULL; |
3643 | if (_argo0) { | |
3644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
3646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p."); | |
3647 | return NULL; | |
3648 | } | |
3649 | } | |
2f90df85 RD |
3650 | if (_obj2) |
3651 | { | |
3652 | _arg2 = &temp; | |
3653 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e166644c | 3654 | return NULL; |
2f90df85 RD |
3655 | } |
3656 | if (_obj3) | |
3657 | { | |
3658 | _arg3 = &temp0; | |
3659 | if (! wxSize_helper(_obj3, &_arg3)) | |
e166644c | 3660 | return NULL; |
2f90df85 | 3661 | } |
e166644c RD |
3662 | { |
3663 | wxPy_BEGIN_ALLOW_THREADS; | |
3664 | _result = (wxPyHtmlWindow *)new_wxHtmlWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
3665 | ||
3666 | wxPy_END_ALLOW_THREADS; | |
3667 | } if (_result) { | |
3668 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p"); | |
3669 | _resultobj = Py_BuildValue("s",_ptemp); | |
3670 | } else { | |
3671 | Py_INCREF(Py_None); | |
3672 | _resultobj = Py_None; | |
3673 | } | |
3674 | return _resultobj; | |
3675 | } | |
3676 | ||
3677 | #define wxHtmlWindow__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
3678 | static PyObject *_wrap_wxHtmlWindow__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3679 | PyObject * _resultobj; | |
3680 | wxPyHtmlWindow * _arg0; | |
3681 | PyObject * _arg1; | |
3682 | PyObject * _argo0 = 0; | |
3683 | PyObject * _obj1 = 0; | |
3684 | char *_kwnames[] = { "self","self", NULL }; | |
3685 | ||
3686 | self = self; | |
3687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow__setSelf",_kwnames,&_argo0,&_obj1)) | |
3688 | return NULL; | |
3689 | if (_argo0) { | |
3690 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3691 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
3692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow__setSelf. Expected _wxPyHtmlWindow_p."); | |
3693 | return NULL; | |
3694 | } | |
3695 | } | |
3696 | { | |
3697 | _arg1 = _obj1; | |
3698 | } | |
3699 | { | |
3700 | wxPy_BEGIN_ALLOW_THREADS; | |
3701 | wxHtmlWindow__setSelf(_arg0,_arg1); | |
3702 | ||
3703 | wxPy_END_ALLOW_THREADS; | |
3704 | } Py_INCREF(Py_None); | |
3705 | _resultobj = Py_None; | |
3706 | return _resultobj; | |
3707 | } | |
3708 | ||
3709 | #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0)) | |
3710 | static PyObject *_wrap_wxHtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3711 | PyObject * _resultobj; | |
3712 | bool _result; | |
3713 | wxPyHtmlWindow * _arg0; | |
3714 | char * _arg1; | |
3715 | PyObject * _argo0 = 0; | |
3716 | char *_kwnames[] = { "self","source", NULL }; | |
3717 | ||
3718 | self = self; | |
3719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_SetPage",_kwnames,&_argo0,&_arg1)) | |
3720 | return NULL; | |
3721 | if (_argo0) { | |
3722 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3723 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
3724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p."); | |
3725 | return NULL; | |
3726 | } | |
3727 | } | |
3728 | { | |
3729 | wxPy_BEGIN_ALLOW_THREADS; | |
3730 | _result = (bool )wxHtmlWindow_SetPage(_arg0,_arg1); | |
3731 | ||
3732 | wxPy_END_ALLOW_THREADS; | |
3733 | } _resultobj = Py_BuildValue("i",_result); | |
3734 | return _resultobj; | |
3735 | } | |
3736 | ||
3737 | #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0)) | |
3738 | static PyObject *_wrap_wxHtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3739 | PyObject * _resultobj; | |
3740 | bool _result; | |
3741 | wxPyHtmlWindow * _arg0; | |
3742 | char * _arg1; | |
3743 | PyObject * _argo0 = 0; | |
3744 | char *_kwnames[] = { "self","location", NULL }; | |
3745 | ||
3746 | self = self; | |
3747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_LoadPage",_kwnames,&_argo0,&_arg1)) | |
3748 | return NULL; | |
3749 | if (_argo0) { | |
3750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
3752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p."); | |
3753 | return NULL; | |
3754 | } | |
3755 | } | |
3756 | { | |
3757 | wxPy_BEGIN_ALLOW_THREADS; | |
3758 | _result = (bool )wxHtmlWindow_LoadPage(_arg0,_arg1); | |
3759 | ||
3760 | wxPy_END_ALLOW_THREADS; | |
3761 | } _resultobj = Py_BuildValue("i",_result); | |
3762 | return _resultobj; | |
3763 | } | |
3764 | ||
3765 | #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage()) | |
3766 | static PyObject *_wrap_wxHtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3767 | PyObject * _resultobj; | |
3768 | wxString * _result; | |
3769 | wxPyHtmlWindow * _arg0; | |
3770 | PyObject * _argo0 = 0; | |
3771 | char *_kwnames[] = { "self", NULL }; | |
3772 | ||
3773 | self = self; | |
3774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPage",_kwnames,&_argo0)) | |
3775 | return NULL; | |
3776 | if (_argo0) { | |
3777 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3778 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
3779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p."); | |
3780 | return NULL; | |
3781 | } | |
3782 | } | |
3783 | { | |
3784 | wxPy_BEGIN_ALLOW_THREADS; | |
3785 | _result = new wxString (wxHtmlWindow_GetOpenedPage(_arg0)); | |
3786 | ||
3787 | wxPy_END_ALLOW_THREADS; | |
3788 | }{ | |
3789 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
3790 | } | |
3791 | { | |
3792 | delete _result; | |
3793 | } | |
3794 | return _resultobj; | |
3795 | } | |
3796 | ||
3797 | #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1)) | |
3798 | static PyObject *_wrap_wxHtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3799 | PyObject * _resultobj; | |
3800 | wxPyHtmlWindow * _arg0; | |
3801 | wxFrame * _arg1; | |
3802 | char * _arg2; | |
3803 | PyObject * _argo0 = 0; | |
3804 | PyObject * _argo1 = 0; | |
3805 | char *_kwnames[] = { "self","frame","format", NULL }; | |
3806 | ||
3807 | self = self; | |
3808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames,&_argo0,&_argo1,&_arg2)) | |
3809 | return NULL; | |
3810 | if (_argo0) { | |
3811 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3812 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
3813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p."); | |
3814 | return NULL; | |
3815 | } | |
3816 | } | |
3817 | if (_argo1) { | |
3818 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3819 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) { | |
3820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p."); | |
3821 | return NULL; | |
3822 | } | |
3823 | } | |
3824 | { | |
3825 | wxPy_BEGIN_ALLOW_THREADS; | |
3826 | wxHtmlWindow_SetRelatedFrame(_arg0,_arg1,_arg2); | |
3827 | ||
3828 | wxPy_END_ALLOW_THREADS; | |
3829 | } Py_INCREF(Py_None); | |
3830 | _resultobj = Py_None; | |
3831 | return _resultobj; | |
3832 | } | |
3833 | ||
3834 | #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame()) | |
3835 | static PyObject *_wrap_wxHtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3836 | PyObject * _resultobj; | |
3837 | wxFrame * _result; | |
3838 | wxPyHtmlWindow * _arg0; | |
3839 | PyObject * _argo0 = 0; | |
3840 | char *_kwnames[] = { "self", NULL }; | |
3841 | char _ptemp[128]; | |
3842 | ||
3843 | self = self; | |
3844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetRelatedFrame",_kwnames,&_argo0)) | |
3845 | return NULL; | |
3846 | if (_argo0) { | |
3847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
3849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p."); | |
3850 | return NULL; | |
3851 | } | |
3852 | } | |
3853 | { | |
3854 | wxPy_BEGIN_ALLOW_THREADS; | |
3855 | _result = (wxFrame *)wxHtmlWindow_GetRelatedFrame(_arg0); | |
3856 | ||
3857 | wxPy_END_ALLOW_THREADS; | |
3858 | } if (_result) { | |
3859 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
3860 | _resultobj = Py_BuildValue("s",_ptemp); | |
3861 | } else { | |
3862 | Py_INCREF(Py_None); | |
325274bb RD |
3863 | _resultobj = Py_None; |
3864 | } | |
3865 | return _resultobj; | |
3866 | } | |
3867 | ||
3868 | #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0)) | |
0f66a9f3 | 3869 | static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 3870 | PyObject * _resultobj; |
0f66a9f3 | 3871 | wxPyHtmlWindow * _arg0; |
325274bb RD |
3872 | int _arg1; |
3873 | PyObject * _argo0 = 0; | |
0f66a9f3 | 3874 | char *_kwnames[] = { "self","bar", NULL }; |
325274bb RD |
3875 | |
3876 | self = self; | |
0f66a9f3 | 3877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames,&_argo0,&_arg1)) |
325274bb RD |
3878 | return NULL; |
3879 | if (_argo0) { | |
3880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
3881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
3882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
3883 | return NULL; |
3884 | } | |
3885 | } | |
3886 | { | |
3887 | wxPy_BEGIN_ALLOW_THREADS; | |
3888 | wxHtmlWindow_SetRelatedStatusBar(_arg0,_arg1); | |
3889 | ||
3890 | wxPy_END_ALLOW_THREADS; | |
3891 | } Py_INCREF(Py_None); | |
3892 | _resultobj = Py_None; | |
3893 | return _resultobj; | |
3894 | } | |
3895 | ||
3896 | #define wxHtmlWindow_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
0f66a9f3 | 3897 | static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 3898 | PyObject * _resultobj; |
0f66a9f3 | 3899 | wxPyHtmlWindow * _arg0; |
325274bb RD |
3900 | wxString * _arg1; |
3901 | int _arg2; | |
3902 | wxString * _arg3; | |
3903 | int _arg4; | |
3904 | int * _arg5; | |
3905 | PyObject * _argo0 = 0; | |
3906 | PyObject * _obj1 = 0; | |
3907 | PyObject * _obj3 = 0; | |
0f66a9f3 RD |
3908 | PyObject * _obj5 = 0; |
3909 | char *_kwnames[] = { "self","normal_face","normal_italic_mode","fixed_face","fixed_italic_mode","LIST", NULL }; | |
325274bb RD |
3910 | |
3911 | self = self; | |
0f66a9f3 | 3912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiOiO:wxHtmlWindow_SetFonts",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3,&_arg4,&_obj5)) |
325274bb RD |
3913 | return NULL; |
3914 | if (_argo0) { | |
3915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
3916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
3917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
3918 | return NULL; |
3919 | } | |
3920 | } | |
3921 | { | |
3922 | if (!PyString_Check(_obj1)) { | |
3923 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3924 | return NULL; | |
3925 | } | |
3926 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
3927 | } | |
3928 | { | |
3929 | if (!PyString_Check(_obj3)) { | |
3930 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3931 | return NULL; | |
3932 | } | |
3933 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); | |
3934 | } | |
0f66a9f3 RD |
3935 | { |
3936 | _arg5 = int_LIST_helper(_obj5); | |
3937 | if (_arg5 == NULL) { | |
325274bb | 3938 | return NULL; |
325274bb | 3939 | } |
0f66a9f3 | 3940 | } |
325274bb RD |
3941 | { |
3942 | wxPy_BEGIN_ALLOW_THREADS; | |
3943 | wxHtmlWindow_SetFonts(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5); | |
3944 | ||
3945 | wxPy_END_ALLOW_THREADS; | |
3946 | } Py_INCREF(Py_None); | |
3947 | _resultobj = Py_None; | |
3948 | { | |
3949 | if (_obj1) | |
3950 | delete _arg1; | |
3951 | } | |
3952 | { | |
3953 | if (_obj3) | |
3954 | delete _arg3; | |
0f66a9f3 RD |
3955 | } |
3956 | { | |
3957 | delete [] _arg5; | |
325274bb RD |
3958 | } |
3959 | return _resultobj; | |
3960 | } | |
3961 | ||
3962 | #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
0f66a9f3 | 3963 | static PyObject *_wrap_wxHtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 3964 | PyObject * _resultobj; |
0f66a9f3 | 3965 | wxPyHtmlWindow * _arg0; |
325274bb RD |
3966 | char * _arg1; |
3967 | PyObject * _argo0 = 0; | |
0f66a9f3 | 3968 | char *_kwnames[] = { "self","title", NULL }; |
325274bb RD |
3969 | |
3970 | self = self; | |
0f66a9f3 | 3971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_SetTitle",_kwnames,&_argo0,&_arg1)) |
325274bb RD |
3972 | return NULL; |
3973 | if (_argo0) { | |
3974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
3975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
3976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
3977 | return NULL; |
3978 | } | |
3979 | } | |
3980 | { | |
3981 | wxPy_BEGIN_ALLOW_THREADS; | |
3982 | wxHtmlWindow_SetTitle(_arg0,_arg1); | |
3983 | ||
3984 | wxPy_END_ALLOW_THREADS; | |
3985 | } Py_INCREF(Py_None); | |
3986 | _resultobj = Py_None; | |
3987 | return _resultobj; | |
3988 | } | |
3989 | ||
3990 | #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0)) | |
0f66a9f3 | 3991 | static PyObject *_wrap_wxHtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 3992 | PyObject * _resultobj; |
0f66a9f3 | 3993 | wxPyHtmlWindow * _arg0; |
325274bb RD |
3994 | int _arg1; |
3995 | PyObject * _argo0 = 0; | |
0f66a9f3 | 3996 | char *_kwnames[] = { "self","b", NULL }; |
325274bb RD |
3997 | |
3998 | self = self; | |
0f66a9f3 | 3999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetBorders",_kwnames,&_argo0,&_arg1)) |
325274bb RD |
4000 | return NULL; |
4001 | if (_argo0) { | |
4002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
4003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
4004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
4005 | return NULL; |
4006 | } | |
4007 | } | |
4008 | { | |
4009 | wxPy_BEGIN_ALLOW_THREADS; | |
4010 | wxHtmlWindow_SetBorders(_arg0,_arg1); | |
4011 | ||
4012 | wxPy_END_ALLOW_THREADS; | |
4013 | } Py_INCREF(Py_None); | |
4014 | _resultobj = Py_None; | |
4015 | return _resultobj; | |
4016 | } | |
4017 | ||
0f66a9f3 RD |
4018 | #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1)) |
4019 | static PyObject *_wrap_wxHtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4020 | PyObject * _resultobj; | |
4021 | wxPyHtmlWindow * _arg0; | |
4022 | wxConfigBase * _arg1; | |
4023 | char * _arg2 = (char *) ""; | |
4024 | PyObject * _argo0 = 0; | |
4025 | PyObject * _argo1 = 0; | |
4026 | char *_kwnames[] = { "self","cfg","path", NULL }; | |
4027 | ||
4028 | self = self; | |
4029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|s:wxHtmlWindow_ReadCustomization",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4030 | return NULL; | |
4031 | if (_argo0) { | |
4032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p."); | |
4035 | return NULL; | |
4036 | } | |
4037 | } | |
4038 | if (_argo1) { | |
4039 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4040 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
4041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p."); | |
4042 | return NULL; | |
4043 | } | |
4044 | } | |
4045 | { | |
4046 | wxPy_BEGIN_ALLOW_THREADS; | |
4047 | wxHtmlWindow_ReadCustomization(_arg0,_arg1,_arg2); | |
4048 | ||
4049 | wxPy_END_ALLOW_THREADS; | |
4050 | } Py_INCREF(Py_None); | |
4051 | _resultobj = Py_None; | |
4052 | return _resultobj; | |
4053 | } | |
4054 | ||
4055 | #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1)) | |
4056 | static PyObject *_wrap_wxHtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4057 | PyObject * _resultobj; | |
4058 | wxPyHtmlWindow * _arg0; | |
4059 | wxConfigBase * _arg1; | |
4060 | char * _arg2 = (char *) ""; | |
4061 | PyObject * _argo0 = 0; | |
4062 | PyObject * _argo1 = 0; | |
4063 | char *_kwnames[] = { "self","cfg","path", NULL }; | |
4064 | ||
4065 | self = self; | |
4066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|s:wxHtmlWindow_WriteCustomization",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4067 | return NULL; | |
4068 | if (_argo0) { | |
4069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p."); | |
4072 | return NULL; | |
4073 | } | |
4074 | } | |
4075 | if (_argo1) { | |
4076 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4077 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
4078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p."); | |
4079 | return NULL; | |
4080 | } | |
4081 | } | |
4082 | { | |
4083 | wxPy_BEGIN_ALLOW_THREADS; | |
4084 | wxHtmlWindow_WriteCustomization(_arg0,_arg1,_arg2); | |
4085 | ||
4086 | wxPy_END_ALLOW_THREADS; | |
4087 | } Py_INCREF(Py_None); | |
4088 | _resultobj = Py_None; | |
4089 | return _resultobj; | |
4090 | } | |
4091 | ||
325274bb | 4092 | #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack()) |
0f66a9f3 | 4093 | static PyObject *_wrap_wxHtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4094 | PyObject * _resultobj; |
4095 | bool _result; | |
0f66a9f3 | 4096 | wxPyHtmlWindow * _arg0; |
325274bb | 4097 | PyObject * _argo0 = 0; |
0f66a9f3 | 4098 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
4099 | |
4100 | self = self; | |
0f66a9f3 | 4101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryBack",_kwnames,&_argo0)) |
325274bb RD |
4102 | return NULL; |
4103 | if (_argo0) { | |
4104 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
4105 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
4106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
4107 | return NULL; |
4108 | } | |
4109 | } | |
4110 | { | |
4111 | wxPy_BEGIN_ALLOW_THREADS; | |
4112 | _result = (bool )wxHtmlWindow_HistoryBack(_arg0); | |
4113 | ||
4114 | wxPy_END_ALLOW_THREADS; | |
4115 | } _resultobj = Py_BuildValue("i",_result); | |
4116 | return _resultobj; | |
4117 | } | |
4118 | ||
4119 | #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward()) | |
0f66a9f3 | 4120 | static PyObject *_wrap_wxHtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4121 | PyObject * _resultobj; |
4122 | bool _result; | |
0f66a9f3 | 4123 | wxPyHtmlWindow * _arg0; |
325274bb | 4124 | PyObject * _argo0 = 0; |
0f66a9f3 | 4125 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
4126 | |
4127 | self = self; | |
0f66a9f3 | 4128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryForward",_kwnames,&_argo0)) |
325274bb RD |
4129 | return NULL; |
4130 | if (_argo0) { | |
4131 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
4132 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
4133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
4134 | return NULL; |
4135 | } | |
4136 | } | |
4137 | { | |
4138 | wxPy_BEGIN_ALLOW_THREADS; | |
4139 | _result = (bool )wxHtmlWindow_HistoryForward(_arg0); | |
4140 | ||
4141 | wxPy_END_ALLOW_THREADS; | |
4142 | } _resultobj = Py_BuildValue("i",_result); | |
4143 | return _resultobj; | |
4144 | } | |
4145 | ||
4146 | #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear()) | |
0f66a9f3 | 4147 | static PyObject *_wrap_wxHtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 4148 | PyObject * _resultobj; |
0f66a9f3 | 4149 | wxPyHtmlWindow * _arg0; |
325274bb | 4150 | PyObject * _argo0 = 0; |
0f66a9f3 | 4151 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
4152 | |
4153 | self = self; | |
0f66a9f3 | 4154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryClear",_kwnames,&_argo0)) |
325274bb RD |
4155 | return NULL; |
4156 | if (_argo0) { | |
4157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
4158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
4159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
4160 | return NULL; |
4161 | } | |
4162 | } | |
4163 | { | |
4164 | wxPy_BEGIN_ALLOW_THREADS; | |
4165 | wxHtmlWindow_HistoryClear(_arg0); | |
4166 | ||
4167 | wxPy_END_ALLOW_THREADS; | |
4168 | } Py_INCREF(Py_None); | |
4169 | _resultobj = Py_None; | |
4170 | return _resultobj; | |
4171 | } | |
4172 | ||
a65c6e14 RD |
4173 | #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation()) |
4174 | static PyObject *_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4175 | PyObject * _resultobj; | |
4176 | wxHtmlContainerCell * _result; | |
4177 | wxPyHtmlWindow * _arg0; | |
4178 | PyObject * _argo0 = 0; | |
4179 | char *_kwnames[] = { "self", NULL }; | |
4180 | char _ptemp[128]; | |
4181 | ||
4182 | self = self; | |
4183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames,&_argo0)) | |
4184 | return NULL; | |
4185 | if (_argo0) { | |
4186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p."); | |
4189 | return NULL; | |
4190 | } | |
4191 | } | |
4192 | { | |
4193 | wxPy_BEGIN_ALLOW_THREADS; | |
4194 | _result = (wxHtmlContainerCell *)wxHtmlWindow_GetInternalRepresentation(_arg0); | |
4195 | ||
4196 | wxPy_END_ALLOW_THREADS; | |
4197 | } if (_result) { | |
4198 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
4199 | _resultobj = Py_BuildValue("s",_ptemp); | |
4200 | } else { | |
4201 | Py_INCREF(Py_None); | |
4202 | _resultobj = Py_None; | |
4203 | } | |
4204 | return _resultobj; | |
4205 | } | |
4206 | ||
e166644c RD |
4207 | #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser()) |
4208 | static PyObject *_wrap_wxHtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4209 | PyObject * _resultobj; | |
4210 | wxHtmlWinParser * _result; | |
4211 | wxPyHtmlWindow * _arg0; | |
4212 | PyObject * _argo0 = 0; | |
4213 | char *_kwnames[] = { "self", NULL }; | |
4214 | char _ptemp[128]; | |
4215 | ||
4216 | self = self; | |
4217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetParser",_kwnames,&_argo0)) | |
4218 | return NULL; | |
4219 | if (_argo0) { | |
4220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p."); | |
4223 | return NULL; | |
4224 | } | |
4225 | } | |
4226 | { | |
4227 | wxPy_BEGIN_ALLOW_THREADS; | |
4228 | _result = (wxHtmlWinParser *)wxHtmlWindow_GetParser(_arg0); | |
4229 | ||
4230 | wxPy_END_ALLOW_THREADS; | |
4231 | } if (_result) { | |
4232 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p"); | |
4233 | _resultobj = Py_BuildValue("s",_ptemp); | |
4234 | } else { | |
4235 | Py_INCREF(Py_None); | |
4236 | _resultobj = Py_None; | |
4237 | } | |
4238 | return _resultobj; | |
4239 | } | |
4240 | ||
0f66a9f3 RD |
4241 | #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0)) |
4242 | static PyObject *_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4243 | PyObject * _resultobj; | |
4244 | wxPyHtmlWindow * _arg0; | |
4245 | char * _arg1; | |
4246 | PyObject * _argo0 = 0; | |
4247 | char *_kwnames[] = { "self","link", NULL }; | |
4248 | ||
4249 | self = self; | |
4250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_base_OnLinkClicked",_kwnames,&_argo0,&_arg1)) | |
4251 | return NULL; | |
4252 | if (_argo0) { | |
4253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p."); | |
4256 | return NULL; | |
4257 | } | |
4258 | } | |
4259 | { | |
4260 | wxPy_BEGIN_ALLOW_THREADS; | |
4261 | wxHtmlWindow_base_OnLinkClicked(_arg0,_arg1); | |
4262 | ||
4263 | wxPy_END_ALLOW_THREADS; | |
4264 | } Py_INCREF(Py_None); | |
4265 | _resultobj = Py_None; | |
4266 | return _resultobj; | |
4267 | } | |
4268 | ||
dc2f8a65 RD |
4269 | #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer()) |
4270 | static PyObject *_wrap_new_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4271 | PyObject * _resultobj; | |
4272 | wxHtmlDCRenderer * _result; | |
4273 | char *_kwnames[] = { NULL }; | |
4274 | char _ptemp[128]; | |
4275 | ||
4276 | self = self; | |
4277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlDCRenderer",_kwnames)) | |
4278 | return NULL; | |
4279 | { | |
4280 | wxPy_BEGIN_ALLOW_THREADS; | |
4281 | _result = (wxHtmlDCRenderer *)new_wxHtmlDCRenderer(); | |
4282 | ||
4283 | wxPy_END_ALLOW_THREADS; | |
4284 | } if (_result) { | |
4285 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlDCRenderer_p"); | |
4286 | _resultobj = Py_BuildValue("s",_ptemp); | |
4287 | } else { | |
4288 | Py_INCREF(Py_None); | |
4289 | _resultobj = Py_None; | |
4290 | } | |
4291 | return _resultobj; | |
4292 | } | |
4293 | ||
4294 | #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj) | |
4295 | static PyObject *_wrap_delete_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4296 | PyObject * _resultobj; | |
4297 | wxHtmlDCRenderer * _arg0; | |
4298 | PyObject * _argo0 = 0; | |
4299 | char *_kwnames[] = { "self", NULL }; | |
4300 | ||
4301 | self = self; | |
4302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlDCRenderer",_kwnames,&_argo0)) | |
4303 | return NULL; | |
4304 | if (_argo0) { | |
4305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
4307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p."); | |
4308 | return NULL; | |
4309 | } | |
4310 | } | |
4311 | { | |
4312 | wxPy_BEGIN_ALLOW_THREADS; | |
4313 | delete_wxHtmlDCRenderer(_arg0); | |
4314 | ||
4315 | wxPy_END_ALLOW_THREADS; | |
4316 | } Py_INCREF(Py_None); | |
4317 | _resultobj = Py_None; | |
4318 | return _resultobj; | |
4319 | } | |
4320 | ||
4321 | #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1)) | |
4322 | static PyObject *_wrap_wxHtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4323 | PyObject * _resultobj; | |
4324 | wxHtmlDCRenderer * _arg0; | |
4325 | wxDC * _arg1; | |
4326 | int _arg2; | |
4327 | PyObject * _argo0 = 0; | |
4328 | PyObject * _argo1 = 0; | |
4329 | char *_kwnames[] = { "self","dc","maxwidth", NULL }; | |
4330 | ||
4331 | self = self; | |
4332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxHtmlDCRenderer_SetDC",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4333 | return NULL; | |
4334 | if (_argo0) { | |
4335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
4337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p."); | |
4338 | return NULL; | |
4339 | } | |
4340 | } | |
4341 | if (_argo1) { | |
4342 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4343 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p."); | |
4345 | return NULL; | |
4346 | } | |
4347 | } | |
4348 | { | |
4349 | wxPy_BEGIN_ALLOW_THREADS; | |
4350 | wxHtmlDCRenderer_SetDC(_arg0,_arg1,_arg2); | |
4351 | ||
4352 | wxPy_END_ALLOW_THREADS; | |
4353 | } Py_INCREF(Py_None); | |
4354 | _resultobj = Py_None; | |
4355 | return _resultobj; | |
4356 | } | |
4357 | ||
4358 | #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
4359 | static PyObject *_wrap_wxHtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4360 | PyObject * _resultobj; | |
4361 | wxHtmlDCRenderer * _arg0; | |
4362 | int _arg1; | |
4363 | int _arg2; | |
4364 | PyObject * _argo0 = 0; | |
4365 | char *_kwnames[] = { "self","width","height", NULL }; | |
4366 | ||
4367 | self = self; | |
4368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlDCRenderer_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4369 | return NULL; | |
4370 | if (_argo0) { | |
4371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
4373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p."); | |
4374 | return NULL; | |
4375 | } | |
4376 | } | |
4377 | { | |
4378 | wxPy_BEGIN_ALLOW_THREADS; | |
4379 | wxHtmlDCRenderer_SetSize(_arg0,_arg1,_arg2); | |
4380 | ||
4381 | wxPy_END_ALLOW_THREADS; | |
4382 | } Py_INCREF(Py_None); | |
4383 | _resultobj = Py_None; | |
4384 | return _resultobj; | |
4385 | } | |
4386 | ||
4387 | #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2)) | |
4388 | static PyObject *_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4389 | PyObject * _resultobj; | |
4390 | wxHtmlDCRenderer * _arg0; | |
4391 | wxString * _arg1; | |
4392 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
4393 | bool _arg3 = (bool ) TRUE; | |
4394 | PyObject * _argo0 = 0; | |
4395 | PyObject * _obj1 = 0; | |
4396 | PyObject * _obj2 = 0; | |
4397 | int tempbool3 = (int) TRUE; | |
4398 | char *_kwnames[] = { "self","html","basepath","isdir", NULL }; | |
4399 | ||
4400 | self = self; | |
4401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3)) | |
4402 | return NULL; | |
4403 | if (_argo0) { | |
4404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
4406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p."); | |
4407 | return NULL; | |
4408 | } | |
4409 | } | |
4410 | { | |
4411 | if (!PyString_Check(_obj1)) { | |
4412 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4413 | return NULL; | |
4414 | } | |
4415 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4416 | } | |
4417 | if (_obj2) | |
4418 | { | |
4419 | if (!PyString_Check(_obj2)) { | |
4420 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4421 | return NULL; | |
4422 | } | |
4423 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
4424 | } | |
4425 | _arg3 = (bool ) tempbool3; | |
4426 | { | |
4427 | wxPy_BEGIN_ALLOW_THREADS; | |
4428 | wxHtmlDCRenderer_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3); | |
4429 | ||
4430 | wxPy_END_ALLOW_THREADS; | |
4431 | } Py_INCREF(Py_None); | |
4432 | _resultobj = Py_None; | |
4433 | { | |
4434 | if (_obj1) | |
4435 | delete _arg1; | |
4436 | } | |
4437 | { | |
4438 | if (_obj2) | |
4439 | delete _arg2; | |
4440 | } | |
4441 | return _resultobj; | |
4442 | } | |
4443 | ||
4444 | #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4445 | static PyObject *_wrap_wxHtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4446 | PyObject * _resultobj; | |
4447 | int _result; | |
4448 | wxHtmlDCRenderer * _arg0; | |
4449 | int _arg1; | |
4450 | int _arg2; | |
4451 | int _arg3 = (int ) 0; | |
4452 | int _arg4 = (int ) FALSE; | |
4453 | PyObject * _argo0 = 0; | |
4454 | char *_kwnames[] = { "self","x","y","from","dont_render", NULL }; | |
4455 | ||
4456 | self = self; | |
4457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4458 | return NULL; | |
4459 | if (_argo0) { | |
4460 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4461 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
4462 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p."); | |
4463 | return NULL; | |
4464 | } | |
4465 | } | |
4466 | { | |
4467 | wxPy_BEGIN_ALLOW_THREADS; | |
4468 | _result = (int )wxHtmlDCRenderer_Render(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4469 | ||
4470 | wxPy_END_ALLOW_THREADS; | |
4471 | } _resultobj = Py_BuildValue("i",_result); | |
4472 | return _resultobj; | |
4473 | } | |
4474 | ||
4475 | #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight()) | |
4476 | static PyObject *_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4477 | PyObject * _resultobj; | |
4478 | int _result; | |
4479 | wxHtmlDCRenderer * _arg0; | |
4480 | PyObject * _argo0 = 0; | |
4481 | char *_kwnames[] = { "self", NULL }; | |
4482 | ||
4483 | self = self; | |
4484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames,&_argo0)) | |
4485 | return NULL; | |
4486 | if (_argo0) { | |
4487 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4488 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
4489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p."); | |
4490 | return NULL; | |
4491 | } | |
4492 | } | |
4493 | { | |
4494 | wxPy_BEGIN_ALLOW_THREADS; | |
4495 | _result = (int )wxHtmlDCRenderer_GetTotalHeight(_arg0); | |
4496 | ||
4497 | wxPy_END_ALLOW_THREADS; | |
4498 | } _resultobj = Py_BuildValue("i",_result); | |
4499 | return _resultobj; | |
4500 | } | |
4501 | ||
4502 | static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr) { | |
4503 | wxHtmlPrintout *src; | |
4504 | wxPyPrintout *dest; | |
4505 | src = (wxHtmlPrintout *) ptr; | |
4506 | dest = (wxPyPrintout *) src; | |
4507 | return (void *) dest; | |
4508 | } | |
4509 | ||
4510 | #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0)) | |
4511 | static PyObject *_wrap_new_wxHtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4512 | PyObject * _resultobj; | |
4513 | wxHtmlPrintout * _result; | |
4514 | wxString * _arg0 = (wxString *) &"Printout"; | |
4515 | PyObject * _obj0 = 0; | |
4516 | char *_kwnames[] = { "title", NULL }; | |
4517 | char _ptemp[128]; | |
4518 | ||
4519 | self = self; | |
4520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxHtmlPrintout",_kwnames,&_obj0)) | |
4521 | return NULL; | |
4522 | if (_obj0) | |
4523 | { | |
4524 | if (!PyString_Check(_obj0)) { | |
4525 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4526 | return NULL; | |
4527 | } | |
4528 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); | |
4529 | } | |
4530 | { | |
4531 | wxPy_BEGIN_ALLOW_THREADS; | |
4532 | _result = (wxHtmlPrintout *)new_wxHtmlPrintout(*_arg0); | |
4533 | ||
4534 | wxPy_END_ALLOW_THREADS; | |
4535 | } if (_result) { | |
4536 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlPrintout_p"); | |
4537 | _resultobj = Py_BuildValue("s",_ptemp); | |
4538 | } else { | |
4539 | Py_INCREF(Py_None); | |
4540 | _resultobj = Py_None; | |
4541 | } | |
4542 | { | |
4543 | if (_obj0) | |
4544 | delete _arg0; | |
4545 | } | |
4546 | return _resultobj; | |
4547 | } | |
4548 | ||
4549 | #define delete_wxHtmlPrintout(_swigobj) (delete _swigobj) | |
4550 | static PyObject *_wrap_delete_wxHtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4551 | PyObject * _resultobj; | |
4552 | wxHtmlPrintout * _arg0; | |
4553 | PyObject * _argo0 = 0; | |
4554 | char *_kwnames[] = { "self", NULL }; | |
4555 | ||
4556 | self = self; | |
4557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlPrintout",_kwnames,&_argo0)) | |
4558 | return NULL; | |
4559 | if (_argo0) { | |
4560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
4562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlPrintout. Expected _wxHtmlPrintout_p."); | |
4563 | return NULL; | |
4564 | } | |
4565 | } | |
4566 | { | |
4567 | wxPy_BEGIN_ALLOW_THREADS; | |
4568 | delete_wxHtmlPrintout(_arg0); | |
4569 | ||
4570 | wxPy_END_ALLOW_THREADS; | |
4571 | } Py_INCREF(Py_None); | |
4572 | _resultobj = Py_None; | |
4573 | return _resultobj; | |
4574 | } | |
4575 | ||
4576 | #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2)) | |
4577 | static PyObject *_wrap_wxHtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4578 | PyObject * _resultobj; | |
4579 | wxHtmlPrintout * _arg0; | |
4580 | wxString * _arg1; | |
4581 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
4582 | bool _arg3 = (bool ) TRUE; | |
4583 | PyObject * _argo0 = 0; | |
4584 | PyObject * _obj1 = 0; | |
4585 | PyObject * _obj2 = 0; | |
4586 | int tempbool3 = (int) TRUE; | |
4587 | char *_kwnames[] = { "self","html","basepath","isdir", NULL }; | |
4588 | ||
4589 | self = self; | |
4590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3)) | |
4591 | return NULL; | |
4592 | if (_argo0) { | |
4593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
4595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p."); | |
4596 | return NULL; | |
4597 | } | |
4598 | } | |
4599 | { | |
4600 | if (!PyString_Check(_obj1)) { | |
4601 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4602 | return NULL; | |
4603 | } | |
4604 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4605 | } | |
4606 | if (_obj2) | |
4607 | { | |
4608 | if (!PyString_Check(_obj2)) { | |
4609 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4610 | return NULL; | |
4611 | } | |
4612 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
4613 | } | |
4614 | _arg3 = (bool ) tempbool3; | |
4615 | { | |
4616 | wxPy_BEGIN_ALLOW_THREADS; | |
4617 | wxHtmlPrintout_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3); | |
4618 | ||
4619 | wxPy_END_ALLOW_THREADS; | |
4620 | } Py_INCREF(Py_None); | |
4621 | _resultobj = Py_None; | |
4622 | { | |
4623 | if (_obj1) | |
4624 | delete _arg1; | |
4625 | } | |
4626 | { | |
4627 | if (_obj2) | |
4628 | delete _arg2; | |
4629 | } | |
4630 | return _resultobj; | |
4631 | } | |
4632 | ||
4633 | #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0)) | |
4634 | static PyObject *_wrap_wxHtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4635 | PyObject * _resultobj; | |
4636 | wxHtmlPrintout * _arg0; | |
4637 | wxString * _arg1; | |
4638 | PyObject * _argo0 = 0; | |
4639 | PyObject * _obj1 = 0; | |
4640 | char *_kwnames[] = { "self","htmlfile", NULL }; | |
4641 | ||
4642 | self = self; | |
4643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames,&_argo0,&_obj1)) | |
4644 | return NULL; | |
4645 | if (_argo0) { | |
4646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
4648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p."); | |
4649 | return NULL; | |
4650 | } | |
4651 | } | |
4652 | { | |
4653 | if (!PyString_Check(_obj1)) { | |
4654 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4655 | return NULL; | |
4656 | } | |
4657 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4658 | } | |
4659 | { | |
4660 | wxPy_BEGIN_ALLOW_THREADS; | |
4661 | wxHtmlPrintout_SetHtmlFile(_arg0,*_arg1); | |
4662 | ||
4663 | wxPy_END_ALLOW_THREADS; | |
4664 | } Py_INCREF(Py_None); | |
4665 | _resultobj = Py_None; | |
4666 | { | |
4667 | if (_obj1) | |
4668 | delete _arg1; | |
4669 | } | |
4670 | return _resultobj; | |
4671 | } | |
4672 | ||
4673 | #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1)) | |
4674 | static PyObject *_wrap_wxHtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4675 | PyObject * _resultobj; | |
4676 | wxHtmlPrintout * _arg0; | |
4677 | wxString * _arg1; | |
4678 | int _arg2 = (int ) (wxPAGE_ALL); | |
4679 | PyObject * _argo0 = 0; | |
4680 | PyObject * _obj1 = 0; | |
4681 | char *_kwnames[] = { "self","header","pg", NULL }; | |
4682 | ||
4683 | self = self; | |
4684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2)) | |
4685 | return NULL; | |
4686 | if (_argo0) { | |
4687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
4689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p."); | |
4690 | return NULL; | |
4691 | } | |
4692 | } | |
4693 | { | |
4694 | if (!PyString_Check(_obj1)) { | |
4695 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4696 | return NULL; | |
4697 | } | |
4698 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4699 | } | |
4700 | { | |
4701 | wxPy_BEGIN_ALLOW_THREADS; | |
4702 | wxHtmlPrintout_SetHeader(_arg0,*_arg1,_arg2); | |
4703 | ||
4704 | wxPy_END_ALLOW_THREADS; | |
4705 | } Py_INCREF(Py_None); | |
4706 | _resultobj = Py_None; | |
4707 | { | |
4708 | if (_obj1) | |
4709 | delete _arg1; | |
4710 | } | |
4711 | return _resultobj; | |
4712 | } | |
4713 | ||
4714 | #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1)) | |
4715 | static PyObject *_wrap_wxHtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4716 | PyObject * _resultobj; | |
4717 | wxHtmlPrintout * _arg0; | |
4718 | wxString * _arg1; | |
4719 | int _arg2 = (int ) (wxPAGE_ALL); | |
4720 | PyObject * _argo0 = 0; | |
4721 | PyObject * _obj1 = 0; | |
4722 | char *_kwnames[] = { "self","footer","pg", NULL }; | |
4723 | ||
4724 | self = self; | |
4725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2)) | |
4726 | return NULL; | |
4727 | if (_argo0) { | |
4728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
4730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p."); | |
4731 | return NULL; | |
4732 | } | |
4733 | } | |
4734 | { | |
4735 | if (!PyString_Check(_obj1)) { | |
4736 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4737 | return NULL; | |
4738 | } | |
4739 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4740 | } | |
4741 | { | |
4742 | wxPy_BEGIN_ALLOW_THREADS; | |
4743 | wxHtmlPrintout_SetFooter(_arg0,*_arg1,_arg2); | |
4744 | ||
4745 | wxPy_END_ALLOW_THREADS; | |
4746 | } Py_INCREF(Py_None); | |
4747 | _resultobj = Py_None; | |
4748 | { | |
4749 | if (_obj1) | |
4750 | delete _arg1; | |
4751 | } | |
4752 | return _resultobj; | |
4753 | } | |
4754 | ||
4755 | #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4756 | static PyObject *_wrap_wxHtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4757 | PyObject * _resultobj; | |
4758 | wxHtmlPrintout * _arg0; | |
4759 | float _arg1 = (float ) 25.2; | |
4760 | float _arg2 = (float ) 25.2; | |
4761 | float _arg3 = (float ) 25.2; | |
4762 | float _arg4 = (float ) 25.2; | |
4763 | float _arg5 = (float ) 5; | |
4764 | PyObject * _argo0 = 0; | |
4765 | char *_kwnames[] = { "self","top","bottom","left","right","spaces", NULL }; | |
4766 | ||
4767 | self = self; | |
4768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4769 | return NULL; | |
4770 | if (_argo0) { | |
4771 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4772 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
4773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p."); | |
4774 | return NULL; | |
4775 | } | |
4776 | } | |
4777 | { | |
4778 | wxPy_BEGIN_ALLOW_THREADS; | |
4779 | wxHtmlPrintout_SetMargins(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4780 | ||
4781 | wxPy_END_ALLOW_THREADS; | |
4782 | } Py_INCREF(Py_None); | |
4783 | _resultobj = Py_None; | |
4784 | return _resultobj; | |
4785 | } | |
4786 | ||
4787 | #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1)) | |
4788 | static PyObject *_wrap_new_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4789 | PyObject * _resultobj; | |
4790 | wxHtmlEasyPrinting * _result; | |
4791 | wxString * _arg0 = (wxString *) &"Printing"; | |
4792 | wxFrame * _arg1 = (wxFrame *) NULL; | |
4793 | PyObject * _obj0 = 0; | |
4794 | PyObject * _argo1 = 0; | |
4795 | char *_kwnames[] = { "name","parent_frame", NULL }; | |
4796 | char _ptemp[128]; | |
4797 | ||
4798 | self = self; | |
4799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxHtmlEasyPrinting",_kwnames,&_obj0,&_argo1)) | |
4800 | return NULL; | |
4801 | if (_obj0) | |
4802 | { | |
4803 | if (!PyString_Check(_obj0)) { | |
4804 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4805 | return NULL; | |
4806 | } | |
4807 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); | |
4808 | } | |
4809 | if (_argo1) { | |
4810 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4811 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) { | |
4812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p."); | |
4813 | return NULL; | |
4814 | } | |
4815 | } | |
4816 | { | |
4817 | wxPy_BEGIN_ALLOW_THREADS; | |
4818 | _result = (wxHtmlEasyPrinting *)new_wxHtmlEasyPrinting(*_arg0,_arg1); | |
4819 | ||
4820 | wxPy_END_ALLOW_THREADS; | |
4821 | } if (_result) { | |
4822 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlEasyPrinting_p"); | |
4823 | _resultobj = Py_BuildValue("s",_ptemp); | |
4824 | } else { | |
4825 | Py_INCREF(Py_None); | |
4826 | _resultobj = Py_None; | |
4827 | } | |
4828 | { | |
4829 | if (_obj0) | |
4830 | delete _arg0; | |
4831 | } | |
4832 | return _resultobj; | |
4833 | } | |
4834 | ||
4835 | #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj) | |
4836 | static PyObject *_wrap_delete_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4837 | PyObject * _resultobj; | |
4838 | wxHtmlEasyPrinting * _arg0; | |
4839 | PyObject * _argo0 = 0; | |
4840 | char *_kwnames[] = { "self", NULL }; | |
4841 | ||
4842 | self = self; | |
4843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlEasyPrinting",_kwnames,&_argo0)) | |
4844 | return NULL; | |
4845 | if (_argo0) { | |
4846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
4848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p."); | |
4849 | return NULL; | |
4850 | } | |
4851 | } | |
4852 | { | |
4853 | wxPy_BEGIN_ALLOW_THREADS; | |
4854 | delete_wxHtmlEasyPrinting(_arg0); | |
4855 | ||
4856 | wxPy_END_ALLOW_THREADS; | |
4857 | } Py_INCREF(Py_None); | |
4858 | _resultobj = Py_None; | |
4859 | return _resultobj; | |
4860 | } | |
4861 | ||
4862 | #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0)) | |
4863 | static PyObject *_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4864 | PyObject * _resultobj; | |
4865 | wxHtmlEasyPrinting * _arg0; | |
4866 | wxString * _arg1; | |
4867 | PyObject * _argo0 = 0; | |
4868 | PyObject * _obj1 = 0; | |
4869 | char *_kwnames[] = { "self","htmlfile", NULL }; | |
4870 | ||
4871 | self = self; | |
4872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames,&_argo0,&_obj1)) | |
4873 | return NULL; | |
4874 | if (_argo0) { | |
4875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
4877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p."); | |
4878 | return NULL; | |
4879 | } | |
4880 | } | |
4881 | { | |
4882 | if (!PyString_Check(_obj1)) { | |
4883 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4884 | return NULL; | |
4885 | } | |
4886 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4887 | } | |
4888 | { | |
4889 | wxPy_BEGIN_ALLOW_THREADS; | |
4890 | wxHtmlEasyPrinting_PreviewFile(_arg0,*_arg1); | |
4891 | ||
4892 | wxPy_END_ALLOW_THREADS; | |
4893 | } Py_INCREF(Py_None); | |
4894 | _resultobj = Py_None; | |
4895 | { | |
4896 | if (_obj1) | |
4897 | delete _arg1; | |
4898 | } | |
4899 | return _resultobj; | |
4900 | } | |
4901 | ||
4902 | #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1)) | |
4903 | static PyObject *_wrap_wxHtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4904 | PyObject * _resultobj; | |
4905 | wxHtmlEasyPrinting * _arg0; | |
4906 | wxString * _arg1; | |
4907 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
4908 | PyObject * _argo0 = 0; | |
4909 | PyObject * _obj1 = 0; | |
4910 | PyObject * _obj2 = 0; | |
4911 | char *_kwnames[] = { "self","htmltext","basepath", NULL }; | |
4912 | ||
4913 | self = self; | |
4914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames,&_argo0,&_obj1,&_obj2)) | |
4915 | return NULL; | |
4916 | if (_argo0) { | |
4917 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4918 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
4919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p."); | |
4920 | return NULL; | |
4921 | } | |
4922 | } | |
4923 | { | |
4924 | if (!PyString_Check(_obj1)) { | |
4925 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4926 | return NULL; | |
4927 | } | |
4928 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4929 | } | |
4930 | if (_obj2) | |
4931 | { | |
4932 | if (!PyString_Check(_obj2)) { | |
4933 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4934 | return NULL; | |
4935 | } | |
4936 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
4937 | } | |
4938 | { | |
4939 | wxPy_BEGIN_ALLOW_THREADS; | |
4940 | wxHtmlEasyPrinting_PreviewText(_arg0,*_arg1,*_arg2); | |
4941 | ||
4942 | wxPy_END_ALLOW_THREADS; | |
4943 | } Py_INCREF(Py_None); | |
4944 | _resultobj = Py_None; | |
4945 | { | |
4946 | if (_obj1) | |
4947 | delete _arg1; | |
4948 | } | |
4949 | { | |
4950 | if (_obj2) | |
4951 | delete _arg2; | |
4952 | } | |
4953 | return _resultobj; | |
4954 | } | |
4955 | ||
4956 | #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0)) | |
4957 | static PyObject *_wrap_wxHtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4958 | PyObject * _resultobj; | |
4959 | wxHtmlEasyPrinting * _arg0; | |
4960 | wxString * _arg1; | |
4961 | PyObject * _argo0 = 0; | |
4962 | PyObject * _obj1 = 0; | |
4963 | char *_kwnames[] = { "self","htmlfile", NULL }; | |
4964 | ||
4965 | self = self; | |
4966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames,&_argo0,&_obj1)) | |
4967 | return NULL; | |
4968 | if (_argo0) { | |
4969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
4971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p."); | |
4972 | return NULL; | |
4973 | } | |
4974 | } | |
4975 | { | |
4976 | if (!PyString_Check(_obj1)) { | |
4977 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4978 | return NULL; | |
4979 | } | |
4980 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4981 | } | |
4982 | { | |
4983 | wxPy_BEGIN_ALLOW_THREADS; | |
4984 | wxHtmlEasyPrinting_PrintFile(_arg0,*_arg1); | |
4985 | ||
4986 | wxPy_END_ALLOW_THREADS; | |
4987 | } Py_INCREF(Py_None); | |
4988 | _resultobj = Py_None; | |
4989 | { | |
4990 | if (_obj1) | |
4991 | delete _arg1; | |
4992 | } | |
4993 | return _resultobj; | |
4994 | } | |
4995 | ||
4996 | #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1)) | |
4997 | static PyObject *_wrap_wxHtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4998 | PyObject * _resultobj; | |
4999 | wxHtmlEasyPrinting * _arg0; | |
5000 | wxString * _arg1; | |
5001 | wxString * _arg2 = (wxString *) &wxEmptyString; | |
5002 | PyObject * _argo0 = 0; | |
5003 | PyObject * _obj1 = 0; | |
5004 | PyObject * _obj2 = 0; | |
5005 | char *_kwnames[] = { "self","htmltext","basepath", NULL }; | |
5006 | ||
5007 | self = self; | |
5008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames,&_argo0,&_obj1,&_obj2)) | |
5009 | return NULL; | |
5010 | if (_argo0) { | |
5011 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5012 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
5013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p."); | |
5014 | return NULL; | |
5015 | } | |
5016 | } | |
5017 | { | |
5018 | if (!PyString_Check(_obj1)) { | |
5019 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5020 | return NULL; | |
5021 | } | |
5022 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
5023 | } | |
5024 | if (_obj2) | |
5025 | { | |
5026 | if (!PyString_Check(_obj2)) { | |
5027 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5028 | return NULL; | |
5029 | } | |
5030 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
5031 | } | |
5032 | { | |
5033 | wxPy_BEGIN_ALLOW_THREADS; | |
5034 | wxHtmlEasyPrinting_PrintText(_arg0,*_arg1,*_arg2); | |
5035 | ||
5036 | wxPy_END_ALLOW_THREADS; | |
5037 | } Py_INCREF(Py_None); | |
5038 | _resultobj = Py_None; | |
5039 | { | |
5040 | if (_obj1) | |
5041 | delete _arg1; | |
5042 | } | |
5043 | { | |
5044 | if (_obj2) | |
5045 | delete _arg2; | |
5046 | } | |
5047 | return _resultobj; | |
5048 | } | |
5049 | ||
5050 | #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup()) | |
5051 | static PyObject *_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5052 | PyObject * _resultobj; | |
5053 | wxHtmlEasyPrinting * _arg0; | |
5054 | PyObject * _argo0 = 0; | |
5055 | char *_kwnames[] = { "self", NULL }; | |
5056 | ||
5057 | self = self; | |
5058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames,&_argo0)) | |
5059 | return NULL; | |
5060 | if (_argo0) { | |
5061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
5063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p."); | |
5064 | return NULL; | |
5065 | } | |
5066 | } | |
5067 | { | |
5068 | wxPy_BEGIN_ALLOW_THREADS; | |
5069 | wxHtmlEasyPrinting_PrinterSetup(_arg0); | |
5070 | ||
5071 | wxPy_END_ALLOW_THREADS; | |
5072 | } Py_INCREF(Py_None); | |
5073 | _resultobj = Py_None; | |
5074 | return _resultobj; | |
5075 | } | |
5076 | ||
5077 | #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup()) | |
5078 | static PyObject *_wrap_wxHtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5079 | PyObject * _resultobj; | |
5080 | wxHtmlEasyPrinting * _arg0; | |
5081 | PyObject * _argo0 = 0; | |
5082 | char *_kwnames[] = { "self", NULL }; | |
5083 | ||
5084 | self = self; | |
5085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PageSetup",_kwnames,&_argo0)) | |
5086 | return NULL; | |
5087 | if (_argo0) { | |
5088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
5090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p."); | |
5091 | return NULL; | |
5092 | } | |
5093 | } | |
5094 | { | |
5095 | wxPy_BEGIN_ALLOW_THREADS; | |
5096 | wxHtmlEasyPrinting_PageSetup(_arg0); | |
5097 | ||
5098 | wxPy_END_ALLOW_THREADS; | |
5099 | } Py_INCREF(Py_None); | |
5100 | _resultobj = Py_None; | |
5101 | return _resultobj; | |
5102 | } | |
5103 | ||
5104 | #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1)) | |
5105 | static PyObject *_wrap_wxHtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5106 | PyObject * _resultobj; | |
5107 | wxHtmlEasyPrinting * _arg0; | |
5108 | wxString * _arg1; | |
5109 | int _arg2 = (int ) (wxPAGE_ALL); | |
5110 | PyObject * _argo0 = 0; | |
5111 | PyObject * _obj1 = 0; | |
5112 | char *_kwnames[] = { "self","header","pg", NULL }; | |
5113 | ||
5114 | self = self; | |
5115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5116 | return NULL; | |
5117 | if (_argo0) { | |
5118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
5120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p."); | |
5121 | return NULL; | |
5122 | } | |
5123 | } | |
5124 | { | |
5125 | if (!PyString_Check(_obj1)) { | |
5126 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5127 | return NULL; | |
5128 | } | |
5129 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
5130 | } | |
5131 | { | |
5132 | wxPy_BEGIN_ALLOW_THREADS; | |
5133 | wxHtmlEasyPrinting_SetHeader(_arg0,*_arg1,_arg2); | |
5134 | ||
5135 | wxPy_END_ALLOW_THREADS; | |
5136 | } Py_INCREF(Py_None); | |
5137 | _resultobj = Py_None; | |
5138 | { | |
5139 | if (_obj1) | |
5140 | delete _arg1; | |
5141 | } | |
5142 | return _resultobj; | |
5143 | } | |
5144 | ||
5145 | #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1)) | |
5146 | static PyObject *_wrap_wxHtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5147 | PyObject * _resultobj; | |
5148 | wxHtmlEasyPrinting * _arg0; | |
5149 | wxString * _arg1; | |
5150 | int _arg2 = (int ) (wxPAGE_ALL); | |
5151 | PyObject * _argo0 = 0; | |
5152 | PyObject * _obj1 = 0; | |
5153 | char *_kwnames[] = { "self","footer","pg", NULL }; | |
5154 | ||
5155 | self = self; | |
5156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5157 | return NULL; | |
5158 | if (_argo0) { | |
5159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
5161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p."); | |
5162 | return NULL; | |
5163 | } | |
5164 | } | |
5165 | { | |
5166 | if (!PyString_Check(_obj1)) { | |
5167 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5168 | return NULL; | |
5169 | } | |
5170 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
5171 | } | |
5172 | { | |
5173 | wxPy_BEGIN_ALLOW_THREADS; | |
5174 | wxHtmlEasyPrinting_SetFooter(_arg0,*_arg1,_arg2); | |
5175 | ||
5176 | wxPy_END_ALLOW_THREADS; | |
5177 | } Py_INCREF(Py_None); | |
5178 | _resultobj = Py_None; | |
5179 | { | |
5180 | if (_obj1) | |
5181 | delete _arg1; | |
5182 | } | |
5183 | return _resultobj; | |
5184 | } | |
5185 | ||
5186 | #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData()) | |
5187 | static PyObject *_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5188 | PyObject * _resultobj; | |
5189 | wxPrintData * _result; | |
5190 | wxHtmlEasyPrinting * _arg0; | |
5191 | PyObject * _argo0 = 0; | |
5192 | char *_kwnames[] = { "self", NULL }; | |
5193 | char _ptemp[128]; | |
5194 | ||
5195 | self = self; | |
5196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames,&_argo0)) | |
5197 | return NULL; | |
5198 | if (_argo0) { | |
5199 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5200 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
5201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p."); | |
5202 | return NULL; | |
5203 | } | |
5204 | } | |
5205 | { | |
5206 | wxPy_BEGIN_ALLOW_THREADS; | |
5207 | _result = (wxPrintData *)wxHtmlEasyPrinting_GetPrintData(_arg0); | |
5208 | ||
5209 | wxPy_END_ALLOW_THREADS; | |
5210 | } if (_result) { | |
5211 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p"); | |
5212 | _resultobj = Py_BuildValue("s",_ptemp); | |
5213 | } else { | |
5214 | Py_INCREF(Py_None); | |
5215 | _resultobj = Py_None; | |
5216 | } | |
5217 | return _resultobj; | |
5218 | } | |
5219 | ||
5220 | #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData()) | |
5221 | static PyObject *_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5222 | PyObject * _resultobj; | |
5223 | wxPageSetupDialogData * _result; | |
5224 | wxHtmlEasyPrinting * _arg0; | |
5225 | PyObject * _argo0 = 0; | |
5226 | char *_kwnames[] = { "self", NULL }; | |
5227 | char _ptemp[128]; | |
5228 | ||
5229 | self = self; | |
5230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames,&_argo0)) | |
5231 | return NULL; | |
5232 | if (_argo0) { | |
5233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
5235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p."); | |
5236 | return NULL; | |
5237 | } | |
5238 | } | |
5239 | { | |
5240 | wxPy_BEGIN_ALLOW_THREADS; | |
5241 | _result = (wxPageSetupDialogData *)wxHtmlEasyPrinting_GetPageSetupData(_arg0); | |
5242 | ||
5243 | wxPy_END_ALLOW_THREADS; | |
5244 | } if (_result) { | |
5245 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p"); | |
5246 | _resultobj = Py_BuildValue("s",_ptemp); | |
5247 | } else { | |
5248 | Py_INCREF(Py_None); | |
5249 | _resultobj = Py_None; | |
5250 | } | |
5251 | return _resultobj; | |
5252 | } | |
5253 | ||
325274bb | 5254 | static PyMethodDef htmlcMethods[] = { |
dc2f8a65 RD |
5255 | { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, |
5256 | { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
5257 | { "wxHtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
5258 | { "wxHtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
5259 | { "wxHtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
5260 | { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
5261 | { "wxHtmlEasyPrinting_PrintText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
5262 | { "wxHtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
5263 | { "wxHtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
5264 | { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
5265 | { "delete_wxHtmlEasyPrinting", (PyCFunction) _wrap_delete_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
5266 | { "new_wxHtmlEasyPrinting", (PyCFunction) _wrap_new_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
5267 | { "wxHtmlPrintout_SetMargins", (PyCFunction) _wrap_wxHtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
5268 | { "wxHtmlPrintout_SetFooter", (PyCFunction) _wrap_wxHtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
5269 | { "wxHtmlPrintout_SetHeader", (PyCFunction) _wrap_wxHtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
5270 | { "wxHtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
5271 | { "wxHtmlPrintout_SetHtmlText", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
5272 | { "delete_wxHtmlPrintout", (PyCFunction) _wrap_delete_wxHtmlPrintout, METH_VARARGS | METH_KEYWORDS }, | |
5273 | { "new_wxHtmlPrintout", (PyCFunction) _wrap_new_wxHtmlPrintout, METH_VARARGS | METH_KEYWORDS }, | |
5274 | { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_wxHtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
5275 | { "wxHtmlDCRenderer_Render", (PyCFunction) _wrap_wxHtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
5276 | { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_wxHtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
5277 | { "wxHtmlDCRenderer_SetSize", (PyCFunction) _wrap_wxHtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
5278 | { "wxHtmlDCRenderer_SetDC", (PyCFunction) _wrap_wxHtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
5279 | { "delete_wxHtmlDCRenderer", (PyCFunction) _wrap_delete_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
5280 | { "new_wxHtmlDCRenderer", (PyCFunction) _wrap_new_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 | 5281 | { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, |
e166644c | 5282 | { "wxHtmlWindow_GetParser", (PyCFunction) _wrap_wxHtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, |
a65c6e14 | 5283 | { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_wxHtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
5284 | { "wxHtmlWindow_HistoryClear", (PyCFunction) _wrap_wxHtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, |
5285 | { "wxHtmlWindow_HistoryForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, | |
5286 | { "wxHtmlWindow_HistoryBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
5287 | { "wxHtmlWindow_WriteCustomization", (PyCFunction) _wrap_wxHtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
5288 | { "wxHtmlWindow_ReadCustomization", (PyCFunction) _wrap_wxHtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
5289 | { "wxHtmlWindow_SetBorders", (PyCFunction) _wrap_wxHtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
5290 | { "wxHtmlWindow_SetTitle", (PyCFunction) _wrap_wxHtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
5291 | { "wxHtmlWindow_SetFonts", (PyCFunction) _wrap_wxHtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
5292 | { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
5293 | { "wxHtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
5294 | { "wxHtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
5295 | { "wxHtmlWindow_GetOpenedPage", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, | |
5296 | { "wxHtmlWindow_LoadPage", (PyCFunction) _wrap_wxHtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, | |
5297 | { "wxHtmlWindow_SetPage", (PyCFunction) _wrap_wxHtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
5298 | { "wxHtmlWindow__setSelf", (PyCFunction) _wrap_wxHtmlWindow__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
5299 | { "new_wxHtmlWindow", (PyCFunction) _wrap_new_wxHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
5300 | { "HtmlHistoryItem_GetAnchor", (PyCFunction) _wrap_HtmlHistoryItem_GetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
5301 | { "HtmlHistoryItem_GetPage", (PyCFunction) _wrap_HtmlHistoryItem_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
5302 | { "HtmlHistoryItem_SetPos", (PyCFunction) _wrap_HtmlHistoryItem_SetPos, METH_VARARGS | METH_KEYWORDS }, | |
5303 | { "HtmlHistoryItem_GetPos", (PyCFunction) _wrap_HtmlHistoryItem_GetPos, METH_VARARGS | METH_KEYWORDS }, | |
5304 | { "new_HtmlHistoryItem", (PyCFunction) _wrap_new_HtmlHistoryItem, METH_VARARGS | METH_KEYWORDS }, | |
e166644c RD |
5305 | { "new_wxHtmlWidgetCell", (PyCFunction) _wrap_new_wxHtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, |
5306 | { "wxHtmlContainerCell_GetFirstCell", (PyCFunction) _wrap_wxHtmlContainerCell_GetFirstCell, METH_VARARGS | METH_KEYWORDS }, | |
5307 | { "wxHtmlContainerCell_SetBorder", (PyCFunction) _wrap_wxHtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
5308 | { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_wxHtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5309 | { "wxHtmlContainerCell_GetMaxLineWidth", (PyCFunction) _wrap_wxHtmlContainerCell_GetMaxLineWidth, METH_VARARGS | METH_KEYWORDS }, | |
5310 | { "wxHtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_wxHtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
5311 | { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
5312 | { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
5313 | { "wxHtmlContainerCell_SetAlign", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
5314 | { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
5315 | { "wxHtmlContainerCell_GetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
5316 | { "wxHtmlContainerCell_SetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
5317 | { "wxHtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
5318 | { "wxHtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
5319 | { "wxHtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
5320 | { "wxHtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
5321 | { "wxHtmlContainerCell_InsertCell", (PyCFunction) _wrap_wxHtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
5322 | { "new_wxHtmlContainerCell", (PyCFunction) _wrap_new_wxHtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 RD |
5323 | { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_wxHtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, |
5324 | { "wxHtmlCell_AdjustPagebreak", (PyCFunction) _wrap_wxHtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
e166644c RD |
5325 | { "wxHtmlCell_Find", (PyCFunction) _wrap_wxHtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, |
5326 | { "wxHtmlCell_DrawInvisible", (PyCFunction) _wrap_wxHtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
5327 | { "wxHtmlCell_Draw", (PyCFunction) _wrap_wxHtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
5328 | { "wxHtmlCell_Layout", (PyCFunction) _wrap_wxHtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
5329 | { "wxHtmlCell_SetNext", (PyCFunction) _wrap_wxHtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, | |
5330 | { "wxHtmlCell_SetLink", (PyCFunction) _wrap_wxHtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
5331 | { "wxHtmlCell_SetPos", (PyCFunction) _wrap_wxHtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, | |
5332 | { "wxHtmlCell_GetNext", (PyCFunction) _wrap_wxHtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
5333 | { "wxHtmlCell_GetLink", (PyCFunction) _wrap_wxHtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
5334 | { "wxHtmlCell_GetDescent", (PyCFunction) _wrap_wxHtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
5335 | { "wxHtmlCell_GetHeight", (PyCFunction) _wrap_wxHtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
5336 | { "wxHtmlCell_GetWidth", (PyCFunction) _wrap_wxHtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
5337 | { "wxHtmlCell_GetPosY", (PyCFunction) _wrap_wxHtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
5338 | { "wxHtmlCell_GetPosX", (PyCFunction) _wrap_wxHtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
5339 | { "wxHtmlCell_GetParent", (PyCFunction) _wrap_wxHtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
5340 | { "wxHtmlCell_SetParent", (PyCFunction) _wrap_wxHtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
5341 | { "new_wxHtmlCell", (PyCFunction) _wrap_new_wxHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
5342 | { "wxHtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, |
5343 | { "wxHtmlWinTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
5344 | { "wxHtmlWinTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
5345 | { "wxHtmlWinTagHandler__setSelf", (PyCFunction) _wrap_wxHtmlWinTagHandler__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
5346 | { "new_wxHtmlWinTagHandler", (PyCFunction) _wrap_new_wxHtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
5347 | { "wxHtmlTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
5348 | { "wxHtmlTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
5349 | { "wxHtmlTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
5350 | { "wxHtmlTagHandler__setSelf", (PyCFunction) _wrap_wxHtmlTagHandler__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
5351 | { "new_wxHtmlTagHandler", (PyCFunction) _wrap_new_wxHtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
5352 | { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_wxHtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, | |
5353 | { "wxHtmlWinParser_SetLink", (PyCFunction) _wrap_wxHtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
5354 | { "wxHtmlWinParser_GetLink", (PyCFunction) _wrap_wxHtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
5355 | { "wxHtmlWinParser_SetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
5356 | { "wxHtmlWinParser_GetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
5357 | { "wxHtmlWinParser_SetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
5358 | { "wxHtmlWinParser_GetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
5359 | { "wxHtmlWinParser_SetAlign", (PyCFunction) _wrap_wxHtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
5360 | { "wxHtmlWinParser_GetAlign", (PyCFunction) _wrap_wxHtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
5361 | { "wxHtmlWinParser_SetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
5362 | { "wxHtmlWinParser_GetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
5363 | { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
5364 | { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
5365 | { "wxHtmlWinParser_SetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
5366 | { "wxHtmlWinParser_GetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
5367 | { "wxHtmlWinParser_SetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
5368 | { "wxHtmlWinParser_GetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
5369 | { "wxHtmlWinParser_SetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
5370 | { "wxHtmlWinParser_GetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
5371 | { "wxHtmlWinParser_CloseContainer", (PyCFunction) _wrap_wxHtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 | 5372 | { "wxHtmlWinParser_SetContainer", (PyCFunction) _wrap_wxHtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
5373 | { "wxHtmlWinParser_OpenContainer", (PyCFunction) _wrap_wxHtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, |
5374 | { "wxHtmlWinParser_GetContainer", (PyCFunction) _wrap_wxHtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
5375 | { "wxHtmlWinParser_SetFonts", (PyCFunction) _wrap_wxHtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
5376 | { "wxHtmlWinParser_GetWindow", (PyCFunction) _wrap_wxHtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
5377 | { "wxHtmlWinParser_GetCharWidth", (PyCFunction) _wrap_wxHtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
5378 | { "wxHtmlWinParser_GetCharHeight", (PyCFunction) _wrap_wxHtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
5379 | { "wxHtmlWinParser_GetDC", (PyCFunction) _wrap_wxHtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
5380 | { "wxHtmlWinParser_SetDC", (PyCFunction) _wrap_wxHtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
5381 | { "new_wxHtmlWinParser", (PyCFunction) _wrap_new_wxHtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 RD |
5382 | { "wxHtmlParser_PopTagHandler", (PyCFunction) _wrap_wxHtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, |
5383 | { "wxHtmlParser_PushTagHandler", (PyCFunction) _wrap_wxHtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
5384 | { "wxHtmlParser_GetSource", (PyCFunction) _wrap_wxHtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, |
5385 | { "wxHtmlParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
5386 | { "wxHtmlParser_DoParsing", (PyCFunction) _wrap_wxHtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, | |
5387 | { "wxHtmlParser_DoneParser", (PyCFunction) _wrap_wxHtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
5388 | { "wxHtmlParser_InitParser", (PyCFunction) _wrap_wxHtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
5389 | { "wxHtmlParser_Parse", (PyCFunction) _wrap_wxHtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
5390 | { "wxHtmlParser_GetFS", (PyCFunction) _wrap_wxHtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
5391 | { "wxHtmlParser_SetFS", (PyCFunction) _wrap_wxHtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
5392 | { "wxHtmlTag_GetEndPos2", (PyCFunction) _wrap_wxHtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
5393 | { "wxHtmlTag_GetEndPos1", (PyCFunction) _wrap_wxHtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
5394 | { "wxHtmlTag_GetBeginPos", (PyCFunction) _wrap_wxHtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
5395 | { "wxHtmlTag_HasEnding", (PyCFunction) _wrap_wxHtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
5396 | { "wxHtmlTag_IsEnding", (PyCFunction) _wrap_wxHtmlTag_IsEnding, METH_VARARGS | METH_KEYWORDS }, | |
5397 | { "wxHtmlTag_GetAllParams", (PyCFunction) _wrap_wxHtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, | |
5398 | { "wxHtmlTag_GetParam", (PyCFunction) _wrap_wxHtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
5399 | { "wxHtmlTag_HasParam", (PyCFunction) _wrap_wxHtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
5400 | { "wxHtmlTag_GetName", (PyCFunction) _wrap_wxHtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
5401 | { "wxHtmlWindow_AddFilter", (PyCFunction) _wrap_wxHtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
5402 | { "wxHtmlWinParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
325274bb RD |
5403 | { NULL, NULL } |
5404 | }; | |
5405 | #ifdef __cplusplus | |
5406 | } | |
5407 | #endif | |
5408 | /* | |
5409 | * This table is used by the pointer type-checker | |
5410 | */ | |
5411 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
5412 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
5413 | { "_wxEvent","_class_wxEvent",0}, | |
5414 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
0f66a9f3 RD |
5415 | { "_class_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser}, |
5416 | { "_class_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser}, | |
5417 | { "_class_wxHtmlParser","_wxHtmlParser",0}, | |
325274bb RD |
5418 | { "_signed_long","_long",0}, |
5419 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
5420 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
b1462dfa RD |
5421 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
5422 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
2f90df85 | 5423 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
325274bb RD |
5424 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
5425 | { "_wxImage","_class_wxImage",0}, | |
b1462dfa | 5426 | { "_wxPrintQuality","_wxCoord",0}, |
325274bb RD |
5427 | { "_wxPrintQuality","_int",0}, |
5428 | { "_wxPrintQuality","_signed_int",0}, | |
5429 | { "_wxPrintQuality","_unsigned_int",0}, | |
5430 | { "_wxPrintQuality","_wxWindowID",0}, | |
5431 | { "_wxPrintQuality","_uint",0}, | |
5432 | { "_wxPrintQuality","_EBool",0}, | |
5433 | { "_wxPrintQuality","_size_t",0}, | |
b1462dfa | 5434 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
325274bb | 5435 | { "_wxFontData","_class_wxFontData",0}, |
325274bb RD |
5436 | { "_class_HtmlHistoryItem","_HtmlHistoryItem",0}, |
5437 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
b1462dfa | 5438 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
325274bb RD |
5439 | { "_class_wxMenuBar","_wxMenuBar",0}, |
5440 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2f90df85 | 5441 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
dc2f8a65 | 5442 | { "_class_wxHtmlDCRenderer","_wxHtmlDCRenderer",0}, |
0f66a9f3 RD |
5443 | { "_class_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler}, |
5444 | { "_class_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler}, | |
325274bb RD |
5445 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
5446 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
5447 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2f90df85 | 5448 | { "_wxPySizer","_class_wxPySizer",0}, |
325274bb RD |
5449 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, |
5450 | { "_wxCursor","_class_wxCursor",0}, | |
5451 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
5452 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
e166644c | 5453 | { "_wxHtmlWidgetCell","_class_wxHtmlWidgetCell",0}, |
325274bb RD |
5454 | { "_class_wxTreeCtrl","_wxTreeCtrl",0}, |
5455 | { "_wxMask","_class_wxMask",0}, | |
5456 | { "_wxToolTip","_class_wxToolTip",0}, | |
5457 | { "_wxGrid","_class_wxGrid",0}, | |
5458 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
dc2f8a65 | 5459 | { "_class_wxHtmlEasyPrinting","_wxHtmlEasyPrinting",0}, |
325274bb RD |
5460 | { "_class_wxColourData","_wxColourData",0}, |
5461 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
5462 | { "_wxPrinter","_class_wxPrinter",0}, | |
5463 | { "_wxPen","_class_wxPen",0}, | |
5464 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
5465 | { "_byte","_unsigned_char",0}, | |
b1462dfa | 5466 | { "_wxDataObject","_class_wxDataObject",0}, |
325274bb | 5467 | { "_wxStaticBox","_class_wxStaticBox",0}, |
b1462dfa | 5468 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
325274bb RD |
5469 | { "_wxChoice","_class_wxChoice",0}, |
5470 | { "_wxSlider","_class_wxSlider",0}, | |
5471 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
dc2f8a65 RD |
5472 | { "_wxPyPrintout","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout}, |
5473 | { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout}, | |
325274bb RD |
5474 | { "_wxPyPrintout","_class_wxPyPrintout",0}, |
5475 | { "_long","_wxDash",0}, | |
5476 | { "_long","_unsigned_long",0}, | |
5477 | { "_long","_signed_long",0}, | |
5478 | { "_wxImageList","_class_wxImageList",0}, | |
b1462dfa | 5479 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
325274bb RD |
5480 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
5481 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
5482 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2f90df85 | 5483 | { "_class_wxSizer","_wxSizer",0}, |
325274bb RD |
5484 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
5485 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
b1462dfa | 5486 | { "_class_wxClipboard","_wxClipboard",0}, |
325274bb RD |
5487 | { "_class_wxGauge","_wxGauge",0}, |
5488 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
5489 | { "_wxDC","_class_wxDC",0}, | |
2f90df85 | 5490 | { "_wxSizerItem","_class_wxSizerItem",0}, |
b1462dfa | 5491 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
325274bb RD |
5492 | { "_wxListEvent","_class_wxListEvent",0}, |
5493 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
5494 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
5495 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
5496 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
5497 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
5498 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
b1462dfa | 5499 | { "_size_t","_wxCoord",0}, |
325274bb RD |
5500 | { "_size_t","_wxPrintQuality",0}, |
5501 | { "_size_t","_unsigned_int",0}, | |
5502 | { "_size_t","_int",0}, | |
5503 | { "_size_t","_wxWindowID",0}, | |
5504 | { "_size_t","_uint",0}, | |
5505 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
9d8bd15f RD |
5506 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
5507 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
5508 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
325274bb RD |
5509 | { "_class_wxMenuItem","_wxMenuItem",0}, |
5510 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
5511 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
5512 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
5513 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2f90df85 | 5514 | { "_class_wxPySizer","_wxPySizer",0}, |
e166644c | 5515 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
0f66a9f3 RD |
5516 | { "_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel}, |
5517 | { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel}, | |
325274bb RD |
5518 | { "_wxPanel","_class_wxPanel",0}, |
5519 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
5520 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
5521 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
5522 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
5523 | { "_class_wxMask","_wxMask",0}, | |
b1462dfa | 5524 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
325274bb RD |
5525 | { "_class_wxToolTip","_wxToolTip",0}, |
5526 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
5527 | { "_class_wxGrid","_wxGrid",0}, | |
5528 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
5529 | { "_wxColour","_class_wxColour",0}, | |
5530 | { "_class_wxDialog","_wxDialog",0}, | |
dc2f8a65 | 5531 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
325274bb RD |
5532 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, |
5533 | { "_class_wxPrinter","_wxPrinter",0}, | |
b1462dfa | 5534 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
325274bb RD |
5535 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
5536 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
5537 | { "_wxToolBar","_class_wxToolBar",0}, | |
b1462dfa | 5538 | { "_class_wxDataObject","_wxDataObject",0}, |
f0261a72 | 5539 | { "_wxCaret","_class_wxCaret",0}, |
325274bb RD |
5540 | { "_wxStaticLine","_class_wxStaticLine",0}, |
5541 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
dc2f8a65 | 5542 | { "_class_wxHtmlPrintout","_wxHtmlPrintout",0}, |
325274bb RD |
5543 | { "_wxBrush","_class_wxBrush",0}, |
5544 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
5545 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
dc2f8a65 RD |
5546 | { "_class_wxPyPrintout","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout}, |
5547 | { "_class_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout}, | |
325274bb | 5548 | { "_class_wxPyPrintout","_wxPyPrintout",0}, |
b1462dfa RD |
5549 | { "_wxDataFormat","_class_wxDataFormat",0}, |
5550 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
325274bb RD |
5551 | { "_class_wxSashWindow","_wxSashWindow",0}, |
5552 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
b1462dfa | 5553 | { "_uint","_wxCoord",0}, |
325274bb RD |
5554 | { "_uint","_wxPrintQuality",0}, |
5555 | { "_uint","_size_t",0}, | |
5556 | { "_uint","_unsigned_int",0}, | |
5557 | { "_uint","_int",0}, | |
5558 | { "_uint","_wxWindowID",0}, | |
f0261a72 | 5559 | { "_wxPyValidator","_class_wxPyValidator",0}, |
325274bb RD |
5560 | { "_class_wxEvent","_wxEvent",0}, |
5561 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
5562 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
5563 | { "_wxGridEvent","_class_wxGridEvent",0}, | |
5564 | { "_wxRect","_class_wxRect",0}, | |
5565 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
5566 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
5567 | { "_class_wxImage","_wxImage",0}, | |
5568 | { "_wxPoint","_class_wxPoint",0}, | |
5569 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
5570 | { "_class_wxButton","_wxButton",0}, | |
5571 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
5572 | { "_class_wxFontData","_wxFontData",0}, | |
9d8bd15f | 5573 | { "_class_wxPNMHandler","_wxPNMHandler",0}, |
2f90df85 | 5574 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
e166644c RD |
5575 | { "_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell}, |
5576 | { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell}, | |
5577 | { "_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell}, | |
5578 | { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell}, | |
5579 | { "_wxHtmlCell","_class_wxHtmlCell",0}, | |
325274bb | 5580 | { "_wxBitmap","_class_wxBitmap",0}, |
325274bb RD |
5581 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
5582 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
5583 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
5584 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
5585 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
5586 | { "_wxToolBarTool","_class_wxToolBarTool",0}, | |
5587 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
5588 | { "_wxPrintData","_class_wxPrintData",0}, | |
5589 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
5590 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
5591 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
e166644c | 5592 | { "_class_wxHtmlWidgetCell","_wxHtmlWidgetCell",0}, |
f0261a72 | 5593 | { "_class_wxValidator","_wxValidator",0}, |
325274bb RD |
5594 | { "_class_wxPyEvent","_wxPyEvent",0}, |
5595 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
0f66a9f3 | 5596 | { "_wxConfig","_class_wxConfig",0}, |
325274bb RD |
5597 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
5598 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
dc2f8a65 | 5599 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
325274bb RD |
5600 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, |
5601 | { "_wxListItem","_class_wxListItem",0}, | |
5602 | { "_class_wxToolBar","_wxToolBar",0}, | |
b1462dfa | 5603 | { "_wxDropTarget","_class_wxDropTarget",0}, |
325274bb RD |
5604 | { "_class_wxStaticLine","_wxStaticLine",0}, |
5605 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
5606 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
0f66a9f3 RD |
5607 | { "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler}, |
5608 | { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler}, | |
5609 | { "_wxPyHtmlTagHandler","_class_wxPyHtmlTagHandler",0}, | |
b1462dfa | 5610 | { "_EBool","_wxCoord",0}, |
325274bb RD |
5611 | { "_EBool","_wxPrintQuality",0}, |
5612 | { "_EBool","_signed_int",0}, | |
5613 | { "_EBool","_int",0}, | |
5614 | { "_EBool","_wxWindowID",0}, | |
5615 | { "_class_wxRegion","_wxRegion",0}, | |
b1462dfa | 5616 | { "_class_wxDataFormat","_wxDataFormat",0}, |
325274bb | 5617 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
9d8bd15f | 5618 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
325274bb | 5619 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
e166644c | 5620 | { "_wxHtmlContainerCell","_class_wxHtmlContainerCell",0}, |
325274bb RD |
5621 | { "_wxStaticText","_class_wxStaticText",0}, |
5622 | { "_wxFont","_class_wxFont",0}, | |
b1462dfa | 5623 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
325274bb RD |
5624 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
5625 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
5626 | { "_wxNotebook","_class_wxNotebook",0}, | |
5627 | { "_unsigned_long","_wxDash",0}, | |
5628 | { "_unsigned_long","_long",0}, | |
5629 | { "_class_wxRect","_wxRect",0}, | |
5630 | { "_class_wxDC","_wxDC",0}, | |
a65c6e14 | 5631 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
325274bb | 5632 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
9d8bd15f | 5633 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
325274bb | 5634 | { "_wxPyApp","_class_wxPyApp",0}, |
0f66a9f3 | 5635 | { "_wxHtmlWinParser","_class_wxHtmlWinParser",0}, |
9d8bd15f | 5636 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
325274bb RD |
5637 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, |
5638 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
5639 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
5640 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
5641 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
5642 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
5643 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
325274bb | 5644 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, |
0f66a9f3 RD |
5645 | { "_class_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel}, |
5646 | { "_class_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel}, | |
325274bb RD |
5647 | { "_class_wxPanel","_wxPanel",0}, |
5648 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
5649 | { "_wxComboBox","_class_wxComboBox",0}, | |
5650 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
5651 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
0f66a9f3 | 5652 | { "_wxHtmlTag","_class_wxHtmlTag",0}, |
b1462dfa | 5653 | { "_signed_int","_wxCoord",0}, |
325274bb RD |
5654 | { "_signed_int","_wxPrintQuality",0}, |
5655 | { "_signed_int","_EBool",0}, | |
5656 | { "_signed_int","_wxWindowID",0}, | |
5657 | { "_signed_int","_int",0}, | |
5658 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
5659 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
b1462dfa | 5660 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
325274bb RD |
5661 | { "_wxMenu","_class_wxMenu",0}, |
5662 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
5663 | { "_wxListBox","_class_wxListBox",0}, | |
5664 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
5665 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
0f66a9f3 | 5666 | { "_class_wxPyHtmlWindow","_wxPyHtmlWindow",0}, |
325274bb RD |
5667 | { "_WXTYPE","_short",0}, |
5668 | { "_WXTYPE","_signed_short",0}, | |
5669 | { "_WXTYPE","_unsigned_short",0}, | |
5670 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
b1462dfa | 5671 | { "_class_wxDropTarget","_wxDropTarget",0}, |
f0261a72 | 5672 | { "_class_wxCaret","_wxCaret",0}, |
325274bb RD |
5673 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
5674 | { "_class_wxBrush","_wxBrush",0}, | |
0f66a9f3 RD |
5675 | { "_class_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler}, |
5676 | { "_class_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler}, | |
5677 | { "_class_wxPyHtmlTagHandler","_wxPyHtmlTagHandler",0}, | |
325274bb RD |
5678 | { "_unsigned_short","_WXTYPE",0}, |
5679 | { "_unsigned_short","_short",0}, | |
0f66a9f3 RD |
5680 | { "_class_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow}, |
5681 | { "_class_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow}, | |
325274bb RD |
5682 | { "_class_wxWindow","_wxWindow",0}, |
5683 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
5684 | { "_class_wxStaticText","_wxStaticText",0}, | |
5685 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
5686 | { "_class_wxFont","_wxFont",0}, | |
b1462dfa | 5687 | { "_wxClipboard","_class_wxClipboard",0}, |
f0261a72 | 5688 | { "_class_wxPyValidator","_wxPyValidator",0}, |
325274bb RD |
5689 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
5690 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
dc2f8a65 | 5691 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
325274bb | 5692 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
9d8bd15f | 5693 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
b1462dfa | 5694 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
325274bb RD |
5695 | { "_wxClientDC","_class_wxClientDC",0}, |
5696 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
5697 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
5698 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
5699 | { "_class_wxPoint","_wxPoint",0}, | |
5700 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
5701 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
5702 | { "_wxGridCell","_class_wxGridCell",0}, | |
2f90df85 | 5703 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
0f66a9f3 | 5704 | { "_class_wxHtmlWinParser","_wxHtmlWinParser",0}, |
e166644c RD |
5705 | { "_class_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell}, |
5706 | { "_class_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell}, | |
5707 | { "_class_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell}, | |
5708 | { "_class_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell}, | |
5709 | { "_class_wxHtmlCell","_wxHtmlCell",0}, | |
325274bb RD |
5710 | { "_signed_short","_WXTYPE",0}, |
5711 | { "_signed_short","_short",0}, | |
5712 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
b1462dfa | 5713 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
325274bb RD |
5714 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
5715 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
5716 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
5717 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
5718 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
5719 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
5720 | { "_class_wxToolBarTool","_wxToolBarTool",0}, | |
325274bb RD |
5721 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
5722 | { "_class_wxCursor","_wxCursor",0}, | |
e166644c | 5723 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, |
b1462dfa | 5724 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
325274bb | 5725 | { "_class_wxImageHandler","_wxImageHandler",0}, |
0f66a9f3 RD |
5726 | { "_class_wxHtmlTag","_wxHtmlTag",0}, |
5727 | { "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow}, | |
5728 | { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow}, | |
325274bb RD |
5729 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
5730 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
5731 | { "_unsigned_char","_byte",0}, | |
b1462dfa | 5732 | { "_wxDropSource","_class_wxDropSource",0}, |
325274bb RD |
5733 | { "_class_wxMenu","_wxMenu",0}, |
5734 | { "_wxControl","_class_wxControl",0}, | |
5735 | { "_class_wxListBox","_wxListBox",0}, | |
b1462dfa | 5736 | { "_unsigned_int","_wxCoord",0}, |
325274bb RD |
5737 | { "_unsigned_int","_wxPrintQuality",0}, |
5738 | { "_unsigned_int","_size_t",0}, | |
5739 | { "_unsigned_int","_uint",0}, | |
5740 | { "_unsigned_int","_wxWindowID",0}, | |
5741 | { "_unsigned_int","_int",0}, | |
5742 | { "_wxIcon","_class_wxIcon",0}, | |
5743 | { "_wxDialog","_class_wxDialog",0}, | |
5744 | { "_class_wxListItem","_wxListItem",0}, | |
5745 | { "_class_wxPen","_wxPen",0}, | |
5746 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
5747 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
5748 | { "_short","_WXTYPE",0}, | |
5749 | { "_short","_unsigned_short",0}, | |
5750 | { "_short","_signed_short",0}, | |
5751 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
5752 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
dc2f8a65 | 5753 | { "_wxHtmlPrintout","_class_wxHtmlPrintout",0}, |
b1462dfa | 5754 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
325274bb RD |
5755 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
5756 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
5757 | { "_class_wxChoice","_wxChoice",0}, | |
5758 | { "_class_wxSlider","_wxSlider",0}, | |
5759 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
5760 | { "_class_wxImageList","_wxImageList",0}, | |
5761 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
e166644c | 5762 | { "_class_wxHtmlContainerCell","_wxHtmlContainerCell",0}, |
325274bb | 5763 | { "_wxFrame","_class_wxFrame",0}, |
9d8bd15f RD |
5764 | { "_wxPCXHandler","_class_wxPCXHandler",0}, |
5765 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, | |
325274bb RD |
5766 | { "_class_wxNotebook","_wxNotebook",0}, |
5767 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
b1462dfa | 5768 | { "_wxWindowID","_wxCoord",0}, |
325274bb RD |
5769 | { "_wxWindowID","_wxPrintQuality",0}, |
5770 | { "_wxWindowID","_size_t",0}, | |
5771 | { "_wxWindowID","_EBool",0}, | |
5772 | { "_wxWindowID","_uint",0}, | |
5773 | { "_wxWindowID","_int",0}, | |
5774 | { "_wxWindowID","_signed_int",0}, | |
5775 | { "_wxWindowID","_unsigned_int",0}, | |
a65c6e14 | 5776 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2f90df85 | 5777 | { "_class_wxSizerItem","_wxSizerItem",0}, |
b1462dfa | 5778 | { "_int","_wxCoord",0}, |
325274bb RD |
5779 | { "_int","_wxPrintQuality",0}, |
5780 | { "_int","_size_t",0}, | |
5781 | { "_int","_EBool",0}, | |
5782 | { "_int","_uint",0}, | |
5783 | { "_int","_wxWindowID",0}, | |
5784 | { "_int","_unsigned_int",0}, | |
5785 | { "_int","_signed_int",0}, | |
5786 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 5787 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
325274bb RD |
5788 | { "_class_wxListEvent","_wxListEvent",0}, |
5789 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
5790 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
9d8bd15f | 5791 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
0f66a9f3 | 5792 | { "_wxPyHtmlWinTagHandler","_class_wxPyHtmlWinTagHandler",0}, |
9d8bd15f | 5793 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
325274bb RD |
5794 | { "_wxButton","_class_wxButton",0}, |
5795 | { "_class_wxPyApp","_wxPyApp",0}, | |
5796 | { "_wxSize","_class_wxSize",0}, | |
5797 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
b1462dfa | 5798 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
325274bb RD |
5799 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
5800 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
2f90df85 | 5801 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
dc2f8a65 | 5802 | { "_wxHtmlDCRenderer","_class_wxHtmlDCRenderer",0}, |
325274bb RD |
5803 | { "_class_wxPaintDC","_wxPaintDC",0}, |
5804 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
b1462dfa | 5805 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
325274bb RD |
5806 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
5807 | { "_class_wxComboBox","_wxComboBox",0}, | |
5808 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
f0261a72 | 5809 | { "_wxValidator","_class_wxValidator",0}, |
325274bb RD |
5810 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
5811 | { "_wxTreeCtrl","_class_wxTreeCtrl",0}, | |
5812 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
b1462dfa | 5813 | { "_class_wxDropSource","_wxDropSource",0}, |
325274bb RD |
5814 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, |
5815 | { "_class_wxControl","_wxControl",0}, | |
5816 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
5817 | { "_class_wxIcon","_wxIcon",0}, | |
5818 | { "_class_wxColour","_wxColour",0}, | |
5819 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
5820 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
5821 | { "_wxPalette","_class_wxPalette",0}, | |
5822 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
b1462dfa RD |
5823 | { "_wxCoord","_int",0}, |
5824 | { "_wxCoord","_signed_int",0}, | |
5825 | { "_wxCoord","_unsigned_int",0}, | |
5826 | { "_wxCoord","_wxWindowID",0}, | |
5827 | { "_wxCoord","_uint",0}, | |
5828 | { "_wxCoord","_EBool",0}, | |
5829 | { "_wxCoord","_size_t",0}, | |
5830 | { "_wxCoord","_wxPrintQuality",0}, | |
325274bb | 5831 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
b1462dfa | 5832 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
325274bb RD |
5833 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
5834 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
5835 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
5836 | { "_wxRegion","_class_wxRegion",0}, | |
5837 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
5838 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2f90df85 | 5839 | { "_wxSizer","_class_wxSizer",0}, |
325274bb | 5840 | { "_class_wxShowEvent","_wxShowEvent",0}, |
9d8bd15f | 5841 | { "_class_wxPCXHandler","_wxPCXHandler",0}, |
b1462dfa | 5842 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
325274bb RD |
5843 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
5844 | { "_wxGauge","_class_wxGauge",0}, | |
5845 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
0f66a9f3 RD |
5846 | { "_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser}, |
5847 | { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser}, | |
5848 | { "_wxHtmlParser","_class_wxHtmlParser",0}, | |
dc2f8a65 | 5849 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
325274bb RD |
5850 | { "_class_wxGridEvent","_wxGridEvent",0}, |
5851 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
5852 | { "_class_wxClientDC","_wxClientDC",0}, | |
5853 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
5854 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
0f66a9f3 | 5855 | { "_class_wxPyHtmlWinTagHandler","_wxPyHtmlWinTagHandler",0}, |
b1462dfa | 5856 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
325274bb RD |
5857 | { "_class_wxGridCell","_wxGridCell",0}, |
5858 | { "_HtmlHistoryItem","_class_HtmlHistoryItem",0}, | |
5859 | { "_class_wxSize","_wxSize",0}, | |
5860 | { "_class_wxBitmap","_wxBitmap",0}, | |
5861 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
b1462dfa | 5862 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
325274bb RD |
5863 | { "_wxMenuBar","_class_wxMenuBar",0}, |
5864 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
5865 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
0f66a9f3 RD |
5866 | { "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler}, |
5867 | { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler}, | |
325274bb RD |
5868 | { "_wxEvtHandler","_class_wxEvtHandler",0}, |
5869 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
5870 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
5871 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
5872 | { "_class_wxPrintData","_wxPrintData",0}, | |
5873 | { "_wxDash","_unsigned_long",0}, | |
5874 | { "_wxDash","_long",0}, | |
0f66a9f3 RD |
5875 | { "_class_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow}, |
5876 | { "_class_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow}, | |
325274bb RD |
5877 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
5878 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
0f66a9f3 | 5879 | { "_class_wxConfig","_wxConfig",0}, |
325274bb RD |
5880 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
5881 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
dc2f8a65 | 5882 | { "_wxHtmlEasyPrinting","_class_wxHtmlEasyPrinting",0}, |
325274bb RD |
5883 | { "_wxColourData","_class_wxColourData",0}, |
5884 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
0f66a9f3 | 5885 | { "_wxPyHtmlWindow","_class_wxPyHtmlWindow",0}, |
325274bb | 5886 | { "_class_wxPalette","_wxPalette",0}, |
b1462dfa | 5887 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
325274bb RD |
5888 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
5889 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
5890 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
b1462dfa | 5891 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
325274bb | 5892 | { "_class_wxFontDialog","_wxFontDialog",0}, |
0f66a9f3 RD |
5893 | { "_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow}, |
5894 | { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow}, | |
325274bb | 5895 | { "_wxWindow","_class_wxWindow",0}, |
9d8bd15f | 5896 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
325274bb RD |
5897 | { "_class_wxFrame","_wxFrame",0}, |
5898 | {0,0,0}}; | |
5899 | ||
5900 | static PyObject *SWIG_globals; | |
5901 | #ifdef __cplusplus | |
5902 | extern "C" | |
5903 | #endif | |
5904 | SWIGEXPORT(void) inithtmlc() { | |
5905 | PyObject *m, *d; | |
5906 | SWIG_globals = SWIG_newvarlink(); | |
5907 | m = Py_InitModule("htmlc", htmlcMethods); | |
5908 | d = PyModule_GetDict(m); | |
9d8bd15f RD |
5909 | PyDict_SetItemString(d,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT)); |
5910 | PyDict_SetItemString(d,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER)); | |
5911 | PyDict_SetItemString(d,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT)); | |
5912 | PyDict_SetItemString(d,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM)); | |
5913 | PyDict_SetItemString(d,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP)); | |
5914 | PyDict_SetItemString(d,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND)); | |
5915 | PyDict_SetItemString(d,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND)); | |
5916 | PyDict_SetItemString(d,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS)); | |
5917 | PyDict_SetItemString(d,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT)); | |
5918 | PyDict_SetItemString(d,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT)); | |
5919 | PyDict_SetItemString(d,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT)); | |
5920 | PyDict_SetItemString(d,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP)); | |
5921 | PyDict_SetItemString(d,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM)); | |
5922 | PyDict_SetItemString(d,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL)); | |
5923 | PyDict_SetItemString(d,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL)); | |
5924 | PyDict_SetItemString(d,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL)); | |
5925 | PyDict_SetItemString(d,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR)); | |
5926 | PyDict_SetItemString(d,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP)); | |
5927 | PyDict_SetItemString(d,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER)); | |
dc2f8a65 RD |
5928 | PyDict_SetItemString(d,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD)); |
5929 | PyDict_SetItemString(d,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN)); | |
5930 | PyDict_SetItemString(d,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL)); | |
e166644c RD |
5931 | |
5932 | ||
2f90df85 | 5933 | inithtmlhelpc(); |
0f66a9f3 | 5934 | |
325274bb RD |
5935 | wxClassInfo::CleanUpClasses(); |
5936 | wxClassInfo::InitializeClasses(); | |
5937 | ||
325274bb RD |
5938 | // Until wxFileSystem is wrapped... |
5939 | #if wxUSE_FS_ZIP | |
5940 | wxFileSystem::AddHandler(new wxZipFSHandler); | |
5941 | #endif | |
5942 | { | |
5943 | int i; | |
5944 | for (i = 0; _swig_mapping[i].n1; i++) | |
5945 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
5946 | } | |
5947 | } |