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