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