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