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