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