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