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