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