]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/cmndlgs.cpp
SWIGged updates for wxGTK
[wxWidgets.git] / wxPython / src / gtk / cmndlgs.cpp
CommitLineData
70551f47 1/*
2cd2fac8 2 * FILE : src/gtk/cmndlgs.cpp
70551f47
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
70551f47
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
70551f47
RD
28# else
29# if defined(__BORLANDC__)
3bcd5e1c 30# define SWIGEXPORT(a) a _export
70551f47 31# else
3bcd5e1c 32# define SWIGEXPORT(a) a
70551f47
RD
33# endif
34# endif
35#else
3bcd5e1c 36# define SWIGEXPORT(a) a
70551f47
RD
37#endif
38
3bcd5e1c
RD
39#include "Python.h"
40
70551f47
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
3bcd5e1c 44
70551f47
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
70551f47
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
70551f47
RD
54#define SWIG_init initcmndlgsc
55
56#define SWIG_name "cmndlgsc"
57
58#include "helpers.h"
59#include <wx/colordlg.h>
60#include <wx/dirdlg.h>
61#include <wx/fontdlg.h>
d24a34bb 62#include <wx/progdlg.h>
0220cbc1 63#include <wx/fdrepdlg.h>
70551f47 64
70551f47
RD
65
66static PyObject* t_output_helper(PyObject* target, PyObject* o) {
67 PyObject* o2;
68 PyObject* o3;
69
3bcd5e1c 70 if (!target) {
70551f47 71 target = o;
3bcd5e1c 72 } else if (target == Py_None) {
70551f47
RD
73 Py_DECREF(Py_None);
74 target = o;
3bcd5e1c 75 } else {
70551f47
RD
76 if (!PyTuple_Check(target)) {
77 o2 = target;
78 target = PyTuple_New(1);
79 PyTuple_SetItem(target, 0, o2);
80 }
3bcd5e1c
RD
81 o3 = PyTuple_New(1);
82 PyTuple_SetItem(o3, 0, o);
70551f47
RD
83
84 o2 = target;
3bcd5e1c
RD
85 target = PySequence_Concat(o2, o3);
86 Py_DECREF(o2);
70551f47
RD
87 Py_DECREF(o3);
88 }
89 return target;
90}
91
7a446686
RD
92#if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg = "String or Unicode type required";
94#else
0220cbc1 95 static char* wxStringErrorMsg = "String type required";
7a446686 96#endif
2d091820
RD
97#ifdef __cplusplus
98extern "C" {
99#endif
9df61a29
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
70551f47 108#define new_wxColourData() (new wxColourData())
107e4716 109static PyObject *_wrap_new_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
110 PyObject * _resultobj;
111 wxColourData * _result;
107e4716 112 char *_kwnames[] = { NULL };
70551f47
RD
113 char _ptemp[128];
114
115 self = self;
107e4716 116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxColourData",_kwnames))
70551f47 117 return NULL;
ab9bc19b 118{
474c48f9 119 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
120 _result = (wxColourData *)new_wxColourData();
121
474c48f9 122 wxPyEndAllowThreads(__tstate);
4dfaa61e 123 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
131 return _resultobj;
132}
133
134#define delete_wxColourData(_swigobj) (delete _swigobj)
107e4716 135static PyObject *_wrap_delete_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
136 PyObject * _resultobj;
137 wxColourData * _arg0;
2d091820 138 PyObject * _argo0 = 0;
107e4716 139 char *_kwnames[] = { "self", NULL };
70551f47
RD
140
141 self = self;
107e4716 142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColourData",_kwnames,&_argo0))
70551f47 143 return NULL;
2d091820
RD
144 if (_argo0) {
145 if (_argo0 == Py_None) { _arg0 = NULL; }
146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
148 return NULL;
149 }
150 }
ab9bc19b 151{
474c48f9 152 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
153 delete_wxColourData(_arg0);
154
474c48f9 155 wxPyEndAllowThreads(__tstate);
4dfaa61e 156 if (PyErr_Occurred()) return NULL;
ab9bc19b 157} Py_INCREF(Py_None);
70551f47
RD
158 _resultobj = Py_None;
159 return _resultobj;
160}
161
162#define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
107e4716 163static PyObject *_wrap_wxColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
164 PyObject * _resultobj;
165 bool _result;
166 wxColourData * _arg0;
2d091820 167 PyObject * _argo0 = 0;
107e4716 168 char *_kwnames[] = { "self", NULL };
70551f47
RD
169
170 self = self;
107e4716 171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetChooseFull",_kwnames,&_argo0))
70551f47 172 return NULL;
2d091820
RD
173 if (_argo0) {
174 if (_argo0 == Py_None) { _arg0 = NULL; }
175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
177 return NULL;
178 }
179 }
ab9bc19b 180{
474c48f9 181 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
182 _result = (bool )wxColourData_GetChooseFull(_arg0);
183
474c48f9 184 wxPyEndAllowThreads(__tstate);
4dfaa61e 185 if (PyErr_Occurred()) return NULL;
ab9bc19b 186} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
187 return _resultobj;
188}
189
190#define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
107e4716 191static PyObject *_wrap_wxColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
192 PyObject * _resultobj;
193 wxColour * _result;
194 wxColourData * _arg0;
2d091820 195 PyObject * _argo0 = 0;
107e4716 196 char *_kwnames[] = { "self", NULL };
70551f47
RD
197 char _ptemp[128];
198
199 self = self;
107e4716 200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetColour",_kwnames,&_argo0))
70551f47 201 return NULL;
2d091820
RD
202 if (_argo0) {
203 if (_argo0 == Py_None) { _arg0 = NULL; }
204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
206 return NULL;
207 }
208 }
ab9bc19b 209{
474c48f9 210 PyThreadState* __tstate = wxPyBeginAllowThreads();
84a81942 211 _result = new wxColour (wxColourData_GetColour(_arg0));
ab9bc19b 212
474c48f9 213 wxPyEndAllowThreads(__tstate);
4dfaa61e 214 if (PyErr_Occurred()) return NULL;
84a81942
RD
215} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
216 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
217 return _resultobj;
218}
219
220#define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
107e4716 221static PyObject *_wrap_wxColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
222 PyObject * _resultobj;
223 wxColour * _result;
224 wxColourData * _arg0;
225 int _arg1;
2d091820 226 PyObject * _argo0 = 0;
107e4716 227 char *_kwnames[] = { "self","i", NULL };
70551f47
RD
228 char _ptemp[128];
229
230 self = self;
107e4716 231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_GetCustomColour",_kwnames,&_argo0,&_arg1))
70551f47 232 return NULL;
2d091820
RD
233 if (_argo0) {
234 if (_argo0 == Py_None) { _arg0 = NULL; }
235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
237 return NULL;
238 }
239 }
ab9bc19b 240{
474c48f9 241 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
242 _result = new wxColour (wxColourData_GetCustomColour(_arg0,_arg1));
243
474c48f9 244 wxPyEndAllowThreads(__tstate);
4dfaa61e 245 if (PyErr_Occurred()) return NULL;
ab9bc19b 246} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
70551f47
RD
247 _resultobj = Py_BuildValue("s",_ptemp);
248 return _resultobj;
249}
250
251#define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
107e4716 252static PyObject *_wrap_wxColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
253 PyObject * _resultobj;
254 wxColourData * _arg0;
255 int _arg1;
2d091820 256 PyObject * _argo0 = 0;
107e4716 257 char *_kwnames[] = { "self","flag", NULL };
70551f47
RD
258
259 self = self;
107e4716 260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_SetChooseFull",_kwnames,&_argo0,&_arg1))
70551f47 261 return NULL;
2d091820
RD
262 if (_argo0) {
263 if (_argo0 == Py_None) { _arg0 = NULL; }
264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
RD
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
266 return NULL;
267 }
268 }
ab9bc19b 269{
474c48f9 270 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
271 wxColourData_SetChooseFull(_arg0,_arg1);
272
474c48f9 273 wxPyEndAllowThreads(__tstate);
4dfaa61e 274 if (PyErr_Occurred()) return NULL;
ab9bc19b 275} Py_INCREF(Py_None);
70551f47
RD
276 _resultobj = Py_None;
277 return _resultobj;
278}
279
280#define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
107e4716 281static PyObject *_wrap_wxColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
282 PyObject * _resultobj;
283 wxColourData * _arg0;
284 wxColour * _arg1;
2d091820 285 PyObject * _argo0 = 0;
f6bcfd97
BP
286 wxColour temp;
287 PyObject * _obj1 = 0;
107e4716 288 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
289
290 self = self;
f6bcfd97 291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourData_SetColour",_kwnames,&_argo0,&_obj1))
70551f47 292 return NULL;
2d091820
RD
293 if (_argo0) {
294 if (_argo0 == Py_None) { _arg0 = NULL; }
295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
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))
70551f47 303 return NULL;
f6bcfd97 304}
ab9bc19b 305{
474c48f9 306 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
307 wxColourData_SetColour(_arg0,*_arg1);
308
474c48f9 309 wxPyEndAllowThreads(__tstate);
4dfaa61e 310 if (PyErr_Occurred()) return NULL;
ab9bc19b 311} Py_INCREF(Py_None);
70551f47
RD
312 _resultobj = Py_None;
313 return _resultobj;
314}
315
316#define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
107e4716 317static PyObject *_wrap_wxColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
318 PyObject * _resultobj;
319 wxColourData * _arg0;
320 int _arg1;
321 wxColour * _arg2;
2d091820 322 PyObject * _argo0 = 0;
f6bcfd97
BP
323 wxColour temp;
324 PyObject * _obj2 = 0;
107e4716 325 char *_kwnames[] = { "self","i","colour", NULL };
70551f47
RD
326
327 self = self;
f6bcfd97 328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxColourData_SetCustomColour",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 329 return NULL;
2d091820
RD
330 if (_argo0) {
331 if (_argo0 == Py_None) { _arg0 = NULL; }
332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
70551f47
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))
70551f47 340 return NULL;
f6bcfd97 341}
ab9bc19b 342{
474c48f9 343 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
344 wxColourData_SetCustomColour(_arg0,_arg1,*_arg2);
345
474c48f9 346 wxPyEndAllowThreads(__tstate);
4dfaa61e 347 if (PyErr_Occurred()) return NULL;
ab9bc19b 348} Py_INCREF(Py_None);
70551f47
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
32c988a3 361static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr) {
70551f47 362 wxColourDialog *src;
32c988a3 363 wxTopLevelWindow *dest;
70551f47 364 src = (wxColourDialog *) ptr;
32c988a3 365 dest = (wxTopLevelWindow *) src;
70551f47
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
9df61a29
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
70551f47 393#define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
107e4716 394static PyObject *_wrap_new_wxColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
395 PyObject * _resultobj;
396 wxColourDialog * _result;
397 wxWindow * _arg0;
2d091820
RD
398 wxColourData * _arg1 = (wxColourData *) NULL;
399 PyObject * _argo0 = 0;
400 PyObject * _argo1 = 0;
107e4716 401 char *_kwnames[] = { "parent","data", NULL };
70551f47
RD
402 char _ptemp[128];
403
404 self = self;
107e4716 405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxColourDialog",_kwnames,&_argo0,&_argo1))
70551f47 406 return NULL;
2d091820
RD
407 if (_argo0) {
408 if (_argo0 == Py_None) { _arg0 = NULL; }
409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
411 return NULL;
412 }
413 }
2d091820
RD
414 if (_argo1) {
415 if (_argo1 == Py_None) { _arg1 = NULL; }
416 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColourData_p")) {
70551f47
RD
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
418 return NULL;
419 }
420 }
ab9bc19b 421{
474c48f9 422 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
423 _result = (wxColourDialog *)new_wxColourDialog(_arg0,_arg1);
424
474c48f9 425 wxPyEndAllowThreads(__tstate);
4dfaa61e 426 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
434 return _resultobj;
435}
436
437#define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
107e4716 438static PyObject *_wrap_wxColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
439 PyObject * _resultobj;
440 wxColourData * _result;
441 wxColourDialog * _arg0;
2d091820 442 PyObject * _argo0 = 0;
107e4716 443 char *_kwnames[] = { "self", NULL };
70551f47
RD
444 char _ptemp[128];
445
446 self = self;
107e4716 447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_GetColourData",_kwnames,&_argo0))
70551f47 448 return NULL;
2d091820
RD
449 if (_argo0) {
450 if (_argo0 == Py_None) { _arg0 = NULL; }
451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
70551f47
RD
452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
453 return NULL;
454 }
455 }
ab9bc19b 456{
474c48f9 457 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b 458 wxColourData & _result_ref = wxColourDialog_GetColourData(_arg0);
c95e68d8 459 _result = (wxColourData *) &_result_ref;
ab9bc19b 460
474c48f9 461 wxPyEndAllowThreads(__tstate);
4dfaa61e 462 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
470 return _resultobj;
471}
472
473#define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 474static PyObject *_wrap_wxColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
475 PyObject * _resultobj;
476 int _result;
477 wxColourDialog * _arg0;
2d091820 478 PyObject * _argo0 = 0;
107e4716 479 char *_kwnames[] = { "self", NULL };
70551f47
RD
480
481 self = self;
107e4716 482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_ShowModal",_kwnames,&_argo0))
70551f47 483 return NULL;
2d091820
RD
484 if (_argo0) {
485 if (_argo0 == Py_None) { _arg0 = NULL; }
486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
70551f47
RD
487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
488 return NULL;
489 }
490 }
ab9bc19b 491{
474c48f9 492 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
493 _result = (int )wxColourDialog_ShowModal(_arg0);
494
474c48f9 495 wxPyEndAllowThreads(__tstate);
4dfaa61e 496 if (PyErr_Occurred()) return NULL;
ab9bc19b 497} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
498 return _resultobj;
499}
500
c95e68d8
RD
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
32c988a3 509static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr) {
c95e68d8 510 wxDirDialog *src;
32c988a3 511 wxTopLevelWindow *dest;
c95e68d8 512 src = (wxDirDialog *) ptr;
32c988a3 513 dest = (wxTopLevelWindow *) src;
c95e68d8
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
9df61a29
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
c95e68d8 541#define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 542static PyObject *_wrap_new_wxDirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
543 PyObject * _resultobj;
544 wxDirDialog * _result;
545 wxWindow * _arg0;
2d091820
RD
546 char * _arg1 = (char *) "Choose a directory";
547 char * _arg2 = (char *) "";
548 long _arg3 = (long ) 0;
b68dc582 549 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2d091820 550 PyObject * _argo0 = 0;
37f6a977
RD
551 wxPoint temp;
552 PyObject * _obj4 = 0;
107e4716 553 char *_kwnames[] = { "parent","message","defaultPath","style","pos", NULL };
c95e68d8
RD
554 char _ptemp[128];
555
556 self = self;
37f6a977 557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sslO:new_wxDirDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
c95e68d8 558 return NULL;
2d091820
RD
559 if (_argo0) {
560 if (_argo0 == Py_None) { _arg0 = NULL; }
561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
c95e68d8
RD
562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
563 return NULL;
564 }
565 }
37f6a977
RD
566 if (_obj4)
567{
568 _arg4 = &temp;
569 if (! wxPoint_helper(_obj4, &_arg4))
c95e68d8 570 return NULL;
37f6a977 571}
ab9bc19b 572{
474c48f9 573 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
574 _result = (wxDirDialog *)new_wxDirDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
575
474c48f9 576 wxPyEndAllowThreads(__tstate);
4dfaa61e 577 if (PyErr_Occurred()) return NULL;
2d091820
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 }
c95e68d8
RD
585 return _resultobj;
586}
587
588#define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
107e4716 589static PyObject *_wrap_wxDirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
590 PyObject * _resultobj;
591 wxString * _result;
592 wxDirDialog * _arg0;
2d091820 593 PyObject * _argo0 = 0;
107e4716 594 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
595
596 self = self;
107e4716 597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetPath",_kwnames,&_argo0))
c95e68d8 598 return NULL;
2d091820
RD
599 if (_argo0) {
600 if (_argo0 == Py_None) { _arg0 = NULL; }
601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
603 return NULL;
604 }
605 }
c95e68d8 606{
474c48f9 607 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
608 _result = new wxString (wxDirDialog_GetPath(_arg0));
609
474c48f9 610 wxPyEndAllowThreads(__tstate);
4dfaa61e 611 if (PyErr_Occurred()) return NULL;
ab9bc19b 612}{
e02c03a4 613 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c95e68d8
RD
614}
615{
616 delete _result;
617}
618 return _resultobj;
619}
620
621#define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
107e4716 622static PyObject *_wrap_wxDirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
623 PyObject * _resultobj;
624 wxString * _result;
625 wxDirDialog * _arg0;
2d091820 626 PyObject * _argo0 = 0;
107e4716 627 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
628
629 self = self;
107e4716 630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetMessage",_kwnames,&_argo0))
c95e68d8 631 return NULL;
2d091820
RD
632 if (_argo0) {
633 if (_argo0 == Py_None) { _arg0 = NULL; }
634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
636 return NULL;
637 }
638 }
c95e68d8 639{
474c48f9 640 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
641 _result = new wxString (wxDirDialog_GetMessage(_arg0));
642
474c48f9 643 wxPyEndAllowThreads(__tstate);
4dfaa61e 644 if (PyErr_Occurred()) return NULL;
ab9bc19b 645}{
e02c03a4 646 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c95e68d8
RD
647}
648{
649 delete _result;
650}
651 return _resultobj;
652}
653
654#define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
107e4716 655static PyObject *_wrap_wxDirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
656 PyObject * _resultobj;
657 long _result;
658 wxDirDialog * _arg0;
2d091820 659 PyObject * _argo0 = 0;
107e4716 660 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
661
662 self = self;
107e4716 663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetStyle",_kwnames,&_argo0))
c95e68d8 664 return NULL;
2d091820
RD
665 if (_argo0) {
666 if (_argo0 == Py_None) { _arg0 = NULL; }
667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
669 return NULL;
670 }
671 }
ab9bc19b 672{
474c48f9 673 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
674 _result = (long )wxDirDialog_GetStyle(_arg0);
675
474c48f9 676 wxPyEndAllowThreads(__tstate);
4dfaa61e 677 if (PyErr_Occurred()) return NULL;
ab9bc19b 678} _resultobj = Py_BuildValue("l",_result);
c95e68d8
RD
679 return _resultobj;
680}
681
682#define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
107e4716 683static PyObject *_wrap_wxDirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
684 PyObject * _resultobj;
685 wxDirDialog * _arg0;
686 wxString * _arg1;
2d091820 687 PyObject * _argo0 = 0;
c95e68d8 688 PyObject * _obj1 = 0;
107e4716 689 char *_kwnames[] = { "self","message", NULL };
c95e68d8
RD
690
691 self = self;
107e4716 692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetMessage",_kwnames,&_argo0,&_obj1))
c95e68d8 693 return NULL;
2d091820
RD
694 if (_argo0) {
695 if (_argo0 == Py_None) { _arg0 = NULL; }
696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
698 return NULL;
699 }
700 }
701{
2cd2fac8
RD
702#if PYTHON_API_VERSION >= 1009
703 char* tmpPtr; int tmpSize;
704 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 705 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
706 return NULL;
707 }
708 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
709 return NULL;
710 _arg1 = new wxString(tmpPtr, tmpSize);
711#else
c95e68d8
RD
712 if (!PyString_Check(_obj1)) {
713 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
714 return NULL;
715 }
2cd2fac8
RD
716 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
717#endif
c95e68d8 718}
ab9bc19b 719{
474c48f9 720 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
721 wxDirDialog_SetMessage(_arg0,*_arg1);
722
474c48f9 723 wxPyEndAllowThreads(__tstate);
4dfaa61e 724 if (PyErr_Occurred()) return NULL;
ab9bc19b 725} Py_INCREF(Py_None);
c95e68d8
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))
107e4716 735static PyObject *_wrap_wxDirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
736 PyObject * _resultobj;
737 wxDirDialog * _arg0;
738 wxString * _arg1;
2d091820 739 PyObject * _argo0 = 0;
c95e68d8 740 PyObject * _obj1 = 0;
107e4716 741 char *_kwnames[] = { "self","path", NULL };
c95e68d8
RD
742
743 self = self;
107e4716 744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetPath",_kwnames,&_argo0,&_obj1))
c95e68d8 745 return NULL;
2d091820
RD
746 if (_argo0) {
747 if (_argo0 == Py_None) { _arg0 = NULL; }
748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
750 return NULL;
751 }
752 }
753{
2cd2fac8
RD
754#if PYTHON_API_VERSION >= 1009
755 char* tmpPtr; int tmpSize;
756 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 757 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
758 return NULL;
759 }
760 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
761 return NULL;
762 _arg1 = new wxString(tmpPtr, tmpSize);
763#else
c95e68d8
RD
764 if (!PyString_Check(_obj1)) {
765 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
766 return NULL;
767 }
2cd2fac8
RD
768 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
769#endif
c95e68d8 770}
ab9bc19b 771{
474c48f9 772 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
773 wxDirDialog_SetPath(_arg0,*_arg1);
774
474c48f9 775 wxPyEndAllowThreads(__tstate);
4dfaa61e 776 if (PyErr_Occurred()) return NULL;
ab9bc19b 777} Py_INCREF(Py_None);
c95e68d8
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())
107e4716 787static PyObject *_wrap_wxDirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
788 PyObject * _resultobj;
789 int _result;
790 wxDirDialog * _arg0;
2d091820 791 PyObject * _argo0 = 0;
107e4716 792 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
793
794 self = self;
107e4716 795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_ShowModal",_kwnames,&_argo0))
c95e68d8 796 return NULL;
2d091820
RD
797 if (_argo0) {
798 if (_argo0 == Py_None) { _arg0 = NULL; }
799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
c95e68d8
RD
800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
801 return NULL;
802 }
803 }
ab9bc19b 804{
474c48f9 805 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
806 _result = (int )wxDirDialog_ShowModal(_arg0);
807
474c48f9 808 wxPyEndAllowThreads(__tstate);
4dfaa61e 809 if (PyErr_Occurred()) return NULL;
ab9bc19b 810} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
811 return _resultobj;
812}
813
70551f47
RD
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
32c988a3 822static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr) {
70551f47 823 wxFileDialog *src;
32c988a3 824 wxTopLevelWindow *dest;
70551f47 825 src = (wxFileDialog *) ptr;
32c988a3 826 dest = (wxTopLevelWindow *) src;
70551f47
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
9df61a29
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
70551f47 854#define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 855static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
856 PyObject * _resultobj;
857 wxFileDialog * _result;
858 wxWindow * _arg0;
2d091820
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;
b68dc582 864 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
2d091820 865 PyObject * _argo0 = 0;
37f6a977
RD
866 wxPoint temp;
867 PyObject * _obj6 = 0;
107e4716 868 char *_kwnames[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL };
70551f47
RD
869 char _ptemp[128];
870
871 self = self;
37f6a977 872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sssslO:new_wxFileDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
70551f47 873 return NULL;
2d091820
RD
874 if (_argo0) {
875 if (_argo0 == Py_None) { _arg0 = NULL; }
876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
878 return NULL;
879 }
880 }
37f6a977
RD
881 if (_obj6)
882{
883 _arg6 = &temp;
884 if (! wxPoint_helper(_obj6, &_arg6))
70551f47 885 return NULL;
37f6a977 886}
ab9bc19b 887{
474c48f9 888 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
889 _result = (wxFileDialog *)new_wxFileDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6);
890
474c48f9 891 wxPyEndAllowThreads(__tstate);
4dfaa61e 892 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
900 return _resultobj;
901}
902
903#define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
107e4716 904static PyObject *_wrap_wxFileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
905 PyObject * _resultobj;
906 wxString * _result;
907 wxFileDialog * _arg0;
2d091820 908 PyObject * _argo0 = 0;
107e4716 909 char *_kwnames[] = { "self", NULL };
70551f47
RD
910
911 self = self;
107e4716 912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetDirectory",_kwnames,&_argo0))
70551f47 913 return NULL;
2d091820
RD
914 if (_argo0) {
915 if (_argo0 == Py_None) { _arg0 = NULL; }
916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
918 return NULL;
919 }
920 }
70551f47 921{
474c48f9 922 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
923 _result = new wxString (wxFileDialog_GetDirectory(_arg0));
924
474c48f9 925 wxPyEndAllowThreads(__tstate);
4dfaa61e 926 if (PyErr_Occurred()) return NULL;
ab9bc19b 927}{
e02c03a4 928 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
929}
930{
931 delete _result;
932}
933 return _resultobj;
934}
935
936#define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
107e4716 937static PyObject *_wrap_wxFileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
938 PyObject * _resultobj;
939 wxString * _result;
940 wxFileDialog * _arg0;
2d091820 941 PyObject * _argo0 = 0;
107e4716 942 char *_kwnames[] = { "self", NULL };
70551f47
RD
943
944 self = self;
107e4716 945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilename",_kwnames,&_argo0))
70551f47 946 return NULL;
2d091820
RD
947 if (_argo0) {
948 if (_argo0 == Py_None) { _arg0 = NULL; }
949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
951 return NULL;
952 }
953 }
70551f47 954{
474c48f9 955 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
956 _result = new wxString (wxFileDialog_GetFilename(_arg0));
957
474c48f9 958 wxPyEndAllowThreads(__tstate);
4dfaa61e 959 if (PyErr_Occurred()) return NULL;
ab9bc19b 960}{
e02c03a4 961 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
962}
963{
964 delete _result;
965}
966 return _resultobj;
967}
968
969#define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
107e4716 970static PyObject *_wrap_wxFileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
971 PyObject * _resultobj;
972 int _result;
973 wxFileDialog * _arg0;
2d091820 974 PyObject * _argo0 = 0;
107e4716 975 char *_kwnames[] = { "self", NULL };
70551f47
RD
976
977 self = self;
107e4716 978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilterIndex",_kwnames,&_argo0))
70551f47 979 return NULL;
2d091820
RD
980 if (_argo0) {
981 if (_argo0 == Py_None) { _arg0 = NULL; }
982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
984 return NULL;
985 }
986 }
ab9bc19b 987{
474c48f9 988 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
989 _result = (int )wxFileDialog_GetFilterIndex(_arg0);
990
474c48f9 991 wxPyEndAllowThreads(__tstate);
4dfaa61e 992 if (PyErr_Occurred()) return NULL;
ab9bc19b 993} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
994 return _resultobj;
995}
996
997#define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
107e4716 998static PyObject *_wrap_wxFileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
999 PyObject * _resultobj;
1000 wxString * _result;
1001 wxFileDialog * _arg0;
2d091820 1002 PyObject * _argo0 = 0;
107e4716 1003 char *_kwnames[] = { "self", NULL };
70551f47
RD
1004
1005 self = self;
107e4716 1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetMessage",_kwnames,&_argo0))
70551f47 1007 return NULL;
2d091820
RD
1008 if (_argo0) {
1009 if (_argo0 == Py_None) { _arg0 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1012 return NULL;
1013 }
1014 }
70551f47 1015{
474c48f9 1016 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1017 _result = new wxString (wxFileDialog_GetMessage(_arg0));
1018
474c48f9 1019 wxPyEndAllowThreads(__tstate);
4dfaa61e 1020 if (PyErr_Occurred()) return NULL;
ab9bc19b 1021}{
e02c03a4 1022 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1023}
1024{
1025 delete _result;
1026}
1027 return _resultobj;
1028}
1029
1030#define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
107e4716 1031static PyObject *_wrap_wxFileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1032 PyObject * _resultobj;
1033 wxString * _result;
1034 wxFileDialog * _arg0;
2d091820 1035 PyObject * _argo0 = 0;
107e4716 1036 char *_kwnames[] = { "self", NULL };
70551f47
RD
1037
1038 self = self;
107e4716 1039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetPath",_kwnames,&_argo0))
70551f47 1040 return NULL;
2d091820
RD
1041 if (_argo0) {
1042 if (_argo0 == Py_None) { _arg0 = NULL; }
1043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1045 return NULL;
1046 }
1047 }
70551f47 1048{
474c48f9 1049 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1050 _result = new wxString (wxFileDialog_GetPath(_arg0));
1051
474c48f9 1052 wxPyEndAllowThreads(__tstate);
4dfaa61e 1053 if (PyErr_Occurred()) return NULL;
ab9bc19b 1054}{
e02c03a4 1055 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1056}
1057{
1058 delete _result;
1059}
1060 return _resultobj;
1061}
1062
1063#define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
107e4716 1064static PyObject *_wrap_wxFileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1065 PyObject * _resultobj;
1066 long _result;
1067 wxFileDialog * _arg0;
2d091820 1068 PyObject * _argo0 = 0;
107e4716 1069 char *_kwnames[] = { "self", NULL };
70551f47
RD
1070
1071 self = self;
107e4716 1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetStyle",_kwnames,&_argo0))
70551f47 1073 return NULL;
2d091820
RD
1074 if (_argo0) {
1075 if (_argo0 == Py_None) { _arg0 = NULL; }
1076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1078 return NULL;
1079 }
1080 }
ab9bc19b 1081{
474c48f9 1082 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1083 _result = (long )wxFileDialog_GetStyle(_arg0);
1084
474c48f9 1085 wxPyEndAllowThreads(__tstate);
4dfaa61e 1086 if (PyErr_Occurred()) return NULL;
ab9bc19b 1087} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1088 return _resultobj;
1089}
1090
1091#define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
107e4716 1092static PyObject *_wrap_wxFileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1093 PyObject * _resultobj;
1094 wxString * _result;
1095 wxFileDialog * _arg0;
2d091820 1096 PyObject * _argo0 = 0;
107e4716 1097 char *_kwnames[] = { "self", NULL };
70551f47
RD
1098
1099 self = self;
107e4716 1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetWildcard",_kwnames,&_argo0))
70551f47 1101 return NULL;
2d091820
RD
1102 if (_argo0) {
1103 if (_argo0 == Py_None) { _arg0 = NULL; }
1104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1106 return NULL;
1107 }
1108 }
70551f47 1109{
474c48f9 1110 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1111 _result = new wxString (wxFileDialog_GetWildcard(_arg0));
1112
474c48f9 1113 wxPyEndAllowThreads(__tstate);
4dfaa61e 1114 if (PyErr_Occurred()) return NULL;
ab9bc19b 1115}{
e02c03a4 1116 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1117}
1118{
1119 delete _result;
1120}
1121 return _resultobj;
1122}
1123
1124#define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
107e4716 1125static PyObject *_wrap_wxFileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1126 PyObject * _resultobj;
1127 wxFileDialog * _arg0;
1128 wxString * _arg1;
2d091820 1129 PyObject * _argo0 = 0;
70551f47 1130 PyObject * _obj1 = 0;
107e4716 1131 char *_kwnames[] = { "self","directory", NULL };
70551f47
RD
1132
1133 self = self;
107e4716 1134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetDirectory",_kwnames,&_argo0,&_obj1))
70551f47 1135 return NULL;
2d091820
RD
1136 if (_argo0) {
1137 if (_argo0 == Py_None) { _arg0 = NULL; }
1138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1140 return NULL;
1141 }
1142 }
1143{
2cd2fac8
RD
1144#if PYTHON_API_VERSION >= 1009
1145 char* tmpPtr; int tmpSize;
1146 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1147 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1148 return NULL;
1149 }
1150 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1151 return NULL;
1152 _arg1 = new wxString(tmpPtr, tmpSize);
1153#else
70551f47
RD
1154 if (!PyString_Check(_obj1)) {
1155 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1156 return NULL;
1157 }
2cd2fac8
RD
1158 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1159#endif
70551f47 1160}
ab9bc19b 1161{
474c48f9 1162 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1163 wxFileDialog_SetDirectory(_arg0,*_arg1);
1164
474c48f9 1165 wxPyEndAllowThreads(__tstate);
4dfaa61e 1166 if (PyErr_Occurred()) return NULL;
ab9bc19b 1167} Py_INCREF(Py_None);
70551f47
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))
107e4716 1177static PyObject *_wrap_wxFileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1178 PyObject * _resultobj;
1179 wxFileDialog * _arg0;
1180 wxString * _arg1;
2d091820 1181 PyObject * _argo0 = 0;
70551f47 1182 PyObject * _obj1 = 0;
107e4716 1183 char *_kwnames[] = { "self","setfilename", NULL };
70551f47
RD
1184
1185 self = self;
107e4716 1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetFilename",_kwnames,&_argo0,&_obj1))
70551f47 1187 return NULL;
2d091820
RD
1188 if (_argo0) {
1189 if (_argo0 == Py_None) { _arg0 = NULL; }
1190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1192 return NULL;
1193 }
1194 }
1195{
2cd2fac8
RD
1196#if PYTHON_API_VERSION >= 1009
1197 char* tmpPtr; int tmpSize;
1198 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1199 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1200 return NULL;
1201 }
1202 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1203 return NULL;
1204 _arg1 = new wxString(tmpPtr, tmpSize);
1205#else
70551f47
RD
1206 if (!PyString_Check(_obj1)) {
1207 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1208 return NULL;
1209 }
2cd2fac8
RD
1210 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1211#endif
70551f47 1212}
ab9bc19b 1213{
474c48f9 1214 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1215 wxFileDialog_SetFilename(_arg0,*_arg1);
1216
474c48f9 1217 wxPyEndAllowThreads(__tstate);
4dfaa61e 1218 if (PyErr_Occurred()) return NULL;
ab9bc19b 1219} Py_INCREF(Py_None);
70551f47
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))
107e4716 1229static PyObject *_wrap_wxFileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1230 PyObject * _resultobj;
1231 wxFileDialog * _arg0;
1232 int _arg1;
2d091820 1233 PyObject * _argo0 = 0;
107e4716 1234 char *_kwnames[] = { "self","filterIndex", NULL };
70551f47
RD
1235
1236 self = self;
107e4716 1237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileDialog_SetFilterIndex",_kwnames,&_argo0,&_arg1))
70551f47 1238 return NULL;
2d091820
RD
1239 if (_argo0) {
1240 if (_argo0 == Py_None) { _arg0 = NULL; }
1241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1243 return NULL;
1244 }
1245 }
ab9bc19b 1246{
474c48f9 1247 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1248 wxFileDialog_SetFilterIndex(_arg0,_arg1);
1249
474c48f9 1250 wxPyEndAllowThreads(__tstate);
4dfaa61e 1251 if (PyErr_Occurred()) return NULL;
ab9bc19b 1252} Py_INCREF(Py_None);
70551f47
RD
1253 _resultobj = Py_None;
1254 return _resultobj;
1255}
1256
1257#define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
107e4716 1258static PyObject *_wrap_wxFileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1259 PyObject * _resultobj;
1260 wxFileDialog * _arg0;
1261 wxString * _arg1;
2d091820 1262 PyObject * _argo0 = 0;
70551f47 1263 PyObject * _obj1 = 0;
107e4716 1264 char *_kwnames[] = { "self","message", NULL };
70551f47
RD
1265
1266 self = self;
107e4716 1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetMessage",_kwnames,&_argo0,&_obj1))
70551f47 1268 return NULL;
2d091820
RD
1269 if (_argo0) {
1270 if (_argo0 == Py_None) { _arg0 = NULL; }
1271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1273 return NULL;
1274 }
1275 }
1276{
2cd2fac8
RD
1277#if PYTHON_API_VERSION >= 1009
1278 char* tmpPtr; int tmpSize;
1279 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1280 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1281 return NULL;
1282 }
1283 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1284 return NULL;
1285 _arg1 = new wxString(tmpPtr, tmpSize);
1286#else
70551f47
RD
1287 if (!PyString_Check(_obj1)) {
1288 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1289 return NULL;
1290 }
2cd2fac8
RD
1291 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1292#endif
70551f47 1293}
ab9bc19b 1294{
474c48f9 1295 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1296 wxFileDialog_SetMessage(_arg0,*_arg1);
1297
474c48f9 1298 wxPyEndAllowThreads(__tstate);
4dfaa61e 1299 if (PyErr_Occurred()) return NULL;
ab9bc19b 1300} Py_INCREF(Py_None);
70551f47
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))
107e4716 1310static PyObject *_wrap_wxFileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1311 PyObject * _resultobj;
1312 wxFileDialog * _arg0;
1313 wxString * _arg1;
2d091820 1314 PyObject * _argo0 = 0;
70551f47 1315 PyObject * _obj1 = 0;
107e4716 1316 char *_kwnames[] = { "self","path", NULL };
70551f47
RD
1317
1318 self = self;
107e4716 1319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetPath",_kwnames,&_argo0,&_obj1))
70551f47 1320 return NULL;
2d091820
RD
1321 if (_argo0) {
1322 if (_argo0 == Py_None) { _arg0 = NULL; }
1323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1325 return NULL;
1326 }
1327 }
1328{
2cd2fac8
RD
1329#if PYTHON_API_VERSION >= 1009
1330 char* tmpPtr; int tmpSize;
1331 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1332 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1333 return NULL;
1334 }
1335 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1336 return NULL;
1337 _arg1 = new wxString(tmpPtr, tmpSize);
1338#else
70551f47
RD
1339 if (!PyString_Check(_obj1)) {
1340 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1341 return NULL;
1342 }
2cd2fac8
RD
1343 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1344#endif
70551f47 1345}
ab9bc19b 1346{
474c48f9 1347 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1348 wxFileDialog_SetPath(_arg0,*_arg1);
1349
474c48f9 1350 wxPyEndAllowThreads(__tstate);
4dfaa61e 1351 if (PyErr_Occurred()) return NULL;
ab9bc19b 1352} Py_INCREF(Py_None);
70551f47
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))
107e4716 1362static PyObject *_wrap_wxFileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1363 PyObject * _resultobj;
1364 wxFileDialog * _arg0;
1365 long _arg1;
2d091820 1366 PyObject * _argo0 = 0;
107e4716 1367 char *_kwnames[] = { "self","style", NULL };
70551f47
RD
1368
1369 self = self;
107e4716 1370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxFileDialog_SetStyle",_kwnames,&_argo0,&_arg1))
70551f47 1371 return NULL;
2d091820
RD
1372 if (_argo0) {
1373 if (_argo0 == Py_None) { _arg0 = NULL; }
1374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1376 return NULL;
1377 }
1378 }
ab9bc19b 1379{
474c48f9 1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1381 wxFileDialog_SetStyle(_arg0,_arg1);
1382
474c48f9 1383 wxPyEndAllowThreads(__tstate);
4dfaa61e 1384 if (PyErr_Occurred()) return NULL;
ab9bc19b 1385} Py_INCREF(Py_None);
70551f47
RD
1386 _resultobj = Py_None;
1387 return _resultobj;
1388}
1389
1390#define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
107e4716 1391static PyObject *_wrap_wxFileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1392 PyObject * _resultobj;
1393 wxFileDialog * _arg0;
1394 wxString * _arg1;
2d091820 1395 PyObject * _argo0 = 0;
70551f47 1396 PyObject * _obj1 = 0;
107e4716 1397 char *_kwnames[] = { "self","wildCard", NULL };
70551f47
RD
1398
1399 self = self;
107e4716 1400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetWildcard",_kwnames,&_argo0,&_obj1))
70551f47 1401 return NULL;
2d091820
RD
1402 if (_argo0) {
1403 if (_argo0 == Py_None) { _arg0 = NULL; }
1404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1406 return NULL;
1407 }
1408 }
1409{
2cd2fac8
RD
1410#if PYTHON_API_VERSION >= 1009
1411 char* tmpPtr; int tmpSize;
1412 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1413 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1414 return NULL;
1415 }
1416 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1417 return NULL;
1418 _arg1 = new wxString(tmpPtr, tmpSize);
1419#else
70551f47
RD
1420 if (!PyString_Check(_obj1)) {
1421 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1422 return NULL;
1423 }
2cd2fac8
RD
1424 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1425#endif
70551f47 1426}
ab9bc19b 1427{
474c48f9 1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1429 wxFileDialog_SetWildcard(_arg0,*_arg1);
1430
474c48f9 1431 wxPyEndAllowThreads(__tstate);
4dfaa61e 1432 if (PyErr_Occurred()) return NULL;
ab9bc19b 1433} Py_INCREF(Py_None);
70551f47
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())
107e4716 1443static PyObject *_wrap_wxFileDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1444 PyObject * _resultobj;
1445 int _result;
1446 wxFileDialog * _arg0;
2d091820 1447 PyObject * _argo0 = 0;
107e4716 1448 char *_kwnames[] = { "self", NULL };
70551f47
RD
1449
1450 self = self;
107e4716 1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_ShowModal",_kwnames,&_argo0))
70551f47 1452 return NULL;
2d091820
RD
1453 if (_argo0) {
1454 if (_argo0 == Py_None) { _arg0 = NULL; }
1455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
70551f47
RD
1456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1457 return NULL;
1458 }
1459 }
ab9bc19b 1460{
474c48f9 1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1462 _result = (int )wxFileDialog_ShowModal(_arg0);
1463
474c48f9 1464 wxPyEndAllowThreads(__tstate);
4dfaa61e 1465 if (PyErr_Occurred()) return NULL;
ab9bc19b 1466} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1467 return _resultobj;
1468}
1469
f6bcfd97
BP
1470static PyObject * wxFileDialog_GetFilenames(wxFileDialog *self) {
1471 wxArrayString arr;
1472 self->GetFilenames(arr);
5c0282d5 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{
474c48f9 1493 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1494 _result = (PyObject *)wxFileDialog_GetFilenames(_arg0);
1495
474c48f9 1496 wxPyEndAllowThreads(__tstate);
4dfaa61e 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);
5c0282d5 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{
474c48f9 1527 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1528 _result = (PyObject *)wxFileDialog_GetPaths(_arg0);
1529
474c48f9 1530 wxPyEndAllowThreads(__tstate);
4dfaa61e 1531 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1532}{
1533 _resultobj = _result;
1534}
1535 return _resultobj;
1536}
1537
70551f47
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
32c988a3 1546static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr) {
70551f47 1547 wxSingleChoiceDialog *src;
32c988a3 1548 wxTopLevelWindow *dest;
70551f47 1549 src = (wxSingleChoiceDialog *) ptr;
32c988a3 1550 dest = (wxTopLevelWindow *) src;
70551f47
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
9df61a29
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
e02c03a4 1578static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString *message,wxString *caption,int LCOUNT,wxString *choices,long style,wxPoint *pos) {
70551f47 1579 return new wxSingleChoiceDialog(parent, *message, *caption,
e02c03a4 1580 LCOUNT, choices, NULL, style, *pos);
70551f47
RD
1581 }
1582
107e4716 1583static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1584 PyObject * _resultobj;
1585 wxSingleChoiceDialog * _result;
1586 wxWindow * _arg0;
1587 wxString * _arg1;
1588 wxString * _arg2;
1589 int _arg3;
1590 wxString * _arg4;
2d091820 1591 long _arg5 = (long ) wxOK|wxCANCEL|wxCENTRE;
b68dc582 1592 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
2d091820 1593 PyObject * _argo0 = 0;
70551f47
RD
1594 PyObject * _obj1 = 0;
1595 PyObject * _obj2 = 0;
1596 PyObject * _obj4 = 0;
37f6a977
RD
1597 wxPoint temp;
1598 PyObject * _obj6 = 0;
e02c03a4 1599 char *_kwnames[] = { "parent","message","caption","choices","style","pos", NULL };
70551f47
RD
1600 char _ptemp[128];
1601
1602 self = self;
37f6a977 1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames,&_argo0,&_obj1,&_obj2,&_obj4,&_arg5,&_obj6))
70551f47 1604 return NULL;
2d091820
RD
1605 if (_argo0) {
1606 if (_argo0 == Py_None) { _arg0 = NULL; }
1607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1609 return NULL;
1610 }
1611 }
1612{
2cd2fac8
RD
1613#if PYTHON_API_VERSION >= 1009
1614 char* tmpPtr; int tmpSize;
1615 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1616 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1617 return NULL;
1618 }
1619 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1620 return NULL;
1621 _arg1 = new wxString(tmpPtr, tmpSize);
1622#else
70551f47
RD
1623 if (!PyString_Check(_obj1)) {
1624 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1625 return NULL;
1626 }
2cd2fac8
RD
1627 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1628#endif
70551f47
RD
1629}
1630{
2cd2fac8
RD
1631#if PYTHON_API_VERSION >= 1009
1632 char* tmpPtr; int tmpSize;
1633 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 1634 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1635 return NULL;
1636 }
1637 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1638 return NULL;
1639 _arg2 = new wxString(tmpPtr, tmpSize);
1640#else
70551f47
RD
1641 if (!PyString_Check(_obj2)) {
1642 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1643 return NULL;
1644 }
2cd2fac8
RD
1645 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1646#endif
70551f47
RD
1647}
1648 if (_obj4)
1649{
1650 _arg4 = wxString_LIST_helper(_obj4);
1651 if (_arg4 == NULL) {
1652 return NULL;
1653 }
1654}
37f6a977
RD
1655 if (_obj6)
1656{
1657 _arg6 = &temp;
1658 if (! wxPoint_helper(_obj6, &_arg6))
70551f47 1659 return NULL;
37f6a977 1660}
70551f47 1661{
ab9bc19b
RD
1662 if (_obj4) {
1663 _arg3 = PyList_Size(_obj4);
1664 }
1665 else {
1666 _arg3 = 0;
1667 }
70551f47 1668}
ab9bc19b 1669{
474c48f9 1670 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1671 _result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1672
474c48f9 1673 wxPyEndAllowThreads(__tstate);
4dfaa61e 1674 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
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())
107e4716 1697static PyObject *_wrap_wxSingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1698 PyObject * _resultobj;
1699 int _result;
1700 wxSingleChoiceDialog * _arg0;
2d091820 1701 PyObject * _argo0 = 0;
107e4716 1702 char *_kwnames[] = { "self", NULL };
70551f47
RD
1703
1704 self = self;
107e4716 1705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetSelection",_kwnames,&_argo0))
70551f47 1706 return NULL;
2d091820
RD
1707 if (_argo0) {
1708 if (_argo0 == Py_None) { _arg0 = NULL; }
1709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
70551f47
RD
1710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1711 return NULL;
1712 }
1713 }
ab9bc19b 1714{
474c48f9 1715 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1716 _result = (int )wxSingleChoiceDialog_GetSelection(_arg0);
1717
474c48f9 1718 wxPyEndAllowThreads(__tstate);
4dfaa61e 1719 if (PyErr_Occurred()) return NULL;
ab9bc19b 1720} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1721 return _resultobj;
1722}
1723
1724#define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
107e4716 1725static PyObject *_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1726 PyObject * _resultobj;
1727 wxString * _result;
1728 wxSingleChoiceDialog * _arg0;
2d091820 1729 PyObject * _argo0 = 0;
107e4716 1730 char *_kwnames[] = { "self", NULL };
70551f47
RD
1731
1732 self = self;
107e4716 1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames,&_argo0))
70551f47 1734 return NULL;
2d091820
RD
1735 if (_argo0) {
1736 if (_argo0 == Py_None) { _arg0 = NULL; }
1737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
70551f47
RD
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1739 return NULL;
1740 }
1741 }
70551f47 1742{
474c48f9 1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1744 _result = new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0));
1745
474c48f9 1746 wxPyEndAllowThreads(__tstate);
4dfaa61e 1747 if (PyErr_Occurred()) return NULL;
ab9bc19b 1748}{
e02c03a4 1749 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1750}
1751{
1752 delete _result;
1753}
1754 return _resultobj;
1755}
1756
1757#define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 1758static PyObject *_wrap_wxSingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1759 PyObject * _resultobj;
1760 wxSingleChoiceDialog * _arg0;
1761 int _arg1;
2d091820 1762 PyObject * _argo0 = 0;
107e4716 1763 char *_kwnames[] = { "self","sel", NULL };
70551f47
RD
1764
1765 self = self;
107e4716 1766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 1767 return NULL;
2d091820
RD
1768 if (_argo0) {
1769 if (_argo0 == Py_None) { _arg0 = NULL; }
1770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
70551f47
RD
1771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1772 return NULL;
1773 }
1774 }
ab9bc19b 1775{
474c48f9 1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1777 wxSingleChoiceDialog_SetSelection(_arg0,_arg1);
1778
474c48f9 1779 wxPyEndAllowThreads(__tstate);
4dfaa61e 1780 if (PyErr_Occurred()) return NULL;
ab9bc19b 1781} Py_INCREF(Py_None);
70551f47
RD
1782 _resultobj = Py_None;
1783 return _resultobj;
1784}
1785
1786#define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 1787static PyObject *_wrap_wxSingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1788 PyObject * _resultobj;
1789 int _result;
1790 wxSingleChoiceDialog * _arg0;
2d091820 1791 PyObject * _argo0 = 0;
107e4716 1792 char *_kwnames[] = { "self", NULL };
70551f47
RD
1793
1794 self = self;
107e4716 1795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_ShowModal",_kwnames,&_argo0))
70551f47 1796 return NULL;
2d091820
RD
1797 if (_argo0) {
1798 if (_argo0 == Py_None) { _arg0 = NULL; }
1799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
70551f47
RD
1800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1801 return NULL;
1802 }
1803 }
ab9bc19b 1804{
474c48f9 1805 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1806 _result = (int )wxSingleChoiceDialog_ShowModal(_arg0);
1807
474c48f9 1808 wxPyEndAllowThreads(__tstate);
4dfaa61e 1809 if (PyErr_Occurred()) return NULL;
ab9bc19b 1810} _resultobj = Py_BuildValue("i",_result);
70551f47
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
32c988a3 1822static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr) {
70551f47 1823 wxTextEntryDialog *src;
32c988a3 1824 wxTopLevelWindow *dest;
70551f47 1825 src = (wxTextEntryDialog *) ptr;
32c988a3 1826 dest = (wxTopLevelWindow *) src;
70551f47
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
9df61a29
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
70551f47 1854#define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 1855static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1856 PyObject * _resultobj;
1857 wxTextEntryDialog * _result;
1858 wxWindow * _arg0;
1859 char * _arg1;
2d091820
RD
1860 char * _arg2 = (char *) "Input Text";
1861 char * _arg3 = (char *) "";
1862 long _arg4 = (long ) wxOK|wxCANCEL|wxCENTRE;
b68dc582 1863 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
2d091820 1864 PyObject * _argo0 = 0;
37f6a977
RD
1865 wxPoint temp;
1866 PyObject * _obj5 = 0;
107e4716 1867 char *_kwnames[] = { "parent","message","caption","defaultValue","style","pos", NULL };
70551f47
RD
1868 char _ptemp[128];
1869
1870 self = self;
37f6a977 1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|sslO:new_wxTextEntryDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5))
70551f47 1872 return NULL;
2d091820
RD
1873 if (_argo0) {
1874 if (_argo0 == Py_None) { _arg0 = NULL; }
1875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1877 return NULL;
1878 }
1879 }
37f6a977
RD
1880 if (_obj5)
1881{
1882 _arg5 = &temp;
1883 if (! wxPoint_helper(_obj5, &_arg5))
70551f47 1884 return NULL;
37f6a977 1885}
ab9bc19b 1886{
474c48f9 1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1888 _result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5);
1889
474c48f9 1890 wxPyEndAllowThreads(__tstate);
4dfaa61e 1891 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
1899 return _resultobj;
1900}
1901
1902#define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 1903static PyObject *_wrap_wxTextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1904 PyObject * _resultobj;
1905 wxString * _result;
1906 wxTextEntryDialog * _arg0;
2d091820 1907 PyObject * _argo0 = 0;
107e4716 1908 char *_kwnames[] = { "self", NULL };
70551f47
RD
1909
1910 self = self;
107e4716 1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_GetValue",_kwnames,&_argo0))
70551f47 1912 return NULL;
2d091820
RD
1913 if (_argo0) {
1914 if (_argo0 == Py_None) { _arg0 = NULL; }
1915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
70551f47
RD
1916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1917 return NULL;
1918 }
1919 }
70551f47 1920{
474c48f9 1921 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1922 _result = new wxString (wxTextEntryDialog_GetValue(_arg0));
1923
474c48f9 1924 wxPyEndAllowThreads(__tstate);
4dfaa61e 1925 if (PyErr_Occurred()) return NULL;
ab9bc19b 1926}{
e02c03a4 1927 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
1928}
1929{
1930 delete _result;
1931}
1932 return _resultobj;
1933}
1934
1935#define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 1936static PyObject *_wrap_wxTextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1937 PyObject * _resultobj;
1938 wxTextEntryDialog * _arg0;
1939 wxString * _arg1;
2d091820 1940 PyObject * _argo0 = 0;
70551f47 1941 PyObject * _obj1 = 0;
107e4716 1942 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
1943
1944 self = self;
107e4716 1945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextEntryDialog_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 1946 return NULL;
2d091820
RD
1947 if (_argo0) {
1948 if (_argo0 == Py_None) { _arg0 = NULL; }
1949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
70551f47
RD
1950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1951 return NULL;
1952 }
1953 }
1954{
2cd2fac8
RD
1955#if PYTHON_API_VERSION >= 1009
1956 char* tmpPtr; int tmpSize;
1957 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1958 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1959 return NULL;
1960 }
1961 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1962 return NULL;
1963 _arg1 = new wxString(tmpPtr, tmpSize);
1964#else
70551f47
RD
1965 if (!PyString_Check(_obj1)) {
1966 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1967 return NULL;
1968 }
2cd2fac8
RD
1969 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1970#endif
70551f47 1971}
ab9bc19b 1972{
474c48f9 1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
1974 wxTextEntryDialog_SetValue(_arg0,*_arg1);
1975
474c48f9 1976 wxPyEndAllowThreads(__tstate);
4dfaa61e 1977 if (PyErr_Occurred()) return NULL;
ab9bc19b 1978} Py_INCREF(Py_None);
70551f47
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())
107e4716 1988static PyObject *_wrap_wxTextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1989 PyObject * _resultobj;
1990 int _result;
1991 wxTextEntryDialog * _arg0;
2d091820 1992 PyObject * _argo0 = 0;
107e4716 1993 char *_kwnames[] = { "self", NULL };
70551f47
RD
1994
1995 self = self;
107e4716 1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_ShowModal",_kwnames,&_argo0))
70551f47 1997 return NULL;
2d091820
RD
1998 if (_argo0) {
1999 if (_argo0 == Py_None) { _arg0 = NULL; }
2000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
70551f47
RD
2001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2002 return NULL;
2003 }
2004 }
ab9bc19b 2005{
474c48f9 2006 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2007 _result = (int )wxTextEntryDialog_ShowModal(_arg0);
2008
474c48f9 2009 wxPyEndAllowThreads(__tstate);
4dfaa61e 2010 if (PyErr_Occurred()) return NULL;
ab9bc19b 2011} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2012 return _resultobj;
2013}
2014
9df61a29
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
70551f47 2023#define new_wxFontData() (new wxFontData())
107e4716 2024static PyObject *_wrap_new_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2025 PyObject * _resultobj;
2026 wxFontData * _result;
107e4716 2027 char *_kwnames[] = { NULL };
70551f47
RD
2028 char _ptemp[128];
2029
2030 self = self;
107e4716 2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontData",_kwnames))
70551f47 2032 return NULL;
ab9bc19b 2033{
474c48f9 2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2035 _result = (wxFontData *)new_wxFontData();
2036
474c48f9 2037 wxPyEndAllowThreads(__tstate);
4dfaa61e 2038 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
2046 return _resultobj;
2047}
2048
2049#define delete_wxFontData(_swigobj) (delete _swigobj)
107e4716 2050static PyObject *_wrap_delete_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2051 PyObject * _resultobj;
2052 wxFontData * _arg0;
2d091820 2053 PyObject * _argo0 = 0;
107e4716 2054 char *_kwnames[] = { "self", NULL };
70551f47
RD
2055
2056 self = self;
107e4716 2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontData",_kwnames,&_argo0))
70551f47 2058 return NULL;
2d091820
RD
2059 if (_argo0) {
2060 if (_argo0 == Py_None) { _arg0 = NULL; }
2061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2063 return NULL;
2064 }
2065 }
ab9bc19b 2066{
474c48f9 2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2068 delete_wxFontData(_arg0);
2069
474c48f9 2070 wxPyEndAllowThreads(__tstate);
4dfaa61e 2071 if (PyErr_Occurred()) return NULL;
ab9bc19b 2072} Py_INCREF(Py_None);
70551f47
RD
2073 _resultobj = Py_None;
2074 return _resultobj;
2075}
2076
2077#define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
107e4716 2078static PyObject *_wrap_wxFontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2079 PyObject * _resultobj;
2080 wxFontData * _arg0;
2081 bool _arg1;
2d091820 2082 PyObject * _argo0 = 0;
70551f47 2083 int tempbool1;
107e4716 2084 char *_kwnames[] = { "self","enable", NULL };
70551f47
RD
2085
2086 self = self;
107e4716 2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_EnableEffects",_kwnames,&_argo0,&tempbool1))
70551f47 2088 return NULL;
2d091820
RD
2089 if (_argo0) {
2090 if (_argo0 == Py_None) { _arg0 = NULL; }
2091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
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;
ab9bc19b 2097{
474c48f9 2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2099 wxFontData_EnableEffects(_arg0,_arg1);
2100
474c48f9 2101 wxPyEndAllowThreads(__tstate);
4dfaa61e 2102 if (PyErr_Occurred()) return NULL;
ab9bc19b 2103} Py_INCREF(Py_None);
70551f47
RD
2104 _resultobj = Py_None;
2105 return _resultobj;
2106}
2107
2108#define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
107e4716 2109static PyObject *_wrap_wxFontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2110 PyObject * _resultobj;
2111 bool _result;
2112 wxFontData * _arg0;
2d091820 2113 PyObject * _argo0 = 0;
107e4716 2114 char *_kwnames[] = { "self", NULL };
70551f47
RD
2115
2116 self = self;
107e4716 2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetAllowSymbols",_kwnames,&_argo0))
70551f47 2118 return NULL;
2d091820
RD
2119 if (_argo0) {
2120 if (_argo0 == Py_None) { _arg0 = NULL; }
2121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2123 return NULL;
2124 }
2125 }
ab9bc19b 2126{
474c48f9 2127 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2128 _result = (bool )wxFontData_GetAllowSymbols(_arg0);
2129
474c48f9 2130 wxPyEndAllowThreads(__tstate);
4dfaa61e 2131 if (PyErr_Occurred()) return NULL;
ab9bc19b 2132} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2133 return _resultobj;
2134}
2135
2136#define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
107e4716 2137static PyObject *_wrap_wxFontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2138 PyObject * _resultobj;
2139 wxColour * _result;
2140 wxFontData * _arg0;
2d091820 2141 PyObject * _argo0 = 0;
107e4716 2142 char *_kwnames[] = { "self", NULL };
70551f47
RD
2143 char _ptemp[128];
2144
2145 self = self;
107e4716 2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetColour",_kwnames,&_argo0))
70551f47 2147 return NULL;
2d091820
RD
2148 if (_argo0) {
2149 if (_argo0 == Py_None) { _arg0 = NULL; }
2150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2152 return NULL;
2153 }
2154 }
ab9bc19b 2155{
474c48f9 2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
84a81942 2157 _result = new wxColour (wxFontData_GetColour(_arg0));
ab9bc19b 2158
474c48f9 2159 wxPyEndAllowThreads(__tstate);
4dfaa61e 2160 if (PyErr_Occurred()) return NULL;
84a81942
RD
2161} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2162 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
2163 return _resultobj;
2164}
2165
2166#define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
107e4716 2167static PyObject *_wrap_wxFontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2168 PyObject * _resultobj;
2169 wxFont * _result;
2170 wxFontData * _arg0;
2d091820 2171 PyObject * _argo0 = 0;
107e4716 2172 char *_kwnames[] = { "self", NULL };
70551f47
RD
2173 char _ptemp[128];
2174
2175 self = self;
107e4716 2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetChosenFont",_kwnames,&_argo0))
70551f47 2177 return NULL;
2d091820
RD
2178 if (_argo0) {
2179 if (_argo0 == Py_None) { _arg0 = NULL; }
2180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2182 return NULL;
2183 }
2184 }
ab9bc19b 2185{
474c48f9 2186 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2187 _result = new wxFont (wxFontData_GetChosenFont(_arg0));
2188
474c48f9 2189 wxPyEndAllowThreads(__tstate);
4dfaa61e 2190 if (PyErr_Occurred()) return NULL;
ab9bc19b 2191} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
70551f47
RD
2192 _resultobj = Py_BuildValue("s",_ptemp);
2193 return _resultobj;
2194}
2195
2196#define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
107e4716 2197static PyObject *_wrap_wxFontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2198 PyObject * _resultobj;
2199 bool _result;
2200 wxFontData * _arg0;
2d091820 2201 PyObject * _argo0 = 0;
107e4716 2202 char *_kwnames[] = { "self", NULL };
70551f47
RD
2203
2204 self = self;
107e4716 2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetEnableEffects",_kwnames,&_argo0))
70551f47 2206 return NULL;
2d091820
RD
2207 if (_argo0) {
2208 if (_argo0 == Py_None) { _arg0 = NULL; }
2209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2211 return NULL;
2212 }
2213 }
ab9bc19b 2214{
474c48f9 2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2216 _result = (bool )wxFontData_GetEnableEffects(_arg0);
2217
474c48f9 2218 wxPyEndAllowThreads(__tstate);
4dfaa61e 2219 if (PyErr_Occurred()) return NULL;
ab9bc19b 2220} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2221 return _resultobj;
2222}
2223
2224#define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
107e4716 2225static PyObject *_wrap_wxFontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2226 PyObject * _resultobj;
2227 wxFont * _result;
2228 wxFontData * _arg0;
2d091820 2229 PyObject * _argo0 = 0;
107e4716 2230 char *_kwnames[] = { "self", NULL };
70551f47
RD
2231 char _ptemp[128];
2232
2233 self = self;
107e4716 2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetInitialFont",_kwnames,&_argo0))
70551f47 2235 return NULL;
2d091820
RD
2236 if (_argo0) {
2237 if (_argo0 == Py_None) { _arg0 = NULL; }
2238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2240 return NULL;
2241 }
2242 }
ab9bc19b 2243{
474c48f9 2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2245 _result = new wxFont (wxFontData_GetInitialFont(_arg0));
2246
474c48f9 2247 wxPyEndAllowThreads(__tstate);
4dfaa61e 2248 if (PyErr_Occurred()) return NULL;
ab9bc19b 2249} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
70551f47
RD
2250 _resultobj = Py_BuildValue("s",_ptemp);
2251 return _resultobj;
2252}
2253
2254#define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
107e4716 2255static PyObject *_wrap_wxFontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2256 PyObject * _resultobj;
2257 bool _result;
2258 wxFontData * _arg0;
2d091820 2259 PyObject * _argo0 = 0;
107e4716 2260 char *_kwnames[] = { "self", NULL };
70551f47
RD
2261
2262 self = self;
107e4716 2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetShowHelp",_kwnames,&_argo0))
70551f47 2264 return NULL;
2d091820
RD
2265 if (_argo0) {
2266 if (_argo0 == Py_None) { _arg0 = NULL; }
2267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2269 return NULL;
2270 }
2271 }
ab9bc19b 2272{
474c48f9 2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2274 _result = (bool )wxFontData_GetShowHelp(_arg0);
2275
474c48f9 2276 wxPyEndAllowThreads(__tstate);
4dfaa61e 2277 if (PyErr_Occurred()) return NULL;
ab9bc19b 2278} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2279 return _resultobj;
2280}
2281
2282#define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
107e4716 2283static PyObject *_wrap_wxFontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2284 PyObject * _resultobj;
2285 wxFontData * _arg0;
2286 bool _arg1;
2d091820 2287 PyObject * _argo0 = 0;
70551f47 2288 int tempbool1;
107e4716 2289 char *_kwnames[] = { "self","allowSymbols", NULL };
70551f47
RD
2290
2291 self = self;
107e4716 2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetAllowSymbols",_kwnames,&_argo0,&tempbool1))
70551f47 2293 return NULL;
2d091820
RD
2294 if (_argo0) {
2295 if (_argo0 == Py_None) { _arg0 = NULL; }
2296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
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;
ab9bc19b 2302{
474c48f9 2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2304 wxFontData_SetAllowSymbols(_arg0,_arg1);
2305
474c48f9 2306 wxPyEndAllowThreads(__tstate);
4dfaa61e 2307 if (PyErr_Occurred()) return NULL;
ab9bc19b 2308} Py_INCREF(Py_None);
70551f47
RD
2309 _resultobj = Py_None;
2310 return _resultobj;
2311}
2312
2313#define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
107e4716 2314static PyObject *_wrap_wxFontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2315 PyObject * _resultobj;
2316 wxFontData * _arg0;
2317 wxFont * _arg1;
2d091820
RD
2318 PyObject * _argo0 = 0;
2319 PyObject * _argo1 = 0;
107e4716 2320 char *_kwnames[] = { "self","font", NULL };
70551f47
RD
2321
2322 self = self;
107e4716 2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetChosenFont",_kwnames,&_argo0,&_argo1))
70551f47 2324 return NULL;
2d091820
RD
2325 if (_argo0) {
2326 if (_argo0 == Py_None) { _arg0 = NULL; }
2327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2329 return NULL;
2330 }
2331 }
2d091820
RD
2332 if (_argo1) {
2333 if (_argo1 == Py_None) { _arg1 = NULL; }
2334 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
70551f47
RD
2335 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2336 return NULL;
2337 }
2338 }
ab9bc19b 2339{
474c48f9 2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2341 wxFontData_SetChosenFont(_arg0,*_arg1);
2342
474c48f9 2343 wxPyEndAllowThreads(__tstate);
4dfaa61e 2344 if (PyErr_Occurred()) return NULL;
ab9bc19b 2345} Py_INCREF(Py_None);
70551f47
RD
2346 _resultobj = Py_None;
2347 return _resultobj;
2348}
2349
2350#define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
107e4716 2351static PyObject *_wrap_wxFontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2352 PyObject * _resultobj;
2353 wxFontData * _arg0;
2354 wxColour * _arg1;
2d091820 2355 PyObject * _argo0 = 0;
f6bcfd97
BP
2356 wxColour temp;
2357 PyObject * _obj1 = 0;
107e4716 2358 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
2359
2360 self = self;
f6bcfd97 2361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetColour",_kwnames,&_argo0,&_obj1))
70551f47 2362 return NULL;
2d091820
RD
2363 if (_argo0) {
2364 if (_argo0 == Py_None) { _arg0 = NULL; }
2365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
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))
70551f47 2373 return NULL;
f6bcfd97 2374}
ab9bc19b 2375{
474c48f9 2376 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2377 wxFontData_SetColour(_arg0,*_arg1);
2378
474c48f9 2379 wxPyEndAllowThreads(__tstate);
4dfaa61e 2380 if (PyErr_Occurred()) return NULL;
ab9bc19b 2381} Py_INCREF(Py_None);
70551f47
RD
2382 _resultobj = Py_None;
2383 return _resultobj;
2384}
2385
2386#define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
107e4716 2387static PyObject *_wrap_wxFontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2388 PyObject * _resultobj;
2389 wxFontData * _arg0;
2390 wxFont * _arg1;
2d091820
RD
2391 PyObject * _argo0 = 0;
2392 PyObject * _argo1 = 0;
107e4716 2393 char *_kwnames[] = { "self","font", NULL };
70551f47
RD
2394
2395 self = self;
107e4716 2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetInitialFont",_kwnames,&_argo0,&_argo1))
70551f47 2397 return NULL;
2d091820
RD
2398 if (_argo0) {
2399 if (_argo0 == Py_None) { _arg0 = NULL; }
2400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2402 return NULL;
2403 }
2404 }
2d091820
RD
2405 if (_argo1) {
2406 if (_argo1 == Py_None) { _arg1 = NULL; }
2407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
70551f47
RD
2408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2409 return NULL;
2410 }
2411 }
ab9bc19b 2412{
474c48f9 2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2414 wxFontData_SetInitialFont(_arg0,*_arg1);
2415
474c48f9 2416 wxPyEndAllowThreads(__tstate);
4dfaa61e 2417 if (PyErr_Occurred()) return NULL;
ab9bc19b 2418} Py_INCREF(Py_None);
70551f47
RD
2419 _resultobj = Py_None;
2420 return _resultobj;
2421}
2422
2423#define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 2424static PyObject *_wrap_wxFontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2425 PyObject * _resultobj;
2426 wxFontData * _arg0;
2427 int _arg1;
2428 int _arg2;
2d091820 2429 PyObject * _argo0 = 0;
107e4716 2430 char *_kwnames[] = { "self","min","max", NULL };
70551f47
RD
2431
2432 self = self;
107e4716 2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxFontData_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 2434 return NULL;
2d091820
RD
2435 if (_argo0) {
2436 if (_argo0 == Py_None) { _arg0 = NULL; }
2437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
RD
2438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2439 return NULL;
2440 }
2441 }
ab9bc19b 2442{
474c48f9 2443 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2444 wxFontData_SetRange(_arg0,_arg1,_arg2);
2445
474c48f9 2446 wxPyEndAllowThreads(__tstate);
4dfaa61e 2447 if (PyErr_Occurred()) return NULL;
ab9bc19b 2448} Py_INCREF(Py_None);
70551f47
RD
2449 _resultobj = Py_None;
2450 return _resultobj;
2451}
2452
2453#define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
107e4716 2454static PyObject *_wrap_wxFontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2455 PyObject * _resultobj;
2456 wxFontData * _arg0;
2457 bool _arg1;
2d091820 2458 PyObject * _argo0 = 0;
70551f47 2459 int tempbool1;
107e4716 2460 char *_kwnames[] = { "self","showHelp", NULL };
70551f47
RD
2461
2462 self = self;
107e4716 2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetShowHelp",_kwnames,&_argo0,&tempbool1))
70551f47 2464 return NULL;
2d091820
RD
2465 if (_argo0) {
2466 if (_argo0 == Py_None) { _arg0 = NULL; }
2467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
70551f47
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;
ab9bc19b 2473{
474c48f9 2474 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2475 wxFontData_SetShowHelp(_arg0,_arg1);
2476
474c48f9 2477 wxPyEndAllowThreads(__tstate);
4dfaa61e 2478 if (PyErr_Occurred()) return NULL;
ab9bc19b 2479} Py_INCREF(Py_None);
70551f47
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
32c988a3 2492static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr) {
70551f47 2493 wxFontDialog *src;
32c988a3 2494 wxTopLevelWindow *dest;
70551f47 2495 src = (wxFontDialog *) ptr;
32c988a3 2496 dest = (wxTopLevelWindow *) src;
70551f47
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
9df61a29
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
70551f47 2524#define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
107e4716 2525static PyObject *_wrap_new_wxFontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2526 PyObject * _resultobj;
2527 wxFontDialog * _result;
2528 wxWindow * _arg0;
e02c03a4 2529 wxFontData * _arg1;
2d091820
RD
2530 PyObject * _argo0 = 0;
2531 PyObject * _argo1 = 0;
107e4716 2532 char *_kwnames[] = { "parent","data", NULL };
70551f47
RD
2533 char _ptemp[128];
2534
2535 self = self;
e02c03a4 2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxFontDialog",_kwnames,&_argo0,&_argo1))
70551f47 2537 return NULL;
2d091820
RD
2538 if (_argo0) {
2539 if (_argo0 == Py_None) { _arg0 = NULL; }
2540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
2541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2542 return NULL;
2543 }
2544 }
2d091820
RD
2545 if (_argo1) {
2546 if (_argo1 == Py_None) { _arg1 = NULL; }
2547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFontData_p")) {
70551f47
RD
2548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2549 return NULL;
2550 }
2551 }
ab9bc19b 2552{
474c48f9 2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2554 _result = (wxFontDialog *)new_wxFontDialog(_arg0,_arg1);
2555
474c48f9 2556 wxPyEndAllowThreads(__tstate);
4dfaa61e 2557 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
2565 return _resultobj;
2566}
2567
2568#define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
107e4716 2569static PyObject *_wrap_wxFontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2570 PyObject * _resultobj;
2571 wxFontData * _result;
2572 wxFontDialog * _arg0;
2d091820 2573 PyObject * _argo0 = 0;
107e4716 2574 char *_kwnames[] = { "self", NULL };
70551f47
RD
2575 char _ptemp[128];
2576
2577 self = self;
107e4716 2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_GetFontData",_kwnames,&_argo0))
70551f47 2579 return NULL;
2d091820
RD
2580 if (_argo0) {
2581 if (_argo0 == Py_None) { _arg0 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
70551f47
RD
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2584 return NULL;
2585 }
2586 }
ab9bc19b 2587{
474c48f9 2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b 2589 wxFontData & _result_ref = wxFontDialog_GetFontData(_arg0);
70551f47 2590 _result = (wxFontData *) &_result_ref;
ab9bc19b 2591
474c48f9 2592 wxPyEndAllowThreads(__tstate);
4dfaa61e 2593 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
2601 return _resultobj;
2602}
2603
2604#define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 2605static PyObject *_wrap_wxFontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2606 PyObject * _resultobj;
2607 int _result;
2608 wxFontDialog * _arg0;
2d091820 2609 PyObject * _argo0 = 0;
107e4716 2610 char *_kwnames[] = { "self", NULL };
70551f47
RD
2611
2612 self = self;
107e4716 2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_ShowModal",_kwnames,&_argo0))
70551f47 2614 return NULL;
2d091820
RD
2615 if (_argo0) {
2616 if (_argo0 == Py_None) { _arg0 = NULL; }
2617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
70551f47
RD
2618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2619 return NULL;
2620 }
2621 }
ab9bc19b 2622{
474c48f9 2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
ab9bc19b
RD
2624 _result = (int )wxFontDialog_ShowModal(_arg0);
2625
474c48f9 2626 wxPyEndAllowThreads(__tstate);
4dfaa61e 2627 if (PyErr_Occurred()) return NULL;
ab9bc19b 2628} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2629 return _resultobj;
2630}
2631
d24a34bb
RD
2632static void *SwigwxMessageDialogTowxDialog(void *ptr) {
2633 wxMessageDialog *src;
faf3cb35 2634 wxDialog *dest;
d24a34bb 2635 src = (wxMessageDialog *) ptr;
faf3cb35
RD
2636 dest = (wxDialog *) src;
2637 return (void *) dest;
2638}
2639
32c988a3 2640static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr) {
d24a34bb 2641 wxMessageDialog *src;
32c988a3 2642 wxTopLevelWindow *dest;
d24a34bb 2643 src = (wxMessageDialog *) ptr;
32c988a3 2644 dest = (wxTopLevelWindow *) src;
faf3cb35
RD
2645 return (void *) dest;
2646}
2647
d24a34bb
RD
2648static void *SwigwxMessageDialogTowxWindow(void *ptr) {
2649 wxMessageDialog *src;
faf3cb35 2650 wxWindow *dest;
d24a34bb 2651 src = (wxMessageDialog *) ptr;
faf3cb35
RD
2652 dest = (wxWindow *) src;
2653 return (void *) dest;
2654}
2655
d24a34bb
RD
2656static void *SwigwxMessageDialogTowxEvtHandler(void *ptr) {
2657 wxMessageDialog *src;
faf3cb35 2658 wxEvtHandler *dest;
d24a34bb 2659 src = (wxMessageDialog *) ptr;
faf3cb35
RD
2660 dest = (wxEvtHandler *) src;
2661 return (void *) dest;
2662}
2663
9df61a29
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
d24a34bb 2672#define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 2673static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 2674 PyObject * _resultobj;
d24a34bb 2675 wxMessageDialog * _result;
faf3cb35 2676 wxWindow * _arg0;
d24a34bb 2677 char * _arg1;
2d091820
RD
2678 char * _arg2 = (char *) "Message box";
2679 long _arg3 = (long ) wxOK|wxCANCEL|wxCENTRE;
b68dc582 2680 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2d091820 2681 PyObject * _argo0 = 0;
37f6a977
RD
2682 wxPoint temp;
2683 PyObject * _obj4 = 0;
107e4716 2684 char *_kwnames[] = { "parent","message","caption","style","pos", NULL };
faf3cb35
RD
2685 char _ptemp[128];
2686
2687 self = self;
37f6a977 2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|slO:new_wxMessageDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
faf3cb35 2689 return NULL;
2d091820
RD
2690 if (_argo0) {
2691 if (_argo0 == Py_None) { _arg0 = NULL; }
2692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d24a34bb 2693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
faf3cb35
RD
2694 return NULL;
2695 }
2696 }
37f6a977
RD
2697 if (_obj4)
2698{
2699 _arg4 = &temp;
2700 if (! wxPoint_helper(_obj4, &_arg4))
faf3cb35 2701 return NULL;
37f6a977 2702}
ab9bc19b 2703{
474c48f9 2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
d24a34bb 2705 _result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
ab9bc19b 2706
474c48f9 2707 wxPyEndAllowThreads(__tstate);
4dfaa61e 2708 if (PyErr_Occurred()) return NULL;
2d091820
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 }
faf3cb35
RD
2716 return _resultobj;
2717}
2718
d24a34bb 2719#define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
107e4716 2720static PyObject *_wrap_wxMessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 2721 PyObject * _resultobj;
d24a34bb
RD
2722 int _result;
2723 wxMessageDialog * _arg0;
2d091820 2724 PyObject * _argo0 = 0;
107e4716 2725 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
2726
2727 self = self;
107e4716 2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMessageDialog_ShowModal",_kwnames,&_argo0))
faf3cb35 2729 return NULL;
2d091820
RD
2730 if (_argo0) {
2731 if (_argo0 == Py_None) { _arg0 = NULL; }
2732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMessageDialog_p")) {
d24a34bb 2733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
faf3cb35
RD
2734 return NULL;
2735 }
2736 }
ab9bc19b 2737{
474c48f9 2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
d24a34bb 2739 _result = (int )wxMessageDialog_ShowModal(_arg0);
ab9bc19b 2740
474c48f9 2741 wxPyEndAllowThreads(__tstate);
4dfaa61e 2742 if (PyErr_Occurred()) return NULL;
d24a34bb 2743} _resultobj = Py_BuildValue("i",_result);
faf3cb35
RD
2744 return _resultobj;
2745}
2746
d24a34bb
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
32c988a3
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
d24a34bb
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
9df61a29
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
d24a34bb 2787#define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 2788static PyObject *_wrap_new_wxProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 2789 PyObject * _resultobj;
d24a34bb
RD
2790 wxProgressDialog * _result;
2791 wxString * _arg0;
2792 wxString * _arg1;
2d091820
RD
2793 int _arg2 = (int ) 100;
2794 wxWindow * _arg3 = (wxWindow *) NULL;
2795 int _arg4 = (int ) wxPD_AUTO_HIDE|wxPD_APP_MODAL;
d24a34bb
RD
2796 PyObject * _obj0 = 0;
2797 PyObject * _obj1 = 0;
2d091820 2798 PyObject * _argo3 = 0;
107e4716 2799 char *_kwnames[] = { "title","message","maximum","parent","style", NULL };
faf3cb35
RD
2800 char _ptemp[128];
2801
2802 self = self;
107e4716 2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOi:new_wxProgressDialog",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4))
faf3cb35 2804 return NULL;
d24a34bb 2805{
2cd2fac8
RD
2806#if PYTHON_API_VERSION >= 1009
2807 char* tmpPtr; int tmpSize;
2808 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 2809 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2810 return NULL;
2811 }
2812 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2813 return NULL;
2814 _arg0 = new wxString(tmpPtr, tmpSize);
2815#else
d24a34bb
RD
2816 if (!PyString_Check(_obj0)) {
2817 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
faf3cb35 2818 return NULL;
faf3cb35 2819 }
2cd2fac8
RD
2820 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2821#endif
faf3cb35 2822}
d24a34bb 2823{
2cd2fac8
RD
2824#if PYTHON_API_VERSION >= 1009
2825 char* tmpPtr; int tmpSize;
2826 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2827 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2828 return NULL;
2829 }
2830 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2831 return NULL;
2832 _arg1 = new wxString(tmpPtr, tmpSize);
2833#else
d24a34bb
RD
2834 if (!PyString_Check(_obj1)) {
2835 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
faf3cb35 2836 return NULL;
d24a34bb 2837 }
2cd2fac8
RD
2838 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2839#endif
d24a34bb 2840}
2d091820
RD
2841 if (_argo3) {
2842 if (_argo3 == Py_None) { _arg3 = NULL; }
2843 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
d24a34bb 2844 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
faf3cb35
RD
2845 return NULL;
2846 }
2847 }
ab9bc19b 2848{
474c48f9 2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
d24a34bb 2850 _result = (wxProgressDialog *)new_wxProgressDialog(*_arg0,*_arg1,_arg2,_arg3,_arg4);
ab9bc19b 2851
474c48f9 2852 wxPyEndAllowThreads(__tstate);
4dfaa61e 2853 if (PyErr_Occurred()) return NULL;
2d091820
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 }
d24a34bb
RD
2861{
2862 if (_obj0)
2863 delete _arg0;
70551f47 2864}
d24a34bb
RD
2865{
2866 if (_obj1)
2867 delete _arg1;
70551f47 2868}
d24a34bb 2869 return _resultobj;
70551f47
RD
2870}
2871
d24a34bb 2872#define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
107e4716 2873static PyObject *_wrap_wxProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2874 PyObject * _resultobj;
d24a34bb
RD
2875 bool _result;
2876 wxProgressDialog * _arg0;
2d091820
RD
2877 int _arg1 = (int ) -1;
2878 char * _arg2 = (char *) NULL;
2879 PyObject * _argo0 = 0;
107e4716 2880 char *_kwnames[] = { "self","value","newmsg", NULL };
70551f47
RD
2881
2882 self = self;
107e4716 2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|is:wxProgressDialog_Update",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 2884 return NULL;
2d091820
RD
2885 if (_argo0) {
2886 if (_argo0 == Py_None) { _arg0 = NULL; }
2887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
d24a34bb 2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
70551f47
RD
2889 return NULL;
2890 }
2891 }
ab9bc19b 2892{
474c48f9 2893 PyThreadState* __tstate = wxPyBeginAllowThreads();
d24a34bb 2894 _result = (bool )wxProgressDialog_Update(_arg0,_arg1,_arg2);
ab9bc19b 2895
474c48f9 2896 wxPyEndAllowThreads(__tstate);
4dfaa61e 2897 if (PyErr_Occurred()) return NULL;
d24a34bb 2898} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2899 return _resultobj;
2900}
2901
d24a34bb 2902#define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
107e4716 2903static PyObject *_wrap_wxProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2904 PyObject * _resultobj;
d24a34bb 2905 wxProgressDialog * _arg0;
2d091820 2906 PyObject * _argo0 = 0;
107e4716 2907 char *_kwnames[] = { "self", NULL };
70551f47
RD
2908
2909 self = self;
107e4716 2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProgressDialog_Resume",_kwnames,&_argo0))
70551f47 2911 return NULL;
2d091820
RD
2912 if (_argo0) {
2913 if (_argo0 == Py_None) { _arg0 = NULL; }
2914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
d24a34bb 2915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
70551f47
RD
2916 return NULL;
2917 }
2918 }
ab9bc19b 2919{
474c48f9 2920 PyThreadState* __tstate = wxPyBeginAllowThreads();
d24a34bb 2921 wxProgressDialog_Resume(_arg0);
ab9bc19b 2922
474c48f9 2923 wxPyEndAllowThreads(__tstate);
4dfaa61e 2924 if (PyErr_Occurred()) return NULL;
d24a34bb
RD
2925} Py_INCREF(Py_None);
2926 _resultobj = Py_None;
70551f47
RD
2927 return _resultobj;
2928}
2929
0220cbc1
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{
474c48f9 2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
2968 _result = (wxFindDialogEvent *)new_wxFindDialogEvent(_arg0,_arg1);
2969
474c48f9 2970 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3001 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3002 _result = (int )wxFindDialogEvent_GetFlags(_arg0);
3003
474c48f9 3004 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3030 _result = new wxString (wxFindDialogEvent_GetFindString(_arg0));
3031
474c48f9 3032 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3063 const wxString & _result_ref = wxFindDialogEvent_GetReplaceString(_arg0);
3064 _result = (wxString *) &_result_ref;
3065
474c48f9 3066 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3095 _result = (wxFindReplaceDialog *)wxFindDialogEvent_GetDialog(_arg0);
3096
474c48f9 3097 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3129 wxFindDialogEvent_SetFlags(_arg0,_arg1);
3130
474c48f9 3131 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3177 wxFindDialogEvent_SetFindString(_arg0,*_arg1);
3178
474c48f9 3179 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3229 wxFindDialogEvent_SetReplaceString(_arg0,*_arg1);
3230
474c48f9 3231 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3263 _result = (wxFindReplaceData *)new_wxFindReplaceData(_arg0);
3264
474c48f9 3265 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3296 delete_wxFindReplaceData(_arg0);
3297
474c48f9 3298 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3325 const wxString & _result_ref = wxFindReplaceData_GetFindString(_arg0);
3326 _result = (wxString *) &_result_ref;
3327
474c48f9 3328 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3356 const wxString & _result_ref = wxFindReplaceData_GetReplaceString(_arg0);
3357 _result = (wxString *) &_result_ref;
3358
474c48f9 3359 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3386 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3387 _result = (int )wxFindReplaceData_GetFlags(_arg0);
3388
474c48f9 3389 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3415 wxFindReplaceData_SetFlags(_arg0,_arg1);
3416
474c48f9 3417 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3463 wxFindReplaceData_SetFindString(_arg0,*_arg1);
3464
474c48f9 3465 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3515 wxFindReplaceData_SetReplaceString(_arg0,*_arg1);
3516
474c48f9 3517 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3619 _result = (wxFindReplaceDialog *)new_wxFindReplaceDialog(_arg0,_arg1,*_arg2,_arg3);
3620
474c48f9 3621 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3649 _result = (wxFindReplaceDialog *)new_wxPreFindReplaceDialog();
3650
474c48f9 3651 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3722 _result = (bool )wxFindReplaceDialog_Create(_arg0,_arg1,_arg2,*_arg3,_arg4);
3723
474c48f9 3724 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3755 _result = (wxFindReplaceData *)wxFindReplaceDialog_GetData(_arg0);
3756
474c48f9 3757 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
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{
474c48f9 3796 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1
RD
3797 wxFindReplaceDialog_SetData(_arg0,_arg1);
3798
474c48f9 3799 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
3800 if (PyErr_Occurred()) return NULL;
3801} Py_INCREF(Py_None);
3802 _resultobj = Py_None;
3803 return _resultobj;
3804}
3805
70551f47 3806static PyMethodDef cmndlgscMethods[] = {
0220cbc1
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 },
107e4716
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 },
107e4716
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 },
70551f47
RD
3896 { NULL, NULL }
3897};
2d091820
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[] = {
0220cbc1 3905 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent},
2d091820 3906 { "_signed_long","_long",0},
4120ef2b 3907 { "_wxPrintQuality","_wxCoord",0},
2d091820
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},
2d091820 3916 { "_byte","_unsigned_char",0},
2d091820
RD
3917 { "_long","_unsigned_long",0},
3918 { "_long","_signed_long",0},
4120ef2b 3919 { "_size_t","_wxCoord",0},
2d091820 3920 { "_size_t","_wxPrintQuality",0},
c368d904 3921 { "_size_t","_time_t",0},
2d091820
RD
3922 { "_size_t","_unsigned_int",0},
3923 { "_size_t","_int",0},
3924 { "_size_t","_wxWindowID",0},
3925 { "_size_t","_uint",0},
0220cbc1 3926 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow},
32c988a3 3927 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow},
32c988a3 3928 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow},
32c988a3 3929 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow},
32c988a3 3930 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow},
32c988a3 3931 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow},
32c988a3 3932 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow},
32c988a3 3933 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow},
32c988a3 3934 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow},
4120ef2b 3935 { "_uint","_wxCoord",0},
2d091820 3936 { "_uint","_wxPrintQuality",0},
c368d904 3937 { "_uint","_time_t",0},
2d091820
RD
3938 { "_uint","_size_t",0},
3939 { "_uint","_unsigned_int",0},
3940 { "_uint","_int",0},
3941 { "_uint","_wxWindowID",0},
f6bcfd97 3942 { "_wxChar","_char",0},
0220cbc1 3943 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent},
f6bcfd97 3944 { "_char","_wxChar",0},
32c988a3 3945 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4120ef2b 3946 { "_EBool","_wxCoord",0},
2d091820
RD
3947 { "_EBool","_wxPrintQuality",0},
3948 { "_EBool","_signed_int",0},
3949 { "_EBool","_int",0},
3950 { "_EBool","_wxWindowID",0},
2d091820 3951 { "_unsigned_long","_long",0},
32c988a3 3952 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4120ef2b 3953 { "_signed_int","_wxCoord",0},
2d091820
RD
3954 { "_signed_int","_wxPrintQuality",0},
3955 { "_signed_int","_EBool",0},
3956 { "_signed_int","_wxWindowID",0},
3957 { "_signed_int","_int",0},
2d091820
RD
3958 { "_WXTYPE","_short",0},
3959 { "_WXTYPE","_signed_short",0},
3960 { "_WXTYPE","_unsigned_short",0},
2d091820
RD
3961 { "_unsigned_short","_WXTYPE",0},
3962 { "_unsigned_short","_short",0},
0220cbc1 3963 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject},
0220cbc1 3964 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject},
0220cbc1 3965 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject},
9df61a29 3966 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject},
9df61a29 3967 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject},
9df61a29 3968 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject},
9df61a29 3969 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject},
9df61a29 3970 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
9df61a29 3971 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
9df61a29 3972 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject},
9df61a29 3973 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject},
9df61a29 3974 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject},
9df61a29 3975 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject},
2d091820
RD
3976 { "_signed_short","_WXTYPE",0},
3977 { "_signed_short","_short",0},
2d091820 3978 { "_unsigned_char","_byte",0},
4120ef2b 3979 { "_unsigned_int","_wxCoord",0},
2d091820 3980 { "_unsigned_int","_wxPrintQuality",0},
c368d904 3981 { "_unsigned_int","_time_t",0},
2d091820
RD
3982 { "_unsigned_int","_size_t",0},
3983 { "_unsigned_int","_uint",0},
3984 { "_unsigned_int","_wxWindowID",0},
3985 { "_unsigned_int","_int",0},
0220cbc1 3986 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog},
2d091820 3987 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog},
2d091820 3988 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog},
2d091820 3989 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
2d091820 3990 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
2d091820 3991 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog},
2d091820 3992 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog},
2d091820 3993 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog},
2d091820
RD
3994 { "_short","_WXTYPE",0},
3995 { "_short","_unsigned_short",0},
3996 { "_short","_signed_short",0},
2d091820 3997 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame},
4120ef2b 3998 { "_wxWindowID","_wxCoord",0},
2d091820 3999 { "_wxWindowID","_wxPrintQuality",0},
c368d904 4000 { "_wxWindowID","_time_t",0},
2d091820
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},
4120ef2b 4007 { "_int","_wxCoord",0},
2d091820 4008 { "_int","_wxPrintQuality",0},
c368d904 4009 { "_int","_time_t",0},
2d091820
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},
4120ef2b
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},
4120ef2b 4031 { "_wxCoord","_wxPrintQuality",0},
0220cbc1 4032 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler},
2d091820 4033 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
2d091820 4034 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
2d091820 4035 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
2d091820 4036 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
2d091820 4037 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
2d091820 4038 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
2d091820 4039 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
2d091820 4040 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
0220cbc1 4041 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow},
2d091820 4042 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow},
2d091820 4043 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow},
2d091820 4044 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow},
2d091820 4045 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
2d091820 4046 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
2d091820 4047 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow},
2d091820 4048 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow},
2d091820 4049 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow},
2d091820
RD
4050{0,0,0}};
4051
70551f47
RD
4052static PyObject *SWIG_globals;
4053#ifdef __cplusplus
4054extern "C"
4055#endif
2d091820 4056SWIGEXPORT(void) initcmndlgsc() {
70551f47
RD
4057 PyObject *m, *d;
4058 SWIG_globals = SWIG_newvarlink();
4059 m = Py_InitModule("cmndlgsc", cmndlgscMethods);
4060 d = PyModule_GetDict(m);
0220cbc1
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));
2d091820
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}
70551f47 4078}