]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/cmndlgs.cpp
Fixed Ron's fix
[wxWidgets.git] / wxPython / src / msw / cmndlgs.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/msw/cmndlgs.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
8ab979d7
RD
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)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
c368d904 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
185d7c3e 44
8ab979d7
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
8ab979d7
RD
54#define SWIG_init initcmndlgsc
55
56#define SWIG_name "cmndlgsc"
57
58#include "helpers.h"
59#include <wx/colordlg.h>
60#include <wx/dirdlg.h>
61#include <wx/fontdlg.h>
bb0054cd 62#include <wx/progdlg.h>
8ab979d7 63
8ab979d7
RD
64
65static PyObject* t_output_helper(PyObject* target, PyObject* o) {
66 PyObject* o2;
67 PyObject* o3;
68
e0672e2f 69 if (!target) {
8ab979d7 70 target = o;
e0672e2f 71 } else if (target == Py_None) {
8ab979d7
RD
72 Py_DECREF(Py_None);
73 target = o;
e0672e2f 74 } else {
8ab979d7
RD
75 if (!PyTuple_Check(target)) {
76 o2 = target;
77 target = PyTuple_New(1);
78 PyTuple_SetItem(target, 0, o2);
79 }
e0672e2f
RD
80 o3 = PyTuple_New(1);
81 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
82
83 o2 = target;
e0672e2f
RD
84 target = PySequence_Concat(o2, o3);
85 Py_DECREF(o2);
8ab979d7
RD
86 Py_DECREF(o3);
87 }
88 return target;
89}
90
794c5cb1
RD
91#if PYTHON_API_VERSION >= 1009
92 static char* wxStringErrorMsg = "String or Unicode type required";
93#else
94 static char* wxStringErrorMsg = "string type is required for parameter";
95#endif
1d99702e
RD
96#ifdef __cplusplus
97extern "C" {
98#endif
9416aa89
RD
99static void *SwigwxColourDataTowxObject(void *ptr) {
100 wxColourData *src;
101 wxObject *dest;
102 src = (wxColourData *) ptr;
103 dest = (wxObject *) src;
104 return (void *) dest;
105}
106
8ab979d7 107#define new_wxColourData() (new wxColourData())
efc5f224 108static PyObject *_wrap_new_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
109 PyObject * _resultobj;
110 wxColourData * _result;
efc5f224 111 char *_kwnames[] = { NULL };
8ab979d7
RD
112 char _ptemp[128];
113
114 self = self;
efc5f224 115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxColourData",_kwnames))
8ab979d7 116 return NULL;
cf694132
RD
117{
118 wxPy_BEGIN_ALLOW_THREADS;
119 _result = (wxColourData *)new_wxColourData();
120
121 wxPy_END_ALLOW_THREADS;
493f1553 122 if (PyErr_Occurred()) return NULL;
1d99702e
RD
123} if (_result) {
124 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p");
125 _resultobj = Py_BuildValue("s",_ptemp);
126 } else {
127 Py_INCREF(Py_None);
128 _resultobj = Py_None;
129 }
8ab979d7
RD
130 return _resultobj;
131}
132
133#define delete_wxColourData(_swigobj) (delete _swigobj)
efc5f224 134static PyObject *_wrap_delete_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
135 PyObject * _resultobj;
136 wxColourData * _arg0;
1d99702e 137 PyObject * _argo0 = 0;
efc5f224 138 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
139
140 self = self;
efc5f224 141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColourData",_kwnames,&_argo0))
8ab979d7 142 return NULL;
1d99702e
RD
143 if (_argo0) {
144 if (_argo0 == Py_None) { _arg0 = NULL; }
145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
147 return NULL;
148 }
149 }
cf694132
RD
150{
151 wxPy_BEGIN_ALLOW_THREADS;
152 delete_wxColourData(_arg0);
153
154 wxPy_END_ALLOW_THREADS;
493f1553 155 if (PyErr_Occurred()) return NULL;
cf694132 156} Py_INCREF(Py_None);
8ab979d7
RD
157 _resultobj = Py_None;
158 return _resultobj;
159}
160
161#define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
efc5f224 162static PyObject *_wrap_wxColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
163 PyObject * _resultobj;
164 bool _result;
165 wxColourData * _arg0;
1d99702e 166 PyObject * _argo0 = 0;
efc5f224 167 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
168
169 self = self;
efc5f224 170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetChooseFull",_kwnames,&_argo0))
8ab979d7 171 return NULL;
1d99702e
RD
172 if (_argo0) {
173 if (_argo0 == Py_None) { _arg0 = NULL; }
174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
176 return NULL;
177 }
178 }
cf694132
RD
179{
180 wxPy_BEGIN_ALLOW_THREADS;
181 _result = (bool )wxColourData_GetChooseFull(_arg0);
182
183 wxPy_END_ALLOW_THREADS;
493f1553 184 if (PyErr_Occurred()) return NULL;
cf694132 185} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
186 return _resultobj;
187}
188
189#define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
efc5f224 190static PyObject *_wrap_wxColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
191 PyObject * _resultobj;
192 wxColour * _result;
193 wxColourData * _arg0;
1d99702e 194 PyObject * _argo0 = 0;
efc5f224 195 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
196 char _ptemp[128];
197
198 self = self;
efc5f224 199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetColour",_kwnames,&_argo0))
8ab979d7 200 return NULL;
1d99702e
RD
201 if (_argo0) {
202 if (_argo0 == Py_None) { _arg0 = NULL; }
203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
205 return NULL;
206 }
207 }
cf694132
RD
208{
209 wxPy_BEGIN_ALLOW_THREADS;
25832b3f 210 _result = new wxColour (wxColourData_GetColour(_arg0));
cf694132
RD
211
212 wxPy_END_ALLOW_THREADS;
493f1553 213 if (PyErr_Occurred()) return NULL;
25832b3f
RD
214} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
215 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
216 return _resultobj;
217}
218
219#define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
efc5f224 220static PyObject *_wrap_wxColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
221 PyObject * _resultobj;
222 wxColour * _result;
223 wxColourData * _arg0;
224 int _arg1;
1d99702e 225 PyObject * _argo0 = 0;
efc5f224 226 char *_kwnames[] = { "self","i", NULL };
8ab979d7
RD
227 char _ptemp[128];
228
229 self = self;
efc5f224 230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_GetCustomColour",_kwnames,&_argo0,&_arg1))
8ab979d7 231 return NULL;
1d99702e
RD
232 if (_argo0) {
233 if (_argo0 == Py_None) { _arg0 = NULL; }
234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
236 return NULL;
237 }
238 }
cf694132
RD
239{
240 wxPy_BEGIN_ALLOW_THREADS;
241 _result = new wxColour (wxColourData_GetCustomColour(_arg0,_arg1));
242
243 wxPy_END_ALLOW_THREADS;
493f1553 244 if (PyErr_Occurred()) return NULL;
cf694132 245} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
246 _resultobj = Py_BuildValue("s",_ptemp);
247 return _resultobj;
248}
249
250#define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
efc5f224 251static PyObject *_wrap_wxColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
252 PyObject * _resultobj;
253 wxColourData * _arg0;
254 int _arg1;
1d99702e 255 PyObject * _argo0 = 0;
efc5f224 256 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
257
258 self = self;
efc5f224 259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_SetChooseFull",_kwnames,&_argo0,&_arg1))
8ab979d7 260 return NULL;
1d99702e
RD
261 if (_argo0) {
262 if (_argo0 == Py_None) { _arg0 = NULL; }
263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
265 return NULL;
266 }
267 }
cf694132
RD
268{
269 wxPy_BEGIN_ALLOW_THREADS;
270 wxColourData_SetChooseFull(_arg0,_arg1);
271
272 wxPy_END_ALLOW_THREADS;
493f1553 273 if (PyErr_Occurred()) return NULL;
cf694132 274} Py_INCREF(Py_None);
8ab979d7
RD
275 _resultobj = Py_None;
276 return _resultobj;
277}
278
279#define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
efc5f224 280static PyObject *_wrap_wxColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
281 PyObject * _resultobj;
282 wxColourData * _arg0;
283 wxColour * _arg1;
1d99702e 284 PyObject * _argo0 = 0;
f6bcfd97
BP
285 wxColour temp;
286 PyObject * _obj1 = 0;
efc5f224 287 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
288
289 self = self;
f6bcfd97 290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourData_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 291 return NULL;
1d99702e
RD
292 if (_argo0) {
293 if (_argo0 == Py_None) { _arg0 = NULL; }
294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
296 return NULL;
297 }
298 }
f6bcfd97
BP
299{
300 _arg1 = &temp;
301 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 302 return NULL;
f6bcfd97 303}
cf694132
RD
304{
305 wxPy_BEGIN_ALLOW_THREADS;
306 wxColourData_SetColour(_arg0,*_arg1);
307
308 wxPy_END_ALLOW_THREADS;
493f1553 309 if (PyErr_Occurred()) return NULL;
cf694132 310} Py_INCREF(Py_None);
8ab979d7
RD
311 _resultobj = Py_None;
312 return _resultobj;
313}
314
315#define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
efc5f224 316static PyObject *_wrap_wxColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
317 PyObject * _resultobj;
318 wxColourData * _arg0;
319 int _arg1;
320 wxColour * _arg2;
1d99702e 321 PyObject * _argo0 = 0;
f6bcfd97
BP
322 wxColour temp;
323 PyObject * _obj2 = 0;
efc5f224 324 char *_kwnames[] = { "self","i","colour", NULL };
8ab979d7
RD
325
326 self = self;
f6bcfd97 327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxColourData_SetCustomColour",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 328 return NULL;
1d99702e
RD
329 if (_argo0) {
330 if (_argo0 == Py_None) { _arg0 = NULL; }
331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
333 return NULL;
334 }
335 }
f6bcfd97
BP
336{
337 _arg2 = &temp;
338 if (! wxColour_helper(_obj2, &_arg2))
8ab979d7 339 return NULL;
f6bcfd97 340}
cf694132
RD
341{
342 wxPy_BEGIN_ALLOW_THREADS;
343 wxColourData_SetCustomColour(_arg0,_arg1,*_arg2);
344
345 wxPy_END_ALLOW_THREADS;
493f1553 346 if (PyErr_Occurred()) return NULL;
cf694132 347} Py_INCREF(Py_None);
8ab979d7
RD
348 _resultobj = Py_None;
349 return _resultobj;
350}
351
352static void *SwigwxColourDialogTowxDialog(void *ptr) {
353 wxColourDialog *src;
354 wxDialog *dest;
355 src = (wxColourDialog *) ptr;
356 dest = (wxDialog *) src;
357 return (void *) dest;
358}
359
360static void *SwigwxColourDialogTowxPanel(void *ptr) {
361 wxColourDialog *src;
362 wxPanel *dest;
363 src = (wxColourDialog *) ptr;
364 dest = (wxPanel *) src;
365 return (void *) dest;
366}
367
368static void *SwigwxColourDialogTowxWindow(void *ptr) {
369 wxColourDialog *src;
370 wxWindow *dest;
371 src = (wxColourDialog *) ptr;
372 dest = (wxWindow *) src;
373 return (void *) dest;
374}
375
376static void *SwigwxColourDialogTowxEvtHandler(void *ptr) {
377 wxColourDialog *src;
378 wxEvtHandler *dest;
379 src = (wxColourDialog *) ptr;
380 dest = (wxEvtHandler *) src;
381 return (void *) dest;
382}
383
9416aa89
RD
384static void *SwigwxColourDialogTowxObject(void *ptr) {
385 wxColourDialog *src;
386 wxObject *dest;
387 src = (wxColourDialog *) ptr;
388 dest = (wxObject *) src;
389 return (void *) dest;
390}
391
8ab979d7 392#define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
efc5f224 393static PyObject *_wrap_new_wxColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
394 PyObject * _resultobj;
395 wxColourDialog * _result;
396 wxWindow * _arg0;
1d99702e
RD
397 wxColourData * _arg1 = (wxColourData *) NULL;
398 PyObject * _argo0 = 0;
399 PyObject * _argo1 = 0;
efc5f224 400 char *_kwnames[] = { "parent","data", NULL };
8ab979d7
RD
401 char _ptemp[128];
402
403 self = self;
efc5f224 404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxColourDialog",_kwnames,&_argo0,&_argo1))
8ab979d7 405 return NULL;
1d99702e
RD
406 if (_argo0) {
407 if (_argo0 == Py_None) { _arg0 = NULL; }
408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
410 return NULL;
411 }
412 }
1d99702e
RD
413 if (_argo1) {
414 if (_argo1 == Py_None) { _arg1 = NULL; }
415 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColourData_p")) {
8ab979d7
RD
416 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
417 return NULL;
418 }
419 }
cf694132
RD
420{
421 wxPy_BEGIN_ALLOW_THREADS;
422 _result = (wxColourDialog *)new_wxColourDialog(_arg0,_arg1);
423
424 wxPy_END_ALLOW_THREADS;
493f1553 425 if (PyErr_Occurred()) return NULL;
1d99702e
RD
426} if (_result) {
427 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourDialog_p");
428 _resultobj = Py_BuildValue("s",_ptemp);
429 } else {
430 Py_INCREF(Py_None);
431 _resultobj = Py_None;
432 }
8ab979d7
RD
433 return _resultobj;
434}
435
436#define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
efc5f224 437static PyObject *_wrap_wxColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
438 PyObject * _resultobj;
439 wxColourData * _result;
440 wxColourDialog * _arg0;
1d99702e 441 PyObject * _argo0 = 0;
efc5f224 442 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
443 char _ptemp[128];
444
445 self = self;
efc5f224 446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_GetColourData",_kwnames,&_argo0))
8ab979d7 447 return NULL;
1d99702e
RD
448 if (_argo0) {
449 if (_argo0 == Py_None) { _arg0 = NULL; }
450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
8ab979d7
RD
451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
452 return NULL;
453 }
454 }
cf694132
RD
455{
456 wxPy_BEGIN_ALLOW_THREADS;
457 wxColourData & _result_ref = wxColourDialog_GetColourData(_arg0);
8ab979d7 458 _result = (wxColourData *) &_result_ref;
cf694132
RD
459
460 wxPy_END_ALLOW_THREADS;
493f1553 461 if (PyErr_Occurred()) return NULL;
1d99702e
RD
462} if (_result) {
463 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p");
464 _resultobj = Py_BuildValue("s",_ptemp);
465 } else {
466 Py_INCREF(Py_None);
467 _resultobj = Py_None;
468 }
8ab979d7
RD
469 return _resultobj;
470}
471
472#define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 473static PyObject *_wrap_wxColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
474 PyObject * _resultobj;
475 int _result;
476 wxColourDialog * _arg0;
1d99702e 477 PyObject * _argo0 = 0;
efc5f224 478 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
479
480 self = self;
efc5f224 481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 482 return NULL;
1d99702e
RD
483 if (_argo0) {
484 if (_argo0 == Py_None) { _arg0 = NULL; }
485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
8ab979d7
RD
486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
487 return NULL;
488 }
489 }
cf694132
RD
490{
491 wxPy_BEGIN_ALLOW_THREADS;
492 _result = (int )wxColourDialog_ShowModal(_arg0);
493
494 wxPy_END_ALLOW_THREADS;
493f1553 495 if (PyErr_Occurred()) return NULL;
cf694132 496} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
497 return _resultobj;
498}
499
500static void *SwigwxDirDialogTowxDialog(void *ptr) {
501 wxDirDialog *src;
502 wxDialog *dest;
503 src = (wxDirDialog *) ptr;
504 dest = (wxDialog *) src;
505 return (void *) dest;
506}
507
508static void *SwigwxDirDialogTowxPanel(void *ptr) {
509 wxDirDialog *src;
510 wxPanel *dest;
511 src = (wxDirDialog *) ptr;
512 dest = (wxPanel *) src;
513 return (void *) dest;
514}
515
516static void *SwigwxDirDialogTowxWindow(void *ptr) {
517 wxDirDialog *src;
518 wxWindow *dest;
519 src = (wxDirDialog *) ptr;
520 dest = (wxWindow *) src;
521 return (void *) dest;
522}
523
524static void *SwigwxDirDialogTowxEvtHandler(void *ptr) {
525 wxDirDialog *src;
526 wxEvtHandler *dest;
527 src = (wxDirDialog *) ptr;
528 dest = (wxEvtHandler *) src;
529 return (void *) dest;
530}
531
9416aa89
RD
532static void *SwigwxDirDialogTowxObject(void *ptr) {
533 wxDirDialog *src;
534 wxObject *dest;
535 src = (wxDirDialog *) ptr;
536 dest = (wxObject *) src;
537 return (void *) dest;
538}
539
8ab979d7 540#define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 541static PyObject *_wrap_new_wxDirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
542 PyObject * _resultobj;
543 wxDirDialog * _result;
544 wxWindow * _arg0;
1d99702e
RD
545 char * _arg1 = (char *) "Choose a directory";
546 char * _arg2 = (char *) "";
547 long _arg3 = (long ) 0;
e508a2b6 548 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1d99702e 549 PyObject * _argo0 = 0;
2f90df85
RD
550 wxPoint temp;
551 PyObject * _obj4 = 0;
efc5f224 552 char *_kwnames[] = { "parent","message","defaultPath","style","pos", NULL };
8ab979d7
RD
553 char _ptemp[128];
554
555 self = self;
2f90df85 556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sslO:new_wxDirDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
8ab979d7 557 return NULL;
1d99702e
RD
558 if (_argo0) {
559 if (_argo0 == Py_None) { _arg0 = NULL; }
560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
562 return NULL;
563 }
564 }
2f90df85
RD
565 if (_obj4)
566{
567 _arg4 = &temp;
568 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 569 return NULL;
2f90df85 570}
cf694132
RD
571{
572 wxPy_BEGIN_ALLOW_THREADS;
573 _result = (wxDirDialog *)new_wxDirDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
574
575 wxPy_END_ALLOW_THREADS;
493f1553 576 if (PyErr_Occurred()) return NULL;
1d99702e
RD
577} if (_result) {
578 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirDialog_p");
579 _resultobj = Py_BuildValue("s",_ptemp);
580 } else {
581 Py_INCREF(Py_None);
582 _resultobj = Py_None;
583 }
8ab979d7
RD
584 return _resultobj;
585}
586
587#define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
efc5f224 588static PyObject *_wrap_wxDirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
589 PyObject * _resultobj;
590 wxString * _result;
591 wxDirDialog * _arg0;
1d99702e 592 PyObject * _argo0 = 0;
efc5f224 593 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
594
595 self = self;
efc5f224 596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetPath",_kwnames,&_argo0))
8ab979d7 597 return NULL;
1d99702e
RD
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
602 return NULL;
603 }
604 }
8ab979d7 605{
cf694132
RD
606 wxPy_BEGIN_ALLOW_THREADS;
607 _result = new wxString (wxDirDialog_GetPath(_arg0));
608
609 wxPy_END_ALLOW_THREADS;
493f1553 610 if (PyErr_Occurred()) return NULL;
cf694132 611}{
eec92d76 612 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
613}
614{
615 delete _result;
616}
617 return _resultobj;
618}
619
620#define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
efc5f224 621static PyObject *_wrap_wxDirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
622 PyObject * _resultobj;
623 wxString * _result;
624 wxDirDialog * _arg0;
1d99702e 625 PyObject * _argo0 = 0;
efc5f224 626 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
627
628 self = self;
efc5f224 629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetMessage",_kwnames,&_argo0))
8ab979d7 630 return NULL;
1d99702e
RD
631 if (_argo0) {
632 if (_argo0 == Py_None) { _arg0 = NULL; }
633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
635 return NULL;
636 }
637 }
8ab979d7 638{
cf694132
RD
639 wxPy_BEGIN_ALLOW_THREADS;
640 _result = new wxString (wxDirDialog_GetMessage(_arg0));
641
642 wxPy_END_ALLOW_THREADS;
493f1553 643 if (PyErr_Occurred()) return NULL;
cf694132 644}{
eec92d76 645 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
646}
647{
648 delete _result;
649}
650 return _resultobj;
651}
652
653#define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
efc5f224 654static PyObject *_wrap_wxDirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
655 PyObject * _resultobj;
656 long _result;
657 wxDirDialog * _arg0;
1d99702e 658 PyObject * _argo0 = 0;
efc5f224 659 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
660
661 self = self;
efc5f224 662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetStyle",_kwnames,&_argo0))
8ab979d7 663 return NULL;
1d99702e
RD
664 if (_argo0) {
665 if (_argo0 == Py_None) { _arg0 = NULL; }
666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
668 return NULL;
669 }
670 }
cf694132
RD
671{
672 wxPy_BEGIN_ALLOW_THREADS;
673 _result = (long )wxDirDialog_GetStyle(_arg0);
674
675 wxPy_END_ALLOW_THREADS;
493f1553 676 if (PyErr_Occurred()) return NULL;
cf694132 677} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
678 return _resultobj;
679}
680
681#define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
efc5f224 682static PyObject *_wrap_wxDirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
683 PyObject * _resultobj;
684 wxDirDialog * _arg0;
685 wxString * _arg1;
1d99702e 686 PyObject * _argo0 = 0;
8ab979d7 687 PyObject * _obj1 = 0;
efc5f224 688 char *_kwnames[] = { "self","message", NULL };
8ab979d7
RD
689
690 self = self;
efc5f224 691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetMessage",_kwnames,&_argo0,&_obj1))
8ab979d7 692 return NULL;
1d99702e
RD
693 if (_argo0) {
694 if (_argo0 == Py_None) { _arg0 = NULL; }
695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
697 return NULL;
698 }
699 }
700{
185d7c3e
RD
701#if PYTHON_API_VERSION >= 1009
702 char* tmpPtr; int tmpSize;
703 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 704 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
705 return NULL;
706 }
707 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
708 return NULL;
709 _arg1 = new wxString(tmpPtr, tmpSize);
710#else
8ab979d7
RD
711 if (!PyString_Check(_obj1)) {
712 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
713 return NULL;
714 }
185d7c3e
RD
715 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
716#endif
8ab979d7 717}
cf694132
RD
718{
719 wxPy_BEGIN_ALLOW_THREADS;
720 wxDirDialog_SetMessage(_arg0,*_arg1);
721
722 wxPy_END_ALLOW_THREADS;
493f1553 723 if (PyErr_Occurred()) return NULL;
cf694132 724} Py_INCREF(Py_None);
8ab979d7
RD
725 _resultobj = Py_None;
726{
727 if (_obj1)
728 delete _arg1;
729}
730 return _resultobj;
731}
732
733#define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
efc5f224 734static PyObject *_wrap_wxDirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
735 PyObject * _resultobj;
736 wxDirDialog * _arg0;
737 wxString * _arg1;
1d99702e 738 PyObject * _argo0 = 0;
8ab979d7 739 PyObject * _obj1 = 0;
efc5f224 740 char *_kwnames[] = { "self","path", NULL };
8ab979d7
RD
741
742 self = self;
efc5f224 743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetPath",_kwnames,&_argo0,&_obj1))
8ab979d7 744 return NULL;
1d99702e
RD
745 if (_argo0) {
746 if (_argo0 == Py_None) { _arg0 = NULL; }
747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
749 return NULL;
750 }
751 }
752{
185d7c3e
RD
753#if PYTHON_API_VERSION >= 1009
754 char* tmpPtr; int tmpSize;
755 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 756 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
757 return NULL;
758 }
759 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
760 return NULL;
761 _arg1 = new wxString(tmpPtr, tmpSize);
762#else
8ab979d7
RD
763 if (!PyString_Check(_obj1)) {
764 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
765 return NULL;
766 }
185d7c3e
RD
767 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
768#endif
8ab979d7 769}
cf694132
RD
770{
771 wxPy_BEGIN_ALLOW_THREADS;
772 wxDirDialog_SetPath(_arg0,*_arg1);
773
774 wxPy_END_ALLOW_THREADS;
493f1553 775 if (PyErr_Occurred()) return NULL;
cf694132 776} Py_INCREF(Py_None);
8ab979d7
RD
777 _resultobj = Py_None;
778{
779 if (_obj1)
780 delete _arg1;
781}
782 return _resultobj;
783}
784
785#define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 786static PyObject *_wrap_wxDirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
787 PyObject * _resultobj;
788 int _result;
789 wxDirDialog * _arg0;
1d99702e 790 PyObject * _argo0 = 0;
efc5f224 791 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
792
793 self = self;
efc5f224 794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 795 return NULL;
1d99702e
RD
796 if (_argo0) {
797 if (_argo0 == Py_None) { _arg0 = NULL; }
798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
800 return NULL;
801 }
802 }
cf694132
RD
803{
804 wxPy_BEGIN_ALLOW_THREADS;
805 _result = (int )wxDirDialog_ShowModal(_arg0);
806
807 wxPy_END_ALLOW_THREADS;
493f1553 808 if (PyErr_Occurred()) return NULL;
cf694132 809} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
810 return _resultobj;
811}
812
813static void *SwigwxFileDialogTowxDialog(void *ptr) {
814 wxFileDialog *src;
815 wxDialog *dest;
816 src = (wxFileDialog *) ptr;
817 dest = (wxDialog *) src;
818 return (void *) dest;
819}
820
821static void *SwigwxFileDialogTowxPanel(void *ptr) {
822 wxFileDialog *src;
823 wxPanel *dest;
824 src = (wxFileDialog *) ptr;
825 dest = (wxPanel *) src;
826 return (void *) dest;
827}
828
829static void *SwigwxFileDialogTowxWindow(void *ptr) {
830 wxFileDialog *src;
831 wxWindow *dest;
832 src = (wxFileDialog *) ptr;
833 dest = (wxWindow *) src;
834 return (void *) dest;
835}
836
837static void *SwigwxFileDialogTowxEvtHandler(void *ptr) {
838 wxFileDialog *src;
839 wxEvtHandler *dest;
840 src = (wxFileDialog *) ptr;
841 dest = (wxEvtHandler *) src;
842 return (void *) dest;
843}
844
9416aa89
RD
845static void *SwigwxFileDialogTowxObject(void *ptr) {
846 wxFileDialog *src;
847 wxObject *dest;
848 src = (wxFileDialog *) ptr;
849 dest = (wxObject *) src;
850 return (void *) dest;
851}
852
8ab979d7 853#define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 854static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
855 PyObject * _resultobj;
856 wxFileDialog * _result;
857 wxWindow * _arg0;
1d99702e
RD
858 char * _arg1 = (char *) "Choose a file";
859 char * _arg2 = (char *) "";
860 char * _arg3 = (char *) "";
861 char * _arg4 = (char *) "*.*";
862 long _arg5 = (long ) 0;
e508a2b6 863 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
1d99702e 864 PyObject * _argo0 = 0;
2f90df85
RD
865 wxPoint temp;
866 PyObject * _obj6 = 0;
efc5f224 867 char *_kwnames[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL };
8ab979d7
RD
868 char _ptemp[128];
869
870 self = self;
2f90df85 871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sssslO:new_wxFileDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
8ab979d7 872 return NULL;
1d99702e
RD
873 if (_argo0) {
874 if (_argo0 == Py_None) { _arg0 = NULL; }
875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
877 return NULL;
878 }
879 }
2f90df85
RD
880 if (_obj6)
881{
882 _arg6 = &temp;
883 if (! wxPoint_helper(_obj6, &_arg6))
8ab979d7 884 return NULL;
2f90df85 885}
cf694132
RD
886{
887 wxPy_BEGIN_ALLOW_THREADS;
888 _result = (wxFileDialog *)new_wxFileDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6);
889
890 wxPy_END_ALLOW_THREADS;
493f1553 891 if (PyErr_Occurred()) return NULL;
1d99702e
RD
892} if (_result) {
893 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileDialog_p");
894 _resultobj = Py_BuildValue("s",_ptemp);
895 } else {
896 Py_INCREF(Py_None);
897 _resultobj = Py_None;
898 }
8ab979d7
RD
899 return _resultobj;
900}
901
902#define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
efc5f224 903static PyObject *_wrap_wxFileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
904 PyObject * _resultobj;
905 wxString * _result;
906 wxFileDialog * _arg0;
1d99702e 907 PyObject * _argo0 = 0;
efc5f224 908 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
909
910 self = self;
efc5f224 911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetDirectory",_kwnames,&_argo0))
8ab979d7 912 return NULL;
1d99702e
RD
913 if (_argo0) {
914 if (_argo0 == Py_None) { _arg0 = NULL; }
915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
917 return NULL;
918 }
919 }
8ab979d7 920{
cf694132
RD
921 wxPy_BEGIN_ALLOW_THREADS;
922 _result = new wxString (wxFileDialog_GetDirectory(_arg0));
923
924 wxPy_END_ALLOW_THREADS;
493f1553 925 if (PyErr_Occurred()) return NULL;
cf694132 926}{
eec92d76 927 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
928}
929{
930 delete _result;
931}
932 return _resultobj;
933}
934
935#define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
efc5f224 936static PyObject *_wrap_wxFileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
937 PyObject * _resultobj;
938 wxString * _result;
939 wxFileDialog * _arg0;
1d99702e 940 PyObject * _argo0 = 0;
efc5f224 941 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
942
943 self = self;
efc5f224 944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilename",_kwnames,&_argo0))
8ab979d7 945 return NULL;
1d99702e
RD
946 if (_argo0) {
947 if (_argo0 == Py_None) { _arg0 = NULL; }
948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
950 return NULL;
951 }
952 }
8ab979d7 953{
cf694132
RD
954 wxPy_BEGIN_ALLOW_THREADS;
955 _result = new wxString (wxFileDialog_GetFilename(_arg0));
956
957 wxPy_END_ALLOW_THREADS;
493f1553 958 if (PyErr_Occurred()) return NULL;
cf694132 959}{
eec92d76 960 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
961}
962{
963 delete _result;
964}
965 return _resultobj;
966}
967
968#define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
efc5f224 969static PyObject *_wrap_wxFileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
970 PyObject * _resultobj;
971 int _result;
972 wxFileDialog * _arg0;
1d99702e 973 PyObject * _argo0 = 0;
efc5f224 974 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
975
976 self = self;
efc5f224 977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilterIndex",_kwnames,&_argo0))
8ab979d7 978 return NULL;
1d99702e
RD
979 if (_argo0) {
980 if (_argo0 == Py_None) { _arg0 = NULL; }
981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
983 return NULL;
984 }
985 }
cf694132
RD
986{
987 wxPy_BEGIN_ALLOW_THREADS;
988 _result = (int )wxFileDialog_GetFilterIndex(_arg0);
989
990 wxPy_END_ALLOW_THREADS;
493f1553 991 if (PyErr_Occurred()) return NULL;
cf694132 992} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
993 return _resultobj;
994}
995
996#define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
efc5f224 997static PyObject *_wrap_wxFileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
998 PyObject * _resultobj;
999 wxString * _result;
1000 wxFileDialog * _arg0;
1d99702e 1001 PyObject * _argo0 = 0;
efc5f224 1002 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1003
1004 self = self;
efc5f224 1005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetMessage",_kwnames,&_argo0))
8ab979d7 1006 return NULL;
1d99702e
RD
1007 if (_argo0) {
1008 if (_argo0 == Py_None) { _arg0 = NULL; }
1009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1011 return NULL;
1012 }
1013 }
8ab979d7 1014{
cf694132
RD
1015 wxPy_BEGIN_ALLOW_THREADS;
1016 _result = new wxString (wxFileDialog_GetMessage(_arg0));
1017
1018 wxPy_END_ALLOW_THREADS;
493f1553 1019 if (PyErr_Occurred()) return NULL;
cf694132 1020}{
eec92d76 1021 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
1022}
1023{
1024 delete _result;
1025}
1026 return _resultobj;
1027}
1028
1029#define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
efc5f224 1030static PyObject *_wrap_wxFileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1031 PyObject * _resultobj;
1032 wxString * _result;
1033 wxFileDialog * _arg0;
1d99702e 1034 PyObject * _argo0 = 0;
efc5f224 1035 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1036
1037 self = self;
efc5f224 1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetPath",_kwnames,&_argo0))
8ab979d7 1039 return NULL;
1d99702e
RD
1040 if (_argo0) {
1041 if (_argo0 == Py_None) { _arg0 = NULL; }
1042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1044 return NULL;
1045 }
1046 }
8ab979d7 1047{
cf694132
RD
1048 wxPy_BEGIN_ALLOW_THREADS;
1049 _result = new wxString (wxFileDialog_GetPath(_arg0));
1050
1051 wxPy_END_ALLOW_THREADS;
493f1553 1052 if (PyErr_Occurred()) return NULL;
cf694132 1053}{
eec92d76 1054 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
1055}
1056{
1057 delete _result;
1058}
1059 return _resultobj;
1060}
1061
1062#define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
efc5f224 1063static PyObject *_wrap_wxFileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1064 PyObject * _resultobj;
1065 long _result;
1066 wxFileDialog * _arg0;
1d99702e 1067 PyObject * _argo0 = 0;
efc5f224 1068 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1069
1070 self = self;
efc5f224 1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetStyle",_kwnames,&_argo0))
8ab979d7 1072 return NULL;
1d99702e
RD
1073 if (_argo0) {
1074 if (_argo0 == Py_None) { _arg0 = NULL; }
1075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1077 return NULL;
1078 }
1079 }
cf694132
RD
1080{
1081 wxPy_BEGIN_ALLOW_THREADS;
1082 _result = (long )wxFileDialog_GetStyle(_arg0);
1083
1084 wxPy_END_ALLOW_THREADS;
493f1553 1085 if (PyErr_Occurred()) return NULL;
cf694132 1086} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1087 return _resultobj;
1088}
1089
1090#define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
efc5f224 1091static PyObject *_wrap_wxFileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1092 PyObject * _resultobj;
1093 wxString * _result;
1094 wxFileDialog * _arg0;
1d99702e 1095 PyObject * _argo0 = 0;
efc5f224 1096 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1097
1098 self = self;
efc5f224 1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetWildcard",_kwnames,&_argo0))
8ab979d7 1100 return NULL;
1d99702e
RD
1101 if (_argo0) {
1102 if (_argo0 == Py_None) { _arg0 = NULL; }
1103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1105 return NULL;
1106 }
1107 }
8ab979d7 1108{
cf694132
RD
1109 wxPy_BEGIN_ALLOW_THREADS;
1110 _result = new wxString (wxFileDialog_GetWildcard(_arg0));
1111
1112 wxPy_END_ALLOW_THREADS;
493f1553 1113 if (PyErr_Occurred()) return NULL;
cf694132 1114}{
eec92d76 1115 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
1116}
1117{
1118 delete _result;
1119}
1120 return _resultobj;
1121}
1122
1123#define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
efc5f224 1124static PyObject *_wrap_wxFileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1125 PyObject * _resultobj;
1126 wxFileDialog * _arg0;
1127 wxString * _arg1;
1d99702e 1128 PyObject * _argo0 = 0;
8ab979d7 1129 PyObject * _obj1 = 0;
efc5f224 1130 char *_kwnames[] = { "self","directory", NULL };
8ab979d7
RD
1131
1132 self = self;
efc5f224 1133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetDirectory",_kwnames,&_argo0,&_obj1))
8ab979d7 1134 return NULL;
1d99702e
RD
1135 if (_argo0) {
1136 if (_argo0 == Py_None) { _arg0 = NULL; }
1137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1139 return NULL;
1140 }
1141 }
1142{
185d7c3e
RD
1143#if PYTHON_API_VERSION >= 1009
1144 char* tmpPtr; int tmpSize;
1145 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1146 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1147 return NULL;
1148 }
1149 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1150 return NULL;
1151 _arg1 = new wxString(tmpPtr, tmpSize);
1152#else
8ab979d7
RD
1153 if (!PyString_Check(_obj1)) {
1154 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1155 return NULL;
1156 }
185d7c3e
RD
1157 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1158#endif
8ab979d7 1159}
cf694132
RD
1160{
1161 wxPy_BEGIN_ALLOW_THREADS;
1162 wxFileDialog_SetDirectory(_arg0,*_arg1);
1163
1164 wxPy_END_ALLOW_THREADS;
493f1553 1165 if (PyErr_Occurred()) return NULL;
cf694132 1166} Py_INCREF(Py_None);
8ab979d7
RD
1167 _resultobj = Py_None;
1168{
1169 if (_obj1)
1170 delete _arg1;
1171}
1172 return _resultobj;
1173}
1174
1175#define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
efc5f224 1176static PyObject *_wrap_wxFileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1177 PyObject * _resultobj;
1178 wxFileDialog * _arg0;
1179 wxString * _arg1;
1d99702e 1180 PyObject * _argo0 = 0;
8ab979d7 1181 PyObject * _obj1 = 0;
efc5f224 1182 char *_kwnames[] = { "self","setfilename", NULL };
8ab979d7
RD
1183
1184 self = self;
efc5f224 1185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetFilename",_kwnames,&_argo0,&_obj1))
8ab979d7 1186 return NULL;
1d99702e
RD
1187 if (_argo0) {
1188 if (_argo0 == Py_None) { _arg0 = NULL; }
1189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1191 return NULL;
1192 }
1193 }
1194{
185d7c3e
RD
1195#if PYTHON_API_VERSION >= 1009
1196 char* tmpPtr; int tmpSize;
1197 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1198 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1199 return NULL;
1200 }
1201 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1202 return NULL;
1203 _arg1 = new wxString(tmpPtr, tmpSize);
1204#else
8ab979d7
RD
1205 if (!PyString_Check(_obj1)) {
1206 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1207 return NULL;
1208 }
185d7c3e
RD
1209 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1210#endif
8ab979d7 1211}
cf694132
RD
1212{
1213 wxPy_BEGIN_ALLOW_THREADS;
1214 wxFileDialog_SetFilename(_arg0,*_arg1);
1215
1216 wxPy_END_ALLOW_THREADS;
493f1553 1217 if (PyErr_Occurred()) return NULL;
cf694132 1218} Py_INCREF(Py_None);
8ab979d7
RD
1219 _resultobj = Py_None;
1220{
1221 if (_obj1)
1222 delete _arg1;
1223}
1224 return _resultobj;
1225}
1226
1227#define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
efc5f224 1228static PyObject *_wrap_wxFileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1229 PyObject * _resultobj;
1230 wxFileDialog * _arg0;
1231 int _arg1;
1d99702e 1232 PyObject * _argo0 = 0;
efc5f224 1233 char *_kwnames[] = { "self","filterIndex", NULL };
8ab979d7
RD
1234
1235 self = self;
efc5f224 1236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileDialog_SetFilterIndex",_kwnames,&_argo0,&_arg1))
8ab979d7 1237 return NULL;
1d99702e
RD
1238 if (_argo0) {
1239 if (_argo0 == Py_None) { _arg0 = NULL; }
1240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1242 return NULL;
1243 }
1244 }
cf694132
RD
1245{
1246 wxPy_BEGIN_ALLOW_THREADS;
1247 wxFileDialog_SetFilterIndex(_arg0,_arg1);
1248
1249 wxPy_END_ALLOW_THREADS;
493f1553 1250 if (PyErr_Occurred()) return NULL;
cf694132 1251} Py_INCREF(Py_None);
8ab979d7
RD
1252 _resultobj = Py_None;
1253 return _resultobj;
1254}
1255
1256#define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
efc5f224 1257static PyObject *_wrap_wxFileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1258 PyObject * _resultobj;
1259 wxFileDialog * _arg0;
1260 wxString * _arg1;
1d99702e 1261 PyObject * _argo0 = 0;
8ab979d7 1262 PyObject * _obj1 = 0;
efc5f224 1263 char *_kwnames[] = { "self","message", NULL };
8ab979d7
RD
1264
1265 self = self;
efc5f224 1266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetMessage",_kwnames,&_argo0,&_obj1))
8ab979d7 1267 return NULL;
1d99702e
RD
1268 if (_argo0) {
1269 if (_argo0 == Py_None) { _arg0 = NULL; }
1270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1272 return NULL;
1273 }
1274 }
1275{
185d7c3e
RD
1276#if PYTHON_API_VERSION >= 1009
1277 char* tmpPtr; int tmpSize;
1278 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1279 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1280 return NULL;
1281 }
1282 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1283 return NULL;
1284 _arg1 = new wxString(tmpPtr, tmpSize);
1285#else
8ab979d7
RD
1286 if (!PyString_Check(_obj1)) {
1287 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1288 return NULL;
1289 }
185d7c3e
RD
1290 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1291#endif
8ab979d7 1292}
cf694132
RD
1293{
1294 wxPy_BEGIN_ALLOW_THREADS;
1295 wxFileDialog_SetMessage(_arg0,*_arg1);
1296
1297 wxPy_END_ALLOW_THREADS;
493f1553 1298 if (PyErr_Occurred()) return NULL;
cf694132 1299} Py_INCREF(Py_None);
8ab979d7
RD
1300 _resultobj = Py_None;
1301{
1302 if (_obj1)
1303 delete _arg1;
1304}
1305 return _resultobj;
1306}
1307
1308#define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
efc5f224 1309static PyObject *_wrap_wxFileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1310 PyObject * _resultobj;
1311 wxFileDialog * _arg0;
1312 wxString * _arg1;
1d99702e 1313 PyObject * _argo0 = 0;
8ab979d7 1314 PyObject * _obj1 = 0;
efc5f224 1315 char *_kwnames[] = { "self","path", NULL };
8ab979d7
RD
1316
1317 self = self;
efc5f224 1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetPath",_kwnames,&_argo0,&_obj1))
8ab979d7 1319 return NULL;
1d99702e
RD
1320 if (_argo0) {
1321 if (_argo0 == Py_None) { _arg0 = NULL; }
1322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1324 return NULL;
1325 }
1326 }
1327{
185d7c3e
RD
1328#if PYTHON_API_VERSION >= 1009
1329 char* tmpPtr; int tmpSize;
1330 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1331 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1332 return NULL;
1333 }
1334 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1335 return NULL;
1336 _arg1 = new wxString(tmpPtr, tmpSize);
1337#else
8ab979d7
RD
1338 if (!PyString_Check(_obj1)) {
1339 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1340 return NULL;
1341 }
185d7c3e
RD
1342 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1343#endif
8ab979d7 1344}
cf694132
RD
1345{
1346 wxPy_BEGIN_ALLOW_THREADS;
1347 wxFileDialog_SetPath(_arg0,*_arg1);
1348
1349 wxPy_END_ALLOW_THREADS;
493f1553 1350 if (PyErr_Occurred()) return NULL;
cf694132 1351} Py_INCREF(Py_None);
8ab979d7
RD
1352 _resultobj = Py_None;
1353{
1354 if (_obj1)
1355 delete _arg1;
1356}
1357 return _resultobj;
1358}
1359
1360#define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
efc5f224 1361static PyObject *_wrap_wxFileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1362 PyObject * _resultobj;
1363 wxFileDialog * _arg0;
1364 long _arg1;
1d99702e 1365 PyObject * _argo0 = 0;
efc5f224 1366 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
1367
1368 self = self;
efc5f224 1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxFileDialog_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 1370 return NULL;
1d99702e
RD
1371 if (_argo0) {
1372 if (_argo0 == Py_None) { _arg0 = NULL; }
1373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1375 return NULL;
1376 }
1377 }
cf694132
RD
1378{
1379 wxPy_BEGIN_ALLOW_THREADS;
1380 wxFileDialog_SetStyle(_arg0,_arg1);
1381
1382 wxPy_END_ALLOW_THREADS;
493f1553 1383 if (PyErr_Occurred()) return NULL;
cf694132 1384} Py_INCREF(Py_None);
8ab979d7
RD
1385 _resultobj = Py_None;
1386 return _resultobj;
1387}
1388
1389#define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
efc5f224 1390static PyObject *_wrap_wxFileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1391 PyObject * _resultobj;
1392 wxFileDialog * _arg0;
1393 wxString * _arg1;
1d99702e 1394 PyObject * _argo0 = 0;
8ab979d7 1395 PyObject * _obj1 = 0;
efc5f224 1396 char *_kwnames[] = { "self","wildCard", NULL };
8ab979d7
RD
1397
1398 self = self;
efc5f224 1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetWildcard",_kwnames,&_argo0,&_obj1))
8ab979d7 1400 return NULL;
1d99702e
RD
1401 if (_argo0) {
1402 if (_argo0 == Py_None) { _arg0 = NULL; }
1403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1405 return NULL;
1406 }
1407 }
1408{
185d7c3e
RD
1409#if PYTHON_API_VERSION >= 1009
1410 char* tmpPtr; int tmpSize;
1411 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1412 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1413 return NULL;
1414 }
1415 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1416 return NULL;
1417 _arg1 = new wxString(tmpPtr, tmpSize);
1418#else
8ab979d7
RD
1419 if (!PyString_Check(_obj1)) {
1420 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1421 return NULL;
1422 }
185d7c3e
RD
1423 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1424#endif
8ab979d7 1425}
cf694132
RD
1426{
1427 wxPy_BEGIN_ALLOW_THREADS;
1428 wxFileDialog_SetWildcard(_arg0,*_arg1);
1429
1430 wxPy_END_ALLOW_THREADS;
493f1553 1431 if (PyErr_Occurred()) return NULL;
cf694132 1432} Py_INCREF(Py_None);
8ab979d7
RD
1433 _resultobj = Py_None;
1434{
1435 if (_obj1)
1436 delete _arg1;
1437}
1438 return _resultobj;
1439}
1440
1441#define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 1442static PyObject *_wrap_wxFileDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1443 PyObject * _resultobj;
1444 int _result;
1445 wxFileDialog * _arg0;
1d99702e 1446 PyObject * _argo0 = 0;
efc5f224 1447 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1448
1449 self = self;
efc5f224 1450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 1451 return NULL;
1d99702e
RD
1452 if (_argo0) {
1453 if (_argo0 == Py_None) { _arg0 = NULL; }
1454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1456 return NULL;
1457 }
1458 }
cf694132
RD
1459{
1460 wxPy_BEGIN_ALLOW_THREADS;
1461 _result = (int )wxFileDialog_ShowModal(_arg0);
1462
1463 wxPy_END_ALLOW_THREADS;
493f1553 1464 if (PyErr_Occurred()) return NULL;
cf694132 1465} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1466 return _resultobj;
1467}
1468
f6bcfd97
BP
1469static PyObject * wxFileDialog_GetFilenames(wxFileDialog *self) {
1470 wxArrayString arr;
1471 self->GetFilenames(arr);
1472 size_t count = arr.GetCount();
1473 PyObject* listObj = PyList_New(0);
1474 for(size_t x=0; x<count; x++) {
1475 PyObject* name = PyString_FromString(arr[x]);
1476 PyList_Append(listObj, name);
1477 }
1478 return listObj;
1479 }
1480static PyObject *_wrap_wxFileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
1481 PyObject * _resultobj;
1482 PyObject * _result;
1483 wxFileDialog * _arg0;
1484 PyObject * _argo0 = 0;
1485 char *_kwnames[] = { "self", NULL };
1486
1487 self = self;
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilenames",_kwnames,&_argo0))
1489 return NULL;
1490 if (_argo0) {
1491 if (_argo0 == Py_None) { _arg0 = NULL; }
1492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1494 return NULL;
1495 }
1496 }
1497{
1498 wxPy_BEGIN_ALLOW_THREADS;
1499 _result = (PyObject *)wxFileDialog_GetFilenames(_arg0);
1500
1501 wxPy_END_ALLOW_THREADS;
493f1553 1502 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1503}{
1504 _resultobj = _result;
1505}
1506 return _resultobj;
1507}
1508
1509static PyObject * wxFileDialog_GetPaths(wxFileDialog *self) {
1510 wxArrayString arr;
1511 self->GetPaths(arr);
1512 size_t count = arr.GetCount();
1513 PyObject* listObj = PyList_New(0);
1514 for(size_t x=0; x<count; x++) {
1515 PyObject* name = PyString_FromString(arr[x]);
1516 PyList_Append(listObj, name);
1517 }
1518 return listObj;
1519 }
1520static PyObject *_wrap_wxFileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
1521 PyObject * _resultobj;
1522 PyObject * _result;
1523 wxFileDialog * _arg0;
1524 PyObject * _argo0 = 0;
1525 char *_kwnames[] = { "self", NULL };
1526
1527 self = self;
1528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetPaths",_kwnames,&_argo0))
1529 return NULL;
1530 if (_argo0) {
1531 if (_argo0 == Py_None) { _arg0 = NULL; }
1532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1534 return NULL;
1535 }
1536 }
1537{
1538 wxPy_BEGIN_ALLOW_THREADS;
1539 _result = (PyObject *)wxFileDialog_GetPaths(_arg0);
1540
1541 wxPy_END_ALLOW_THREADS;
493f1553 1542 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1543}{
1544 _resultobj = _result;
1545}
1546 return _resultobj;
1547}
1548
8ab979d7
RD
1549static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr) {
1550 wxSingleChoiceDialog *src;
1551 wxDialog *dest;
1552 src = (wxSingleChoiceDialog *) ptr;
1553 dest = (wxDialog *) src;
1554 return (void *) dest;
1555}
1556
1557static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr) {
1558 wxSingleChoiceDialog *src;
1559 wxPanel *dest;
1560 src = (wxSingleChoiceDialog *) ptr;
1561 dest = (wxPanel *) src;
1562 return (void *) dest;
1563}
1564
1565static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr) {
1566 wxSingleChoiceDialog *src;
1567 wxWindow *dest;
1568 src = (wxSingleChoiceDialog *) ptr;
1569 dest = (wxWindow *) src;
1570 return (void *) dest;
1571}
1572
1573static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr) {
1574 wxSingleChoiceDialog *src;
1575 wxEvtHandler *dest;
1576 src = (wxSingleChoiceDialog *) ptr;
1577 dest = (wxEvtHandler *) src;
1578 return (void *) dest;
1579}
1580
9416aa89
RD
1581static void *SwigwxSingleChoiceDialogTowxObject(void *ptr) {
1582 wxSingleChoiceDialog *src;
1583 wxObject *dest;
1584 src = (wxSingleChoiceDialog *) ptr;
1585 dest = (wxObject *) src;
1586 return (void *) dest;
1587}
1588
eec92d76 1589static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString *message,wxString *caption,int LCOUNT,wxString *choices,long style,wxPoint *pos) {
8ab979d7 1590 return new wxSingleChoiceDialog(parent, *message, *caption,
eec92d76 1591 LCOUNT, choices, NULL, style, *pos);
8ab979d7
RD
1592 }
1593
efc5f224 1594static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1595 PyObject * _resultobj;
1596 wxSingleChoiceDialog * _result;
1597 wxWindow * _arg0;
1598 wxString * _arg1;
1599 wxString * _arg2;
1600 int _arg3;
1601 wxString * _arg4;
1d99702e 1602 long _arg5 = (long ) wxOK|wxCANCEL|wxCENTRE;
e508a2b6 1603 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
1d99702e 1604 PyObject * _argo0 = 0;
8ab979d7
RD
1605 PyObject * _obj1 = 0;
1606 PyObject * _obj2 = 0;
1607 PyObject * _obj4 = 0;
2f90df85
RD
1608 wxPoint temp;
1609 PyObject * _obj6 = 0;
eec92d76 1610 char *_kwnames[] = { "parent","message","caption","choices","style","pos", NULL };
8ab979d7
RD
1611 char _ptemp[128];
1612
1613 self = self;
2f90df85 1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames,&_argo0,&_obj1,&_obj2,&_obj4,&_arg5,&_obj6))
8ab979d7 1615 return NULL;
1d99702e
RD
1616 if (_argo0) {
1617 if (_argo0 == Py_None) { _arg0 = NULL; }
1618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1620 return NULL;
1621 }
1622 }
1623{
185d7c3e
RD
1624#if PYTHON_API_VERSION >= 1009
1625 char* tmpPtr; int tmpSize;
1626 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1627 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1628 return NULL;
1629 }
1630 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1631 return NULL;
1632 _arg1 = new wxString(tmpPtr, tmpSize);
1633#else
8ab979d7
RD
1634 if (!PyString_Check(_obj1)) {
1635 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1636 return NULL;
1637 }
185d7c3e
RD
1638 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1639#endif
8ab979d7
RD
1640}
1641{
185d7c3e
RD
1642#if PYTHON_API_VERSION >= 1009
1643 char* tmpPtr; int tmpSize;
1644 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 1645 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1646 return NULL;
1647 }
1648 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1649 return NULL;
1650 _arg2 = new wxString(tmpPtr, tmpSize);
1651#else
8ab979d7
RD
1652 if (!PyString_Check(_obj2)) {
1653 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1654 return NULL;
1655 }
185d7c3e
RD
1656 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1657#endif
8ab979d7
RD
1658}
1659 if (_obj4)
1660{
1661 _arg4 = wxString_LIST_helper(_obj4);
1662 if (_arg4 == NULL) {
1663 return NULL;
1664 }
1665}
2f90df85
RD
1666 if (_obj6)
1667{
1668 _arg6 = &temp;
1669 if (! wxPoint_helper(_obj6, &_arg6))
8ab979d7 1670 return NULL;
2f90df85 1671}
8ab979d7 1672{
cf694132
RD
1673 if (_obj4) {
1674 _arg3 = PyList_Size(_obj4);
1675 }
1676 else {
1677 _arg3 = 0;
1678 }
8ab979d7 1679}
cf694132
RD
1680{
1681 wxPy_BEGIN_ALLOW_THREADS;
1682 _result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1683
1684 wxPy_END_ALLOW_THREADS;
493f1553 1685 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1686} if (_result) {
1687 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSingleChoiceDialog_p");
1688 _resultobj = Py_BuildValue("s",_ptemp);
1689 } else {
1690 Py_INCREF(Py_None);
1691 _resultobj = Py_None;
1692 }
8ab979d7
RD
1693{
1694 if (_obj1)
1695 delete _arg1;
1696}
1697{
1698 if (_obj2)
1699 delete _arg2;
1700}
1701{
1702 delete [] _arg4;
1703}
1704 return _resultobj;
1705}
1706
1707#define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 1708static PyObject *_wrap_wxSingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1709 PyObject * _resultobj;
1710 int _result;
1711 wxSingleChoiceDialog * _arg0;
1d99702e 1712 PyObject * _argo0 = 0;
efc5f224 1713 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1714
1715 self = self;
efc5f224 1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetSelection",_kwnames,&_argo0))
8ab979d7 1717 return NULL;
1d99702e
RD
1718 if (_argo0) {
1719 if (_argo0 == Py_None) { _arg0 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
8ab979d7
RD
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1722 return NULL;
1723 }
1724 }
cf694132
RD
1725{
1726 wxPy_BEGIN_ALLOW_THREADS;
1727 _result = (int )wxSingleChoiceDialog_GetSelection(_arg0);
1728
1729 wxPy_END_ALLOW_THREADS;
493f1553 1730 if (PyErr_Occurred()) return NULL;
cf694132 1731} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1732 return _resultobj;
1733}
1734
1735#define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
efc5f224 1736static PyObject *_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1737 PyObject * _resultobj;
1738 wxString * _result;
1739 wxSingleChoiceDialog * _arg0;
1d99702e 1740 PyObject * _argo0 = 0;
efc5f224 1741 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1742
1743 self = self;
efc5f224 1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames,&_argo0))
8ab979d7 1745 return NULL;
1d99702e
RD
1746 if (_argo0) {
1747 if (_argo0 == Py_None) { _arg0 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
8ab979d7
RD
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1750 return NULL;
1751 }
1752 }
8ab979d7 1753{
cf694132
RD
1754 wxPy_BEGIN_ALLOW_THREADS;
1755 _result = new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0));
1756
1757 wxPy_END_ALLOW_THREADS;
493f1553 1758 if (PyErr_Occurred()) return NULL;
cf694132 1759}{
eec92d76 1760 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
1761}
1762{
1763 delete _result;
1764}
1765 return _resultobj;
1766}
1767
1768#define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 1769static PyObject *_wrap_wxSingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1770 PyObject * _resultobj;
1771 wxSingleChoiceDialog * _arg0;
1772 int _arg1;
1d99702e 1773 PyObject * _argo0 = 0;
efc5f224 1774 char *_kwnames[] = { "self","sel", NULL };
8ab979d7
RD
1775
1776 self = self;
efc5f224 1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 1778 return NULL;
1d99702e
RD
1779 if (_argo0) {
1780 if (_argo0 == Py_None) { _arg0 = NULL; }
1781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
8ab979d7
RD
1782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1783 return NULL;
1784 }
1785 }
cf694132
RD
1786{
1787 wxPy_BEGIN_ALLOW_THREADS;
1788 wxSingleChoiceDialog_SetSelection(_arg0,_arg1);
1789
1790 wxPy_END_ALLOW_THREADS;
493f1553 1791 if (PyErr_Occurred()) return NULL;
cf694132 1792} Py_INCREF(Py_None);
8ab979d7
RD
1793 _resultobj = Py_None;
1794 return _resultobj;
1795}
1796
1797#define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 1798static PyObject *_wrap_wxSingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1799 PyObject * _resultobj;
1800 int _result;
1801 wxSingleChoiceDialog * _arg0;
1d99702e 1802 PyObject * _argo0 = 0;
efc5f224 1803 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1804
1805 self = self;
efc5f224 1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 1807 return NULL;
1d99702e
RD
1808 if (_argo0) {
1809 if (_argo0 == Py_None) { _arg0 = NULL; }
1810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
8ab979d7
RD
1811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1812 return NULL;
1813 }
1814 }
cf694132
RD
1815{
1816 wxPy_BEGIN_ALLOW_THREADS;
1817 _result = (int )wxSingleChoiceDialog_ShowModal(_arg0);
1818
1819 wxPy_END_ALLOW_THREADS;
493f1553 1820 if (PyErr_Occurred()) return NULL;
cf694132 1821} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1822 return _resultobj;
1823}
1824
1825static void *SwigwxTextEntryDialogTowxDialog(void *ptr) {
1826 wxTextEntryDialog *src;
1827 wxDialog *dest;
1828 src = (wxTextEntryDialog *) ptr;
1829 dest = (wxDialog *) src;
1830 return (void *) dest;
1831}
1832
1833static void *SwigwxTextEntryDialogTowxPanel(void *ptr) {
1834 wxTextEntryDialog *src;
1835 wxPanel *dest;
1836 src = (wxTextEntryDialog *) ptr;
1837 dest = (wxPanel *) src;
1838 return (void *) dest;
1839}
1840
1841static void *SwigwxTextEntryDialogTowxWindow(void *ptr) {
1842 wxTextEntryDialog *src;
1843 wxWindow *dest;
1844 src = (wxTextEntryDialog *) ptr;
1845 dest = (wxWindow *) src;
1846 return (void *) dest;
1847}
1848
1849static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr) {
1850 wxTextEntryDialog *src;
1851 wxEvtHandler *dest;
1852 src = (wxTextEntryDialog *) ptr;
1853 dest = (wxEvtHandler *) src;
1854 return (void *) dest;
1855}
1856
9416aa89
RD
1857static void *SwigwxTextEntryDialogTowxObject(void *ptr) {
1858 wxTextEntryDialog *src;
1859 wxObject *dest;
1860 src = (wxTextEntryDialog *) ptr;
1861 dest = (wxObject *) src;
1862 return (void *) dest;
1863}
1864
8ab979d7 1865#define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 1866static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1867 PyObject * _resultobj;
1868 wxTextEntryDialog * _result;
1869 wxWindow * _arg0;
1870 char * _arg1;
1d99702e
RD
1871 char * _arg2 = (char *) "Input Text";
1872 char * _arg3 = (char *) "";
1873 long _arg4 = (long ) wxOK|wxCANCEL|wxCENTRE;
e508a2b6 1874 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
1d99702e 1875 PyObject * _argo0 = 0;
2f90df85
RD
1876 wxPoint temp;
1877 PyObject * _obj5 = 0;
efc5f224 1878 char *_kwnames[] = { "parent","message","caption","defaultValue","style","pos", NULL };
8ab979d7
RD
1879 char _ptemp[128];
1880
1881 self = self;
2f90df85 1882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|sslO:new_wxTextEntryDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5))
8ab979d7 1883 return NULL;
1d99702e
RD
1884 if (_argo0) {
1885 if (_argo0 == Py_None) { _arg0 = NULL; }
1886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1888 return NULL;
1889 }
1890 }
2f90df85
RD
1891 if (_obj5)
1892{
1893 _arg5 = &temp;
1894 if (! wxPoint_helper(_obj5, &_arg5))
8ab979d7 1895 return NULL;
2f90df85 1896}
cf694132
RD
1897{
1898 wxPy_BEGIN_ALLOW_THREADS;
1899 _result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5);
1900
1901 wxPy_END_ALLOW_THREADS;
493f1553 1902 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1903} if (_result) {
1904 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextEntryDialog_p");
1905 _resultobj = Py_BuildValue("s",_ptemp);
1906 } else {
1907 Py_INCREF(Py_None);
1908 _resultobj = Py_None;
1909 }
8ab979d7
RD
1910 return _resultobj;
1911}
1912
1913#define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 1914static PyObject *_wrap_wxTextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1915 PyObject * _resultobj;
1916 wxString * _result;
1917 wxTextEntryDialog * _arg0;
1d99702e 1918 PyObject * _argo0 = 0;
efc5f224 1919 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1920
1921 self = self;
efc5f224 1922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_GetValue",_kwnames,&_argo0))
8ab979d7 1923 return NULL;
1d99702e
RD
1924 if (_argo0) {
1925 if (_argo0 == Py_None) { _arg0 = NULL; }
1926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
8ab979d7
RD
1927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1928 return NULL;
1929 }
1930 }
8ab979d7 1931{
cf694132
RD
1932 wxPy_BEGIN_ALLOW_THREADS;
1933 _result = new wxString (wxTextEntryDialog_GetValue(_arg0));
1934
1935 wxPy_END_ALLOW_THREADS;
493f1553 1936 if (PyErr_Occurred()) return NULL;
cf694132 1937}{
eec92d76 1938 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
1939}
1940{
1941 delete _result;
1942}
1943 return _resultobj;
1944}
1945
1946#define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 1947static PyObject *_wrap_wxTextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1948 PyObject * _resultobj;
1949 wxTextEntryDialog * _arg0;
1950 wxString * _arg1;
1d99702e 1951 PyObject * _argo0 = 0;
8ab979d7 1952 PyObject * _obj1 = 0;
efc5f224 1953 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
1954
1955 self = self;
efc5f224 1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextEntryDialog_SetValue",_kwnames,&_argo0,&_obj1))
8ab979d7 1957 return NULL;
1d99702e
RD
1958 if (_argo0) {
1959 if (_argo0 == Py_None) { _arg0 = NULL; }
1960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
8ab979d7
RD
1961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1962 return NULL;
1963 }
1964 }
1965{
185d7c3e
RD
1966#if PYTHON_API_VERSION >= 1009
1967 char* tmpPtr; int tmpSize;
1968 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1969 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1970 return NULL;
1971 }
1972 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1973 return NULL;
1974 _arg1 = new wxString(tmpPtr, tmpSize);
1975#else
8ab979d7
RD
1976 if (!PyString_Check(_obj1)) {
1977 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1978 return NULL;
1979 }
185d7c3e
RD
1980 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1981#endif
8ab979d7 1982}
cf694132
RD
1983{
1984 wxPy_BEGIN_ALLOW_THREADS;
1985 wxTextEntryDialog_SetValue(_arg0,*_arg1);
1986
1987 wxPy_END_ALLOW_THREADS;
493f1553 1988 if (PyErr_Occurred()) return NULL;
cf694132 1989} Py_INCREF(Py_None);
8ab979d7
RD
1990 _resultobj = Py_None;
1991{
1992 if (_obj1)
1993 delete _arg1;
1994}
1995 return _resultobj;
1996}
1997
1998#define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 1999static PyObject *_wrap_wxTextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2000 PyObject * _resultobj;
2001 int _result;
2002 wxTextEntryDialog * _arg0;
1d99702e 2003 PyObject * _argo0 = 0;
efc5f224 2004 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2005
2006 self = self;
efc5f224 2007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 2008 return NULL;
1d99702e
RD
2009 if (_argo0) {
2010 if (_argo0 == Py_None) { _arg0 = NULL; }
2011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
8ab979d7
RD
2012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2013 return NULL;
2014 }
2015 }
cf694132
RD
2016{
2017 wxPy_BEGIN_ALLOW_THREADS;
2018 _result = (int )wxTextEntryDialog_ShowModal(_arg0);
2019
2020 wxPy_END_ALLOW_THREADS;
493f1553 2021 if (PyErr_Occurred()) return NULL;
cf694132 2022} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2023 return _resultobj;
2024}
2025
9416aa89
RD
2026static void *SwigwxFontDataTowxObject(void *ptr) {
2027 wxFontData *src;
2028 wxObject *dest;
2029 src = (wxFontData *) ptr;
2030 dest = (wxObject *) src;
2031 return (void *) dest;
2032}
2033
8ab979d7 2034#define new_wxFontData() (new wxFontData())
efc5f224 2035static PyObject *_wrap_new_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2036 PyObject * _resultobj;
2037 wxFontData * _result;
efc5f224 2038 char *_kwnames[] = { NULL };
8ab979d7
RD
2039 char _ptemp[128];
2040
2041 self = self;
efc5f224 2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontData",_kwnames))
8ab979d7 2043 return NULL;
cf694132
RD
2044{
2045 wxPy_BEGIN_ALLOW_THREADS;
2046 _result = (wxFontData *)new_wxFontData();
2047
2048 wxPy_END_ALLOW_THREADS;
493f1553 2049 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2050} if (_result) {
2051 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p");
2052 _resultobj = Py_BuildValue("s",_ptemp);
2053 } else {
2054 Py_INCREF(Py_None);
2055 _resultobj = Py_None;
2056 }
8ab979d7
RD
2057 return _resultobj;
2058}
2059
2060#define delete_wxFontData(_swigobj) (delete _swigobj)
efc5f224 2061static PyObject *_wrap_delete_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2062 PyObject * _resultobj;
2063 wxFontData * _arg0;
1d99702e 2064 PyObject * _argo0 = 0;
efc5f224 2065 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2066
2067 self = self;
efc5f224 2068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontData",_kwnames,&_argo0))
8ab979d7 2069 return NULL;
1d99702e
RD
2070 if (_argo0) {
2071 if (_argo0 == Py_None) { _arg0 = NULL; }
2072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2074 return NULL;
2075 }
2076 }
cf694132
RD
2077{
2078 wxPy_BEGIN_ALLOW_THREADS;
2079 delete_wxFontData(_arg0);
2080
2081 wxPy_END_ALLOW_THREADS;
493f1553 2082 if (PyErr_Occurred()) return NULL;
cf694132 2083} Py_INCREF(Py_None);
8ab979d7
RD
2084 _resultobj = Py_None;
2085 return _resultobj;
2086}
2087
2088#define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
efc5f224 2089static PyObject *_wrap_wxFontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2090 PyObject * _resultobj;
2091 wxFontData * _arg0;
2092 bool _arg1;
1d99702e 2093 PyObject * _argo0 = 0;
8ab979d7 2094 int tempbool1;
efc5f224 2095 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
2096
2097 self = self;
efc5f224 2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_EnableEffects",_kwnames,&_argo0,&tempbool1))
8ab979d7 2099 return NULL;
1d99702e
RD
2100 if (_argo0) {
2101 if (_argo0 == Py_None) { _arg0 = NULL; }
2102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2104 return NULL;
2105 }
2106 }
2107 _arg1 = (bool ) tempbool1;
cf694132
RD
2108{
2109 wxPy_BEGIN_ALLOW_THREADS;
2110 wxFontData_EnableEffects(_arg0,_arg1);
2111
2112 wxPy_END_ALLOW_THREADS;
493f1553 2113 if (PyErr_Occurred()) return NULL;
cf694132 2114} Py_INCREF(Py_None);
8ab979d7
RD
2115 _resultobj = Py_None;
2116 return _resultobj;
2117}
2118
2119#define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
efc5f224 2120static PyObject *_wrap_wxFontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2121 PyObject * _resultobj;
2122 bool _result;
2123 wxFontData * _arg0;
1d99702e 2124 PyObject * _argo0 = 0;
efc5f224 2125 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2126
2127 self = self;
efc5f224 2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetAllowSymbols",_kwnames,&_argo0))
8ab979d7 2129 return NULL;
1d99702e
RD
2130 if (_argo0) {
2131 if (_argo0 == Py_None) { _arg0 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2134 return NULL;
2135 }
2136 }
cf694132
RD
2137{
2138 wxPy_BEGIN_ALLOW_THREADS;
2139 _result = (bool )wxFontData_GetAllowSymbols(_arg0);
2140
2141 wxPy_END_ALLOW_THREADS;
493f1553 2142 if (PyErr_Occurred()) return NULL;
cf694132 2143} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2144 return _resultobj;
2145}
2146
2147#define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
efc5f224 2148static PyObject *_wrap_wxFontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2149 PyObject * _resultobj;
2150 wxColour * _result;
2151 wxFontData * _arg0;
1d99702e 2152 PyObject * _argo0 = 0;
efc5f224 2153 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2154 char _ptemp[128];
2155
2156 self = self;
efc5f224 2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetColour",_kwnames,&_argo0))
8ab979d7 2158 return NULL;
1d99702e
RD
2159 if (_argo0) {
2160 if (_argo0 == Py_None) { _arg0 = NULL; }
2161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2163 return NULL;
2164 }
2165 }
cf694132
RD
2166{
2167 wxPy_BEGIN_ALLOW_THREADS;
25832b3f 2168 _result = new wxColour (wxFontData_GetColour(_arg0));
cf694132
RD
2169
2170 wxPy_END_ALLOW_THREADS;
493f1553 2171 if (PyErr_Occurred()) return NULL;
25832b3f
RD
2172} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2173 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2174 return _resultobj;
2175}
2176
2177#define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
efc5f224 2178static PyObject *_wrap_wxFontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2179 PyObject * _resultobj;
2180 wxFont * _result;
2181 wxFontData * _arg0;
1d99702e 2182 PyObject * _argo0 = 0;
efc5f224 2183 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2184 char _ptemp[128];
2185
2186 self = self;
efc5f224 2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetChosenFont",_kwnames,&_argo0))
8ab979d7 2188 return NULL;
1d99702e
RD
2189 if (_argo0) {
2190 if (_argo0 == Py_None) { _arg0 = NULL; }
2191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2193 return NULL;
2194 }
2195 }
cf694132
RD
2196{
2197 wxPy_BEGIN_ALLOW_THREADS;
2198 _result = new wxFont (wxFontData_GetChosenFont(_arg0));
2199
2200 wxPy_END_ALLOW_THREADS;
493f1553 2201 if (PyErr_Occurred()) return NULL;
cf694132 2202} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8ab979d7
RD
2203 _resultobj = Py_BuildValue("s",_ptemp);
2204 return _resultobj;
2205}
2206
2207#define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
efc5f224 2208static PyObject *_wrap_wxFontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2209 PyObject * _resultobj;
2210 bool _result;
2211 wxFontData * _arg0;
1d99702e 2212 PyObject * _argo0 = 0;
efc5f224 2213 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2214
2215 self = self;
efc5f224 2216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetEnableEffects",_kwnames,&_argo0))
8ab979d7 2217 return NULL;
1d99702e
RD
2218 if (_argo0) {
2219 if (_argo0 == Py_None) { _arg0 = NULL; }
2220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2222 return NULL;
2223 }
2224 }
cf694132
RD
2225{
2226 wxPy_BEGIN_ALLOW_THREADS;
2227 _result = (bool )wxFontData_GetEnableEffects(_arg0);
2228
2229 wxPy_END_ALLOW_THREADS;
493f1553 2230 if (PyErr_Occurred()) return NULL;
cf694132 2231} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2232 return _resultobj;
2233}
2234
2235#define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
efc5f224 2236static PyObject *_wrap_wxFontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2237 PyObject * _resultobj;
2238 wxFont * _result;
2239 wxFontData * _arg0;
1d99702e 2240 PyObject * _argo0 = 0;
efc5f224 2241 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2242 char _ptemp[128];
2243
2244 self = self;
efc5f224 2245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetInitialFont",_kwnames,&_argo0))
8ab979d7 2246 return NULL;
1d99702e
RD
2247 if (_argo0) {
2248 if (_argo0 == Py_None) { _arg0 = NULL; }
2249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2251 return NULL;
2252 }
2253 }
cf694132
RD
2254{
2255 wxPy_BEGIN_ALLOW_THREADS;
2256 _result = new wxFont (wxFontData_GetInitialFont(_arg0));
2257
2258 wxPy_END_ALLOW_THREADS;
493f1553 2259 if (PyErr_Occurred()) return NULL;
cf694132 2260} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8ab979d7
RD
2261 _resultobj = Py_BuildValue("s",_ptemp);
2262 return _resultobj;
2263}
2264
2265#define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
efc5f224 2266static PyObject *_wrap_wxFontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2267 PyObject * _resultobj;
2268 bool _result;
2269 wxFontData * _arg0;
1d99702e 2270 PyObject * _argo0 = 0;
efc5f224 2271 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2272
2273 self = self;
efc5f224 2274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetShowHelp",_kwnames,&_argo0))
8ab979d7 2275 return NULL;
1d99702e
RD
2276 if (_argo0) {
2277 if (_argo0 == Py_None) { _arg0 = NULL; }
2278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2280 return NULL;
2281 }
2282 }
cf694132
RD
2283{
2284 wxPy_BEGIN_ALLOW_THREADS;
2285 _result = (bool )wxFontData_GetShowHelp(_arg0);
2286
2287 wxPy_END_ALLOW_THREADS;
493f1553 2288 if (PyErr_Occurred()) return NULL;
cf694132 2289} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2290 return _resultobj;
2291}
2292
2293#define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
efc5f224 2294static PyObject *_wrap_wxFontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2295 PyObject * _resultobj;
2296 wxFontData * _arg0;
2297 bool _arg1;
1d99702e 2298 PyObject * _argo0 = 0;
8ab979d7 2299 int tempbool1;
efc5f224 2300 char *_kwnames[] = { "self","allowSymbols", NULL };
8ab979d7
RD
2301
2302 self = self;
efc5f224 2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetAllowSymbols",_kwnames,&_argo0,&tempbool1))
8ab979d7 2304 return NULL;
1d99702e
RD
2305 if (_argo0) {
2306 if (_argo0 == Py_None) { _arg0 = NULL; }
2307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2309 return NULL;
2310 }
2311 }
2312 _arg1 = (bool ) tempbool1;
cf694132
RD
2313{
2314 wxPy_BEGIN_ALLOW_THREADS;
2315 wxFontData_SetAllowSymbols(_arg0,_arg1);
2316
2317 wxPy_END_ALLOW_THREADS;
493f1553 2318 if (PyErr_Occurred()) return NULL;
cf694132 2319} Py_INCREF(Py_None);
8ab979d7
RD
2320 _resultobj = Py_None;
2321 return _resultobj;
2322}
2323
2324#define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
efc5f224 2325static PyObject *_wrap_wxFontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2326 PyObject * _resultobj;
2327 wxFontData * _arg0;
2328 wxFont * _arg1;
1d99702e
RD
2329 PyObject * _argo0 = 0;
2330 PyObject * _argo1 = 0;
efc5f224 2331 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
2332
2333 self = self;
efc5f224 2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetChosenFont",_kwnames,&_argo0,&_argo1))
8ab979d7 2335 return NULL;
1d99702e
RD
2336 if (_argo0) {
2337 if (_argo0 == Py_None) { _arg0 = NULL; }
2338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2340 return NULL;
2341 }
2342 }
1d99702e
RD
2343 if (_argo1) {
2344 if (_argo1 == Py_None) { _arg1 = NULL; }
2345 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
2346 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2347 return NULL;
2348 }
2349 }
cf694132
RD
2350{
2351 wxPy_BEGIN_ALLOW_THREADS;
2352 wxFontData_SetChosenFont(_arg0,*_arg1);
2353
2354 wxPy_END_ALLOW_THREADS;
493f1553 2355 if (PyErr_Occurred()) return NULL;
cf694132 2356} Py_INCREF(Py_None);
8ab979d7
RD
2357 _resultobj = Py_None;
2358 return _resultobj;
2359}
2360
2361#define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
efc5f224 2362static PyObject *_wrap_wxFontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2363 PyObject * _resultobj;
2364 wxFontData * _arg0;
2365 wxColour * _arg1;
1d99702e 2366 PyObject * _argo0 = 0;
f6bcfd97
BP
2367 wxColour temp;
2368 PyObject * _obj1 = 0;
efc5f224 2369 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
2370
2371 self = self;
f6bcfd97 2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 2373 return NULL;
1d99702e
RD
2374 if (_argo0) {
2375 if (_argo0 == Py_None) { _arg0 = NULL; }
2376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2378 return NULL;
2379 }
2380 }
f6bcfd97
BP
2381{
2382 _arg1 = &temp;
2383 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 2384 return NULL;
f6bcfd97 2385}
cf694132
RD
2386{
2387 wxPy_BEGIN_ALLOW_THREADS;
2388 wxFontData_SetColour(_arg0,*_arg1);
2389
2390 wxPy_END_ALLOW_THREADS;
493f1553 2391 if (PyErr_Occurred()) return NULL;
cf694132 2392} Py_INCREF(Py_None);
8ab979d7
RD
2393 _resultobj = Py_None;
2394 return _resultobj;
2395}
2396
2397#define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
efc5f224 2398static PyObject *_wrap_wxFontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2399 PyObject * _resultobj;
2400 wxFontData * _arg0;
2401 wxFont * _arg1;
1d99702e
RD
2402 PyObject * _argo0 = 0;
2403 PyObject * _argo1 = 0;
efc5f224 2404 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
2405
2406 self = self;
efc5f224 2407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetInitialFont",_kwnames,&_argo0,&_argo1))
8ab979d7 2408 return NULL;
1d99702e
RD
2409 if (_argo0) {
2410 if (_argo0 == Py_None) { _arg0 = NULL; }
2411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2413 return NULL;
2414 }
2415 }
1d99702e
RD
2416 if (_argo1) {
2417 if (_argo1 == Py_None) { _arg1 = NULL; }
2418 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2420 return NULL;
2421 }
2422 }
cf694132
RD
2423{
2424 wxPy_BEGIN_ALLOW_THREADS;
2425 wxFontData_SetInitialFont(_arg0,*_arg1);
2426
2427 wxPy_END_ALLOW_THREADS;
493f1553 2428 if (PyErr_Occurred()) return NULL;
cf694132 2429} Py_INCREF(Py_None);
8ab979d7
RD
2430 _resultobj = Py_None;
2431 return _resultobj;
2432}
2433
2434#define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
efc5f224 2435static PyObject *_wrap_wxFontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2436 PyObject * _resultobj;
2437 wxFontData * _arg0;
2438 int _arg1;
2439 int _arg2;
1d99702e 2440 PyObject * _argo0 = 0;
efc5f224 2441 char *_kwnames[] = { "self","min","max", NULL };
8ab979d7
RD
2442
2443 self = self;
efc5f224 2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxFontData_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2445 return NULL;
1d99702e
RD
2446 if (_argo0) {
2447 if (_argo0 == Py_None) { _arg0 = NULL; }
2448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2450 return NULL;
2451 }
2452 }
cf694132
RD
2453{
2454 wxPy_BEGIN_ALLOW_THREADS;
2455 wxFontData_SetRange(_arg0,_arg1,_arg2);
2456
2457 wxPy_END_ALLOW_THREADS;
493f1553 2458 if (PyErr_Occurred()) return NULL;
cf694132 2459} Py_INCREF(Py_None);
8ab979d7
RD
2460 _resultobj = Py_None;
2461 return _resultobj;
2462}
2463
2464#define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
efc5f224 2465static PyObject *_wrap_wxFontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2466 PyObject * _resultobj;
2467 wxFontData * _arg0;
2468 bool _arg1;
1d99702e 2469 PyObject * _argo0 = 0;
8ab979d7 2470 int tempbool1;
efc5f224 2471 char *_kwnames[] = { "self","showHelp", NULL };
8ab979d7
RD
2472
2473 self = self;
efc5f224 2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetShowHelp",_kwnames,&_argo0,&tempbool1))
8ab979d7 2475 return NULL;
1d99702e
RD
2476 if (_argo0) {
2477 if (_argo0 == Py_None) { _arg0 = NULL; }
2478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2480 return NULL;
2481 }
2482 }
2483 _arg1 = (bool ) tempbool1;
cf694132
RD
2484{
2485 wxPy_BEGIN_ALLOW_THREADS;
2486 wxFontData_SetShowHelp(_arg0,_arg1);
2487
2488 wxPy_END_ALLOW_THREADS;
493f1553 2489 if (PyErr_Occurred()) return NULL;
cf694132 2490} Py_INCREF(Py_None);
8ab979d7
RD
2491 _resultobj = Py_None;
2492 return _resultobj;
2493}
2494
2495static void *SwigwxFontDialogTowxDialog(void *ptr) {
2496 wxFontDialog *src;
2497 wxDialog *dest;
2498 src = (wxFontDialog *) ptr;
2499 dest = (wxDialog *) src;
2500 return (void *) dest;
2501}
2502
2503static void *SwigwxFontDialogTowxPanel(void *ptr) {
2504 wxFontDialog *src;
2505 wxPanel *dest;
2506 src = (wxFontDialog *) ptr;
2507 dest = (wxPanel *) src;
2508 return (void *) dest;
2509}
2510
2511static void *SwigwxFontDialogTowxWindow(void *ptr) {
2512 wxFontDialog *src;
2513 wxWindow *dest;
2514 src = (wxFontDialog *) ptr;
2515 dest = (wxWindow *) src;
2516 return (void *) dest;
2517}
2518
2519static void *SwigwxFontDialogTowxEvtHandler(void *ptr) {
2520 wxFontDialog *src;
2521 wxEvtHandler *dest;
2522 src = (wxFontDialog *) ptr;
2523 dest = (wxEvtHandler *) src;
2524 return (void *) dest;
2525}
2526
9416aa89
RD
2527static void *SwigwxFontDialogTowxObject(void *ptr) {
2528 wxFontDialog *src;
2529 wxObject *dest;
2530 src = (wxFontDialog *) ptr;
2531 dest = (wxObject *) src;
2532 return (void *) dest;
2533}
2534
8ab979d7 2535#define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
efc5f224 2536static PyObject *_wrap_new_wxFontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2537 PyObject * _resultobj;
2538 wxFontDialog * _result;
2539 wxWindow * _arg0;
990416e0 2540 wxFontData * _arg1;
1d99702e
RD
2541 PyObject * _argo0 = 0;
2542 PyObject * _argo1 = 0;
efc5f224 2543 char *_kwnames[] = { "parent","data", NULL };
8ab979d7
RD
2544 char _ptemp[128];
2545
2546 self = self;
990416e0 2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxFontDialog",_kwnames,&_argo0,&_argo1))
8ab979d7 2548 return NULL;
1d99702e
RD
2549 if (_argo0) {
2550 if (_argo0 == Py_None) { _arg0 = NULL; }
2551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2553 return NULL;
2554 }
2555 }
1d99702e
RD
2556 if (_argo1) {
2557 if (_argo1 == Py_None) { _arg1 = NULL; }
2558 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFontData_p")) {
8ab979d7
RD
2559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2560 return NULL;
2561 }
2562 }
cf694132
RD
2563{
2564 wxPy_BEGIN_ALLOW_THREADS;
2565 _result = (wxFontDialog *)new_wxFontDialog(_arg0,_arg1);
2566
2567 wxPy_END_ALLOW_THREADS;
493f1553 2568 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2569} if (_result) {
2570 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontDialog_p");
2571 _resultobj = Py_BuildValue("s",_ptemp);
2572 } else {
2573 Py_INCREF(Py_None);
2574 _resultobj = Py_None;
2575 }
8ab979d7
RD
2576 return _resultobj;
2577}
2578
2579#define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
efc5f224 2580static PyObject *_wrap_wxFontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2581 PyObject * _resultobj;
2582 wxFontData * _result;
2583 wxFontDialog * _arg0;
1d99702e 2584 PyObject * _argo0 = 0;
efc5f224 2585 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2586 char _ptemp[128];
2587
2588 self = self;
efc5f224 2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_GetFontData",_kwnames,&_argo0))
8ab979d7 2590 return NULL;
1d99702e
RD
2591 if (_argo0) {
2592 if (_argo0 == Py_None) { _arg0 = NULL; }
2593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
8ab979d7
RD
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2595 return NULL;
2596 }
2597 }
cf694132
RD
2598{
2599 wxPy_BEGIN_ALLOW_THREADS;
2600 wxFontData & _result_ref = wxFontDialog_GetFontData(_arg0);
8ab979d7 2601 _result = (wxFontData *) &_result_ref;
cf694132
RD
2602
2603 wxPy_END_ALLOW_THREADS;
493f1553 2604 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2605} if (_result) {
2606 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p");
2607 _resultobj = Py_BuildValue("s",_ptemp);
2608 } else {
2609 Py_INCREF(Py_None);
2610 _resultobj = Py_None;
2611 }
8ab979d7
RD
2612 return _resultobj;
2613}
2614
2615#define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 2616static PyObject *_wrap_wxFontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2617 PyObject * _resultobj;
2618 int _result;
2619 wxFontDialog * _arg0;
1d99702e 2620 PyObject * _argo0 = 0;
efc5f224 2621 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2622
2623 self = self;
efc5f224 2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 2625 return NULL;
1d99702e
RD
2626 if (_argo0) {
2627 if (_argo0 == Py_None) { _arg0 = NULL; }
2628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
8ab979d7
RD
2629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2630 return NULL;
2631 }
2632 }
cf694132
RD
2633{
2634 wxPy_BEGIN_ALLOW_THREADS;
2635 _result = (int )wxFontDialog_ShowModal(_arg0);
2636
2637 wxPy_END_ALLOW_THREADS;
493f1553 2638 if (PyErr_Occurred()) return NULL;
cf694132 2639} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2640 return _resultobj;
2641}
2642
bb0054cd
RD
2643static void *SwigwxMessageDialogTowxDialog(void *ptr) {
2644 wxMessageDialog *src;
8ab979d7 2645 wxDialog *dest;
bb0054cd 2646 src = (wxMessageDialog *) ptr;
8ab979d7
RD
2647 dest = (wxDialog *) src;
2648 return (void *) dest;
2649}
2650
bb0054cd
RD
2651static void *SwigwxMessageDialogTowxPanel(void *ptr) {
2652 wxMessageDialog *src;
8ab979d7 2653 wxPanel *dest;
bb0054cd 2654 src = (wxMessageDialog *) ptr;
8ab979d7
RD
2655 dest = (wxPanel *) src;
2656 return (void *) dest;
2657}
2658
bb0054cd
RD
2659static void *SwigwxMessageDialogTowxWindow(void *ptr) {
2660 wxMessageDialog *src;
8ab979d7 2661 wxWindow *dest;
bb0054cd 2662 src = (wxMessageDialog *) ptr;
8ab979d7
RD
2663 dest = (wxWindow *) src;
2664 return (void *) dest;
2665}
2666
bb0054cd
RD
2667static void *SwigwxMessageDialogTowxEvtHandler(void *ptr) {
2668 wxMessageDialog *src;
8ab979d7 2669 wxEvtHandler *dest;
bb0054cd 2670 src = (wxMessageDialog *) ptr;
8ab979d7
RD
2671 dest = (wxEvtHandler *) src;
2672 return (void *) dest;
2673}
2674
9416aa89
RD
2675static void *SwigwxMessageDialogTowxObject(void *ptr) {
2676 wxMessageDialog *src;
2677 wxObject *dest;
2678 src = (wxMessageDialog *) ptr;
2679 dest = (wxObject *) src;
2680 return (void *) dest;
2681}
2682
bb0054cd 2683#define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 2684static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2685 PyObject * _resultobj;
bb0054cd 2686 wxMessageDialog * _result;
8ab979d7 2687 wxWindow * _arg0;
bb0054cd 2688 char * _arg1;
1d99702e
RD
2689 char * _arg2 = (char *) "Message box";
2690 long _arg3 = (long ) wxOK|wxCANCEL|wxCENTRE;
e508a2b6 2691 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1d99702e 2692 PyObject * _argo0 = 0;
2f90df85
RD
2693 wxPoint temp;
2694 PyObject * _obj4 = 0;
efc5f224 2695 char *_kwnames[] = { "parent","message","caption","style","pos", NULL };
8ab979d7
RD
2696 char _ptemp[128];
2697
2698 self = self;
2f90df85 2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|slO:new_wxMessageDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
8ab979d7 2700 return NULL;
1d99702e
RD
2701 if (_argo0) {
2702 if (_argo0 == Py_None) { _arg0 = NULL; }
2703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd 2704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
8ab979d7
RD
2705 return NULL;
2706 }
2707 }
2f90df85
RD
2708 if (_obj4)
2709{
2710 _arg4 = &temp;
2711 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 2712 return NULL;
2f90df85 2713}
cf694132
RD
2714{
2715 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2716 _result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
cf694132
RD
2717
2718 wxPy_END_ALLOW_THREADS;
493f1553 2719 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2720} if (_result) {
2721 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMessageDialog_p");
2722 _resultobj = Py_BuildValue("s",_ptemp);
2723 } else {
2724 Py_INCREF(Py_None);
2725 _resultobj = Py_None;
2726 }
8ab979d7
RD
2727 return _resultobj;
2728}
2729
bb0054cd 2730#define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 2731static PyObject *_wrap_wxMessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2732 PyObject * _resultobj;
bb0054cd
RD
2733 int _result;
2734 wxMessageDialog * _arg0;
1d99702e 2735 PyObject * _argo0 = 0;
efc5f224 2736 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2737
2738 self = self;
efc5f224 2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMessageDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 2740 return NULL;
1d99702e
RD
2741 if (_argo0) {
2742 if (_argo0 == Py_None) { _arg0 = NULL; }
2743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMessageDialog_p")) {
bb0054cd 2744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
8ab979d7
RD
2745 return NULL;
2746 }
2747 }
cf694132
RD
2748{
2749 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2750 _result = (int )wxMessageDialog_ShowModal(_arg0);
cf694132
RD
2751
2752 wxPy_END_ALLOW_THREADS;
493f1553 2753 if (PyErr_Occurred()) return NULL;
bb0054cd 2754} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2755 return _resultobj;
2756}
2757
bb0054cd
RD
2758static void *SwigwxProgressDialogTowxFrame(void *ptr) {
2759 wxProgressDialog *src;
2760 wxFrame *dest;
2761 src = (wxProgressDialog *) ptr;
2762 dest = (wxFrame *) src;
2763 return (void *) dest;
2764}
2765
2766static void *SwigwxProgressDialogTowxWindow(void *ptr) {
2767 wxProgressDialog *src;
2768 wxWindow *dest;
2769 src = (wxProgressDialog *) ptr;
2770 dest = (wxWindow *) src;
2771 return (void *) dest;
2772}
2773
2774static void *SwigwxProgressDialogTowxEvtHandler(void *ptr) {
2775 wxProgressDialog *src;
2776 wxEvtHandler *dest;
2777 src = (wxProgressDialog *) ptr;
2778 dest = (wxEvtHandler *) src;
2779 return (void *) dest;
2780}
2781
9416aa89
RD
2782static void *SwigwxProgressDialogTowxObject(void *ptr) {
2783 wxProgressDialog *src;
2784 wxObject *dest;
2785 src = (wxProgressDialog *) ptr;
2786 dest = (wxObject *) src;
2787 return (void *) dest;
2788}
2789
bb0054cd 2790#define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 2791static PyObject *_wrap_new_wxProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2792 PyObject * _resultobj;
bb0054cd
RD
2793 wxProgressDialog * _result;
2794 wxString * _arg0;
2795 wxString * _arg1;
1d99702e
RD
2796 int _arg2 = (int ) 100;
2797 wxWindow * _arg3 = (wxWindow *) NULL;
2798 int _arg4 = (int ) wxPD_AUTO_HIDE|wxPD_APP_MODAL;
bb0054cd
RD
2799 PyObject * _obj0 = 0;
2800 PyObject * _obj1 = 0;
1d99702e 2801 PyObject * _argo3 = 0;
efc5f224 2802 char *_kwnames[] = { "title","message","maximum","parent","style", NULL };
8ab979d7
RD
2803 char _ptemp[128];
2804
2805 self = self;
efc5f224 2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOi:new_wxProgressDialog",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4))
8ab979d7 2807 return NULL;
bb0054cd 2808{
185d7c3e
RD
2809#if PYTHON_API_VERSION >= 1009
2810 char* tmpPtr; int tmpSize;
2811 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
794c5cb1 2812 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2813 return NULL;
2814 }
2815 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2816 return NULL;
2817 _arg0 = new wxString(tmpPtr, tmpSize);
2818#else
bb0054cd
RD
2819 if (!PyString_Check(_obj0)) {
2820 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 2821 return NULL;
8ab979d7 2822 }
185d7c3e
RD
2823 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2824#endif
8ab979d7 2825}
bb0054cd 2826{
185d7c3e
RD
2827#if PYTHON_API_VERSION >= 1009
2828 char* tmpPtr; int tmpSize;
2829 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 2830 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2831 return NULL;
2832 }
2833 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2834 return NULL;
2835 _arg1 = new wxString(tmpPtr, tmpSize);
2836#else
bb0054cd
RD
2837 if (!PyString_Check(_obj1)) {
2838 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 2839 return NULL;
bb0054cd 2840 }
185d7c3e
RD
2841 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2842#endif
bb0054cd 2843}
1d99702e
RD
2844 if (_argo3) {
2845 if (_argo3 == Py_None) { _arg3 = NULL; }
2846 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
bb0054cd 2847 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
8ab979d7
RD
2848 return NULL;
2849 }
2850 }
cf694132
RD
2851{
2852 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2853 _result = (wxProgressDialog *)new_wxProgressDialog(*_arg0,*_arg1,_arg2,_arg3,_arg4);
cf694132
RD
2854
2855 wxPy_END_ALLOW_THREADS;
493f1553 2856 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2857} if (_result) {
2858 SWIG_MakePtr(_ptemp, (char *) _result,"_wxProgressDialog_p");
2859 _resultobj = Py_BuildValue("s",_ptemp);
2860 } else {
2861 Py_INCREF(Py_None);
2862 _resultobj = Py_None;
2863 }
bb0054cd
RD
2864{
2865 if (_obj0)
2866 delete _arg0;
8ab979d7 2867}
bb0054cd
RD
2868{
2869 if (_obj1)
2870 delete _arg1;
8ab979d7 2871}
bb0054cd 2872 return _resultobj;
8ab979d7
RD
2873}
2874
bb0054cd 2875#define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
efc5f224 2876static PyObject *_wrap_wxProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2877 PyObject * _resultobj;
bb0054cd
RD
2878 bool _result;
2879 wxProgressDialog * _arg0;
1d99702e
RD
2880 int _arg1 = (int ) -1;
2881 char * _arg2 = (char *) NULL;
2882 PyObject * _argo0 = 0;
efc5f224 2883 char *_kwnames[] = { "self","value","newmsg", NULL };
8ab979d7
RD
2884
2885 self = self;
efc5f224 2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|is:wxProgressDialog_Update",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2887 return NULL;
1d99702e
RD
2888 if (_argo0) {
2889 if (_argo0 == Py_None) { _arg0 = NULL; }
2890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
bb0054cd 2891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
8ab979d7
RD
2892 return NULL;
2893 }
2894 }
cf694132
RD
2895{
2896 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2897 _result = (bool )wxProgressDialog_Update(_arg0,_arg1,_arg2);
cf694132
RD
2898
2899 wxPy_END_ALLOW_THREADS;
493f1553 2900 if (PyErr_Occurred()) return NULL;
bb0054cd 2901} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2902 return _resultobj;
2903}
2904
bb0054cd 2905#define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
efc5f224 2906static PyObject *_wrap_wxProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2907 PyObject * _resultobj;
bb0054cd 2908 wxProgressDialog * _arg0;
1d99702e 2909 PyObject * _argo0 = 0;
efc5f224 2910 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2911
2912 self = self;
efc5f224 2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProgressDialog_Resume",_kwnames,&_argo0))
8ab979d7 2914 return NULL;
1d99702e
RD
2915 if (_argo0) {
2916 if (_argo0 == Py_None) { _arg0 = NULL; }
2917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
bb0054cd 2918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
8ab979d7
RD
2919 return NULL;
2920 }
2921 }
cf694132
RD
2922{
2923 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2924 wxProgressDialog_Resume(_arg0);
cf694132
RD
2925
2926 wxPy_END_ALLOW_THREADS;
493f1553 2927 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2928} Py_INCREF(Py_None);
2929 _resultobj = Py_None;
8ab979d7
RD
2930 return _resultobj;
2931}
2932
2933static PyMethodDef cmndlgscMethods[] = {
efc5f224
RD
2934 { "wxProgressDialog_Resume", (PyCFunction) _wrap_wxProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
2935 { "wxProgressDialog_Update", (PyCFunction) _wrap_wxProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
2936 { "new_wxProgressDialog", (PyCFunction) _wrap_new_wxProgressDialog, METH_VARARGS | METH_KEYWORDS },
2937 { "wxMessageDialog_ShowModal", (PyCFunction) _wrap_wxMessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2938 { "new_wxMessageDialog", (PyCFunction) _wrap_new_wxMessageDialog, METH_VARARGS | METH_KEYWORDS },
2939 { "wxFontDialog_ShowModal", (PyCFunction) _wrap_wxFontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2940 { "wxFontDialog_GetFontData", (PyCFunction) _wrap_wxFontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
2941 { "new_wxFontDialog", (PyCFunction) _wrap_new_wxFontDialog, METH_VARARGS | METH_KEYWORDS },
2942 { "wxFontData_SetShowHelp", (PyCFunction) _wrap_wxFontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
2943 { "wxFontData_SetRange", (PyCFunction) _wrap_wxFontData_SetRange, METH_VARARGS | METH_KEYWORDS },
2944 { "wxFontData_SetInitialFont", (PyCFunction) _wrap_wxFontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
2945 { "wxFontData_SetColour", (PyCFunction) _wrap_wxFontData_SetColour, METH_VARARGS | METH_KEYWORDS },
2946 { "wxFontData_SetChosenFont", (PyCFunction) _wrap_wxFontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
2947 { "wxFontData_SetAllowSymbols", (PyCFunction) _wrap_wxFontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
2948 { "wxFontData_GetShowHelp", (PyCFunction) _wrap_wxFontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
2949 { "wxFontData_GetInitialFont", (PyCFunction) _wrap_wxFontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
2950 { "wxFontData_GetEnableEffects", (PyCFunction) _wrap_wxFontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
2951 { "wxFontData_GetChosenFont", (PyCFunction) _wrap_wxFontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
2952 { "wxFontData_GetColour", (PyCFunction) _wrap_wxFontData_GetColour, METH_VARARGS | METH_KEYWORDS },
2953 { "wxFontData_GetAllowSymbols", (PyCFunction) _wrap_wxFontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
2954 { "wxFontData_EnableEffects", (PyCFunction) _wrap_wxFontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
2955 { "delete_wxFontData", (PyCFunction) _wrap_delete_wxFontData, METH_VARARGS | METH_KEYWORDS },
2956 { "new_wxFontData", (PyCFunction) _wrap_new_wxFontData, METH_VARARGS | METH_KEYWORDS },
2957 { "wxTextEntryDialog_ShowModal", (PyCFunction) _wrap_wxTextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2958 { "wxTextEntryDialog_SetValue", (PyCFunction) _wrap_wxTextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
2959 { "wxTextEntryDialog_GetValue", (PyCFunction) _wrap_wxTextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
2960 { "new_wxTextEntryDialog", (PyCFunction) _wrap_new_wxTextEntryDialog, METH_VARARGS | METH_KEYWORDS },
2961 { "wxSingleChoiceDialog_ShowModal", (PyCFunction) _wrap_wxSingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2962 { "wxSingleChoiceDialog_SetSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
2963 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
2964 { "wxSingleChoiceDialog_GetSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
2965 { "new_wxSingleChoiceDialog", (PyCFunction) _wrap_new_wxSingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
2966 { "wxFileDialog_GetPaths", (PyCFunction) _wrap_wxFileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
2967 { "wxFileDialog_GetFilenames", (PyCFunction) _wrap_wxFileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
2968 { "wxFileDialog_ShowModal", (PyCFunction) _wrap_wxFileDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2969 { "wxFileDialog_SetWildcard", (PyCFunction) _wrap_wxFileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
2970 { "wxFileDialog_SetStyle", (PyCFunction) _wrap_wxFileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
2971 { "wxFileDialog_SetPath", (PyCFunction) _wrap_wxFileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
2972 { "wxFileDialog_SetMessage", (PyCFunction) _wrap_wxFileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
2973 { "wxFileDialog_SetFilterIndex", (PyCFunction) _wrap_wxFileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
2974 { "wxFileDialog_SetFilename", (PyCFunction) _wrap_wxFileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
2975 { "wxFileDialog_SetDirectory", (PyCFunction) _wrap_wxFileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
2976 { "wxFileDialog_GetWildcard", (PyCFunction) _wrap_wxFileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
2977 { "wxFileDialog_GetStyle", (PyCFunction) _wrap_wxFileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
2978 { "wxFileDialog_GetPath", (PyCFunction) _wrap_wxFileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
2979 { "wxFileDialog_GetMessage", (PyCFunction) _wrap_wxFileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
2980 { "wxFileDialog_GetFilterIndex", (PyCFunction) _wrap_wxFileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
2981 { "wxFileDialog_GetFilename", (PyCFunction) _wrap_wxFileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
2982 { "wxFileDialog_GetDirectory", (PyCFunction) _wrap_wxFileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
2983 { "new_wxFileDialog", (PyCFunction) _wrap_new_wxFileDialog, METH_VARARGS | METH_KEYWORDS },
2984 { "wxDirDialog_ShowModal", (PyCFunction) _wrap_wxDirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2985 { "wxDirDialog_SetPath", (PyCFunction) _wrap_wxDirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
2986 { "wxDirDialog_SetMessage", (PyCFunction) _wrap_wxDirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
2987 { "wxDirDialog_GetStyle", (PyCFunction) _wrap_wxDirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
2988 { "wxDirDialog_GetMessage", (PyCFunction) _wrap_wxDirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
2989 { "wxDirDialog_GetPath", (PyCFunction) _wrap_wxDirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
2990 { "new_wxDirDialog", (PyCFunction) _wrap_new_wxDirDialog, METH_VARARGS | METH_KEYWORDS },
2991 { "wxColourDialog_ShowModal", (PyCFunction) _wrap_wxColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2992 { "wxColourDialog_GetColourData", (PyCFunction) _wrap_wxColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
2993 { "new_wxColourDialog", (PyCFunction) _wrap_new_wxColourDialog, METH_VARARGS | METH_KEYWORDS },
2994 { "wxColourData_SetCustomColour", (PyCFunction) _wrap_wxColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
2995 { "wxColourData_SetColour", (PyCFunction) _wrap_wxColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
2996 { "wxColourData_SetChooseFull", (PyCFunction) _wrap_wxColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
2997 { "wxColourData_GetCustomColour", (PyCFunction) _wrap_wxColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
2998 { "wxColourData_GetColour", (PyCFunction) _wrap_wxColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
2999 { "wxColourData_GetChooseFull", (PyCFunction) _wrap_wxColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
3000 { "delete_wxColourData", (PyCFunction) _wrap_delete_wxColourData, METH_VARARGS | METH_KEYWORDS },
3001 { "new_wxColourData", (PyCFunction) _wrap_new_wxColourData, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
3002 { NULL, NULL }
3003};
1d99702e
RD
3004#ifdef __cplusplus
3005}
3006#endif
3007/*
3008 * This table is used by the pointer type-checker
3009 */
3010static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 3011 { "_signed_long","_long",0},
b1462dfa 3012 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
3013 { "_wxPrintQuality","_int",0},
3014 { "_wxPrintQuality","_signed_int",0},
3015 { "_wxPrintQuality","_unsigned_int",0},
3016 { "_wxPrintQuality","_wxWindowID",0},
3017 { "_wxPrintQuality","_uint",0},
3018 { "_wxPrintQuality","_EBool",0},
3019 { "_wxPrintQuality","_size_t",0},
c368d904 3020 { "_wxPrintQuality","_time_t",0},
1d99702e 3021 { "_byte","_unsigned_char",0},
1d99702e
RD
3022 { "_long","_unsigned_long",0},
3023 { "_long","_signed_long",0},
b1462dfa 3024 { "_size_t","_wxCoord",0},
1d99702e 3025 { "_size_t","_wxPrintQuality",0},
c368d904 3026 { "_size_t","_time_t",0},
1d99702e
RD
3027 { "_size_t","_unsigned_int",0},
3028 { "_size_t","_int",0},
3029 { "_size_t","_wxWindowID",0},
3030 { "_size_t","_uint",0},
1d99702e 3031 { "_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel},
1d99702e 3032 { "_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel},
1d99702e 3033 { "_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel},
1d99702e 3034 { "_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel},
1d99702e 3035 { "_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel},
1d99702e 3036 { "_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel},
1d99702e 3037 { "_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel},
b1462dfa 3038 { "_uint","_wxCoord",0},
1d99702e 3039 { "_uint","_wxPrintQuality",0},
c368d904 3040 { "_uint","_time_t",0},
1d99702e
RD
3041 { "_uint","_size_t",0},
3042 { "_uint","_unsigned_int",0},
3043 { "_uint","_int",0},
3044 { "_uint","_wxWindowID",0},
f6bcfd97 3045 { "_wxChar","_char",0},
f6bcfd97 3046 { "_char","_wxChar",0},
cdf14688 3047 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 3048 { "_EBool","_wxCoord",0},
1d99702e
RD
3049 { "_EBool","_wxPrintQuality",0},
3050 { "_EBool","_signed_int",0},
3051 { "_EBool","_int",0},
3052 { "_EBool","_wxWindowID",0},
1d99702e 3053 { "_unsigned_long","_long",0},
cdf14688 3054 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 3055 { "_signed_int","_wxCoord",0},
1d99702e
RD
3056 { "_signed_int","_wxPrintQuality",0},
3057 { "_signed_int","_EBool",0},
3058 { "_signed_int","_wxWindowID",0},
3059 { "_signed_int","_int",0},
1d99702e
RD
3060 { "_WXTYPE","_short",0},
3061 { "_WXTYPE","_signed_short",0},
3062 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
3063 { "_unsigned_short","_WXTYPE",0},
3064 { "_unsigned_short","_short",0},
9416aa89 3065 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject},
9416aa89 3066 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject},
9416aa89 3067 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject},
9416aa89 3068 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject},
9416aa89 3069 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
9416aa89 3070 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
9416aa89 3071 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject},
9416aa89 3072 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject},
9416aa89 3073 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject},
9416aa89 3074 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject},
1d99702e
RD
3075 { "_signed_short","_WXTYPE",0},
3076 { "_signed_short","_short",0},
1d99702e 3077 { "_unsigned_char","_byte",0},
b1462dfa 3078 { "_unsigned_int","_wxCoord",0},
1d99702e 3079 { "_unsigned_int","_wxPrintQuality",0},
c368d904 3080 { "_unsigned_int","_time_t",0},
1d99702e
RD
3081 { "_unsigned_int","_size_t",0},
3082 { "_unsigned_int","_uint",0},
3083 { "_unsigned_int","_wxWindowID",0},
3084 { "_unsigned_int","_int",0},
1d99702e 3085 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog},
1d99702e 3086 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog},
1d99702e 3087 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
1d99702e 3088 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
1d99702e 3089 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog},
1d99702e 3090 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog},
1d99702e 3091 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog},
1d99702e
RD
3092 { "_short","_WXTYPE",0},
3093 { "_short","_unsigned_short",0},
3094 { "_short","_signed_short",0},
1d99702e 3095 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame},
b1462dfa 3096 { "_wxWindowID","_wxCoord",0},
1d99702e 3097 { "_wxWindowID","_wxPrintQuality",0},
c368d904 3098 { "_wxWindowID","_time_t",0},
1d99702e
RD
3099 { "_wxWindowID","_size_t",0},
3100 { "_wxWindowID","_EBool",0},
3101 { "_wxWindowID","_uint",0},
3102 { "_wxWindowID","_int",0},
3103 { "_wxWindowID","_signed_int",0},
3104 { "_wxWindowID","_unsigned_int",0},
b1462dfa 3105 { "_int","_wxCoord",0},
1d99702e 3106 { "_int","_wxPrintQuality",0},
c368d904 3107 { "_int","_time_t",0},
1d99702e
RD
3108 { "_int","_size_t",0},
3109 { "_int","_EBool",0},
3110 { "_int","_uint",0},
3111 { "_int","_wxWindowID",0},
3112 { "_int","_unsigned_int",0},
3113 { "_int","_signed_int",0},
c368d904
RD
3114 { "_time_t","_wxCoord",0},
3115 { "_time_t","_wxPrintQuality",0},
3116 { "_time_t","_unsigned_int",0},
3117 { "_time_t","_int",0},
3118 { "_time_t","_wxWindowID",0},
3119 { "_time_t","_uint",0},
3120 { "_time_t","_size_t",0},
b1462dfa
RD
3121 { "_wxCoord","_int",0},
3122 { "_wxCoord","_signed_int",0},
3123 { "_wxCoord","_unsigned_int",0},
3124 { "_wxCoord","_wxWindowID",0},
3125 { "_wxCoord","_uint",0},
3126 { "_wxCoord","_EBool",0},
3127 { "_wxCoord","_size_t",0},
c368d904 3128 { "_wxCoord","_time_t",0},
b1462dfa 3129 { "_wxCoord","_wxPrintQuality",0},
1d99702e 3130 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
1d99702e 3131 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
1d99702e 3132 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
1d99702e 3133 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
1d99702e 3134 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
1d99702e 3135 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
1d99702e 3136 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
1d99702e 3137 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
1d99702e 3138 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow},
1d99702e 3139 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow},
1d99702e 3140 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow},
1d99702e 3141 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
1d99702e 3142 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
1d99702e 3143 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow},
1d99702e 3144 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow},
1d99702e 3145 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow},
1d99702e
RD
3146{0,0,0}};
3147
8ab979d7
RD
3148static PyObject *SWIG_globals;
3149#ifdef __cplusplus
3150extern "C"
3151#endif
1d99702e 3152SWIGEXPORT(void) initcmndlgsc() {
8ab979d7
RD
3153 PyObject *m, *d;
3154 SWIG_globals = SWIG_newvarlink();
3155 m = Py_InitModule("cmndlgsc", cmndlgscMethods);
3156 d = PyModule_GetDict(m);
1d99702e
RD
3157{
3158 int i;
3159 for (i = 0; _swig_mapping[i].n1; i++)
3160 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3161}
8ab979d7 3162}