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