]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/utils.cpp
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
[wxWidgets.git] / utils / wxPython / src / msw / utils.cpp
1 /*
2 * FILE : msw/utils.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #define SWIG_init initutilsc
53
54 #define SWIG_name "utilsc"
55
56 #include "helpers.h"
57 #include <wx/config.h>
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 if (!target) {
62 target = o;
63 } else if (target == Py_None) {
64 Py_DECREF(Py_None);
65 target = o;
66 } else {
67 if (!PyList_Check(target)) {
68 o2 = target;
69 target = PyList_New(0);
70 PyList_Append(target, o2);
71 Py_XDECREF(o2);
72 }
73 PyList_Append(target,o);
74 Py_XDECREF(o);
75 }
76 return target;
77 }
78
79 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
83 if (!target) {
84 target = o;
85 } else if (target == Py_None) {
86 Py_DECREF(Py_None);
87 target = o;
88 } else {
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
96
97 o2 = target;
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
100 Py_DECREF(o3);
101 }
102 return target;
103 }
104
105
106 extern byte* byte_LIST_helper(PyObject* source);
107 extern int* int_LIST_helper(PyObject* source);
108 extern long* long_LIST_helper(PyObject* source);
109 extern char** string_LIST_helper(PyObject* source);
110 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
111 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
112 extern wxString* wxString_LIST_helper(PyObject* source);
113 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
114
115
116 static char* wxStringErrorMsg = "string type is required for parameter";
117
118 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
119 PyObject* ret = PyTuple_New(3);
120 if (ret) {
121 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
122 PyTuple_SET_ITEM(ret, 1, PyString_FromString(str));
123 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
124 }
125 return ret;
126 }
127 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
128 static PyObject *_wrap_new_wxConfig(PyObject *self, PyObject *args) {
129 PyObject * _resultobj;
130 wxConfig * _result;
131 wxString * _arg0 = &wxPyEmptyStr;
132 wxString * _arg1 = &wxPyEmptyStr;
133 wxString * _arg2 = &wxPyEmptyStr;
134 wxString * _arg3 = &wxPyEmptyStr;
135 long _arg4 = 0;
136 PyObject * _obj0 = 0;
137 PyObject * _obj1 = 0;
138 PyObject * _obj2 = 0;
139 PyObject * _obj3 = 0;
140 char _ptemp[128];
141
142 self = self;
143 if(!PyArg_ParseTuple(args,"|OOOOl:new_wxConfig",&_obj0,&_obj1,&_obj2,&_obj3,&_arg4))
144 return NULL;
145 if (_obj0)
146 {
147 if (!PyString_Check(_obj0)) {
148 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
149 return NULL;
150 }
151 _arg0 = new wxString(PyString_AsString(_obj0));
152 }
153 if (_obj1)
154 {
155 if (!PyString_Check(_obj1)) {
156 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
157 return NULL;
158 }
159 _arg1 = new wxString(PyString_AsString(_obj1));
160 }
161 if (_obj2)
162 {
163 if (!PyString_Check(_obj2)) {
164 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
165 return NULL;
166 }
167 _arg2 = new wxString(PyString_AsString(_obj2));
168 }
169 if (_obj3)
170 {
171 if (!PyString_Check(_obj3)) {
172 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
173 return NULL;
174 }
175 _arg3 = new wxString(PyString_AsString(_obj3));
176 }
177 _result = (wxConfig *)new_wxConfig(*_arg0,*_arg1,*_arg2,*_arg3,_arg4);
178 SWIG_MakePtr(_ptemp, (char *) _result,"_wxConfig_p");
179 _resultobj = Py_BuildValue("s",_ptemp);
180 {
181 if (_obj0)
182 delete _arg0;
183 }
184 {
185 if (_obj1)
186 delete _arg1;
187 }
188 {
189 if (_obj2)
190 delete _arg2;
191 }
192 {
193 if (_obj3)
194 delete _arg3;
195 }
196 return _resultobj;
197 }
198
199 #define delete_wxConfig(_swigobj) (delete _swigobj)
200 static PyObject *_wrap_delete_wxConfig(PyObject *self, PyObject *args) {
201 PyObject * _resultobj;
202 wxConfig * _arg0;
203 char * _argc0 = 0;
204
205 self = self;
206 if(!PyArg_ParseTuple(args,"s:delete_wxConfig",&_argc0))
207 return NULL;
208 if (_argc0) {
209 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
211 return NULL;
212 }
213 }
214 delete_wxConfig(_arg0);
215 Py_INCREF(Py_None);
216 _resultobj = Py_None;
217 return _resultobj;
218 }
219
220 #define wxConfig_DontCreateOnDemand(_swigobj) (_swigobj->DontCreateOnDemand())
221 static PyObject *_wrap_wxConfig_DontCreateOnDemand(PyObject *self, PyObject *args) {
222 PyObject * _resultobj;
223 wxConfig * _arg0;
224 char * _argc0 = 0;
225
226 self = self;
227 if(!PyArg_ParseTuple(args,"s:wxConfig_DontCreateOnDemand",&_argc0))
228 return NULL;
229 if (_argc0) {
230 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_DontCreateOnDemand. Expected _wxConfig_p.");
232 return NULL;
233 }
234 }
235 wxConfig_DontCreateOnDemand(_arg0);
236 Py_INCREF(Py_None);
237 _resultobj = Py_None;
238 return _resultobj;
239 }
240
241 #define wxConfig_DeleteAll(_swigobj) (_swigobj->DeleteAll())
242 static PyObject *_wrap_wxConfig_DeleteAll(PyObject *self, PyObject *args) {
243 PyObject * _resultobj;
244 bool _result;
245 wxConfig * _arg0;
246 char * _argc0 = 0;
247
248 self = self;
249 if(!PyArg_ParseTuple(args,"s:wxConfig_DeleteAll",&_argc0))
250 return NULL;
251 if (_argc0) {
252 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_DeleteAll. Expected _wxConfig_p.");
254 return NULL;
255 }
256 }
257 _result = (bool )wxConfig_DeleteAll(_arg0);
258 _resultobj = Py_BuildValue("i",_result);
259 return _resultobj;
260 }
261
262 #define wxConfig_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
263 static PyObject *_wrap_wxConfig_DeleteEntry(PyObject *self, PyObject *args) {
264 PyObject * _resultobj;
265 bool _result;
266 wxConfig * _arg0;
267 wxString * _arg1;
268 bool _arg2 = TRUE;
269 char * _argc0 = 0;
270 PyObject * _obj1 = 0;
271 int tempbool2;
272
273 self = self;
274 if(!PyArg_ParseTuple(args,"sO|i:wxConfig_DeleteEntry",&_argc0,&_obj1,&tempbool2))
275 return NULL;
276 if (_argc0) {
277 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_DeleteEntry. Expected _wxConfig_p.");
279 return NULL;
280 }
281 }
282 {
283 if (!PyString_Check(_obj1)) {
284 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
285 return NULL;
286 }
287 _arg1 = new wxString(PyString_AsString(_obj1));
288 }
289 _arg2 = (bool ) tempbool2;
290 _result = (bool )wxConfig_DeleteEntry(_arg0,*_arg1,_arg2);
291 _resultobj = Py_BuildValue("i",_result);
292 {
293 if (_obj1)
294 delete _arg1;
295 }
296 return _resultobj;
297 }
298
299 #define wxConfig_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
300 static PyObject *_wrap_wxConfig_DeleteGroup(PyObject *self, PyObject *args) {
301 PyObject * _resultobj;
302 bool _result;
303 wxConfig * _arg0;
304 wxString * _arg1;
305 char * _argc0 = 0;
306 PyObject * _obj1 = 0;
307
308 self = self;
309 if(!PyArg_ParseTuple(args,"sO:wxConfig_DeleteGroup",&_argc0,&_obj1))
310 return NULL;
311 if (_argc0) {
312 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_DeleteGroup. Expected _wxConfig_p.");
314 return NULL;
315 }
316 }
317 {
318 if (!PyString_Check(_obj1)) {
319 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
320 return NULL;
321 }
322 _arg1 = new wxString(PyString_AsString(_obj1));
323 }
324 _result = (bool )wxConfig_DeleteGroup(_arg0,*_arg1);
325 _resultobj = Py_BuildValue("i",_result);
326 {
327 if (_obj1)
328 delete _arg1;
329 }
330 return _resultobj;
331 }
332
333 #define wxConfig_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
334 static PyObject *_wrap_wxConfig_Exists(PyObject *self, PyObject *args) {
335 PyObject * _resultobj;
336 bool _result;
337 wxConfig * _arg0;
338 wxString * _arg1;
339 char * _argc0 = 0;
340 PyObject * _obj1 = 0;
341
342 self = self;
343 if(!PyArg_ParseTuple(args,"sO:wxConfig_Exists",&_argc0,&_obj1))
344 return NULL;
345 if (_argc0) {
346 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_Exists. Expected _wxConfig_p.");
348 return NULL;
349 }
350 }
351 {
352 if (!PyString_Check(_obj1)) {
353 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
354 return NULL;
355 }
356 _arg1 = new wxString(PyString_AsString(_obj1));
357 }
358 _result = (bool )wxConfig_Exists(_arg0,*_arg1);
359 _resultobj = Py_BuildValue("i",_result);
360 {
361 if (_obj1)
362 delete _arg1;
363 }
364 return _resultobj;
365 }
366
367 #define wxConfig_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
368 static PyObject *_wrap_wxConfig_Flush(PyObject *self, PyObject *args) {
369 PyObject * _resultobj;
370 bool _result;
371 wxConfig * _arg0;
372 bool _arg1 = FALSE;
373 char * _argc0 = 0;
374 int tempbool1;
375
376 self = self;
377 if(!PyArg_ParseTuple(args,"s|i:wxConfig_Flush",&_argc0,&tempbool1))
378 return NULL;
379 if (_argc0) {
380 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_Flush. Expected _wxConfig_p.");
382 return NULL;
383 }
384 }
385 _arg1 = (bool ) tempbool1;
386 _result = (bool )wxConfig_Flush(_arg0,_arg1);
387 _resultobj = Py_BuildValue("i",_result);
388 return _resultobj;
389 }
390
391 #define wxConfig_GetAppName(_swigobj) (_swigobj->GetAppName())
392 static PyObject *_wrap_wxConfig_GetAppName(PyObject *self, PyObject *args) {
393 PyObject * _resultobj;
394 wxString * _result;
395 wxConfig * _arg0;
396 char * _argc0 = 0;
397
398 self = self;
399 if(!PyArg_ParseTuple(args,"s:wxConfig_GetAppName",&_argc0))
400 return NULL;
401 if (_argc0) {
402 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetAppName. Expected _wxConfig_p.");
404 return NULL;
405 }
406 }
407 _result = new wxString (wxConfig_GetAppName(_arg0));
408 {
409 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
410 }
411 {
412 delete _result;
413 }
414 return _resultobj;
415 }
416
417 static PyObject * wxConfig_GetFirstGroup(wxConfig *self) {
418 bool cont;
419 long index = 0;
420 wxString value;
421
422 cont = self->GetFirstGroup(value, index);
423 return __EnumerationHelper(cont, value, index);
424 }
425 static PyObject *_wrap_wxConfig_GetFirstGroup(PyObject *self, PyObject *args) {
426 PyObject * _resultobj;
427 PyObject * _result;
428 wxConfig * _arg0;
429 char * _argc0 = 0;
430
431 self = self;
432 if(!PyArg_ParseTuple(args,"s:wxConfig_GetFirstGroup",&_argc0))
433 return NULL;
434 if (_argc0) {
435 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetFirstGroup. Expected _wxConfig_p.");
437 return NULL;
438 }
439 }
440 _result = (PyObject *)wxConfig_GetFirstGroup(_arg0);
441 {
442 _resultobj = _result;
443 }
444 return _resultobj;
445 }
446
447 static PyObject * wxConfig_GetFirstEntry(wxConfig *self) {
448 bool cont;
449 long index = 0;
450 wxString value;
451
452 cont = self->GetFirstEntry(value, index);
453 return __EnumerationHelper(cont, value, index);
454 }
455 static PyObject *_wrap_wxConfig_GetFirstEntry(PyObject *self, PyObject *args) {
456 PyObject * _resultobj;
457 PyObject * _result;
458 wxConfig * _arg0;
459 char * _argc0 = 0;
460
461 self = self;
462 if(!PyArg_ParseTuple(args,"s:wxConfig_GetFirstEntry",&_argc0))
463 return NULL;
464 if (_argc0) {
465 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetFirstEntry. Expected _wxConfig_p.");
467 return NULL;
468 }
469 }
470 _result = (PyObject *)wxConfig_GetFirstEntry(_arg0);
471 {
472 _resultobj = _result;
473 }
474 return _resultobj;
475 }
476
477 static PyObject * wxConfig_GetNextGroup(wxConfig *self,long index) {
478 bool cont;
479 wxString value;
480
481 cont = self->GetNextGroup(value, index);
482 return __EnumerationHelper(cont, value, index);
483 }
484 static PyObject *_wrap_wxConfig_GetNextGroup(PyObject *self, PyObject *args) {
485 PyObject * _resultobj;
486 PyObject * _result;
487 wxConfig * _arg0;
488 long _arg1;
489 char * _argc0 = 0;
490
491 self = self;
492 if(!PyArg_ParseTuple(args,"sl:wxConfig_GetNextGroup",&_argc0,&_arg1))
493 return NULL;
494 if (_argc0) {
495 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetNextGroup. Expected _wxConfig_p.");
497 return NULL;
498 }
499 }
500 _result = (PyObject *)wxConfig_GetNextGroup(_arg0,_arg1);
501 {
502 _resultobj = _result;
503 }
504 return _resultobj;
505 }
506
507 static PyObject * wxConfig_GetNextEntry(wxConfig *self,long index) {
508 bool cont;
509 wxString value;
510
511 cont = self->GetNextEntry(value, index);
512 return __EnumerationHelper(cont, value, index);
513 }
514 static PyObject *_wrap_wxConfig_GetNextEntry(PyObject *self, PyObject *args) {
515 PyObject * _resultobj;
516 PyObject * _result;
517 wxConfig * _arg0;
518 long _arg1;
519 char * _argc0 = 0;
520
521 self = self;
522 if(!PyArg_ParseTuple(args,"sl:wxConfig_GetNextEntry",&_argc0,&_arg1))
523 return NULL;
524 if (_argc0) {
525 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetNextEntry. Expected _wxConfig_p.");
527 return NULL;
528 }
529 }
530 _result = (PyObject *)wxConfig_GetNextEntry(_arg0,_arg1);
531 {
532 _resultobj = _result;
533 }
534 return _resultobj;
535 }
536
537 #define wxConfig_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
538 static PyObject *_wrap_wxConfig_GetNumberOfEntries(PyObject *self, PyObject *args) {
539 PyObject * _resultobj;
540 int _result;
541 wxConfig * _arg0;
542 bool _arg1 = FALSE;
543 char * _argc0 = 0;
544 int tempbool1;
545
546 self = self;
547 if(!PyArg_ParseTuple(args,"s|i:wxConfig_GetNumberOfEntries",&_argc0,&tempbool1))
548 return NULL;
549 if (_argc0) {
550 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetNumberOfEntries. Expected _wxConfig_p.");
552 return NULL;
553 }
554 }
555 _arg1 = (bool ) tempbool1;
556 _result = (int )wxConfig_GetNumberOfEntries(_arg0,_arg1);
557 _resultobj = Py_BuildValue("i",_result);
558 return _resultobj;
559 }
560
561 #define wxConfig_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
562 static PyObject *_wrap_wxConfig_GetNumberOfGroups(PyObject *self, PyObject *args) {
563 PyObject * _resultobj;
564 int _result;
565 wxConfig * _arg0;
566 bool _arg1 = FALSE;
567 char * _argc0 = 0;
568 int tempbool1;
569
570 self = self;
571 if(!PyArg_ParseTuple(args,"s|i:wxConfig_GetNumberOfGroups",&_argc0,&tempbool1))
572 return NULL;
573 if (_argc0) {
574 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetNumberOfGroups. Expected _wxConfig_p.");
576 return NULL;
577 }
578 }
579 _arg1 = (bool ) tempbool1;
580 _result = (int )wxConfig_GetNumberOfGroups(_arg0,_arg1);
581 _resultobj = Py_BuildValue("i",_result);
582 return _resultobj;
583 }
584
585 #define wxConfig_GetPath(_swigobj) (_swigobj->GetPath())
586 static PyObject *_wrap_wxConfig_GetPath(PyObject *self, PyObject *args) {
587 PyObject * _resultobj;
588 wxString * _result;
589 wxConfig * _arg0;
590 char * _argc0 = 0;
591
592 self = self;
593 if(!PyArg_ParseTuple(args,"s:wxConfig_GetPath",&_argc0))
594 return NULL;
595 if (_argc0) {
596 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetPath. Expected _wxConfig_p.");
598 return NULL;
599 }
600 }
601 _result = new wxString (wxConfig_GetPath(_arg0));
602 {
603 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
604 }
605 {
606 delete _result;
607 }
608 return _resultobj;
609 }
610
611 #define wxConfig_GetVendorName(_swigobj) (_swigobj->GetVendorName())
612 static PyObject *_wrap_wxConfig_GetVendorName(PyObject *self, PyObject *args) {
613 PyObject * _resultobj;
614 wxString * _result;
615 wxConfig * _arg0;
616 char * _argc0 = 0;
617
618 self = self;
619 if(!PyArg_ParseTuple(args,"s:wxConfig_GetVendorName",&_argc0))
620 return NULL;
621 if (_argc0) {
622 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetVendorName. Expected _wxConfig_p.");
624 return NULL;
625 }
626 }
627 _result = new wxString (wxConfig_GetVendorName(_arg0));
628 {
629 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
630 }
631 {
632 delete _result;
633 }
634 return _resultobj;
635 }
636
637 #define wxConfig_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
638 static PyObject *_wrap_wxConfig_HasEntry(PyObject *self, PyObject *args) {
639 PyObject * _resultobj;
640 bool _result;
641 wxConfig * _arg0;
642 wxString * _arg1;
643 char * _argc0 = 0;
644 PyObject * _obj1 = 0;
645
646 self = self;
647 if(!PyArg_ParseTuple(args,"sO:wxConfig_HasEntry",&_argc0,&_obj1))
648 return NULL;
649 if (_argc0) {
650 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_HasEntry. Expected _wxConfig_p.");
652 return NULL;
653 }
654 }
655 {
656 if (!PyString_Check(_obj1)) {
657 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
658 return NULL;
659 }
660 _arg1 = new wxString(PyString_AsString(_obj1));
661 }
662 _result = (bool )wxConfig_HasEntry(_arg0,*_arg1);
663 _resultobj = Py_BuildValue("i",_result);
664 {
665 if (_obj1)
666 delete _arg1;
667 }
668 return _resultobj;
669 }
670
671 #define wxConfig_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
672 static PyObject *_wrap_wxConfig_HasGroup(PyObject *self, PyObject *args) {
673 PyObject * _resultobj;
674 bool _result;
675 wxConfig * _arg0;
676 wxString * _arg1;
677 char * _argc0 = 0;
678 PyObject * _obj1 = 0;
679
680 self = self;
681 if(!PyArg_ParseTuple(args,"sO:wxConfig_HasGroup",&_argc0,&_obj1))
682 return NULL;
683 if (_argc0) {
684 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_HasGroup. Expected _wxConfig_p.");
686 return NULL;
687 }
688 }
689 {
690 if (!PyString_Check(_obj1)) {
691 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
692 return NULL;
693 }
694 _arg1 = new wxString(PyString_AsString(_obj1));
695 }
696 _result = (bool )wxConfig_HasGroup(_arg0,*_arg1);
697 _resultobj = Py_BuildValue("i",_result);
698 {
699 if (_obj1)
700 delete _arg1;
701 }
702 return _resultobj;
703 }
704
705 #define wxConfig_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
706 static PyObject *_wrap_wxConfig_IsExpandingEnvVars(PyObject *self, PyObject *args) {
707 PyObject * _resultobj;
708 bool _result;
709 wxConfig * _arg0;
710 char * _argc0 = 0;
711
712 self = self;
713 if(!PyArg_ParseTuple(args,"s:wxConfig_IsExpandingEnvVars",&_argc0))
714 return NULL;
715 if (_argc0) {
716 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_IsExpandingEnvVars. Expected _wxConfig_p.");
718 return NULL;
719 }
720 }
721 _result = (bool )wxConfig_IsExpandingEnvVars(_arg0);
722 _resultobj = Py_BuildValue("i",_result);
723 return _resultobj;
724 }
725
726 #define wxConfig_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
727 static PyObject *_wrap_wxConfig_IsRecordingDefaults(PyObject *self, PyObject *args) {
728 PyObject * _resultobj;
729 bool _result;
730 wxConfig * _arg0;
731 char * _argc0 = 0;
732
733 self = self;
734 if(!PyArg_ParseTuple(args,"s:wxConfig_IsRecordingDefaults",&_argc0))
735 return NULL;
736 if (_argc0) {
737 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_IsRecordingDefaults. Expected _wxConfig_p.");
739 return NULL;
740 }
741 }
742 _result = (bool )wxConfig_IsRecordingDefaults(_arg0);
743 _resultobj = Py_BuildValue("i",_result);
744 return _resultobj;
745 }
746
747 #define wxConfig_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
748 static PyObject *_wrap_wxConfig_Read(PyObject *self, PyObject *args) {
749 PyObject * _resultobj;
750 wxString * _result;
751 wxConfig * _arg0;
752 wxString * _arg1;
753 wxString * _arg2 = &wxPyEmptyStr;
754 char * _argc0 = 0;
755 PyObject * _obj1 = 0;
756 PyObject * _obj2 = 0;
757
758 self = self;
759 if(!PyArg_ParseTuple(args,"sO|O:wxConfig_Read",&_argc0,&_obj1,&_obj2))
760 return NULL;
761 if (_argc0) {
762 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_Read. Expected _wxConfig_p.");
764 return NULL;
765 }
766 }
767 {
768 if (!PyString_Check(_obj1)) {
769 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
770 return NULL;
771 }
772 _arg1 = new wxString(PyString_AsString(_obj1));
773 }
774 if (_obj2)
775 {
776 if (!PyString_Check(_obj2)) {
777 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
778 return NULL;
779 }
780 _arg2 = new wxString(PyString_AsString(_obj2));
781 }
782 _result = new wxString (wxConfig_Read(_arg0,*_arg1,*_arg2));
783 {
784 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
785 }
786 {
787 if (_obj1)
788 delete _arg1;
789 }
790 {
791 if (_obj2)
792 delete _arg2;
793 }
794 {
795 delete _result;
796 }
797 return _resultobj;
798 }
799
800 #define wxConfig_ReadInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
801 static PyObject *_wrap_wxConfig_ReadInt(PyObject *self, PyObject *args) {
802 PyObject * _resultobj;
803 long _result;
804 wxConfig * _arg0;
805 wxString * _arg1;
806 long _arg2 = 0;
807 char * _argc0 = 0;
808 PyObject * _obj1 = 0;
809
810 self = self;
811 if(!PyArg_ParseTuple(args,"sO|l:wxConfig_ReadInt",&_argc0,&_obj1,&_arg2))
812 return NULL;
813 if (_argc0) {
814 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_ReadInt. Expected _wxConfig_p.");
816 return NULL;
817 }
818 }
819 {
820 if (!PyString_Check(_obj1)) {
821 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
822 return NULL;
823 }
824 _arg1 = new wxString(PyString_AsString(_obj1));
825 }
826 _result = (long )wxConfig_ReadInt(_arg0,*_arg1,_arg2);
827 _resultobj = Py_BuildValue("l",_result);
828 {
829 if (_obj1)
830 delete _arg1;
831 }
832 return _resultobj;
833 }
834
835 #define wxConfig_ReadFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
836 static PyObject *_wrap_wxConfig_ReadFloat(PyObject *self, PyObject *args) {
837 PyObject * _resultobj;
838 double _result;
839 wxConfig * _arg0;
840 wxString * _arg1;
841 double _arg2 = 0.0;
842 char * _argc0 = 0;
843 PyObject * _obj1 = 0;
844
845 self = self;
846 if(!PyArg_ParseTuple(args,"sO|d:wxConfig_ReadFloat",&_argc0,&_obj1,&_arg2))
847 return NULL;
848 if (_argc0) {
849 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_ReadFloat. Expected _wxConfig_p.");
851 return NULL;
852 }
853 }
854 {
855 if (!PyString_Check(_obj1)) {
856 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
857 return NULL;
858 }
859 _arg1 = new wxString(PyString_AsString(_obj1));
860 }
861 _result = (double )wxConfig_ReadFloat(_arg0,*_arg1,_arg2);
862 _resultobj = Py_BuildValue("d",_result);
863 {
864 if (_obj1)
865 delete _arg1;
866 }
867 return _resultobj;
868 }
869
870 #define wxConfig_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
871 static PyObject *_wrap_wxConfig_SetAppName(PyObject *self, PyObject *args) {
872 PyObject * _resultobj;
873 wxConfig * _arg0;
874 wxString * _arg1;
875 char * _argc0 = 0;
876 PyObject * _obj1 = 0;
877
878 self = self;
879 if(!PyArg_ParseTuple(args,"sO:wxConfig_SetAppName",&_argc0,&_obj1))
880 return NULL;
881 if (_argc0) {
882 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetAppName. Expected _wxConfig_p.");
884 return NULL;
885 }
886 }
887 {
888 if (!PyString_Check(_obj1)) {
889 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
890 return NULL;
891 }
892 _arg1 = new wxString(PyString_AsString(_obj1));
893 }
894 wxConfig_SetAppName(_arg0,*_arg1);
895 Py_INCREF(Py_None);
896 _resultobj = Py_None;
897 {
898 if (_obj1)
899 delete _arg1;
900 }
901 return _resultobj;
902 }
903
904 #define wxConfig_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
905 static PyObject *_wrap_wxConfig_SetExpandEnvVars(PyObject *self, PyObject *args) {
906 PyObject * _resultobj;
907 wxConfig * _arg0;
908 bool _arg1 = TRUE;
909 char * _argc0 = 0;
910 int tempbool1;
911
912 self = self;
913 if(!PyArg_ParseTuple(args,"s|i:wxConfig_SetExpandEnvVars",&_argc0,&tempbool1))
914 return NULL;
915 if (_argc0) {
916 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetExpandEnvVars. Expected _wxConfig_p.");
918 return NULL;
919 }
920 }
921 _arg1 = (bool ) tempbool1;
922 wxConfig_SetExpandEnvVars(_arg0,_arg1);
923 Py_INCREF(Py_None);
924 _resultobj = Py_None;
925 return _resultobj;
926 }
927
928 #define wxConfig_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
929 static PyObject *_wrap_wxConfig_SetPath(PyObject *self, PyObject *args) {
930 PyObject * _resultobj;
931 wxConfig * _arg0;
932 wxString * _arg1;
933 char * _argc0 = 0;
934 PyObject * _obj1 = 0;
935
936 self = self;
937 if(!PyArg_ParseTuple(args,"sO:wxConfig_SetPath",&_argc0,&_obj1))
938 return NULL;
939 if (_argc0) {
940 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetPath. Expected _wxConfig_p.");
942 return NULL;
943 }
944 }
945 {
946 if (!PyString_Check(_obj1)) {
947 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
948 return NULL;
949 }
950 _arg1 = new wxString(PyString_AsString(_obj1));
951 }
952 wxConfig_SetPath(_arg0,*_arg1);
953 Py_INCREF(Py_None);
954 _resultobj = Py_None;
955 {
956 if (_obj1)
957 delete _arg1;
958 }
959 return _resultobj;
960 }
961
962 #define wxConfig_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
963 static PyObject *_wrap_wxConfig_SetRecordDefaults(PyObject *self, PyObject *args) {
964 PyObject * _resultobj;
965 wxConfig * _arg0;
966 bool _arg1 = TRUE;
967 char * _argc0 = 0;
968 int tempbool1;
969
970 self = self;
971 if(!PyArg_ParseTuple(args,"s|i:wxConfig_SetRecordDefaults",&_argc0,&tempbool1))
972 return NULL;
973 if (_argc0) {
974 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetRecordDefaults. Expected _wxConfig_p.");
976 return NULL;
977 }
978 }
979 _arg1 = (bool ) tempbool1;
980 wxConfig_SetRecordDefaults(_arg0,_arg1);
981 Py_INCREF(Py_None);
982 _resultobj = Py_None;
983 return _resultobj;
984 }
985
986 #define wxConfig_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
987 static PyObject *_wrap_wxConfig_SetVendorName(PyObject *self, PyObject *args) {
988 PyObject * _resultobj;
989 wxConfig * _arg0;
990 wxString * _arg1;
991 char * _argc0 = 0;
992 PyObject * _obj1 = 0;
993
994 self = self;
995 if(!PyArg_ParseTuple(args,"sO:wxConfig_SetVendorName",&_argc0,&_obj1))
996 return NULL;
997 if (_argc0) {
998 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetVendorName. Expected _wxConfig_p.");
1000 return NULL;
1001 }
1002 }
1003 {
1004 if (!PyString_Check(_obj1)) {
1005 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1006 return NULL;
1007 }
1008 _arg1 = new wxString(PyString_AsString(_obj1));
1009 }
1010 wxConfig_SetVendorName(_arg0,*_arg1);
1011 Py_INCREF(Py_None);
1012 _resultobj = Py_None;
1013 {
1014 if (_obj1)
1015 delete _arg1;
1016 }
1017 return _resultobj;
1018 }
1019
1020 #define wxConfig_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1021 static PyObject *_wrap_wxConfig_Write(PyObject *self, PyObject *args) {
1022 PyObject * _resultobj;
1023 bool _result;
1024 wxConfig * _arg0;
1025 wxString * _arg1;
1026 wxString * _arg2;
1027 char * _argc0 = 0;
1028 PyObject * _obj1 = 0;
1029 PyObject * _obj2 = 0;
1030
1031 self = self;
1032 if(!PyArg_ParseTuple(args,"sOO:wxConfig_Write",&_argc0,&_obj1,&_obj2))
1033 return NULL;
1034 if (_argc0) {
1035 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
1036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_Write. Expected _wxConfig_p.");
1037 return NULL;
1038 }
1039 }
1040 {
1041 if (!PyString_Check(_obj1)) {
1042 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1043 return NULL;
1044 }
1045 _arg1 = new wxString(PyString_AsString(_obj1));
1046 }
1047 {
1048 if (!PyString_Check(_obj2)) {
1049 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1050 return NULL;
1051 }
1052 _arg2 = new wxString(PyString_AsString(_obj2));
1053 }
1054 _result = (bool )wxConfig_Write(_arg0,*_arg1,*_arg2);
1055 _resultobj = Py_BuildValue("i",_result);
1056 {
1057 if (_obj1)
1058 delete _arg1;
1059 }
1060 {
1061 if (_obj2)
1062 delete _arg2;
1063 }
1064 return _resultobj;
1065 }
1066
1067 #define wxConfig_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1068 static PyObject *_wrap_wxConfig_WriteInt(PyObject *self, PyObject *args) {
1069 PyObject * _resultobj;
1070 bool _result;
1071 wxConfig * _arg0;
1072 wxString * _arg1;
1073 long _arg2;
1074 char * _argc0 = 0;
1075 PyObject * _obj1 = 0;
1076
1077 self = self;
1078 if(!PyArg_ParseTuple(args,"sOl:wxConfig_WriteInt",&_argc0,&_obj1,&_arg2))
1079 return NULL;
1080 if (_argc0) {
1081 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
1082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_WriteInt. Expected _wxConfig_p.");
1083 return NULL;
1084 }
1085 }
1086 {
1087 if (!PyString_Check(_obj1)) {
1088 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1089 return NULL;
1090 }
1091 _arg1 = new wxString(PyString_AsString(_obj1));
1092 }
1093 _result = (bool )wxConfig_WriteInt(_arg0,*_arg1,_arg2);
1094 _resultobj = Py_BuildValue("i",_result);
1095 {
1096 if (_obj1)
1097 delete _arg1;
1098 }
1099 return _resultobj;
1100 }
1101
1102 #define wxConfig_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1103 static PyObject *_wrap_wxConfig_WriteFloat(PyObject *self, PyObject *args) {
1104 PyObject * _resultobj;
1105 bool _result;
1106 wxConfig * _arg0;
1107 wxString * _arg1;
1108 double _arg2;
1109 char * _argc0 = 0;
1110 PyObject * _obj1 = 0;
1111
1112 self = self;
1113 if(!PyArg_ParseTuple(args,"sOd:wxConfig_WriteFloat",&_argc0,&_obj1,&_arg2))
1114 return NULL;
1115 if (_argc0) {
1116 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
1117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_WriteFloat. Expected _wxConfig_p.");
1118 return NULL;
1119 }
1120 }
1121 {
1122 if (!PyString_Check(_obj1)) {
1123 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1124 return NULL;
1125 }
1126 _arg1 = new wxString(PyString_AsString(_obj1));
1127 }
1128 _result = (bool )wxConfig_WriteFloat(_arg0,*_arg1,_arg2);
1129 _resultobj = Py_BuildValue("i",_result);
1130 {
1131 if (_obj1)
1132 delete _arg1;
1133 }
1134 return _resultobj;
1135 }
1136
1137 static PyMethodDef utilscMethods[] = {
1138 { "wxConfig_WriteFloat", _wrap_wxConfig_WriteFloat, 1 },
1139 { "wxConfig_WriteInt", _wrap_wxConfig_WriteInt, 1 },
1140 { "wxConfig_Write", _wrap_wxConfig_Write, 1 },
1141 { "wxConfig_SetVendorName", _wrap_wxConfig_SetVendorName, 1 },
1142 { "wxConfig_SetRecordDefaults", _wrap_wxConfig_SetRecordDefaults, 1 },
1143 { "wxConfig_SetPath", _wrap_wxConfig_SetPath, 1 },
1144 { "wxConfig_SetExpandEnvVars", _wrap_wxConfig_SetExpandEnvVars, 1 },
1145 { "wxConfig_SetAppName", _wrap_wxConfig_SetAppName, 1 },
1146 { "wxConfig_ReadFloat", _wrap_wxConfig_ReadFloat, 1 },
1147 { "wxConfig_ReadInt", _wrap_wxConfig_ReadInt, 1 },
1148 { "wxConfig_Read", _wrap_wxConfig_Read, 1 },
1149 { "wxConfig_IsRecordingDefaults", _wrap_wxConfig_IsRecordingDefaults, 1 },
1150 { "wxConfig_IsExpandingEnvVars", _wrap_wxConfig_IsExpandingEnvVars, 1 },
1151 { "wxConfig_HasGroup", _wrap_wxConfig_HasGroup, 1 },
1152 { "wxConfig_HasEntry", _wrap_wxConfig_HasEntry, 1 },
1153 { "wxConfig_GetVendorName", _wrap_wxConfig_GetVendorName, 1 },
1154 { "wxConfig_GetPath", _wrap_wxConfig_GetPath, 1 },
1155 { "wxConfig_GetNumberOfGroups", _wrap_wxConfig_GetNumberOfGroups, 1 },
1156 { "wxConfig_GetNumberOfEntries", _wrap_wxConfig_GetNumberOfEntries, 1 },
1157 { "wxConfig_GetNextEntry", _wrap_wxConfig_GetNextEntry, 1 },
1158 { "wxConfig_GetNextGroup", _wrap_wxConfig_GetNextGroup, 1 },
1159 { "wxConfig_GetFirstEntry", _wrap_wxConfig_GetFirstEntry, 1 },
1160 { "wxConfig_GetFirstGroup", _wrap_wxConfig_GetFirstGroup, 1 },
1161 { "wxConfig_GetAppName", _wrap_wxConfig_GetAppName, 1 },
1162 { "wxConfig_Flush", _wrap_wxConfig_Flush, 1 },
1163 { "wxConfig_Exists", _wrap_wxConfig_Exists, 1 },
1164 { "wxConfig_DeleteGroup", _wrap_wxConfig_DeleteGroup, 1 },
1165 { "wxConfig_DeleteEntry", _wrap_wxConfig_DeleteEntry, 1 },
1166 { "wxConfig_DeleteAll", _wrap_wxConfig_DeleteAll, 1 },
1167 { "wxConfig_DontCreateOnDemand", _wrap_wxConfig_DontCreateOnDemand, 1 },
1168 { "delete_wxConfig", _wrap_delete_wxConfig, 1 },
1169 { "new_wxConfig", _wrap_new_wxConfig, 1 },
1170 { NULL, NULL }
1171 };
1172 static PyObject *SWIG_globals;
1173 #ifdef __cplusplus
1174 extern "C"
1175 #endif
1176 SWIGEXPORT(void,initutilsc)() {
1177 PyObject *m, *d;
1178 SWIG_globals = SWIG_newvarlink();
1179 m = Py_InitModule("utilsc", utilscMethods);
1180 d = PyModule_GetDict(m);
1181 /*
1182 * These are the pointer type-equivalency mappings.
1183 * (Used by the SWIG pointer type-checker).
1184 */
1185 SWIG_RegisterMapping("_signed_long","_long",0);
1186 SWIG_RegisterMapping("_long","_unsigned_long",0);
1187 SWIG_RegisterMapping("_long","_signed_long",0);
1188 SWIG_RegisterMapping("_wxConfig","_class_wxConfig",0);
1189 SWIG_RegisterMapping("_unsigned_long","_long",0);
1190 SWIG_RegisterMapping("_signed_int","_int",0);
1191 SWIG_RegisterMapping("_unsigned_short","_short",0);
1192 SWIG_RegisterMapping("_signed_short","_short",0);
1193 SWIG_RegisterMapping("_unsigned_int","_int",0);
1194 SWIG_RegisterMapping("_short","_unsigned_short",0);
1195 SWIG_RegisterMapping("_short","_signed_short",0);
1196 SWIG_RegisterMapping("_int","_unsigned_int",0);
1197 SWIG_RegisterMapping("_int","_signed_int",0);
1198 SWIG_RegisterMapping("_class_wxConfig","_wxConfig",0);
1199 }