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