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