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