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