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