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