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