]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/cmndlgs.cpp
Implemented the first phase of OOR (Original Object Return). See the
[wxWidgets.git] / wxPython / src / gtk / cmndlgs.cpp
1 /*
2 * FILE : src/gtk/cmndlgs.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initcmndlgsc
55
56 #define SWIG_name "cmndlgsc"
57
58 #include "helpers.h"
59 #include <wx/colordlg.h>
60 #include <wx/dirdlg.h>
61 #include <wx/fontdlg.h>
62 #include <wx/progdlg.h>
63
64 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyList_Check(target)) {
73 o2 = target;
74 target = PyList_New(0);
75 PyList_Append(target, o2);
76 Py_XDECREF(o2);
77 }
78 PyList_Append(target,o);
79 Py_XDECREF(o);
80 }
81 return target;
82 }
83
84 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
85 PyObject* o2;
86 PyObject* o3;
87
88 if (!target) {
89 target = o;
90 } else if (target == Py_None) {
91 Py_DECREF(Py_None);
92 target = o;
93 } else {
94 if (!PyTuple_Check(target)) {
95 o2 = target;
96 target = PyTuple_New(1);
97 PyTuple_SetItem(target, 0, o2);
98 }
99 o3 = PyTuple_New(1);
100 PyTuple_SetItem(o3, 0, o);
101
102 o2 = target;
103 target = PySequence_Concat(o2, o3);
104 Py_DECREF(o2);
105 Py_DECREF(o3);
106 }
107 return target;
108 }
109
110 #if PYTHON_API_VERSION >= 1009
111 static char* wxStringErrorMsg = "String or Unicode type required";
112 #else
113 static char* wxStringErrorMsg = "string type is required for parameter";
114 #endif
115 #ifdef __cplusplus
116 extern "C" {
117 #endif
118 static void *SwigwxColourDataTowxObject(void *ptr) {
119 wxColourData *src;
120 wxObject *dest;
121 src = (wxColourData *) ptr;
122 dest = (wxObject *) src;
123 return (void *) dest;
124 }
125
126 #define new_wxColourData() (new wxColourData())
127 static PyObject *_wrap_new_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
128 PyObject * _resultobj;
129 wxColourData * _result;
130 char *_kwnames[] = { NULL };
131 char _ptemp[128];
132
133 self = self;
134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxColourData",_kwnames))
135 return NULL;
136 {
137 wxPy_BEGIN_ALLOW_THREADS;
138 _result = (wxColourData *)new_wxColourData();
139
140 wxPy_END_ALLOW_THREADS;
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 } Py_INCREF(Py_None);
174 _resultobj = Py_None;
175 return _resultobj;
176 }
177
178 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
179 static PyObject *_wrap_wxColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
180 PyObject * _resultobj;
181 bool _result;
182 wxColourData * _arg0;
183 PyObject * _argo0 = 0;
184 char *_kwnames[] = { "self", NULL };
185
186 self = self;
187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetChooseFull",_kwnames,&_argo0))
188 return NULL;
189 if (_argo0) {
190 if (_argo0 == Py_None) { _arg0 = NULL; }
191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
193 return NULL;
194 }
195 }
196 {
197 wxPy_BEGIN_ALLOW_THREADS;
198 _result = (bool )wxColourData_GetChooseFull(_arg0);
199
200 wxPy_END_ALLOW_THREADS;
201 } _resultobj = Py_BuildValue("i",_result);
202 return _resultobj;
203 }
204
205 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
206 static PyObject *_wrap_wxColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
207 PyObject * _resultobj;
208 wxColour * _result;
209 wxColourData * _arg0;
210 PyObject * _argo0 = 0;
211 char *_kwnames[] = { "self", NULL };
212 char _ptemp[128];
213
214 self = self;
215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetColour",_kwnames,&_argo0))
216 return NULL;
217 if (_argo0) {
218 if (_argo0 == Py_None) { _arg0 = NULL; }
219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
221 return NULL;
222 }
223 }
224 {
225 wxPy_BEGIN_ALLOW_THREADS;
226 wxColour & _result_ref = wxColourData_GetColour(_arg0);
227 _result = (wxColour *) &_result_ref;
228
229 wxPy_END_ALLOW_THREADS;
230 } if (_result) {
231 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
232 _resultobj = Py_BuildValue("s",_ptemp);
233 } else {
234 Py_INCREF(Py_None);
235 _resultobj = Py_None;
236 }
237 return _resultobj;
238 }
239
240 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
241 static PyObject *_wrap_wxColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
242 PyObject * _resultobj;
243 wxColour * _result;
244 wxColourData * _arg0;
245 int _arg1;
246 PyObject * _argo0 = 0;
247 char *_kwnames[] = { "self","i", NULL };
248 char _ptemp[128];
249
250 self = self;
251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_GetCustomColour",_kwnames,&_argo0,&_arg1))
252 return NULL;
253 if (_argo0) {
254 if (_argo0 == Py_None) { _arg0 = NULL; }
255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
257 return NULL;
258 }
259 }
260 {
261 wxPy_BEGIN_ALLOW_THREADS;
262 _result = new wxColour (wxColourData_GetCustomColour(_arg0,_arg1));
263
264 wxPy_END_ALLOW_THREADS;
265 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
266 _resultobj = Py_BuildValue("s",_ptemp);
267 return _resultobj;
268 }
269
270 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
271 static PyObject *_wrap_wxColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
272 PyObject * _resultobj;
273 wxColourData * _arg0;
274 int _arg1;
275 PyObject * _argo0 = 0;
276 char *_kwnames[] = { "self","flag", NULL };
277
278 self = self;
279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_SetChooseFull",_kwnames,&_argo0,&_arg1))
280 return NULL;
281 if (_argo0) {
282 if (_argo0 == Py_None) { _arg0 = NULL; }
283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
285 return NULL;
286 }
287 }
288 {
289 wxPy_BEGIN_ALLOW_THREADS;
290 wxColourData_SetChooseFull(_arg0,_arg1);
291
292 wxPy_END_ALLOW_THREADS;
293 } Py_INCREF(Py_None);
294 _resultobj = Py_None;
295 return _resultobj;
296 }
297
298 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
299 static PyObject *_wrap_wxColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
300 PyObject * _resultobj;
301 wxColourData * _arg0;
302 wxColour * _arg1;
303 PyObject * _argo0 = 0;
304 wxColour temp;
305 PyObject * _obj1 = 0;
306 char *_kwnames[] = { "self","colour", NULL };
307
308 self = self;
309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourData_SetColour",_kwnames,&_argo0,&_obj1))
310 return NULL;
311 if (_argo0) {
312 if (_argo0 == Py_None) { _arg0 = NULL; }
313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) {
314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
315 return NULL;
316 }
317 }
318 {
319 _arg1 = &temp;
320 if (! wxColour_helper(_obj1, &_arg1))
321 return NULL;
322 }
323 {
324 wxPy_BEGIN_ALLOW_THREADS;
325 wxColourData_SetColour(_arg0,*_arg1);
326
327 wxPy_END_ALLOW_THREADS;
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 } Py_INCREF(Py_None);
365 _resultobj = Py_None;
366 return _resultobj;
367 }
368
369 static void *SwigwxColourDialogTowxDialog(void *ptr) {
370 wxColourDialog *src;
371 wxDialog *dest;
372 src = (wxColourDialog *) ptr;
373 dest = (wxDialog *) src;
374 return (void *) dest;
375 }
376
377 static void *SwigwxColourDialogTowxPanel(void *ptr) {
378 wxColourDialog *src;
379 wxPanel *dest;
380 src = (wxColourDialog *) ptr;
381 dest = (wxPanel *) src;
382 return (void *) dest;
383 }
384
385 static void *SwigwxColourDialogTowxWindow(void *ptr) {
386 wxColourDialog *src;
387 wxWindow *dest;
388 src = (wxColourDialog *) ptr;
389 dest = (wxWindow *) src;
390 return (void *) dest;
391 }
392
393 static void *SwigwxColourDialogTowxEvtHandler(void *ptr) {
394 wxColourDialog *src;
395 wxEvtHandler *dest;
396 src = (wxColourDialog *) ptr;
397 dest = (wxEvtHandler *) src;
398 return (void *) dest;
399 }
400
401 static void *SwigwxColourDialogTowxObject(void *ptr) {
402 wxColourDialog *src;
403 wxObject *dest;
404 src = (wxColourDialog *) ptr;
405 dest = (wxObject *) src;
406 return (void *) dest;
407 }
408
409 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
410 static PyObject *_wrap_new_wxColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
411 PyObject * _resultobj;
412 wxColourDialog * _result;
413 wxWindow * _arg0;
414 wxColourData * _arg1 = (wxColourData *) NULL;
415 PyObject * _argo0 = 0;
416 PyObject * _argo1 = 0;
417 char *_kwnames[] = { "parent","data", NULL };
418 char _ptemp[128];
419
420 self = self;
421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxColourDialog",_kwnames,&_argo0,&_argo1))
422 return NULL;
423 if (_argo0) {
424 if (_argo0 == Py_None) { _arg0 = NULL; }
425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
427 return NULL;
428 }
429 }
430 if (_argo1) {
431 if (_argo1 == Py_None) { _arg1 = NULL; }
432 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColourData_p")) {
433 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
434 return NULL;
435 }
436 }
437 {
438 wxPy_BEGIN_ALLOW_THREADS;
439 _result = (wxColourDialog *)new_wxColourDialog(_arg0,_arg1);
440
441 wxPy_END_ALLOW_THREADS;
442 } if (_result) {
443 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourDialog_p");
444 _resultobj = Py_BuildValue("s",_ptemp);
445 } else {
446 Py_INCREF(Py_None);
447 _resultobj = Py_None;
448 }
449 return _resultobj;
450 }
451
452 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
453 static PyObject *_wrap_wxColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
454 PyObject * _resultobj;
455 wxColourData * _result;
456 wxColourDialog * _arg0;
457 PyObject * _argo0 = 0;
458 char *_kwnames[] = { "self", NULL };
459 char _ptemp[128];
460
461 self = self;
462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_GetColourData",_kwnames,&_argo0))
463 return NULL;
464 if (_argo0) {
465 if (_argo0 == Py_None) { _arg0 = NULL; }
466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
468 return NULL;
469 }
470 }
471 {
472 wxPy_BEGIN_ALLOW_THREADS;
473 wxColourData & _result_ref = wxColourDialog_GetColourData(_arg0);
474 _result = (wxColourData *) &_result_ref;
475
476 wxPy_END_ALLOW_THREADS;
477 } if (_result) {
478 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p");
479 _resultobj = Py_BuildValue("s",_ptemp);
480 } else {
481 Py_INCREF(Py_None);
482 _resultobj = Py_None;
483 }
484 return _resultobj;
485 }
486
487 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
488 static PyObject *_wrap_wxColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
489 PyObject * _resultobj;
490 int _result;
491 wxColourDialog * _arg0;
492 PyObject * _argo0 = 0;
493 char *_kwnames[] = { "self", NULL };
494
495 self = self;
496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_ShowModal",_kwnames,&_argo0))
497 return NULL;
498 if (_argo0) {
499 if (_argo0 == Py_None) { _arg0 = NULL; }
500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) {
501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
502 return NULL;
503 }
504 }
505 {
506 wxPy_BEGIN_ALLOW_THREADS;
507 _result = (int )wxColourDialog_ShowModal(_arg0);
508
509 wxPy_END_ALLOW_THREADS;
510 } _resultobj = Py_BuildValue("i",_result);
511 return _resultobj;
512 }
513
514 static void *SwigwxDirDialogTowxDialog(void *ptr) {
515 wxDirDialog *src;
516 wxDialog *dest;
517 src = (wxDirDialog *) ptr;
518 dest = (wxDialog *) src;
519 return (void *) dest;
520 }
521
522 static void *SwigwxDirDialogTowxPanel(void *ptr) {
523 wxDirDialog *src;
524 wxPanel *dest;
525 src = (wxDirDialog *) ptr;
526 dest = (wxPanel *) src;
527 return (void *) dest;
528 }
529
530 static void *SwigwxDirDialogTowxWindow(void *ptr) {
531 wxDirDialog *src;
532 wxWindow *dest;
533 src = (wxDirDialog *) ptr;
534 dest = (wxWindow *) src;
535 return (void *) dest;
536 }
537
538 static void *SwigwxDirDialogTowxEvtHandler(void *ptr) {
539 wxDirDialog *src;
540 wxEvtHandler *dest;
541 src = (wxDirDialog *) ptr;
542 dest = (wxEvtHandler *) src;
543 return (void *) dest;
544 }
545
546 static void *SwigwxDirDialogTowxObject(void *ptr) {
547 wxDirDialog *src;
548 wxObject *dest;
549 src = (wxDirDialog *) ptr;
550 dest = (wxObject *) src;
551 return (void *) dest;
552 }
553
554 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
555 static PyObject *_wrap_new_wxDirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
556 PyObject * _resultobj;
557 wxDirDialog * _result;
558 wxWindow * _arg0;
559 char * _arg1 = (char *) "Choose a directory";
560 char * _arg2 = (char *) "";
561 long _arg3 = (long ) 0;
562 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
563 PyObject * _argo0 = 0;
564 wxPoint temp;
565 PyObject * _obj4 = 0;
566 char *_kwnames[] = { "parent","message","defaultPath","style","pos", NULL };
567 char _ptemp[128];
568
569 self = self;
570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sslO:new_wxDirDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
571 return NULL;
572 if (_argo0) {
573 if (_argo0 == Py_None) { _arg0 = NULL; }
574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
576 return NULL;
577 }
578 }
579 if (_obj4)
580 {
581 _arg4 = &temp;
582 if (! wxPoint_helper(_obj4, &_arg4))
583 return NULL;
584 }
585 {
586 wxPy_BEGIN_ALLOW_THREADS;
587 _result = (wxDirDialog *)new_wxDirDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
588
589 wxPy_END_ALLOW_THREADS;
590 } if (_result) {
591 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirDialog_p");
592 _resultobj = Py_BuildValue("s",_ptemp);
593 } else {
594 Py_INCREF(Py_None);
595 _resultobj = Py_None;
596 }
597 return _resultobj;
598 }
599
600 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
601 static PyObject *_wrap_wxDirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
602 PyObject * _resultobj;
603 wxString * _result;
604 wxDirDialog * _arg0;
605 PyObject * _argo0 = 0;
606 char *_kwnames[] = { "self", NULL };
607
608 self = self;
609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetPath",_kwnames,&_argo0))
610 return NULL;
611 if (_argo0) {
612 if (_argo0 == Py_None) { _arg0 = NULL; }
613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
615 return NULL;
616 }
617 }
618 {
619 wxPy_BEGIN_ALLOW_THREADS;
620 _result = new wxString (wxDirDialog_GetPath(_arg0));
621
622 wxPy_END_ALLOW_THREADS;
623 }{
624 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
625 }
626 {
627 delete _result;
628 }
629 return _resultobj;
630 }
631
632 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
633 static PyObject *_wrap_wxDirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
634 PyObject * _resultobj;
635 wxString * _result;
636 wxDirDialog * _arg0;
637 PyObject * _argo0 = 0;
638 char *_kwnames[] = { "self", NULL };
639
640 self = self;
641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetMessage",_kwnames,&_argo0))
642 return NULL;
643 if (_argo0) {
644 if (_argo0 == Py_None) { _arg0 = NULL; }
645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
647 return NULL;
648 }
649 }
650 {
651 wxPy_BEGIN_ALLOW_THREADS;
652 _result = new wxString (wxDirDialog_GetMessage(_arg0));
653
654 wxPy_END_ALLOW_THREADS;
655 }{
656 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
657 }
658 {
659 delete _result;
660 }
661 return _resultobj;
662 }
663
664 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
665 static PyObject *_wrap_wxDirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
666 PyObject * _resultobj;
667 long _result;
668 wxDirDialog * _arg0;
669 PyObject * _argo0 = 0;
670 char *_kwnames[] = { "self", NULL };
671
672 self = self;
673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetStyle",_kwnames,&_argo0))
674 return NULL;
675 if (_argo0) {
676 if (_argo0 == Py_None) { _arg0 = NULL; }
677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
679 return NULL;
680 }
681 }
682 {
683 wxPy_BEGIN_ALLOW_THREADS;
684 _result = (long )wxDirDialog_GetStyle(_arg0);
685
686 wxPy_END_ALLOW_THREADS;
687 } _resultobj = Py_BuildValue("l",_result);
688 return _resultobj;
689 }
690
691 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
692 static PyObject *_wrap_wxDirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
693 PyObject * _resultobj;
694 wxDirDialog * _arg0;
695 wxString * _arg1;
696 PyObject * _argo0 = 0;
697 PyObject * _obj1 = 0;
698 char *_kwnames[] = { "self","message", NULL };
699
700 self = self;
701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetMessage",_kwnames,&_argo0,&_obj1))
702 return NULL;
703 if (_argo0) {
704 if (_argo0 == Py_None) { _arg0 = NULL; }
705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
707 return NULL;
708 }
709 }
710 {
711 #if PYTHON_API_VERSION >= 1009
712 char* tmpPtr; int tmpSize;
713 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
714 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
715 return NULL;
716 }
717 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
718 return NULL;
719 _arg1 = new wxString(tmpPtr, tmpSize);
720 #else
721 if (!PyString_Check(_obj1)) {
722 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
723 return NULL;
724 }
725 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
726 #endif
727 }
728 {
729 wxPy_BEGIN_ALLOW_THREADS;
730 wxDirDialog_SetMessage(_arg0,*_arg1);
731
732 wxPy_END_ALLOW_THREADS;
733 } Py_INCREF(Py_None);
734 _resultobj = Py_None;
735 {
736 if (_obj1)
737 delete _arg1;
738 }
739 return _resultobj;
740 }
741
742 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
743 static PyObject *_wrap_wxDirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
744 PyObject * _resultobj;
745 wxDirDialog * _arg0;
746 wxString * _arg1;
747 PyObject * _argo0 = 0;
748 PyObject * _obj1 = 0;
749 char *_kwnames[] = { "self","path", NULL };
750
751 self = self;
752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetPath",_kwnames,&_argo0,&_obj1))
753 return NULL;
754 if (_argo0) {
755 if (_argo0 == Py_None) { _arg0 = NULL; }
756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
758 return NULL;
759 }
760 }
761 {
762 #if PYTHON_API_VERSION >= 1009
763 char* tmpPtr; int tmpSize;
764 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
765 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
766 return NULL;
767 }
768 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
769 return NULL;
770 _arg1 = new wxString(tmpPtr, tmpSize);
771 #else
772 if (!PyString_Check(_obj1)) {
773 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
774 return NULL;
775 }
776 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
777 #endif
778 }
779 {
780 wxPy_BEGIN_ALLOW_THREADS;
781 wxDirDialog_SetPath(_arg0,*_arg1);
782
783 wxPy_END_ALLOW_THREADS;
784 } Py_INCREF(Py_None);
785 _resultobj = Py_None;
786 {
787 if (_obj1)
788 delete _arg1;
789 }
790 return _resultobj;
791 }
792
793 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
794 static PyObject *_wrap_wxDirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
795 PyObject * _resultobj;
796 int _result;
797 wxDirDialog * _arg0;
798 PyObject * _argo0 = 0;
799 char *_kwnames[] = { "self", NULL };
800
801 self = self;
802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_ShowModal",_kwnames,&_argo0))
803 return NULL;
804 if (_argo0) {
805 if (_argo0 == Py_None) { _arg0 = NULL; }
806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) {
807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
808 return NULL;
809 }
810 }
811 {
812 wxPy_BEGIN_ALLOW_THREADS;
813 _result = (int )wxDirDialog_ShowModal(_arg0);
814
815 wxPy_END_ALLOW_THREADS;
816 } _resultobj = Py_BuildValue("i",_result);
817 return _resultobj;
818 }
819
820 static void *SwigwxFileDialogTowxDialog(void *ptr) {
821 wxFileDialog *src;
822 wxDialog *dest;
823 src = (wxFileDialog *) ptr;
824 dest = (wxDialog *) src;
825 return (void *) dest;
826 }
827
828 static void *SwigwxFileDialogTowxPanel(void *ptr) {
829 wxFileDialog *src;
830 wxPanel *dest;
831 src = (wxFileDialog *) ptr;
832 dest = (wxPanel *) src;
833 return (void *) dest;
834 }
835
836 static void *SwigwxFileDialogTowxWindow(void *ptr) {
837 wxFileDialog *src;
838 wxWindow *dest;
839 src = (wxFileDialog *) ptr;
840 dest = (wxWindow *) src;
841 return (void *) dest;
842 }
843
844 static void *SwigwxFileDialogTowxEvtHandler(void *ptr) {
845 wxFileDialog *src;
846 wxEvtHandler *dest;
847 src = (wxFileDialog *) ptr;
848 dest = (wxEvtHandler *) src;
849 return (void *) dest;
850 }
851
852 static void *SwigwxFileDialogTowxObject(void *ptr) {
853 wxFileDialog *src;
854 wxObject *dest;
855 src = (wxFileDialog *) ptr;
856 dest = (wxObject *) src;
857 return (void *) dest;
858 }
859
860 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
861 static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
862 PyObject * _resultobj;
863 wxFileDialog * _result;
864 wxWindow * _arg0;
865 char * _arg1 = (char *) "Choose a file";
866 char * _arg2 = (char *) "";
867 char * _arg3 = (char *) "";
868 char * _arg4 = (char *) "*.*";
869 long _arg5 = (long ) 0;
870 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
871 PyObject * _argo0 = 0;
872 wxPoint temp;
873 PyObject * _obj6 = 0;
874 char *_kwnames[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL };
875 char _ptemp[128];
876
877 self = self;
878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sssslO:new_wxFileDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
879 return NULL;
880 if (_argo0) {
881 if (_argo0 == Py_None) { _arg0 = NULL; }
882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
884 return NULL;
885 }
886 }
887 if (_obj6)
888 {
889 _arg6 = &temp;
890 if (! wxPoint_helper(_obj6, &_arg6))
891 return NULL;
892 }
893 {
894 wxPy_BEGIN_ALLOW_THREADS;
895 _result = (wxFileDialog *)new_wxFileDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6);
896
897 wxPy_END_ALLOW_THREADS;
898 } if (_result) {
899 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileDialog_p");
900 _resultobj = Py_BuildValue("s",_ptemp);
901 } else {
902 Py_INCREF(Py_None);
903 _resultobj = Py_None;
904 }
905 return _resultobj;
906 }
907
908 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
909 static PyObject *_wrap_wxFileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
910 PyObject * _resultobj;
911 wxString * _result;
912 wxFileDialog * _arg0;
913 PyObject * _argo0 = 0;
914 char *_kwnames[] = { "self", NULL };
915
916 self = self;
917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetDirectory",_kwnames,&_argo0))
918 return NULL;
919 if (_argo0) {
920 if (_argo0 == Py_None) { _arg0 = NULL; }
921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
923 return NULL;
924 }
925 }
926 {
927 wxPy_BEGIN_ALLOW_THREADS;
928 _result = new wxString (wxFileDialog_GetDirectory(_arg0));
929
930 wxPy_END_ALLOW_THREADS;
931 }{
932 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
933 }
934 {
935 delete _result;
936 }
937 return _resultobj;
938 }
939
940 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
941 static PyObject *_wrap_wxFileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
942 PyObject * _resultobj;
943 wxString * _result;
944 wxFileDialog * _arg0;
945 PyObject * _argo0 = 0;
946 char *_kwnames[] = { "self", NULL };
947
948 self = self;
949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilename",_kwnames,&_argo0))
950 return NULL;
951 if (_argo0) {
952 if (_argo0 == Py_None) { _arg0 = NULL; }
953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
955 return NULL;
956 }
957 }
958 {
959 wxPy_BEGIN_ALLOW_THREADS;
960 _result = new wxString (wxFileDialog_GetFilename(_arg0));
961
962 wxPy_END_ALLOW_THREADS;
963 }{
964 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
965 }
966 {
967 delete _result;
968 }
969 return _resultobj;
970 }
971
972 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
973 static PyObject *_wrap_wxFileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
974 PyObject * _resultobj;
975 int _result;
976 wxFileDialog * _arg0;
977 PyObject * _argo0 = 0;
978 char *_kwnames[] = { "self", NULL };
979
980 self = self;
981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilterIndex",_kwnames,&_argo0))
982 return NULL;
983 if (_argo0) {
984 if (_argo0 == Py_None) { _arg0 = NULL; }
985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
987 return NULL;
988 }
989 }
990 {
991 wxPy_BEGIN_ALLOW_THREADS;
992 _result = (int )wxFileDialog_GetFilterIndex(_arg0);
993
994 wxPy_END_ALLOW_THREADS;
995 } _resultobj = Py_BuildValue("i",_result);
996 return _resultobj;
997 }
998
999 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
1000 static PyObject *_wrap_wxFileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
1001 PyObject * _resultobj;
1002 wxString * _result;
1003 wxFileDialog * _arg0;
1004 PyObject * _argo0 = 0;
1005 char *_kwnames[] = { "self", NULL };
1006
1007 self = self;
1008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetMessage",_kwnames,&_argo0))
1009 return NULL;
1010 if (_argo0) {
1011 if (_argo0 == Py_None) { _arg0 = NULL; }
1012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1014 return NULL;
1015 }
1016 }
1017 {
1018 wxPy_BEGIN_ALLOW_THREADS;
1019 _result = new wxString (wxFileDialog_GetMessage(_arg0));
1020
1021 wxPy_END_ALLOW_THREADS;
1022 }{
1023 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1024 }
1025 {
1026 delete _result;
1027 }
1028 return _resultobj;
1029 }
1030
1031 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1032 static PyObject *_wrap_wxFileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
1033 PyObject * _resultobj;
1034 wxString * _result;
1035 wxFileDialog * _arg0;
1036 PyObject * _argo0 = 0;
1037 char *_kwnames[] = { "self", NULL };
1038
1039 self = self;
1040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetPath",_kwnames,&_argo0))
1041 return NULL;
1042 if (_argo0) {
1043 if (_argo0 == Py_None) { _arg0 = NULL; }
1044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1046 return NULL;
1047 }
1048 }
1049 {
1050 wxPy_BEGIN_ALLOW_THREADS;
1051 _result = new wxString (wxFileDialog_GetPath(_arg0));
1052
1053 wxPy_END_ALLOW_THREADS;
1054 }{
1055 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1056 }
1057 {
1058 delete _result;
1059 }
1060 return _resultobj;
1061 }
1062
1063 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1064 static PyObject *_wrap_wxFileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1065 PyObject * _resultobj;
1066 long _result;
1067 wxFileDialog * _arg0;
1068 PyObject * _argo0 = 0;
1069 char *_kwnames[] = { "self", NULL };
1070
1071 self = self;
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetStyle",_kwnames,&_argo0))
1073 return NULL;
1074 if (_argo0) {
1075 if (_argo0 == Py_None) { _arg0 = NULL; }
1076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1078 return NULL;
1079 }
1080 }
1081 {
1082 wxPy_BEGIN_ALLOW_THREADS;
1083 _result = (long )wxFileDialog_GetStyle(_arg0);
1084
1085 wxPy_END_ALLOW_THREADS;
1086 } _resultobj = Py_BuildValue("l",_result);
1087 return _resultobj;
1088 }
1089
1090 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1091 static PyObject *_wrap_wxFileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
1092 PyObject * _resultobj;
1093 wxString * _result;
1094 wxFileDialog * _arg0;
1095 PyObject * _argo0 = 0;
1096 char *_kwnames[] = { "self", NULL };
1097
1098 self = self;
1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetWildcard",_kwnames,&_argo0))
1100 return NULL;
1101 if (_argo0) {
1102 if (_argo0 == Py_None) { _arg0 = NULL; }
1103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1105 return NULL;
1106 }
1107 }
1108 {
1109 wxPy_BEGIN_ALLOW_THREADS;
1110 _result = new wxString (wxFileDialog_GetWildcard(_arg0));
1111
1112 wxPy_END_ALLOW_THREADS;
1113 }{
1114 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1115 }
1116 {
1117 delete _result;
1118 }
1119 return _resultobj;
1120 }
1121
1122 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1123 static PyObject *_wrap_wxFileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
1124 PyObject * _resultobj;
1125 wxFileDialog * _arg0;
1126 wxString * _arg1;
1127 PyObject * _argo0 = 0;
1128 PyObject * _obj1 = 0;
1129 char *_kwnames[] = { "self","directory", NULL };
1130
1131 self = self;
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetDirectory",_kwnames,&_argo0,&_obj1))
1133 return NULL;
1134 if (_argo0) {
1135 if (_argo0 == Py_None) { _arg0 = NULL; }
1136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1138 return NULL;
1139 }
1140 }
1141 {
1142 #if PYTHON_API_VERSION >= 1009
1143 char* tmpPtr; int tmpSize;
1144 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1145 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1146 return NULL;
1147 }
1148 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1149 return NULL;
1150 _arg1 = new wxString(tmpPtr, tmpSize);
1151 #else
1152 if (!PyString_Check(_obj1)) {
1153 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1154 return NULL;
1155 }
1156 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1157 #endif
1158 }
1159 {
1160 wxPy_BEGIN_ALLOW_THREADS;
1161 wxFileDialog_SetDirectory(_arg0,*_arg1);
1162
1163 wxPy_END_ALLOW_THREADS;
1164 } Py_INCREF(Py_None);
1165 _resultobj = Py_None;
1166 {
1167 if (_obj1)
1168 delete _arg1;
1169 }
1170 return _resultobj;
1171 }
1172
1173 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1174 static PyObject *_wrap_wxFileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
1175 PyObject * _resultobj;
1176 wxFileDialog * _arg0;
1177 wxString * _arg1;
1178 PyObject * _argo0 = 0;
1179 PyObject * _obj1 = 0;
1180 char *_kwnames[] = { "self","setfilename", NULL };
1181
1182 self = self;
1183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetFilename",_kwnames,&_argo0,&_obj1))
1184 return NULL;
1185 if (_argo0) {
1186 if (_argo0 == Py_None) { _arg0 = NULL; }
1187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1189 return NULL;
1190 }
1191 }
1192 {
1193 #if PYTHON_API_VERSION >= 1009
1194 char* tmpPtr; int tmpSize;
1195 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1196 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1197 return NULL;
1198 }
1199 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1200 return NULL;
1201 _arg1 = new wxString(tmpPtr, tmpSize);
1202 #else
1203 if (!PyString_Check(_obj1)) {
1204 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1205 return NULL;
1206 }
1207 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1208 #endif
1209 }
1210 {
1211 wxPy_BEGIN_ALLOW_THREADS;
1212 wxFileDialog_SetFilename(_arg0,*_arg1);
1213
1214 wxPy_END_ALLOW_THREADS;
1215 } Py_INCREF(Py_None);
1216 _resultobj = Py_None;
1217 {
1218 if (_obj1)
1219 delete _arg1;
1220 }
1221 return _resultobj;
1222 }
1223
1224 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1225 static PyObject *_wrap_wxFileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1226 PyObject * _resultobj;
1227 wxFileDialog * _arg0;
1228 int _arg1;
1229 PyObject * _argo0 = 0;
1230 char *_kwnames[] = { "self","filterIndex", NULL };
1231
1232 self = self;
1233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileDialog_SetFilterIndex",_kwnames,&_argo0,&_arg1))
1234 return NULL;
1235 if (_argo0) {
1236 if (_argo0 == Py_None) { _arg0 = NULL; }
1237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1239 return NULL;
1240 }
1241 }
1242 {
1243 wxPy_BEGIN_ALLOW_THREADS;
1244 wxFileDialog_SetFilterIndex(_arg0,_arg1);
1245
1246 wxPy_END_ALLOW_THREADS;
1247 } Py_INCREF(Py_None);
1248 _resultobj = Py_None;
1249 return _resultobj;
1250 }
1251
1252 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1253 static PyObject *_wrap_wxFileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
1254 PyObject * _resultobj;
1255 wxFileDialog * _arg0;
1256 wxString * _arg1;
1257 PyObject * _argo0 = 0;
1258 PyObject * _obj1 = 0;
1259 char *_kwnames[] = { "self","message", NULL };
1260
1261 self = self;
1262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetMessage",_kwnames,&_argo0,&_obj1))
1263 return NULL;
1264 if (_argo0) {
1265 if (_argo0 == Py_None) { _arg0 = NULL; }
1266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1268 return NULL;
1269 }
1270 }
1271 {
1272 #if PYTHON_API_VERSION >= 1009
1273 char* tmpPtr; int tmpSize;
1274 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1275 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1276 return NULL;
1277 }
1278 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1279 return NULL;
1280 _arg1 = new wxString(tmpPtr, tmpSize);
1281 #else
1282 if (!PyString_Check(_obj1)) {
1283 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1284 return NULL;
1285 }
1286 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1287 #endif
1288 }
1289 {
1290 wxPy_BEGIN_ALLOW_THREADS;
1291 wxFileDialog_SetMessage(_arg0,*_arg1);
1292
1293 wxPy_END_ALLOW_THREADS;
1294 } Py_INCREF(Py_None);
1295 _resultobj = Py_None;
1296 {
1297 if (_obj1)
1298 delete _arg1;
1299 }
1300 return _resultobj;
1301 }
1302
1303 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1304 static PyObject *_wrap_wxFileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject * _resultobj;
1306 wxFileDialog * _arg0;
1307 wxString * _arg1;
1308 PyObject * _argo0 = 0;
1309 PyObject * _obj1 = 0;
1310 char *_kwnames[] = { "self","path", NULL };
1311
1312 self = self;
1313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetPath",_kwnames,&_argo0,&_obj1))
1314 return NULL;
1315 if (_argo0) {
1316 if (_argo0 == Py_None) { _arg0 = NULL; }
1317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1319 return NULL;
1320 }
1321 }
1322 {
1323 #if PYTHON_API_VERSION >= 1009
1324 char* tmpPtr; int tmpSize;
1325 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1326 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1327 return NULL;
1328 }
1329 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1330 return NULL;
1331 _arg1 = new wxString(tmpPtr, tmpSize);
1332 #else
1333 if (!PyString_Check(_obj1)) {
1334 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1335 return NULL;
1336 }
1337 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1338 #endif
1339 }
1340 {
1341 wxPy_BEGIN_ALLOW_THREADS;
1342 wxFileDialog_SetPath(_arg0,*_arg1);
1343
1344 wxPy_END_ALLOW_THREADS;
1345 } Py_INCREF(Py_None);
1346 _resultobj = Py_None;
1347 {
1348 if (_obj1)
1349 delete _arg1;
1350 }
1351 return _resultobj;
1352 }
1353
1354 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1355 static PyObject *_wrap_wxFileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject * _resultobj;
1357 wxFileDialog * _arg0;
1358 long _arg1;
1359 PyObject * _argo0 = 0;
1360 char *_kwnames[] = { "self","style", NULL };
1361
1362 self = self;
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxFileDialog_SetStyle",_kwnames,&_argo0,&_arg1))
1364 return NULL;
1365 if (_argo0) {
1366 if (_argo0 == Py_None) { _arg0 = NULL; }
1367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1369 return NULL;
1370 }
1371 }
1372 {
1373 wxPy_BEGIN_ALLOW_THREADS;
1374 wxFileDialog_SetStyle(_arg0,_arg1);
1375
1376 wxPy_END_ALLOW_THREADS;
1377 } Py_INCREF(Py_None);
1378 _resultobj = Py_None;
1379 return _resultobj;
1380 }
1381
1382 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1383 static PyObject *_wrap_wxFileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
1384 PyObject * _resultobj;
1385 wxFileDialog * _arg0;
1386 wxString * _arg1;
1387 PyObject * _argo0 = 0;
1388 PyObject * _obj1 = 0;
1389 char *_kwnames[] = { "self","wildCard", NULL };
1390
1391 self = self;
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetWildcard",_kwnames,&_argo0,&_obj1))
1393 return NULL;
1394 if (_argo0) {
1395 if (_argo0 == Py_None) { _arg0 = NULL; }
1396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1398 return NULL;
1399 }
1400 }
1401 {
1402 #if PYTHON_API_VERSION >= 1009
1403 char* tmpPtr; int tmpSize;
1404 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1405 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1406 return NULL;
1407 }
1408 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1409 return NULL;
1410 _arg1 = new wxString(tmpPtr, tmpSize);
1411 #else
1412 if (!PyString_Check(_obj1)) {
1413 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1414 return NULL;
1415 }
1416 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1417 #endif
1418 }
1419 {
1420 wxPy_BEGIN_ALLOW_THREADS;
1421 wxFileDialog_SetWildcard(_arg0,*_arg1);
1422
1423 wxPy_END_ALLOW_THREADS;
1424 } Py_INCREF(Py_None);
1425 _resultobj = Py_None;
1426 {
1427 if (_obj1)
1428 delete _arg1;
1429 }
1430 return _resultobj;
1431 }
1432
1433 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1434 static PyObject *_wrap_wxFileDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject * _resultobj;
1436 int _result;
1437 wxFileDialog * _arg0;
1438 PyObject * _argo0 = 0;
1439 char *_kwnames[] = { "self", NULL };
1440
1441 self = self;
1442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_ShowModal",_kwnames,&_argo0))
1443 return NULL;
1444 if (_argo0) {
1445 if (_argo0 == Py_None) { _arg0 = NULL; }
1446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1448 return NULL;
1449 }
1450 }
1451 {
1452 wxPy_BEGIN_ALLOW_THREADS;
1453 _result = (int )wxFileDialog_ShowModal(_arg0);
1454
1455 wxPy_END_ALLOW_THREADS;
1456 } _resultobj = Py_BuildValue("i",_result);
1457 return _resultobj;
1458 }
1459
1460 static PyObject * wxFileDialog_GetFilenames(wxFileDialog *self) {
1461 wxArrayString arr;
1462 self->GetFilenames(arr);
1463 size_t count = arr.GetCount();
1464 PyObject* listObj = PyList_New(0);
1465 for(size_t x=0; x<count; x++) {
1466 PyObject* name = PyString_FromString(arr[x]);
1467 PyList_Append(listObj, name);
1468 }
1469 return listObj;
1470 }
1471 static PyObject *_wrap_wxFileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
1472 PyObject * _resultobj;
1473 PyObject * _result;
1474 wxFileDialog * _arg0;
1475 PyObject * _argo0 = 0;
1476 char *_kwnames[] = { "self", NULL };
1477
1478 self = self;
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilenames",_kwnames,&_argo0))
1480 return NULL;
1481 if (_argo0) {
1482 if (_argo0 == Py_None) { _arg0 = NULL; }
1483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1485 return NULL;
1486 }
1487 }
1488 {
1489 wxPy_BEGIN_ALLOW_THREADS;
1490 _result = (PyObject *)wxFileDialog_GetFilenames(_arg0);
1491
1492 wxPy_END_ALLOW_THREADS;
1493 }{
1494 _resultobj = _result;
1495 }
1496 return _resultobj;
1497 }
1498
1499 static PyObject * wxFileDialog_GetPaths(wxFileDialog *self) {
1500 wxArrayString arr;
1501 self->GetPaths(arr);
1502 size_t count = arr.GetCount();
1503 PyObject* listObj = PyList_New(0);
1504 for(size_t x=0; x<count; x++) {
1505 PyObject* name = PyString_FromString(arr[x]);
1506 PyList_Append(listObj, name);
1507 }
1508 return listObj;
1509 }
1510 static PyObject *_wrap_wxFileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
1511 PyObject * _resultobj;
1512 PyObject * _result;
1513 wxFileDialog * _arg0;
1514 PyObject * _argo0 = 0;
1515 char *_kwnames[] = { "self", NULL };
1516
1517 self = self;
1518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetPaths",_kwnames,&_argo0))
1519 return NULL;
1520 if (_argo0) {
1521 if (_argo0 == Py_None) { _arg0 = NULL; }
1522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) {
1523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1524 return NULL;
1525 }
1526 }
1527 {
1528 wxPy_BEGIN_ALLOW_THREADS;
1529 _result = (PyObject *)wxFileDialog_GetPaths(_arg0);
1530
1531 wxPy_END_ALLOW_THREADS;
1532 }{
1533 _resultobj = _result;
1534 }
1535 return _resultobj;
1536 }
1537
1538 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr) {
1539 wxSingleChoiceDialog *src;
1540 wxDialog *dest;
1541 src = (wxSingleChoiceDialog *) ptr;
1542 dest = (wxDialog *) src;
1543 return (void *) dest;
1544 }
1545
1546 static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr) {
1547 wxSingleChoiceDialog *src;
1548 wxPanel *dest;
1549 src = (wxSingleChoiceDialog *) ptr;
1550 dest = (wxPanel *) src;
1551 return (void *) dest;
1552 }
1553
1554 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr) {
1555 wxSingleChoiceDialog *src;
1556 wxWindow *dest;
1557 src = (wxSingleChoiceDialog *) ptr;
1558 dest = (wxWindow *) src;
1559 return (void *) dest;
1560 }
1561
1562 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr) {
1563 wxSingleChoiceDialog *src;
1564 wxEvtHandler *dest;
1565 src = (wxSingleChoiceDialog *) ptr;
1566 dest = (wxEvtHandler *) src;
1567 return (void *) dest;
1568 }
1569
1570 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr) {
1571 wxSingleChoiceDialog *src;
1572 wxObject *dest;
1573 src = (wxSingleChoiceDialog *) ptr;
1574 dest = (wxObject *) src;
1575 return (void *) dest;
1576 }
1577
1578 static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString *message,wxString *caption,int LCOUNT,wxString *choices,long style,wxPoint *pos) {
1579 return new wxSingleChoiceDialog(parent, *message, *caption,
1580 LCOUNT, choices, NULL, style, *pos);
1581 }
1582
1583 static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject * _resultobj;
1585 wxSingleChoiceDialog * _result;
1586 wxWindow * _arg0;
1587 wxString * _arg1;
1588 wxString * _arg2;
1589 int _arg3;
1590 wxString * _arg4;
1591 long _arg5 = (long ) wxOK|wxCANCEL|wxCENTRE;
1592 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
1593 PyObject * _argo0 = 0;
1594 PyObject * _obj1 = 0;
1595 PyObject * _obj2 = 0;
1596 PyObject * _obj4 = 0;
1597 wxPoint temp;
1598 PyObject * _obj6 = 0;
1599 char *_kwnames[] = { "parent","message","caption","choices","style","pos", NULL };
1600 char _ptemp[128];
1601
1602 self = self;
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames,&_argo0,&_obj1,&_obj2,&_obj4,&_arg5,&_obj6))
1604 return NULL;
1605 if (_argo0) {
1606 if (_argo0 == Py_None) { _arg0 = NULL; }
1607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1609 return NULL;
1610 }
1611 }
1612 {
1613 #if PYTHON_API_VERSION >= 1009
1614 char* tmpPtr; int tmpSize;
1615 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1616 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1617 return NULL;
1618 }
1619 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1620 return NULL;
1621 _arg1 = new wxString(tmpPtr, tmpSize);
1622 #else
1623 if (!PyString_Check(_obj1)) {
1624 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1625 return NULL;
1626 }
1627 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1628 #endif
1629 }
1630 {
1631 #if PYTHON_API_VERSION >= 1009
1632 char* tmpPtr; int tmpSize;
1633 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1634 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1635 return NULL;
1636 }
1637 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1638 return NULL;
1639 _arg2 = new wxString(tmpPtr, tmpSize);
1640 #else
1641 if (!PyString_Check(_obj2)) {
1642 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1643 return NULL;
1644 }
1645 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1646 #endif
1647 }
1648 if (_obj4)
1649 {
1650 _arg4 = wxString_LIST_helper(_obj4);
1651 if (_arg4 == NULL) {
1652 return NULL;
1653 }
1654 }
1655 if (_obj6)
1656 {
1657 _arg6 = &temp;
1658 if (! wxPoint_helper(_obj6, &_arg6))
1659 return NULL;
1660 }
1661 {
1662 if (_obj4) {
1663 _arg3 = PyList_Size(_obj4);
1664 }
1665 else {
1666 _arg3 = 0;
1667 }
1668 }
1669 {
1670 wxPy_BEGIN_ALLOW_THREADS;
1671 _result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1672
1673 wxPy_END_ALLOW_THREADS;
1674 } if (_result) {
1675 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSingleChoiceDialog_p");
1676 _resultobj = Py_BuildValue("s",_ptemp);
1677 } else {
1678 Py_INCREF(Py_None);
1679 _resultobj = Py_None;
1680 }
1681 {
1682 if (_obj1)
1683 delete _arg1;
1684 }
1685 {
1686 if (_obj2)
1687 delete _arg2;
1688 }
1689 {
1690 delete [] _arg4;
1691 }
1692 return _resultobj;
1693 }
1694
1695 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1696 static PyObject *_wrap_wxSingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1697 PyObject * _resultobj;
1698 int _result;
1699 wxSingleChoiceDialog * _arg0;
1700 PyObject * _argo0 = 0;
1701 char *_kwnames[] = { "self", NULL };
1702
1703 self = self;
1704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetSelection",_kwnames,&_argo0))
1705 return NULL;
1706 if (_argo0) {
1707 if (_argo0 == Py_None) { _arg0 = NULL; }
1708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
1709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1710 return NULL;
1711 }
1712 }
1713 {
1714 wxPy_BEGIN_ALLOW_THREADS;
1715 _result = (int )wxSingleChoiceDialog_GetSelection(_arg0);
1716
1717 wxPy_END_ALLOW_THREADS;
1718 } _resultobj = Py_BuildValue("i",_result);
1719 return _resultobj;
1720 }
1721
1722 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1723 static PyObject *_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1724 PyObject * _resultobj;
1725 wxString * _result;
1726 wxSingleChoiceDialog * _arg0;
1727 PyObject * _argo0 = 0;
1728 char *_kwnames[] = { "self", NULL };
1729
1730 self = self;
1731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames,&_argo0))
1732 return NULL;
1733 if (_argo0) {
1734 if (_argo0 == Py_None) { _arg0 = NULL; }
1735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
1736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1737 return NULL;
1738 }
1739 }
1740 {
1741 wxPy_BEGIN_ALLOW_THREADS;
1742 _result = new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0));
1743
1744 wxPy_END_ALLOW_THREADS;
1745 }{
1746 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1747 }
1748 {
1749 delete _result;
1750 }
1751 return _resultobj;
1752 }
1753
1754 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1755 static PyObject *_wrap_wxSingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject * _resultobj;
1757 wxSingleChoiceDialog * _arg0;
1758 int _arg1;
1759 PyObject * _argo0 = 0;
1760 char *_kwnames[] = { "self","sel", NULL };
1761
1762 self = self;
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames,&_argo0,&_arg1))
1764 return NULL;
1765 if (_argo0) {
1766 if (_argo0 == Py_None) { _arg0 = NULL; }
1767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1769 return NULL;
1770 }
1771 }
1772 {
1773 wxPy_BEGIN_ALLOW_THREADS;
1774 wxSingleChoiceDialog_SetSelection(_arg0,_arg1);
1775
1776 wxPy_END_ALLOW_THREADS;
1777 } Py_INCREF(Py_None);
1778 _resultobj = Py_None;
1779 return _resultobj;
1780 }
1781
1782 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1783 static PyObject *_wrap_wxSingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
1784 PyObject * _resultobj;
1785 int _result;
1786 wxSingleChoiceDialog * _arg0;
1787 PyObject * _argo0 = 0;
1788 char *_kwnames[] = { "self", NULL };
1789
1790 self = self;
1791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_ShowModal",_kwnames,&_argo0))
1792 return NULL;
1793 if (_argo0) {
1794 if (_argo0 == Py_None) { _arg0 = NULL; }
1795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
1796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1797 return NULL;
1798 }
1799 }
1800 {
1801 wxPy_BEGIN_ALLOW_THREADS;
1802 _result = (int )wxSingleChoiceDialog_ShowModal(_arg0);
1803
1804 wxPy_END_ALLOW_THREADS;
1805 } _resultobj = Py_BuildValue("i",_result);
1806 return _resultobj;
1807 }
1808
1809 static void *SwigwxTextEntryDialogTowxDialog(void *ptr) {
1810 wxTextEntryDialog *src;
1811 wxDialog *dest;
1812 src = (wxTextEntryDialog *) ptr;
1813 dest = (wxDialog *) src;
1814 return (void *) dest;
1815 }
1816
1817 static void *SwigwxTextEntryDialogTowxPanel(void *ptr) {
1818 wxTextEntryDialog *src;
1819 wxPanel *dest;
1820 src = (wxTextEntryDialog *) ptr;
1821 dest = (wxPanel *) src;
1822 return (void *) dest;
1823 }
1824
1825 static void *SwigwxTextEntryDialogTowxWindow(void *ptr) {
1826 wxTextEntryDialog *src;
1827 wxWindow *dest;
1828 src = (wxTextEntryDialog *) ptr;
1829 dest = (wxWindow *) src;
1830 return (void *) dest;
1831 }
1832
1833 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr) {
1834 wxTextEntryDialog *src;
1835 wxEvtHandler *dest;
1836 src = (wxTextEntryDialog *) ptr;
1837 dest = (wxEvtHandler *) src;
1838 return (void *) dest;
1839 }
1840
1841 static void *SwigwxTextEntryDialogTowxObject(void *ptr) {
1842 wxTextEntryDialog *src;
1843 wxObject *dest;
1844 src = (wxTextEntryDialog *) ptr;
1845 dest = (wxObject *) src;
1846 return (void *) dest;
1847 }
1848
1849 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1850 static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject * _resultobj;
1852 wxTextEntryDialog * _result;
1853 wxWindow * _arg0;
1854 char * _arg1;
1855 char * _arg2 = (char *) "Input Text";
1856 char * _arg3 = (char *) "";
1857 long _arg4 = (long ) wxOK|wxCANCEL|wxCENTRE;
1858 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
1859 PyObject * _argo0 = 0;
1860 wxPoint temp;
1861 PyObject * _obj5 = 0;
1862 char *_kwnames[] = { "parent","message","caption","defaultValue","style","pos", NULL };
1863 char _ptemp[128];
1864
1865 self = self;
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|sslO:new_wxTextEntryDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5))
1867 return NULL;
1868 if (_argo0) {
1869 if (_argo0 == Py_None) { _arg0 = NULL; }
1870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1872 return NULL;
1873 }
1874 }
1875 if (_obj5)
1876 {
1877 _arg5 = &temp;
1878 if (! wxPoint_helper(_obj5, &_arg5))
1879 return NULL;
1880 }
1881 {
1882 wxPy_BEGIN_ALLOW_THREADS;
1883 _result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5);
1884
1885 wxPy_END_ALLOW_THREADS;
1886 } if (_result) {
1887 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextEntryDialog_p");
1888 _resultobj = Py_BuildValue("s",_ptemp);
1889 } else {
1890 Py_INCREF(Py_None);
1891 _resultobj = Py_None;
1892 }
1893 return _resultobj;
1894 }
1895
1896 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1897 static PyObject *_wrap_wxTextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 wxString * _result;
1900 wxTextEntryDialog * _arg0;
1901 PyObject * _argo0 = 0;
1902 char *_kwnames[] = { "self", NULL };
1903
1904 self = self;
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_GetValue",_kwnames,&_argo0))
1906 return NULL;
1907 if (_argo0) {
1908 if (_argo0 == Py_None) { _arg0 = NULL; }
1909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
1910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1911 return NULL;
1912 }
1913 }
1914 {
1915 wxPy_BEGIN_ALLOW_THREADS;
1916 _result = new wxString (wxTextEntryDialog_GetValue(_arg0));
1917
1918 wxPy_END_ALLOW_THREADS;
1919 }{
1920 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1921 }
1922 {
1923 delete _result;
1924 }
1925 return _resultobj;
1926 }
1927
1928 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1929 static PyObject *_wrap_wxTextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject * _resultobj;
1931 wxTextEntryDialog * _arg0;
1932 wxString * _arg1;
1933 PyObject * _argo0 = 0;
1934 PyObject * _obj1 = 0;
1935 char *_kwnames[] = { "self","value", NULL };
1936
1937 self = self;
1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextEntryDialog_SetValue",_kwnames,&_argo0,&_obj1))
1939 return NULL;
1940 if (_argo0) {
1941 if (_argo0 == Py_None) { _arg0 = NULL; }
1942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
1943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1944 return NULL;
1945 }
1946 }
1947 {
1948 #if PYTHON_API_VERSION >= 1009
1949 char* tmpPtr; int tmpSize;
1950 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1951 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1952 return NULL;
1953 }
1954 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1955 return NULL;
1956 _arg1 = new wxString(tmpPtr, tmpSize);
1957 #else
1958 if (!PyString_Check(_obj1)) {
1959 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1960 return NULL;
1961 }
1962 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1963 #endif
1964 }
1965 {
1966 wxPy_BEGIN_ALLOW_THREADS;
1967 wxTextEntryDialog_SetValue(_arg0,*_arg1);
1968
1969 wxPy_END_ALLOW_THREADS;
1970 } Py_INCREF(Py_None);
1971 _resultobj = Py_None;
1972 {
1973 if (_obj1)
1974 delete _arg1;
1975 }
1976 return _resultobj;
1977 }
1978
1979 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1980 static PyObject *_wrap_wxTextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
1981 PyObject * _resultobj;
1982 int _result;
1983 wxTextEntryDialog * _arg0;
1984 PyObject * _argo0 = 0;
1985 char *_kwnames[] = { "self", NULL };
1986
1987 self = self;
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_ShowModal",_kwnames,&_argo0))
1989 return NULL;
1990 if (_argo0) {
1991 if (_argo0 == Py_None) { _arg0 = NULL; }
1992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
1993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
1994 return NULL;
1995 }
1996 }
1997 {
1998 wxPy_BEGIN_ALLOW_THREADS;
1999 _result = (int )wxTextEntryDialog_ShowModal(_arg0);
2000
2001 wxPy_END_ALLOW_THREADS;
2002 } _resultobj = Py_BuildValue("i",_result);
2003 return _resultobj;
2004 }
2005
2006 static void *SwigwxFontDataTowxObject(void *ptr) {
2007 wxFontData *src;
2008 wxObject *dest;
2009 src = (wxFontData *) ptr;
2010 dest = (wxObject *) src;
2011 return (void *) dest;
2012 }
2013
2014 #define new_wxFontData() (new wxFontData())
2015 static PyObject *_wrap_new_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject * _resultobj;
2017 wxFontData * _result;
2018 char *_kwnames[] = { NULL };
2019 char _ptemp[128];
2020
2021 self = self;
2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontData",_kwnames))
2023 return NULL;
2024 {
2025 wxPy_BEGIN_ALLOW_THREADS;
2026 _result = (wxFontData *)new_wxFontData();
2027
2028 wxPy_END_ALLOW_THREADS;
2029 } if (_result) {
2030 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p");
2031 _resultobj = Py_BuildValue("s",_ptemp);
2032 } else {
2033 Py_INCREF(Py_None);
2034 _resultobj = Py_None;
2035 }
2036 return _resultobj;
2037 }
2038
2039 #define delete_wxFontData(_swigobj) (delete _swigobj)
2040 static PyObject *_wrap_delete_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject * _resultobj;
2042 wxFontData * _arg0;
2043 PyObject * _argo0 = 0;
2044 char *_kwnames[] = { "self", NULL };
2045
2046 self = self;
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontData",_kwnames,&_argo0))
2048 return NULL;
2049 if (_argo0) {
2050 if (_argo0 == Py_None) { _arg0 = NULL; }
2051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2053 return NULL;
2054 }
2055 }
2056 {
2057 wxPy_BEGIN_ALLOW_THREADS;
2058 delete_wxFontData(_arg0);
2059
2060 wxPy_END_ALLOW_THREADS;
2061 } Py_INCREF(Py_None);
2062 _resultobj = Py_None;
2063 return _resultobj;
2064 }
2065
2066 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2067 static PyObject *_wrap_wxFontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject * _resultobj;
2069 wxFontData * _arg0;
2070 bool _arg1;
2071 PyObject * _argo0 = 0;
2072 int tempbool1;
2073 char *_kwnames[] = { "self","enable", NULL };
2074
2075 self = self;
2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_EnableEffects",_kwnames,&_argo0,&tempbool1))
2077 return NULL;
2078 if (_argo0) {
2079 if (_argo0 == Py_None) { _arg0 = NULL; }
2080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2082 return NULL;
2083 }
2084 }
2085 _arg1 = (bool ) tempbool1;
2086 {
2087 wxPy_BEGIN_ALLOW_THREADS;
2088 wxFontData_EnableEffects(_arg0,_arg1);
2089
2090 wxPy_END_ALLOW_THREADS;
2091 } Py_INCREF(Py_None);
2092 _resultobj = Py_None;
2093 return _resultobj;
2094 }
2095
2096 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2097 static PyObject *_wrap_wxFontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
2098 PyObject * _resultobj;
2099 bool _result;
2100 wxFontData * _arg0;
2101 PyObject * _argo0 = 0;
2102 char *_kwnames[] = { "self", NULL };
2103
2104 self = self;
2105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetAllowSymbols",_kwnames,&_argo0))
2106 return NULL;
2107 if (_argo0) {
2108 if (_argo0 == Py_None) { _arg0 = NULL; }
2109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2111 return NULL;
2112 }
2113 }
2114 {
2115 wxPy_BEGIN_ALLOW_THREADS;
2116 _result = (bool )wxFontData_GetAllowSymbols(_arg0);
2117
2118 wxPy_END_ALLOW_THREADS;
2119 } _resultobj = Py_BuildValue("i",_result);
2120 return _resultobj;
2121 }
2122
2123 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2124 static PyObject *_wrap_wxFontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2125 PyObject * _resultobj;
2126 wxColour * _result;
2127 wxFontData * _arg0;
2128 PyObject * _argo0 = 0;
2129 char *_kwnames[] = { "self", NULL };
2130 char _ptemp[128];
2131
2132 self = self;
2133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetColour",_kwnames,&_argo0))
2134 return NULL;
2135 if (_argo0) {
2136 if (_argo0 == Py_None) { _arg0 = NULL; }
2137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2139 return NULL;
2140 }
2141 }
2142 {
2143 wxPy_BEGIN_ALLOW_THREADS;
2144 wxColour & _result_ref = wxFontData_GetColour(_arg0);
2145 _result = (wxColour *) &_result_ref;
2146
2147 wxPy_END_ALLOW_THREADS;
2148 } if (_result) {
2149 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2150 _resultobj = Py_BuildValue("s",_ptemp);
2151 } else {
2152 Py_INCREF(Py_None);
2153 _resultobj = Py_None;
2154 }
2155 return _resultobj;
2156 }
2157
2158 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2159 static PyObject *_wrap_wxFontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject * _resultobj;
2161 wxFont * _result;
2162 wxFontData * _arg0;
2163 PyObject * _argo0 = 0;
2164 char *_kwnames[] = { "self", NULL };
2165 char _ptemp[128];
2166
2167 self = self;
2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetChosenFont",_kwnames,&_argo0))
2169 return NULL;
2170 if (_argo0) {
2171 if (_argo0 == Py_None) { _arg0 = NULL; }
2172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2174 return NULL;
2175 }
2176 }
2177 {
2178 wxPy_BEGIN_ALLOW_THREADS;
2179 _result = new wxFont (wxFontData_GetChosenFont(_arg0));
2180
2181 wxPy_END_ALLOW_THREADS;
2182 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
2183 _resultobj = Py_BuildValue("s",_ptemp);
2184 return _resultobj;
2185 }
2186
2187 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2188 static PyObject *_wrap_wxFontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject * _resultobj;
2190 bool _result;
2191 wxFontData * _arg0;
2192 PyObject * _argo0 = 0;
2193 char *_kwnames[] = { "self", NULL };
2194
2195 self = self;
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetEnableEffects",_kwnames,&_argo0))
2197 return NULL;
2198 if (_argo0) {
2199 if (_argo0 == Py_None) { _arg0 = NULL; }
2200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2202 return NULL;
2203 }
2204 }
2205 {
2206 wxPy_BEGIN_ALLOW_THREADS;
2207 _result = (bool )wxFontData_GetEnableEffects(_arg0);
2208
2209 wxPy_END_ALLOW_THREADS;
2210 } _resultobj = Py_BuildValue("i",_result);
2211 return _resultobj;
2212 }
2213
2214 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2215 static PyObject *_wrap_wxFontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject * _resultobj;
2217 wxFont * _result;
2218 wxFontData * _arg0;
2219 PyObject * _argo0 = 0;
2220 char *_kwnames[] = { "self", NULL };
2221 char _ptemp[128];
2222
2223 self = self;
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetInitialFont",_kwnames,&_argo0))
2225 return NULL;
2226 if (_argo0) {
2227 if (_argo0 == Py_None) { _arg0 = NULL; }
2228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2230 return NULL;
2231 }
2232 }
2233 {
2234 wxPy_BEGIN_ALLOW_THREADS;
2235 _result = new wxFont (wxFontData_GetInitialFont(_arg0));
2236
2237 wxPy_END_ALLOW_THREADS;
2238 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
2239 _resultobj = Py_BuildValue("s",_ptemp);
2240 return _resultobj;
2241 }
2242
2243 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2244 static PyObject *_wrap_wxFontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject * _resultobj;
2246 bool _result;
2247 wxFontData * _arg0;
2248 PyObject * _argo0 = 0;
2249 char *_kwnames[] = { "self", NULL };
2250
2251 self = self;
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetShowHelp",_kwnames,&_argo0))
2253 return NULL;
2254 if (_argo0) {
2255 if (_argo0 == Py_None) { _arg0 = NULL; }
2256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2258 return NULL;
2259 }
2260 }
2261 {
2262 wxPy_BEGIN_ALLOW_THREADS;
2263 _result = (bool )wxFontData_GetShowHelp(_arg0);
2264
2265 wxPy_END_ALLOW_THREADS;
2266 } _resultobj = Py_BuildValue("i",_result);
2267 return _resultobj;
2268 }
2269
2270 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2271 static PyObject *_wrap_wxFontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
2272 PyObject * _resultobj;
2273 wxFontData * _arg0;
2274 bool _arg1;
2275 PyObject * _argo0 = 0;
2276 int tempbool1;
2277 char *_kwnames[] = { "self","allowSymbols", NULL };
2278
2279 self = self;
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetAllowSymbols",_kwnames,&_argo0,&tempbool1))
2281 return NULL;
2282 if (_argo0) {
2283 if (_argo0 == Py_None) { _arg0 = NULL; }
2284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2286 return NULL;
2287 }
2288 }
2289 _arg1 = (bool ) tempbool1;
2290 {
2291 wxPy_BEGIN_ALLOW_THREADS;
2292 wxFontData_SetAllowSymbols(_arg0,_arg1);
2293
2294 wxPy_END_ALLOW_THREADS;
2295 } Py_INCREF(Py_None);
2296 _resultobj = Py_None;
2297 return _resultobj;
2298 }
2299
2300 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2301 static PyObject *_wrap_wxFontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject * _resultobj;
2303 wxFontData * _arg0;
2304 wxFont * _arg1;
2305 PyObject * _argo0 = 0;
2306 PyObject * _argo1 = 0;
2307 char *_kwnames[] = { "self","font", NULL };
2308
2309 self = self;
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetChosenFont",_kwnames,&_argo0,&_argo1))
2311 return NULL;
2312 if (_argo0) {
2313 if (_argo0 == Py_None) { _arg0 = NULL; }
2314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2316 return NULL;
2317 }
2318 }
2319 if (_argo1) {
2320 if (_argo1 == Py_None) { _arg1 = NULL; }
2321 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2322 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2323 return NULL;
2324 }
2325 }
2326 {
2327 wxPy_BEGIN_ALLOW_THREADS;
2328 wxFontData_SetChosenFont(_arg0,*_arg1);
2329
2330 wxPy_END_ALLOW_THREADS;
2331 } Py_INCREF(Py_None);
2332 _resultobj = Py_None;
2333 return _resultobj;
2334 }
2335
2336 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2337 static PyObject *_wrap_wxFontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2338 PyObject * _resultobj;
2339 wxFontData * _arg0;
2340 wxColour * _arg1;
2341 PyObject * _argo0 = 0;
2342 wxColour temp;
2343 PyObject * _obj1 = 0;
2344 char *_kwnames[] = { "self","colour", NULL };
2345
2346 self = self;
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetColour",_kwnames,&_argo0,&_obj1))
2348 return NULL;
2349 if (_argo0) {
2350 if (_argo0 == Py_None) { _arg0 = NULL; }
2351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2353 return NULL;
2354 }
2355 }
2356 {
2357 _arg1 = &temp;
2358 if (! wxColour_helper(_obj1, &_arg1))
2359 return NULL;
2360 }
2361 {
2362 wxPy_BEGIN_ALLOW_THREADS;
2363 wxFontData_SetColour(_arg0,*_arg1);
2364
2365 wxPy_END_ALLOW_THREADS;
2366 } Py_INCREF(Py_None);
2367 _resultobj = Py_None;
2368 return _resultobj;
2369 }
2370
2371 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2372 static PyObject *_wrap_wxFontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2373 PyObject * _resultobj;
2374 wxFontData * _arg0;
2375 wxFont * _arg1;
2376 PyObject * _argo0 = 0;
2377 PyObject * _argo1 = 0;
2378 char *_kwnames[] = { "self","font", NULL };
2379
2380 self = self;
2381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetInitialFont",_kwnames,&_argo0,&_argo1))
2382 return NULL;
2383 if (_argo0) {
2384 if (_argo0 == Py_None) { _arg0 = NULL; }
2385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2387 return NULL;
2388 }
2389 }
2390 if (_argo1) {
2391 if (_argo1 == Py_None) { _arg1 = NULL; }
2392 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2393 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2394 return NULL;
2395 }
2396 }
2397 {
2398 wxPy_BEGIN_ALLOW_THREADS;
2399 wxFontData_SetInitialFont(_arg0,*_arg1);
2400
2401 wxPy_END_ALLOW_THREADS;
2402 } Py_INCREF(Py_None);
2403 _resultobj = Py_None;
2404 return _resultobj;
2405 }
2406
2407 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2408 static PyObject *_wrap_wxFontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject * _resultobj;
2410 wxFontData * _arg0;
2411 int _arg1;
2412 int _arg2;
2413 PyObject * _argo0 = 0;
2414 char *_kwnames[] = { "self","min","max", NULL };
2415
2416 self = self;
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxFontData_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
2418 return NULL;
2419 if (_argo0) {
2420 if (_argo0 == Py_None) { _arg0 = NULL; }
2421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2423 return NULL;
2424 }
2425 }
2426 {
2427 wxPy_BEGIN_ALLOW_THREADS;
2428 wxFontData_SetRange(_arg0,_arg1,_arg2);
2429
2430 wxPy_END_ALLOW_THREADS;
2431 } Py_INCREF(Py_None);
2432 _resultobj = Py_None;
2433 return _resultobj;
2434 }
2435
2436 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2437 static PyObject *_wrap_wxFontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2438 PyObject * _resultobj;
2439 wxFontData * _arg0;
2440 bool _arg1;
2441 PyObject * _argo0 = 0;
2442 int tempbool1;
2443 char *_kwnames[] = { "self","showHelp", NULL };
2444
2445 self = self;
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetShowHelp",_kwnames,&_argo0,&tempbool1))
2447 return NULL;
2448 if (_argo0) {
2449 if (_argo0 == Py_None) { _arg0 = NULL; }
2450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) {
2451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2452 return NULL;
2453 }
2454 }
2455 _arg1 = (bool ) tempbool1;
2456 {
2457 wxPy_BEGIN_ALLOW_THREADS;
2458 wxFontData_SetShowHelp(_arg0,_arg1);
2459
2460 wxPy_END_ALLOW_THREADS;
2461 } Py_INCREF(Py_None);
2462 _resultobj = Py_None;
2463 return _resultobj;
2464 }
2465
2466 static void *SwigwxFontDialogTowxDialog(void *ptr) {
2467 wxFontDialog *src;
2468 wxDialog *dest;
2469 src = (wxFontDialog *) ptr;
2470 dest = (wxDialog *) src;
2471 return (void *) dest;
2472 }
2473
2474 static void *SwigwxFontDialogTowxPanel(void *ptr) {
2475 wxFontDialog *src;
2476 wxPanel *dest;
2477 src = (wxFontDialog *) ptr;
2478 dest = (wxPanel *) src;
2479 return (void *) dest;
2480 }
2481
2482 static void *SwigwxFontDialogTowxWindow(void *ptr) {
2483 wxFontDialog *src;
2484 wxWindow *dest;
2485 src = (wxFontDialog *) ptr;
2486 dest = (wxWindow *) src;
2487 return (void *) dest;
2488 }
2489
2490 static void *SwigwxFontDialogTowxEvtHandler(void *ptr) {
2491 wxFontDialog *src;
2492 wxEvtHandler *dest;
2493 src = (wxFontDialog *) ptr;
2494 dest = (wxEvtHandler *) src;
2495 return (void *) dest;
2496 }
2497
2498 static void *SwigwxFontDialogTowxObject(void *ptr) {
2499 wxFontDialog *src;
2500 wxObject *dest;
2501 src = (wxFontDialog *) ptr;
2502 dest = (wxObject *) src;
2503 return (void *) dest;
2504 }
2505
2506 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2507 static PyObject *_wrap_new_wxFontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject * _resultobj;
2509 wxFontDialog * _result;
2510 wxWindow * _arg0;
2511 wxFontData * _arg1;
2512 PyObject * _argo0 = 0;
2513 PyObject * _argo1 = 0;
2514 char *_kwnames[] = { "parent","data", NULL };
2515 char _ptemp[128];
2516
2517 self = self;
2518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxFontDialog",_kwnames,&_argo0,&_argo1))
2519 return NULL;
2520 if (_argo0) {
2521 if (_argo0 == Py_None) { _arg0 = NULL; }
2522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2524 return NULL;
2525 }
2526 }
2527 if (_argo1) {
2528 if (_argo1 == Py_None) { _arg1 = NULL; }
2529 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFontData_p")) {
2530 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2531 return NULL;
2532 }
2533 }
2534 {
2535 wxPy_BEGIN_ALLOW_THREADS;
2536 _result = (wxFontDialog *)new_wxFontDialog(_arg0,_arg1);
2537
2538 wxPy_END_ALLOW_THREADS;
2539 } if (_result) {
2540 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontDialog_p");
2541 _resultobj = Py_BuildValue("s",_ptemp);
2542 } else {
2543 Py_INCREF(Py_None);
2544 _resultobj = Py_None;
2545 }
2546 return _resultobj;
2547 }
2548
2549 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2550 static PyObject *_wrap_wxFontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
2551 PyObject * _resultobj;
2552 wxFontData * _result;
2553 wxFontDialog * _arg0;
2554 PyObject * _argo0 = 0;
2555 char *_kwnames[] = { "self", NULL };
2556 char _ptemp[128];
2557
2558 self = self;
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_GetFontData",_kwnames,&_argo0))
2560 return NULL;
2561 if (_argo0) {
2562 if (_argo0 == Py_None) { _arg0 = NULL; }
2563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
2564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2565 return NULL;
2566 }
2567 }
2568 {
2569 wxPy_BEGIN_ALLOW_THREADS;
2570 wxFontData & _result_ref = wxFontDialog_GetFontData(_arg0);
2571 _result = (wxFontData *) &_result_ref;
2572
2573 wxPy_END_ALLOW_THREADS;
2574 } if (_result) {
2575 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p");
2576 _resultobj = Py_BuildValue("s",_ptemp);
2577 } else {
2578 Py_INCREF(Py_None);
2579 _resultobj = Py_None;
2580 }
2581 return _resultobj;
2582 }
2583
2584 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2585 static PyObject *_wrap_wxFontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
2586 PyObject * _resultobj;
2587 int _result;
2588 wxFontDialog * _arg0;
2589 PyObject * _argo0 = 0;
2590 char *_kwnames[] = { "self", NULL };
2591
2592 self = self;
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_ShowModal",_kwnames,&_argo0))
2594 return NULL;
2595 if (_argo0) {
2596 if (_argo0 == Py_None) { _arg0 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) {
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2599 return NULL;
2600 }
2601 }
2602 {
2603 wxPy_BEGIN_ALLOW_THREADS;
2604 _result = (int )wxFontDialog_ShowModal(_arg0);
2605
2606 wxPy_END_ALLOW_THREADS;
2607 } _resultobj = Py_BuildValue("i",_result);
2608 return _resultobj;
2609 }
2610
2611 static void *SwigwxMessageDialogTowxDialog(void *ptr) {
2612 wxMessageDialog *src;
2613 wxDialog *dest;
2614 src = (wxMessageDialog *) ptr;
2615 dest = (wxDialog *) src;
2616 return (void *) dest;
2617 }
2618
2619 static void *SwigwxMessageDialogTowxPanel(void *ptr) {
2620 wxMessageDialog *src;
2621 wxPanel *dest;
2622 src = (wxMessageDialog *) ptr;
2623 dest = (wxPanel *) src;
2624 return (void *) dest;
2625 }
2626
2627 static void *SwigwxMessageDialogTowxWindow(void *ptr) {
2628 wxMessageDialog *src;
2629 wxWindow *dest;
2630 src = (wxMessageDialog *) ptr;
2631 dest = (wxWindow *) src;
2632 return (void *) dest;
2633 }
2634
2635 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr) {
2636 wxMessageDialog *src;
2637 wxEvtHandler *dest;
2638 src = (wxMessageDialog *) ptr;
2639 dest = (wxEvtHandler *) src;
2640 return (void *) dest;
2641 }
2642
2643 static void *SwigwxMessageDialogTowxObject(void *ptr) {
2644 wxMessageDialog *src;
2645 wxObject *dest;
2646 src = (wxMessageDialog *) ptr;
2647 dest = (wxObject *) src;
2648 return (void *) dest;
2649 }
2650
2651 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2652 static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
2653 PyObject * _resultobj;
2654 wxMessageDialog * _result;
2655 wxWindow * _arg0;
2656 char * _arg1;
2657 char * _arg2 = (char *) "Message box";
2658 long _arg3 = (long ) wxOK|wxCANCEL|wxCENTRE;
2659 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2660 PyObject * _argo0 = 0;
2661 wxPoint temp;
2662 PyObject * _obj4 = 0;
2663 char *_kwnames[] = { "parent","message","caption","style","pos", NULL };
2664 char _ptemp[128];
2665
2666 self = self;
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|slO:new_wxMessageDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
2668 return NULL;
2669 if (_argo0) {
2670 if (_argo0 == Py_None) { _arg0 = NULL; }
2671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2673 return NULL;
2674 }
2675 }
2676 if (_obj4)
2677 {
2678 _arg4 = &temp;
2679 if (! wxPoint_helper(_obj4, &_arg4))
2680 return NULL;
2681 }
2682 {
2683 wxPy_BEGIN_ALLOW_THREADS;
2684 _result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
2685
2686 wxPy_END_ALLOW_THREADS;
2687 } if (_result) {
2688 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMessageDialog_p");
2689 _resultobj = Py_BuildValue("s",_ptemp);
2690 } else {
2691 Py_INCREF(Py_None);
2692 _resultobj = Py_None;
2693 }
2694 return _resultobj;
2695 }
2696
2697 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2698 static PyObject *_wrap_wxMessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
2699 PyObject * _resultobj;
2700 int _result;
2701 wxMessageDialog * _arg0;
2702 PyObject * _argo0 = 0;
2703 char *_kwnames[] = { "self", NULL };
2704
2705 self = self;
2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMessageDialog_ShowModal",_kwnames,&_argo0))
2707 return NULL;
2708 if (_argo0) {
2709 if (_argo0 == Py_None) { _arg0 = NULL; }
2710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMessageDialog_p")) {
2711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2712 return NULL;
2713 }
2714 }
2715 {
2716 wxPy_BEGIN_ALLOW_THREADS;
2717 _result = (int )wxMessageDialog_ShowModal(_arg0);
2718
2719 wxPy_END_ALLOW_THREADS;
2720 } _resultobj = Py_BuildValue("i",_result);
2721 return _resultobj;
2722 }
2723
2724 static void *SwigwxProgressDialogTowxFrame(void *ptr) {
2725 wxProgressDialog *src;
2726 wxFrame *dest;
2727 src = (wxProgressDialog *) ptr;
2728 dest = (wxFrame *) src;
2729 return (void *) dest;
2730 }
2731
2732 static void *SwigwxProgressDialogTowxWindow(void *ptr) {
2733 wxProgressDialog *src;
2734 wxWindow *dest;
2735 src = (wxProgressDialog *) ptr;
2736 dest = (wxWindow *) src;
2737 return (void *) dest;
2738 }
2739
2740 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr) {
2741 wxProgressDialog *src;
2742 wxEvtHandler *dest;
2743 src = (wxProgressDialog *) ptr;
2744 dest = (wxEvtHandler *) src;
2745 return (void *) dest;
2746 }
2747
2748 static void *SwigwxProgressDialogTowxObject(void *ptr) {
2749 wxProgressDialog *src;
2750 wxObject *dest;
2751 src = (wxProgressDialog *) ptr;
2752 dest = (wxObject *) src;
2753 return (void *) dest;
2754 }
2755
2756 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2757 static PyObject *_wrap_new_wxProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
2758 PyObject * _resultobj;
2759 wxProgressDialog * _result;
2760 wxString * _arg0;
2761 wxString * _arg1;
2762 int _arg2 = (int ) 100;
2763 wxWindow * _arg3 = (wxWindow *) NULL;
2764 int _arg4 = (int ) wxPD_AUTO_HIDE|wxPD_APP_MODAL;
2765 PyObject * _obj0 = 0;
2766 PyObject * _obj1 = 0;
2767 PyObject * _argo3 = 0;
2768 char *_kwnames[] = { "title","message","maximum","parent","style", NULL };
2769 char _ptemp[128];
2770
2771 self = self;
2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOi:new_wxProgressDialog",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4))
2773 return NULL;
2774 {
2775 #if PYTHON_API_VERSION >= 1009
2776 char* tmpPtr; int tmpSize;
2777 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
2778 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2779 return NULL;
2780 }
2781 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2782 return NULL;
2783 _arg0 = new wxString(tmpPtr, tmpSize);
2784 #else
2785 if (!PyString_Check(_obj0)) {
2786 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2787 return NULL;
2788 }
2789 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2790 #endif
2791 }
2792 {
2793 #if PYTHON_API_VERSION >= 1009
2794 char* tmpPtr; int tmpSize;
2795 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2796 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2797 return NULL;
2798 }
2799 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2800 return NULL;
2801 _arg1 = new wxString(tmpPtr, tmpSize);
2802 #else
2803 if (!PyString_Check(_obj1)) {
2804 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2805 return NULL;
2806 }
2807 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2808 #endif
2809 }
2810 if (_argo3) {
2811 if (_argo3 == Py_None) { _arg3 = NULL; }
2812 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
2813 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2814 return NULL;
2815 }
2816 }
2817 {
2818 wxPy_BEGIN_ALLOW_THREADS;
2819 _result = (wxProgressDialog *)new_wxProgressDialog(*_arg0,*_arg1,_arg2,_arg3,_arg4);
2820
2821 wxPy_END_ALLOW_THREADS;
2822 } if (_result) {
2823 SWIG_MakePtr(_ptemp, (char *) _result,"_wxProgressDialog_p");
2824 _resultobj = Py_BuildValue("s",_ptemp);
2825 } else {
2826 Py_INCREF(Py_None);
2827 _resultobj = Py_None;
2828 }
2829 {
2830 if (_obj0)
2831 delete _arg0;
2832 }
2833 {
2834 if (_obj1)
2835 delete _arg1;
2836 }
2837 return _resultobj;
2838 }
2839
2840 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2841 static PyObject *_wrap_wxProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
2842 PyObject * _resultobj;
2843 bool _result;
2844 wxProgressDialog * _arg0;
2845 int _arg1 = (int ) -1;
2846 char * _arg2 = (char *) NULL;
2847 PyObject * _argo0 = 0;
2848 char *_kwnames[] = { "self","value","newmsg", NULL };
2849
2850 self = self;
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|is:wxProgressDialog_Update",_kwnames,&_argo0,&_arg1,&_arg2))
2852 return NULL;
2853 if (_argo0) {
2854 if (_argo0 == Py_None) { _arg0 = NULL; }
2855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
2856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2857 return NULL;
2858 }
2859 }
2860 {
2861 wxPy_BEGIN_ALLOW_THREADS;
2862 _result = (bool )wxProgressDialog_Update(_arg0,_arg1,_arg2);
2863
2864 wxPy_END_ALLOW_THREADS;
2865 } _resultobj = Py_BuildValue("i",_result);
2866 return _resultobj;
2867 }
2868
2869 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2870 static PyObject *_wrap_wxProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
2871 PyObject * _resultobj;
2872 wxProgressDialog * _arg0;
2873 PyObject * _argo0 = 0;
2874 char *_kwnames[] = { "self", NULL };
2875
2876 self = self;
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProgressDialog_Resume",_kwnames,&_argo0))
2878 return NULL;
2879 if (_argo0) {
2880 if (_argo0 == Py_None) { _arg0 = NULL; }
2881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) {
2882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
2883 return NULL;
2884 }
2885 }
2886 {
2887 wxPy_BEGIN_ALLOW_THREADS;
2888 wxProgressDialog_Resume(_arg0);
2889
2890 wxPy_END_ALLOW_THREADS;
2891 } Py_INCREF(Py_None);
2892 _resultobj = Py_None;
2893 return _resultobj;
2894 }
2895
2896 static PyMethodDef cmndlgscMethods[] = {
2897 { "wxProgressDialog_Resume", (PyCFunction) _wrap_wxProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
2898 { "wxProgressDialog_Update", (PyCFunction) _wrap_wxProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
2899 { "new_wxProgressDialog", (PyCFunction) _wrap_new_wxProgressDialog, METH_VARARGS | METH_KEYWORDS },
2900 { "wxMessageDialog_ShowModal", (PyCFunction) _wrap_wxMessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2901 { "new_wxMessageDialog", (PyCFunction) _wrap_new_wxMessageDialog, METH_VARARGS | METH_KEYWORDS },
2902 { "wxFontDialog_ShowModal", (PyCFunction) _wrap_wxFontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2903 { "wxFontDialog_GetFontData", (PyCFunction) _wrap_wxFontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
2904 { "new_wxFontDialog", (PyCFunction) _wrap_new_wxFontDialog, METH_VARARGS | METH_KEYWORDS },
2905 { "wxFontData_SetShowHelp", (PyCFunction) _wrap_wxFontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
2906 { "wxFontData_SetRange", (PyCFunction) _wrap_wxFontData_SetRange, METH_VARARGS | METH_KEYWORDS },
2907 { "wxFontData_SetInitialFont", (PyCFunction) _wrap_wxFontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
2908 { "wxFontData_SetColour", (PyCFunction) _wrap_wxFontData_SetColour, METH_VARARGS | METH_KEYWORDS },
2909 { "wxFontData_SetChosenFont", (PyCFunction) _wrap_wxFontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
2910 { "wxFontData_SetAllowSymbols", (PyCFunction) _wrap_wxFontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
2911 { "wxFontData_GetShowHelp", (PyCFunction) _wrap_wxFontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
2912 { "wxFontData_GetInitialFont", (PyCFunction) _wrap_wxFontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
2913 { "wxFontData_GetEnableEffects", (PyCFunction) _wrap_wxFontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
2914 { "wxFontData_GetChosenFont", (PyCFunction) _wrap_wxFontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
2915 { "wxFontData_GetColour", (PyCFunction) _wrap_wxFontData_GetColour, METH_VARARGS | METH_KEYWORDS },
2916 { "wxFontData_GetAllowSymbols", (PyCFunction) _wrap_wxFontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
2917 { "wxFontData_EnableEffects", (PyCFunction) _wrap_wxFontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
2918 { "delete_wxFontData", (PyCFunction) _wrap_delete_wxFontData, METH_VARARGS | METH_KEYWORDS },
2919 { "new_wxFontData", (PyCFunction) _wrap_new_wxFontData, METH_VARARGS | METH_KEYWORDS },
2920 { "wxTextEntryDialog_ShowModal", (PyCFunction) _wrap_wxTextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2921 { "wxTextEntryDialog_SetValue", (PyCFunction) _wrap_wxTextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
2922 { "wxTextEntryDialog_GetValue", (PyCFunction) _wrap_wxTextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
2923 { "new_wxTextEntryDialog", (PyCFunction) _wrap_new_wxTextEntryDialog, METH_VARARGS | METH_KEYWORDS },
2924 { "wxSingleChoiceDialog_ShowModal", (PyCFunction) _wrap_wxSingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2925 { "wxSingleChoiceDialog_SetSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
2926 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
2927 { "wxSingleChoiceDialog_GetSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
2928 { "new_wxSingleChoiceDialog", (PyCFunction) _wrap_new_wxSingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
2929 { "wxFileDialog_GetPaths", (PyCFunction) _wrap_wxFileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
2930 { "wxFileDialog_GetFilenames", (PyCFunction) _wrap_wxFileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
2931 { "wxFileDialog_ShowModal", (PyCFunction) _wrap_wxFileDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2932 { "wxFileDialog_SetWildcard", (PyCFunction) _wrap_wxFileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
2933 { "wxFileDialog_SetStyle", (PyCFunction) _wrap_wxFileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
2934 { "wxFileDialog_SetPath", (PyCFunction) _wrap_wxFileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
2935 { "wxFileDialog_SetMessage", (PyCFunction) _wrap_wxFileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
2936 { "wxFileDialog_SetFilterIndex", (PyCFunction) _wrap_wxFileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
2937 { "wxFileDialog_SetFilename", (PyCFunction) _wrap_wxFileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
2938 { "wxFileDialog_SetDirectory", (PyCFunction) _wrap_wxFileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
2939 { "wxFileDialog_GetWildcard", (PyCFunction) _wrap_wxFileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
2940 { "wxFileDialog_GetStyle", (PyCFunction) _wrap_wxFileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
2941 { "wxFileDialog_GetPath", (PyCFunction) _wrap_wxFileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
2942 { "wxFileDialog_GetMessage", (PyCFunction) _wrap_wxFileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
2943 { "wxFileDialog_GetFilterIndex", (PyCFunction) _wrap_wxFileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
2944 { "wxFileDialog_GetFilename", (PyCFunction) _wrap_wxFileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
2945 { "wxFileDialog_GetDirectory", (PyCFunction) _wrap_wxFileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
2946 { "new_wxFileDialog", (PyCFunction) _wrap_new_wxFileDialog, METH_VARARGS | METH_KEYWORDS },
2947 { "wxDirDialog_ShowModal", (PyCFunction) _wrap_wxDirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2948 { "wxDirDialog_SetPath", (PyCFunction) _wrap_wxDirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
2949 { "wxDirDialog_SetMessage", (PyCFunction) _wrap_wxDirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
2950 { "wxDirDialog_GetStyle", (PyCFunction) _wrap_wxDirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
2951 { "wxDirDialog_GetMessage", (PyCFunction) _wrap_wxDirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
2952 { "wxDirDialog_GetPath", (PyCFunction) _wrap_wxDirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
2953 { "new_wxDirDialog", (PyCFunction) _wrap_new_wxDirDialog, METH_VARARGS | METH_KEYWORDS },
2954 { "wxColourDialog_ShowModal", (PyCFunction) _wrap_wxColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2955 { "wxColourDialog_GetColourData", (PyCFunction) _wrap_wxColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
2956 { "new_wxColourDialog", (PyCFunction) _wrap_new_wxColourDialog, METH_VARARGS | METH_KEYWORDS },
2957 { "wxColourData_SetCustomColour", (PyCFunction) _wrap_wxColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
2958 { "wxColourData_SetColour", (PyCFunction) _wrap_wxColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
2959 { "wxColourData_SetChooseFull", (PyCFunction) _wrap_wxColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
2960 { "wxColourData_GetCustomColour", (PyCFunction) _wrap_wxColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
2961 { "wxColourData_GetColour", (PyCFunction) _wrap_wxColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
2962 { "wxColourData_GetChooseFull", (PyCFunction) _wrap_wxColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
2963 { "delete_wxColourData", (PyCFunction) _wrap_delete_wxColourData, METH_VARARGS | METH_KEYWORDS },
2964 { "new_wxColourData", (PyCFunction) _wrap_new_wxColourData, METH_VARARGS | METH_KEYWORDS },
2965 { NULL, NULL }
2966 };
2967 #ifdef __cplusplus
2968 }
2969 #endif
2970 /*
2971 * This table is used by the pointer type-checker
2972 */
2973 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2974 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2975 { "_wxEvent","_class_wxEvent",0},
2976 { "_class_wxActivateEvent","_wxActivateEvent",0},
2977 { "_signed_long","_long",0},
2978 { "_wxMenuEvent","_class_wxMenuEvent",0},
2979 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2980 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2981 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2982 { "_wxPrintQuality","_wxCoord",0},
2983 { "_wxPrintQuality","_int",0},
2984 { "_wxPrintQuality","_signed_int",0},
2985 { "_wxPrintQuality","_unsigned_int",0},
2986 { "_wxPrintQuality","_wxWindowID",0},
2987 { "_wxPrintQuality","_uint",0},
2988 { "_wxPrintQuality","_EBool",0},
2989 { "_wxPrintQuality","_size_t",0},
2990 { "_wxPrintQuality","_time_t",0},
2991 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2992 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2993 { "_wxFontData","_class_wxFontData",0},
2994 { "_class_wxRegionIterator","_wxRegionIterator",0},
2995 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2996 { "_class_wxMenuBar","_wxMenuBar",0},
2997 { "_class_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
2998 { "_class_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
2999 { "_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
3000 { "_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
3001 { "_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
3002 { "_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
3003 { "_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
3004 { "_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
3005 { "_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
3006 { "_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
3007 { "_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
3008 { "_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
3009 { "_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
3010 { "_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
3011 { "_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
3012 { "_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
3013 { "_class_wxEvtHandler","_wxEvtHandler",0},
3014 { "_wxPaintEvent","_class_wxPaintEvent",0},
3015 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3016 { "_wxCursor","_class_wxCursor",0},
3017 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3018 { "_class_wxToolBarBase","_wxToolBarBase",0},
3019 { "_wxMask","_class_wxMask",0},
3020 { "_class_wxColourData","_wxColourData",0},
3021 { "_wxPen","_class_wxPen",0},
3022 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3023 { "_byte","_unsigned_char",0},
3024 { "_wxDataObject","_class_wxDataObject",0},
3025 { "_wxStaticBox","_class_wxStaticBox",0},
3026 { "_wxColourDatabase","_class_wxColourDatabase",0},
3027 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3028 { "_wxPyDropSource","_class_wxPyDropSource",0},
3029 { "_wxChoice","_class_wxChoice",0},
3030 { "_wxSlider","_class_wxSlider",0},
3031 { "_long","_unsigned_long",0},
3032 { "_long","_signed_long",0},
3033 { "_wxImageList","_class_wxImageList",0},
3034 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3035 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3036 { "_wxBitmapButton","_class_wxBitmapButton",0},
3037 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3038 { "_class_wxClipboard","_wxClipboard",0},
3039 { "_class_wxGauge","_wxGauge",0},
3040 { "_wxGDIObject","_class_wxGDIObject",0},
3041 { "_wxDC","_class_wxDC",0},
3042 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3043 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
3044 { "_wxProgressDialog","_class_wxProgressDialog",0},
3045 { "_class_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject},
3046 { "_class_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject},
3047 { "_class_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject},
3048 { "_class_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject},
3049 { "_class_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject},
3050 { "_class_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject},
3051 { "_class_wxObject","_class_wxFontData",SwigwxFontDataTowxObject},
3052 { "_class_wxObject","_wxFontData",SwigwxFontDataTowxObject},
3053 { "_class_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
3054 { "_class_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
3055 { "_class_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
3056 { "_class_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
3057 { "_class_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject},
3058 { "_class_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject},
3059 { "_class_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject},
3060 { "_class_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject},
3061 { "_class_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject},
3062 { "_class_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject},
3063 { "_class_wxObject","_class_wxColourData",SwigwxColourDataTowxObject},
3064 { "_class_wxObject","_wxColourData",SwigwxColourDataTowxObject},
3065 { "_class_wxObject","_wxObject",0},
3066 { "_wxSpinEvent","_class_wxSpinEvent",0},
3067 { "_size_t","_wxCoord",0},
3068 { "_size_t","_wxPrintQuality",0},
3069 { "_size_t","_time_t",0},
3070 { "_size_t","_unsigned_int",0},
3071 { "_size_t","_int",0},
3072 { "_size_t","_wxWindowID",0},
3073 { "_size_t","_uint",0},
3074 { "_class_wxRealPoint","_wxRealPoint",0},
3075 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
3076 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
3077 { "_class_wxMenuItem","_wxMenuItem",0},
3078 { "_class_wxPaintEvent","_wxPaintEvent",0},
3079 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3080 { "_class_wxStatusBar","_wxStatusBar",0},
3081 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
3082 { "_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel},
3083 { "_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel},
3084 { "_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel},
3085 { "_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel},
3086 { "_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel},
3087 { "_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel},
3088 { "_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel},
3089 { "_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel},
3090 { "_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel},
3091 { "_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel},
3092 { "_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel},
3093 { "_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel},
3094 { "_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel},
3095 { "_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel},
3096 { "_wxPanel","_class_wxPanel",0},
3097 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3098 { "_wxCheckBox","_class_wxCheckBox",0},
3099 { "_wxPyEvent","_class_wxPyEvent",0},
3100 { "_wxTextCtrl","_class_wxTextCtrl",0},
3101 { "_class_wxMask","_wxMask",0},
3102 { "_wxTextDataObject","_class_wxTextDataObject",0},
3103 { "_class_wxKeyEvent","_wxKeyEvent",0},
3104 { "_wxColour","_class_wxColour",0},
3105 { "_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog},
3106 { "_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog},
3107 { "_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog},
3108 { "_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog},
3109 { "_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
3110 { "_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
3111 { "_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
3112 { "_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
3113 { "_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog},
3114 { "_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog},
3115 { "_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog},
3116 { "_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog},
3117 { "_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog},
3118 { "_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog},
3119 { "_class_wxDialog","_wxDialog",0},
3120 { "_class_wxFileDataObject","_wxFileDataObject",0},
3121 { "_wxIdleEvent","_class_wxIdleEvent",0},
3122 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3123 { "_wxToolBar","_class_wxToolBar",0},
3124 { "_class_wxDataObject","_wxDataObject",0},
3125 { "_wxStaticLine","_class_wxStaticLine",0},
3126 { "_wxBrush","_class_wxBrush",0},
3127 { "_wxToggleButton","_class_wxToggleButton",0},
3128 { "_wxMiniFrame","_class_wxMiniFrame",0},
3129 { "_wxDataFormat","_class_wxDataFormat",0},
3130 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3131 { "_wxShowEvent","_class_wxShowEvent",0},
3132 { "_uint","_wxCoord",0},
3133 { "_uint","_wxPrintQuality",0},
3134 { "_uint","_time_t",0},
3135 { "_uint","_size_t",0},
3136 { "_uint","_unsigned_int",0},
3137 { "_uint","_int",0},
3138 { "_uint","_wxWindowID",0},
3139 { "_wxChar","_char",0},
3140 { "_wxPyValidator","_class_wxPyValidator",0},
3141 { "_class_wxEvent","_wxEvent",0},
3142 { "_wxCheckListBox","_class_wxCheckListBox",0},
3143 { "_wxRect","_class_wxRect",0},
3144 { "_wxCommandEvent","_class_wxCommandEvent",0},
3145 { "_wxSizeEvent","_class_wxSizeEvent",0},
3146 { "_wxPoint","_class_wxPoint",0},
3147 { "_class_wxButton","_wxButton",0},
3148 { "_wxRadioBox","_class_wxRadioBox",0},
3149 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
3150 { "_class_wxFontData","_wxFontData",0},
3151 { "_char","_wxChar",0},
3152 { "_wxBitmap","_class_wxBitmap",0},
3153 { "_wxPenList","_class_wxPenList",0},
3154 { "_wxWindowDC","_class_wxWindowDC",0},
3155 { "_wxTimerEvent","_class_wxTimerEvent",0},
3156 { "_wxScrollBar","_class_wxScrollBar",0},
3157 { "_wxSpinButton","_class_wxSpinButton",0},
3158 { "_wxColourDialog","_class_wxColourDialog",0},
3159 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3160 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3161 { "_wxMessageDialog","_class_wxMessageDialog",0},
3162 { "_class_wxValidator","_wxValidator",0},
3163 { "_class_wxPyEvent","_wxPyEvent",0},
3164 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
3165 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3166 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3167 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
3168 { "_class_wxToolBar","_wxToolBar",0},
3169 { "_wxDropTarget","_class_wxDropTarget",0},
3170 { "_class_wxStaticLine","_wxStaticLine",0},
3171 { "_class_wxColourDatabase","_wxColourDatabase",0},
3172 { "_wxScrollEvent","_class_wxScrollEvent",0},
3173 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
3174 { "_EBool","_wxCoord",0},
3175 { "_EBool","_wxPrintQuality",0},
3176 { "_EBool","_signed_int",0},
3177 { "_EBool","_int",0},
3178 { "_EBool","_wxWindowID",0},
3179 { "_class_wxRegion","_wxRegion",0},
3180 { "_class_wxDataFormat","_wxDataFormat",0},
3181 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3182 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
3183 { "_wxStaticText","_class_wxStaticText",0},
3184 { "_wxFont","_class_wxFont",0},
3185 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3186 { "_wxCloseEvent","_class_wxCloseEvent",0},
3187 { "_unsigned_long","_long",0},
3188 { "_class_wxRect","_wxRect",0},
3189 { "_class_wxDC","_wxDC",0},
3190 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3191 { "_class_wxProgressDialog","_wxProgressDialog",0},
3192 { "_class_wxBrushList","_wxBrushList",0},
3193 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3194 { "_class_wxPenList","_wxPenList",0},
3195 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
3196 { "_class_wxDirDialog","_wxDirDialog",0},
3197 { "_wxFocusEvent","_class_wxFocusEvent",0},
3198 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3199 { "_class_wxTimerEvent","_wxTimerEvent",0},
3200 { "_class_wxSpinButton","_wxSpinButton",0},
3201 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3202 { "_class_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel},
3203 { "_class_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel},
3204 { "_class_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel},
3205 { "_class_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel},
3206 { "_class_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel},
3207 { "_class_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel},
3208 { "_class_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel},
3209 { "_class_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel},
3210 { "_class_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel},
3211 { "_class_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel},
3212 { "_class_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel},
3213 { "_class_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel},
3214 { "_class_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel},
3215 { "_class_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel},
3216 { "_class_wxPanel","_wxPanel",0},
3217 { "_class_wxCheckBox","_wxCheckBox",0},
3218 { "_wxComboBox","_class_wxComboBox",0},
3219 { "_wxRadioButton","_class_wxRadioButton",0},
3220 { "_class_wxMessageDialog","_wxMessageDialog",0},
3221 { "_signed_int","_wxCoord",0},
3222 { "_signed_int","_wxPrintQuality",0},
3223 { "_signed_int","_EBool",0},
3224 { "_signed_int","_wxWindowID",0},
3225 { "_signed_int","_int",0},
3226 { "_class_wxTextCtrl","_wxTextCtrl",0},
3227 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3228 { "_class_wxTextDataObject","_wxTextDataObject",0},
3229 { "_wxMenu","_class_wxMenu",0},
3230 { "_class_wxMoveEvent","_wxMoveEvent",0},
3231 { "_wxListBox","_class_wxListBox",0},
3232 { "_wxScreenDC","_class_wxScreenDC",0},
3233 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
3234 { "_WXTYPE","_short",0},
3235 { "_WXTYPE","_signed_short",0},
3236 { "_WXTYPE","_unsigned_short",0},
3237 { "_wxFileDialog","_class_wxFileDialog",0},
3238 { "_class_wxDropTarget","_wxDropTarget",0},
3239 { "_class_wxBrush","_wxBrush",0},
3240 { "_unsigned_short","_WXTYPE",0},
3241 { "_unsigned_short","_short",0},
3242 { "_class_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow},
3243 { "_class_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow},
3244 { "_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow},
3245 { "_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow},
3246 { "_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow},
3247 { "_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow},
3248 { "_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
3249 { "_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
3250 { "_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
3251 { "_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
3252 { "_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow},
3253 { "_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow},
3254 { "_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow},
3255 { "_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow},
3256 { "_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow},
3257 { "_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow},
3258 { "_class_wxWindow","_wxWindow",0},
3259 { "_class_wxStaticText","_wxStaticText",0},
3260 { "_class_wxFont","_wxFont",0},
3261 { "_wxClipboard","_class_wxClipboard",0},
3262 { "_class_wxPyValidator","_wxPyValidator",0},
3263 { "_class_wxCloseEvent","_wxCloseEvent",0},
3264 { "_wxBusyInfo","_class_wxBusyInfo",0},
3265 { "_wxFontList","_class_wxFontList",0},
3266 { "_class_wxMenuEvent","_wxMenuEvent",0},
3267 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3268 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3269 { "_wxClientDC","_class_wxClientDC",0},
3270 { "_wxMouseEvent","_class_wxMouseEvent",0},
3271 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
3272 { "_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject},
3273 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject},
3274 { "_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject},
3275 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject},
3276 { "_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject},
3277 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject},
3278 { "_wxObject","_class_wxFontData",SwigwxFontDataTowxObject},
3279 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject},
3280 { "_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
3281 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject},
3282 { "_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
3283 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject},
3284 { "_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject},
3285 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject},
3286 { "_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject},
3287 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject},
3288 { "_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject},
3289 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject},
3290 { "_wxObject","_class_wxColourData",SwigwxColourDataTowxObject},
3291 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject},
3292 { "_wxObject","_class_wxObject",0},
3293 { "_class_wxPoint","_wxPoint",0},
3294 { "_wxRealPoint","_class_wxRealPoint",0},
3295 { "_class_wxRadioBox","_wxRadioBox",0},
3296 { "_signed_short","_WXTYPE",0},
3297 { "_signed_short","_short",0},
3298 { "_wxMemoryDC","_class_wxMemoryDC",0},
3299 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3300 { "_wxPaintDC","_class_wxPaintDC",0},
3301 { "_class_wxWindowDC","_wxWindowDC",0},
3302 { "_class_wxFocusEvent","_wxFocusEvent",0},
3303 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3304 { "_wxStatusBar","_class_wxStatusBar",0},
3305 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3306 { "_class_wxCursor","_wxCursor",0},
3307 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
3308 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3309 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3310 { "_unsigned_char","_byte",0},
3311 { "_class_wxMenu","_wxMenu",0},
3312 { "_wxControl","_class_wxControl",0},
3313 { "_class_wxListBox","_wxListBox",0},
3314 { "_unsigned_int","_wxCoord",0},
3315 { "_unsigned_int","_wxPrintQuality",0},
3316 { "_unsigned_int","_time_t",0},
3317 { "_unsigned_int","_size_t",0},
3318 { "_unsigned_int","_uint",0},
3319 { "_unsigned_int","_wxWindowID",0},
3320 { "_unsigned_int","_int",0},
3321 { "_wxIcon","_class_wxIcon",0},
3322 { "_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog},
3323 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog},
3324 { "_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog},
3325 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog},
3326 { "_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
3327 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog},
3328 { "_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
3329 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog},
3330 { "_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog},
3331 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog},
3332 { "_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog},
3333 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog},
3334 { "_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog},
3335 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog},
3336 { "_wxDialog","_class_wxDialog",0},
3337 { "_class_wxPen","_wxPen",0},
3338 { "_class_wxFileDialog","_wxFileDialog",0},
3339 { "_short","_WXTYPE",0},
3340 { "_short","_unsigned_short",0},
3341 { "_short","_signed_short",0},
3342 { "_class_wxStaticBox","_wxStaticBox",0},
3343 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3344 { "_class_wxPyDropSource","_wxPyDropSource",0},
3345 { "_class_wxScrollEvent","_wxScrollEvent",0},
3346 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3347 { "_class_wxChoice","_wxChoice",0},
3348 { "_class_wxSlider","_wxSlider",0},
3349 { "_class_wxImageList","_wxImageList",0},
3350 { "_class_wxBitmapButton","_wxBitmapButton",0},
3351 { "_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame},
3352 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame},
3353 { "_wxFrame","_class_wxFrame",0},
3354 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3355 { "_wxWindowID","_wxCoord",0},
3356 { "_wxWindowID","_wxPrintQuality",0},
3357 { "_wxWindowID","_time_t",0},
3358 { "_wxWindowID","_size_t",0},
3359 { "_wxWindowID","_EBool",0},
3360 { "_wxWindowID","_uint",0},
3361 { "_wxWindowID","_int",0},
3362 { "_wxWindowID","_signed_int",0},
3363 { "_wxWindowID","_unsigned_int",0},
3364 { "_class_wxGDIObject","_wxGDIObject",0},
3365 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3366 { "_int","_wxCoord",0},
3367 { "_int","_wxPrintQuality",0},
3368 { "_int","_time_t",0},
3369 { "_int","_size_t",0},
3370 { "_int","_EBool",0},
3371 { "_int","_uint",0},
3372 { "_int","_wxWindowID",0},
3373 { "_int","_unsigned_int",0},
3374 { "_int","_signed_int",0},
3375 { "_class_wxMouseEvent","_wxMouseEvent",0},
3376 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3377 { "_class_wxSpinEvent","_wxSpinEvent",0},
3378 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3379 { "_time_t","_wxCoord",0},
3380 { "_time_t","_wxPrintQuality",0},
3381 { "_time_t","_unsigned_int",0},
3382 { "_time_t","_int",0},
3383 { "_time_t","_wxWindowID",0},
3384 { "_time_t","_uint",0},
3385 { "_time_t","_size_t",0},
3386 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3387 { "_wxButton","_class_wxButton",0},
3388 { "_wxSize","_class_wxSize",0},
3389 { "_wxRegionIterator","_class_wxRegionIterator",0},
3390 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3391 { "_class_wxPaintDC","_wxPaintDC",0},
3392 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3393 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3394 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3395 { "_class_wxComboBox","_wxComboBox",0},
3396 { "_class_wxRadioButton","_wxRadioButton",0},
3397 { "_wxValidator","_class_wxValidator",0},
3398 { "_wxToolBarBase","_class_wxToolBarBase",0},
3399 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3400 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3401 { "_class_wxControl","_wxControl",0},
3402 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3403 { "_class_wxIcon","_wxIcon",0},
3404 { "_class_wxColour","_wxColour",0},
3405 { "_class_wxScreenDC","_wxScreenDC",0},
3406 { "_wxPalette","_class_wxPalette",0},
3407 { "_class_wxIdleEvent","_wxIdleEvent",0},
3408 { "_wxCoord","_int",0},
3409 { "_wxCoord","_signed_int",0},
3410 { "_wxCoord","_unsigned_int",0},
3411 { "_wxCoord","_wxWindowID",0},
3412 { "_wxCoord","_uint",0},
3413 { "_wxCoord","_EBool",0},
3414 { "_wxCoord","_size_t",0},
3415 { "_wxCoord","_time_t",0},
3416 { "_wxCoord","_wxPrintQuality",0},
3417 { "_wxEraseEvent","_class_wxEraseEvent",0},
3418 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3419 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3420 { "_class_wxToggleButton","_wxToggleButton",0},
3421 { "_class_wxMiniFrame","_wxMiniFrame",0},
3422 { "_wxFontDialog","_class_wxFontDialog",0},
3423 { "_wxRegion","_class_wxRegion",0},
3424 { "_class_wxShowEvent","_wxShowEvent",0},
3425 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3426 { "_wxActivateEvent","_class_wxActivateEvent",0},
3427 { "_wxGauge","_class_wxGauge",0},
3428 { "_class_wxCheckListBox","_wxCheckListBox",0},
3429 { "_class_wxBusyInfo","_wxBusyInfo",0},
3430 { "_class_wxFontList","_wxFontList",0},
3431 { "_class_wxCommandEvent","_wxCommandEvent",0},
3432 { "_class_wxClientDC","_wxClientDC",0},
3433 { "_class_wxSizeEvent","_wxSizeEvent",0},
3434 { "_wxBrushList","_class_wxBrushList",0},
3435 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3436 { "_class_wxSize","_wxSize",0},
3437 { "_class_wxBitmap","_wxBitmap",0},
3438 { "_class_wxMemoryDC","_wxMemoryDC",0},
3439 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3440 { "_wxMenuBar","_class_wxMenuBar",0},
3441 { "_wxDirDialog","_class_wxDirDialog",0},
3442 { "_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
3443 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler},
3444 { "_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
3445 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler},
3446 { "_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
3447 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler},
3448 { "_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
3449 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler},
3450 { "_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
3451 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler},
3452 { "_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
3453 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler},
3454 { "_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
3455 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler},
3456 { "_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
3457 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler},
3458 { "_wxEvtHandler","_class_wxEvtHandler",0},
3459 { "_wxMenuItem","_class_wxMenuItem",0},
3460 { "_class_wxScrollBar","_wxScrollBar",0},
3461 { "_class_wxColourDialog","_wxColourDialog",0},
3462 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3463 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
3464 { "_wxKeyEvent","_class_wxKeyEvent",0},
3465 { "_wxMoveEvent","_class_wxMoveEvent",0},
3466 { "_wxColourData","_class_wxColourData",0},
3467 { "_class_wxPalette","_wxPalette",0},
3468 { "_wxFileDataObject","_class_wxFileDataObject",0},
3469 { "_class_wxEraseEvent","_wxEraseEvent",0},
3470 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3471 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
3472 { "_class_wxFontDialog","_wxFontDialog",0},
3473 { "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow},
3474 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow},
3475 { "_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow},
3476 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow},
3477 { "_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow},
3478 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow},
3479 { "_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
3480 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow},
3481 { "_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
3482 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow},
3483 { "_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow},
3484 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow},
3485 { "_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow},
3486 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow},
3487 { "_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow},
3488 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow},
3489 { "_wxWindow","_class_wxWindow",0},
3490 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3491 { "_class_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame},
3492 { "_class_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame},
3493 { "_class_wxFrame","_wxFrame",0},
3494 {0,0,0}};
3495
3496 static PyObject *SWIG_globals;
3497 #ifdef __cplusplus
3498 extern "C"
3499 #endif
3500 SWIGEXPORT(void) initcmndlgsc() {
3501 PyObject *m, *d;
3502 SWIG_globals = SWIG_newvarlink();
3503 m = Py_InitModule("cmndlgsc", cmndlgscMethods);
3504 d = PyModule_GetDict(m);
3505 {
3506 int i;
3507 for (i = 0; _swig_mapping[i].n1; i++)
3508 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3509 }
3510 }