]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/cmndlgs.cpp
GTK version of the SWIG-generated files
[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 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
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/printdlg.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 int* int_LIST_helper(PyObject* source);
111 extern long* long_LIST_helper(PyObject* source);
112 extern char** string_LIST_helper(PyObject* source);
113 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
114 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
115 extern wxString* wxString_LIST_helper(PyObject* source);
116 #ifdef __WXMSW__
117 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
118 #endif
119
120
121 static char* wxStringErrorMsg = "string type is required for parameter";
122 #define new_wxColourData() (new wxColourData())
123 static PyObject *_wrap_new_wxColourData(PyObject *self, PyObject *args) {
124 PyObject * _resultobj;
125 wxColourData * _result;
126 char _ptemp[128];
127
128 self = self;
129 if(!PyArg_ParseTuple(args,":new_wxColourData"))
130 return NULL;
131 _result = (wxColourData *)new_wxColourData();
132 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p");
133 _resultobj = Py_BuildValue("s",_ptemp);
134 return _resultobj;
135 }
136
137 #define delete_wxColourData(_swigobj) (delete _swigobj)
138 static PyObject *_wrap_delete_wxColourData(PyObject *self, PyObject *args) {
139 PyObject * _resultobj;
140 wxColourData * _arg0;
141 char * _argc0 = 0;
142
143 self = self;
144 if(!PyArg_ParseTuple(args,"s:delete_wxColourData",&_argc0))
145 return NULL;
146 if (_argc0) {
147 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) {
148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
149 return NULL;
150 }
151 }
152 delete_wxColourData(_arg0);
153 Py_INCREF(Py_None);
154 _resultobj = Py_None;
155 return _resultobj;
156 }
157
158 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
159 static PyObject *_wrap_wxColourData_GetChooseFull(PyObject *self, PyObject *args) {
160 PyObject * _resultobj;
161 bool _result;
162 wxColourData * _arg0;
163 char * _argc0 = 0;
164
165 self = self;
166 if(!PyArg_ParseTuple(args,"s:wxColourData_GetChooseFull",&_argc0))
167 return NULL;
168 if (_argc0) {
169 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) {
170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
171 return NULL;
172 }
173 }
174 _result = (bool )wxColourData_GetChooseFull(_arg0);
175 _resultobj = Py_BuildValue("i",_result);
176 return _resultobj;
177 }
178
179 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
180 static PyObject *_wrap_wxColourData_GetColour(PyObject *self, PyObject *args) {
181 PyObject * _resultobj;
182 wxColour * _result;
183 wxColourData * _arg0;
184 char * _argc0 = 0;
185 char _ptemp[128];
186
187 self = self;
188 if(!PyArg_ParseTuple(args,"s:wxColourData_GetColour",&_argc0))
189 return NULL;
190 if (_argc0) {
191 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) {
192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
193 return NULL;
194 }
195 }
196 wxColour & _result_ref = wxColourData_GetColour(_arg0);
197 _result = (wxColour *) &_result_ref;
198 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
199 _resultobj = Py_BuildValue("s",_ptemp);
200 return _resultobj;
201 }
202
203 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
204 static PyObject *_wrap_wxColourData_GetCustomColour(PyObject *self, PyObject *args) {
205 PyObject * _resultobj;
206 wxColour * _result;
207 wxColourData * _arg0;
208 int _arg1;
209 char * _argc0 = 0;
210 char _ptemp[128];
211
212 self = self;
213 if(!PyArg_ParseTuple(args,"si:wxColourData_GetCustomColour",&_argc0,&_arg1))
214 return NULL;
215 if (_argc0) {
216 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) {
217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
218 return NULL;
219 }
220 }
221 _result = new wxColour (wxColourData_GetCustomColour(_arg0,_arg1));
222 SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
223 _resultobj = Py_BuildValue("s",_ptemp);
224 return _resultobj;
225 }
226
227 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
228 static PyObject *_wrap_wxColourData_SetChooseFull(PyObject *self, PyObject *args) {
229 PyObject * _resultobj;
230 wxColourData * _arg0;
231 int _arg1;
232 char * _argc0 = 0;
233
234 self = self;
235 if(!PyArg_ParseTuple(args,"si:wxColourData_SetChooseFull",&_argc0,&_arg1))
236 return NULL;
237 if (_argc0) {
238 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) {
239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
240 return NULL;
241 }
242 }
243 wxColourData_SetChooseFull(_arg0,_arg1);
244 Py_INCREF(Py_None);
245 _resultobj = Py_None;
246 return _resultobj;
247 }
248
249 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
250 static PyObject *_wrap_wxColourData_SetColour(PyObject *self, PyObject *args) {
251 PyObject * _resultobj;
252 wxColourData * _arg0;
253 wxColour * _arg1;
254 char * _argc0 = 0;
255 char * _argc1 = 0;
256
257 self = self;
258 if(!PyArg_ParseTuple(args,"ss:wxColourData_SetColour",&_argc0,&_argc1))
259 return NULL;
260 if (_argc0) {
261 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) {
262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
263 return NULL;
264 }
265 }
266 if (_argc1) {
267 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
268 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxColourData_SetColour. Expected _wxColour_p.");
269 return NULL;
270 }
271 }
272 wxColourData_SetColour(_arg0,*_arg1);
273 Py_INCREF(Py_None);
274 _resultobj = Py_None;
275 return _resultobj;
276 }
277
278 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
279 static PyObject *_wrap_wxColourData_SetCustomColour(PyObject *self, PyObject *args) {
280 PyObject * _resultobj;
281 wxColourData * _arg0;
282 int _arg1;
283 wxColour * _arg2;
284 char * _argc0 = 0;
285 char * _argc2 = 0;
286
287 self = self;
288 if(!PyArg_ParseTuple(args,"sis:wxColourData_SetCustomColour",&_argc0,&_arg1,&_argc2))
289 return NULL;
290 if (_argc0) {
291 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourData_p")) {
292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
293 return NULL;
294 }
295 }
296 if (_argc2) {
297 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxColour_p")) {
298 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxColourData_SetCustomColour. Expected _wxColour_p.");
299 return NULL;
300 }
301 }
302 wxColourData_SetCustomColour(_arg0,_arg1,*_arg2);
303 Py_INCREF(Py_None);
304 _resultobj = Py_None;
305 return _resultobj;
306 }
307
308 static void *SwigwxColourDialogTowxDialog(void *ptr) {
309 wxColourDialog *src;
310 wxDialog *dest;
311 src = (wxColourDialog *) ptr;
312 dest = (wxDialog *) src;
313 return (void *) dest;
314 }
315
316 static void *SwigwxColourDialogTowxPanel(void *ptr) {
317 wxColourDialog *src;
318 wxPanel *dest;
319 src = (wxColourDialog *) ptr;
320 dest = (wxPanel *) src;
321 return (void *) dest;
322 }
323
324 static void *SwigwxColourDialogTowxWindow(void *ptr) {
325 wxColourDialog *src;
326 wxWindow *dest;
327 src = (wxColourDialog *) ptr;
328 dest = (wxWindow *) src;
329 return (void *) dest;
330 }
331
332 static void *SwigwxColourDialogTowxEvtHandler(void *ptr) {
333 wxColourDialog *src;
334 wxEvtHandler *dest;
335 src = (wxColourDialog *) ptr;
336 dest = (wxEvtHandler *) src;
337 return (void *) dest;
338 }
339
340 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
341 static PyObject *_wrap_new_wxColourDialog(PyObject *self, PyObject *args) {
342 PyObject * _resultobj;
343 wxColourDialog * _result;
344 wxWindow * _arg0;
345 wxColourData * _arg1 = NULL;
346 char * _argc0 = 0;
347 char * _argc1 = 0;
348 char _ptemp[128];
349
350 self = self;
351 if(!PyArg_ParseTuple(args,"s|s:new_wxColourDialog",&_argc0,&_argc1))
352 return NULL;
353 if (_argc0) {
354 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
356 return NULL;
357 }
358 }
359 if (_argc1) {
360 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColourData_p")) {
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
362 return NULL;
363 }
364 }
365 _result = (wxColourDialog *)new_wxColourDialog(_arg0,_arg1);
366 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourDialog_p");
367 _resultobj = Py_BuildValue("s",_ptemp);
368 return _resultobj;
369 }
370
371 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
372 static PyObject *_wrap_wxColourDialog_GetColourData(PyObject *self, PyObject *args) {
373 PyObject * _resultobj;
374 wxColourData * _result;
375 wxColourDialog * _arg0;
376 char * _argc0 = 0;
377 char _ptemp[128];
378
379 self = self;
380 if(!PyArg_ParseTuple(args,"s:wxColourDialog_GetColourData",&_argc0))
381 return NULL;
382 if (_argc0) {
383 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourDialog_p")) {
384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
385 return NULL;
386 }
387 }
388 _result = new wxColourData (wxColourDialog_GetColourData(_arg0));
389 SWIG_MakePtr(_ptemp, (void *) _result,"_wxColourData_p");
390 _resultobj = Py_BuildValue("s",_ptemp);
391 return _resultobj;
392 }
393
394 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
395 static PyObject *_wrap_wxColourDialog_ShowModal(PyObject *self, PyObject *args) {
396 PyObject * _resultobj;
397 int _result;
398 wxColourDialog * _arg0;
399 char * _argc0 = 0;
400
401 self = self;
402 if(!PyArg_ParseTuple(args,"s:wxColourDialog_ShowModal",&_argc0))
403 return NULL;
404 if (_argc0) {
405 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColourDialog_p")) {
406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
407 return NULL;
408 }
409 }
410 _result = (int )wxColourDialog_ShowModal(_arg0);
411 _resultobj = Py_BuildValue("i",_result);
412 return _resultobj;
413 }
414
415 static void *SwigwxFileDialogTowxDialog(void *ptr) {
416 wxFileDialog *src;
417 wxDialog *dest;
418 src = (wxFileDialog *) ptr;
419 dest = (wxDialog *) src;
420 return (void *) dest;
421 }
422
423 static void *SwigwxFileDialogTowxPanel(void *ptr) {
424 wxFileDialog *src;
425 wxPanel *dest;
426 src = (wxFileDialog *) ptr;
427 dest = (wxPanel *) src;
428 return (void *) dest;
429 }
430
431 static void *SwigwxFileDialogTowxWindow(void *ptr) {
432 wxFileDialog *src;
433 wxWindow *dest;
434 src = (wxFileDialog *) ptr;
435 dest = (wxWindow *) src;
436 return (void *) dest;
437 }
438
439 static void *SwigwxFileDialogTowxEvtHandler(void *ptr) {
440 wxFileDialog *src;
441 wxEvtHandler *dest;
442 src = (wxFileDialog *) ptr;
443 dest = (wxEvtHandler *) src;
444 return (void *) dest;
445 }
446
447 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
448 static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args) {
449 PyObject * _resultobj;
450 wxFileDialog * _result;
451 wxWindow * _arg0;
452 char * _arg1 = "Choose a file";
453 char * _arg2 = "";
454 char * _arg3 = "";
455 char * _arg4 = "*.*";
456 long _arg5 = 0;
457 wxPoint * _arg6 = &wxPyDefaultPosition;
458 char * _argc0 = 0;
459 char * _argc6 = 0;
460 char _ptemp[128];
461
462 self = self;
463 if(!PyArg_ParseTuple(args,"s|ssssls:new_wxFileDialog",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argc6))
464 return NULL;
465 if (_argc0) {
466 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
468 return NULL;
469 }
470 }
471 if (_argc6) {
472 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxPoint_p")) {
473 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxFileDialog. Expected _wxPoint_p.");
474 return NULL;
475 }
476 }
477 _result = (wxFileDialog *)new_wxFileDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6);
478 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileDialog_p");
479 _resultobj = Py_BuildValue("s",_ptemp);
480 return _resultobj;
481 }
482
483 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
484 static PyObject *_wrap_wxFileDialog_GetDirectory(PyObject *self, PyObject *args) {
485 PyObject * _resultobj;
486 wxString * _result;
487 wxFileDialog * _arg0;
488 char * _argc0 = 0;
489
490 self = self;
491 if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetDirectory",&_argc0))
492 return NULL;
493 if (_argc0) {
494 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
496 return NULL;
497 }
498 }
499 _result = new wxString (wxFileDialog_GetDirectory(_arg0));
500 {
501 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
502 }
503 {
504 delete _result;
505 }
506 return _resultobj;
507 }
508
509 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
510 static PyObject *_wrap_wxFileDialog_GetFilename(PyObject *self, PyObject *args) {
511 PyObject * _resultobj;
512 wxString * _result;
513 wxFileDialog * _arg0;
514 char * _argc0 = 0;
515
516 self = self;
517 if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetFilename",&_argc0))
518 return NULL;
519 if (_argc0) {
520 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
522 return NULL;
523 }
524 }
525 _result = new wxString (wxFileDialog_GetFilename(_arg0));
526 {
527 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
528 }
529 {
530 delete _result;
531 }
532 return _resultobj;
533 }
534
535 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
536 static PyObject *_wrap_wxFileDialog_GetFilterIndex(PyObject *self, PyObject *args) {
537 PyObject * _resultobj;
538 int _result;
539 wxFileDialog * _arg0;
540 char * _argc0 = 0;
541
542 self = self;
543 if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetFilterIndex",&_argc0))
544 return NULL;
545 if (_argc0) {
546 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
548 return NULL;
549 }
550 }
551 _result = (int )wxFileDialog_GetFilterIndex(_arg0);
552 _resultobj = Py_BuildValue("i",_result);
553 return _resultobj;
554 }
555
556 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
557 static PyObject *_wrap_wxFileDialog_GetMessage(PyObject *self, PyObject *args) {
558 PyObject * _resultobj;
559 wxString * _result;
560 wxFileDialog * _arg0;
561 char * _argc0 = 0;
562
563 self = self;
564 if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetMessage",&_argc0))
565 return NULL;
566 if (_argc0) {
567 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
569 return NULL;
570 }
571 }
572 _result = new wxString (wxFileDialog_GetMessage(_arg0));
573 {
574 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
575 }
576 {
577 delete _result;
578 }
579 return _resultobj;
580 }
581
582 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
583 static PyObject *_wrap_wxFileDialog_GetPath(PyObject *self, PyObject *args) {
584 PyObject * _resultobj;
585 wxString * _result;
586 wxFileDialog * _arg0;
587 char * _argc0 = 0;
588
589 self = self;
590 if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetPath",&_argc0))
591 return NULL;
592 if (_argc0) {
593 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
595 return NULL;
596 }
597 }
598 _result = new wxString (wxFileDialog_GetPath(_arg0));
599 {
600 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
601 }
602 {
603 delete _result;
604 }
605 return _resultobj;
606 }
607
608 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
609 static PyObject *_wrap_wxFileDialog_GetStyle(PyObject *self, PyObject *args) {
610 PyObject * _resultobj;
611 long _result;
612 wxFileDialog * _arg0;
613 char * _argc0 = 0;
614
615 self = self;
616 if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetStyle",&_argc0))
617 return NULL;
618 if (_argc0) {
619 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
621 return NULL;
622 }
623 }
624 _result = (long )wxFileDialog_GetStyle(_arg0);
625 _resultobj = Py_BuildValue("l",_result);
626 return _resultobj;
627 }
628
629 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
630 static PyObject *_wrap_wxFileDialog_GetWildcard(PyObject *self, PyObject *args) {
631 PyObject * _resultobj;
632 wxString * _result;
633 wxFileDialog * _arg0;
634 char * _argc0 = 0;
635
636 self = self;
637 if(!PyArg_ParseTuple(args,"s:wxFileDialog_GetWildcard",&_argc0))
638 return NULL;
639 if (_argc0) {
640 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
642 return NULL;
643 }
644 }
645 _result = new wxString (wxFileDialog_GetWildcard(_arg0));
646 {
647 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
648 }
649 {
650 delete _result;
651 }
652 return _resultobj;
653 }
654
655 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
656 static PyObject *_wrap_wxFileDialog_SetDirectory(PyObject *self, PyObject *args) {
657 PyObject * _resultobj;
658 wxFileDialog * _arg0;
659 wxString * _arg1;
660 char * _argc0 = 0;
661 PyObject * _obj1 = 0;
662
663 self = self;
664 if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetDirectory",&_argc0,&_obj1))
665 return NULL;
666 if (_argc0) {
667 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
669 return NULL;
670 }
671 }
672 {
673 if (!PyString_Check(_obj1)) {
674 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
675 return NULL;
676 }
677 _arg1 = new wxString(PyString_AsString(_obj1));
678 }
679 wxFileDialog_SetDirectory(_arg0,*_arg1);
680 Py_INCREF(Py_None);
681 _resultobj = Py_None;
682 {
683 if (_obj1)
684 delete _arg1;
685 }
686 return _resultobj;
687 }
688
689 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
690 static PyObject *_wrap_wxFileDialog_SetFilename(PyObject *self, PyObject *args) {
691 PyObject * _resultobj;
692 wxFileDialog * _arg0;
693 wxString * _arg1;
694 char * _argc0 = 0;
695 PyObject * _obj1 = 0;
696
697 self = self;
698 if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetFilename",&_argc0,&_obj1))
699 return NULL;
700 if (_argc0) {
701 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
703 return NULL;
704 }
705 }
706 {
707 if (!PyString_Check(_obj1)) {
708 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
709 return NULL;
710 }
711 _arg1 = new wxString(PyString_AsString(_obj1));
712 }
713 wxFileDialog_SetFilename(_arg0,*_arg1);
714 Py_INCREF(Py_None);
715 _resultobj = Py_None;
716 {
717 if (_obj1)
718 delete _arg1;
719 }
720 return _resultobj;
721 }
722
723 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
724 static PyObject *_wrap_wxFileDialog_SetFilterIndex(PyObject *self, PyObject *args) {
725 PyObject * _resultobj;
726 wxFileDialog * _arg0;
727 int _arg1;
728 char * _argc0 = 0;
729
730 self = self;
731 if(!PyArg_ParseTuple(args,"si:wxFileDialog_SetFilterIndex",&_argc0,&_arg1))
732 return NULL;
733 if (_argc0) {
734 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
736 return NULL;
737 }
738 }
739 wxFileDialog_SetFilterIndex(_arg0,_arg1);
740 Py_INCREF(Py_None);
741 _resultobj = Py_None;
742 return _resultobj;
743 }
744
745 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
746 static PyObject *_wrap_wxFileDialog_SetMessage(PyObject *self, PyObject *args) {
747 PyObject * _resultobj;
748 wxFileDialog * _arg0;
749 wxString * _arg1;
750 char * _argc0 = 0;
751 PyObject * _obj1 = 0;
752
753 self = self;
754 if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetMessage",&_argc0,&_obj1))
755 return NULL;
756 if (_argc0) {
757 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
759 return NULL;
760 }
761 }
762 {
763 if (!PyString_Check(_obj1)) {
764 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
765 return NULL;
766 }
767 _arg1 = new wxString(PyString_AsString(_obj1));
768 }
769 wxFileDialog_SetMessage(_arg0,*_arg1);
770 Py_INCREF(Py_None);
771 _resultobj = Py_None;
772 {
773 if (_obj1)
774 delete _arg1;
775 }
776 return _resultobj;
777 }
778
779 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
780 static PyObject *_wrap_wxFileDialog_SetPath(PyObject *self, PyObject *args) {
781 PyObject * _resultobj;
782 wxFileDialog * _arg0;
783 wxString * _arg1;
784 char * _argc0 = 0;
785 PyObject * _obj1 = 0;
786
787 self = self;
788 if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetPath",&_argc0,&_obj1))
789 return NULL;
790 if (_argc0) {
791 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
793 return NULL;
794 }
795 }
796 {
797 if (!PyString_Check(_obj1)) {
798 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
799 return NULL;
800 }
801 _arg1 = new wxString(PyString_AsString(_obj1));
802 }
803 wxFileDialog_SetPath(_arg0,*_arg1);
804 Py_INCREF(Py_None);
805 _resultobj = Py_None;
806 {
807 if (_obj1)
808 delete _arg1;
809 }
810 return _resultobj;
811 }
812
813 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
814 static PyObject *_wrap_wxFileDialog_SetStyle(PyObject *self, PyObject *args) {
815 PyObject * _resultobj;
816 wxFileDialog * _arg0;
817 long _arg1;
818 char * _argc0 = 0;
819
820 self = self;
821 if(!PyArg_ParseTuple(args,"sl:wxFileDialog_SetStyle",&_argc0,&_arg1))
822 return NULL;
823 if (_argc0) {
824 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
826 return NULL;
827 }
828 }
829 wxFileDialog_SetStyle(_arg0,_arg1);
830 Py_INCREF(Py_None);
831 _resultobj = Py_None;
832 return _resultobj;
833 }
834
835 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
836 static PyObject *_wrap_wxFileDialog_SetWildcard(PyObject *self, PyObject *args) {
837 PyObject * _resultobj;
838 wxFileDialog * _arg0;
839 wxString * _arg1;
840 char * _argc0 = 0;
841 PyObject * _obj1 = 0;
842
843 self = self;
844 if(!PyArg_ParseTuple(args,"sO:wxFileDialog_SetWildcard",&_argc0,&_obj1))
845 return NULL;
846 if (_argc0) {
847 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
849 return NULL;
850 }
851 }
852 {
853 if (!PyString_Check(_obj1)) {
854 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
855 return NULL;
856 }
857 _arg1 = new wxString(PyString_AsString(_obj1));
858 }
859 wxFileDialog_SetWildcard(_arg0,*_arg1);
860 Py_INCREF(Py_None);
861 _resultobj = Py_None;
862 {
863 if (_obj1)
864 delete _arg1;
865 }
866 return _resultobj;
867 }
868
869 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
870 static PyObject *_wrap_wxFileDialog_ShowModal(PyObject *self, PyObject *args) {
871 PyObject * _resultobj;
872 int _result;
873 wxFileDialog * _arg0;
874 char * _argc0 = 0;
875
876 self = self;
877 if(!PyArg_ParseTuple(args,"s:wxFileDialog_ShowModal",&_argc0))
878 return NULL;
879 if (_argc0) {
880 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFileDialog_p")) {
881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
882 return NULL;
883 }
884 }
885 _result = (int )wxFileDialog_ShowModal(_arg0);
886 _resultobj = Py_BuildValue("i",_result);
887 return _resultobj;
888 }
889
890 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr) {
891 wxSingleChoiceDialog *src;
892 wxDialog *dest;
893 src = (wxSingleChoiceDialog *) ptr;
894 dest = (wxDialog *) src;
895 return (void *) dest;
896 }
897
898 static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr) {
899 wxSingleChoiceDialog *src;
900 wxPanel *dest;
901 src = (wxSingleChoiceDialog *) ptr;
902 dest = (wxPanel *) src;
903 return (void *) dest;
904 }
905
906 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr) {
907 wxSingleChoiceDialog *src;
908 wxWindow *dest;
909 src = (wxSingleChoiceDialog *) ptr;
910 dest = (wxWindow *) src;
911 return (void *) dest;
912 }
913
914 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr) {
915 wxSingleChoiceDialog *src;
916 wxEvtHandler *dest;
917 src = (wxSingleChoiceDialog *) ptr;
918 dest = (wxEvtHandler *) src;
919 return (void *) dest;
920 }
921
922 static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString *message,wxString *caption,int LCOUNT,wxString *LIST,long style,wxPoint *pos) {
923 return new wxSingleChoiceDialog(parent, *message, *caption,
924 LCOUNT, LIST, NULL, style, *pos);
925 }
926
927 static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args) {
928 PyObject * _resultobj;
929 wxSingleChoiceDialog * _result;
930 wxWindow * _arg0;
931 wxString * _arg1;
932 wxString * _arg2;
933 int _arg3;
934 wxString * _arg4;
935 long _arg5 = (wxOK)|(wxCANCEL)|(wxCENTRE);
936 wxPoint * _arg6 = &wxPyDefaultPosition;
937 char * _argc0 = 0;
938 PyObject * _obj1 = 0;
939 PyObject * _obj2 = 0;
940 PyObject * _obj4 = 0;
941 char * _argc6 = 0;
942 char _ptemp[128];
943
944 self = self;
945 if(!PyArg_ParseTuple(args,"sOOO|ls:new_wxSingleChoiceDialog",&_argc0,&_obj1,&_obj2,&_obj4,&_arg5,&_argc6))
946 return NULL;
947 if (_argc0) {
948 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
950 return NULL;
951 }
952 }
953 {
954 if (!PyString_Check(_obj1)) {
955 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
956 return NULL;
957 }
958 _arg1 = new wxString(PyString_AsString(_obj1));
959 }
960 {
961 if (!PyString_Check(_obj2)) {
962 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
963 return NULL;
964 }
965 _arg2 = new wxString(PyString_AsString(_obj2));
966 }
967 if (_obj4)
968 {
969 _arg4 = wxString_LIST_helper(_obj4);
970 if (_arg4 == NULL) {
971 return NULL;
972 }
973 }
974 if (_argc6) {
975 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxPoint_p")) {
976 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxSingleChoiceDialog. Expected _wxPoint_p.");
977 return NULL;
978 }
979 }
980 {
981 _arg3 = PyList_Size(_obj4);
982 }
983 _result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
984 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSingleChoiceDialog_p");
985 _resultobj = Py_BuildValue("s",_ptemp);
986 {
987 if (_obj1)
988 delete _arg1;
989 }
990 {
991 if (_obj2)
992 delete _arg2;
993 }
994 {
995 delete [] _arg4;
996 }
997 return _resultobj;
998 }
999
1000 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1001 static PyObject *_wrap_wxSingleChoiceDialog_GetSelection(PyObject *self, PyObject *args) {
1002 PyObject * _resultobj;
1003 int _result;
1004 wxSingleChoiceDialog * _arg0;
1005 char * _argc0 = 0;
1006
1007 self = self;
1008 if(!PyArg_ParseTuple(args,"s:wxSingleChoiceDialog_GetSelection",&_argc0))
1009 return NULL;
1010 if (_argc0) {
1011 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
1012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1013 return NULL;
1014 }
1015 }
1016 _result = (int )wxSingleChoiceDialog_GetSelection(_arg0);
1017 _resultobj = Py_BuildValue("i",_result);
1018 return _resultobj;
1019 }
1020
1021 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1022 static PyObject *_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args) {
1023 PyObject * _resultobj;
1024 wxString * _result;
1025 wxSingleChoiceDialog * _arg0;
1026 char * _argc0 = 0;
1027
1028 self = self;
1029 if(!PyArg_ParseTuple(args,"s:wxSingleChoiceDialog_GetStringSelection",&_argc0))
1030 return NULL;
1031 if (_argc0) {
1032 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
1033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1034 return NULL;
1035 }
1036 }
1037 _result = new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0));
1038 {
1039 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1040 }
1041 {
1042 delete _result;
1043 }
1044 return _resultobj;
1045 }
1046
1047 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1048 static PyObject *_wrap_wxSingleChoiceDialog_SetSelection(PyObject *self, PyObject *args) {
1049 PyObject * _resultobj;
1050 wxSingleChoiceDialog * _arg0;
1051 int _arg1;
1052 char * _argc0 = 0;
1053
1054 self = self;
1055 if(!PyArg_ParseTuple(args,"si:wxSingleChoiceDialog_SetSelection",&_argc0,&_arg1))
1056 return NULL;
1057 if (_argc0) {
1058 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
1059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1060 return NULL;
1061 }
1062 }
1063 wxSingleChoiceDialog_SetSelection(_arg0,_arg1);
1064 Py_INCREF(Py_None);
1065 _resultobj = Py_None;
1066 return _resultobj;
1067 }
1068
1069 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1070 static PyObject *_wrap_wxSingleChoiceDialog_ShowModal(PyObject *self, PyObject *args) {
1071 PyObject * _resultobj;
1072 int _result;
1073 wxSingleChoiceDialog * _arg0;
1074 char * _argc0 = 0;
1075
1076 self = self;
1077 if(!PyArg_ParseTuple(args,"s:wxSingleChoiceDialog_ShowModal",&_argc0))
1078 return NULL;
1079 if (_argc0) {
1080 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) {
1081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1082 return NULL;
1083 }
1084 }
1085 _result = (int )wxSingleChoiceDialog_ShowModal(_arg0);
1086 _resultobj = Py_BuildValue("i",_result);
1087 return _resultobj;
1088 }
1089
1090 static void *SwigwxTextEntryDialogTowxDialog(void *ptr) {
1091 wxTextEntryDialog *src;
1092 wxDialog *dest;
1093 src = (wxTextEntryDialog *) ptr;
1094 dest = (wxDialog *) src;
1095 return (void *) dest;
1096 }
1097
1098 static void *SwigwxTextEntryDialogTowxPanel(void *ptr) {
1099 wxTextEntryDialog *src;
1100 wxPanel *dest;
1101 src = (wxTextEntryDialog *) ptr;
1102 dest = (wxPanel *) src;
1103 return (void *) dest;
1104 }
1105
1106 static void *SwigwxTextEntryDialogTowxWindow(void *ptr) {
1107 wxTextEntryDialog *src;
1108 wxWindow *dest;
1109 src = (wxTextEntryDialog *) ptr;
1110 dest = (wxWindow *) src;
1111 return (void *) dest;
1112 }
1113
1114 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr) {
1115 wxTextEntryDialog *src;
1116 wxEvtHandler *dest;
1117 src = (wxTextEntryDialog *) ptr;
1118 dest = (wxEvtHandler *) src;
1119 return (void *) dest;
1120 }
1121
1122 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1123 static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args) {
1124 PyObject * _resultobj;
1125 wxTextEntryDialog * _result;
1126 wxWindow * _arg0;
1127 char * _arg1;
1128 char * _arg2 = "Input Text";
1129 char * _arg3 = "";
1130 long _arg4 = (wxOK)|(wxCANCEL)|(wxCENTRE);
1131 wxPoint * _arg5 = &wxPyDefaultPosition;
1132 char * _argc0 = 0;
1133 char * _argc5 = 0;
1134 char _ptemp[128];
1135
1136 self = self;
1137 if(!PyArg_ParseTuple(args,"ss|ssls:new_wxTextEntryDialog",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_argc5))
1138 return NULL;
1139 if (_argc0) {
1140 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1142 return NULL;
1143 }
1144 }
1145 if (_argc5) {
1146 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxPoint_p")) {
1147 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTextEntryDialog. Expected _wxPoint_p.");
1148 return NULL;
1149 }
1150 }
1151 _result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5);
1152 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextEntryDialog_p");
1153 _resultobj = Py_BuildValue("s",_ptemp);
1154 return _resultobj;
1155 }
1156
1157 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1158 static PyObject *_wrap_wxTextEntryDialog_GetValue(PyObject *self, PyObject *args) {
1159 PyObject * _resultobj;
1160 wxString * _result;
1161 wxTextEntryDialog * _arg0;
1162 char * _argc0 = 0;
1163
1164 self = self;
1165 if(!PyArg_ParseTuple(args,"s:wxTextEntryDialog_GetValue",&_argc0))
1166 return NULL;
1167 if (_argc0) {
1168 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
1169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1170 return NULL;
1171 }
1172 }
1173 _result = new wxString (wxTextEntryDialog_GetValue(_arg0));
1174 {
1175 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1176 }
1177 {
1178 delete _result;
1179 }
1180 return _resultobj;
1181 }
1182
1183 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1184 static PyObject *_wrap_wxTextEntryDialog_SetValue(PyObject *self, PyObject *args) {
1185 PyObject * _resultobj;
1186 wxTextEntryDialog * _arg0;
1187 wxString * _arg1;
1188 char * _argc0 = 0;
1189 PyObject * _obj1 = 0;
1190
1191 self = self;
1192 if(!PyArg_ParseTuple(args,"sO:wxTextEntryDialog_SetValue",&_argc0,&_obj1))
1193 return NULL;
1194 if (_argc0) {
1195 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
1196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1197 return NULL;
1198 }
1199 }
1200 {
1201 if (!PyString_Check(_obj1)) {
1202 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1203 return NULL;
1204 }
1205 _arg1 = new wxString(PyString_AsString(_obj1));
1206 }
1207 wxTextEntryDialog_SetValue(_arg0,*_arg1);
1208 Py_INCREF(Py_None);
1209 _resultobj = Py_None;
1210 {
1211 if (_obj1)
1212 delete _arg1;
1213 }
1214 return _resultobj;
1215 }
1216
1217 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1218 static PyObject *_wrap_wxTextEntryDialog_ShowModal(PyObject *self, PyObject *args) {
1219 PyObject * _resultobj;
1220 int _result;
1221 wxTextEntryDialog * _arg0;
1222 char * _argc0 = 0;
1223
1224 self = self;
1225 if(!PyArg_ParseTuple(args,"s:wxTextEntryDialog_ShowModal",&_argc0))
1226 return NULL;
1227 if (_argc0) {
1228 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextEntryDialog_p")) {
1229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
1230 return NULL;
1231 }
1232 }
1233 _result = (int )wxTextEntryDialog_ShowModal(_arg0);
1234 _resultobj = Py_BuildValue("i",_result);
1235 return _resultobj;
1236 }
1237
1238 #define new_wxFontData() (new wxFontData())
1239 static PyObject *_wrap_new_wxFontData(PyObject *self, PyObject *args) {
1240 PyObject * _resultobj;
1241 wxFontData * _result;
1242 char _ptemp[128];
1243
1244 self = self;
1245 if(!PyArg_ParseTuple(args,":new_wxFontData"))
1246 return NULL;
1247 _result = (wxFontData *)new_wxFontData();
1248 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p");
1249 _resultobj = Py_BuildValue("s",_ptemp);
1250 return _resultobj;
1251 }
1252
1253 #define delete_wxFontData(_swigobj) (delete _swigobj)
1254 static PyObject *_wrap_delete_wxFontData(PyObject *self, PyObject *args) {
1255 PyObject * _resultobj;
1256 wxFontData * _arg0;
1257 char * _argc0 = 0;
1258
1259 self = self;
1260 if(!PyArg_ParseTuple(args,"s:delete_wxFontData",&_argc0))
1261 return NULL;
1262 if (_argc0) {
1263 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
1265 return NULL;
1266 }
1267 }
1268 delete_wxFontData(_arg0);
1269 Py_INCREF(Py_None);
1270 _resultobj = Py_None;
1271 return _resultobj;
1272 }
1273
1274 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
1275 static PyObject *_wrap_wxFontData_EnableEffects(PyObject *self, PyObject *args) {
1276 PyObject * _resultobj;
1277 wxFontData * _arg0;
1278 bool _arg1;
1279 char * _argc0 = 0;
1280 int tempbool1;
1281
1282 self = self;
1283 if(!PyArg_ParseTuple(args,"si:wxFontData_EnableEffects",&_argc0,&tempbool1))
1284 return NULL;
1285 if (_argc0) {
1286 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
1288 return NULL;
1289 }
1290 }
1291 _arg1 = (bool ) tempbool1;
1292 wxFontData_EnableEffects(_arg0,_arg1);
1293 Py_INCREF(Py_None);
1294 _resultobj = Py_None;
1295 return _resultobj;
1296 }
1297
1298 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
1299 static PyObject *_wrap_wxFontData_GetAllowSymbols(PyObject *self, PyObject *args) {
1300 PyObject * _resultobj;
1301 bool _result;
1302 wxFontData * _arg0;
1303 char * _argc0 = 0;
1304
1305 self = self;
1306 if(!PyArg_ParseTuple(args,"s:wxFontData_GetAllowSymbols",&_argc0))
1307 return NULL;
1308 if (_argc0) {
1309 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
1311 return NULL;
1312 }
1313 }
1314 _result = (bool )wxFontData_GetAllowSymbols(_arg0);
1315 _resultobj = Py_BuildValue("i",_result);
1316 return _resultobj;
1317 }
1318
1319 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
1320 static PyObject *_wrap_wxFontData_GetColour(PyObject *self, PyObject *args) {
1321 PyObject * _resultobj;
1322 wxColour * _result;
1323 wxFontData * _arg0;
1324 char * _argc0 = 0;
1325 char _ptemp[128];
1326
1327 self = self;
1328 if(!PyArg_ParseTuple(args,"s:wxFontData_GetColour",&_argc0))
1329 return NULL;
1330 if (_argc0) {
1331 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
1333 return NULL;
1334 }
1335 }
1336 wxColour & _result_ref = wxFontData_GetColour(_arg0);
1337 _result = (wxColour *) &_result_ref;
1338 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1339 _resultobj = Py_BuildValue("s",_ptemp);
1340 return _resultobj;
1341 }
1342
1343 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
1344 static PyObject *_wrap_wxFontData_GetChosenFont(PyObject *self, PyObject *args) {
1345 PyObject * _resultobj;
1346 wxFont * _result;
1347 wxFontData * _arg0;
1348 char * _argc0 = 0;
1349 char _ptemp[128];
1350
1351 self = self;
1352 if(!PyArg_ParseTuple(args,"s:wxFontData_GetChosenFont",&_argc0))
1353 return NULL;
1354 if (_argc0) {
1355 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
1357 return NULL;
1358 }
1359 }
1360 _result = new wxFont (wxFontData_GetChosenFont(_arg0));
1361 SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1362 _resultobj = Py_BuildValue("s",_ptemp);
1363 return _resultobj;
1364 }
1365
1366 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
1367 static PyObject *_wrap_wxFontData_GetEnableEffects(PyObject *self, PyObject *args) {
1368 PyObject * _resultobj;
1369 bool _result;
1370 wxFontData * _arg0;
1371 char * _argc0 = 0;
1372
1373 self = self;
1374 if(!PyArg_ParseTuple(args,"s:wxFontData_GetEnableEffects",&_argc0))
1375 return NULL;
1376 if (_argc0) {
1377 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
1379 return NULL;
1380 }
1381 }
1382 _result = (bool )wxFontData_GetEnableEffects(_arg0);
1383 _resultobj = Py_BuildValue("i",_result);
1384 return _resultobj;
1385 }
1386
1387 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
1388 static PyObject *_wrap_wxFontData_GetInitialFont(PyObject *self, PyObject *args) {
1389 PyObject * _resultobj;
1390 wxFont * _result;
1391 wxFontData * _arg0;
1392 char * _argc0 = 0;
1393 char _ptemp[128];
1394
1395 self = self;
1396 if(!PyArg_ParseTuple(args,"s:wxFontData_GetInitialFont",&_argc0))
1397 return NULL;
1398 if (_argc0) {
1399 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
1401 return NULL;
1402 }
1403 }
1404 _result = new wxFont (wxFontData_GetInitialFont(_arg0));
1405 SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1406 _resultobj = Py_BuildValue("s",_ptemp);
1407 return _resultobj;
1408 }
1409
1410 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
1411 static PyObject *_wrap_wxFontData_GetShowHelp(PyObject *self, PyObject *args) {
1412 PyObject * _resultobj;
1413 bool _result;
1414 wxFontData * _arg0;
1415 char * _argc0 = 0;
1416
1417 self = self;
1418 if(!PyArg_ParseTuple(args,"s:wxFontData_GetShowHelp",&_argc0))
1419 return NULL;
1420 if (_argc0) {
1421 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
1423 return NULL;
1424 }
1425 }
1426 _result = (bool )wxFontData_GetShowHelp(_arg0);
1427 _resultobj = Py_BuildValue("i",_result);
1428 return _resultobj;
1429 }
1430
1431 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
1432 static PyObject *_wrap_wxFontData_SetAllowSymbols(PyObject *self, PyObject *args) {
1433 PyObject * _resultobj;
1434 wxFontData * _arg0;
1435 bool _arg1;
1436 char * _argc0 = 0;
1437 int tempbool1;
1438
1439 self = self;
1440 if(!PyArg_ParseTuple(args,"si:wxFontData_SetAllowSymbols",&_argc0,&tempbool1))
1441 return NULL;
1442 if (_argc0) {
1443 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
1445 return NULL;
1446 }
1447 }
1448 _arg1 = (bool ) tempbool1;
1449 wxFontData_SetAllowSymbols(_arg0,_arg1);
1450 Py_INCREF(Py_None);
1451 _resultobj = Py_None;
1452 return _resultobj;
1453 }
1454
1455 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
1456 static PyObject *_wrap_wxFontData_SetChosenFont(PyObject *self, PyObject *args) {
1457 PyObject * _resultobj;
1458 wxFontData * _arg0;
1459 wxFont * _arg1;
1460 char * _argc0 = 0;
1461 char * _argc1 = 0;
1462
1463 self = self;
1464 if(!PyArg_ParseTuple(args,"ss:wxFontData_SetChosenFont",&_argc0,&_argc1))
1465 return NULL;
1466 if (_argc0) {
1467 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
1469 return NULL;
1470 }
1471 }
1472 if (_argc1) {
1473 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
1474 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
1475 return NULL;
1476 }
1477 }
1478 wxFontData_SetChosenFont(_arg0,*_arg1);
1479 Py_INCREF(Py_None);
1480 _resultobj = Py_None;
1481 return _resultobj;
1482 }
1483
1484 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1485 static PyObject *_wrap_wxFontData_SetColour(PyObject *self, PyObject *args) {
1486 PyObject * _resultobj;
1487 wxFontData * _arg0;
1488 wxColour * _arg1;
1489 char * _argc0 = 0;
1490 char * _argc1 = 0;
1491
1492 self = self;
1493 if(!PyArg_ParseTuple(args,"ss:wxFontData_SetColour",&_argc0,&_argc1))
1494 return NULL;
1495 if (_argc0) {
1496 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
1498 return NULL;
1499 }
1500 }
1501 if (_argc1) {
1502 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1503 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetColour. Expected _wxColour_p.");
1504 return NULL;
1505 }
1506 }
1507 wxFontData_SetColour(_arg0,*_arg1);
1508 Py_INCREF(Py_None);
1509 _resultobj = Py_None;
1510 return _resultobj;
1511 }
1512
1513 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
1514 static PyObject *_wrap_wxFontData_SetInitialFont(PyObject *self, PyObject *args) {
1515 PyObject * _resultobj;
1516 wxFontData * _arg0;
1517 wxFont * _arg1;
1518 char * _argc0 = 0;
1519 char * _argc1 = 0;
1520
1521 self = self;
1522 if(!PyArg_ParseTuple(args,"ss:wxFontData_SetInitialFont",&_argc0,&_argc1))
1523 return NULL;
1524 if (_argc0) {
1525 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
1527 return NULL;
1528 }
1529 }
1530 if (_argc1) {
1531 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
1532 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
1533 return NULL;
1534 }
1535 }
1536 wxFontData_SetInitialFont(_arg0,*_arg1);
1537 Py_INCREF(Py_None);
1538 _resultobj = Py_None;
1539 return _resultobj;
1540 }
1541
1542 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
1543 static PyObject *_wrap_wxFontData_SetRange(PyObject *self, PyObject *args) {
1544 PyObject * _resultobj;
1545 wxFontData * _arg0;
1546 int _arg1;
1547 int _arg2;
1548 char * _argc0 = 0;
1549
1550 self = self;
1551 if(!PyArg_ParseTuple(args,"sii:wxFontData_SetRange",&_argc0,&_arg1,&_arg2))
1552 return NULL;
1553 if (_argc0) {
1554 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
1556 return NULL;
1557 }
1558 }
1559 wxFontData_SetRange(_arg0,_arg1,_arg2);
1560 Py_INCREF(Py_None);
1561 _resultobj = Py_None;
1562 return _resultobj;
1563 }
1564
1565 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
1566 static PyObject *_wrap_wxFontData_SetShowHelp(PyObject *self, PyObject *args) {
1567 PyObject * _resultobj;
1568 wxFontData * _arg0;
1569 bool _arg1;
1570 char * _argc0 = 0;
1571 int tempbool1;
1572
1573 self = self;
1574 if(!PyArg_ParseTuple(args,"si:wxFontData_SetShowHelp",&_argc0,&tempbool1))
1575 return NULL;
1576 if (_argc0) {
1577 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontData_p")) {
1578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
1579 return NULL;
1580 }
1581 }
1582 _arg1 = (bool ) tempbool1;
1583 wxFontData_SetShowHelp(_arg0,_arg1);
1584 Py_INCREF(Py_None);
1585 _resultobj = Py_None;
1586 return _resultobj;
1587 }
1588
1589 static void *SwigwxFontDialogTowxDialog(void *ptr) {
1590 wxFontDialog *src;
1591 wxDialog *dest;
1592 src = (wxFontDialog *) ptr;
1593 dest = (wxDialog *) src;
1594 return (void *) dest;
1595 }
1596
1597 static void *SwigwxFontDialogTowxPanel(void *ptr) {
1598 wxFontDialog *src;
1599 wxPanel *dest;
1600 src = (wxFontDialog *) ptr;
1601 dest = (wxPanel *) src;
1602 return (void *) dest;
1603 }
1604
1605 static void *SwigwxFontDialogTowxWindow(void *ptr) {
1606 wxFontDialog *src;
1607 wxWindow *dest;
1608 src = (wxFontDialog *) ptr;
1609 dest = (wxWindow *) src;
1610 return (void *) dest;
1611 }
1612
1613 static void *SwigwxFontDialogTowxEvtHandler(void *ptr) {
1614 wxFontDialog *src;
1615 wxEvtHandler *dest;
1616 src = (wxFontDialog *) ptr;
1617 dest = (wxEvtHandler *) src;
1618 return (void *) dest;
1619 }
1620
1621 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
1622 static PyObject *_wrap_new_wxFontDialog(PyObject *self, PyObject *args) {
1623 PyObject * _resultobj;
1624 wxFontDialog * _result;
1625 wxWindow * _arg0;
1626 wxFontData * _arg1 = NULL;
1627 char * _argc0 = 0;
1628 char * _argc1 = 0;
1629 char _ptemp[128];
1630
1631 self = self;
1632 if(!PyArg_ParseTuple(args,"s|s:new_wxFontDialog",&_argc0,&_argc1))
1633 return NULL;
1634 if (_argc0) {
1635 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
1637 return NULL;
1638 }
1639 }
1640 if (_argc1) {
1641 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFontData_p")) {
1642 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
1643 return NULL;
1644 }
1645 }
1646 _result = (wxFontDialog *)new_wxFontDialog(_arg0,_arg1);
1647 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontDialog_p");
1648 _resultobj = Py_BuildValue("s",_ptemp);
1649 return _resultobj;
1650 }
1651
1652 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
1653 static PyObject *_wrap_wxFontDialog_GetFontData(PyObject *self, PyObject *args) {
1654 PyObject * _resultobj;
1655 wxFontData * _result;
1656 wxFontDialog * _arg0;
1657 char * _argc0 = 0;
1658 char _ptemp[128];
1659
1660 self = self;
1661 if(!PyArg_ParseTuple(args,"s:wxFontDialog_GetFontData",&_argc0))
1662 return NULL;
1663 if (_argc0) {
1664 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontDialog_p")) {
1665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
1666 return NULL;
1667 }
1668 }
1669 wxFontData & _result_ref = wxFontDialog_GetFontData(_arg0);
1670 _result = (wxFontData *) &_result_ref;
1671 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p");
1672 _resultobj = Py_BuildValue("s",_ptemp);
1673 return _resultobj;
1674 }
1675
1676 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1677 static PyObject *_wrap_wxFontDialog_ShowModal(PyObject *self, PyObject *args) {
1678 PyObject * _resultobj;
1679 int _result;
1680 wxFontDialog * _arg0;
1681 char * _argc0 = 0;
1682
1683 self = self;
1684 if(!PyArg_ParseTuple(args,"s:wxFontDialog_ShowModal",&_argc0))
1685 return NULL;
1686 if (_argc0) {
1687 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFontDialog_p")) {
1688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
1689 return NULL;
1690 }
1691 }
1692 _result = (int )wxFontDialog_ShowModal(_arg0);
1693 _resultobj = Py_BuildValue("i",_result);
1694 return _resultobj;
1695 }
1696
1697 static void *SwigwxMessageDialogTowxDialog(void *ptr) {
1698 wxMessageDialog *src;
1699 wxDialog *dest;
1700 src = (wxMessageDialog *) ptr;
1701 dest = (wxDialog *) src;
1702 return (void *) dest;
1703 }
1704
1705 static void *SwigwxMessageDialogTowxPanel(void *ptr) {
1706 wxMessageDialog *src;
1707 wxPanel *dest;
1708 src = (wxMessageDialog *) ptr;
1709 dest = (wxPanel *) src;
1710 return (void *) dest;
1711 }
1712
1713 static void *SwigwxMessageDialogTowxWindow(void *ptr) {
1714 wxMessageDialog *src;
1715 wxWindow *dest;
1716 src = (wxMessageDialog *) ptr;
1717 dest = (wxWindow *) src;
1718 return (void *) dest;
1719 }
1720
1721 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr) {
1722 wxMessageDialog *src;
1723 wxEvtHandler *dest;
1724 src = (wxMessageDialog *) ptr;
1725 dest = (wxEvtHandler *) src;
1726 return (void *) dest;
1727 }
1728
1729 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1730 static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args) {
1731 PyObject * _resultobj;
1732 wxMessageDialog * _result;
1733 wxWindow * _arg0;
1734 char * _arg1;
1735 char * _arg2 = "Message box";
1736 long _arg3 = (wxOK)|(wxCANCEL)|(wxCENTRE);
1737 wxPoint * _arg4 = &wxPyDefaultPosition;
1738 char * _argc0 = 0;
1739 char * _argc4 = 0;
1740 char _ptemp[128];
1741
1742 self = self;
1743 if(!PyArg_ParseTuple(args,"ss|sls:new_wxMessageDialog",&_argc0,&_arg1,&_arg2,&_arg3,&_argc4))
1744 return NULL;
1745 if (_argc0) {
1746 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
1748 return NULL;
1749 }
1750 }
1751 if (_argc4) {
1752 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxPoint_p")) {
1753 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMessageDialog. Expected _wxPoint_p.");
1754 return NULL;
1755 }
1756 }
1757 _result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4);
1758 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMessageDialog_p");
1759 _resultobj = Py_BuildValue("s",_ptemp);
1760 return _resultobj;
1761 }
1762
1763 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1764 static PyObject *_wrap_wxMessageDialog_ShowModal(PyObject *self, PyObject *args) {
1765 PyObject * _resultobj;
1766 int _result;
1767 wxMessageDialog * _arg0;
1768 char * _argc0 = 0;
1769
1770 self = self;
1771 if(!PyArg_ParseTuple(args,"s:wxMessageDialog_ShowModal",&_argc0))
1772 return NULL;
1773 if (_argc0) {
1774 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMessageDialog_p")) {
1775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
1776 return NULL;
1777 }
1778 }
1779 _result = (int )wxMessageDialog_ShowModal(_arg0);
1780 _resultobj = Py_BuildValue("i",_result);
1781 return _resultobj;
1782 }
1783
1784 static PyMethodDef cmndlgscMethods[] = {
1785 { "wxMessageDialog_ShowModal", _wrap_wxMessageDialog_ShowModal, 1 },
1786 { "new_wxMessageDialog", _wrap_new_wxMessageDialog, 1 },
1787 { "wxFontDialog_ShowModal", _wrap_wxFontDialog_ShowModal, 1 },
1788 { "wxFontDialog_GetFontData", _wrap_wxFontDialog_GetFontData, 1 },
1789 { "new_wxFontDialog", _wrap_new_wxFontDialog, 1 },
1790 { "wxFontData_SetShowHelp", _wrap_wxFontData_SetShowHelp, 1 },
1791 { "wxFontData_SetRange", _wrap_wxFontData_SetRange, 1 },
1792 { "wxFontData_SetInitialFont", _wrap_wxFontData_SetInitialFont, 1 },
1793 { "wxFontData_SetColour", _wrap_wxFontData_SetColour, 1 },
1794 { "wxFontData_SetChosenFont", _wrap_wxFontData_SetChosenFont, 1 },
1795 { "wxFontData_SetAllowSymbols", _wrap_wxFontData_SetAllowSymbols, 1 },
1796 { "wxFontData_GetShowHelp", _wrap_wxFontData_GetShowHelp, 1 },
1797 { "wxFontData_GetInitialFont", _wrap_wxFontData_GetInitialFont, 1 },
1798 { "wxFontData_GetEnableEffects", _wrap_wxFontData_GetEnableEffects, 1 },
1799 { "wxFontData_GetChosenFont", _wrap_wxFontData_GetChosenFont, 1 },
1800 { "wxFontData_GetColour", _wrap_wxFontData_GetColour, 1 },
1801 { "wxFontData_GetAllowSymbols", _wrap_wxFontData_GetAllowSymbols, 1 },
1802 { "wxFontData_EnableEffects", _wrap_wxFontData_EnableEffects, 1 },
1803 { "delete_wxFontData", _wrap_delete_wxFontData, 1 },
1804 { "new_wxFontData", _wrap_new_wxFontData, 1 },
1805 { "wxTextEntryDialog_ShowModal", _wrap_wxTextEntryDialog_ShowModal, 1 },
1806 { "wxTextEntryDialog_SetValue", _wrap_wxTextEntryDialog_SetValue, 1 },
1807 { "wxTextEntryDialog_GetValue", _wrap_wxTextEntryDialog_GetValue, 1 },
1808 { "new_wxTextEntryDialog", _wrap_new_wxTextEntryDialog, 1 },
1809 { "wxSingleChoiceDialog_ShowModal", _wrap_wxSingleChoiceDialog_ShowModal, 1 },
1810 { "wxSingleChoiceDialog_SetSelection", _wrap_wxSingleChoiceDialog_SetSelection, 1 },
1811 { "wxSingleChoiceDialog_GetStringSelection", _wrap_wxSingleChoiceDialog_GetStringSelection, 1 },
1812 { "wxSingleChoiceDialog_GetSelection", _wrap_wxSingleChoiceDialog_GetSelection, 1 },
1813 { "new_wxSingleChoiceDialog", _wrap_new_wxSingleChoiceDialog, 1 },
1814 { "wxFileDialog_ShowModal", _wrap_wxFileDialog_ShowModal, 1 },
1815 { "wxFileDialog_SetWildcard", _wrap_wxFileDialog_SetWildcard, 1 },
1816 { "wxFileDialog_SetStyle", _wrap_wxFileDialog_SetStyle, 1 },
1817 { "wxFileDialog_SetPath", _wrap_wxFileDialog_SetPath, 1 },
1818 { "wxFileDialog_SetMessage", _wrap_wxFileDialog_SetMessage, 1 },
1819 { "wxFileDialog_SetFilterIndex", _wrap_wxFileDialog_SetFilterIndex, 1 },
1820 { "wxFileDialog_SetFilename", _wrap_wxFileDialog_SetFilename, 1 },
1821 { "wxFileDialog_SetDirectory", _wrap_wxFileDialog_SetDirectory, 1 },
1822 { "wxFileDialog_GetWildcard", _wrap_wxFileDialog_GetWildcard, 1 },
1823 { "wxFileDialog_GetStyle", _wrap_wxFileDialog_GetStyle, 1 },
1824 { "wxFileDialog_GetPath", _wrap_wxFileDialog_GetPath, 1 },
1825 { "wxFileDialog_GetMessage", _wrap_wxFileDialog_GetMessage, 1 },
1826 { "wxFileDialog_GetFilterIndex", _wrap_wxFileDialog_GetFilterIndex, 1 },
1827 { "wxFileDialog_GetFilename", _wrap_wxFileDialog_GetFilename, 1 },
1828 { "wxFileDialog_GetDirectory", _wrap_wxFileDialog_GetDirectory, 1 },
1829 { "new_wxFileDialog", _wrap_new_wxFileDialog, 1 },
1830 { "wxColourDialog_ShowModal", _wrap_wxColourDialog_ShowModal, 1 },
1831 { "wxColourDialog_GetColourData", _wrap_wxColourDialog_GetColourData, 1 },
1832 { "new_wxColourDialog", _wrap_new_wxColourDialog, 1 },
1833 { "wxColourData_SetCustomColour", _wrap_wxColourData_SetCustomColour, 1 },
1834 { "wxColourData_SetColour", _wrap_wxColourData_SetColour, 1 },
1835 { "wxColourData_SetChooseFull", _wrap_wxColourData_SetChooseFull, 1 },
1836 { "wxColourData_GetCustomColour", _wrap_wxColourData_GetCustomColour, 1 },
1837 { "wxColourData_GetColour", _wrap_wxColourData_GetColour, 1 },
1838 { "wxColourData_GetChooseFull", _wrap_wxColourData_GetChooseFull, 1 },
1839 { "delete_wxColourData", _wrap_delete_wxColourData, 1 },
1840 { "new_wxColourData", _wrap_new_wxColourData, 1 },
1841 { NULL, NULL }
1842 };
1843 static PyObject *SWIG_globals;
1844 #ifdef __cplusplus
1845 extern "C"
1846 #endif
1847 SWIGEXPORT(void,initcmndlgsc)() {
1848 PyObject *m, *d;
1849 SWIG_globals = SWIG_newvarlink();
1850 m = Py_InitModule("cmndlgsc", cmndlgscMethods);
1851 d = PyModule_GetDict(m);
1852 /*
1853 * These are the pointer type-equivalency mappings.
1854 * (Used by the SWIG pointer type-checker).
1855 */
1856 SWIG_RegisterMapping("_signed_long","_long",0);
1857 SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0);
1858 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
1859 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler);
1860 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler);
1861 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler);
1862 SWIG_RegisterMapping("_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler);
1863 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler);
1864 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler);
1865 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler);
1866 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler);
1867 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler);
1868 SWIG_RegisterMapping("_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler);
1869 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler);
1870 SWIG_RegisterMapping("_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler);
1871 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
1872 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
1873 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
1874 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
1875 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
1876 SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0);
1877 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
1878 SWIG_RegisterMapping("_byte","_unsigned_char",0);
1879 SWIG_RegisterMapping("_long","_wxDash",0);
1880 SWIG_RegisterMapping("_long","_unsigned_long",0);
1881 SWIG_RegisterMapping("_long","_signed_long",0);
1882 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
1883 SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0);
1884 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
1885 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
1886 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
1887 SWIG_RegisterMapping("_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel);
1888 SWIG_RegisterMapping("_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel);
1889 SWIG_RegisterMapping("_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel);
1890 SWIG_RegisterMapping("_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel);
1891 SWIG_RegisterMapping("_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel);
1892 SWIG_RegisterMapping("_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel);
1893 SWIG_RegisterMapping("_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel);
1894 SWIG_RegisterMapping("_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel);
1895 SWIG_RegisterMapping("_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel);
1896 SWIG_RegisterMapping("_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel);
1897 SWIG_RegisterMapping("_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel);
1898 SWIG_RegisterMapping("_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel);
1899 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
1900 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
1901 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
1902 SWIG_RegisterMapping("_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog);
1903 SWIG_RegisterMapping("_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog);
1904 SWIG_RegisterMapping("_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog);
1905 SWIG_RegisterMapping("_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog);
1906 SWIG_RegisterMapping("_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog);
1907 SWIG_RegisterMapping("_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog);
1908 SWIG_RegisterMapping("_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog);
1909 SWIG_RegisterMapping("_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog);
1910 SWIG_RegisterMapping("_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog);
1911 SWIG_RegisterMapping("_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog);
1912 SWIG_RegisterMapping("_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog);
1913 SWIG_RegisterMapping("_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog);
1914 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
1915 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
1916 SWIG_RegisterMapping("_uint","_unsigned_int",0);
1917 SWIG_RegisterMapping("_uint","_int",0);
1918 SWIG_RegisterMapping("_uint","_wxWindowID",0);
1919 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
1920 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
1921 SWIG_RegisterMapping("_class_wxFontData","_wxFontData",0);
1922 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
1923 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
1924 SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0);
1925 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
1926 SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0);
1927 SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0);
1928 SWIG_RegisterMapping("_EBool","_signed_int",0);
1929 SWIG_RegisterMapping("_EBool","_int",0);
1930 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
1931 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
1932 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
1933 SWIG_RegisterMapping("_unsigned_long","_long",0);
1934 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
1935 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
1936 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
1937 SWIG_RegisterMapping("_class_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel);
1938 SWIG_RegisterMapping("_class_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel);
1939 SWIG_RegisterMapping("_class_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel);
1940 SWIG_RegisterMapping("_class_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel);
1941 SWIG_RegisterMapping("_class_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel);
1942 SWIG_RegisterMapping("_class_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel);
1943 SWIG_RegisterMapping("_class_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel);
1944 SWIG_RegisterMapping("_class_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel);
1945 SWIG_RegisterMapping("_class_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel);
1946 SWIG_RegisterMapping("_class_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel);
1947 SWIG_RegisterMapping("_class_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel);
1948 SWIG_RegisterMapping("_class_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel);
1949 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
1950 SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0);
1951 SWIG_RegisterMapping("_signed_int","_EBool",0);
1952 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
1953 SWIG_RegisterMapping("_signed_int","_int",0);
1954 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
1955 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
1956 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
1957 SWIG_RegisterMapping("_WXTYPE","_short",0);
1958 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
1959 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
1960 SWIG_RegisterMapping("_wxFileDialog","_class_wxFileDialog",0);
1961 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
1962 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
1963 SWIG_RegisterMapping("_unsigned_short","_short",0);
1964 SWIG_RegisterMapping("_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow);
1965 SWIG_RegisterMapping("_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow);
1966 SWIG_RegisterMapping("_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow);
1967 SWIG_RegisterMapping("_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow);
1968 SWIG_RegisterMapping("_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow);
1969 SWIG_RegisterMapping("_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow);
1970 SWIG_RegisterMapping("_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow);
1971 SWIG_RegisterMapping("_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow);
1972 SWIG_RegisterMapping("_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow);
1973 SWIG_RegisterMapping("_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow);
1974 SWIG_RegisterMapping("_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow);
1975 SWIG_RegisterMapping("_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow);
1976 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
1977 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
1978 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
1979 SWIG_RegisterMapping("_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0);
1980 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
1981 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
1982 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
1983 SWIG_RegisterMapping("_signed_short","_short",0);
1984 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
1985 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
1986 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
1987 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
1988 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
1989 SWIG_RegisterMapping("_unsigned_char","_byte",0);
1990 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
1991 SWIG_RegisterMapping("_unsigned_int","_uint",0);
1992 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
1993 SWIG_RegisterMapping("_unsigned_int","_int",0);
1994 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
1995 SWIG_RegisterMapping("_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog);
1996 SWIG_RegisterMapping("_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog);
1997 SWIG_RegisterMapping("_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog);
1998 SWIG_RegisterMapping("_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog);
1999 SWIG_RegisterMapping("_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog);
2000 SWIG_RegisterMapping("_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog);
2001 SWIG_RegisterMapping("_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog);
2002 SWIG_RegisterMapping("_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog);
2003 SWIG_RegisterMapping("_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog);
2004 SWIG_RegisterMapping("_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog);
2005 SWIG_RegisterMapping("_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog);
2006 SWIG_RegisterMapping("_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog);
2007 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
2008 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
2009 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
2010 SWIG_RegisterMapping("_class_wxFileDialog","_wxFileDialog",0);
2011 SWIG_RegisterMapping("_short","_WXTYPE",0);
2012 SWIG_RegisterMapping("_short","_unsigned_short",0);
2013 SWIG_RegisterMapping("_short","_signed_short",0);
2014 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
2015 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2016 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2017 SWIG_RegisterMapping("_wxWindowID","_int",0);
2018 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2019 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2020 SWIG_RegisterMapping("_int","_EBool",0);
2021 SWIG_RegisterMapping("_int","_uint",0);
2022 SWIG_RegisterMapping("_int","_wxWindowID",0);
2023 SWIG_RegisterMapping("_int","_unsigned_int",0);
2024 SWIG_RegisterMapping("_int","_signed_int",0);
2025 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2026 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
2027 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2028 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
2029 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
2030 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
2031 SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0);
2032 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
2033 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2034 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
2035 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
2036 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
2037 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler);
2038 SWIG_RegisterMapping("_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler);
2039 SWIG_RegisterMapping("_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler);
2040 SWIG_RegisterMapping("_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler);
2041 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler);
2042 SWIG_RegisterMapping("_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler);
2043 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler);
2044 SWIG_RegisterMapping("_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler);
2045 SWIG_RegisterMapping("_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler);
2046 SWIG_RegisterMapping("_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler);
2047 SWIG_RegisterMapping("_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler);
2048 SWIG_RegisterMapping("_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler);
2049 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
2050 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
2051 SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0);
2052 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
2053 SWIG_RegisterMapping("_wxDash","_long",0);
2054 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
2055 SWIG_RegisterMapping("_class_wxTextEntryDialog","_wxTextEntryDialog",0);
2056 SWIG_RegisterMapping("_wxColourData","_class_wxColourData",0);
2057 SWIG_RegisterMapping("_class_wxFontDialog","_wxFontDialog",0);
2058 SWIG_RegisterMapping("_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow);
2059 SWIG_RegisterMapping("_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow);
2060 SWIG_RegisterMapping("_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow);
2061 SWIG_RegisterMapping("_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow);
2062 SWIG_RegisterMapping("_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow);
2063 SWIG_RegisterMapping("_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow);
2064 SWIG_RegisterMapping("_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow);
2065 SWIG_RegisterMapping("_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow);
2066 SWIG_RegisterMapping("_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow);
2067 SWIG_RegisterMapping("_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow);
2068 SWIG_RegisterMapping("_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow);
2069 SWIG_RegisterMapping("_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow);
2070 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
2071 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);
2072 }