]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/cmndlgs.cpp
compilation fix
[wxWidgets.git] / wxPython / src / gtk / cmndlgs.cpp
CommitLineData
70551f47 1/*
2cd2fac8 2 * FILE : src/gtk/cmndlgs.cpp
70551f47
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
70551f47
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)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
70551f47
RD
28# else
29# if defined(__BORLANDC__)
1c09ae54 30# define SWIGEXPORT(a) a _export
70551f47 31# else
1c09ae54 32# define SWIGEXPORT(a) a
70551f47
RD
33# endif
34# endif
35#else
1c09ae54 36# define SWIGEXPORT(a) a
70551f47
RD
37#endif
38
1c09ae54
RD
39#include "Python.h"
40
70551f47
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
1c09ae54 44
70551f47
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
70551f47
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
70551f47
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>
d24a34bb 62#include <wx/progdlg.h>
70551f47 63
70551f47
RD
64
65static PyObject* t_output_helper(PyObject* target, PyObject* o) {
66 PyObject* o2;
67 PyObject* o3;
68
1c09ae54 69 if (!target) {
70551f47 70 target = o;
1c09ae54 71 } else if (target == Py_None) {
70551f47
RD
72 Py_DECREF(Py_None);
73 target = o;
1c09ae54 74 } else {
70551f47
RD
75 if (!PyTuple_Check(target)) {
76 o2 = target;
77 target = PyTuple_New(1);
78 PyTuple_SetItem(target, 0, o2);
79 }
1c09ae54
RD
80 o3 = PyTuple_New(1);
81 PyTuple_SetItem(o3, 0, o);
70551f47
RD
82
83 o2 = target;
1c09ae54
RD
84 target = PySequence_Concat(o2, o3);
85 Py_DECREF(o2);
70551f47
RD
86 Py_DECREF(o3);
87 }
88 return target;
89}
90
7a446686
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
2d091820
RD
96#ifdef __cplusplus
97extern "C" {
98#endif
9df61a29
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
70551f47 107#define new_wxColourData() (new wxColourData())
107e4716 108static PyObject *_wrap_new_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
109 PyObject * _resultobj;
110 wxColourData * _result;
107e4716 111 char *_kwnames[] = { NULL };
70551f47
RD
112 char _ptemp[128];
113
114 self = self;
107e4716 115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxColourData",_kwnames))
70551f47 116 return NULL;
ab9bc19b
RD
117{
118 wxPy_BEGIN_ALLOW_THREADS;
119 _result = (wxColourData *)new_wxColourData();
120
121 wxPy_END_ALLOW_THREADS;
4dfaa61e 122 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
130 return _resultobj;
131}
132
133#define delete_wxColourData(_swigobj) (delete _swigobj)
107e4716 134static PyObject *_wrap_delete_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
135 PyObject * _resultobj;
136 wxColourData * _arg0;
2d091820 137 PyObject * _argo0 = 0;
107e4716 138 char *_kwnames[] = { "self", NULL };
70551f47
RD
139
140 self = self;
107e4716 141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColourData",_kwnames,&_argo0))
70551f47 142 return NULL;
2d091820
RD
143 if (_argo0) {
144 if (_argo0 == Py_None) { _arg0 = NULL; }
145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
147 return NULL;
148 }
149 }
ab9bc19b
RD
150{
151 wxPy_BEGIN_ALLOW_THREADS;
152 delete_wxColourData(_arg0);
153
154 wxPy_END_ALLOW_THREADS;
4dfaa61e 155 if (PyErr_Occurred()) return NULL;
ab9bc19b 156} Py_INCREF(Py_None);
70551f47
RD
157 _resultobj = Py_None;
158 return _resultobj;
159}
160
161#define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
107e4716 162static PyObject *_wrap_wxColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
163 PyObject * _resultobj;
164 bool _result;
165 wxColourData * _arg0;
2d091820 166 PyObject * _argo0 = 0;
107e4716 167 char *_kwnames[] = { "self", NULL };
70551f47
RD
168
169 self = self;
107e4716 170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetChooseFull",_kwnames,&_argo0))
70551f47 171 return NULL;
2d091820
RD
172 if (_argo0) {
173 if (_argo0 == Py_None) { _arg0 = NULL; }
174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
176 return NULL;
177 }
178 }
ab9bc19b
RD
179{
180 wxPy_BEGIN_ALLOW_THREADS;
181 _result = (bool )wxColourData_GetChooseFull(_arg0);
182
183 wxPy_END_ALLOW_THREADS;
4dfaa61e 184 if (PyErr_Occurred()) return NULL;
ab9bc19b 185} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
186 return _resultobj;
187}
188
189#define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
107e4716 190static PyObject *_wrap_wxColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
191 PyObject * _resultobj;
192 wxColour * _result;
193 wxColourData * _arg0;
2d091820 194 PyObject * _argo0 = 0;
107e4716 195 char *_kwnames[] = { "self", NULL };
70551f47
RD
196 char _ptemp[128];
197
198 self = self;
107e4716 199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetColour",_kwnames,&_argo0))
70551f47 200 return NULL;
2d091820
RD
201 if (_argo0) {
202 if (_argo0 == Py_None) { _arg0 = NULL; }
203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
205 return NULL;
206 }
207 }
ab9bc19b
RD
208{
209 wxPy_BEGIN_ALLOW_THREADS;
84a81942 210 _result = new wxColour (wxColourData_GetColour(_arg0));
ab9bc19b
RD
211
212 wxPy_END_ALLOW_THREADS;
4dfaa61e 213 if (PyErr_Occurred()) return NULL;
84a81942
RD
214} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
215 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
216 return _resultobj;
217}
218
219#define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
107e4716 220static PyObject *_wrap_wxColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
221 PyObject * _resultobj;
222 wxColour * _result;
223 wxColourData * _arg0;
224 int _arg1;
2d091820 225 PyObject * _argo0 = 0;
107e4716 226 char *_kwnames[] = { "self","i", NULL };
70551f47
RD
227 char _ptemp[128];
228
229 self = self;
107e4716 230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_GetCustomColour",_kwnames,&_argo0,&_arg1))
70551f47 231 return NULL;
2d091820
RD
232 if (_argo0) {
233 if (_argo0 == Py_None) { _arg0 = NULL; }
234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
236 return NULL;
237 }
238 }
ab9bc19b
RD
239{
240 wxPy_BEGIN_ALLOW_THREADS;
241 _result = new wxColour (wxColourData_GetCustomColour(_arg0,_arg1));
242
243 wxPy_END_ALLOW_THREADS;
4dfaa61e 244 if (PyErr_Occurred()) return NULL;
ab9bc19b 245} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
70551f47
RD
246 _resultobj = Py_BuildValue("s",_ptemp);
247 return _resultobj;
248}
249
250#define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
107e4716 251static PyObject *_wrap_wxColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
252 PyObject * _resultobj;
253 wxColourData * _arg0;
254 int _arg1;
2d091820 255 PyObject * _argo0 = 0;
107e4716 256 char *_kwnames[] = { "self","flag", NULL };
70551f47
RD
257
258 self = self;
107e4716 259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_SetChooseFull",_kwnames,&_argo0,&_arg1))
70551f47 260 return NULL;
2d091820
RD
261 if (_argo0) {
262 if (_argo0 == Py_None) { _arg0 = NULL; }
263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
265 return NULL;
266 }
267 }
ab9bc19b
RD
268{
269 wxPy_BEGIN_ALLOW_THREADS;
270 wxColourData_SetChooseFull(_arg0,_arg1);
271
272 wxPy_END_ALLOW_THREADS;
4dfaa61e 273 if (PyErr_Occurred()) return NULL;
ab9bc19b 274} Py_INCREF(Py_None);
70551f47
RD
275 _resultobj = Py_None;
276 return _resultobj;
277}
278
279#define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
107e4716 280static PyObject *_wrap_wxColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
281 PyObject * _resultobj;
282 wxColourData * _arg0;
283 wxColour * _arg1;
2d091820 284 PyObject * _argo0 = 0;
f6bcfd97
BP
285 wxColour temp;
286 PyObject * _obj1 = 0;
107e4716 287 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
288
289 self = self;
f6bcfd97 290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourData_SetColour",_kwnames,&_argo0,&_obj1))
70551f47 291 return NULL;
2d091820
RD
292 if (_argo0) {
293 if (_argo0 == Py_None) { _arg0 = NULL; }
294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
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))
70551f47 302 return NULL;
f6bcfd97 303}
ab9bc19b
RD
304{
305 wxPy_BEGIN_ALLOW_THREADS;
306 wxColourData_SetColour(_arg0,*_arg1);
307
308 wxPy_END_ALLOW_THREADS;
4dfaa61e 309 if (PyErr_Occurred()) return NULL;
ab9bc19b 310} Py_INCREF(Py_None);
70551f47
RD
311 _resultobj = Py_None;
312 return _resultobj;
313}
314
315#define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
107e4716 316static PyObject *_wrap_wxColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
317 PyObject * _resultobj;
318 wxColourData * _arg0;
319 int _arg1;
320 wxColour * _arg2;
2d091820 321 PyObject * _argo0 = 0;
f6bcfd97
BP
322 wxColour temp;
323 PyObject * _obj2 = 0;
107e4716 324 char *_kwnames[] = { "self","i","colour", NULL };
70551f47
RD
325
326 self = self;
f6bcfd97 327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxColourData_SetCustomColour",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 328 return NULL;
2d091820
RD
329 if (_argo0) {
330 if (_argo0 == Py_None) { _arg0 = NULL; }
331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
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))
70551f47 339 return NULL;
f6bcfd97 340}
ab9bc19b
RD
341{
342 wxPy_BEGIN_ALLOW_THREADS;
343 wxColourData_SetCustomColour(_arg0,_arg1,*_arg2);
344
345 wxPy_END_ALLOW_THREADS;
4dfaa61e 346 if (PyErr_Occurred()) return NULL;
ab9bc19b 347} Py_INCREF(Py_None);
70551f47
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
9df61a29
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
70551f47 392#define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
107e4716 393static PyObject *_wrap_new_wxColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
394 PyObject * _resultobj;
395 wxColourDialog * _result;
396 wxWindow * _arg0;
2d091820
RD
397 wxColourData * _arg1 = (wxColourData *) NULL;
398 PyObject * _argo0 = 0;
399 PyObject * _argo1 = 0;
107e4716 400 char *_kwnames[] = { "parent","data", NULL };
70551f47
RD
401 char _ptemp[128];
402
403 self = self;
107e4716 404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxColourDialog",_kwnames,&_argo0,&_argo1))
70551f47 405 return NULL;
2d091820
RD
406 if (_argo0) {
407 if (_argo0 == Py_None) { _arg0 = NULL; }
408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
410 return NULL;
411 }
412 }
2d091820
RD
413 if (_argo1) {
414 if (_argo1 == Py_None) { _arg1 = NULL; }
415 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColourData_p")) {
70551f47
RD
416 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
417 return NULL;
418 }
419 }
ab9bc19b
RD
420{
421 wxPy_BEGIN_ALLOW_THREADS;
422 _result = (wxColourDialog *)new_wxColourDialog(_arg0,_arg1);
423
424 wxPy_END_ALLOW_THREADS;
4dfaa61e 425 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
433 return _resultobj;
434}
435
436#define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
107e4716 437static PyObject *_wrap_wxColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
438 PyObject * _resultobj;
439 wxColourData * _result;
440 wxColourDialog * _arg0;
2d091820 441 PyObject * _argo0 = 0;
107e4716 442 char *_kwnames[] = { "self", NULL };
70551f47
RD
443 char _ptemp[128];
444
445 self = self;
107e4716 446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_GetColourData",_kwnames,&_argo0))
70551f47 447 return NULL;
2d091820
RD
448 if (_argo0) {
449 if (_argo0 == Py_None) { _arg0 = NULL; }
450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
70551f47
RD
451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
452 return NULL;
453 }
454 }
ab9bc19b
RD
455{
456 wxPy_BEGIN_ALLOW_THREADS;
457 wxColourData & _result_ref = wxColourDialog_GetColourData(_arg0);
c95e68d8 458 _result = (wxColourData *) &_result_ref;
ab9bc19b
RD
459
460 wxPy_END_ALLOW_THREADS;
4dfaa61e 461 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
469 return _resultobj;
470}
471
472#define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 473static PyObject *_wrap_wxColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
474 PyObject * _resultobj;
475 int _result;
476 wxColourDialog * _arg0;
2d091820 477 PyObject * _argo0 = 0;
107e4716 478 char *_kwnames[] = { "self", NULL };
70551f47
RD
479
480 self = self;
107e4716 481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_ShowModal",_kwnames,&_argo0))
70551f47 482 return NULL;
2d091820
RD
483 if (_argo0) {
484 if (_argo0 == Py_None) { _arg0 = NULL; }
485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
70551f47
RD
486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
487 return NULL;
488 }
489 }
ab9bc19b
RD
490{
491 wxPy_BEGIN_ALLOW_THREADS;
492 _result = (int )wxColourDialog_ShowModal(_arg0);
493
494 wxPy_END_ALLOW_THREADS;
4dfaa61e 495 if (PyErr_Occurred()) return NULL;
ab9bc19b 496} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
497 return _resultobj;
498}
499
c95e68d8
RD
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
9df61a29
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
c95e68d8 540#define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 541static PyObject *_wrap_new_wxDirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
542 PyObject * _resultobj;
543 wxDirDialog * _result;
544 wxWindow * _arg0;
2d091820
RD
545 char * _arg1 = (char *) "Choose a directory";
546 char * _arg2 = (char *) "";
547 long _arg3 = (long ) 0;
b68dc582 548 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2d091820 549 PyObject * _argo0 = 0;
37f6a977
RD
550 wxPoint temp;
551 PyObject * _obj4 = 0;
107e4716 552 char *_kwnames[] = { "parent","message","defaultPath","style","pos", NULL };
c95e68d8
RD
553 char _ptemp[128];
554
555 self = self;
37f6a977 556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sslO:new_wxDirDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
c95e68d8 557 return NULL;
2d091820
RD
558 if (_argo0) {
559 if (_argo0 == Py_None) { _arg0 = NULL; }
560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
c95e68d8
RD
561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
562 return NULL;
563 }
564 }
37f6a977
RD
565 if (_obj4)
566{
567 _arg4 = &temp;
568 if (! wxPoint_helper(_obj4, &_arg4))
c95e68d8 569 return NULL;
37f6a977 570}
ab9bc19b
RD
571{
572 wxPy_BEGIN_ALLOW_THREADS;
573 _result = (wxDirDialog *)new_wxDirDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
574
575 wxPy_END_ALLOW_THREADS;
4dfaa61e 576 if (PyErr_Occurred()) return NULL;
2d091820
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 }
c95e68d8
RD
584 return _resultobj;
585}
586
587#define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
107e4716 588static PyObject *_wrap_wxDirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
589 PyObject * _resultobj;
590 wxString * _result;
591 wxDirDialog * _arg0;
2d091820 592 PyObject * _argo0 = 0;
107e4716 593 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
594
595 self = self;
107e4716 596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetPath",_kwnames,&_argo0))
c95e68d8 597 return NULL;
2d091820
RD
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
602 return NULL;
603 }
604 }
c95e68d8 605{
ab9bc19b
RD
606 wxPy_BEGIN_ALLOW_THREADS;
607 _result = new wxString (wxDirDialog_GetPath(_arg0));
608
609 wxPy_END_ALLOW_THREADS;
4dfaa61e 610 if (PyErr_Occurred()) return NULL;
ab9bc19b 611}{
e02c03a4 612 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c95e68d8
RD
613}
614{
615 delete _result;
616}
617 return _resultobj;
618}
619
620#define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
107e4716 621static PyObject *_wrap_wxDirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
622 PyObject * _resultobj;
623 wxString * _result;
624 wxDirDialog * _arg0;
2d091820 625 PyObject * _argo0 = 0;
107e4716 626 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
627
628 self = self;
107e4716 629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetMessage",_kwnames,&_argo0))
c95e68d8 630 return NULL;
2d091820
RD
631 if (_argo0) {
632 if (_argo0 == Py_None) { _arg0 = NULL; }
633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
635 return NULL;
636 }
637 }
c95e68d8 638{
ab9bc19b
RD
639 wxPy_BEGIN_ALLOW_THREADS;
640 _result = new wxString (wxDirDialog_GetMessage(_arg0));
641
642 wxPy_END_ALLOW_THREADS;
4dfaa61e 643 if (PyErr_Occurred()) return NULL;
ab9bc19b 644}{
e02c03a4 645 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c95e68d8
RD
646}
647{
648 delete _result;
649}
650 return _resultobj;
651}
652
653#define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
107e4716 654static PyObject *_wrap_wxDirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
655 PyObject * _resultobj;
656 long _result;
657 wxDirDialog * _arg0;
2d091820 658 PyObject * _argo0 = 0;
107e4716 659 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
660
661 self = self;
107e4716 662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetStyle",_kwnames,&_argo0))
c95e68d8 663 return NULL;
2d091820
RD
664 if (_argo0) {
665 if (_argo0 == Py_None) { _arg0 = NULL; }
666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
668 return NULL;
669 }
670 }
ab9bc19b
RD
671{
672 wxPy_BEGIN_ALLOW_THREADS;
673 _result = (long )wxDirDialog_GetStyle(_arg0);
674
675 wxPy_END_ALLOW_THREADS;
4dfaa61e 676 if (PyErr_Occurred()) return NULL;
ab9bc19b 677} _resultobj = Py_BuildValue("l",_result);
c95e68d8
RD
678 return _resultobj;
679}
680
681#define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
107e4716 682static PyObject *_wrap_wxDirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
683 PyObject * _resultobj;
684 wxDirDialog * _arg0;
685 wxString * _arg1;
2d091820 686 PyObject * _argo0 = 0;
c95e68d8 687 PyObject * _obj1 = 0;
107e4716 688 char *_kwnames[] = { "self","message", NULL };
c95e68d8
RD
689
690 self = self;
107e4716 691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetMessage",_kwnames,&_argo0,&_obj1))
c95e68d8 692 return NULL;
2d091820
RD
693 if (_argo0) {
694 if (_argo0 == Py_None) { _arg0 = NULL; }
695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
697 return NULL;
698 }
699 }
700{
2cd2fac8
RD
701#if PYTHON_API_VERSION >= 1009
702 char* tmpPtr; int tmpSize;
703 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 704 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
705 return NULL;
706 }
707 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
708 return NULL;
709 _arg1 = new wxString(tmpPtr, tmpSize);
710#else
c95e68d8
RD
711 if (!PyString_Check(_obj1)) {
712 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
713 return NULL;
714 }
2cd2fac8
RD
715 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
716#endif
c95e68d8 717}
ab9bc19b
RD
718{
719 wxPy_BEGIN_ALLOW_THREADS;
720 wxDirDialog_SetMessage(_arg0,*_arg1);
721
722 wxPy_END_ALLOW_THREADS;
4dfaa61e 723 if (PyErr_Occurred()) return NULL;
ab9bc19b 724} Py_INCREF(Py_None);
c95e68d8
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))
107e4716 734static PyObject *_wrap_wxDirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
735 PyObject * _resultobj;
736 wxDirDialog * _arg0;
737 wxString * _arg1;
2d091820 738 PyObject * _argo0 = 0;
c95e68d8 739 PyObject * _obj1 = 0;
107e4716 740 char *_kwnames[] = { "self","path", NULL };
c95e68d8
RD
741
742 self = self;
107e4716 743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetPath",_kwnames,&_argo0,&_obj1))
c95e68d8 744 return NULL;
2d091820
RD
745 if (_argo0) {
746 if (_argo0 == Py_None) { _arg0 = NULL; }
747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
749 return NULL;
750 }
751 }
752{
2cd2fac8
RD
753#if PYTHON_API_VERSION >= 1009
754 char* tmpPtr; int tmpSize;
755 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 756 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
757 return NULL;
758 }
759 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
760 return NULL;
761 _arg1 = new wxString(tmpPtr, tmpSize);
762#else
c95e68d8
RD
763 if (!PyString_Check(_obj1)) {
764 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
765 return NULL;
766 }
2cd2fac8
RD
767 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
768#endif
c95e68d8 769}
ab9bc19b
RD
770{
771 wxPy_BEGIN_ALLOW_THREADS;
772 wxDirDialog_SetPath(_arg0,*_arg1);
773
774 wxPy_END_ALLOW_THREADS;
4dfaa61e 775 if (PyErr_Occurred()) return NULL;
ab9bc19b 776} Py_INCREF(Py_None);
c95e68d8
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())
107e4716 786static PyObject *_wrap_wxDirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
787 PyObject * _resultobj;
788 int _result;
789 wxDirDialog * _arg0;
2d091820 790 PyObject * _argo0 = 0;
107e4716 791 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
792
793 self = self;
107e4716 794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_ShowModal",_kwnames,&_argo0))
c95e68d8 795 return NULL;
2d091820
RD
796 if (_argo0) {
797 if (_argo0 == Py_None) { _arg0 = NULL; }
798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
800 return NULL;
801 }
802 }
ab9bc19b
RD
803{
804 wxPy_BEGIN_ALLOW_THREADS;
805 _result = (int )wxDirDialog_ShowModal(_arg0);
806
807 wxPy_END_ALLOW_THREADS;
4dfaa61e 808 if (PyErr_Occurred()) return NULL;
ab9bc19b 809} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
810 return _resultobj;
811}
812
70551f47
RD
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
9df61a29
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
70551f47 853#define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 854static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
855 PyObject * _resultobj;
856 wxFileDialog * _result;
857 wxWindow * _arg0;
2d091820
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;
b68dc582 863 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
2d091820 864 PyObject * _argo0 = 0;
37f6a977
RD
865 wxPoint temp;
866 PyObject * _obj6 = 0;
107e4716 867 char *_kwnames[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL };
70551f47
RD
868 char _ptemp[128];
869
870 self = self;
37f6a977 871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sssslO:new_wxFileDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
70551f47 872 return NULL;
2d091820
RD
873 if (_argo0) {
874 if (_argo0 == Py_None) { _arg0 = NULL; }
875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
877 return NULL;
878 }
879 }
37f6a977
RD
880 if (_obj6)
881{
882 _arg6 = &temp;
883 if (! wxPoint_helper(_obj6, &_arg6))
70551f47 884 return NULL;
37f6a977 885}
ab9bc19b
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;
4dfaa61e 891 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
899 return _resultobj;
900}
901
902#define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
107e4716 903static PyObject *_wrap_wxFileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
904 PyObject * _resultobj;
905 wxString * _result;
906 wxFileDialog * _arg0;
2d091820 907 PyObject * _argo0 = 0;
107e4716 908 char *_kwnames[] = { "self", NULL };
70551f47
RD
909
910 self = self;
107e4716 911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetDirectory",_kwnames,&_argo0))
70551f47 912 return NULL;
2d091820
RD
913 if (_argo0) {
914 if (_argo0 == Py_None) { _arg0 = NULL; }
915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
917 return NULL;
918 }
919 }
70551f47 920{
ab9bc19b
RD
921 wxPy_BEGIN_ALLOW_THREADS;
922 _result = new wxString (wxFileDialog_GetDirectory(_arg0));
923
924 wxPy_END_ALLOW_THREADS;
4dfaa61e 925 if (PyErr_Occurred()) return NULL;
ab9bc19b 926}{
e02c03a4 927 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
928}
929{
930 delete _result;
931}
932 return _resultobj;
933}
934
935#define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
107e4716 936static PyObject *_wrap_wxFileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
937 PyObject * _resultobj;
938 wxString * _result;
939 wxFileDialog * _arg0;
2d091820 940 PyObject * _argo0 = 0;
107e4716 941 char *_kwnames[] = { "self", NULL };
70551f47
RD
942
943 self = self;
107e4716 944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilename",_kwnames,&_argo0))
70551f47 945 return NULL;
2d091820
RD
946 if (_argo0) {
947 if (_argo0 == Py_None) { _arg0 = NULL; }
948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
950 return NULL;
951 }
952 }
70551f47 953{
ab9bc19b
RD
954 wxPy_BEGIN_ALLOW_THREADS;
955 _result = new wxString (wxFileDialog_GetFilename(_arg0));
956
957 wxPy_END_ALLOW_THREADS;
4dfaa61e 958 if (PyErr_Occurred()) return NULL;
ab9bc19b 959}{
e02c03a4 960 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
961}
962{
963 delete _result;
964}
965 return _resultobj;
966}
967
968#define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
107e4716 969static PyObject *_wrap_wxFileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
970 PyObject * _resultobj;
971 int _result;
972 wxFileDialog * _arg0;
2d091820 973 PyObject * _argo0 = 0;
107e4716 974 char *_kwnames[] = { "self", NULL };
70551f47
RD
975
976 self = self;
107e4716 977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilterIndex",_kwnames,&_argo0))
70551f47 978 return NULL;
2d091820
RD
979 if (_argo0) {
980 if (_argo0 == Py_None) { _arg0 = NULL; }
981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
983 return NULL;
984 }
985 }
ab9bc19b
RD
986{
987 wxPy_BEGIN_ALLOW_THREADS;
988 _result = (int )wxFileDialog_GetFilterIndex(_arg0);
989
990 wxPy_END_ALLOW_THREADS;
4dfaa61e 991 if (PyErr_Occurred()) return NULL;
ab9bc19b 992} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
993 return _resultobj;
994}
995
996#define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
107e4716 997static PyObject *_wrap_wxFileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
998 PyObject * _resultobj;
999 wxString * _result;
1000 wxFileDialog * _arg0;
2d091820 1001 PyObject * _argo0 = 0;
107e4716 1002 char *_kwnames[] = { "self", NULL };
70551f47
RD
1003
1004 self = self;
107e4716 1005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetMessage",_kwnames,&_argo0))
70551f47 1006 return NULL;
2d091820
RD
1007 if (_argo0) {
1008 if (_argo0 == Py_None) { _arg0 = NULL; }
1009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1011 return NULL;
1012 }
1013 }
70551f47 1014{
ab9bc19b
RD
1015 wxPy_BEGIN_ALLOW_THREADS;
1016 _result = new wxString (wxFileDialog_GetMessage(_arg0));
1017
1018 wxPy_END_ALLOW_THREADS;
4dfaa61e 1019 if (PyErr_Occurred()) return NULL;
ab9bc19b 1020}{
e02c03a4 1021 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1022}
1023{
1024 delete _result;
1025}
1026 return _resultobj;
1027}
1028
1029#define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
107e4716 1030static PyObject *_wrap_wxFileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1031 PyObject * _resultobj;
1032 wxString * _result;
1033 wxFileDialog * _arg0;
2d091820 1034 PyObject * _argo0 = 0;
107e4716 1035 char *_kwnames[] = { "self", NULL };
70551f47
RD
1036
1037 self = self;
107e4716 1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetPath",_kwnames,&_argo0))
70551f47 1039 return NULL;
2d091820
RD
1040 if (_argo0) {
1041 if (_argo0 == Py_None) { _arg0 = NULL; }
1042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1044 return NULL;
1045 }
1046 }
70551f47 1047{
ab9bc19b
RD
1048 wxPy_BEGIN_ALLOW_THREADS;
1049 _result = new wxString (wxFileDialog_GetPath(_arg0));
1050
1051 wxPy_END_ALLOW_THREADS;
4dfaa61e 1052 if (PyErr_Occurred()) return NULL;
ab9bc19b 1053}{
e02c03a4 1054 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1055}
1056{
1057 delete _result;
1058}
1059 return _resultobj;
1060}
1061
1062#define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
107e4716 1063static PyObject *_wrap_wxFileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1064 PyObject * _resultobj;
1065 long _result;
1066 wxFileDialog * _arg0;
2d091820 1067 PyObject * _argo0 = 0;
107e4716 1068 char *_kwnames[] = { "self", NULL };
70551f47
RD
1069
1070 self = self;
107e4716 1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetStyle",_kwnames,&_argo0))
70551f47 1072 return NULL;
2d091820
RD
1073 if (_argo0) {
1074 if (_argo0 == Py_None) { _arg0 = NULL; }
1075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1077 return NULL;
1078 }
1079 }
ab9bc19b
RD
1080{
1081 wxPy_BEGIN_ALLOW_THREADS;
1082 _result = (long )wxFileDialog_GetStyle(_arg0);
1083
1084 wxPy_END_ALLOW_THREADS;
4dfaa61e 1085 if (PyErr_Occurred()) return NULL;
ab9bc19b 1086} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1087 return _resultobj;
1088}
1089
1090#define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
107e4716 1091static PyObject *_wrap_wxFileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1092 PyObject * _resultobj;
1093 wxString * _result;
1094 wxFileDialog * _arg0;
2d091820 1095 PyObject * _argo0 = 0;
107e4716 1096 char *_kwnames[] = { "self", NULL };
70551f47
RD
1097
1098 self = self;
107e4716 1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetWildcard",_kwnames,&_argo0))
70551f47 1100 return NULL;
2d091820
RD
1101 if (_argo0) {
1102 if (_argo0 == Py_None) { _arg0 = NULL; }
1103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1105 return NULL;
1106 }
1107 }
70551f47 1108{
ab9bc19b
RD
1109 wxPy_BEGIN_ALLOW_THREADS;
1110 _result = new wxString (wxFileDialog_GetWildcard(_arg0));
1111
1112 wxPy_END_ALLOW_THREADS;
4dfaa61e 1113 if (PyErr_Occurred()) return NULL;
ab9bc19b 1114}{
e02c03a4 1115 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1116}
1117{
1118 delete _result;
1119}
1120 return _resultobj;
1121}
1122
1123#define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
107e4716 1124static PyObject *_wrap_wxFileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1125 PyObject * _resultobj;
1126 wxFileDialog * _arg0;
1127 wxString * _arg1;
2d091820 1128 PyObject * _argo0 = 0;
70551f47 1129 PyObject * _obj1 = 0;
107e4716 1130 char *_kwnames[] = { "self","directory", NULL };
70551f47
RD
1131
1132 self = self;
107e4716 1133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetDirectory",_kwnames,&_argo0,&_obj1))
70551f47 1134 return NULL;
2d091820
RD
1135 if (_argo0) {
1136 if (_argo0 == Py_None) { _arg0 = NULL; }
1137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1139 return NULL;
1140 }
1141 }
1142{
2cd2fac8
RD
1143#if PYTHON_API_VERSION >= 1009
1144 char* tmpPtr; int tmpSize;
1145 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1146 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1147 return NULL;
1148 }
1149 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1150 return NULL;
1151 _arg1 = new wxString(tmpPtr, tmpSize);
1152#else
70551f47
RD
1153 if (!PyString_Check(_obj1)) {
1154 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1155 return NULL;
1156 }
2cd2fac8
RD
1157 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1158#endif
70551f47 1159}
ab9bc19b
RD
1160{
1161 wxPy_BEGIN_ALLOW_THREADS;
1162 wxFileDialog_SetDirectory(_arg0,*_arg1);
1163
1164 wxPy_END_ALLOW_THREADS;
4dfaa61e 1165 if (PyErr_Occurred()) return NULL;
ab9bc19b 1166} Py_INCREF(Py_None);
70551f47
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))
107e4716 1176static PyObject *_wrap_wxFileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1177 PyObject * _resultobj;
1178 wxFileDialog * _arg0;
1179 wxString * _arg1;
2d091820 1180 PyObject * _argo0 = 0;
70551f47 1181 PyObject * _obj1 = 0;
107e4716 1182 char *_kwnames[] = { "self","setfilename", NULL };
70551f47
RD
1183
1184 self = self;
107e4716 1185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetFilename",_kwnames,&_argo0,&_obj1))
70551f47 1186 return NULL;
2d091820
RD
1187 if (_argo0) {
1188 if (_argo0 == Py_None) { _arg0 = NULL; }
1189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1191 return NULL;
1192 }
1193 }
1194{
2cd2fac8
RD
1195#if PYTHON_API_VERSION >= 1009
1196 char* tmpPtr; int tmpSize;
1197 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1198 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1199 return NULL;
1200 }
1201 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1202 return NULL;
1203 _arg1 = new wxString(tmpPtr, tmpSize);
1204#else
70551f47
RD
1205 if (!PyString_Check(_obj1)) {
1206 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1207 return NULL;
1208 }
2cd2fac8
RD
1209 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1210#endif
70551f47 1211}
ab9bc19b
RD
1212{
1213 wxPy_BEGIN_ALLOW_THREADS;
1214 wxFileDialog_SetFilename(_arg0,*_arg1);
1215
1216 wxPy_END_ALLOW_THREADS;
4dfaa61e 1217 if (PyErr_Occurred()) return NULL;
ab9bc19b 1218} Py_INCREF(Py_None);
70551f47
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))
107e4716 1228static PyObject *_wrap_wxFileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1229 PyObject * _resultobj;
1230 wxFileDialog * _arg0;
1231 int _arg1;
2d091820 1232 PyObject * _argo0 = 0;
107e4716 1233 char *_kwnames[] = { "self","filterIndex", NULL };
70551f47
RD
1234
1235 self = self;
107e4716 1236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileDialog_SetFilterIndex",_kwnames,&_argo0,&_arg1))
70551f47 1237 return NULL;
2d091820
RD
1238 if (_argo0) {
1239 if (_argo0 == Py_None) { _arg0 = NULL; }
1240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1242 return NULL;
1243 }
1244 }
ab9bc19b
RD
1245{
1246 wxPy_BEGIN_ALLOW_THREADS;
1247 wxFileDialog_SetFilterIndex(_arg0,_arg1);
1248
1249 wxPy_END_ALLOW_THREADS;
4dfaa61e 1250 if (PyErr_Occurred()) return NULL;
ab9bc19b 1251} Py_INCREF(Py_None);
70551f47
RD
1252 _resultobj = Py_None;
1253 return _resultobj;
1254}
1255
1256#define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
107e4716 1257static PyObject *_wrap_wxFileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1258 PyObject * _resultobj;
1259 wxFileDialog * _arg0;
1260 wxString * _arg1;
2d091820 1261 PyObject * _argo0 = 0;
70551f47 1262 PyObject * _obj1 = 0;
107e4716 1263 char *_kwnames[] = { "self","message", NULL };
70551f47
RD
1264
1265 self = self;
107e4716 1266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetMessage",_kwnames,&_argo0,&_obj1))
70551f47 1267 return NULL;
2d091820
RD
1268 if (_argo0) {
1269 if (_argo0 == Py_None) { _arg0 = NULL; }
1270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1272 return NULL;
1273 }
1274 }
1275{
2cd2fac8
RD
1276#if PYTHON_API_VERSION >= 1009
1277 char* tmpPtr; int tmpSize;
1278 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1279 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1280 return NULL;
1281 }
1282 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1283 return NULL;
1284 _arg1 = new wxString(tmpPtr, tmpSize);
1285#else
70551f47
RD
1286 if (!PyString_Check(_obj1)) {
1287 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1288 return NULL;
1289 }
2cd2fac8
RD
1290 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1291#endif
70551f47 1292}
ab9bc19b
RD
1293{
1294 wxPy_BEGIN_ALLOW_THREADS;
1295 wxFileDialog_SetMessage(_arg0,*_arg1);
1296
1297 wxPy_END_ALLOW_THREADS;
4dfaa61e 1298 if (PyErr_Occurred()) return NULL;
ab9bc19b 1299} Py_INCREF(Py_None);
70551f47
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))
107e4716 1309static PyObject *_wrap_wxFileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1310 PyObject * _resultobj;
1311 wxFileDialog * _arg0;
1312 wxString * _arg1;
2d091820 1313 PyObject * _argo0 = 0;
70551f47 1314 PyObject * _obj1 = 0;
107e4716 1315 char *_kwnames[] = { "self","path", NULL };
70551f47
RD
1316
1317 self = self;
107e4716 1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetPath",_kwnames,&_argo0,&_obj1))
70551f47 1319 return NULL;
2d091820
RD
1320 if (_argo0) {
1321 if (_argo0 == Py_None) { _arg0 = NULL; }
1322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1324 return NULL;
1325 }
1326 }
1327{
2cd2fac8
RD
1328#if PYTHON_API_VERSION >= 1009
1329 char* tmpPtr; int tmpSize;
1330 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1331 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1332 return NULL;
1333 }
1334 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1335 return NULL;
1336 _arg1 = new wxString(tmpPtr, tmpSize);
1337#else
70551f47
RD
1338 if (!PyString_Check(_obj1)) {
1339 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1340 return NULL;
1341 }
2cd2fac8
RD
1342 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1343#endif
70551f47 1344}
ab9bc19b
RD
1345{
1346 wxPy_BEGIN_ALLOW_THREADS;
1347 wxFileDialog_SetPath(_arg0,*_arg1);
1348
1349 wxPy_END_ALLOW_THREADS;
4dfaa61e 1350 if (PyErr_Occurred()) return NULL;
ab9bc19b 1351} Py_INCREF(Py_None);
70551f47
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))
107e4716 1361static PyObject *_wrap_wxFileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1362 PyObject * _resultobj;
1363 wxFileDialog * _arg0;
1364 long _arg1;
2d091820 1365 PyObject * _argo0 = 0;
107e4716 1366 char *_kwnames[] = { "self","style", NULL };
70551f47
RD
1367
1368 self = self;
107e4716 1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxFileDialog_SetStyle",_kwnames,&_argo0,&_arg1))
70551f47 1370 return NULL;
2d091820
RD
1371 if (_argo0) {
1372 if (_argo0 == Py_None) { _arg0 = NULL; }
1373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1375 return NULL;
1376 }
1377 }
ab9bc19b
RD
1378{
1379 wxPy_BEGIN_ALLOW_THREADS;
1380 wxFileDialog_SetStyle(_arg0,_arg1);
1381
1382 wxPy_END_ALLOW_THREADS;
4dfaa61e 1383 if (PyErr_Occurred()) return NULL;
ab9bc19b 1384} Py_INCREF(Py_None);
70551f47
RD
1385 _resultobj = Py_None;
1386 return _resultobj;
1387}
1388
1389#define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
107e4716 1390static PyObject *_wrap_wxFileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1391 PyObject * _resultobj;
1392 wxFileDialog * _arg0;
1393 wxString * _arg1;
2d091820 1394 PyObject * _argo0 = 0;
70551f47 1395 PyObject * _obj1 = 0;
107e4716 1396 char *_kwnames[] = { "self","wildCard", NULL };
70551f47
RD
1397
1398 self = self;
107e4716 1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetWildcard",_kwnames,&_argo0,&_obj1))
70551f47 1400 return NULL;
2d091820
RD
1401 if (_argo0) {
1402 if (_argo0 == Py_None) { _arg0 = NULL; }
1403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1405 return NULL;
1406 }
1407 }
1408{
2cd2fac8
RD
1409#if PYTHON_API_VERSION >= 1009
1410 char* tmpPtr; int tmpSize;
1411 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1412 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1413 return NULL;
1414 }
1415 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1416 return NULL;
1417 _arg1 = new wxString(tmpPtr, tmpSize);
1418#else
70551f47
RD
1419 if (!PyString_Check(_obj1)) {
1420 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1421 return NULL;
1422 }
2cd2fac8
RD
1423 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1424#endif
70551f47 1425}
ab9bc19b
RD
1426{
1427 wxPy_BEGIN_ALLOW_THREADS;
1428 wxFileDialog_SetWildcard(_arg0,*_arg1);
1429
1430 wxPy_END_ALLOW_THREADS;
4dfaa61e 1431 if (PyErr_Occurred()) return NULL;
ab9bc19b 1432} Py_INCREF(Py_None);
70551f47
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())
107e4716 1442static PyObject *_wrap_wxFileDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1443 PyObject * _resultobj;
1444 int _result;
1445 wxFileDialog * _arg0;
2d091820 1446 PyObject * _argo0 = 0;
107e4716 1447 char *_kwnames[] = { "self", NULL };
70551f47
RD
1448
1449 self = self;
107e4716 1450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_ShowModal",_kwnames,&_argo0))
70551f47 1451 return NULL;
2d091820
RD
1452 if (_argo0) {
1453 if (_argo0 == Py_None) { _arg0 = NULL; }
1454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1456 return NULL;
1457 }
1458 }
ab9bc19b
RD
1459{
1460 wxPy_BEGIN_ALLOW_THREADS;
1461 _result = (int )wxFileDialog_ShowModal(_arg0);
1462
1463 wxPy_END_ALLOW_THREADS;
4dfaa61e 1464 if (PyErr_Occurred()) return NULL;
ab9bc19b 1465} _resultobj = Py_BuildValue("i",_result);
70551f47
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;
4dfaa61e 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;
4dfaa61e 1542 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1543}{
1544 _resultobj = _result;
1545}
1546 return _resultobj;
1547}
1548
70551f47
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
9df61a29
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
e02c03a4 1589static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString *message,wxString *caption,int LCOUNT,wxString *choices,long style,wxPoint *pos) {
70551f47 1590 return new wxSingleChoiceDialog(parent, *message, *caption,
e02c03a4 1591 LCOUNT, choices, NULL, style, *pos);
70551f47
RD
1592 }
1593
107e4716 1594static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1595 PyObject * _resultobj;
1596 wxSingleChoiceDialog * _result;
1597 wxWindow * _arg0;
1598 wxString * _arg1;
1599 wxString * _arg2;
1600 int _arg3;
1601 wxString * _arg4;
2d091820 1602 long _arg5 = (long ) wxOK|wxCANCEL|wxCENTRE;
b68dc582 1603 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
2d091820 1604 PyObject * _argo0 = 0;
70551f47
RD
1605 PyObject * _obj1 = 0;
1606 PyObject * _obj2 = 0;
1607 PyObject * _obj4 = 0;
37f6a977
RD
1608 wxPoint temp;
1609 PyObject * _obj6 = 0;
e02c03a4 1610 char *_kwnames[] = { "parent","message","caption","choices","style","pos", NULL };
70551f47
RD
1611 char _ptemp[128];
1612
1613 self = self;
37f6a977 1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames,&_argo0,&_obj1,&_obj2,&_obj4,&_arg5,&_obj6))
70551f47 1615 return NULL;
2d091820
RD
1616 if (_argo0) {
1617 if (_argo0 == Py_None) { _arg0 = NULL; }
1618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1620 return NULL;
1621 }
1622 }
1623{
2cd2fac8
RD
1624#if PYTHON_API_VERSION >= 1009
1625 char* tmpPtr; int tmpSize;
1626 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1627 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1628 return NULL;
1629 }
1630 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1631 return NULL;
1632 _arg1 = new wxString(tmpPtr, tmpSize);
1633#else
70551f47
RD
1634 if (!PyString_Check(_obj1)) {
1635 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1636 return NULL;
1637 }
2cd2fac8
RD
1638 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1639#endif
70551f47
RD
1640}
1641{
2cd2fac8
RD
1642#if PYTHON_API_VERSION >= 1009
1643 char* tmpPtr; int tmpSize;
1644 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 1645 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1646 return NULL;
1647 }
1648 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1649 return NULL;
1650 _arg2 = new wxString(tmpPtr, tmpSize);
1651#else
70551f47
RD
1652 if (!PyString_Check(_obj2)) {
1653 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1654 return NULL;
1655 }
2cd2fac8
RD
1656 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1657#endif
70551f47
RD
1658}
1659 if (_obj4)
1660{
1661 _arg4 = wxString_LIST_helper(_obj4);
1662 if (_arg4 == NULL) {
1663 return NULL;
1664 }
1665}
37f6a977
RD
1666 if (_obj6)
1667{
1668 _arg6 = &temp;
1669 if (! wxPoint_helper(_obj6, &_arg6))
70551f47 1670 return NULL;
37f6a977 1671}
70551f47 1672{
ab9bc19b
RD
1673 if (_obj4) {
1674 _arg3 = PyList_Size(_obj4);
1675 }
1676 else {
1677 _arg3 = 0;
1678 }
70551f47 1679}
ab9bc19b
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;
4dfaa61e 1685 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
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())
107e4716 1708static PyObject *_wrap_wxSingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1709 PyObject * _resultobj;
1710 int _result;
1711 wxSingleChoiceDialog * _arg0;
2d091820 1712 PyObject * _argo0 = 0;
107e4716 1713 char *_kwnames[] = { "self", NULL };
70551f47
RD
1714
1715 self = self;
107e4716 1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetSelection",_kwnames,&_argo0))
70551f47 1717 return NULL;
2d091820
RD
1718 if (_argo0) {
1719 if (_argo0 == Py_None) { _arg0 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
70551f47
RD
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1722 return NULL;
1723 }
1724 }
ab9bc19b
RD
1725{
1726 wxPy_BEGIN_ALLOW_THREADS;
1727 _result = (int )wxSingleChoiceDialog_GetSelection(_arg0);
1728
1729 wxPy_END_ALLOW_THREADS;
4dfaa61e 1730 if (PyErr_Occurred()) return NULL;
ab9bc19b 1731} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1732 return _resultobj;
1733}
1734
1735#define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
107e4716 1736static PyObject *_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1737 PyObject * _resultobj;
1738 wxString * _result;
1739 wxSingleChoiceDialog * _arg0;
2d091820 1740 PyObject * _argo0 = 0;
107e4716 1741 char *_kwnames[] = { "self", NULL };
70551f47
RD
1742
1743 self = self;
107e4716 1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames,&_argo0))
70551f47 1745 return NULL;
2d091820
RD
1746 if (_argo0) {
1747 if (_argo0 == Py_None) { _arg0 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
70551f47
RD
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1750 return NULL;
1751 }
1752 }
70551f47 1753{
ab9bc19b
RD
1754 wxPy_BEGIN_ALLOW_THREADS;
1755 _result = new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0));
1756
1757 wxPy_END_ALLOW_THREADS;
4dfaa61e 1758 if (PyErr_Occurred()) return NULL;
ab9bc19b 1759}{
e02c03a4 1760 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1761}
1762{
1763 delete _result;
1764}
1765 return _resultobj;
1766}
1767
1768#define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 1769static PyObject *_wrap_wxSingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1770 PyObject * _resultobj;
1771 wxSingleChoiceDialog * _arg0;
1772 int _arg1;
2d091820 1773 PyObject * _argo0 = 0;
107e4716 1774 char *_kwnames[] = { "self","sel", NULL };
70551f47
RD
1775
1776 self = self;
107e4716 1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 1778 return NULL;
2d091820
RD
1779 if (_argo0) {
1780 if (_argo0 == Py_None) { _arg0 = NULL; }
1781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
70551f47
RD
1782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1783 return NULL;
1784 }
1785 }
ab9bc19b
RD
1786{
1787 wxPy_BEGIN_ALLOW_THREADS;
1788 wxSingleChoiceDialog_SetSelection(_arg0,_arg1);
1789
1790 wxPy_END_ALLOW_THREADS;
4dfaa61e 1791 if (PyErr_Occurred()) return NULL;
ab9bc19b 1792} Py_INCREF(Py_None);
70551f47
RD
1793 _resultobj = Py_None;
1794 return _resultobj;
1795}
1796
1797#define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 1798static PyObject *_wrap_wxSingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1799 PyObject * _resultobj;
1800 int _result;
1801 wxSingleChoiceDialog * _arg0;
2d091820 1802 PyObject * _argo0 = 0;
107e4716 1803 char *_kwnames[] = { "self", NULL };
70551f47
RD
1804
1805 self = self;
107e4716 1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_ShowModal",_kwnames,&_argo0))
70551f47 1807 return NULL;
2d091820
RD
1808 if (_argo0) {
1809 if (_argo0 == Py_None) { _arg0 = NULL; }
1810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
70551f47
RD
1811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1812 return NULL;
1813 }
1814 }
ab9bc19b
RD
1815{
1816 wxPy_BEGIN_ALLOW_THREADS;
1817 _result = (int )wxSingleChoiceDialog_ShowModal(_arg0);
1818
1819 wxPy_END_ALLOW_THREADS;
4dfaa61e 1820 if (PyErr_Occurred()) return NULL;
ab9bc19b 1821} _resultobj = Py_BuildValue("i",_result);
70551f47
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
9df61a29
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
70551f47 1865#define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 1866static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1867 PyObject * _resultobj;
1868 wxTextEntryDialog * _result;
1869 wxWindow * _arg0;
1870 char * _arg1;
2d091820
RD
1871 char * _arg2 = (char *) "Input Text";
1872 char * _arg3 = (char *) "";
1873 long _arg4 = (long ) wxOK|wxCANCEL|wxCENTRE;
b68dc582 1874 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
2d091820 1875 PyObject * _argo0 = 0;
37f6a977
RD
1876 wxPoint temp;
1877 PyObject * _obj5 = 0;
107e4716 1878 char *_kwnames[] = { "parent","message","caption","defaultValue","style","pos", NULL };
70551f47
RD
1879 char _ptemp[128];
1880
1881 self = self;
37f6a977 1882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|sslO:new_wxTextEntryDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5))
70551f47 1883 return NULL;
2d091820
RD
1884 if (_argo0) {
1885 if (_argo0 == Py_None) { _arg0 = NULL; }
1886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1888 return NULL;
1889 }
1890 }
37f6a977
RD
1891 if (_obj5)
1892{
1893 _arg5 = &temp;
1894 if (! wxPoint_helper(_obj5, &_arg5))
70551f47 1895 return NULL;
37f6a977 1896}
ab9bc19b
RD
1897{
1898 wxPy_BEGIN_ALLOW_THREADS;
1899 _result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5);
1900
1901 wxPy_END_ALLOW_THREADS;
4dfaa61e 1902 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
1910 return _resultobj;
1911}
1912
1913#define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 1914static PyObject *_wrap_wxTextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1915 PyObject * _resultobj;
1916 wxString * _result;
1917 wxTextEntryDialog * _arg0;
2d091820 1918 PyObject * _argo0 = 0;
107e4716 1919 char *_kwnames[] = { "self", NULL };
70551f47
RD
1920
1921 self = self;
107e4716 1922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_GetValue",_kwnames,&_argo0))
70551f47 1923 return NULL;
2d091820
RD
1924 if (_argo0) {
1925 if (_argo0 == Py_None) { _arg0 = NULL; }
1926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
70551f47
RD
1927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1928 return NULL;
1929 }
1930 }
70551f47 1931{
ab9bc19b
RD
1932 wxPy_BEGIN_ALLOW_THREADS;
1933 _result = new wxString (wxTextEntryDialog_GetValue(_arg0));
1934
1935 wxPy_END_ALLOW_THREADS;
4dfaa61e 1936 if (PyErr_Occurred()) return NULL;
ab9bc19b 1937}{
e02c03a4 1938 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1939}
1940{
1941 delete _result;
1942}
1943 return _resultobj;
1944}
1945
1946#define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 1947static PyObject *_wrap_wxTextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1948 PyObject * _resultobj;
1949 wxTextEntryDialog * _arg0;
1950 wxString * _arg1;
2d091820 1951 PyObject * _argo0 = 0;
70551f47 1952 PyObject * _obj1 = 0;
107e4716 1953 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
1954
1955 self = self;
107e4716 1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextEntryDialog_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 1957 return NULL;
2d091820
RD
1958 if (_argo0) {
1959 if (_argo0 == Py_None) { _arg0 = NULL; }
1960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
70551f47
RD
1961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1962 return NULL;
1963 }
1964 }
1965{
2cd2fac8
RD
1966#if PYTHON_API_VERSION >= 1009
1967 char* tmpPtr; int tmpSize;
1968 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1969 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1970 return NULL;
1971 }
1972 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1973 return NULL;
1974 _arg1 = new wxString(tmpPtr, tmpSize);
1975#else
70551f47
RD
1976 if (!PyString_Check(_obj1)) {
1977 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1978 return NULL;
1979 }
2cd2fac8
RD
1980 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1981#endif
70551f47 1982}
ab9bc19b
RD
1983{
1984 wxPy_BEGIN_ALLOW_THREADS;
1985 wxTextEntryDialog_SetValue(_arg0,*_arg1);
1986
1987 wxPy_END_ALLOW_THREADS;
4dfaa61e 1988 if (PyErr_Occurred()) return NULL;
ab9bc19b 1989} Py_INCREF(Py_None);
70551f47
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())
107e4716 1999static PyObject *_wrap_wxTextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2000 PyObject * _resultobj;
2001 int _result;
2002 wxTextEntryDialog * _arg0;
2d091820 2003 PyObject * _argo0 = 0;
107e4716 2004 char *_kwnames[] = { "self", NULL };
70551f47
RD
2005
2006 self = self;
107e4716 2007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_ShowModal",_kwnames,&_argo0))
70551f47 2008 return NULL;
2d091820
RD
2009 if (_argo0) {
2010 if (_argo0 == Py_None) { _arg0 = NULL; }
2011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
70551f47
RD
2012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2013 return NULL;
2014 }
2015 }
ab9bc19b
RD
2016{
2017 wxPy_BEGIN_ALLOW_THREADS;
2018 _result = (int )wxTextEntryDialog_ShowModal(_arg0);
2019
2020 wxPy_END_ALLOW_THREADS;
4dfaa61e 2021 if (PyErr_Occurred()) return NULL;
ab9bc19b 2022} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2023 return _resultobj;
2024}
2025
9df61a29
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
70551f47 2034#define new_wxFontData() (new wxFontData())
107e4716 2035static PyObject *_wrap_new_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2036 PyObject * _resultobj;
2037 wxFontData * _result;
107e4716 2038 char *_kwnames[] = { NULL };
70551f47
RD
2039 char _ptemp[128];
2040
2041 self = self;
107e4716 2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontData",_kwnames))
70551f47 2043 return NULL;
ab9bc19b
RD
2044{
2045 wxPy_BEGIN_ALLOW_THREADS;
2046 _result = (wxFontData *)new_wxFontData();
2047
2048 wxPy_END_ALLOW_THREADS;
4dfaa61e 2049 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
2057 return _resultobj;
2058}
2059
2060#define delete_wxFontData(_swigobj) (delete _swigobj)
107e4716 2061static PyObject *_wrap_delete_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2062 PyObject * _resultobj;
2063 wxFontData * _arg0;
2d091820 2064 PyObject * _argo0 = 0;
107e4716 2065 char *_kwnames[] = { "self", NULL };
70551f47
RD
2066
2067 self = self;
107e4716 2068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontData",_kwnames,&_argo0))
70551f47 2069 return NULL;
2d091820
RD
2070 if (_argo0) {
2071 if (_argo0 == Py_None) { _arg0 = NULL; }
2072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2074 return NULL;
2075 }
2076 }
ab9bc19b
RD
2077{
2078 wxPy_BEGIN_ALLOW_THREADS;
2079 delete_wxFontData(_arg0);
2080
2081 wxPy_END_ALLOW_THREADS;
4dfaa61e 2082 if (PyErr_Occurred()) return NULL;
ab9bc19b 2083} Py_INCREF(Py_None);
70551f47
RD
2084 _resultobj = Py_None;
2085 return _resultobj;
2086}
2087
2088#define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
107e4716 2089static PyObject *_wrap_wxFontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2090 PyObject * _resultobj;
2091 wxFontData * _arg0;
2092 bool _arg1;
2d091820 2093 PyObject * _argo0 = 0;
70551f47 2094 int tempbool1;
107e4716 2095 char *_kwnames[] = { "self","enable", NULL };
70551f47
RD
2096
2097 self = self;
107e4716 2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_EnableEffects",_kwnames,&_argo0,&tempbool1))
70551f47 2099 return NULL;
2d091820
RD
2100 if (_argo0) {
2101 if (_argo0 == Py_None) { _arg0 = NULL; }
2102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
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;
ab9bc19b
RD
2108{
2109 wxPy_BEGIN_ALLOW_THREADS;
2110 wxFontData_EnableEffects(_arg0,_arg1);
2111
2112 wxPy_END_ALLOW_THREADS;
4dfaa61e 2113 if (PyErr_Occurred()) return NULL;
ab9bc19b 2114} Py_INCREF(Py_None);
70551f47
RD
2115 _resultobj = Py_None;
2116 return _resultobj;
2117}
2118
2119#define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
107e4716 2120static PyObject *_wrap_wxFontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2121 PyObject * _resultobj;
2122 bool _result;
2123 wxFontData * _arg0;
2d091820 2124 PyObject * _argo0 = 0;
107e4716 2125 char *_kwnames[] = { "self", NULL };
70551f47
RD
2126
2127 self = self;
107e4716 2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetAllowSymbols",_kwnames,&_argo0))
70551f47 2129 return NULL;
2d091820
RD
2130 if (_argo0) {
2131 if (_argo0 == Py_None) { _arg0 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2134 return NULL;
2135 }
2136 }
ab9bc19b
RD
2137{
2138 wxPy_BEGIN_ALLOW_THREADS;
2139 _result = (bool )wxFontData_GetAllowSymbols(_arg0);
2140
2141 wxPy_END_ALLOW_THREADS;
4dfaa61e 2142 if (PyErr_Occurred()) return NULL;
ab9bc19b 2143} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2144 return _resultobj;
2145}
2146
2147#define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
107e4716 2148static PyObject *_wrap_wxFontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2149 PyObject * _resultobj;
2150 wxColour * _result;
2151 wxFontData * _arg0;
2d091820 2152 PyObject * _argo0 = 0;
107e4716 2153 char *_kwnames[] = { "self", NULL };
70551f47
RD
2154 char _ptemp[128];
2155
2156 self = self;
107e4716 2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetColour",_kwnames,&_argo0))
70551f47 2158 return NULL;
2d091820
RD
2159 if (_argo0) {
2160 if (_argo0 == Py_None) { _arg0 = NULL; }
2161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2163 return NULL;
2164 }
2165 }
ab9bc19b
RD
2166{
2167 wxPy_BEGIN_ALLOW_THREADS;
84a81942 2168 _result = new wxColour (wxFontData_GetColour(_arg0));
ab9bc19b
RD
2169
2170 wxPy_END_ALLOW_THREADS;
4dfaa61e 2171 if (PyErr_Occurred()) return NULL;
84a81942
RD
2172} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2173 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
2174 return _resultobj;
2175}
2176
2177#define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
107e4716 2178static PyObject *_wrap_wxFontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2179 PyObject * _resultobj;
2180 wxFont * _result;
2181 wxFontData * _arg0;
2d091820 2182 PyObject * _argo0 = 0;
107e4716 2183 char *_kwnames[] = { "self", NULL };
70551f47
RD
2184 char _ptemp[128];
2185
2186 self = self;
107e4716 2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetChosenFont",_kwnames,&_argo0))
70551f47 2188 return NULL;
2d091820
RD
2189 if (_argo0) {
2190 if (_argo0 == Py_None) { _arg0 = NULL; }
2191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2193 return NULL;
2194 }
2195 }
ab9bc19b
RD
2196{
2197 wxPy_BEGIN_ALLOW_THREADS;
2198 _result = new wxFont (wxFontData_GetChosenFont(_arg0));
2199
2200 wxPy_END_ALLOW_THREADS;
4dfaa61e 2201 if (PyErr_Occurred()) return NULL;
ab9bc19b 2202} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
70551f47
RD
2203 _resultobj = Py_BuildValue("s",_ptemp);
2204 return _resultobj;
2205}
2206
2207#define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
107e4716 2208static PyObject *_wrap_wxFontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2209 PyObject * _resultobj;
2210 bool _result;
2211 wxFontData * _arg0;
2d091820 2212 PyObject * _argo0 = 0;
107e4716 2213 char *_kwnames[] = { "self", NULL };
70551f47
RD
2214
2215 self = self;
107e4716 2216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetEnableEffects",_kwnames,&_argo0))
70551f47 2217 return NULL;
2d091820
RD
2218 if (_argo0) {
2219 if (_argo0 == Py_None) { _arg0 = NULL; }
2220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2222 return NULL;
2223 }
2224 }
ab9bc19b
RD
2225{
2226 wxPy_BEGIN_ALLOW_THREADS;
2227 _result = (bool )wxFontData_GetEnableEffects(_arg0);
2228
2229 wxPy_END_ALLOW_THREADS;
4dfaa61e 2230 if (PyErr_Occurred()) return NULL;
ab9bc19b 2231} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2232 return _resultobj;
2233}
2234
2235#define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
107e4716 2236static PyObject *_wrap_wxFontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2237 PyObject * _resultobj;
2238 wxFont * _result;
2239 wxFontData * _arg0;
2d091820 2240 PyObject * _argo0 = 0;
107e4716 2241 char *_kwnames[] = { "self", NULL };
70551f47
RD
2242 char _ptemp[128];
2243
2244 self = self;
107e4716 2245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetInitialFont",_kwnames,&_argo0))
70551f47 2246 return NULL;
2d091820
RD
2247 if (_argo0) {
2248 if (_argo0 == Py_None) { _arg0 = NULL; }
2249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2251 return NULL;
2252 }
2253 }
ab9bc19b
RD
2254{
2255 wxPy_BEGIN_ALLOW_THREADS;
2256 _result = new wxFont (wxFontData_GetInitialFont(_arg0));
2257
2258 wxPy_END_ALLOW_THREADS;
4dfaa61e 2259 if (PyErr_Occurred()) return NULL;
ab9bc19b 2260} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
70551f47
RD
2261 _resultobj = Py_BuildValue("s",_ptemp);
2262 return _resultobj;
2263}
2264
2265#define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
107e4716 2266static PyObject *_wrap_wxFontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2267 PyObject * _resultobj;
2268 bool _result;
2269 wxFontData * _arg0;
2d091820 2270 PyObject * _argo0 = 0;
107e4716 2271 char *_kwnames[] = { "self", NULL };
70551f47
RD
2272
2273 self = self;
107e4716 2274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetShowHelp",_kwnames,&_argo0))
70551f47 2275 return NULL;
2d091820
RD
2276 if (_argo0) {
2277 if (_argo0 == Py_None) { _arg0 = NULL; }
2278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2280 return NULL;
2281 }
2282 }
ab9bc19b
RD
2283{
2284 wxPy_BEGIN_ALLOW_THREADS;
2285 _result = (bool )wxFontData_GetShowHelp(_arg0);
2286
2287 wxPy_END_ALLOW_THREADS;
4dfaa61e 2288 if (PyErr_Occurred()) return NULL;
ab9bc19b 2289} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2290 return _resultobj;
2291}
2292
2293#define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
107e4716 2294static PyObject *_wrap_wxFontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2295 PyObject * _resultobj;
2296 wxFontData * _arg0;
2297 bool _arg1;
2d091820 2298 PyObject * _argo0 = 0;
70551f47 2299 int tempbool1;
107e4716 2300 char *_kwnames[] = { "self","allowSymbols", NULL };
70551f47
RD
2301
2302 self = self;
107e4716 2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetAllowSymbols",_kwnames,&_argo0,&tempbool1))
70551f47 2304 return NULL;
2d091820
RD
2305 if (_argo0) {
2306 if (_argo0 == Py_None) { _arg0 = NULL; }
2307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
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;
ab9bc19b
RD
2313{
2314 wxPy_BEGIN_ALLOW_THREADS;
2315 wxFontData_SetAllowSymbols(_arg0,_arg1);
2316
2317 wxPy_END_ALLOW_THREADS;
4dfaa61e 2318 if (PyErr_Occurred()) return NULL;
ab9bc19b 2319} Py_INCREF(Py_None);
70551f47
RD
2320 _resultobj = Py_None;
2321 return _resultobj;
2322}
2323
2324#define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
107e4716 2325static PyObject *_wrap_wxFontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2326 PyObject * _resultobj;
2327 wxFontData * _arg0;
2328 wxFont * _arg1;
2d091820
RD
2329 PyObject * _argo0 = 0;
2330 PyObject * _argo1 = 0;
107e4716 2331 char *_kwnames[] = { "self","font", NULL };
70551f47
RD
2332
2333 self = self;
107e4716 2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetChosenFont",_kwnames,&_argo0,&_argo1))
70551f47 2335 return NULL;
2d091820
RD
2336 if (_argo0) {
2337 if (_argo0 == Py_None) { _arg0 = NULL; }
2338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2340 return NULL;
2341 }
2342 }
2d091820
RD
2343 if (_argo1) {
2344 if (_argo1 == Py_None) { _arg1 = NULL; }
2345 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
70551f47
RD
2346 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2347 return NULL;
2348 }
2349 }
ab9bc19b
RD
2350{
2351 wxPy_BEGIN_ALLOW_THREADS;
2352 wxFontData_SetChosenFont(_arg0,*_arg1);
2353
2354 wxPy_END_ALLOW_THREADS;
4dfaa61e 2355 if (PyErr_Occurred()) return NULL;
ab9bc19b 2356} Py_INCREF(Py_None);
70551f47
RD
2357 _resultobj = Py_None;
2358 return _resultobj;
2359}
2360
2361#define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
107e4716 2362static PyObject *_wrap_wxFontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2363 PyObject * _resultobj;
2364 wxFontData * _arg0;
2365 wxColour * _arg1;
2d091820 2366 PyObject * _argo0 = 0;
f6bcfd97
BP
2367 wxColour temp;
2368 PyObject * _obj1 = 0;
107e4716 2369 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
2370
2371 self = self;
f6bcfd97 2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetColour",_kwnames,&_argo0,&_obj1))
70551f47 2373 return NULL;
2d091820
RD
2374 if (_argo0) {
2375 if (_argo0 == Py_None) { _arg0 = NULL; }
2376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
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))
70551f47 2384 return NULL;
f6bcfd97 2385}
ab9bc19b
RD
2386{
2387 wxPy_BEGIN_ALLOW_THREADS;
2388 wxFontData_SetColour(_arg0,*_arg1);
2389
2390 wxPy_END_ALLOW_THREADS;
4dfaa61e 2391 if (PyErr_Occurred()) return NULL;
ab9bc19b 2392} Py_INCREF(Py_None);
70551f47
RD
2393 _resultobj = Py_None;
2394 return _resultobj;
2395}
2396
2397#define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
107e4716 2398static PyObject *_wrap_wxFontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2399 PyObject * _resultobj;
2400 wxFontData * _arg0;
2401 wxFont * _arg1;
2d091820
RD
2402 PyObject * _argo0 = 0;
2403 PyObject * _argo1 = 0;
107e4716 2404 char *_kwnames[] = { "self","font", NULL };
70551f47
RD
2405
2406 self = self;
107e4716 2407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetInitialFont",_kwnames,&_argo0,&_argo1))
70551f47 2408 return NULL;
2d091820
RD
2409 if (_argo0) {
2410 if (_argo0 == Py_None) { _arg0 = NULL; }
2411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2413 return NULL;
2414 }
2415 }
2d091820
RD
2416 if (_argo1) {
2417 if (_argo1 == Py_None) { _arg1 = NULL; }
2418 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
70551f47
RD
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2420 return NULL;
2421 }
2422 }
ab9bc19b
RD
2423{
2424 wxPy_BEGIN_ALLOW_THREADS;
2425 wxFontData_SetInitialFont(_arg0,*_arg1);
2426
2427 wxPy_END_ALLOW_THREADS;
4dfaa61e 2428 if (PyErr_Occurred()) return NULL;
ab9bc19b 2429} Py_INCREF(Py_None);
70551f47
RD
2430 _resultobj = Py_None;
2431 return _resultobj;
2432}
2433
2434#define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 2435static PyObject *_wrap_wxFontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2436 PyObject * _resultobj;
2437 wxFontData * _arg0;
2438 int _arg1;
2439 int _arg2;
2d091820 2440 PyObject * _argo0 = 0;
107e4716 2441 char *_kwnames[] = { "self","min","max", NULL };
70551f47
RD
2442
2443 self = self;
107e4716 2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxFontData_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 2445 return NULL;
2d091820
RD
2446 if (_argo0) {
2447 if (_argo0 == Py_None) { _arg0 = NULL; }
2448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2450 return NULL;
2451 }
2452 }
ab9bc19b
RD
2453{
2454 wxPy_BEGIN_ALLOW_THREADS;
2455 wxFontData_SetRange(_arg0,_arg1,_arg2);
2456
2457 wxPy_END_ALLOW_THREADS;
4dfaa61e 2458 if (PyErr_Occurred()) return NULL;
ab9bc19b 2459} Py_INCREF(Py_None);
70551f47
RD
2460 _resultobj = Py_None;
2461 return _resultobj;
2462}
2463
2464#define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
107e4716 2465static PyObject *_wrap_wxFontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2466 PyObject * _resultobj;
2467 wxFontData * _arg0;
2468 bool _arg1;
2d091820 2469 PyObject * _argo0 = 0;
70551f47 2470 int tempbool1;
107e4716 2471 char *_kwnames[] = { "self","showHelp", NULL };
70551f47
RD
2472
2473 self = self;
107e4716 2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetShowHelp",_kwnames,&_argo0,&tempbool1))
70551f47 2475 return NULL;
2d091820
RD
2476 if (_argo0) {
2477 if (_argo0 == Py_None) { _arg0 = NULL; }
2478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
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;
ab9bc19b
RD
2484{
2485 wxPy_BEGIN_ALLOW_THREADS;
2486 wxFontData_SetShowHelp(_arg0,_arg1);
2487
2488 wxPy_END_ALLOW_THREADS;
4dfaa61e 2489 if (PyErr_Occurred()) return NULL;
ab9bc19b 2490} Py_INCREF(Py_None);
70551f47
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
9df61a29
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
70551f47 2535#define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
107e4716 2536static PyObject *_wrap_new_wxFontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2537 PyObject * _resultobj;
2538 wxFontDialog * _result;
2539 wxWindow * _arg0;
e02c03a4 2540 wxFontData * _arg1;
2d091820
RD
2541 PyObject * _argo0 = 0;
2542 PyObject * _argo1 = 0;
107e4716 2543 char *_kwnames[] = { "parent","data", NULL };
70551f47
RD
2544 char _ptemp[128];
2545
2546 self = self;
e02c03a4 2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxFontDialog",_kwnames,&_argo0,&_argo1))
70551f47 2548 return NULL;
2d091820
RD
2549 if (_argo0) {
2550 if (_argo0 == Py_None) { _arg0 = NULL; }
2551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
2552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2553 return NULL;
2554 }
2555 }
2d091820
RD
2556 if (_argo1) {
2557 if (_argo1 == Py_None) { _arg1 = NULL; }
2558 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFontData_p")) {
70551f47
RD
2559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2560 return NULL;
2561 }
2562 }
ab9bc19b
RD
2563{
2564 wxPy_BEGIN_ALLOW_THREADS;
2565 _result = (wxFontDialog *)new_wxFontDialog(_arg0,_arg1);
2566
2567 wxPy_END_ALLOW_THREADS;
4dfaa61e 2568 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
2576 return _resultobj;
2577}
2578
2579#define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
107e4716 2580static PyObject *_wrap_wxFontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2581 PyObject * _resultobj;
2582 wxFontData * _result;
2583 wxFontDialog * _arg0;
2d091820 2584 PyObject * _argo0 = 0;
107e4716 2585 char *_kwnames[] = { "self", NULL };
70551f47
RD
2586 char _ptemp[128];
2587
2588 self = self;
107e4716 2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_GetFontData",_kwnames,&_argo0))
70551f47 2590 return NULL;
2d091820
RD
2591 if (_argo0) {
2592 if (_argo0 == Py_None) { _arg0 = NULL; }
2593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
70551f47
RD
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2595 return NULL;
2596 }
2597 }
ab9bc19b
RD
2598{
2599 wxPy_BEGIN_ALLOW_THREADS;
2600 wxFontData & _result_ref = wxFontDialog_GetFontData(_arg0);
70551f47 2601 _result = (wxFontData *) &_result_ref;
ab9bc19b
RD
2602
2603 wxPy_END_ALLOW_THREADS;
4dfaa61e 2604 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
2612 return _resultobj;
2613}
2614
2615#define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 2616static PyObject *_wrap_wxFontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2617 PyObject * _resultobj;
2618 int _result;
2619 wxFontDialog * _arg0;
2d091820 2620 PyObject * _argo0 = 0;
107e4716 2621 char *_kwnames[] = { "self", NULL };
70551f47
RD
2622
2623 self = self;
107e4716 2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_ShowModal",_kwnames,&_argo0))
70551f47 2625 return NULL;
2d091820
RD
2626 if (_argo0) {
2627 if (_argo0 == Py_None) { _arg0 = NULL; }
2628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
70551f47
RD
2629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2630 return NULL;
2631 }
2632 }
ab9bc19b
RD
2633{
2634 wxPy_BEGIN_ALLOW_THREADS;
2635 _result = (int )wxFontDialog_ShowModal(_arg0);
2636
2637 wxPy_END_ALLOW_THREADS;
4dfaa61e 2638 if (PyErr_Occurred()) return NULL;
ab9bc19b 2639} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2640 return _resultobj;
2641}
2642
d24a34bb
RD
2643static void *SwigwxMessageDialogTowxDialog(void *ptr) {
2644 wxMessageDialog *src;
faf3cb35 2645 wxDialog *dest;
d24a34bb 2646 src = (wxMessageDialog *) ptr;
faf3cb35
RD
2647 dest = (wxDialog *) src;
2648 return (void *) dest;
2649}
2650
d24a34bb
RD
2651static void *SwigwxMessageDialogTowxPanel(void *ptr) {
2652 wxMessageDialog *src;
faf3cb35 2653 wxPanel *dest;
d24a34bb 2654 src = (wxMessageDialog *) ptr;
faf3cb35
RD
2655 dest = (wxPanel *) src;
2656 return (void *) dest;
2657}
2658
d24a34bb
RD
2659static void *SwigwxMessageDialogTowxWindow(void *ptr) {
2660 wxMessageDialog *src;
faf3cb35 2661 wxWindow *dest;
d24a34bb 2662 src = (wxMessageDialog *) ptr;
faf3cb35
RD
2663 dest = (wxWindow *) src;
2664 return (void *) dest;
2665}
2666
d24a34bb
RD
2667static void *SwigwxMessageDialogTowxEvtHandler(void *ptr) {
2668 wxMessageDialog *src;
faf3cb35 2669 wxEvtHandler *dest;
d24a34bb 2670 src = (wxMessageDialog *) ptr;
faf3cb35
RD
2671 dest = (wxEvtHandler *) src;
2672 return (void *) dest;
2673}
2674
9df61a29
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
d24a34bb 2683#define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 2684static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 2685 PyObject * _resultobj;
d24a34bb 2686 wxMessageDialog * _result;
faf3cb35 2687 wxWindow * _arg0;
d24a34bb 2688 char * _arg1;
2d091820
RD
2689 char * _arg2 = (char *) "Message box";
2690 long _arg3 = (long ) wxOK|wxCANCEL|wxCENTRE;
b68dc582 2691 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2d091820 2692 PyObject * _argo0 = 0;
37f6a977
RD
2693 wxPoint temp;
2694 PyObject * _obj4 = 0;
107e4716 2695 char *_kwnames[] = { "parent","message","caption","style","pos", NULL };
faf3cb35
RD
2696 char _ptemp[128];
2697
2698 self = self;
37f6a977 2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|slO:new_wxMessageDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
faf3cb35 2700 return NULL;
2d091820
RD
2701 if (_argo0) {
2702 if (_argo0 == Py_None) { _arg0 = NULL; }
2703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d24a34bb 2704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
faf3cb35
RD
2705 return NULL;
2706 }
2707 }
37f6a977
RD
2708 if (_obj4)
2709{
2710 _arg4 = &temp;
2711 if (! wxPoint_helper(_obj4, &_arg4))
faf3cb35 2712 return NULL;
37f6a977 2713}
ab9bc19b
RD
2714{
2715 wxPy_BEGIN_ALLOW_THREADS;
d24a34bb 2716 _result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
ab9bc19b
RD
2717
2718 wxPy_END_ALLOW_THREADS;
4dfaa61e 2719 if (PyErr_Occurred()) return NULL;
2d091820
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 }
faf3cb35
RD
2727 return _resultobj;
2728}
2729
d24a34bb 2730#define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 2731static PyObject *_wrap_wxMessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 2732 PyObject * _resultobj;
d24a34bb
RD
2733 int _result;
2734 wxMessageDialog * _arg0;
2d091820 2735 PyObject * _argo0 = 0;
107e4716 2736 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
2737
2738 self = self;
107e4716 2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMessageDialog_ShowModal",_kwnames,&_argo0))
faf3cb35 2740 return NULL;
2d091820
RD
2741 if (_argo0) {
2742 if (_argo0 == Py_None) { _arg0 = NULL; }
2743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMessageDialog_p")) {
d24a34bb 2744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
faf3cb35
RD
2745 return NULL;
2746 }
2747 }
ab9bc19b
RD
2748{
2749 wxPy_BEGIN_ALLOW_THREADS;
d24a34bb 2750 _result = (int )wxMessageDialog_ShowModal(_arg0);
ab9bc19b
RD
2751
2752 wxPy_END_ALLOW_THREADS;
4dfaa61e 2753 if (PyErr_Occurred()) return NULL;
d24a34bb 2754} _resultobj = Py_BuildValue("i",_result);
faf3cb35
RD
2755 return _resultobj;
2756}
2757
d24a34bb
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
9df61a29
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
d24a34bb 2790#define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 2791static PyObject *_wrap_new_wxProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 2792 PyObject * _resultobj;
d24a34bb
RD
2793 wxProgressDialog * _result;
2794 wxString * _arg0;
2795 wxString * _arg1;
2d091820
RD
2796 int _arg2 = (int ) 100;
2797 wxWindow * _arg3 = (wxWindow *) NULL;
2798 int _arg4 = (int ) wxPD_AUTO_HIDE|wxPD_APP_MODAL;
d24a34bb
RD
2799 PyObject * _obj0 = 0;
2800 PyObject * _obj1 = 0;
2d091820 2801 PyObject * _argo3 = 0;
107e4716 2802 char *_kwnames[] = { "title","message","maximum","parent","style", NULL };
faf3cb35
RD
2803 char _ptemp[128];
2804
2805 self = self;
107e4716 2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOi:new_wxProgressDialog",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4))
faf3cb35 2807 return NULL;
d24a34bb 2808{
2cd2fac8
RD
2809#if PYTHON_API_VERSION >= 1009
2810 char* tmpPtr; int tmpSize;
2811 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 2812 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2813 return NULL;
2814 }
2815 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2816 return NULL;
2817 _arg0 = new wxString(tmpPtr, tmpSize);
2818#else
d24a34bb
RD
2819 if (!PyString_Check(_obj0)) {
2820 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
faf3cb35 2821 return NULL;
faf3cb35 2822 }
2cd2fac8
RD
2823 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2824#endif
faf3cb35 2825}
d24a34bb 2826{
2cd2fac8
RD
2827#if PYTHON_API_VERSION >= 1009
2828 char* tmpPtr; int tmpSize;
2829 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2830 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2831 return NULL;
2832 }
2833 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2834 return NULL;
2835 _arg1 = new wxString(tmpPtr, tmpSize);
2836#else
d24a34bb
RD
2837 if (!PyString_Check(_obj1)) {
2838 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
faf3cb35 2839 return NULL;
d24a34bb 2840 }
2cd2fac8
RD
2841 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2842#endif
d24a34bb 2843}
2d091820
RD
2844 if (_argo3) {
2845 if (_argo3 == Py_None) { _arg3 = NULL; }
2846 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
d24a34bb 2847 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
faf3cb35
RD
2848 return NULL;
2849 }
2850 }
ab9bc19b
RD
2851{
2852 wxPy_BEGIN_ALLOW_THREADS;
d24a34bb 2853 _result = (wxProgressDialog *)new_wxProgressDialog(*_arg0,*_arg1,_arg2,_arg3,_arg4);
ab9bc19b
RD
2854
2855 wxPy_END_ALLOW_THREADS;
4dfaa61e 2856 if (PyErr_Occurred()) return NULL;
2d091820
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 }
d24a34bb
RD
2864{
2865 if (_obj0)
2866 delete _arg0;
70551f47 2867}
d24a34bb
RD
2868{
2869 if (_obj1)
2870 delete _arg1;
70551f47 2871}
d24a34bb 2872 return _resultobj;
70551f47
RD
2873}
2874
d24a34bb 2875#define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
107e4716 2876static PyObject *_wrap_wxProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2877 PyObject * _resultobj;
d24a34bb
RD
2878 bool _result;
2879 wxProgressDialog * _arg0;
2d091820
RD
2880 int _arg1 = (int ) -1;
2881 char * _arg2 = (char *) NULL;
2882 PyObject * _argo0 = 0;
107e4716 2883 char *_kwnames[] = { "self","value","newmsg", NULL };
70551f47
RD
2884
2885 self = self;
107e4716 2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|is:wxProgressDialog_Update",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 2887 return NULL;
2d091820
RD
2888 if (_argo0) {
2889 if (_argo0 == Py_None) { _arg0 = NULL; }
2890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
d24a34bb 2891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
70551f47
RD
2892 return NULL;
2893 }
2894 }
ab9bc19b
RD
2895{
2896 wxPy_BEGIN_ALLOW_THREADS;
d24a34bb 2897 _result = (bool )wxProgressDialog_Update(_arg0,_arg1,_arg2);
ab9bc19b
RD
2898
2899 wxPy_END_ALLOW_THREADS;
4dfaa61e 2900 if (PyErr_Occurred()) return NULL;
d24a34bb 2901} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2902 return _resultobj;
2903}
2904
d24a34bb 2905#define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
107e4716 2906static PyObject *_wrap_wxProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2907 PyObject * _resultobj;
d24a34bb 2908 wxProgressDialog * _arg0;
2d091820 2909 PyObject * _argo0 = 0;
107e4716 2910 char *_kwnames[] = { "self", NULL };
70551f47
RD
2911
2912 self = self;
107e4716 2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProgressDialog_Resume",_kwnames,&_argo0))
70551f47 2914 return NULL;
2d091820
RD
2915 if (_argo0) {
2916 if (_argo0 == Py_None) { _arg0 = NULL; }
2917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
d24a34bb 2918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
70551f47
RD
2919 return NULL;
2920 }
2921 }
ab9bc19b
RD
2922{
2923 wxPy_BEGIN_ALLOW_THREADS;
d24a34bb 2924 wxProgressDialog_Resume(_arg0);
ab9bc19b
RD
2925
2926 wxPy_END_ALLOW_THREADS;
4dfaa61e 2927 if (PyErr_Occurred()) return NULL;
d24a34bb
RD
2928} Py_INCREF(Py_None);
2929 _resultobj = Py_None;
70551f47
RD
2930 return _resultobj;
2931}
2932
2933static PyMethodDef cmndlgscMethods[] = {
107e4716
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 },
107e4716
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 },
70551f47
RD
3002 { NULL, NULL }
3003};
2d091820
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[] = {
2d091820 3011 { "_signed_long","_long",0},
4120ef2b 3012 { "_wxPrintQuality","_wxCoord",0},
2d091820
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},
2d091820
RD
3021 { "_class_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
3022 { "_class_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
3023 { "_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
3024 { "_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
3025 { "_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
3026 { "_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
3027 { "_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
3028 { "_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
3029 { "_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
3030 { "_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
3031 { "_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
3032 { "_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
3033 { "_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
3034 { "_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
3035 { "_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
3036 { "_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
2d091820 3037 { "_byte","_unsigned_char",0},
2d091820
RD
3038 { "_long","_unsigned_long",0},
3039 { "_long","_signed_long",0},
9df61a29
RD
3040 { "_class_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject},
3041 { "_class_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject},
3042 { "_class_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject},
3043 { "_class_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject},
3044 { "_class_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject},
3045 { "_class_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject},
3046 { "_class_wxObject","_class_wxFontData",SwigwxFontDataTowxObject},
3047 { "_class_wxObject","_wxFontData",SwigwxFontDataTowxObject},
3048 { "_class_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
3049 { "_class_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
3050 { "_class_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
3051 { "_class_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
3052 { "_class_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject},
3053 { "_class_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject},
3054 { "_class_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject},
3055 { "_class_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject},
3056 { "_class_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject},
3057 { "_class_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject},
3058 { "_class_wxObject","_class_wxColourData",SwigwxColourDataTowxObject},
3059 { "_class_wxObject","_wxColourData",SwigwxColourDataTowxObject},
4120ef2b 3060 { "_size_t","_wxCoord",0},
2d091820 3061 { "_size_t","_wxPrintQuality",0},
c368d904 3062 { "_size_t","_time_t",0},
2d091820
RD
3063 { "_size_t","_unsigned_int",0},
3064 { "_size_t","_int",0},
3065 { "_size_t","_wxWindowID",0},
3066 { "_size_t","_uint",0},
2d091820
RD
3067 { "_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel},
3068 { "_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel},
3069 { "_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel},
3070 { "_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel},
3071 { "_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel},
3072 { "_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel},
3073 { "_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel},
3074 { "_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel},
3075 { "_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel},
3076 { "_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel},
3077 { "_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel},
3078 { "_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel},
3079 { "_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel},
3080 { "_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel},
2d091820
RD
3081 { "_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog},
3082 { "_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog},
3083 { "_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog},
3084 { "_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog},
3085 { "_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
3086 { "_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
3087 { "_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
3088 { "_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
3089 { "_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog},
3090 { "_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog},
3091 { "_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog},
3092 { "_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog},
3093 { "_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog},
3094 { "_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog},
4120ef2b 3095 { "_uint","_wxCoord",0},
2d091820 3096 { "_uint","_wxPrintQuality",0},
c368d904 3097 { "_uint","_time_t",0},
2d091820
RD
3098 { "_uint","_size_t",0},
3099 { "_uint","_unsigned_int",0},
3100 { "_uint","_int",0},
3101 { "_uint","_wxWindowID",0},
f6bcfd97 3102 { "_wxChar","_char",0},
f6bcfd97 3103 { "_char","_wxChar",0},
4120ef2b 3104 { "_EBool","_wxCoord",0},
2d091820
RD
3105 { "_EBool","_wxPrintQuality",0},
3106 { "_EBool","_signed_int",0},
3107 { "_EBool","_int",0},
3108 { "_EBool","_wxWindowID",0},
2d091820 3109 { "_unsigned_long","_long",0},
2d091820
RD
3110 { "_class_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel},
3111 { "_class_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel},
3112 { "_class_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel},
3113 { "_class_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel},
3114 { "_class_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel},
3115 { "_class_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel},
3116 { "_class_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel},
3117 { "_class_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel},
3118 { "_class_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel},
3119 { "_class_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel},
3120 { "_class_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel},
3121 { "_class_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel},
3122 { "_class_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel},
3123 { "_class_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel},
4120ef2b 3124 { "_signed_int","_wxCoord",0},
2d091820
RD
3125 { "_signed_int","_wxPrintQuality",0},
3126 { "_signed_int","_EBool",0},
3127 { "_signed_int","_wxWindowID",0},
3128 { "_signed_int","_int",0},
2d091820
RD
3129 { "_WXTYPE","_short",0},
3130 { "_WXTYPE","_signed_short",0},
3131 { "_WXTYPE","_unsigned_short",0},
2d091820
RD
3132 { "_unsigned_short","_WXTYPE",0},
3133 { "_unsigned_short","_short",0},
3134 { "_class_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow},
3135 { "_class_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow},
3136 { "_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow},
3137 { "_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow},
3138 { "_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow},
3139 { "_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow},
3140 { "_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
3141 { "_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
3142 { "_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
3143 { "_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
3144 { "_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow},
3145 { "_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow},
3146 { "_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow},
3147 { "_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow},
3148 { "_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow},
3149 { "_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow},
9df61a29
RD
3150 { "_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject},
3151 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject},
3152 { "_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject},
3153 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject},
3154 { "_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject},
3155 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject},
3156 { "_wxObject","_class_wxFontData",SwigwxFontDataTowxObject},
3157 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject},
3158 { "_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
3159 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
3160 { "_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
3161 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
3162 { "_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject},
3163 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject},
3164 { "_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject},
3165 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject},
3166 { "_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject},
3167 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject},
3168 { "_wxObject","_class_wxColourData",SwigwxColourDataTowxObject},
3169 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject},
2d091820
RD
3170 { "_signed_short","_WXTYPE",0},
3171 { "_signed_short","_short",0},
2d091820 3172 { "_unsigned_char","_byte",0},
4120ef2b 3173 { "_unsigned_int","_wxCoord",0},
2d091820 3174 { "_unsigned_int","_wxPrintQuality",0},
c368d904 3175 { "_unsigned_int","_time_t",0},
2d091820
RD
3176 { "_unsigned_int","_size_t",0},
3177 { "_unsigned_int","_uint",0},
3178 { "_unsigned_int","_wxWindowID",0},
3179 { "_unsigned_int","_int",0},
2d091820
RD
3180 { "_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog},
3181 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog},
3182 { "_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog},
3183 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog},
3184 { "_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
3185 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
3186 { "_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
3187 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
3188 { "_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog},
3189 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog},
3190 { "_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog},
3191 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog},
3192 { "_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog},
3193 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog},
2d091820
RD
3194 { "_short","_WXTYPE",0},
3195 { "_short","_unsigned_short",0},
3196 { "_short","_signed_short",0},
2d091820
RD
3197 { "_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame},
3198 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame},
4120ef2b 3199 { "_wxWindowID","_wxCoord",0},
2d091820 3200 { "_wxWindowID","_wxPrintQuality",0},
c368d904 3201 { "_wxWindowID","_time_t",0},
2d091820
RD
3202 { "_wxWindowID","_size_t",0},
3203 { "_wxWindowID","_EBool",0},
3204 { "_wxWindowID","_uint",0},
3205 { "_wxWindowID","_int",0},
3206 { "_wxWindowID","_signed_int",0},
3207 { "_wxWindowID","_unsigned_int",0},
4120ef2b 3208 { "_int","_wxCoord",0},
2d091820 3209 { "_int","_wxPrintQuality",0},
c368d904 3210 { "_int","_time_t",0},
2d091820
RD
3211 { "_int","_size_t",0},
3212 { "_int","_EBool",0},
3213 { "_int","_uint",0},
3214 { "_int","_wxWindowID",0},
3215 { "_int","_unsigned_int",0},
3216 { "_int","_signed_int",0},
c368d904
RD
3217 { "_time_t","_wxCoord",0},
3218 { "_time_t","_wxPrintQuality",0},
3219 { "_time_t","_unsigned_int",0},
3220 { "_time_t","_int",0},
3221 { "_time_t","_wxWindowID",0},
3222 { "_time_t","_uint",0},
3223 { "_time_t","_size_t",0},
4120ef2b
RD
3224 { "_wxCoord","_int",0},
3225 { "_wxCoord","_signed_int",0},
3226 { "_wxCoord","_unsigned_int",0},
3227 { "_wxCoord","_wxWindowID",0},
3228 { "_wxCoord","_uint",0},
3229 { "_wxCoord","_EBool",0},
3230 { "_wxCoord","_size_t",0},
c368d904 3231 { "_wxCoord","_time_t",0},
4120ef2b 3232 { "_wxCoord","_wxPrintQuality",0},
2d091820
RD
3233 { "_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
3234 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
3235 { "_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
3236 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
3237 { "_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
3238 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
3239 { "_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
3240 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
3241 { "_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
3242 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
3243 { "_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
3244 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
3245 { "_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
3246 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
3247 { "_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
3248 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
2d091820
RD
3249 { "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow},
3250 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow},
3251 { "_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow},
3252 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow},
3253 { "_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow},
3254 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow},
3255 { "_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
3256 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
3257 { "_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
3258 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
3259 { "_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow},
3260 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow},
3261 { "_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow},
3262 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow},
3263 { "_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow},
3264 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow},
2d091820
RD
3265 { "_class_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame},
3266 { "_class_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame},
2d091820
RD
3267{0,0,0}};
3268
70551f47
RD
3269static PyObject *SWIG_globals;
3270#ifdef __cplusplus
3271extern "C"
3272#endif
2d091820 3273SWIGEXPORT(void) initcmndlgsc() {
70551f47
RD
3274 PyObject *m, *d;
3275 SWIG_globals = SWIG_newvarlink();
3276 m = Py_InitModule("cmndlgsc", cmndlgscMethods);
3277 d = PyModule_GetDict(m);
2d091820
RD
3278{
3279 int i;
3280 for (i = 0; _swig_mapping[i].n1; i++)
3281 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3282}
70551f47 3283}