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