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