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