]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/cmndlgs.cpp
SWIGged files updates for wxMac
[wxWidgets.git] / wxPython / src / msw / cmndlgs.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/msw/cmndlgs.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
8ab979d7
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
c368d904 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
185d7c3e 44
8ab979d7
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
8ab979d7
RD
54#define SWIG_init initcmndlgsc
55
56#define SWIG_name "cmndlgsc"
57
58#include "helpers.h"
59#include <wx/colordlg.h>
60#include <wx/dirdlg.h>
61#include <wx/fontdlg.h>
bb0054cd 62#include <wx/progdlg.h>
0122b7e3 63#include <wx/fdrepdlg.h>
8ab979d7 64
8ab979d7
RD
65
66static PyObject* t_output_helper(PyObject* target, PyObject* o) {
67 PyObject* o2;
68 PyObject* o3;
69
e0672e2f 70 if (!target) {
8ab979d7 71 target = o;
e0672e2f 72 } else if (target == Py_None) {
8ab979d7
RD
73 Py_DECREF(Py_None);
74 target = o;
e0672e2f 75 } else {
8ab979d7
RD
76 if (!PyTuple_Check(target)) {
77 o2 = target;
78 target = PyTuple_New(1);
79 PyTuple_SetItem(target, 0, o2);
80 }
e0672e2f
RD
81 o3 = PyTuple_New(1);
82 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
83
84 o2 = target;
e0672e2f
RD
85 target = PySequence_Concat(o2, o3);
86 Py_DECREF(o2);
8ab979d7
RD
87 Py_DECREF(o3);
88 }
89 return target;
90}
91
794c5cb1
RD
92#if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg = "String or Unicode type required";
94#else
0122b7e3 95 static char* wxStringErrorMsg = "String type required";
794c5cb1 96#endif
1d99702e
RD
97#ifdef __cplusplus
98extern "C" {
99#endif
9416aa89
RD
100static void *SwigwxColourDataTowxObject(void *ptr) {
101 wxColourData *src;
102 wxObject *dest;
103 src = (wxColourData *) ptr;
104 dest = (wxObject *) src;
105 return (void *) dest;
106}
107
8ab979d7 108#define new_wxColourData() (new wxColourData())
efc5f224 109static PyObject *_wrap_new_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
110 PyObject * _resultobj;
111 wxColourData * _result;
efc5f224 112 char *_kwnames[] = { NULL };
8ab979d7
RD
113 char _ptemp[128];
114
115 self = self;
efc5f224 116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxColourData",_kwnames))
8ab979d7 117 return NULL;
cf694132
RD
118{
119 wxPy_BEGIN_ALLOW_THREADS;
120 _result = (wxColourData *)new_wxColourData();
121
122 wxPy_END_ALLOW_THREADS;
493f1553 123 if (PyErr_Occurred()) return NULL;
1d99702e
RD
124} if (_result) {
125 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p");
126 _resultobj = Py_BuildValue("s",_ptemp);
127 } else {
128 Py_INCREF(Py_None);
129 _resultobj = Py_None;
130 }
8ab979d7
RD
131 return _resultobj;
132}
133
134#define delete_wxColourData(_swigobj) (delete _swigobj)
efc5f224 135static PyObject *_wrap_delete_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
136 PyObject * _resultobj;
137 wxColourData * _arg0;
1d99702e 138 PyObject * _argo0 = 0;
efc5f224 139 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
140
141 self = self;
efc5f224 142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColourData",_kwnames,&_argo0))
8ab979d7 143 return NULL;
1d99702e
RD
144 if (_argo0) {
145 if (_argo0 == Py_None) { _arg0 = NULL; }
146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
148 return NULL;
149 }
150 }
cf694132
RD
151{
152 wxPy_BEGIN_ALLOW_THREADS;
153 delete_wxColourData(_arg0);
154
155 wxPy_END_ALLOW_THREADS;
493f1553 156 if (PyErr_Occurred()) return NULL;
cf694132 157} Py_INCREF(Py_None);
8ab979d7
RD
158 _resultobj = Py_None;
159 return _resultobj;
160}
161
162#define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
efc5f224 163static PyObject *_wrap_wxColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
164 PyObject * _resultobj;
165 bool _result;
166 wxColourData * _arg0;
1d99702e 167 PyObject * _argo0 = 0;
efc5f224 168 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
169
170 self = self;
efc5f224 171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetChooseFull",_kwnames,&_argo0))
8ab979d7 172 return NULL;
1d99702e
RD
173 if (_argo0) {
174 if (_argo0 == Py_None) { _arg0 = NULL; }
175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
177 return NULL;
178 }
179 }
cf694132
RD
180{
181 wxPy_BEGIN_ALLOW_THREADS;
182 _result = (bool )wxColourData_GetChooseFull(_arg0);
183
184 wxPy_END_ALLOW_THREADS;
493f1553 185 if (PyErr_Occurred()) return NULL;
cf694132 186} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
187 return _resultobj;
188}
189
190#define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
efc5f224 191static PyObject *_wrap_wxColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
192 PyObject * _resultobj;
193 wxColour * _result;
194 wxColourData * _arg0;
1d99702e 195 PyObject * _argo0 = 0;
efc5f224 196 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
197 char _ptemp[128];
198
199 self = self;
efc5f224 200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetColour",_kwnames,&_argo0))
8ab979d7 201 return NULL;
1d99702e
RD
202 if (_argo0) {
203 if (_argo0 == Py_None) { _arg0 = NULL; }
204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
206 return NULL;
207 }
208 }
cf694132
RD
209{
210 wxPy_BEGIN_ALLOW_THREADS;
25832b3f 211 _result = new wxColour (wxColourData_GetColour(_arg0));
cf694132
RD
212
213 wxPy_END_ALLOW_THREADS;
493f1553 214 if (PyErr_Occurred()) return NULL;
25832b3f
RD
215} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
216 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
217 return _resultobj;
218}
219
220#define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
efc5f224 221static PyObject *_wrap_wxColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
222 PyObject * _resultobj;
223 wxColour * _result;
224 wxColourData * _arg0;
225 int _arg1;
1d99702e 226 PyObject * _argo0 = 0;
efc5f224 227 char *_kwnames[] = { "self","i", NULL };
8ab979d7
RD
228 char _ptemp[128];
229
230 self = self;
efc5f224 231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_GetCustomColour",_kwnames,&_argo0,&_arg1))
8ab979d7 232 return NULL;
1d99702e
RD
233 if (_argo0) {
234 if (_argo0 == Py_None) { _arg0 = NULL; }
235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
237 return NULL;
238 }
239 }
cf694132
RD
240{
241 wxPy_BEGIN_ALLOW_THREADS;
242 _result = new wxColour (wxColourData_GetCustomColour(_arg0,_arg1));
243
244 wxPy_END_ALLOW_THREADS;
493f1553 245 if (PyErr_Occurred()) return NULL;
cf694132 246} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
247 _resultobj = Py_BuildValue("s",_ptemp);
248 return _resultobj;
249}
250
251#define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
efc5f224 252static PyObject *_wrap_wxColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
253 PyObject * _resultobj;
254 wxColourData * _arg0;
255 int _arg1;
1d99702e 256 PyObject * _argo0 = 0;
efc5f224 257 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
258
259 self = self;
efc5f224 260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_SetChooseFull",_kwnames,&_argo0,&_arg1))
8ab979d7 261 return NULL;
1d99702e
RD
262 if (_argo0) {
263 if (_argo0 == Py_None) { _arg0 = NULL; }
264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
266 return NULL;
267 }
268 }
cf694132
RD
269{
270 wxPy_BEGIN_ALLOW_THREADS;
271 wxColourData_SetChooseFull(_arg0,_arg1);
272
273 wxPy_END_ALLOW_THREADS;
493f1553 274 if (PyErr_Occurred()) return NULL;
cf694132 275} Py_INCREF(Py_None);
8ab979d7
RD
276 _resultobj = Py_None;
277 return _resultobj;
278}
279
280#define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
efc5f224 281static PyObject *_wrap_wxColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
282 PyObject * _resultobj;
283 wxColourData * _arg0;
284 wxColour * _arg1;
1d99702e 285 PyObject * _argo0 = 0;
f6bcfd97
BP
286 wxColour temp;
287 PyObject * _obj1 = 0;
efc5f224 288 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
289
290 self = self;
f6bcfd97 291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourData_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 292 return NULL;
1d99702e
RD
293 if (_argo0) {
294 if (_argo0 == Py_None) { _arg0 = NULL; }
295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
297 return NULL;
298 }
299 }
f6bcfd97
BP
300{
301 _arg1 = &temp;
302 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 303 return NULL;
f6bcfd97 304}
cf694132
RD
305{
306 wxPy_BEGIN_ALLOW_THREADS;
307 wxColourData_SetColour(_arg0,*_arg1);
308
309 wxPy_END_ALLOW_THREADS;
493f1553 310 if (PyErr_Occurred()) return NULL;
cf694132 311} Py_INCREF(Py_None);
8ab979d7
RD
312 _resultobj = Py_None;
313 return _resultobj;
314}
315
316#define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
efc5f224 317static PyObject *_wrap_wxColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
318 PyObject * _resultobj;
319 wxColourData * _arg0;
320 int _arg1;
321 wxColour * _arg2;
1d99702e 322 PyObject * _argo0 = 0;
f6bcfd97
BP
323 wxColour temp;
324 PyObject * _obj2 = 0;
efc5f224 325 char *_kwnames[] = { "self","i","colour", NULL };
8ab979d7
RD
326
327 self = self;
f6bcfd97 328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxColourData_SetCustomColour",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 329 return NULL;
1d99702e
RD
330 if (_argo0) {
331 if (_argo0 == Py_None) { _arg0 = NULL; }
332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
8ab979d7
RD
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
334 return NULL;
335 }
336 }
f6bcfd97
BP
337{
338 _arg2 = &temp;
339 if (! wxColour_helper(_obj2, &_arg2))
8ab979d7 340 return NULL;
f6bcfd97 341}
cf694132
RD
342{
343 wxPy_BEGIN_ALLOW_THREADS;
344 wxColourData_SetCustomColour(_arg0,_arg1,*_arg2);
345
346 wxPy_END_ALLOW_THREADS;
493f1553 347 if (PyErr_Occurred()) return NULL;
cf694132 348} Py_INCREF(Py_None);
8ab979d7
RD
349 _resultobj = Py_None;
350 return _resultobj;
351}
352
353static void *SwigwxColourDialogTowxDialog(void *ptr) {
354 wxColourDialog *src;
355 wxDialog *dest;
356 src = (wxColourDialog *) ptr;
357 dest = (wxDialog *) src;
358 return (void *) dest;
359}
360
65fe3842 361static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr) {
8ab979d7 362 wxColourDialog *src;
65fe3842 363 wxTopLevelWindow *dest;
8ab979d7 364 src = (wxColourDialog *) ptr;
65fe3842 365 dest = (wxTopLevelWindow *) src;
8ab979d7
RD
366 return (void *) dest;
367}
368
369static void *SwigwxColourDialogTowxWindow(void *ptr) {
370 wxColourDialog *src;
371 wxWindow *dest;
372 src = (wxColourDialog *) ptr;
373 dest = (wxWindow *) src;
374 return (void *) dest;
375}
376
377static void *SwigwxColourDialogTowxEvtHandler(void *ptr) {
378 wxColourDialog *src;
379 wxEvtHandler *dest;
380 src = (wxColourDialog *) ptr;
381 dest = (wxEvtHandler *) src;
382 return (void *) dest;
383}
384
9416aa89
RD
385static void *SwigwxColourDialogTowxObject(void *ptr) {
386 wxColourDialog *src;
387 wxObject *dest;
388 src = (wxColourDialog *) ptr;
389 dest = (wxObject *) src;
390 return (void *) dest;
391}
392
8ab979d7 393#define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
efc5f224 394static PyObject *_wrap_new_wxColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
395 PyObject * _resultobj;
396 wxColourDialog * _result;
397 wxWindow * _arg0;
1d99702e
RD
398 wxColourData * _arg1 = (wxColourData *) NULL;
399 PyObject * _argo0 = 0;
400 PyObject * _argo1 = 0;
efc5f224 401 char *_kwnames[] = { "parent","data", NULL };
8ab979d7
RD
402 char _ptemp[128];
403
404 self = self;
efc5f224 405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxColourDialog",_kwnames,&_argo0,&_argo1))
8ab979d7 406 return NULL;
1d99702e
RD
407 if (_argo0) {
408 if (_argo0 == Py_None) { _arg0 = NULL; }
409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
411 return NULL;
412 }
413 }
1d99702e
RD
414 if (_argo1) {
415 if (_argo1 == Py_None) { _arg1 = NULL; }
416 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColourData_p")) {
8ab979d7
RD
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
418 return NULL;
419 }
420 }
cf694132
RD
421{
422 wxPy_BEGIN_ALLOW_THREADS;
423 _result = (wxColourDialog *)new_wxColourDialog(_arg0,_arg1);
424
425 wxPy_END_ALLOW_THREADS;
493f1553 426 if (PyErr_Occurred()) return NULL;
1d99702e
RD
427} if (_result) {
428 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourDialog_p");
429 _resultobj = Py_BuildValue("s",_ptemp);
430 } else {
431 Py_INCREF(Py_None);
432 _resultobj = Py_None;
433 }
8ab979d7
RD
434 return _resultobj;
435}
436
437#define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
efc5f224 438static PyObject *_wrap_wxColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
439 PyObject * _resultobj;
440 wxColourData * _result;
441 wxColourDialog * _arg0;
1d99702e 442 PyObject * _argo0 = 0;
efc5f224 443 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
444 char _ptemp[128];
445
446 self = self;
efc5f224 447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_GetColourData",_kwnames,&_argo0))
8ab979d7 448 return NULL;
1d99702e
RD
449 if (_argo0) {
450 if (_argo0 == Py_None) { _arg0 = NULL; }
451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
8ab979d7
RD
452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
453 return NULL;
454 }
455 }
cf694132
RD
456{
457 wxPy_BEGIN_ALLOW_THREADS;
458 wxColourData & _result_ref = wxColourDialog_GetColourData(_arg0);
8ab979d7 459 _result = (wxColourData *) &_result_ref;
cf694132
RD
460
461 wxPy_END_ALLOW_THREADS;
493f1553 462 if (PyErr_Occurred()) return NULL;
1d99702e
RD
463} if (_result) {
464 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p");
465 _resultobj = Py_BuildValue("s",_ptemp);
466 } else {
467 Py_INCREF(Py_None);
468 _resultobj = Py_None;
469 }
8ab979d7
RD
470 return _resultobj;
471}
472
473#define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 474static PyObject *_wrap_wxColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
475 PyObject * _resultobj;
476 int _result;
477 wxColourDialog * _arg0;
1d99702e 478 PyObject * _argo0 = 0;
efc5f224 479 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
480
481 self = self;
efc5f224 482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 483 return NULL;
1d99702e
RD
484 if (_argo0) {
485 if (_argo0 == Py_None) { _arg0 = NULL; }
486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
8ab979d7
RD
487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
488 return NULL;
489 }
490 }
cf694132
RD
491{
492 wxPy_BEGIN_ALLOW_THREADS;
493 _result = (int )wxColourDialog_ShowModal(_arg0);
494
495 wxPy_END_ALLOW_THREADS;
493f1553 496 if (PyErr_Occurred()) return NULL;
cf694132 497} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
498 return _resultobj;
499}
500
501static void *SwigwxDirDialogTowxDialog(void *ptr) {
502 wxDirDialog *src;
503 wxDialog *dest;
504 src = (wxDirDialog *) ptr;
505 dest = (wxDialog *) src;
506 return (void *) dest;
507}
508
65fe3842 509static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr) {
8ab979d7 510 wxDirDialog *src;
65fe3842 511 wxTopLevelWindow *dest;
8ab979d7 512 src = (wxDirDialog *) ptr;
65fe3842 513 dest = (wxTopLevelWindow *) src;
8ab979d7
RD
514 return (void *) dest;
515}
516
517static void *SwigwxDirDialogTowxWindow(void *ptr) {
518 wxDirDialog *src;
519 wxWindow *dest;
520 src = (wxDirDialog *) ptr;
521 dest = (wxWindow *) src;
522 return (void *) dest;
523}
524
525static void *SwigwxDirDialogTowxEvtHandler(void *ptr) {
526 wxDirDialog *src;
527 wxEvtHandler *dest;
528 src = (wxDirDialog *) ptr;
529 dest = (wxEvtHandler *) src;
530 return (void *) dest;
531}
532
9416aa89
RD
533static void *SwigwxDirDialogTowxObject(void *ptr) {
534 wxDirDialog *src;
535 wxObject *dest;
536 src = (wxDirDialog *) ptr;
537 dest = (wxObject *) src;
538 return (void *) dest;
539}
540
8ab979d7 541#define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 542static PyObject *_wrap_new_wxDirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
543 PyObject * _resultobj;
544 wxDirDialog * _result;
545 wxWindow * _arg0;
1d99702e
RD
546 char * _arg1 = (char *) "Choose a directory";
547 char * _arg2 = (char *) "";
548 long _arg3 = (long ) 0;
e508a2b6 549 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1d99702e 550 PyObject * _argo0 = 0;
2f90df85
RD
551 wxPoint temp;
552 PyObject * _obj4 = 0;
efc5f224 553 char *_kwnames[] = { "parent","message","defaultPath","style","pos", NULL };
8ab979d7
RD
554 char _ptemp[128];
555
556 self = self;
2f90df85 557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sslO:new_wxDirDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
8ab979d7 558 return NULL;
1d99702e
RD
559 if (_argo0) {
560 if (_argo0 == Py_None) { _arg0 = NULL; }
561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
563 return NULL;
564 }
565 }
2f90df85
RD
566 if (_obj4)
567{
568 _arg4 = &temp;
569 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 570 return NULL;
2f90df85 571}
cf694132
RD
572{
573 wxPy_BEGIN_ALLOW_THREADS;
574 _result = (wxDirDialog *)new_wxDirDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
575
576 wxPy_END_ALLOW_THREADS;
493f1553 577 if (PyErr_Occurred()) return NULL;
1d99702e
RD
578} if (_result) {
579 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirDialog_p");
580 _resultobj = Py_BuildValue("s",_ptemp);
581 } else {
582 Py_INCREF(Py_None);
583 _resultobj = Py_None;
584 }
8ab979d7
RD
585 return _resultobj;
586}
587
588#define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
efc5f224 589static PyObject *_wrap_wxDirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
590 PyObject * _resultobj;
591 wxString * _result;
592 wxDirDialog * _arg0;
1d99702e 593 PyObject * _argo0 = 0;
efc5f224 594 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
595
596 self = self;
efc5f224 597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetPath",_kwnames,&_argo0))
8ab979d7 598 return NULL;
1d99702e
RD
599 if (_argo0) {
600 if (_argo0 == Py_None) { _arg0 = NULL; }
601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
603 return NULL;
604 }
605 }
8ab979d7 606{
cf694132
RD
607 wxPy_BEGIN_ALLOW_THREADS;
608 _result = new wxString (wxDirDialog_GetPath(_arg0));
609
610 wxPy_END_ALLOW_THREADS;
493f1553 611 if (PyErr_Occurred()) return NULL;
cf694132 612}{
eec92d76 613 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
614}
615{
616 delete _result;
617}
618 return _resultobj;
619}
620
621#define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
efc5f224 622static PyObject *_wrap_wxDirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
623 PyObject * _resultobj;
624 wxString * _result;
625 wxDirDialog * _arg0;
1d99702e 626 PyObject * _argo0 = 0;
efc5f224 627 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
628
629 self = self;
efc5f224 630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetMessage",_kwnames,&_argo0))
8ab979d7 631 return NULL;
1d99702e
RD
632 if (_argo0) {
633 if (_argo0 == Py_None) { _arg0 = NULL; }
634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
636 return NULL;
637 }
638 }
8ab979d7 639{
cf694132
RD
640 wxPy_BEGIN_ALLOW_THREADS;
641 _result = new wxString (wxDirDialog_GetMessage(_arg0));
642
643 wxPy_END_ALLOW_THREADS;
493f1553 644 if (PyErr_Occurred()) return NULL;
cf694132 645}{
eec92d76 646 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
647}
648{
649 delete _result;
650}
651 return _resultobj;
652}
653
654#define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
efc5f224 655static PyObject *_wrap_wxDirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
656 PyObject * _resultobj;
657 long _result;
658 wxDirDialog * _arg0;
1d99702e 659 PyObject * _argo0 = 0;
efc5f224 660 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
661
662 self = self;
efc5f224 663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetStyle",_kwnames,&_argo0))
8ab979d7 664 return NULL;
1d99702e
RD
665 if (_argo0) {
666 if (_argo0 == Py_None) { _arg0 = NULL; }
667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
669 return NULL;
670 }
671 }
cf694132
RD
672{
673 wxPy_BEGIN_ALLOW_THREADS;
674 _result = (long )wxDirDialog_GetStyle(_arg0);
675
676 wxPy_END_ALLOW_THREADS;
493f1553 677 if (PyErr_Occurred()) return NULL;
cf694132 678} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
679 return _resultobj;
680}
681
682#define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
efc5f224 683static PyObject *_wrap_wxDirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
684 PyObject * _resultobj;
685 wxDirDialog * _arg0;
686 wxString * _arg1;
1d99702e 687 PyObject * _argo0 = 0;
8ab979d7 688 PyObject * _obj1 = 0;
efc5f224 689 char *_kwnames[] = { "self","message", NULL };
8ab979d7
RD
690
691 self = self;
efc5f224 692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetMessage",_kwnames,&_argo0,&_obj1))
8ab979d7 693 return NULL;
1d99702e
RD
694 if (_argo0) {
695 if (_argo0 == Py_None) { _arg0 = NULL; }
696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
698 return NULL;
699 }
700 }
701{
185d7c3e
RD
702#if PYTHON_API_VERSION >= 1009
703 char* tmpPtr; int tmpSize;
704 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 705 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
706 return NULL;
707 }
708 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
709 return NULL;
710 _arg1 = new wxString(tmpPtr, tmpSize);
711#else
8ab979d7
RD
712 if (!PyString_Check(_obj1)) {
713 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
714 return NULL;
715 }
185d7c3e
RD
716 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
717#endif
8ab979d7 718}
cf694132
RD
719{
720 wxPy_BEGIN_ALLOW_THREADS;
721 wxDirDialog_SetMessage(_arg0,*_arg1);
722
723 wxPy_END_ALLOW_THREADS;
493f1553 724 if (PyErr_Occurred()) return NULL;
cf694132 725} Py_INCREF(Py_None);
8ab979d7
RD
726 _resultobj = Py_None;
727{
728 if (_obj1)
729 delete _arg1;
730}
731 return _resultobj;
732}
733
734#define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
efc5f224 735static PyObject *_wrap_wxDirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
736 PyObject * _resultobj;
737 wxDirDialog * _arg0;
738 wxString * _arg1;
1d99702e 739 PyObject * _argo0 = 0;
8ab979d7 740 PyObject * _obj1 = 0;
efc5f224 741 char *_kwnames[] = { "self","path", NULL };
8ab979d7
RD
742
743 self = self;
efc5f224 744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetPath",_kwnames,&_argo0,&_obj1))
8ab979d7 745 return NULL;
1d99702e
RD
746 if (_argo0) {
747 if (_argo0 == Py_None) { _arg0 = NULL; }
748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
750 return NULL;
751 }
752 }
753{
185d7c3e
RD
754#if PYTHON_API_VERSION >= 1009
755 char* tmpPtr; int tmpSize;
756 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 757 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
758 return NULL;
759 }
760 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
761 return NULL;
762 _arg1 = new wxString(tmpPtr, tmpSize);
763#else
8ab979d7
RD
764 if (!PyString_Check(_obj1)) {
765 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
766 return NULL;
767 }
185d7c3e
RD
768 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
769#endif
8ab979d7 770}
cf694132
RD
771{
772 wxPy_BEGIN_ALLOW_THREADS;
773 wxDirDialog_SetPath(_arg0,*_arg1);
774
775 wxPy_END_ALLOW_THREADS;
493f1553 776 if (PyErr_Occurred()) return NULL;
cf694132 777} Py_INCREF(Py_None);
8ab979d7
RD
778 _resultobj = Py_None;
779{
780 if (_obj1)
781 delete _arg1;
782}
783 return _resultobj;
784}
785
786#define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 787static PyObject *_wrap_wxDirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
788 PyObject * _resultobj;
789 int _result;
790 wxDirDialog * _arg0;
1d99702e 791 PyObject * _argo0 = 0;
efc5f224 792 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
793
794 self = self;
efc5f224 795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 796 return NULL;
1d99702e
RD
797 if (_argo0) {
798 if (_argo0 == Py_None) { _arg0 = NULL; }
799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
8ab979d7
RD
800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
801 return NULL;
802 }
803 }
cf694132
RD
804{
805 wxPy_BEGIN_ALLOW_THREADS;
806 _result = (int )wxDirDialog_ShowModal(_arg0);
807
808 wxPy_END_ALLOW_THREADS;
493f1553 809 if (PyErr_Occurred()) return NULL;
cf694132 810} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
811 return _resultobj;
812}
813
814static void *SwigwxFileDialogTowxDialog(void *ptr) {
815 wxFileDialog *src;
816 wxDialog *dest;
817 src = (wxFileDialog *) ptr;
818 dest = (wxDialog *) src;
819 return (void *) dest;
820}
821
65fe3842 822static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr) {
8ab979d7 823 wxFileDialog *src;
65fe3842 824 wxTopLevelWindow *dest;
8ab979d7 825 src = (wxFileDialog *) ptr;
65fe3842 826 dest = (wxTopLevelWindow *) src;
8ab979d7
RD
827 return (void *) dest;
828}
829
830static void *SwigwxFileDialogTowxWindow(void *ptr) {
831 wxFileDialog *src;
832 wxWindow *dest;
833 src = (wxFileDialog *) ptr;
834 dest = (wxWindow *) src;
835 return (void *) dest;
836}
837
838static void *SwigwxFileDialogTowxEvtHandler(void *ptr) {
839 wxFileDialog *src;
840 wxEvtHandler *dest;
841 src = (wxFileDialog *) ptr;
842 dest = (wxEvtHandler *) src;
843 return (void *) dest;
844}
845
9416aa89
RD
846static void *SwigwxFileDialogTowxObject(void *ptr) {
847 wxFileDialog *src;
848 wxObject *dest;
849 src = (wxFileDialog *) ptr;
850 dest = (wxObject *) src;
851 return (void *) dest;
852}
853
8ab979d7 854#define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 855static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
856 PyObject * _resultobj;
857 wxFileDialog * _result;
858 wxWindow * _arg0;
1d99702e
RD
859 char * _arg1 = (char *) "Choose a file";
860 char * _arg2 = (char *) "";
861 char * _arg3 = (char *) "";
862 char * _arg4 = (char *) "*.*";
863 long _arg5 = (long ) 0;
e508a2b6 864 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
1d99702e 865 PyObject * _argo0 = 0;
2f90df85
RD
866 wxPoint temp;
867 PyObject * _obj6 = 0;
efc5f224 868 char *_kwnames[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL };
8ab979d7
RD
869 char _ptemp[128];
870
871 self = self;
2f90df85 872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sssslO:new_wxFileDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
8ab979d7 873 return NULL;
1d99702e
RD
874 if (_argo0) {
875 if (_argo0 == Py_None) { _arg0 = NULL; }
876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
878 return NULL;
879 }
880 }
2f90df85
RD
881 if (_obj6)
882{
883 _arg6 = &temp;
884 if (! wxPoint_helper(_obj6, &_arg6))
8ab979d7 885 return NULL;
2f90df85 886}
cf694132
RD
887{
888 wxPy_BEGIN_ALLOW_THREADS;
889 _result = (wxFileDialog *)new_wxFileDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6);
890
891 wxPy_END_ALLOW_THREADS;
493f1553 892 if (PyErr_Occurred()) return NULL;
1d99702e
RD
893} if (_result) {
894 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileDialog_p");
895 _resultobj = Py_BuildValue("s",_ptemp);
896 } else {
897 Py_INCREF(Py_None);
898 _resultobj = Py_None;
899 }
8ab979d7
RD
900 return _resultobj;
901}
902
903#define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
efc5f224 904static PyObject *_wrap_wxFileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
905 PyObject * _resultobj;
906 wxString * _result;
907 wxFileDialog * _arg0;
1d99702e 908 PyObject * _argo0 = 0;
efc5f224 909 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
910
911 self = self;
efc5f224 912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetDirectory",_kwnames,&_argo0))
8ab979d7 913 return NULL;
1d99702e
RD
914 if (_argo0) {
915 if (_argo0 == Py_None) { _arg0 = NULL; }
916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
918 return NULL;
919 }
920 }
8ab979d7 921{
cf694132
RD
922 wxPy_BEGIN_ALLOW_THREADS;
923 _result = new wxString (wxFileDialog_GetDirectory(_arg0));
924
925 wxPy_END_ALLOW_THREADS;
493f1553 926 if (PyErr_Occurred()) return NULL;
cf694132 927}{
eec92d76 928 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
929}
930{
931 delete _result;
932}
933 return _resultobj;
934}
935
936#define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
efc5f224 937static PyObject *_wrap_wxFileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
938 PyObject * _resultobj;
939 wxString * _result;
940 wxFileDialog * _arg0;
1d99702e 941 PyObject * _argo0 = 0;
efc5f224 942 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
943
944 self = self;
efc5f224 945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilename",_kwnames,&_argo0))
8ab979d7 946 return NULL;
1d99702e
RD
947 if (_argo0) {
948 if (_argo0 == Py_None) { _arg0 = NULL; }
949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
951 return NULL;
952 }
953 }
8ab979d7 954{
cf694132
RD
955 wxPy_BEGIN_ALLOW_THREADS;
956 _result = new wxString (wxFileDialog_GetFilename(_arg0));
957
958 wxPy_END_ALLOW_THREADS;
493f1553 959 if (PyErr_Occurred()) return NULL;
cf694132 960}{
eec92d76 961 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
962}
963{
964 delete _result;
965}
966 return _resultobj;
967}
968
969#define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
efc5f224 970static PyObject *_wrap_wxFileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
971 PyObject * _resultobj;
972 int _result;
973 wxFileDialog * _arg0;
1d99702e 974 PyObject * _argo0 = 0;
efc5f224 975 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
976
977 self = self;
efc5f224 978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilterIndex",_kwnames,&_argo0))
8ab979d7 979 return NULL;
1d99702e
RD
980 if (_argo0) {
981 if (_argo0 == Py_None) { _arg0 = NULL; }
982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
984 return NULL;
985 }
986 }
cf694132
RD
987{
988 wxPy_BEGIN_ALLOW_THREADS;
989 _result = (int )wxFileDialog_GetFilterIndex(_arg0);
990
991 wxPy_END_ALLOW_THREADS;
493f1553 992 if (PyErr_Occurred()) return NULL;
cf694132 993} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
994 return _resultobj;
995}
996
997#define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
efc5f224 998static PyObject *_wrap_wxFileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
999 PyObject * _resultobj;
1000 wxString * _result;
1001 wxFileDialog * _arg0;
1d99702e 1002 PyObject * _argo0 = 0;
efc5f224 1003 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1004
1005 self = self;
efc5f224 1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetMessage",_kwnames,&_argo0))
8ab979d7 1007 return NULL;
1d99702e
RD
1008 if (_argo0) {
1009 if (_argo0 == Py_None) { _arg0 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1012 return NULL;
1013 }
1014 }
8ab979d7 1015{
cf694132
RD
1016 wxPy_BEGIN_ALLOW_THREADS;
1017 _result = new wxString (wxFileDialog_GetMessage(_arg0));
1018
1019 wxPy_END_ALLOW_THREADS;
493f1553 1020 if (PyErr_Occurred()) return NULL;
cf694132 1021}{
eec92d76 1022 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
1023}
1024{
1025 delete _result;
1026}
1027 return _resultobj;
1028}
1029
1030#define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
efc5f224 1031static PyObject *_wrap_wxFileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1032 PyObject * _resultobj;
1033 wxString * _result;
1034 wxFileDialog * _arg0;
1d99702e 1035 PyObject * _argo0 = 0;
efc5f224 1036 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1037
1038 self = self;
efc5f224 1039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetPath",_kwnames,&_argo0))
8ab979d7 1040 return NULL;
1d99702e
RD
1041 if (_argo0) {
1042 if (_argo0 == Py_None) { _arg0 = NULL; }
1043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1045 return NULL;
1046 }
1047 }
8ab979d7 1048{
cf694132
RD
1049 wxPy_BEGIN_ALLOW_THREADS;
1050 _result = new wxString (wxFileDialog_GetPath(_arg0));
1051
1052 wxPy_END_ALLOW_THREADS;
493f1553 1053 if (PyErr_Occurred()) return NULL;
cf694132 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_GetStyle(_swigobj) (_swigobj->GetStyle())
efc5f224 1064static PyObject *_wrap_wxFileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1065 PyObject * _resultobj;
1066 long _result;
1067 wxFileDialog * _arg0;
1d99702e 1068 PyObject * _argo0 = 0;
efc5f224 1069 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1070
1071 self = self;
efc5f224 1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetStyle",_kwnames,&_argo0))
8ab979d7 1073 return NULL;
1d99702e
RD
1074 if (_argo0) {
1075 if (_argo0 == Py_None) { _arg0 = NULL; }
1076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1078 return NULL;
1079 }
1080 }
cf694132
RD
1081{
1082 wxPy_BEGIN_ALLOW_THREADS;
1083 _result = (long )wxFileDialog_GetStyle(_arg0);
1084
1085 wxPy_END_ALLOW_THREADS;
493f1553 1086 if (PyErr_Occurred()) return NULL;
cf694132 1087} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1088 return _resultobj;
1089}
1090
1091#define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
efc5f224 1092static PyObject *_wrap_wxFileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1093 PyObject * _resultobj;
1094 wxString * _result;
1095 wxFileDialog * _arg0;
1d99702e 1096 PyObject * _argo0 = 0;
efc5f224 1097 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1098
1099 self = self;
efc5f224 1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetWildcard",_kwnames,&_argo0))
8ab979d7 1101 return NULL;
1d99702e
RD
1102 if (_argo0) {
1103 if (_argo0 == Py_None) { _arg0 = NULL; }
1104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1106 return NULL;
1107 }
1108 }
8ab979d7 1109{
cf694132
RD
1110 wxPy_BEGIN_ALLOW_THREADS;
1111 _result = new wxString (wxFileDialog_GetWildcard(_arg0));
1112
1113 wxPy_END_ALLOW_THREADS;
493f1553 1114 if (PyErr_Occurred()) return NULL;
cf694132 1115}{
eec92d76 1116 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
1117}
1118{
1119 delete _result;
1120}
1121 return _resultobj;
1122}
1123
1124#define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
efc5f224 1125static PyObject *_wrap_wxFileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1126 PyObject * _resultobj;
1127 wxFileDialog * _arg0;
1128 wxString * _arg1;
1d99702e 1129 PyObject * _argo0 = 0;
8ab979d7 1130 PyObject * _obj1 = 0;
efc5f224 1131 char *_kwnames[] = { "self","directory", NULL };
8ab979d7
RD
1132
1133 self = self;
efc5f224 1134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetDirectory",_kwnames,&_argo0,&_obj1))
8ab979d7 1135 return NULL;
1d99702e
RD
1136 if (_argo0) {
1137 if (_argo0 == Py_None) { _arg0 = NULL; }
1138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1140 return NULL;
1141 }
1142 }
1143{
185d7c3e
RD
1144#if PYTHON_API_VERSION >= 1009
1145 char* tmpPtr; int tmpSize;
1146 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1147 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1148 return NULL;
1149 }
1150 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1151 return NULL;
1152 _arg1 = new wxString(tmpPtr, tmpSize);
1153#else
8ab979d7
RD
1154 if (!PyString_Check(_obj1)) {
1155 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1156 return NULL;
1157 }
185d7c3e
RD
1158 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1159#endif
8ab979d7 1160}
cf694132
RD
1161{
1162 wxPy_BEGIN_ALLOW_THREADS;
1163 wxFileDialog_SetDirectory(_arg0,*_arg1);
1164
1165 wxPy_END_ALLOW_THREADS;
493f1553 1166 if (PyErr_Occurred()) return NULL;
cf694132 1167} Py_INCREF(Py_None);
8ab979d7
RD
1168 _resultobj = Py_None;
1169{
1170 if (_obj1)
1171 delete _arg1;
1172}
1173 return _resultobj;
1174}
1175
1176#define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
efc5f224 1177static PyObject *_wrap_wxFileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1178 PyObject * _resultobj;
1179 wxFileDialog * _arg0;
1180 wxString * _arg1;
1d99702e 1181 PyObject * _argo0 = 0;
8ab979d7 1182 PyObject * _obj1 = 0;
efc5f224 1183 char *_kwnames[] = { "self","setfilename", NULL };
8ab979d7
RD
1184
1185 self = self;
efc5f224 1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetFilename",_kwnames,&_argo0,&_obj1))
8ab979d7 1187 return NULL;
1d99702e
RD
1188 if (_argo0) {
1189 if (_argo0 == Py_None) { _arg0 = NULL; }
1190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1192 return NULL;
1193 }
1194 }
1195{
185d7c3e
RD
1196#if PYTHON_API_VERSION >= 1009
1197 char* tmpPtr; int tmpSize;
1198 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1199 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1200 return NULL;
1201 }
1202 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1203 return NULL;
1204 _arg1 = new wxString(tmpPtr, tmpSize);
1205#else
8ab979d7
RD
1206 if (!PyString_Check(_obj1)) {
1207 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1208 return NULL;
1209 }
185d7c3e
RD
1210 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1211#endif
8ab979d7 1212}
cf694132
RD
1213{
1214 wxPy_BEGIN_ALLOW_THREADS;
1215 wxFileDialog_SetFilename(_arg0,*_arg1);
1216
1217 wxPy_END_ALLOW_THREADS;
493f1553 1218 if (PyErr_Occurred()) return NULL;
cf694132 1219} Py_INCREF(Py_None);
8ab979d7
RD
1220 _resultobj = Py_None;
1221{
1222 if (_obj1)
1223 delete _arg1;
1224}
1225 return _resultobj;
1226}
1227
1228#define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
efc5f224 1229static PyObject *_wrap_wxFileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1230 PyObject * _resultobj;
1231 wxFileDialog * _arg0;
1232 int _arg1;
1d99702e 1233 PyObject * _argo0 = 0;
efc5f224 1234 char *_kwnames[] = { "self","filterIndex", NULL };
8ab979d7
RD
1235
1236 self = self;
efc5f224 1237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileDialog_SetFilterIndex",_kwnames,&_argo0,&_arg1))
8ab979d7 1238 return NULL;
1d99702e
RD
1239 if (_argo0) {
1240 if (_argo0 == Py_None) { _arg0 = NULL; }
1241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1243 return NULL;
1244 }
1245 }
cf694132
RD
1246{
1247 wxPy_BEGIN_ALLOW_THREADS;
1248 wxFileDialog_SetFilterIndex(_arg0,_arg1);
1249
1250 wxPy_END_ALLOW_THREADS;
493f1553 1251 if (PyErr_Occurred()) return NULL;
cf694132 1252} Py_INCREF(Py_None);
8ab979d7
RD
1253 _resultobj = Py_None;
1254 return _resultobj;
1255}
1256
1257#define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
efc5f224 1258static PyObject *_wrap_wxFileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1259 PyObject * _resultobj;
1260 wxFileDialog * _arg0;
1261 wxString * _arg1;
1d99702e 1262 PyObject * _argo0 = 0;
8ab979d7 1263 PyObject * _obj1 = 0;
efc5f224 1264 char *_kwnames[] = { "self","message", NULL };
8ab979d7
RD
1265
1266 self = self;
efc5f224 1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetMessage",_kwnames,&_argo0,&_obj1))
8ab979d7 1268 return NULL;
1d99702e
RD
1269 if (_argo0) {
1270 if (_argo0 == Py_None) { _arg0 = NULL; }
1271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1273 return NULL;
1274 }
1275 }
1276{
185d7c3e
RD
1277#if PYTHON_API_VERSION >= 1009
1278 char* tmpPtr; int tmpSize;
1279 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1280 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1281 return NULL;
1282 }
1283 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1284 return NULL;
1285 _arg1 = new wxString(tmpPtr, tmpSize);
1286#else
8ab979d7
RD
1287 if (!PyString_Check(_obj1)) {
1288 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1289 return NULL;
1290 }
185d7c3e
RD
1291 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1292#endif
8ab979d7 1293}
cf694132
RD
1294{
1295 wxPy_BEGIN_ALLOW_THREADS;
1296 wxFileDialog_SetMessage(_arg0,*_arg1);
1297
1298 wxPy_END_ALLOW_THREADS;
493f1553 1299 if (PyErr_Occurred()) return NULL;
cf694132 1300} Py_INCREF(Py_None);
8ab979d7
RD
1301 _resultobj = Py_None;
1302{
1303 if (_obj1)
1304 delete _arg1;
1305}
1306 return _resultobj;
1307}
1308
1309#define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
efc5f224 1310static PyObject *_wrap_wxFileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1311 PyObject * _resultobj;
1312 wxFileDialog * _arg0;
1313 wxString * _arg1;
1d99702e 1314 PyObject * _argo0 = 0;
8ab979d7 1315 PyObject * _obj1 = 0;
efc5f224 1316 char *_kwnames[] = { "self","path", NULL };
8ab979d7
RD
1317
1318 self = self;
efc5f224 1319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetPath",_kwnames,&_argo0,&_obj1))
8ab979d7 1320 return NULL;
1d99702e
RD
1321 if (_argo0) {
1322 if (_argo0 == Py_None) { _arg0 = NULL; }
1323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1325 return NULL;
1326 }
1327 }
1328{
185d7c3e
RD
1329#if PYTHON_API_VERSION >= 1009
1330 char* tmpPtr; int tmpSize;
1331 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1332 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1333 return NULL;
1334 }
1335 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1336 return NULL;
1337 _arg1 = new wxString(tmpPtr, tmpSize);
1338#else
8ab979d7
RD
1339 if (!PyString_Check(_obj1)) {
1340 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1341 return NULL;
1342 }
185d7c3e
RD
1343 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1344#endif
8ab979d7 1345}
cf694132
RD
1346{
1347 wxPy_BEGIN_ALLOW_THREADS;
1348 wxFileDialog_SetPath(_arg0,*_arg1);
1349
1350 wxPy_END_ALLOW_THREADS;
493f1553 1351 if (PyErr_Occurred()) return NULL;
cf694132 1352} Py_INCREF(Py_None);
8ab979d7
RD
1353 _resultobj = Py_None;
1354{
1355 if (_obj1)
1356 delete _arg1;
1357}
1358 return _resultobj;
1359}
1360
1361#define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
efc5f224 1362static PyObject *_wrap_wxFileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1363 PyObject * _resultobj;
1364 wxFileDialog * _arg0;
1365 long _arg1;
1d99702e 1366 PyObject * _argo0 = 0;
efc5f224 1367 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
1368
1369 self = self;
efc5f224 1370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxFileDialog_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 1371 return NULL;
1d99702e
RD
1372 if (_argo0) {
1373 if (_argo0 == Py_None) { _arg0 = NULL; }
1374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1376 return NULL;
1377 }
1378 }
cf694132
RD
1379{
1380 wxPy_BEGIN_ALLOW_THREADS;
1381 wxFileDialog_SetStyle(_arg0,_arg1);
1382
1383 wxPy_END_ALLOW_THREADS;
493f1553 1384 if (PyErr_Occurred()) return NULL;
cf694132 1385} Py_INCREF(Py_None);
8ab979d7
RD
1386 _resultobj = Py_None;
1387 return _resultobj;
1388}
1389
1390#define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
efc5f224 1391static PyObject *_wrap_wxFileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1392 PyObject * _resultobj;
1393 wxFileDialog * _arg0;
1394 wxString * _arg1;
1d99702e 1395 PyObject * _argo0 = 0;
8ab979d7 1396 PyObject * _obj1 = 0;
efc5f224 1397 char *_kwnames[] = { "self","wildCard", NULL };
8ab979d7
RD
1398
1399 self = self;
efc5f224 1400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetWildcard",_kwnames,&_argo0,&_obj1))
8ab979d7 1401 return NULL;
1d99702e
RD
1402 if (_argo0) {
1403 if (_argo0 == Py_None) { _arg0 = NULL; }
1404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1406 return NULL;
1407 }
1408 }
1409{
185d7c3e
RD
1410#if PYTHON_API_VERSION >= 1009
1411 char* tmpPtr; int tmpSize;
1412 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1413 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1414 return NULL;
1415 }
1416 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1417 return NULL;
1418 _arg1 = new wxString(tmpPtr, tmpSize);
1419#else
8ab979d7
RD
1420 if (!PyString_Check(_obj1)) {
1421 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1422 return NULL;
1423 }
185d7c3e
RD
1424 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1425#endif
8ab979d7 1426}
cf694132
RD
1427{
1428 wxPy_BEGIN_ALLOW_THREADS;
1429 wxFileDialog_SetWildcard(_arg0,*_arg1);
1430
1431 wxPy_END_ALLOW_THREADS;
493f1553 1432 if (PyErr_Occurred()) return NULL;
cf694132 1433} Py_INCREF(Py_None);
8ab979d7
RD
1434 _resultobj = Py_None;
1435{
1436 if (_obj1)
1437 delete _arg1;
1438}
1439 return _resultobj;
1440}
1441
1442#define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 1443static PyObject *_wrap_wxFileDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1444 PyObject * _resultobj;
1445 int _result;
1446 wxFileDialog * _arg0;
1d99702e 1447 PyObject * _argo0 = 0;
efc5f224 1448 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1449
1450 self = self;
efc5f224 1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 1452 return NULL;
1d99702e
RD
1453 if (_argo0) {
1454 if (_argo0 == Py_None) { _arg0 = NULL; }
1455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
8ab979d7
RD
1456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1457 return NULL;
1458 }
1459 }
cf694132
RD
1460{
1461 wxPy_BEGIN_ALLOW_THREADS;
1462 _result = (int )wxFileDialog_ShowModal(_arg0);
1463
1464 wxPy_END_ALLOW_THREADS;
493f1553 1465 if (PyErr_Occurred()) return NULL;
cf694132 1466} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1467 return _resultobj;
1468}
1469
f6bcfd97
BP
1470static PyObject * wxFileDialog_GetFilenames(wxFileDialog *self) {
1471 wxArrayString arr;
1472 self->GetFilenames(arr);
b37c7e1d 1473 return wxArrayString2PyList_helper(arr);
f6bcfd97
BP
1474 }
1475static PyObject *_wrap_wxFileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
1476 PyObject * _resultobj;
1477 PyObject * _result;
1478 wxFileDialog * _arg0;
1479 PyObject * _argo0 = 0;
1480 char *_kwnames[] = { "self", NULL };
1481
1482 self = self;
1483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilenames",_kwnames,&_argo0))
1484 return NULL;
1485 if (_argo0) {
1486 if (_argo0 == Py_None) { _arg0 = NULL; }
1487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1489 return NULL;
1490 }
1491 }
1492{
1493 wxPy_BEGIN_ALLOW_THREADS;
1494 _result = (PyObject *)wxFileDialog_GetFilenames(_arg0);
1495
1496 wxPy_END_ALLOW_THREADS;
493f1553 1497 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1498}{
1499 _resultobj = _result;
1500}
1501 return _resultobj;
1502}
1503
1504static PyObject * wxFileDialog_GetPaths(wxFileDialog *self) {
1505 wxArrayString arr;
1506 self->GetPaths(arr);
b37c7e1d 1507 return wxArrayString2PyList_helper(arr);
f6bcfd97
BP
1508 }
1509static PyObject *_wrap_wxFileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
1510 PyObject * _resultobj;
1511 PyObject * _result;
1512 wxFileDialog * _arg0;
1513 PyObject * _argo0 = 0;
1514 char *_kwnames[] = { "self", NULL };
1515
1516 self = self;
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetPaths",_kwnames,&_argo0))
1518 return NULL;
1519 if (_argo0) {
1520 if (_argo0 == Py_None) { _arg0 = NULL; }
1521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1523 return NULL;
1524 }
1525 }
1526{
1527 wxPy_BEGIN_ALLOW_THREADS;
1528 _result = (PyObject *)wxFileDialog_GetPaths(_arg0);
1529
1530 wxPy_END_ALLOW_THREADS;
493f1553 1531 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1532}{
1533 _resultobj = _result;
1534}
1535 return _resultobj;
1536}
1537
8ab979d7
RD
1538static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr) {
1539 wxSingleChoiceDialog *src;
1540 wxDialog *dest;
1541 src = (wxSingleChoiceDialog *) ptr;
1542 dest = (wxDialog *) src;
1543 return (void *) dest;
1544}
1545
65fe3842 1546static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr) {
8ab979d7 1547 wxSingleChoiceDialog *src;
65fe3842 1548 wxTopLevelWindow *dest;
8ab979d7 1549 src = (wxSingleChoiceDialog *) ptr;
65fe3842 1550 dest = (wxTopLevelWindow *) src;
8ab979d7
RD
1551 return (void *) dest;
1552}
1553
1554static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr) {
1555 wxSingleChoiceDialog *src;
1556 wxWindow *dest;
1557 src = (wxSingleChoiceDialog *) ptr;
1558 dest = (wxWindow *) src;
1559 return (void *) dest;
1560}
1561
1562static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr) {
1563 wxSingleChoiceDialog *src;
1564 wxEvtHandler *dest;
1565 src = (wxSingleChoiceDialog *) ptr;
1566 dest = (wxEvtHandler *) src;
1567 return (void *) dest;
1568}
1569
9416aa89
RD
1570static void *SwigwxSingleChoiceDialogTowxObject(void *ptr) {
1571 wxSingleChoiceDialog *src;
1572 wxObject *dest;
1573 src = (wxSingleChoiceDialog *) ptr;
1574 dest = (wxObject *) src;
1575 return (void *) dest;
1576}
1577
eec92d76 1578static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString *message,wxString *caption,int LCOUNT,wxString *choices,long style,wxPoint *pos) {
8ab979d7 1579 return new wxSingleChoiceDialog(parent, *message, *caption,
eec92d76 1580 LCOUNT, choices, NULL, style, *pos);
8ab979d7
RD
1581 }
1582
efc5f224 1583static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1584 PyObject * _resultobj;
1585 wxSingleChoiceDialog * _result;
1586 wxWindow * _arg0;
1587 wxString * _arg1;
1588 wxString * _arg2;
1589 int _arg3;
1590 wxString * _arg4;
1d99702e 1591 long _arg5 = (long ) wxOK|wxCANCEL|wxCENTRE;
e508a2b6 1592 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
1d99702e 1593 PyObject * _argo0 = 0;
8ab979d7
RD
1594 PyObject * _obj1 = 0;
1595 PyObject * _obj2 = 0;
1596 PyObject * _obj4 = 0;
2f90df85
RD
1597 wxPoint temp;
1598 PyObject * _obj6 = 0;
eec92d76 1599 char *_kwnames[] = { "parent","message","caption","choices","style","pos", NULL };
8ab979d7
RD
1600 char _ptemp[128];
1601
1602 self = self;
2f90df85 1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames,&_argo0,&_obj1,&_obj2,&_obj4,&_arg5,&_obj6))
8ab979d7 1604 return NULL;
1d99702e
RD
1605 if (_argo0) {
1606 if (_argo0 == Py_None) { _arg0 = NULL; }
1607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1609 return NULL;
1610 }
1611 }
1612{
185d7c3e
RD
1613#if PYTHON_API_VERSION >= 1009
1614 char* tmpPtr; int tmpSize;
1615 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1616 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1617 return NULL;
1618 }
1619 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1620 return NULL;
1621 _arg1 = new wxString(tmpPtr, tmpSize);
1622#else
8ab979d7
RD
1623 if (!PyString_Check(_obj1)) {
1624 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1625 return NULL;
1626 }
185d7c3e
RD
1627 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1628#endif
8ab979d7
RD
1629}
1630{
185d7c3e
RD
1631#if PYTHON_API_VERSION >= 1009
1632 char* tmpPtr; int tmpSize;
1633 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 1634 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1635 return NULL;
1636 }
1637 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1638 return NULL;
1639 _arg2 = new wxString(tmpPtr, tmpSize);
1640#else
8ab979d7
RD
1641 if (!PyString_Check(_obj2)) {
1642 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1643 return NULL;
1644 }
185d7c3e
RD
1645 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1646#endif
8ab979d7
RD
1647}
1648 if (_obj4)
1649{
1650 _arg4 = wxString_LIST_helper(_obj4);
1651 if (_arg4 == NULL) {
1652 return NULL;
1653 }
1654}
2f90df85
RD
1655 if (_obj6)
1656{
1657 _arg6 = &temp;
1658 if (! wxPoint_helper(_obj6, &_arg6))
8ab979d7 1659 return NULL;
2f90df85 1660}
8ab979d7 1661{
cf694132
RD
1662 if (_obj4) {
1663 _arg3 = PyList_Size(_obj4);
1664 }
1665 else {
1666 _arg3 = 0;
1667 }
8ab979d7 1668}
cf694132
RD
1669{
1670 wxPy_BEGIN_ALLOW_THREADS;
1671 _result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1672
1673 wxPy_END_ALLOW_THREADS;
493f1553 1674 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1675} if (_result) {
1676 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSingleChoiceDialog_p");
1677 _resultobj = Py_BuildValue("s",_ptemp);
1678 } else {
1679 Py_INCREF(Py_None);
1680 _resultobj = Py_None;
1681 }
8ab979d7
RD
1682{
1683 if (_obj1)
1684 delete _arg1;
1685}
1686{
1687 if (_obj2)
1688 delete _arg2;
1689}
1690{
1691 delete [] _arg4;
1692}
1693 return _resultobj;
1694}
1695
1696#define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 1697static PyObject *_wrap_wxSingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1698 PyObject * _resultobj;
1699 int _result;
1700 wxSingleChoiceDialog * _arg0;
1d99702e 1701 PyObject * _argo0 = 0;
efc5f224 1702 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1703
1704 self = self;
efc5f224 1705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetSelection",_kwnames,&_argo0))
8ab979d7 1706 return NULL;
1d99702e
RD
1707 if (_argo0) {
1708 if (_argo0 == Py_None) { _arg0 = NULL; }
1709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
8ab979d7
RD
1710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1711 return NULL;
1712 }
1713 }
cf694132
RD
1714{
1715 wxPy_BEGIN_ALLOW_THREADS;
1716 _result = (int )wxSingleChoiceDialog_GetSelection(_arg0);
1717
1718 wxPy_END_ALLOW_THREADS;
493f1553 1719 if (PyErr_Occurred()) return NULL;
cf694132 1720} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1721 return _resultobj;
1722}
1723
1724#define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
efc5f224 1725static PyObject *_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1726 PyObject * _resultobj;
1727 wxString * _result;
1728 wxSingleChoiceDialog * _arg0;
1d99702e 1729 PyObject * _argo0 = 0;
efc5f224 1730 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1731
1732 self = self;
efc5f224 1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames,&_argo0))
8ab979d7 1734 return NULL;
1d99702e
RD
1735 if (_argo0) {
1736 if (_argo0 == Py_None) { _arg0 = NULL; }
1737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
8ab979d7
RD
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1739 return NULL;
1740 }
1741 }
8ab979d7 1742{
cf694132
RD
1743 wxPy_BEGIN_ALLOW_THREADS;
1744 _result = new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0));
1745
1746 wxPy_END_ALLOW_THREADS;
493f1553 1747 if (PyErr_Occurred()) return NULL;
cf694132 1748}{
eec92d76 1749 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
1750}
1751{
1752 delete _result;
1753}
1754 return _resultobj;
1755}
1756
1757#define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 1758static PyObject *_wrap_wxSingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1759 PyObject * _resultobj;
1760 wxSingleChoiceDialog * _arg0;
1761 int _arg1;
1d99702e 1762 PyObject * _argo0 = 0;
efc5f224 1763 char *_kwnames[] = { "self","sel", NULL };
8ab979d7
RD
1764
1765 self = self;
efc5f224 1766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 1767 return NULL;
1d99702e
RD
1768 if (_argo0) {
1769 if (_argo0 == Py_None) { _arg0 = NULL; }
1770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
8ab979d7
RD
1771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1772 return NULL;
1773 }
1774 }
cf694132
RD
1775{
1776 wxPy_BEGIN_ALLOW_THREADS;
1777 wxSingleChoiceDialog_SetSelection(_arg0,_arg1);
1778
1779 wxPy_END_ALLOW_THREADS;
493f1553 1780 if (PyErr_Occurred()) return NULL;
cf694132 1781} Py_INCREF(Py_None);
8ab979d7
RD
1782 _resultobj = Py_None;
1783 return _resultobj;
1784}
1785
1786#define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 1787static PyObject *_wrap_wxSingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1788 PyObject * _resultobj;
1789 int _result;
1790 wxSingleChoiceDialog * _arg0;
1d99702e 1791 PyObject * _argo0 = 0;
efc5f224 1792 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1793
1794 self = self;
efc5f224 1795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 1796 return NULL;
1d99702e
RD
1797 if (_argo0) {
1798 if (_argo0 == Py_None) { _arg0 = NULL; }
1799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
8ab979d7
RD
1800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1801 return NULL;
1802 }
1803 }
cf694132
RD
1804{
1805 wxPy_BEGIN_ALLOW_THREADS;
1806 _result = (int )wxSingleChoiceDialog_ShowModal(_arg0);
1807
1808 wxPy_END_ALLOW_THREADS;
493f1553 1809 if (PyErr_Occurred()) return NULL;
cf694132 1810} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1811 return _resultobj;
1812}
1813
1814static void *SwigwxTextEntryDialogTowxDialog(void *ptr) {
1815 wxTextEntryDialog *src;
1816 wxDialog *dest;
1817 src = (wxTextEntryDialog *) ptr;
1818 dest = (wxDialog *) src;
1819 return (void *) dest;
1820}
1821
65fe3842 1822static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr) {
8ab979d7 1823 wxTextEntryDialog *src;
65fe3842 1824 wxTopLevelWindow *dest;
8ab979d7 1825 src = (wxTextEntryDialog *) ptr;
65fe3842 1826 dest = (wxTopLevelWindow *) src;
8ab979d7
RD
1827 return (void *) dest;
1828}
1829
1830static void *SwigwxTextEntryDialogTowxWindow(void *ptr) {
1831 wxTextEntryDialog *src;
1832 wxWindow *dest;
1833 src = (wxTextEntryDialog *) ptr;
1834 dest = (wxWindow *) src;
1835 return (void *) dest;
1836}
1837
1838static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr) {
1839 wxTextEntryDialog *src;
1840 wxEvtHandler *dest;
1841 src = (wxTextEntryDialog *) ptr;
1842 dest = (wxEvtHandler *) src;
1843 return (void *) dest;
1844}
1845
9416aa89
RD
1846static void *SwigwxTextEntryDialogTowxObject(void *ptr) {
1847 wxTextEntryDialog *src;
1848 wxObject *dest;
1849 src = (wxTextEntryDialog *) ptr;
1850 dest = (wxObject *) src;
1851 return (void *) dest;
1852}
1853
8ab979d7 1854#define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 1855static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1856 PyObject * _resultobj;
1857 wxTextEntryDialog * _result;
1858 wxWindow * _arg0;
1859 char * _arg1;
1d99702e
RD
1860 char * _arg2 = (char *) "Input Text";
1861 char * _arg3 = (char *) "";
1862 long _arg4 = (long ) wxOK|wxCANCEL|wxCENTRE;
e508a2b6 1863 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
1d99702e 1864 PyObject * _argo0 = 0;
2f90df85
RD
1865 wxPoint temp;
1866 PyObject * _obj5 = 0;
efc5f224 1867 char *_kwnames[] = { "parent","message","caption","defaultValue","style","pos", NULL };
8ab979d7
RD
1868 char _ptemp[128];
1869
1870 self = self;
2f90df85 1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|sslO:new_wxTextEntryDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5))
8ab979d7 1872 return NULL;
1d99702e
RD
1873 if (_argo0) {
1874 if (_argo0 == Py_None) { _arg0 = NULL; }
1875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1877 return NULL;
1878 }
1879 }
2f90df85
RD
1880 if (_obj5)
1881{
1882 _arg5 = &temp;
1883 if (! wxPoint_helper(_obj5, &_arg5))
8ab979d7 1884 return NULL;
2f90df85 1885}
cf694132
RD
1886{
1887 wxPy_BEGIN_ALLOW_THREADS;
1888 _result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5);
1889
1890 wxPy_END_ALLOW_THREADS;
493f1553 1891 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1892} if (_result) {
1893 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextEntryDialog_p");
1894 _resultobj = Py_BuildValue("s",_ptemp);
1895 } else {
1896 Py_INCREF(Py_None);
1897 _resultobj = Py_None;
1898 }
8ab979d7
RD
1899 return _resultobj;
1900}
1901
1902#define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 1903static PyObject *_wrap_wxTextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1904 PyObject * _resultobj;
1905 wxString * _result;
1906 wxTextEntryDialog * _arg0;
1d99702e 1907 PyObject * _argo0 = 0;
efc5f224 1908 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1909
1910 self = self;
efc5f224 1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_GetValue",_kwnames,&_argo0))
8ab979d7 1912 return NULL;
1d99702e
RD
1913 if (_argo0) {
1914 if (_argo0 == Py_None) { _arg0 = NULL; }
1915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
8ab979d7
RD
1916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1917 return NULL;
1918 }
1919 }
8ab979d7 1920{
cf694132
RD
1921 wxPy_BEGIN_ALLOW_THREADS;
1922 _result = new wxString (wxTextEntryDialog_GetValue(_arg0));
1923
1924 wxPy_END_ALLOW_THREADS;
493f1553 1925 if (PyErr_Occurred()) return NULL;
cf694132 1926}{
eec92d76 1927 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
1928}
1929{
1930 delete _result;
1931}
1932 return _resultobj;
1933}
1934
1935#define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 1936static PyObject *_wrap_wxTextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1937 PyObject * _resultobj;
1938 wxTextEntryDialog * _arg0;
1939 wxString * _arg1;
1d99702e 1940 PyObject * _argo0 = 0;
8ab979d7 1941 PyObject * _obj1 = 0;
efc5f224 1942 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
1943
1944 self = self;
efc5f224 1945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextEntryDialog_SetValue",_kwnames,&_argo0,&_obj1))
8ab979d7 1946 return NULL;
1d99702e
RD
1947 if (_argo0) {
1948 if (_argo0 == Py_None) { _arg0 = NULL; }
1949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
8ab979d7
RD
1950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1951 return NULL;
1952 }
1953 }
1954{
185d7c3e
RD
1955#if PYTHON_API_VERSION >= 1009
1956 char* tmpPtr; int tmpSize;
1957 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1958 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1959 return NULL;
1960 }
1961 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1962 return NULL;
1963 _arg1 = new wxString(tmpPtr, tmpSize);
1964#else
8ab979d7
RD
1965 if (!PyString_Check(_obj1)) {
1966 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1967 return NULL;
1968 }
185d7c3e
RD
1969 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1970#endif
8ab979d7 1971}
cf694132
RD
1972{
1973 wxPy_BEGIN_ALLOW_THREADS;
1974 wxTextEntryDialog_SetValue(_arg0,*_arg1);
1975
1976 wxPy_END_ALLOW_THREADS;
493f1553 1977 if (PyErr_Occurred()) return NULL;
cf694132 1978} Py_INCREF(Py_None);
8ab979d7
RD
1979 _resultobj = Py_None;
1980{
1981 if (_obj1)
1982 delete _arg1;
1983}
1984 return _resultobj;
1985}
1986
1987#define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 1988static PyObject *_wrap_wxTextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1989 PyObject * _resultobj;
1990 int _result;
1991 wxTextEntryDialog * _arg0;
1d99702e 1992 PyObject * _argo0 = 0;
efc5f224 1993 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1994
1995 self = self;
efc5f224 1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 1997 return NULL;
1d99702e
RD
1998 if (_argo0) {
1999 if (_argo0 == Py_None) { _arg0 = NULL; }
2000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
8ab979d7
RD
2001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2002 return NULL;
2003 }
2004 }
cf694132
RD
2005{
2006 wxPy_BEGIN_ALLOW_THREADS;
2007 _result = (int )wxTextEntryDialog_ShowModal(_arg0);
2008
2009 wxPy_END_ALLOW_THREADS;
493f1553 2010 if (PyErr_Occurred()) return NULL;
cf694132 2011} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2012 return _resultobj;
2013}
2014
9416aa89
RD
2015static void *SwigwxFontDataTowxObject(void *ptr) {
2016 wxFontData *src;
2017 wxObject *dest;
2018 src = (wxFontData *) ptr;
2019 dest = (wxObject *) src;
2020 return (void *) dest;
2021}
2022
8ab979d7 2023#define new_wxFontData() (new wxFontData())
efc5f224 2024static PyObject *_wrap_new_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2025 PyObject * _resultobj;
2026 wxFontData * _result;
efc5f224 2027 char *_kwnames[] = { NULL };
8ab979d7
RD
2028 char _ptemp[128];
2029
2030 self = self;
efc5f224 2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontData",_kwnames))
8ab979d7 2032 return NULL;
cf694132
RD
2033{
2034 wxPy_BEGIN_ALLOW_THREADS;
2035 _result = (wxFontData *)new_wxFontData();
2036
2037 wxPy_END_ALLOW_THREADS;
493f1553 2038 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2039} if (_result) {
2040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p");
2041 _resultobj = Py_BuildValue("s",_ptemp);
2042 } else {
2043 Py_INCREF(Py_None);
2044 _resultobj = Py_None;
2045 }
8ab979d7
RD
2046 return _resultobj;
2047}
2048
2049#define delete_wxFontData(_swigobj) (delete _swigobj)
efc5f224 2050static PyObject *_wrap_delete_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2051 PyObject * _resultobj;
2052 wxFontData * _arg0;
1d99702e 2053 PyObject * _argo0 = 0;
efc5f224 2054 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2055
2056 self = self;
efc5f224 2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontData",_kwnames,&_argo0))
8ab979d7 2058 return NULL;
1d99702e
RD
2059 if (_argo0) {
2060 if (_argo0 == Py_None) { _arg0 = NULL; }
2061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2063 return NULL;
2064 }
2065 }
cf694132
RD
2066{
2067 wxPy_BEGIN_ALLOW_THREADS;
2068 delete_wxFontData(_arg0);
2069
2070 wxPy_END_ALLOW_THREADS;
493f1553 2071 if (PyErr_Occurred()) return NULL;
cf694132 2072} Py_INCREF(Py_None);
8ab979d7
RD
2073 _resultobj = Py_None;
2074 return _resultobj;
2075}
2076
2077#define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
efc5f224 2078static PyObject *_wrap_wxFontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2079 PyObject * _resultobj;
2080 wxFontData * _arg0;
2081 bool _arg1;
1d99702e 2082 PyObject * _argo0 = 0;
8ab979d7 2083 int tempbool1;
efc5f224 2084 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
2085
2086 self = self;
efc5f224 2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_EnableEffects",_kwnames,&_argo0,&tempbool1))
8ab979d7 2088 return NULL;
1d99702e
RD
2089 if (_argo0) {
2090 if (_argo0 == Py_None) { _arg0 = NULL; }
2091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2093 return NULL;
2094 }
2095 }
2096 _arg1 = (bool ) tempbool1;
cf694132
RD
2097{
2098 wxPy_BEGIN_ALLOW_THREADS;
2099 wxFontData_EnableEffects(_arg0,_arg1);
2100
2101 wxPy_END_ALLOW_THREADS;
493f1553 2102 if (PyErr_Occurred()) return NULL;
cf694132 2103} Py_INCREF(Py_None);
8ab979d7
RD
2104 _resultobj = Py_None;
2105 return _resultobj;
2106}
2107
2108#define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
efc5f224 2109static PyObject *_wrap_wxFontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2110 PyObject * _resultobj;
2111 bool _result;
2112 wxFontData * _arg0;
1d99702e 2113 PyObject * _argo0 = 0;
efc5f224 2114 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2115
2116 self = self;
efc5f224 2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetAllowSymbols",_kwnames,&_argo0))
8ab979d7 2118 return NULL;
1d99702e
RD
2119 if (_argo0) {
2120 if (_argo0 == Py_None) { _arg0 = NULL; }
2121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2123 return NULL;
2124 }
2125 }
cf694132
RD
2126{
2127 wxPy_BEGIN_ALLOW_THREADS;
2128 _result = (bool )wxFontData_GetAllowSymbols(_arg0);
2129
2130 wxPy_END_ALLOW_THREADS;
493f1553 2131 if (PyErr_Occurred()) return NULL;
cf694132 2132} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2133 return _resultobj;
2134}
2135
2136#define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
efc5f224 2137static PyObject *_wrap_wxFontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2138 PyObject * _resultobj;
2139 wxColour * _result;
2140 wxFontData * _arg0;
1d99702e 2141 PyObject * _argo0 = 0;
efc5f224 2142 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2143 char _ptemp[128];
2144
2145 self = self;
efc5f224 2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetColour",_kwnames,&_argo0))
8ab979d7 2147 return NULL;
1d99702e
RD
2148 if (_argo0) {
2149 if (_argo0 == Py_None) { _arg0 = NULL; }
2150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2152 return NULL;
2153 }
2154 }
cf694132
RD
2155{
2156 wxPy_BEGIN_ALLOW_THREADS;
25832b3f 2157 _result = new wxColour (wxFontData_GetColour(_arg0));
cf694132
RD
2158
2159 wxPy_END_ALLOW_THREADS;
493f1553 2160 if (PyErr_Occurred()) return NULL;
25832b3f
RD
2161} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2162 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2163 return _resultobj;
2164}
2165
2166#define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
efc5f224 2167static PyObject *_wrap_wxFontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2168 PyObject * _resultobj;
2169 wxFont * _result;
2170 wxFontData * _arg0;
1d99702e 2171 PyObject * _argo0 = 0;
efc5f224 2172 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2173 char _ptemp[128];
2174
2175 self = self;
efc5f224 2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetChosenFont",_kwnames,&_argo0))
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_GetChosenFont. Expected _wxFontData_p.");
2182 return NULL;
2183 }
2184 }
cf694132
RD
2185{
2186 wxPy_BEGIN_ALLOW_THREADS;
2187 _result = new wxFont (wxFontData_GetChosenFont(_arg0));
2188
2189 wxPy_END_ALLOW_THREADS;
493f1553 2190 if (PyErr_Occurred()) return NULL;
cf694132 2191} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8ab979d7
RD
2192 _resultobj = Py_BuildValue("s",_ptemp);
2193 return _resultobj;
2194}
2195
2196#define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
efc5f224 2197static PyObject *_wrap_wxFontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2198 PyObject * _resultobj;
2199 bool _result;
2200 wxFontData * _arg0;
1d99702e 2201 PyObject * _argo0 = 0;
efc5f224 2202 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2203
2204 self = self;
efc5f224 2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetEnableEffects",_kwnames,&_argo0))
8ab979d7 2206 return NULL;
1d99702e
RD
2207 if (_argo0) {
2208 if (_argo0 == Py_None) { _arg0 = NULL; }
2209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2211 return NULL;
2212 }
2213 }
cf694132
RD
2214{
2215 wxPy_BEGIN_ALLOW_THREADS;
2216 _result = (bool )wxFontData_GetEnableEffects(_arg0);
2217
2218 wxPy_END_ALLOW_THREADS;
493f1553 2219 if (PyErr_Occurred()) return NULL;
cf694132 2220} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2221 return _resultobj;
2222}
2223
2224#define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
efc5f224 2225static PyObject *_wrap_wxFontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2226 PyObject * _resultobj;
2227 wxFont * _result;
2228 wxFontData * _arg0;
1d99702e 2229 PyObject * _argo0 = 0;
efc5f224 2230 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2231 char _ptemp[128];
2232
2233 self = self;
efc5f224 2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetInitialFont",_kwnames,&_argo0))
8ab979d7 2235 return NULL;
1d99702e
RD
2236 if (_argo0) {
2237 if (_argo0 == Py_None) { _arg0 = NULL; }
2238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2240 return NULL;
2241 }
2242 }
cf694132
RD
2243{
2244 wxPy_BEGIN_ALLOW_THREADS;
2245 _result = new wxFont (wxFontData_GetInitialFont(_arg0));
2246
2247 wxPy_END_ALLOW_THREADS;
493f1553 2248 if (PyErr_Occurred()) return NULL;
cf694132 2249} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8ab979d7
RD
2250 _resultobj = Py_BuildValue("s",_ptemp);
2251 return _resultobj;
2252}
2253
2254#define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
efc5f224 2255static PyObject *_wrap_wxFontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2256 PyObject * _resultobj;
2257 bool _result;
2258 wxFontData * _arg0;
1d99702e 2259 PyObject * _argo0 = 0;
efc5f224 2260 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2261
2262 self = self;
efc5f224 2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetShowHelp",_kwnames,&_argo0))
8ab979d7 2264 return NULL;
1d99702e
RD
2265 if (_argo0) {
2266 if (_argo0 == Py_None) { _arg0 = NULL; }
2267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2269 return NULL;
2270 }
2271 }
cf694132
RD
2272{
2273 wxPy_BEGIN_ALLOW_THREADS;
2274 _result = (bool )wxFontData_GetShowHelp(_arg0);
2275
2276 wxPy_END_ALLOW_THREADS;
493f1553 2277 if (PyErr_Occurred()) return NULL;
cf694132 2278} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2279 return _resultobj;
2280}
2281
2282#define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
efc5f224 2283static PyObject *_wrap_wxFontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2284 PyObject * _resultobj;
2285 wxFontData * _arg0;
2286 bool _arg1;
1d99702e 2287 PyObject * _argo0 = 0;
8ab979d7 2288 int tempbool1;
efc5f224 2289 char *_kwnames[] = { "self","allowSymbols", NULL };
8ab979d7
RD
2290
2291 self = self;
efc5f224 2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetAllowSymbols",_kwnames,&_argo0,&tempbool1))
8ab979d7 2293 return NULL;
1d99702e
RD
2294 if (_argo0) {
2295 if (_argo0 == Py_None) { _arg0 = NULL; }
2296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2298 return NULL;
2299 }
2300 }
2301 _arg1 = (bool ) tempbool1;
cf694132
RD
2302{
2303 wxPy_BEGIN_ALLOW_THREADS;
2304 wxFontData_SetAllowSymbols(_arg0,_arg1);
2305
2306 wxPy_END_ALLOW_THREADS;
493f1553 2307 if (PyErr_Occurred()) return NULL;
cf694132 2308} Py_INCREF(Py_None);
8ab979d7
RD
2309 _resultobj = Py_None;
2310 return _resultobj;
2311}
2312
2313#define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
efc5f224 2314static PyObject *_wrap_wxFontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2315 PyObject * _resultobj;
2316 wxFontData * _arg0;
2317 wxFont * _arg1;
1d99702e
RD
2318 PyObject * _argo0 = 0;
2319 PyObject * _argo1 = 0;
efc5f224 2320 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
2321
2322 self = self;
efc5f224 2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetChosenFont",_kwnames,&_argo0,&_argo1))
8ab979d7 2324 return NULL;
1d99702e
RD
2325 if (_argo0) {
2326 if (_argo0 == Py_None) { _arg0 = NULL; }
2327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2329 return NULL;
2330 }
2331 }
1d99702e
RD
2332 if (_argo1) {
2333 if (_argo1 == Py_None) { _arg1 = NULL; }
2334 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
2335 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2336 return NULL;
2337 }
2338 }
cf694132
RD
2339{
2340 wxPy_BEGIN_ALLOW_THREADS;
2341 wxFontData_SetChosenFont(_arg0,*_arg1);
2342
2343 wxPy_END_ALLOW_THREADS;
493f1553 2344 if (PyErr_Occurred()) return NULL;
cf694132 2345} Py_INCREF(Py_None);
8ab979d7
RD
2346 _resultobj = Py_None;
2347 return _resultobj;
2348}
2349
2350#define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
efc5f224 2351static PyObject *_wrap_wxFontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2352 PyObject * _resultobj;
2353 wxFontData * _arg0;
2354 wxColour * _arg1;
1d99702e 2355 PyObject * _argo0 = 0;
f6bcfd97
BP
2356 wxColour temp;
2357 PyObject * _obj1 = 0;
efc5f224 2358 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
2359
2360 self = self;
f6bcfd97 2361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 2362 return NULL;
1d99702e
RD
2363 if (_argo0) {
2364 if (_argo0 == Py_None) { _arg0 = NULL; }
2365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2367 return NULL;
2368 }
2369 }
f6bcfd97
BP
2370{
2371 _arg1 = &temp;
2372 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 2373 return NULL;
f6bcfd97 2374}
cf694132
RD
2375{
2376 wxPy_BEGIN_ALLOW_THREADS;
2377 wxFontData_SetColour(_arg0,*_arg1);
2378
2379 wxPy_END_ALLOW_THREADS;
493f1553 2380 if (PyErr_Occurred()) return NULL;
cf694132 2381} Py_INCREF(Py_None);
8ab979d7
RD
2382 _resultobj = Py_None;
2383 return _resultobj;
2384}
2385
2386#define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
efc5f224 2387static PyObject *_wrap_wxFontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2388 PyObject * _resultobj;
2389 wxFontData * _arg0;
2390 wxFont * _arg1;
1d99702e
RD
2391 PyObject * _argo0 = 0;
2392 PyObject * _argo1 = 0;
efc5f224 2393 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
2394
2395 self = self;
efc5f224 2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetInitialFont",_kwnames,&_argo0,&_argo1))
8ab979d7 2397 return NULL;
1d99702e
RD
2398 if (_argo0) {
2399 if (_argo0 == Py_None) { _arg0 = NULL; }
2400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2402 return NULL;
2403 }
2404 }
1d99702e
RD
2405 if (_argo1) {
2406 if (_argo1 == Py_None) { _arg1 = NULL; }
2407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
2408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2409 return NULL;
2410 }
2411 }
cf694132
RD
2412{
2413 wxPy_BEGIN_ALLOW_THREADS;
2414 wxFontData_SetInitialFont(_arg0,*_arg1);
2415
2416 wxPy_END_ALLOW_THREADS;
493f1553 2417 if (PyErr_Occurred()) return NULL;
cf694132 2418} Py_INCREF(Py_None);
8ab979d7
RD
2419 _resultobj = Py_None;
2420 return _resultobj;
2421}
2422
2423#define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
efc5f224 2424static PyObject *_wrap_wxFontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2425 PyObject * _resultobj;
2426 wxFontData * _arg0;
2427 int _arg1;
2428 int _arg2;
1d99702e 2429 PyObject * _argo0 = 0;
efc5f224 2430 char *_kwnames[] = { "self","min","max", NULL };
8ab979d7
RD
2431
2432 self = self;
efc5f224 2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxFontData_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2434 return NULL;
1d99702e
RD
2435 if (_argo0) {
2436 if (_argo0 == Py_None) { _arg0 = NULL; }
2437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2439 return NULL;
2440 }
2441 }
cf694132
RD
2442{
2443 wxPy_BEGIN_ALLOW_THREADS;
2444 wxFontData_SetRange(_arg0,_arg1,_arg2);
2445
2446 wxPy_END_ALLOW_THREADS;
493f1553 2447 if (PyErr_Occurred()) return NULL;
cf694132 2448} Py_INCREF(Py_None);
8ab979d7
RD
2449 _resultobj = Py_None;
2450 return _resultobj;
2451}
2452
2453#define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
efc5f224 2454static PyObject *_wrap_wxFontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2455 PyObject * _resultobj;
2456 wxFontData * _arg0;
2457 bool _arg1;
1d99702e 2458 PyObject * _argo0 = 0;
8ab979d7 2459 int tempbool1;
efc5f224 2460 char *_kwnames[] = { "self","showHelp", NULL };
8ab979d7
RD
2461
2462 self = self;
efc5f224 2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetShowHelp",_kwnames,&_argo0,&tempbool1))
8ab979d7 2464 return NULL;
1d99702e
RD
2465 if (_argo0) {
2466 if (_argo0 == Py_None) { _arg0 = NULL; }
2467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
8ab979d7
RD
2468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2469 return NULL;
2470 }
2471 }
2472 _arg1 = (bool ) tempbool1;
cf694132
RD
2473{
2474 wxPy_BEGIN_ALLOW_THREADS;
2475 wxFontData_SetShowHelp(_arg0,_arg1);
2476
2477 wxPy_END_ALLOW_THREADS;
493f1553 2478 if (PyErr_Occurred()) return NULL;
cf694132 2479} Py_INCREF(Py_None);
8ab979d7
RD
2480 _resultobj = Py_None;
2481 return _resultobj;
2482}
2483
2484static void *SwigwxFontDialogTowxDialog(void *ptr) {
2485 wxFontDialog *src;
2486 wxDialog *dest;
2487 src = (wxFontDialog *) ptr;
2488 dest = (wxDialog *) src;
2489 return (void *) dest;
2490}
2491
65fe3842 2492static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr) {
8ab979d7 2493 wxFontDialog *src;
65fe3842 2494 wxTopLevelWindow *dest;
8ab979d7 2495 src = (wxFontDialog *) ptr;
65fe3842 2496 dest = (wxTopLevelWindow *) src;
8ab979d7
RD
2497 return (void *) dest;
2498}
2499
2500static void *SwigwxFontDialogTowxWindow(void *ptr) {
2501 wxFontDialog *src;
2502 wxWindow *dest;
2503 src = (wxFontDialog *) ptr;
2504 dest = (wxWindow *) src;
2505 return (void *) dest;
2506}
2507
2508static void *SwigwxFontDialogTowxEvtHandler(void *ptr) {
2509 wxFontDialog *src;
2510 wxEvtHandler *dest;
2511 src = (wxFontDialog *) ptr;
2512 dest = (wxEvtHandler *) src;
2513 return (void *) dest;
2514}
2515
9416aa89
RD
2516static void *SwigwxFontDialogTowxObject(void *ptr) {
2517 wxFontDialog *src;
2518 wxObject *dest;
2519 src = (wxFontDialog *) ptr;
2520 dest = (wxObject *) src;
2521 return (void *) dest;
2522}
2523
8ab979d7 2524#define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
efc5f224 2525static PyObject *_wrap_new_wxFontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2526 PyObject * _resultobj;
2527 wxFontDialog * _result;
2528 wxWindow * _arg0;
990416e0 2529 wxFontData * _arg1;
1d99702e
RD
2530 PyObject * _argo0 = 0;
2531 PyObject * _argo1 = 0;
efc5f224 2532 char *_kwnames[] = { "parent","data", NULL };
8ab979d7
RD
2533 char _ptemp[128];
2534
2535 self = self;
990416e0 2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxFontDialog",_kwnames,&_argo0,&_argo1))
8ab979d7 2537 return NULL;
1d99702e
RD
2538 if (_argo0) {
2539 if (_argo0 == Py_None) { _arg0 = NULL; }
2540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2542 return NULL;
2543 }
2544 }
1d99702e
RD
2545 if (_argo1) {
2546 if (_argo1 == Py_None) { _arg1 = NULL; }
2547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFontData_p")) {
8ab979d7
RD
2548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2549 return NULL;
2550 }
2551 }
cf694132
RD
2552{
2553 wxPy_BEGIN_ALLOW_THREADS;
2554 _result = (wxFontDialog *)new_wxFontDialog(_arg0,_arg1);
2555
2556 wxPy_END_ALLOW_THREADS;
493f1553 2557 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2558} if (_result) {
2559 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontDialog_p");
2560 _resultobj = Py_BuildValue("s",_ptemp);
2561 } else {
2562 Py_INCREF(Py_None);
2563 _resultobj = Py_None;
2564 }
8ab979d7
RD
2565 return _resultobj;
2566}
2567
2568#define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
efc5f224 2569static PyObject *_wrap_wxFontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2570 PyObject * _resultobj;
2571 wxFontData * _result;
2572 wxFontDialog * _arg0;
1d99702e 2573 PyObject * _argo0 = 0;
efc5f224 2574 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2575 char _ptemp[128];
2576
2577 self = self;
efc5f224 2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_GetFontData",_kwnames,&_argo0))
8ab979d7 2579 return NULL;
1d99702e
RD
2580 if (_argo0) {
2581 if (_argo0 == Py_None) { _arg0 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
8ab979d7
RD
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2584 return NULL;
2585 }
2586 }
cf694132
RD
2587{
2588 wxPy_BEGIN_ALLOW_THREADS;
2589 wxFontData & _result_ref = wxFontDialog_GetFontData(_arg0);
8ab979d7 2590 _result = (wxFontData *) &_result_ref;
cf694132
RD
2591
2592 wxPy_END_ALLOW_THREADS;
493f1553 2593 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2594} if (_result) {
2595 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p");
2596 _resultobj = Py_BuildValue("s",_ptemp);
2597 } else {
2598 Py_INCREF(Py_None);
2599 _resultobj = Py_None;
2600 }
8ab979d7
RD
2601 return _resultobj;
2602}
2603
2604#define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 2605static PyObject *_wrap_wxFontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2606 PyObject * _resultobj;
2607 int _result;
2608 wxFontDialog * _arg0;
1d99702e 2609 PyObject * _argo0 = 0;
efc5f224 2610 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2611
2612 self = self;
efc5f224 2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 2614 return NULL;
1d99702e
RD
2615 if (_argo0) {
2616 if (_argo0 == Py_None) { _arg0 = NULL; }
2617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
8ab979d7
RD
2618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2619 return NULL;
2620 }
2621 }
cf694132
RD
2622{
2623 wxPy_BEGIN_ALLOW_THREADS;
2624 _result = (int )wxFontDialog_ShowModal(_arg0);
2625
2626 wxPy_END_ALLOW_THREADS;
493f1553 2627 if (PyErr_Occurred()) return NULL;
cf694132 2628} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2629 return _resultobj;
2630}
2631
bb0054cd
RD
2632static void *SwigwxMessageDialogTowxDialog(void *ptr) {
2633 wxMessageDialog *src;
8ab979d7 2634 wxDialog *dest;
bb0054cd 2635 src = (wxMessageDialog *) ptr;
8ab979d7
RD
2636 dest = (wxDialog *) src;
2637 return (void *) dest;
2638}
2639
65fe3842 2640static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr) {
bb0054cd 2641 wxMessageDialog *src;
65fe3842 2642 wxTopLevelWindow *dest;
bb0054cd 2643 src = (wxMessageDialog *) ptr;
65fe3842 2644 dest = (wxTopLevelWindow *) src;
8ab979d7
RD
2645 return (void *) dest;
2646}
2647
bb0054cd
RD
2648static void *SwigwxMessageDialogTowxWindow(void *ptr) {
2649 wxMessageDialog *src;
8ab979d7 2650 wxWindow *dest;
bb0054cd 2651 src = (wxMessageDialog *) ptr;
8ab979d7
RD
2652 dest = (wxWindow *) src;
2653 return (void *) dest;
2654}
2655
bb0054cd
RD
2656static void *SwigwxMessageDialogTowxEvtHandler(void *ptr) {
2657 wxMessageDialog *src;
8ab979d7 2658 wxEvtHandler *dest;
bb0054cd 2659 src = (wxMessageDialog *) ptr;
8ab979d7
RD
2660 dest = (wxEvtHandler *) src;
2661 return (void *) dest;
2662}
2663
9416aa89
RD
2664static void *SwigwxMessageDialogTowxObject(void *ptr) {
2665 wxMessageDialog *src;
2666 wxObject *dest;
2667 src = (wxMessageDialog *) ptr;
2668 dest = (wxObject *) src;
2669 return (void *) dest;
2670}
2671
bb0054cd 2672#define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 2673static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2674 PyObject * _resultobj;
bb0054cd 2675 wxMessageDialog * _result;
8ab979d7 2676 wxWindow * _arg0;
bb0054cd 2677 char * _arg1;
1d99702e
RD
2678 char * _arg2 = (char *) "Message box";
2679 long _arg3 = (long ) wxOK|wxCANCEL|wxCENTRE;
e508a2b6 2680 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1d99702e 2681 PyObject * _argo0 = 0;
2f90df85
RD
2682 wxPoint temp;
2683 PyObject * _obj4 = 0;
efc5f224 2684 char *_kwnames[] = { "parent","message","caption","style","pos", NULL };
8ab979d7
RD
2685 char _ptemp[128];
2686
2687 self = self;
2f90df85 2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|slO:new_wxMessageDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
8ab979d7 2689 return NULL;
1d99702e
RD
2690 if (_argo0) {
2691 if (_argo0 == Py_None) { _arg0 = NULL; }
2692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd 2693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
8ab979d7
RD
2694 return NULL;
2695 }
2696 }
2f90df85
RD
2697 if (_obj4)
2698{
2699 _arg4 = &temp;
2700 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 2701 return NULL;
2f90df85 2702}
cf694132
RD
2703{
2704 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2705 _result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
cf694132
RD
2706
2707 wxPy_END_ALLOW_THREADS;
493f1553 2708 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2709} if (_result) {
2710 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMessageDialog_p");
2711 _resultobj = Py_BuildValue("s",_ptemp);
2712 } else {
2713 Py_INCREF(Py_None);
2714 _resultobj = Py_None;
2715 }
8ab979d7
RD
2716 return _resultobj;
2717}
2718
bb0054cd 2719#define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
efc5f224 2720static PyObject *_wrap_wxMessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2721 PyObject * _resultobj;
bb0054cd
RD
2722 int _result;
2723 wxMessageDialog * _arg0;
1d99702e 2724 PyObject * _argo0 = 0;
efc5f224 2725 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2726
2727 self = self;
efc5f224 2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMessageDialog_ShowModal",_kwnames,&_argo0))
8ab979d7 2729 return NULL;
1d99702e
RD
2730 if (_argo0) {
2731 if (_argo0 == Py_None) { _arg0 = NULL; }
2732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMessageDialog_p")) {
bb0054cd 2733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
8ab979d7
RD
2734 return NULL;
2735 }
2736 }
cf694132
RD
2737{
2738 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2739 _result = (int )wxMessageDialog_ShowModal(_arg0);
cf694132
RD
2740
2741 wxPy_END_ALLOW_THREADS;
493f1553 2742 if (PyErr_Occurred()) return NULL;
bb0054cd 2743} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2744 return _resultobj;
2745}
2746
bb0054cd
RD
2747static void *SwigwxProgressDialogTowxFrame(void *ptr) {
2748 wxProgressDialog *src;
2749 wxFrame *dest;
2750 src = (wxProgressDialog *) ptr;
2751 dest = (wxFrame *) src;
2752 return (void *) dest;
2753}
2754
65fe3842
RD
2755static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr) {
2756 wxProgressDialog *src;
2757 wxTopLevelWindow *dest;
2758 src = (wxProgressDialog *) ptr;
2759 dest = (wxTopLevelWindow *) src;
2760 return (void *) dest;
2761}
2762
bb0054cd
RD
2763static void *SwigwxProgressDialogTowxWindow(void *ptr) {
2764 wxProgressDialog *src;
2765 wxWindow *dest;
2766 src = (wxProgressDialog *) ptr;
2767 dest = (wxWindow *) src;
2768 return (void *) dest;
2769}
2770
2771static void *SwigwxProgressDialogTowxEvtHandler(void *ptr) {
2772 wxProgressDialog *src;
2773 wxEvtHandler *dest;
2774 src = (wxProgressDialog *) ptr;
2775 dest = (wxEvtHandler *) src;
2776 return (void *) dest;
2777}
2778
9416aa89
RD
2779static void *SwigwxProgressDialogTowxObject(void *ptr) {
2780 wxProgressDialog *src;
2781 wxObject *dest;
2782 src = (wxProgressDialog *) ptr;
2783 dest = (wxObject *) src;
2784 return (void *) dest;
2785}
2786
bb0054cd 2787#define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 2788static PyObject *_wrap_new_wxProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2789 PyObject * _resultobj;
bb0054cd
RD
2790 wxProgressDialog * _result;
2791 wxString * _arg0;
2792 wxString * _arg1;
1d99702e
RD
2793 int _arg2 = (int ) 100;
2794 wxWindow * _arg3 = (wxWindow *) NULL;
2795 int _arg4 = (int ) wxPD_AUTO_HIDE|wxPD_APP_MODAL;
bb0054cd
RD
2796 PyObject * _obj0 = 0;
2797 PyObject * _obj1 = 0;
1d99702e 2798 PyObject * _argo3 = 0;
efc5f224 2799 char *_kwnames[] = { "title","message","maximum","parent","style", NULL };
8ab979d7
RD
2800 char _ptemp[128];
2801
2802 self = self;
efc5f224 2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOi:new_wxProgressDialog",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4))
8ab979d7 2804 return NULL;
bb0054cd 2805{
185d7c3e
RD
2806#if PYTHON_API_VERSION >= 1009
2807 char* tmpPtr; int tmpSize;
2808 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
794c5cb1 2809 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2810 return NULL;
2811 }
2812 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2813 return NULL;
2814 _arg0 = new wxString(tmpPtr, tmpSize);
2815#else
bb0054cd
RD
2816 if (!PyString_Check(_obj0)) {
2817 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 2818 return NULL;
8ab979d7 2819 }
185d7c3e
RD
2820 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2821#endif
8ab979d7 2822}
bb0054cd 2823{
185d7c3e
RD
2824#if PYTHON_API_VERSION >= 1009
2825 char* tmpPtr; int tmpSize;
2826 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 2827 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2828 return NULL;
2829 }
2830 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2831 return NULL;
2832 _arg1 = new wxString(tmpPtr, tmpSize);
2833#else
bb0054cd
RD
2834 if (!PyString_Check(_obj1)) {
2835 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 2836 return NULL;
bb0054cd 2837 }
185d7c3e
RD
2838 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2839#endif
bb0054cd 2840}
1d99702e
RD
2841 if (_argo3) {
2842 if (_argo3 == Py_None) { _arg3 = NULL; }
2843 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
bb0054cd 2844 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
8ab979d7
RD
2845 return NULL;
2846 }
2847 }
cf694132
RD
2848{
2849 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2850 _result = (wxProgressDialog *)new_wxProgressDialog(*_arg0,*_arg1,_arg2,_arg3,_arg4);
cf694132
RD
2851
2852 wxPy_END_ALLOW_THREADS;
493f1553 2853 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2854} if (_result) {
2855 SWIG_MakePtr(_ptemp, (char *) _result,"_wxProgressDialog_p");
2856 _resultobj = Py_BuildValue("s",_ptemp);
2857 } else {
2858 Py_INCREF(Py_None);
2859 _resultobj = Py_None;
2860 }
bb0054cd
RD
2861{
2862 if (_obj0)
2863 delete _arg0;
8ab979d7 2864}
bb0054cd
RD
2865{
2866 if (_obj1)
2867 delete _arg1;
8ab979d7 2868}
bb0054cd 2869 return _resultobj;
8ab979d7
RD
2870}
2871
bb0054cd 2872#define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
efc5f224 2873static PyObject *_wrap_wxProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2874 PyObject * _resultobj;
bb0054cd
RD
2875 bool _result;
2876 wxProgressDialog * _arg0;
1d99702e
RD
2877 int _arg1 = (int ) -1;
2878 char * _arg2 = (char *) NULL;
2879 PyObject * _argo0 = 0;
efc5f224 2880 char *_kwnames[] = { "self","value","newmsg", NULL };
8ab979d7
RD
2881
2882 self = self;
efc5f224 2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|is:wxProgressDialog_Update",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2884 return NULL;
1d99702e
RD
2885 if (_argo0) {
2886 if (_argo0 == Py_None) { _arg0 = NULL; }
2887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
bb0054cd 2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
8ab979d7
RD
2889 return NULL;
2890 }
2891 }
cf694132
RD
2892{
2893 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2894 _result = (bool )wxProgressDialog_Update(_arg0,_arg1,_arg2);
cf694132
RD
2895
2896 wxPy_END_ALLOW_THREADS;
493f1553 2897 if (PyErr_Occurred()) return NULL;
bb0054cd 2898} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2899 return _resultobj;
2900}
2901
bb0054cd 2902#define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
efc5f224 2903static PyObject *_wrap_wxProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2904 PyObject * _resultobj;
bb0054cd 2905 wxProgressDialog * _arg0;
1d99702e 2906 PyObject * _argo0 = 0;
efc5f224 2907 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2908
2909 self = self;
efc5f224 2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProgressDialog_Resume",_kwnames,&_argo0))
8ab979d7 2911 return NULL;
1d99702e
RD
2912 if (_argo0) {
2913 if (_argo0 == Py_None) { _arg0 = NULL; }
2914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
bb0054cd 2915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
8ab979d7
RD
2916 return NULL;
2917 }
2918 }
cf694132
RD
2919{
2920 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 2921 wxProgressDialog_Resume(_arg0);
cf694132
RD
2922
2923 wxPy_END_ALLOW_THREADS;
493f1553 2924 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2925} Py_INCREF(Py_None);
2926 _resultobj = Py_None;
8ab979d7
RD
2927 return _resultobj;
2928}
2929
0122b7e3
RD
2930static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr) {
2931 wxFindDialogEvent *src;
2932 wxCommandEvent *dest;
2933 src = (wxFindDialogEvent *) ptr;
2934 dest = (wxCommandEvent *) src;
2935 return (void *) dest;
2936}
2937
2938static void *SwigwxFindDialogEventTowxEvent(void *ptr) {
2939 wxFindDialogEvent *src;
2940 wxEvent *dest;
2941 src = (wxFindDialogEvent *) ptr;
2942 dest = (wxEvent *) src;
2943 return (void *) dest;
2944}
2945
2946static void *SwigwxFindDialogEventTowxObject(void *ptr) {
2947 wxFindDialogEvent *src;
2948 wxObject *dest;
2949 src = (wxFindDialogEvent *) ptr;
2950 dest = (wxObject *) src;
2951 return (void *) dest;
2952}
2953
2954#define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1))
2955static PyObject *_wrap_new_wxFindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2956 PyObject * _resultobj;
2957 wxFindDialogEvent * _result;
2958 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2959 int _arg1 = (int ) 0;
2960 char *_kwnames[] = { "commandType","id", NULL };
2961 char _ptemp[128];
2962
2963 self = self;
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxFindDialogEvent",_kwnames,&_arg0,&_arg1))
2965 return NULL;
2966{
2967 wxPy_BEGIN_ALLOW_THREADS;
2968 _result = (wxFindDialogEvent *)new_wxFindDialogEvent(_arg0,_arg1);
2969
2970 wxPy_END_ALLOW_THREADS;
2971 if (PyErr_Occurred()) return NULL;
2972} if (_result) {
2973 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFindDialogEvent_p");
2974 _resultobj = Py_BuildValue("s",_ptemp);
2975 } else {
2976 Py_INCREF(Py_None);
2977 _resultobj = Py_None;
2978 }
2979 return _resultobj;
2980}
2981
2982#define wxFindDialogEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
2983static PyObject *_wrap_wxFindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
2984 PyObject * _resultobj;
2985 int _result;
2986 wxFindDialogEvent * _arg0;
2987 PyObject * _argo0 = 0;
2988 char *_kwnames[] = { "self", NULL };
2989
2990 self = self;
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindDialogEvent_GetFlags",_kwnames,&_argo0))
2992 return NULL;
2993 if (_argo0) {
2994 if (_argo0 == Py_None) { _arg0 = NULL; }
2995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindDialogEvent_p")) {
2996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p.");
2997 return NULL;
2998 }
2999 }
3000{
3001 wxPy_BEGIN_ALLOW_THREADS;
3002 _result = (int )wxFindDialogEvent_GetFlags(_arg0);
3003
3004 wxPy_END_ALLOW_THREADS;
3005 if (PyErr_Occurred()) return NULL;
3006} _resultobj = Py_BuildValue("i",_result);
3007 return _resultobj;
3008}
3009
3010#define wxFindDialogEvent_GetFindString(_swigobj) (_swigobj->GetFindString())
3011static PyObject *_wrap_wxFindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
3012 PyObject * _resultobj;
3013 wxString * _result;
3014 wxFindDialogEvent * _arg0;
3015 PyObject * _argo0 = 0;
3016 char *_kwnames[] = { "self", NULL };
3017
3018 self = self;
3019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindDialogEvent_GetFindString",_kwnames,&_argo0))
3020 return NULL;
3021 if (_argo0) {
3022 if (_argo0 == Py_None) { _arg0 = NULL; }
3023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindDialogEvent_p")) {
3024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p.");
3025 return NULL;
3026 }
3027 }
3028{
3029 wxPy_BEGIN_ALLOW_THREADS;
3030 _result = new wxString (wxFindDialogEvent_GetFindString(_arg0));
3031
3032 wxPy_END_ALLOW_THREADS;
3033 if (PyErr_Occurred()) return NULL;
3034}{
3035 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3036}
3037{
3038 delete _result;
3039}
3040 return _resultobj;
3041}
3042
3043#define wxFindDialogEvent_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3044static PyObject *_wrap_wxFindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
3045 PyObject * _resultobj;
3046 wxString * _result;
3047 wxFindDialogEvent * _arg0;
3048 PyObject * _argo0 = 0;
3049 char *_kwnames[] = { "self", NULL };
3050
3051 self = self;
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindDialogEvent_GetReplaceString",_kwnames,&_argo0))
3053 return NULL;
3054 if (_argo0) {
3055 if (_argo0 == Py_None) { _arg0 = NULL; }
3056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindDialogEvent_p")) {
3057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p.");
3058 return NULL;
3059 }
3060 }
3061{
3062 wxPy_BEGIN_ALLOW_THREADS;
3063 const wxString & _result_ref = wxFindDialogEvent_GetReplaceString(_arg0);
3064 _result = (wxString *) &_result_ref;
3065
3066 wxPy_END_ALLOW_THREADS;
3067 if (PyErr_Occurred()) return NULL;
3068}{
3069 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3070}
3071 return _resultobj;
3072}
3073
3074#define wxFindDialogEvent_GetDialog(_swigobj) (_swigobj->GetDialog())
3075static PyObject *_wrap_wxFindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3076 PyObject * _resultobj;
3077 wxFindReplaceDialog * _result;
3078 wxFindDialogEvent * _arg0;
3079 PyObject * _argo0 = 0;
3080 char *_kwnames[] = { "self", NULL };
3081 char _ptemp[128];
3082
3083 self = self;
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindDialogEvent_GetDialog",_kwnames,&_argo0))
3085 return NULL;
3086 if (_argo0) {
3087 if (_argo0 == Py_None) { _arg0 = NULL; }
3088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindDialogEvent_p")) {
3089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p.");
3090 return NULL;
3091 }
3092 }
3093{
3094 wxPy_BEGIN_ALLOW_THREADS;
3095 _result = (wxFindReplaceDialog *)wxFindDialogEvent_GetDialog(_arg0);
3096
3097 wxPy_END_ALLOW_THREADS;
3098 if (PyErr_Occurred()) return NULL;
3099} if (_result) {
3100 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFindReplaceDialog_p");
3101 _resultobj = Py_BuildValue("s",_ptemp);
3102 } else {
3103 Py_INCREF(Py_None);
3104 _resultobj = Py_None;
3105 }
3106 return _resultobj;
3107}
3108
3109#define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3110static PyObject *_wrap_wxFindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
3111 PyObject * _resultobj;
3112 wxFindDialogEvent * _arg0;
3113 int _arg1;
3114 PyObject * _argo0 = 0;
3115 char *_kwnames[] = { "self","flags", NULL };
3116
3117 self = self;
3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFindDialogEvent_SetFlags",_kwnames,&_argo0,&_arg1))
3119 return NULL;
3120 if (_argo0) {
3121 if (_argo0 == Py_None) { _arg0 = NULL; }
3122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindDialogEvent_p")) {
3123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p.");
3124 return NULL;
3125 }
3126 }
3127{
3128 wxPy_BEGIN_ALLOW_THREADS;
3129 wxFindDialogEvent_SetFlags(_arg0,_arg1);
3130
3131 wxPy_END_ALLOW_THREADS;
3132 if (PyErr_Occurred()) return NULL;
3133} Py_INCREF(Py_None);
3134 _resultobj = Py_None;
3135 return _resultobj;
3136}
3137
3138#define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3139static PyObject *_wrap_wxFindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
3140 PyObject * _resultobj;
3141 wxFindDialogEvent * _arg0;
3142 wxString * _arg1;
3143 PyObject * _argo0 = 0;
3144 PyObject * _obj1 = 0;
3145 char *_kwnames[] = { "self","str", NULL };
3146
3147 self = self;
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFindDialogEvent_SetFindString",_kwnames,&_argo0,&_obj1))
3149 return NULL;
3150 if (_argo0) {
3151 if (_argo0 == Py_None) { _arg0 = NULL; }
3152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindDialogEvent_p")) {
3153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p.");
3154 return NULL;
3155 }
3156 }
3157{
3158#if PYTHON_API_VERSION >= 1009
3159 char* tmpPtr; int tmpSize;
3160 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3161 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3162 return NULL;
3163 }
3164 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3165 return NULL;
3166 _arg1 = new wxString(tmpPtr, tmpSize);
3167#else
3168 if (!PyString_Check(_obj1)) {
3169 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3170 return NULL;
3171 }
3172 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3173#endif
3174}
3175{
3176 wxPy_BEGIN_ALLOW_THREADS;
3177 wxFindDialogEvent_SetFindString(_arg0,*_arg1);
3178
3179 wxPy_END_ALLOW_THREADS;
3180 if (PyErr_Occurred()) return NULL;
3181} Py_INCREF(Py_None);
3182 _resultobj = Py_None;
3183{
3184 if (_obj1)
3185 delete _arg1;
3186}
3187 return _resultobj;
3188}
3189
3190#define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3191static PyObject *_wrap_wxFindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject * _resultobj;
3193 wxFindDialogEvent * _arg0;
3194 wxString * _arg1;
3195 PyObject * _argo0 = 0;
3196 PyObject * _obj1 = 0;
3197 char *_kwnames[] = { "self","str", NULL };
3198
3199 self = self;
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFindDialogEvent_SetReplaceString",_kwnames,&_argo0,&_obj1))
3201 return NULL;
3202 if (_argo0) {
3203 if (_argo0 == Py_None) { _arg0 = NULL; }
3204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindDialogEvent_p")) {
3205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p.");
3206 return NULL;
3207 }
3208 }
3209{
3210#if PYTHON_API_VERSION >= 1009
3211 char* tmpPtr; int tmpSize;
3212 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3213 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3214 return NULL;
3215 }
3216 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3217 return NULL;
3218 _arg1 = new wxString(tmpPtr, tmpSize);
3219#else
3220 if (!PyString_Check(_obj1)) {
3221 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3222 return NULL;
3223 }
3224 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3225#endif
3226}
3227{
3228 wxPy_BEGIN_ALLOW_THREADS;
3229 wxFindDialogEvent_SetReplaceString(_arg0,*_arg1);
3230
3231 wxPy_END_ALLOW_THREADS;
3232 if (PyErr_Occurred()) return NULL;
3233} Py_INCREF(Py_None);
3234 _resultobj = Py_None;
3235{
3236 if (_obj1)
3237 delete _arg1;
3238}
3239 return _resultobj;
3240}
3241
3242static void *SwigwxFindReplaceDataTowxObject(void *ptr) {
3243 wxFindReplaceData *src;
3244 wxObject *dest;
3245 src = (wxFindReplaceData *) ptr;
3246 dest = (wxObject *) src;
3247 return (void *) dest;
3248}
3249
3250#define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0))
3251static PyObject *_wrap_new_wxFindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject * _resultobj;
3253 wxFindReplaceData * _result;
3254 int _arg0 = (int ) 0;
3255 char *_kwnames[] = { "flags", NULL };
3256 char _ptemp[128];
3257
3258 self = self;
3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxFindReplaceData",_kwnames,&_arg0))
3260 return NULL;
3261{
3262 wxPy_BEGIN_ALLOW_THREADS;
3263 _result = (wxFindReplaceData *)new_wxFindReplaceData(_arg0);
3264
3265 wxPy_END_ALLOW_THREADS;
3266 if (PyErr_Occurred()) return NULL;
3267} if (_result) {
3268 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFindReplaceData_p");
3269 _resultobj = Py_BuildValue("s",_ptemp);
3270 } else {
3271 Py_INCREF(Py_None);
3272 _resultobj = Py_None;
3273 }
3274 return _resultobj;
3275}
3276
3277#define delete_wxFindReplaceData(_swigobj) (delete _swigobj)
3278static PyObject *_wrap_delete_wxFindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
3279 PyObject * _resultobj;
3280 wxFindReplaceData * _arg0;
3281 PyObject * _argo0 = 0;
3282 char *_kwnames[] = { "self", NULL };
3283
3284 self = self;
3285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFindReplaceData",_kwnames,&_argo0))
3286 return NULL;
3287 if (_argo0) {
3288 if (_argo0 == Py_None) { _arg0 = NULL; }
3289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceData_p")) {
3290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p.");
3291 return NULL;
3292 }
3293 }
3294{
3295 wxPy_BEGIN_ALLOW_THREADS;
3296 delete_wxFindReplaceData(_arg0);
3297
3298 wxPy_END_ALLOW_THREADS;
3299 if (PyErr_Occurred()) return NULL;
3300} Py_INCREF(Py_None);
3301 _resultobj = Py_None;
3302 return _resultobj;
3303}
3304
3305#define wxFindReplaceData_GetFindString(_swigobj) (_swigobj->GetFindString())
3306static PyObject *_wrap_wxFindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject * _resultobj;
3308 wxString * _result;
3309 wxFindReplaceData * _arg0;
3310 PyObject * _argo0 = 0;
3311 char *_kwnames[] = { "self", NULL };
3312
3313 self = self;
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindReplaceData_GetFindString",_kwnames,&_argo0))
3315 return NULL;
3316 if (_argo0) {
3317 if (_argo0 == Py_None) { _arg0 = NULL; }
3318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceData_p")) {
3319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p.");
3320 return NULL;
3321 }
3322 }
3323{
3324 wxPy_BEGIN_ALLOW_THREADS;
3325 const wxString & _result_ref = wxFindReplaceData_GetFindString(_arg0);
3326 _result = (wxString *) &_result_ref;
3327
3328 wxPy_END_ALLOW_THREADS;
3329 if (PyErr_Occurred()) return NULL;
3330}{
3331 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3332}
3333 return _resultobj;
3334}
3335
3336#define wxFindReplaceData_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3337static PyObject *_wrap_wxFindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject * _resultobj;
3339 wxString * _result;
3340 wxFindReplaceData * _arg0;
3341 PyObject * _argo0 = 0;
3342 char *_kwnames[] = { "self", NULL };
3343
3344 self = self;
3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindReplaceData_GetReplaceString",_kwnames,&_argo0))
3346 return NULL;
3347 if (_argo0) {
3348 if (_argo0 == Py_None) { _arg0 = NULL; }
3349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceData_p")) {
3350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p.");
3351 return NULL;
3352 }
3353 }
3354{
3355 wxPy_BEGIN_ALLOW_THREADS;
3356 const wxString & _result_ref = wxFindReplaceData_GetReplaceString(_arg0);
3357 _result = (wxString *) &_result_ref;
3358
3359 wxPy_END_ALLOW_THREADS;
3360 if (PyErr_Occurred()) return NULL;
3361}{
3362 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3363}
3364 return _resultobj;
3365}
3366
3367#define wxFindReplaceData_GetFlags(_swigobj) (_swigobj->GetFlags())
3368static PyObject *_wrap_wxFindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject * _resultobj;
3370 int _result;
3371 wxFindReplaceData * _arg0;
3372 PyObject * _argo0 = 0;
3373 char *_kwnames[] = { "self", NULL };
3374
3375 self = self;
3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindReplaceData_GetFlags",_kwnames,&_argo0))
3377 return NULL;
3378 if (_argo0) {
3379 if (_argo0 == Py_None) { _arg0 = NULL; }
3380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceData_p")) {
3381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p.");
3382 return NULL;
3383 }
3384 }
3385{
3386 wxPy_BEGIN_ALLOW_THREADS;
3387 _result = (int )wxFindReplaceData_GetFlags(_arg0);
3388
3389 wxPy_END_ALLOW_THREADS;
3390 if (PyErr_Occurred()) return NULL;
3391} _resultobj = Py_BuildValue("i",_result);
3392 return _resultobj;
3393}
3394
3395#define wxFindReplaceData_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3396static PyObject *_wrap_wxFindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject * _resultobj;
3398 wxFindReplaceData * _arg0;
3399 int _arg1;
3400 PyObject * _argo0 = 0;
3401 char *_kwnames[] = { "self","flags", NULL };
3402
3403 self = self;
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFindReplaceData_SetFlags",_kwnames,&_argo0,&_arg1))
3405 return NULL;
3406 if (_argo0) {
3407 if (_argo0 == Py_None) { _arg0 = NULL; }
3408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceData_p")) {
3409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p.");
3410 return NULL;
3411 }
3412 }
3413{
3414 wxPy_BEGIN_ALLOW_THREADS;
3415 wxFindReplaceData_SetFlags(_arg0,_arg1);
3416
3417 wxPy_END_ALLOW_THREADS;
3418 if (PyErr_Occurred()) return NULL;
3419} Py_INCREF(Py_None);
3420 _resultobj = Py_None;
3421 return _resultobj;
3422}
3423
3424#define wxFindReplaceData_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3425static PyObject *_wrap_wxFindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject * _resultobj;
3427 wxFindReplaceData * _arg0;
3428 wxString * _arg1;
3429 PyObject * _argo0 = 0;
3430 PyObject * _obj1 = 0;
3431 char *_kwnames[] = { "self","str", NULL };
3432
3433 self = self;
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFindReplaceData_SetFindString",_kwnames,&_argo0,&_obj1))
3435 return NULL;
3436 if (_argo0) {
3437 if (_argo0 == Py_None) { _arg0 = NULL; }
3438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceData_p")) {
3439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p.");
3440 return NULL;
3441 }
3442 }
3443{
3444#if PYTHON_API_VERSION >= 1009
3445 char* tmpPtr; int tmpSize;
3446 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3447 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3448 return NULL;
3449 }
3450 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3451 return NULL;
3452 _arg1 = new wxString(tmpPtr, tmpSize);
3453#else
3454 if (!PyString_Check(_obj1)) {
3455 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3456 return NULL;
3457 }
3458 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3459#endif
3460}
3461{
3462 wxPy_BEGIN_ALLOW_THREADS;
3463 wxFindReplaceData_SetFindString(_arg0,*_arg1);
3464
3465 wxPy_END_ALLOW_THREADS;
3466 if (PyErr_Occurred()) return NULL;
3467} Py_INCREF(Py_None);
3468 _resultobj = Py_None;
3469{
3470 if (_obj1)
3471 delete _arg1;
3472}
3473 return _resultobj;
3474}
3475
3476#define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3477static PyObject *_wrap_wxFindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject * _resultobj;
3479 wxFindReplaceData * _arg0;
3480 wxString * _arg1;
3481 PyObject * _argo0 = 0;
3482 PyObject * _obj1 = 0;
3483 char *_kwnames[] = { "self","str", NULL };
3484
3485 self = self;
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFindReplaceData_SetReplaceString",_kwnames,&_argo0,&_obj1))
3487 return NULL;
3488 if (_argo0) {
3489 if (_argo0 == Py_None) { _arg0 = NULL; }
3490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceData_p")) {
3491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p.");
3492 return NULL;
3493 }
3494 }
3495{
3496#if PYTHON_API_VERSION >= 1009
3497 char* tmpPtr; int tmpSize;
3498 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3499 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3500 return NULL;
3501 }
3502 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3503 return NULL;
3504 _arg1 = new wxString(tmpPtr, tmpSize);
3505#else
3506 if (!PyString_Check(_obj1)) {
3507 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3508 return NULL;
3509 }
3510 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3511#endif
3512}
3513{
3514 wxPy_BEGIN_ALLOW_THREADS;
3515 wxFindReplaceData_SetReplaceString(_arg0,*_arg1);
3516
3517 wxPy_END_ALLOW_THREADS;
3518 if (PyErr_Occurred()) return NULL;
3519} Py_INCREF(Py_None);
3520 _resultobj = Py_None;
3521{
3522 if (_obj1)
3523 delete _arg1;
3524}
3525 return _resultobj;
3526}
3527
3528static void *SwigwxFindReplaceDialogTowxDialog(void *ptr) {
3529 wxFindReplaceDialog *src;
3530 wxDialog *dest;
3531 src = (wxFindReplaceDialog *) ptr;
3532 dest = (wxDialog *) src;
3533 return (void *) dest;
3534}
3535
3536static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr) {
3537 wxFindReplaceDialog *src;
3538 wxTopLevelWindow *dest;
3539 src = (wxFindReplaceDialog *) ptr;
3540 dest = (wxTopLevelWindow *) src;
3541 return (void *) dest;
3542}
3543
3544static void *SwigwxFindReplaceDialogTowxWindow(void *ptr) {
3545 wxFindReplaceDialog *src;
3546 wxWindow *dest;
3547 src = (wxFindReplaceDialog *) ptr;
3548 dest = (wxWindow *) src;
3549 return (void *) dest;
3550}
3551
3552static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr) {
3553 wxFindReplaceDialog *src;
3554 wxEvtHandler *dest;
3555 src = (wxFindReplaceDialog *) ptr;
3556 dest = (wxEvtHandler *) src;
3557 return (void *) dest;
3558}
3559
3560static void *SwigwxFindReplaceDialogTowxObject(void *ptr) {
3561 wxFindReplaceDialog *src;
3562 wxObject *dest;
3563 src = (wxFindReplaceDialog *) ptr;
3564 dest = (wxObject *) src;
3565 return (void *) dest;
3566}
3567
3568#define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3569static PyObject *_wrap_new_wxFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject * _resultobj;
3571 wxFindReplaceDialog * _result;
3572 wxWindow * _arg0;
3573 wxFindReplaceData * _arg1;
3574 wxString * _arg2;
3575 int _arg3 = (int ) 0;
3576 PyObject * _argo0 = 0;
3577 PyObject * _argo1 = 0;
3578 PyObject * _obj2 = 0;
3579 char *_kwnames[] = { "parent","data","title","style", NULL };
3580 char _ptemp[128];
3581
3582 self = self;
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:new_wxFindReplaceDialog",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3))
3584 return NULL;
3585 if (_argo0) {
3586 if (_argo0 == Py_None) { _arg0 = NULL; }
3587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p.");
3589 return NULL;
3590 }
3591 }
3592 if (_argo1) {
3593 if (_argo1 == Py_None) { _arg1 = NULL; }
3594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFindReplaceData_p")) {
3595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p.");
3596 return NULL;
3597 }
3598 }
3599{
3600#if PYTHON_API_VERSION >= 1009
3601 char* tmpPtr; int tmpSize;
3602 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3603 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3604 return NULL;
3605 }
3606 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3607 return NULL;
3608 _arg2 = new wxString(tmpPtr, tmpSize);
3609#else
3610 if (!PyString_Check(_obj2)) {
3611 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3612 return NULL;
3613 }
3614 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3615#endif
3616}
3617{
3618 wxPy_BEGIN_ALLOW_THREADS;
3619 _result = (wxFindReplaceDialog *)new_wxFindReplaceDialog(_arg0,_arg1,*_arg2,_arg3);
3620
3621 wxPy_END_ALLOW_THREADS;
3622 if (PyErr_Occurred()) return NULL;
3623} if (_result) {
3624 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFindReplaceDialog_p");
3625 _resultobj = Py_BuildValue("s",_ptemp);
3626 } else {
3627 Py_INCREF(Py_None);
3628 _resultobj = Py_None;
3629 }
3630{
3631 if (_obj2)
3632 delete _arg2;
3633}
3634 return _resultobj;
3635}
3636
3637#define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog())
3638static PyObject *_wrap_new_wxPreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject * _resultobj;
3640 wxFindReplaceDialog * _result;
3641 char *_kwnames[] = { NULL };
3642 char _ptemp[128];
3643
3644 self = self;
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreFindReplaceDialog",_kwnames))
3646 return NULL;
3647{
3648 wxPy_BEGIN_ALLOW_THREADS;
3649 _result = (wxFindReplaceDialog *)new_wxPreFindReplaceDialog();
3650
3651 wxPy_END_ALLOW_THREADS;
3652 if (PyErr_Occurred()) return NULL;
3653} if (_result) {
3654 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFindReplaceDialog_p");
3655 _resultobj = Py_BuildValue("s",_ptemp);
3656 } else {
3657 Py_INCREF(Py_None);
3658 _resultobj = Py_None;
3659 }
3660 return _resultobj;
3661}
3662
3663#define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3664static PyObject *_wrap_wxFindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject * _resultobj;
3666 bool _result;
3667 wxFindReplaceDialog * _arg0;
3668 wxWindow * _arg1;
3669 wxFindReplaceData * _arg2;
3670 wxString * _arg3;
3671 int _arg4 = (int ) 0;
3672 PyObject * _argo0 = 0;
3673 PyObject * _argo1 = 0;
3674 PyObject * _argo2 = 0;
3675 PyObject * _obj3 = 0;
3676 char *_kwnames[] = { "self","parent","data","title","style", NULL };
3677
3678 self = self;
3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|i:wxFindReplaceDialog_Create",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4))
3680 return NULL;
3681 if (_argo0) {
3682 if (_argo0 == Py_None) { _arg0 = NULL; }
3683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceDialog_p")) {
3684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p.");
3685 return NULL;
3686 }
3687 }
3688 if (_argo1) {
3689 if (_argo1 == Py_None) { _arg1 = NULL; }
3690 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3691 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p.");
3692 return NULL;
3693 }
3694 }
3695 if (_argo2) {
3696 if (_argo2 == Py_None) { _arg2 = NULL; }
3697 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFindReplaceData_p")) {
3698 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p.");
3699 return NULL;
3700 }
3701 }
3702{
3703#if PYTHON_API_VERSION >= 1009
3704 char* tmpPtr; int tmpSize;
3705 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
3706 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3707 return NULL;
3708 }
3709 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3710 return NULL;
3711 _arg3 = new wxString(tmpPtr, tmpSize);
3712#else
3713 if (!PyString_Check(_obj3)) {
3714 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3715 return NULL;
3716 }
3717 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
3718#endif
3719}
3720{
3721 wxPy_BEGIN_ALLOW_THREADS;
3722 _result = (bool )wxFindReplaceDialog_Create(_arg0,_arg1,_arg2,*_arg3,_arg4);
3723
3724 wxPy_END_ALLOW_THREADS;
3725 if (PyErr_Occurred()) return NULL;
3726} _resultobj = Py_BuildValue("i",_result);
3727{
3728 if (_obj3)
3729 delete _arg3;
3730}
3731 return _resultobj;
3732}
3733
3734#define wxFindReplaceDialog_GetData(_swigobj) (_swigobj->GetData())
3735static PyObject *_wrap_wxFindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject * _resultobj;
3737 wxFindReplaceData * _result;
3738 wxFindReplaceDialog * _arg0;
3739 PyObject * _argo0 = 0;
3740 char *_kwnames[] = { "self", NULL };
3741 char _ptemp[128];
3742
3743 self = self;
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindReplaceDialog_GetData",_kwnames,&_argo0))
3745 return NULL;
3746 if (_argo0) {
3747 if (_argo0 == Py_None) { _arg0 = NULL; }
3748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceDialog_p")) {
3749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p.");
3750 return NULL;
3751 }
3752 }
3753{
3754 wxPy_BEGIN_ALLOW_THREADS;
3755 _result = (wxFindReplaceData *)wxFindReplaceDialog_GetData(_arg0);
3756
3757 wxPy_END_ALLOW_THREADS;
3758 if (PyErr_Occurred()) return NULL;
3759} if (_result) {
3760 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFindReplaceData_p");
3761 _resultobj = Py_BuildValue("s",_ptemp);
3762 } else {
3763 Py_INCREF(Py_None);
3764 _resultobj = Py_None;
3765 }
3766 return _resultobj;
3767}
3768
3769#define wxFindReplaceDialog_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3770static PyObject *_wrap_wxFindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
3771 PyObject * _resultobj;
3772 wxFindReplaceDialog * _arg0;
3773 wxFindReplaceData * _arg1;
3774 PyObject * _argo0 = 0;
3775 PyObject * _argo1 = 0;
3776 char *_kwnames[] = { "self","data", NULL };
3777
3778 self = self;
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFindReplaceDialog_SetData",_kwnames,&_argo0,&_argo1))
3780 return NULL;
3781 if (_argo0) {
3782 if (_argo0 == Py_None) { _arg0 = NULL; }
3783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFindReplaceDialog_p")) {
3784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p.");
3785 return NULL;
3786 }
3787 }
3788 if (_argo1) {
3789 if (_argo1 == Py_None) { _arg1 = NULL; }
3790 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFindReplaceData_p")) {
3791 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p.");
3792 return NULL;
3793 }
3794 }
3795{
3796 wxPy_BEGIN_ALLOW_THREADS;
3797 wxFindReplaceDialog_SetData(_arg0,_arg1);
3798
3799 wxPy_END_ALLOW_THREADS;
3800 if (PyErr_Occurred()) return NULL;
3801} Py_INCREF(Py_None);
3802 _resultobj = Py_None;
3803 return _resultobj;
3804}
3805
8ab979d7 3806static PyMethodDef cmndlgscMethods[] = {
0122b7e3
RD
3807 { "wxFindReplaceDialog_SetData", (PyCFunction) _wrap_wxFindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
3808 { "wxFindReplaceDialog_GetData", (PyCFunction) _wrap_wxFindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
3809 { "wxFindReplaceDialog_Create", (PyCFunction) _wrap_wxFindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
3810 { "new_wxPreFindReplaceDialog", (PyCFunction) _wrap_new_wxPreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
3811 { "new_wxFindReplaceDialog", (PyCFunction) _wrap_new_wxFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
3812 { "wxFindReplaceData_SetReplaceString", (PyCFunction) _wrap_wxFindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
3813 { "wxFindReplaceData_SetFindString", (PyCFunction) _wrap_wxFindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
3814 { "wxFindReplaceData_SetFlags", (PyCFunction) _wrap_wxFindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
3815 { "wxFindReplaceData_GetFlags", (PyCFunction) _wrap_wxFindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
3816 { "wxFindReplaceData_GetReplaceString", (PyCFunction) _wrap_wxFindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
3817 { "wxFindReplaceData_GetFindString", (PyCFunction) _wrap_wxFindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
3818 { "delete_wxFindReplaceData", (PyCFunction) _wrap_delete_wxFindReplaceData, METH_VARARGS | METH_KEYWORDS },
3819 { "new_wxFindReplaceData", (PyCFunction) _wrap_new_wxFindReplaceData, METH_VARARGS | METH_KEYWORDS },
3820 { "wxFindDialogEvent_SetReplaceString", (PyCFunction) _wrap_wxFindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
3821 { "wxFindDialogEvent_SetFindString", (PyCFunction) _wrap_wxFindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
3822 { "wxFindDialogEvent_SetFlags", (PyCFunction) _wrap_wxFindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
3823 { "wxFindDialogEvent_GetDialog", (PyCFunction) _wrap_wxFindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
3824 { "wxFindDialogEvent_GetReplaceString", (PyCFunction) _wrap_wxFindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
3825 { "wxFindDialogEvent_GetFindString", (PyCFunction) _wrap_wxFindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
3826 { "wxFindDialogEvent_GetFlags", (PyCFunction) _wrap_wxFindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
3827 { "new_wxFindDialogEvent", (PyCFunction) _wrap_new_wxFindDialogEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
3828 { "wxProgressDialog_Resume", (PyCFunction) _wrap_wxProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
3829 { "wxProgressDialog_Update", (PyCFunction) _wrap_wxProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
3830 { "new_wxProgressDialog", (PyCFunction) _wrap_new_wxProgressDialog, METH_VARARGS | METH_KEYWORDS },
3831 { "wxMessageDialog_ShowModal", (PyCFunction) _wrap_wxMessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
3832 { "new_wxMessageDialog", (PyCFunction) _wrap_new_wxMessageDialog, METH_VARARGS | METH_KEYWORDS },
3833 { "wxFontDialog_ShowModal", (PyCFunction) _wrap_wxFontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
3834 { "wxFontDialog_GetFontData", (PyCFunction) _wrap_wxFontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
3835 { "new_wxFontDialog", (PyCFunction) _wrap_new_wxFontDialog, METH_VARARGS | METH_KEYWORDS },
3836 { "wxFontData_SetShowHelp", (PyCFunction) _wrap_wxFontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
3837 { "wxFontData_SetRange", (PyCFunction) _wrap_wxFontData_SetRange, METH_VARARGS | METH_KEYWORDS },
3838 { "wxFontData_SetInitialFont", (PyCFunction) _wrap_wxFontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
3839 { "wxFontData_SetColour", (PyCFunction) _wrap_wxFontData_SetColour, METH_VARARGS | METH_KEYWORDS },
3840 { "wxFontData_SetChosenFont", (PyCFunction) _wrap_wxFontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
3841 { "wxFontData_SetAllowSymbols", (PyCFunction) _wrap_wxFontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
3842 { "wxFontData_GetShowHelp", (PyCFunction) _wrap_wxFontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
3843 { "wxFontData_GetInitialFont", (PyCFunction) _wrap_wxFontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
3844 { "wxFontData_GetEnableEffects", (PyCFunction) _wrap_wxFontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
3845 { "wxFontData_GetChosenFont", (PyCFunction) _wrap_wxFontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
3846 { "wxFontData_GetColour", (PyCFunction) _wrap_wxFontData_GetColour, METH_VARARGS | METH_KEYWORDS },
3847 { "wxFontData_GetAllowSymbols", (PyCFunction) _wrap_wxFontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
3848 { "wxFontData_EnableEffects", (PyCFunction) _wrap_wxFontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
3849 { "delete_wxFontData", (PyCFunction) _wrap_delete_wxFontData, METH_VARARGS | METH_KEYWORDS },
3850 { "new_wxFontData", (PyCFunction) _wrap_new_wxFontData, METH_VARARGS | METH_KEYWORDS },
3851 { "wxTextEntryDialog_ShowModal", (PyCFunction) _wrap_wxTextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
3852 { "wxTextEntryDialog_SetValue", (PyCFunction) _wrap_wxTextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
3853 { "wxTextEntryDialog_GetValue", (PyCFunction) _wrap_wxTextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
3854 { "new_wxTextEntryDialog", (PyCFunction) _wrap_new_wxTextEntryDialog, METH_VARARGS | METH_KEYWORDS },
3855 { "wxSingleChoiceDialog_ShowModal", (PyCFunction) _wrap_wxSingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
3856 { "wxSingleChoiceDialog_SetSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
3857 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
3858 { "wxSingleChoiceDialog_GetSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
3859 { "new_wxSingleChoiceDialog", (PyCFunction) _wrap_new_wxSingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
3860 { "wxFileDialog_GetPaths", (PyCFunction) _wrap_wxFileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
3861 { "wxFileDialog_GetFilenames", (PyCFunction) _wrap_wxFileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
3862 { "wxFileDialog_ShowModal", (PyCFunction) _wrap_wxFileDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
3863 { "wxFileDialog_SetWildcard", (PyCFunction) _wrap_wxFileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
3864 { "wxFileDialog_SetStyle", (PyCFunction) _wrap_wxFileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
3865 { "wxFileDialog_SetPath", (PyCFunction) _wrap_wxFileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
3866 { "wxFileDialog_SetMessage", (PyCFunction) _wrap_wxFileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
3867 { "wxFileDialog_SetFilterIndex", (PyCFunction) _wrap_wxFileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
3868 { "wxFileDialog_SetFilename", (PyCFunction) _wrap_wxFileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
3869 { "wxFileDialog_SetDirectory", (PyCFunction) _wrap_wxFileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
3870 { "wxFileDialog_GetWildcard", (PyCFunction) _wrap_wxFileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
3871 { "wxFileDialog_GetStyle", (PyCFunction) _wrap_wxFileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
3872 { "wxFileDialog_GetPath", (PyCFunction) _wrap_wxFileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
3873 { "wxFileDialog_GetMessage", (PyCFunction) _wrap_wxFileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
3874 { "wxFileDialog_GetFilterIndex", (PyCFunction) _wrap_wxFileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
3875 { "wxFileDialog_GetFilename", (PyCFunction) _wrap_wxFileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
3876 { "wxFileDialog_GetDirectory", (PyCFunction) _wrap_wxFileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
3877 { "new_wxFileDialog", (PyCFunction) _wrap_new_wxFileDialog, METH_VARARGS | METH_KEYWORDS },
3878 { "wxDirDialog_ShowModal", (PyCFunction) _wrap_wxDirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
3879 { "wxDirDialog_SetPath", (PyCFunction) _wrap_wxDirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
3880 { "wxDirDialog_SetMessage", (PyCFunction) _wrap_wxDirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
3881 { "wxDirDialog_GetStyle", (PyCFunction) _wrap_wxDirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
3882 { "wxDirDialog_GetMessage", (PyCFunction) _wrap_wxDirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
3883 { "wxDirDialog_GetPath", (PyCFunction) _wrap_wxDirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
3884 { "new_wxDirDialog", (PyCFunction) _wrap_new_wxDirDialog, METH_VARARGS | METH_KEYWORDS },
3885 { "wxColourDialog_ShowModal", (PyCFunction) _wrap_wxColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
3886 { "wxColourDialog_GetColourData", (PyCFunction) _wrap_wxColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
3887 { "new_wxColourDialog", (PyCFunction) _wrap_new_wxColourDialog, METH_VARARGS | METH_KEYWORDS },
3888 { "wxColourData_SetCustomColour", (PyCFunction) _wrap_wxColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
3889 { "wxColourData_SetColour", (PyCFunction) _wrap_wxColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
3890 { "wxColourData_SetChooseFull", (PyCFunction) _wrap_wxColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
3891 { "wxColourData_GetCustomColour", (PyCFunction) _wrap_wxColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
3892 { "wxColourData_GetColour", (PyCFunction) _wrap_wxColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
3893 { "wxColourData_GetChooseFull", (PyCFunction) _wrap_wxColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
3894 { "delete_wxColourData", (PyCFunction) _wrap_delete_wxColourData, METH_VARARGS | METH_KEYWORDS },
3895 { "new_wxColourData", (PyCFunction) _wrap_new_wxColourData, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
3896 { NULL, NULL }
3897};
1d99702e
RD
3898#ifdef __cplusplus
3899}
3900#endif
3901/*
3902 * This table is used by the pointer type-checker
3903 */
3904static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
0122b7e3 3905 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent},
1d99702e 3906 { "_signed_long","_long",0},
b1462dfa 3907 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
3908 { "_wxPrintQuality","_int",0},
3909 { "_wxPrintQuality","_signed_int",0},
3910 { "_wxPrintQuality","_unsigned_int",0},
3911 { "_wxPrintQuality","_wxWindowID",0},
3912 { "_wxPrintQuality","_uint",0},
3913 { "_wxPrintQuality","_EBool",0},
3914 { "_wxPrintQuality","_size_t",0},
c368d904 3915 { "_wxPrintQuality","_time_t",0},
1d99702e 3916 { "_byte","_unsigned_char",0},
1d99702e
RD
3917 { "_long","_unsigned_long",0},
3918 { "_long","_signed_long",0},
b1462dfa 3919 { "_size_t","_wxCoord",0},
1d99702e 3920 { "_size_t","_wxPrintQuality",0},
c368d904 3921 { "_size_t","_time_t",0},
1d99702e
RD
3922 { "_size_t","_unsigned_int",0},
3923 { "_size_t","_int",0},
3924 { "_size_t","_wxWindowID",0},
3925 { "_size_t","_uint",0},
0122b7e3 3926 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow},
65fe3842
RD
3927 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow},
3928 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow},
3929 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow},
3930 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow},
3931 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow},
3932 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow},
3933 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow},
3934 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow},
b1462dfa 3935 { "_uint","_wxCoord",0},
1d99702e 3936 { "_uint","_wxPrintQuality",0},
c368d904 3937 { "_uint","_time_t",0},
1d99702e
RD
3938 { "_uint","_size_t",0},
3939 { "_uint","_unsigned_int",0},
3940 { "_uint","_int",0},
3941 { "_uint","_wxWindowID",0},
f6bcfd97 3942 { "_wxChar","_char",0},
0122b7e3 3943 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent},
f6bcfd97 3944 { "_char","_wxChar",0},
cdf14688 3945 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 3946 { "_EBool","_wxCoord",0},
1d99702e
RD
3947 { "_EBool","_wxPrintQuality",0},
3948 { "_EBool","_signed_int",0},
3949 { "_EBool","_int",0},
3950 { "_EBool","_wxWindowID",0},
1d99702e 3951 { "_unsigned_long","_long",0},
cdf14688 3952 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 3953 { "_signed_int","_wxCoord",0},
1d99702e
RD
3954 { "_signed_int","_wxPrintQuality",0},
3955 { "_signed_int","_EBool",0},
3956 { "_signed_int","_wxWindowID",0},
3957 { "_signed_int","_int",0},
1d99702e
RD
3958 { "_WXTYPE","_short",0},
3959 { "_WXTYPE","_signed_short",0},
3960 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
3961 { "_unsigned_short","_WXTYPE",0},
3962 { "_unsigned_short","_short",0},
0122b7e3
RD
3963 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject},
3964 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject},
3965 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject},
9416aa89 3966 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject},
9416aa89 3967 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject},
9416aa89 3968 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject},
9416aa89 3969 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject},
9416aa89 3970 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
9416aa89 3971 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
9416aa89 3972 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject},
9416aa89 3973 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject},
9416aa89 3974 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject},
9416aa89 3975 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject},
1d99702e
RD
3976 { "_signed_short","_WXTYPE",0},
3977 { "_signed_short","_short",0},
1d99702e 3978 { "_unsigned_char","_byte",0},
b1462dfa 3979 { "_unsigned_int","_wxCoord",0},
1d99702e 3980 { "_unsigned_int","_wxPrintQuality",0},
c368d904 3981 { "_unsigned_int","_time_t",0},
1d99702e
RD
3982 { "_unsigned_int","_size_t",0},
3983 { "_unsigned_int","_uint",0},
3984 { "_unsigned_int","_wxWindowID",0},
3985 { "_unsigned_int","_int",0},
0122b7e3 3986 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog},
1d99702e 3987 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog},
1d99702e 3988 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog},
1d99702e 3989 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
1d99702e 3990 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
1d99702e 3991 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog},
1d99702e 3992 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog},
1d99702e 3993 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog},
1d99702e
RD
3994 { "_short","_WXTYPE",0},
3995 { "_short","_unsigned_short",0},
3996 { "_short","_signed_short",0},
1d99702e 3997 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame},
b1462dfa 3998 { "_wxWindowID","_wxCoord",0},
1d99702e 3999 { "_wxWindowID","_wxPrintQuality",0},
c368d904 4000 { "_wxWindowID","_time_t",0},
1d99702e
RD
4001 { "_wxWindowID","_size_t",0},
4002 { "_wxWindowID","_EBool",0},
4003 { "_wxWindowID","_uint",0},
4004 { "_wxWindowID","_int",0},
4005 { "_wxWindowID","_signed_int",0},
4006 { "_wxWindowID","_unsigned_int",0},
b1462dfa 4007 { "_int","_wxCoord",0},
1d99702e 4008 { "_int","_wxPrintQuality",0},
c368d904 4009 { "_int","_time_t",0},
1d99702e
RD
4010 { "_int","_size_t",0},
4011 { "_int","_EBool",0},
4012 { "_int","_uint",0},
4013 { "_int","_wxWindowID",0},
4014 { "_int","_unsigned_int",0},
4015 { "_int","_signed_int",0},
c368d904
RD
4016 { "_time_t","_wxCoord",0},
4017 { "_time_t","_wxPrintQuality",0},
4018 { "_time_t","_unsigned_int",0},
4019 { "_time_t","_int",0},
4020 { "_time_t","_wxWindowID",0},
4021 { "_time_t","_uint",0},
4022 { "_time_t","_size_t",0},
b1462dfa
RD
4023 { "_wxCoord","_int",0},
4024 { "_wxCoord","_signed_int",0},
4025 { "_wxCoord","_unsigned_int",0},
4026 { "_wxCoord","_wxWindowID",0},
4027 { "_wxCoord","_uint",0},
4028 { "_wxCoord","_EBool",0},
4029 { "_wxCoord","_size_t",0},
c368d904 4030 { "_wxCoord","_time_t",0},
b1462dfa 4031 { "_wxCoord","_wxPrintQuality",0},
0122b7e3 4032 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler},
1d99702e 4033 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
1d99702e 4034 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
1d99702e 4035 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
1d99702e 4036 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
1d99702e 4037 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
1d99702e 4038 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
1d99702e 4039 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
1d99702e 4040 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
0122b7e3 4041 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow},
1d99702e 4042 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow},
1d99702e 4043 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow},
1d99702e 4044 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow},
1d99702e 4045 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
1d99702e 4046 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
1d99702e 4047 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow},
1d99702e 4048 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow},
1d99702e 4049 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow},
1d99702e
RD
4050{0,0,0}};
4051
8ab979d7
RD
4052static PyObject *SWIG_globals;
4053#ifdef __cplusplus
4054extern "C"
4055#endif
1d99702e 4056SWIGEXPORT(void) initcmndlgsc() {
8ab979d7
RD
4057 PyObject *m, *d;
4058 SWIG_globals = SWIG_newvarlink();
4059 m = Py_InitModule("cmndlgsc", cmndlgscMethods);
4060 d = PyModule_GetDict(m);
0122b7e3
RD
4061 PyDict_SetItemString(d,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN));
4062 PyDict_SetItemString(d,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD));
4063 PyDict_SetItemString(d,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE));
4064 PyDict_SetItemString(d,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG));
4065 PyDict_SetItemString(d,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN));
4066 PyDict_SetItemString(d,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE));
4067 PyDict_SetItemString(d,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD));
4068 PyDict_SetItemString(d,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND));
4069 PyDict_SetItemString(d,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT));
4070 PyDict_SetItemString(d,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE));
4071 PyDict_SetItemString(d,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL));
4072 PyDict_SetItemString(d,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE));
1d99702e
RD
4073{
4074 int i;
4075 for (i = 0; _swig_mapping[i].n1; i++)
4076 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
4077}
8ab979d7 4078}