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