2 * FILE : src/gtk/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcmndlgsc
56 #define SWIG_name "cmndlgsc"
59 #include <wx/colordlg.h>
60 #include <wx/dirdlg.h>
61 #include <wx/fontdlg.h>
62 #include <wx/progdlg.h>
65 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyTuple_Check(target
)) {
77 target
= PyTuple_New(1);
78 PyTuple_SetItem(target
, 0, o2
);
81 PyTuple_SetItem(o3
, 0, o
);
84 target
= PySequence_Concat(o2
, o3
);
91 #if PYTHON_API_VERSION >= 1009
92 static char* wxStringErrorMsg
= "String or Unicode type required";
94 static char* wxStringErrorMsg
= "string type is required for parameter";
99 static void *SwigwxColourDataTowxObject(void *ptr
) {
102 src
= (wxColourData
*) ptr
;
103 dest
= (wxObject
*) src
;
104 return (void *) dest
;
107 #define new_wxColourData() (new wxColourData())
108 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
109 PyObject
* _resultobj
;
110 wxColourData
* _result
;
111 char *_kwnames
[] = { NULL
};
115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
118 wxPy_BEGIN_ALLOW_THREADS
;
119 _result
= (wxColourData
*)new_wxColourData();
121 wxPy_END_ALLOW_THREADS
;
122 if (PyErr_Occurred()) return NULL
;
124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
125 _resultobj
= Py_BuildValue("s",_ptemp
);
128 _resultobj
= Py_None
;
133 #define delete_wxColourData(_swigobj) (delete _swigobj)
134 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
135 PyObject
* _resultobj
;
136 wxColourData
* _arg0
;
137 PyObject
* _argo0
= 0;
138 char *_kwnames
[] = { "self", NULL
};
141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
151 wxPy_BEGIN_ALLOW_THREADS
;
152 delete_wxColourData(_arg0
);
154 wxPy_END_ALLOW_THREADS
;
155 if (PyErr_Occurred()) return NULL
;
156 } Py_INCREF(Py_None
);
157 _resultobj
= Py_None
;
161 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
162 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
163 PyObject
* _resultobj
;
165 wxColourData
* _arg0
;
166 PyObject
* _argo0
= 0;
167 char *_kwnames
[] = { "self", NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
180 wxPy_BEGIN_ALLOW_THREADS
;
181 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
183 wxPy_END_ALLOW_THREADS
;
184 if (PyErr_Occurred()) return NULL
;
185 } _resultobj
= Py_BuildValue("i",_result
);
189 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
190 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
191 PyObject
* _resultobj
;
193 wxColourData
* _arg0
;
194 PyObject
* _argo0
= 0;
195 char *_kwnames
[] = { "self", NULL
};
199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
209 wxPy_BEGIN_ALLOW_THREADS
;
210 _result
= new wxColour (wxColourData_GetColour(_arg0
));
212 wxPy_END_ALLOW_THREADS
;
213 if (PyErr_Occurred()) return NULL
;
214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
215 _resultobj
= Py_BuildValue("s",_ptemp
);
219 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
220 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
221 PyObject
* _resultobj
;
223 wxColourData
* _arg0
;
225 PyObject
* _argo0
= 0;
226 char *_kwnames
[] = { "self","i", NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
240 wxPy_BEGIN_ALLOW_THREADS
;
241 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
243 wxPy_END_ALLOW_THREADS
;
244 if (PyErr_Occurred()) return NULL
;
245 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
246 _resultobj
= Py_BuildValue("s",_ptemp
);
250 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
251 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
252 PyObject
* _resultobj
;
253 wxColourData
* _arg0
;
255 PyObject
* _argo0
= 0;
256 char *_kwnames
[] = { "self","flag", NULL
};
259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
269 wxPy_BEGIN_ALLOW_THREADS
;
270 wxColourData_SetChooseFull(_arg0
,_arg1
);
272 wxPy_END_ALLOW_THREADS
;
273 if (PyErr_Occurred()) return NULL
;
274 } Py_INCREF(Py_None
);
275 _resultobj
= Py_None
;
279 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
280 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
282 wxColourData
* _arg0
;
284 PyObject
* _argo0
= 0;
286 PyObject
* _obj1
= 0;
287 char *_kwnames
[] = { "self","colour", NULL
};
290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
301 if (! wxColour_helper(_obj1
, &_arg1
))
305 wxPy_BEGIN_ALLOW_THREADS
;
306 wxColourData_SetColour(_arg0
,*_arg1
);
308 wxPy_END_ALLOW_THREADS
;
309 if (PyErr_Occurred()) return NULL
;
310 } Py_INCREF(Py_None
);
311 _resultobj
= Py_None
;
315 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
316 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
318 wxColourData
* _arg0
;
321 PyObject
* _argo0
= 0;
323 PyObject
* _obj2
= 0;
324 char *_kwnames
[] = { "self","i","colour", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
338 if (! wxColour_helper(_obj2
, &_arg2
))
342 wxPy_BEGIN_ALLOW_THREADS
;
343 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
345 wxPy_END_ALLOW_THREADS
;
346 if (PyErr_Occurred()) return NULL
;
347 } Py_INCREF(Py_None
);
348 _resultobj
= Py_None
;
352 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
355 src
= (wxColourDialog
*) ptr
;
356 dest
= (wxDialog
*) src
;
357 return (void *) dest
;
360 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) {
362 wxTopLevelWindow
*dest
;
363 src
= (wxColourDialog
*) ptr
;
364 dest
= (wxTopLevelWindow
*) src
;
365 return (void *) dest
;
368 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
371 src
= (wxColourDialog
*) ptr
;
372 dest
= (wxWindow
*) src
;
373 return (void *) dest
;
376 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
379 src
= (wxColourDialog
*) ptr
;
380 dest
= (wxEvtHandler
*) src
;
381 return (void *) dest
;
384 static void *SwigwxColourDialogTowxObject(void *ptr
) {
387 src
= (wxColourDialog
*) ptr
;
388 dest
= (wxObject
*) src
;
389 return (void *) dest
;
392 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
393 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
394 PyObject
* _resultobj
;
395 wxColourDialog
* _result
;
397 wxColourData
* _arg1
= (wxColourData
*) NULL
;
398 PyObject
* _argo0
= 0;
399 PyObject
* _argo1
= 0;
400 char *_kwnames
[] = { "parent","data", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
421 wxPy_BEGIN_ALLOW_THREADS
;
422 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
424 wxPy_END_ALLOW_THREADS
;
425 if (PyErr_Occurred()) return NULL
;
427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
428 _resultobj
= Py_BuildValue("s",_ptemp
);
431 _resultobj
= Py_None
;
436 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
437 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
438 PyObject
* _resultobj
;
439 wxColourData
* _result
;
440 wxColourDialog
* _arg0
;
441 PyObject
* _argo0
= 0;
442 char *_kwnames
[] = { "self", NULL
};
446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
456 wxPy_BEGIN_ALLOW_THREADS
;
457 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
458 _result
= (wxColourData
*) &_result_ref
;
460 wxPy_END_ALLOW_THREADS
;
461 if (PyErr_Occurred()) return NULL
;
463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
464 _resultobj
= Py_BuildValue("s",_ptemp
);
467 _resultobj
= Py_None
;
472 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
473 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
476 wxColourDialog
* _arg0
;
477 PyObject
* _argo0
= 0;
478 char *_kwnames
[] = { "self", NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
491 wxPy_BEGIN_ALLOW_THREADS
;
492 _result
= (int )wxColourDialog_ShowModal(_arg0
);
494 wxPy_END_ALLOW_THREADS
;
495 if (PyErr_Occurred()) return NULL
;
496 } _resultobj
= Py_BuildValue("i",_result
);
500 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
503 src
= (wxDirDialog
*) ptr
;
504 dest
= (wxDialog
*) src
;
505 return (void *) dest
;
508 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) {
510 wxTopLevelWindow
*dest
;
511 src
= (wxDirDialog
*) ptr
;
512 dest
= (wxTopLevelWindow
*) src
;
513 return (void *) dest
;
516 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
519 src
= (wxDirDialog
*) ptr
;
520 dest
= (wxWindow
*) src
;
521 return (void *) dest
;
524 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
527 src
= (wxDirDialog
*) ptr
;
528 dest
= (wxEvtHandler
*) src
;
529 return (void *) dest
;
532 static void *SwigwxDirDialogTowxObject(void *ptr
) {
535 src
= (wxDirDialog
*) ptr
;
536 dest
= (wxObject
*) src
;
537 return (void *) dest
;
540 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
541 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
543 wxDirDialog
* _result
;
545 char * _arg1
= (char *) "Choose a directory";
546 char * _arg2
= (char *) "";
547 long _arg3
= (long ) 0;
548 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
549 PyObject
* _argo0
= 0;
551 PyObject
* _obj4
= 0;
552 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
568 if (! wxPoint_helper(_obj4
, &_arg4
))
572 wxPy_BEGIN_ALLOW_THREADS
;
573 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
575 wxPy_END_ALLOW_THREADS
;
576 if (PyErr_Occurred()) return NULL
;
578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
579 _resultobj
= Py_BuildValue("s",_ptemp
);
582 _resultobj
= Py_None
;
587 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
588 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
592 PyObject
* _argo0
= 0;
593 char *_kwnames
[] = { "self", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
606 wxPy_BEGIN_ALLOW_THREADS
;
607 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
609 wxPy_END_ALLOW_THREADS
;
610 if (PyErr_Occurred()) return NULL
;
612 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
620 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
621 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
625 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
639 wxPy_BEGIN_ALLOW_THREADS
;
640 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
642 wxPy_END_ALLOW_THREADS
;
643 if (PyErr_Occurred()) return NULL
;
645 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
653 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
654 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
658 PyObject
* _argo0
= 0;
659 char *_kwnames
[] = { "self", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
672 wxPy_BEGIN_ALLOW_THREADS
;
673 _result
= (long )wxDirDialog_GetStyle(_arg0
);
675 wxPy_END_ALLOW_THREADS
;
676 if (PyErr_Occurred()) return NULL
;
677 } _resultobj
= Py_BuildValue("l",_result
);
681 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
682 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
683 PyObject
* _resultobj
;
686 PyObject
* _argo0
= 0;
687 PyObject
* _obj1
= 0;
688 char *_kwnames
[] = { "self","message", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
701 #if PYTHON_API_VERSION >= 1009
702 char* tmpPtr
; int tmpSize
;
703 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
707 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
709 _arg1
= new wxString(tmpPtr
, tmpSize
);
711 if (!PyString_Check(_obj1
)) {
712 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
715 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
719 wxPy_BEGIN_ALLOW_THREADS
;
720 wxDirDialog_SetMessage(_arg0
,*_arg1
);
722 wxPy_END_ALLOW_THREADS
;
723 if (PyErr_Occurred()) return NULL
;
724 } Py_INCREF(Py_None
);
725 _resultobj
= Py_None
;
733 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
734 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
738 PyObject
* _argo0
= 0;
739 PyObject
* _obj1
= 0;
740 char *_kwnames
[] = { "self","path", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
753 #if PYTHON_API_VERSION >= 1009
754 char* tmpPtr
; int tmpSize
;
755 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
759 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
761 _arg1
= new wxString(tmpPtr
, tmpSize
);
763 if (!PyString_Check(_obj1
)) {
764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
767 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
771 wxPy_BEGIN_ALLOW_THREADS
;
772 wxDirDialog_SetPath(_arg0
,*_arg1
);
774 wxPy_END_ALLOW_THREADS
;
775 if (PyErr_Occurred()) return NULL
;
776 } Py_INCREF(Py_None
);
777 _resultobj
= Py_None
;
785 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
786 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
790 PyObject
* _argo0
= 0;
791 char *_kwnames
[] = { "self", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
804 wxPy_BEGIN_ALLOW_THREADS
;
805 _result
= (int )wxDirDialog_ShowModal(_arg0
);
807 wxPy_END_ALLOW_THREADS
;
808 if (PyErr_Occurred()) return NULL
;
809 } _resultobj
= Py_BuildValue("i",_result
);
813 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
816 src
= (wxFileDialog
*) ptr
;
817 dest
= (wxDialog
*) src
;
818 return (void *) dest
;
821 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) {
823 wxTopLevelWindow
*dest
;
824 src
= (wxFileDialog
*) ptr
;
825 dest
= (wxTopLevelWindow
*) src
;
826 return (void *) dest
;
829 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
832 src
= (wxFileDialog
*) ptr
;
833 dest
= (wxWindow
*) src
;
834 return (void *) dest
;
837 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
840 src
= (wxFileDialog
*) ptr
;
841 dest
= (wxEvtHandler
*) src
;
842 return (void *) dest
;
845 static void *SwigwxFileDialogTowxObject(void *ptr
) {
848 src
= (wxFileDialog
*) ptr
;
849 dest
= (wxObject
*) src
;
850 return (void *) dest
;
853 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
854 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 PyObject
* _resultobj
;
856 wxFileDialog
* _result
;
858 char * _arg1
= (char *) "Choose a file";
859 char * _arg2
= (char *) "";
860 char * _arg3
= (char *) "";
861 char * _arg4
= (char *) "*.*";
862 long _arg5
= (long ) 0;
863 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
864 PyObject
* _argo0
= 0;
866 PyObject
* _obj6
= 0;
867 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
883 if (! wxPoint_helper(_obj6
, &_arg6
))
887 wxPy_BEGIN_ALLOW_THREADS
;
888 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
890 wxPy_END_ALLOW_THREADS
;
891 if (PyErr_Occurred()) return NULL
;
893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
894 _resultobj
= Py_BuildValue("s",_ptemp
);
897 _resultobj
= Py_None
;
902 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
903 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
906 wxFileDialog
* _arg0
;
907 PyObject
* _argo0
= 0;
908 char *_kwnames
[] = { "self", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
921 wxPy_BEGIN_ALLOW_THREADS
;
922 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
924 wxPy_END_ALLOW_THREADS
;
925 if (PyErr_Occurred()) return NULL
;
927 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
935 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
936 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
939 wxFileDialog
* _arg0
;
940 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
954 wxPy_BEGIN_ALLOW_THREADS
;
955 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
957 wxPy_END_ALLOW_THREADS
;
958 if (PyErr_Occurred()) return NULL
;
960 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
968 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
969 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
972 wxFileDialog
* _arg0
;
973 PyObject
* _argo0
= 0;
974 char *_kwnames
[] = { "self", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
987 wxPy_BEGIN_ALLOW_THREADS
;
988 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
990 wxPy_END_ALLOW_THREADS
;
991 if (PyErr_Occurred()) return NULL
;
992 } _resultobj
= Py_BuildValue("i",_result
);
996 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
997 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
998 PyObject
* _resultobj
;
1000 wxFileDialog
* _arg0
;
1001 PyObject
* _argo0
= 0;
1002 char *_kwnames
[] = { "self", NULL
};
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1015 wxPy_BEGIN_ALLOW_THREADS
;
1016 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1018 wxPy_END_ALLOW_THREADS
;
1019 if (PyErr_Occurred()) return NULL
;
1021 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1029 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1030 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 wxFileDialog
* _arg0
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1051 wxPy_END_ALLOW_THREADS
;
1052 if (PyErr_Occurred()) return NULL
;
1054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1062 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1063 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1066 wxFileDialog
* _arg0
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "self", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1084 wxPy_END_ALLOW_THREADS
;
1085 if (PyErr_Occurred()) return NULL
;
1086 } _resultobj
= Py_BuildValue("l",_result
);
1090 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1091 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1094 wxFileDialog
* _arg0
;
1095 PyObject
* _argo0
= 0;
1096 char *_kwnames
[] = { "self", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1109 wxPy_BEGIN_ALLOW_THREADS
;
1110 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1112 wxPy_END_ALLOW_THREADS
;
1113 if (PyErr_Occurred()) return NULL
;
1115 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1123 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1124 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1126 wxFileDialog
* _arg0
;
1128 PyObject
* _argo0
= 0;
1129 PyObject
* _obj1
= 0;
1130 char *_kwnames
[] = { "self","directory", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1143 #if PYTHON_API_VERSION >= 1009
1144 char* tmpPtr
; int tmpSize
;
1145 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1149 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1151 _arg1
= new wxString(tmpPtr
, tmpSize
);
1153 if (!PyString_Check(_obj1
)) {
1154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1157 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1161 wxPy_BEGIN_ALLOW_THREADS
;
1162 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1164 wxPy_END_ALLOW_THREADS
;
1165 if (PyErr_Occurred()) return NULL
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1175 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1176 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1178 wxFileDialog
* _arg0
;
1180 PyObject
* _argo0
= 0;
1181 PyObject
* _obj1
= 0;
1182 char *_kwnames
[] = { "self","setfilename", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1195 #if PYTHON_API_VERSION >= 1009
1196 char* tmpPtr
; int tmpSize
;
1197 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1201 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1203 _arg1
= new wxString(tmpPtr
, tmpSize
);
1205 if (!PyString_Check(_obj1
)) {
1206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1209 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1216 wxPy_END_ALLOW_THREADS
;
1217 if (PyErr_Occurred()) return NULL
;
1218 } Py_INCREF(Py_None
);
1219 _resultobj
= Py_None
;
1227 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1228 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1230 wxFileDialog
* _arg0
;
1232 PyObject
* _argo0
= 0;
1233 char *_kwnames
[] = { "self","filterIndex", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1246 wxPy_BEGIN_ALLOW_THREADS
;
1247 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1249 wxPy_END_ALLOW_THREADS
;
1250 if (PyErr_Occurred()) return NULL
;
1251 } Py_INCREF(Py_None
);
1252 _resultobj
= Py_None
;
1256 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1257 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1259 wxFileDialog
* _arg0
;
1261 PyObject
* _argo0
= 0;
1262 PyObject
* _obj1
= 0;
1263 char *_kwnames
[] = { "self","message", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1276 #if PYTHON_API_VERSION >= 1009
1277 char* tmpPtr
; int tmpSize
;
1278 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1279 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1282 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1284 _arg1
= new wxString(tmpPtr
, tmpSize
);
1286 if (!PyString_Check(_obj1
)) {
1287 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1290 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1294 wxPy_BEGIN_ALLOW_THREADS
;
1295 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1297 wxPy_END_ALLOW_THREADS
;
1298 if (PyErr_Occurred()) return NULL
;
1299 } Py_INCREF(Py_None
);
1300 _resultobj
= Py_None
;
1308 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1309 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1311 wxFileDialog
* _arg0
;
1313 PyObject
* _argo0
= 0;
1314 PyObject
* _obj1
= 0;
1315 char *_kwnames
[] = { "self","path", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1328 #if PYTHON_API_VERSION >= 1009
1329 char* tmpPtr
; int tmpSize
;
1330 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1331 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1334 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1336 _arg1
= new wxString(tmpPtr
, tmpSize
);
1338 if (!PyString_Check(_obj1
)) {
1339 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1342 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1346 wxPy_BEGIN_ALLOW_THREADS
;
1347 wxFileDialog_SetPath(_arg0
,*_arg1
);
1349 wxPy_END_ALLOW_THREADS
;
1350 if (PyErr_Occurred()) return NULL
;
1351 } Py_INCREF(Py_None
);
1352 _resultobj
= Py_None
;
1360 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1361 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1363 wxFileDialog
* _arg0
;
1365 PyObject
* _argo0
= 0;
1366 char *_kwnames
[] = { "self","style", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 wxFileDialog_SetStyle(_arg0
,_arg1
);
1382 wxPy_END_ALLOW_THREADS
;
1383 if (PyErr_Occurred()) return NULL
;
1384 } Py_INCREF(Py_None
);
1385 _resultobj
= Py_None
;
1389 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1390 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1392 wxFileDialog
* _arg0
;
1394 PyObject
* _argo0
= 0;
1395 PyObject
* _obj1
= 0;
1396 char *_kwnames
[] = { "self","wildCard", NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1409 #if PYTHON_API_VERSION >= 1009
1410 char* tmpPtr
; int tmpSize
;
1411 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1415 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1417 _arg1
= new wxString(tmpPtr
, tmpSize
);
1419 if (!PyString_Check(_obj1
)) {
1420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1423 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1430 wxPy_END_ALLOW_THREADS
;
1431 if (PyErr_Occurred()) return NULL
;
1432 } Py_INCREF(Py_None
);
1433 _resultobj
= Py_None
;
1441 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1442 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1445 wxFileDialog
* _arg0
;
1446 PyObject
* _argo0
= 0;
1447 char *_kwnames
[] = { "self", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1460 wxPy_BEGIN_ALLOW_THREADS
;
1461 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1463 wxPy_END_ALLOW_THREADS
;
1464 if (PyErr_Occurred()) return NULL
;
1465 } _resultobj
= Py_BuildValue("i",_result
);
1469 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1471 self
->GetFilenames(arr
);
1472 size_t count
= arr
.GetCount();
1473 PyObject
* listObj
= PyList_New(0);
1474 for(size_t x
=0; x
<count
; x
++) {
1475 PyObject
* name
= PyString_FromString(arr
[x
]);
1476 PyList_Append(listObj
, name
);
1480 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1483 wxFileDialog
* _arg0
;
1484 PyObject
* _argo0
= 0;
1485 char *_kwnames
[] = { "self", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1501 wxPy_END_ALLOW_THREADS
;
1502 if (PyErr_Occurred()) return NULL
;
1504 _resultobj
= _result
;
1509 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1511 self
->GetPaths(arr
);
1512 size_t count
= arr
.GetCount();
1513 PyObject
* listObj
= PyList_New(0);
1514 for(size_t x
=0; x
<count
; x
++) {
1515 PyObject
* name
= PyString_FromString(arr
[x
]);
1516 PyList_Append(listObj
, name
);
1520 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1523 wxFileDialog
* _arg0
;
1524 PyObject
* _argo0
= 0;
1525 char *_kwnames
[] = { "self", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1541 wxPy_END_ALLOW_THREADS
;
1542 if (PyErr_Occurred()) return NULL
;
1544 _resultobj
= _result
;
1549 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1550 wxSingleChoiceDialog
*src
;
1552 src
= (wxSingleChoiceDialog
*) ptr
;
1553 dest
= (wxDialog
*) src
;
1554 return (void *) dest
;
1557 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) {
1558 wxSingleChoiceDialog
*src
;
1559 wxTopLevelWindow
*dest
;
1560 src
= (wxSingleChoiceDialog
*) ptr
;
1561 dest
= (wxTopLevelWindow
*) src
;
1562 return (void *) dest
;
1565 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1566 wxSingleChoiceDialog
*src
;
1568 src
= (wxSingleChoiceDialog
*) ptr
;
1569 dest
= (wxWindow
*) src
;
1570 return (void *) dest
;
1573 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1574 wxSingleChoiceDialog
*src
;
1576 src
= (wxSingleChoiceDialog
*) ptr
;
1577 dest
= (wxEvtHandler
*) src
;
1578 return (void *) dest
;
1581 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1582 wxSingleChoiceDialog
*src
;
1584 src
= (wxSingleChoiceDialog
*) ptr
;
1585 dest
= (wxObject
*) src
;
1586 return (void *) dest
;
1589 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1590 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1591 LCOUNT
, choices
, NULL
, style
, *pos
);
1594 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1596 wxSingleChoiceDialog
* _result
;
1602 long _arg5
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1603 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1604 PyObject
* _argo0
= 0;
1605 PyObject
* _obj1
= 0;
1606 PyObject
* _obj2
= 0;
1607 PyObject
* _obj4
= 0;
1609 PyObject
* _obj6
= 0;
1610 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1624 #if PYTHON_API_VERSION >= 1009
1625 char* tmpPtr
; int tmpSize
;
1626 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1630 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1632 _arg1
= new wxString(tmpPtr
, tmpSize
);
1634 if (!PyString_Check(_obj1
)) {
1635 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1638 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1642 #if PYTHON_API_VERSION >= 1009
1643 char* tmpPtr
; int tmpSize
;
1644 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1645 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1648 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1650 _arg2
= new wxString(tmpPtr
, tmpSize
);
1652 if (!PyString_Check(_obj2
)) {
1653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1656 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1661 _arg4
= wxString_LIST_helper(_obj4
);
1662 if (_arg4
== NULL
) {
1669 if (! wxPoint_helper(_obj6
, &_arg6
))
1674 _arg3
= PyList_Size(_obj4
);
1681 wxPy_BEGIN_ALLOW_THREADS
;
1682 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1684 wxPy_END_ALLOW_THREADS
;
1685 if (PyErr_Occurred()) return NULL
;
1687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1688 _resultobj
= Py_BuildValue("s",_ptemp
);
1691 _resultobj
= Py_None
;
1707 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1708 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1711 wxSingleChoiceDialog
* _arg0
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1726 wxPy_BEGIN_ALLOW_THREADS
;
1727 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1729 wxPy_END_ALLOW_THREADS
;
1730 if (PyErr_Occurred()) return NULL
;
1731 } _resultobj
= Py_BuildValue("i",_result
);
1735 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1736 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1739 wxSingleChoiceDialog
* _arg0
;
1740 PyObject
* _argo0
= 0;
1741 char *_kwnames
[] = { "self", NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1757 wxPy_END_ALLOW_THREADS
;
1758 if (PyErr_Occurred()) return NULL
;
1760 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1768 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1769 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1771 wxSingleChoiceDialog
* _arg0
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self","sel", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1790 wxPy_END_ALLOW_THREADS
;
1791 if (PyErr_Occurred()) return NULL
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1797 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1798 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1801 wxSingleChoiceDialog
* _arg0
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1819 wxPy_END_ALLOW_THREADS
;
1820 if (PyErr_Occurred()) return NULL
;
1821 } _resultobj
= Py_BuildValue("i",_result
);
1825 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1826 wxTextEntryDialog
*src
;
1828 src
= (wxTextEntryDialog
*) ptr
;
1829 dest
= (wxDialog
*) src
;
1830 return (void *) dest
;
1833 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) {
1834 wxTextEntryDialog
*src
;
1835 wxTopLevelWindow
*dest
;
1836 src
= (wxTextEntryDialog
*) ptr
;
1837 dest
= (wxTopLevelWindow
*) src
;
1838 return (void *) dest
;
1841 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1842 wxTextEntryDialog
*src
;
1844 src
= (wxTextEntryDialog
*) ptr
;
1845 dest
= (wxWindow
*) src
;
1846 return (void *) dest
;
1849 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1850 wxTextEntryDialog
*src
;
1852 src
= (wxTextEntryDialog
*) ptr
;
1853 dest
= (wxEvtHandler
*) src
;
1854 return (void *) dest
;
1857 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
1858 wxTextEntryDialog
*src
;
1860 src
= (wxTextEntryDialog
*) ptr
;
1861 dest
= (wxObject
*) src
;
1862 return (void *) dest
;
1865 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1866 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1868 wxTextEntryDialog
* _result
;
1871 char * _arg2
= (char *) "Input Text";
1872 char * _arg3
= (char *) "";
1873 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1874 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
1875 PyObject
* _argo0
= 0;
1877 PyObject
* _obj5
= 0;
1878 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1894 if (! wxPoint_helper(_obj5
, &_arg5
))
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
1901 wxPy_END_ALLOW_THREADS
;
1902 if (PyErr_Occurred()) return NULL
;
1904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
1905 _resultobj
= Py_BuildValue("s",_ptemp
);
1908 _resultobj
= Py_None
;
1913 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1914 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1917 wxTextEntryDialog
* _arg0
;
1918 PyObject
* _argo0
= 0;
1919 char *_kwnames
[] = { "self", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
1925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
1935 wxPy_END_ALLOW_THREADS
;
1936 if (PyErr_Occurred()) return NULL
;
1938 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1946 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1947 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1949 wxTextEntryDialog
* _arg0
;
1951 PyObject
* _argo0
= 0;
1952 PyObject
* _obj1
= 0;
1953 char *_kwnames
[] = { "self","value", NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
1959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1966 #if PYTHON_API_VERSION >= 1009
1967 char* tmpPtr
; int tmpSize
;
1968 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1969 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1972 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1974 _arg1
= new wxString(tmpPtr
, tmpSize
);
1976 if (!PyString_Check(_obj1
)) {
1977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1980 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1984 wxPy_BEGIN_ALLOW_THREADS
;
1985 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
1987 wxPy_END_ALLOW_THREADS
;
1988 if (PyErr_Occurred()) return NULL
;
1989 } Py_INCREF(Py_None
);
1990 _resultobj
= Py_None
;
1998 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1999 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
* _resultobj
;
2002 wxTextEntryDialog
* _arg0
;
2003 PyObject
* _argo0
= 0;
2004 char *_kwnames
[] = { "self", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
2010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2020 wxPy_END_ALLOW_THREADS
;
2021 if (PyErr_Occurred()) return NULL
;
2022 } _resultobj
= Py_BuildValue("i",_result
);
2026 static void *SwigwxFontDataTowxObject(void *ptr
) {
2029 src
= (wxFontData
*) ptr
;
2030 dest
= (wxObject
*) src
;
2031 return (void *) dest
;
2034 #define new_wxFontData() (new wxFontData())
2035 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
* _resultobj
;
2037 wxFontData
* _result
;
2038 char *_kwnames
[] = { NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= (wxFontData
*)new_wxFontData();
2048 wxPy_END_ALLOW_THREADS
;
2049 if (PyErr_Occurred()) return NULL
;
2051 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2052 _resultobj
= Py_BuildValue("s",_ptemp
);
2055 _resultobj
= Py_None
;
2060 #define delete_wxFontData(_swigobj) (delete _swigobj)
2061 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2064 PyObject
* _argo0
= 0;
2065 char *_kwnames
[] = { "self", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 delete_wxFontData(_arg0
);
2081 wxPy_END_ALLOW_THREADS
;
2082 if (PyErr_Occurred()) return NULL
;
2083 } Py_INCREF(Py_None
);
2084 _resultobj
= Py_None
;
2088 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2089 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
* _resultobj
;
2093 PyObject
* _argo0
= 0;
2095 char *_kwnames
[] = { "self","enable", NULL
};
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2107 _arg1
= (bool ) tempbool1
;
2109 wxPy_BEGIN_ALLOW_THREADS
;
2110 wxFontData_EnableEffects(_arg0
,_arg1
);
2112 wxPy_END_ALLOW_THREADS
;
2113 if (PyErr_Occurred()) return NULL
;
2114 } Py_INCREF(Py_None
);
2115 _resultobj
= Py_None
;
2119 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2120 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2124 PyObject
* _argo0
= 0;
2125 char *_kwnames
[] = { "self", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2141 wxPy_END_ALLOW_THREADS
;
2142 if (PyErr_Occurred()) return NULL
;
2143 } _resultobj
= Py_BuildValue("i",_result
);
2147 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2148 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2152 PyObject
* _argo0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 _result
= new wxColour (wxFontData_GetColour(_arg0
));
2170 wxPy_END_ALLOW_THREADS
;
2171 if (PyErr_Occurred()) return NULL
;
2172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2173 _resultobj
= Py_BuildValue("s",_ptemp
);
2177 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2178 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2182 PyObject
* _argo0
= 0;
2183 char *_kwnames
[] = { "self", NULL
};
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2197 wxPy_BEGIN_ALLOW_THREADS
;
2198 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2200 wxPy_END_ALLOW_THREADS
;
2201 if (PyErr_Occurred()) return NULL
;
2202 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2203 _resultobj
= Py_BuildValue("s",_ptemp
);
2207 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2208 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2212 PyObject
* _argo0
= 0;
2213 char *_kwnames
[] = { "self", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2226 wxPy_BEGIN_ALLOW_THREADS
;
2227 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2229 wxPy_END_ALLOW_THREADS
;
2230 if (PyErr_Occurred()) return NULL
;
2231 } _resultobj
= Py_BuildValue("i",_result
);
2235 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2236 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2240 PyObject
* _argo0
= 0;
2241 char *_kwnames
[] = { "self", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2255 wxPy_BEGIN_ALLOW_THREADS
;
2256 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2258 wxPy_END_ALLOW_THREADS
;
2259 if (PyErr_Occurred()) return NULL
;
2260 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2261 _resultobj
= Py_BuildValue("s",_ptemp
);
2265 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2266 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2270 PyObject
* _argo0
= 0;
2271 char *_kwnames
[] = { "self", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2284 wxPy_BEGIN_ALLOW_THREADS
;
2285 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2287 wxPy_END_ALLOW_THREADS
;
2288 if (PyErr_Occurred()) return NULL
;
2289 } _resultobj
= Py_BuildValue("i",_result
);
2293 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2294 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2298 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2312 _arg1
= (bool ) tempbool1
;
2314 wxPy_BEGIN_ALLOW_THREADS
;
2315 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2317 wxPy_END_ALLOW_THREADS
;
2318 if (PyErr_Occurred()) return NULL
;
2319 } Py_INCREF(Py_None
);
2320 _resultobj
= Py_None
;
2324 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2325 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
* _resultobj
;
2329 PyObject
* _argo0
= 0;
2330 PyObject
* _argo1
= 0;
2331 char *_kwnames
[] = { "self","font", NULL
};
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2351 wxPy_BEGIN_ALLOW_THREADS
;
2352 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2354 wxPy_END_ALLOW_THREADS
;
2355 if (PyErr_Occurred()) return NULL
;
2356 } Py_INCREF(Py_None
);
2357 _resultobj
= Py_None
;
2361 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2362 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2366 PyObject
* _argo0
= 0;
2368 PyObject
* _obj1
= 0;
2369 char *_kwnames
[] = { "self","colour", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2383 if (! wxColour_helper(_obj1
, &_arg1
))
2387 wxPy_BEGIN_ALLOW_THREADS
;
2388 wxFontData_SetColour(_arg0
,*_arg1
);
2390 wxPy_END_ALLOW_THREADS
;
2391 if (PyErr_Occurred()) return NULL
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2397 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2398 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2402 PyObject
* _argo0
= 0;
2403 PyObject
* _argo1
= 0;
2404 char *_kwnames
[] = { "self","font", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2427 wxPy_END_ALLOW_THREADS
;
2428 if (PyErr_Occurred()) return NULL
;
2429 } Py_INCREF(Py_None
);
2430 _resultobj
= Py_None
;
2434 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2435 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2440 PyObject
* _argo0
= 0;
2441 char *_kwnames
[] = { "self","min","max", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2457 wxPy_END_ALLOW_THREADS
;
2458 if (PyErr_Occurred()) return NULL
;
2459 } Py_INCREF(Py_None
);
2460 _resultobj
= Py_None
;
2464 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2465 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2469 PyObject
* _argo0
= 0;
2471 char *_kwnames
[] = { "self","showHelp", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2483 _arg1
= (bool ) tempbool1
;
2485 wxPy_BEGIN_ALLOW_THREADS
;
2486 wxFontData_SetShowHelp(_arg0
,_arg1
);
2488 wxPy_END_ALLOW_THREADS
;
2489 if (PyErr_Occurred()) return NULL
;
2490 } Py_INCREF(Py_None
);
2491 _resultobj
= Py_None
;
2495 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2498 src
= (wxFontDialog
*) ptr
;
2499 dest
= (wxDialog
*) src
;
2500 return (void *) dest
;
2503 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) {
2505 wxTopLevelWindow
*dest
;
2506 src
= (wxFontDialog
*) ptr
;
2507 dest
= (wxTopLevelWindow
*) src
;
2508 return (void *) dest
;
2511 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2514 src
= (wxFontDialog
*) ptr
;
2515 dest
= (wxWindow
*) src
;
2516 return (void *) dest
;
2519 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2522 src
= (wxFontDialog
*) ptr
;
2523 dest
= (wxEvtHandler
*) src
;
2524 return (void *) dest
;
2527 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2530 src
= (wxFontDialog
*) ptr
;
2531 dest
= (wxObject
*) src
;
2532 return (void *) dest
;
2535 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2536 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2538 wxFontDialog
* _result
;
2541 PyObject
* _argo0
= 0;
2542 PyObject
* _argo1
= 0;
2543 char *_kwnames
[] = { "parent","data", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2567 wxPy_END_ALLOW_THREADS
;
2568 if (PyErr_Occurred()) return NULL
;
2570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2571 _resultobj
= Py_BuildValue("s",_ptemp
);
2574 _resultobj
= Py_None
;
2579 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2580 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
* _resultobj
;
2582 wxFontData
* _result
;
2583 wxFontDialog
* _arg0
;
2584 PyObject
* _argo0
= 0;
2585 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2599 wxPy_BEGIN_ALLOW_THREADS
;
2600 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2601 _result
= (wxFontData
*) &_result_ref
;
2603 wxPy_END_ALLOW_THREADS
;
2604 if (PyErr_Occurred()) return NULL
;
2606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2607 _resultobj
= Py_BuildValue("s",_ptemp
);
2610 _resultobj
= Py_None
;
2615 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2616 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
* _resultobj
;
2619 wxFontDialog
* _arg0
;
2620 PyObject
* _argo0
= 0;
2621 char *_kwnames
[] = { "self", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2634 wxPy_BEGIN_ALLOW_THREADS
;
2635 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2637 wxPy_END_ALLOW_THREADS
;
2638 if (PyErr_Occurred()) return NULL
;
2639 } _resultobj
= Py_BuildValue("i",_result
);
2643 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2644 wxMessageDialog
*src
;
2646 src
= (wxMessageDialog
*) ptr
;
2647 dest
= (wxDialog
*) src
;
2648 return (void *) dest
;
2651 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) {
2652 wxMessageDialog
*src
;
2653 wxTopLevelWindow
*dest
;
2654 src
= (wxMessageDialog
*) ptr
;
2655 dest
= (wxTopLevelWindow
*) src
;
2656 return (void *) dest
;
2659 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2660 wxMessageDialog
*src
;
2662 src
= (wxMessageDialog
*) ptr
;
2663 dest
= (wxWindow
*) src
;
2664 return (void *) dest
;
2667 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2668 wxMessageDialog
*src
;
2670 src
= (wxMessageDialog
*) ptr
;
2671 dest
= (wxEvtHandler
*) src
;
2672 return (void *) dest
;
2675 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2676 wxMessageDialog
*src
;
2678 src
= (wxMessageDialog
*) ptr
;
2679 dest
= (wxObject
*) src
;
2680 return (void *) dest
;
2683 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2684 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2686 wxMessageDialog
* _result
;
2689 char * _arg2
= (char *) "Message box";
2690 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2691 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2692 PyObject
* _argo0
= 0;
2694 PyObject
* _obj4
= 0;
2695 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2711 if (! wxPoint_helper(_obj4
, &_arg4
))
2715 wxPy_BEGIN_ALLOW_THREADS
;
2716 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2718 wxPy_END_ALLOW_THREADS
;
2719 if (PyErr_Occurred()) return NULL
;
2721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2722 _resultobj
= Py_BuildValue("s",_ptemp
);
2725 _resultobj
= Py_None
;
2730 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2731 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2734 wxMessageDialog
* _arg0
;
2735 PyObject
* _argo0
= 0;
2736 char *_kwnames
[] = { "self", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2749 wxPy_BEGIN_ALLOW_THREADS
;
2750 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2752 wxPy_END_ALLOW_THREADS
;
2753 if (PyErr_Occurred()) return NULL
;
2754 } _resultobj
= Py_BuildValue("i",_result
);
2758 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2759 wxProgressDialog
*src
;
2761 src
= (wxProgressDialog
*) ptr
;
2762 dest
= (wxFrame
*) src
;
2763 return (void *) dest
;
2766 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) {
2767 wxProgressDialog
*src
;
2768 wxTopLevelWindow
*dest
;
2769 src
= (wxProgressDialog
*) ptr
;
2770 dest
= (wxTopLevelWindow
*) src
;
2771 return (void *) dest
;
2774 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2775 wxProgressDialog
*src
;
2777 src
= (wxProgressDialog
*) ptr
;
2778 dest
= (wxWindow
*) src
;
2779 return (void *) dest
;
2782 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
2783 wxProgressDialog
*src
;
2785 src
= (wxProgressDialog
*) ptr
;
2786 dest
= (wxEvtHandler
*) src
;
2787 return (void *) dest
;
2790 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
2791 wxProgressDialog
*src
;
2793 src
= (wxProgressDialog
*) ptr
;
2794 dest
= (wxObject
*) src
;
2795 return (void *) dest
;
2798 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2799 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2801 wxProgressDialog
* _result
;
2804 int _arg2
= (int ) 100;
2805 wxWindow
* _arg3
= (wxWindow
*) NULL
;
2806 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
2807 PyObject
* _obj0
= 0;
2808 PyObject
* _obj1
= 0;
2809 PyObject
* _argo3
= 0;
2810 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
2817 #if PYTHON_API_VERSION >= 1009
2818 char* tmpPtr
; int tmpSize
;
2819 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2820 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2823 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2825 _arg0
= new wxString(tmpPtr
, tmpSize
);
2827 if (!PyString_Check(_obj0
)) {
2828 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2831 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2835 #if PYTHON_API_VERSION >= 1009
2836 char* tmpPtr
; int tmpSize
;
2837 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2841 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2843 _arg1
= new wxString(tmpPtr
, tmpSize
);
2845 if (!PyString_Check(_obj1
)) {
2846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2849 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2853 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2863 wxPy_END_ALLOW_THREADS
;
2864 if (PyErr_Occurred()) return NULL
;
2866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
2867 _resultobj
= Py_BuildValue("s",_ptemp
);
2870 _resultobj
= Py_None
;
2883 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2884 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2887 wxProgressDialog
* _arg0
;
2888 int _arg1
= (int ) -1;
2889 char * _arg2
= (char *) NULL
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self","value","newmsg", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
2907 wxPy_END_ALLOW_THREADS
;
2908 if (PyErr_Occurred()) return NULL
;
2909 } _resultobj
= Py_BuildValue("i",_result
);
2913 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2914 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2916 wxProgressDialog
* _arg0
;
2917 PyObject
* _argo0
= 0;
2918 char *_kwnames
[] = { "self", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
2924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
2931 wxPy_BEGIN_ALLOW_THREADS
;
2932 wxProgressDialog_Resume(_arg0
);
2934 wxPy_END_ALLOW_THREADS
;
2935 if (PyErr_Occurred()) return NULL
;
2936 } Py_INCREF(Py_None
);
2937 _resultobj
= Py_None
;
2941 static PyMethodDef cmndlgscMethods
[] = {
2942 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
2943 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
2944 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
2945 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2946 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
2947 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2948 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
2949 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
2950 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2951 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
2952 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2953 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
2954 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2955 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2956 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2957 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2958 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2959 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2960 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
2961 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2962 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2963 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2964 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2965 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2966 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
2967 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
2968 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
2969 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2970 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2971 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
2972 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2973 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
2974 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
2975 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
2976 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2977 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2978 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2979 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2980 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2981 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2982 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2983 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2984 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2985 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2986 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2987 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2988 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2989 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2990 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2991 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
2992 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2993 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2994 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2995 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2996 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2997 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2998 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
2999 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3000 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
3001 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
3002 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3003 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3004 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3005 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3006 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3007 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3008 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3009 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3016 * This table is used by the pointer type-checker
3018 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3019 { "_signed_long","_long",0},
3020 { "_wxPrintQuality","_wxCoord",0},
3021 { "_wxPrintQuality","_int",0},
3022 { "_wxPrintQuality","_signed_int",0},
3023 { "_wxPrintQuality","_unsigned_int",0},
3024 { "_wxPrintQuality","_wxWindowID",0},
3025 { "_wxPrintQuality","_uint",0},
3026 { "_wxPrintQuality","_EBool",0},
3027 { "_wxPrintQuality","_size_t",0},
3028 { "_wxPrintQuality","_time_t",0},
3029 { "_class_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3030 { "_class_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3031 { "_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3032 { "_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3033 { "_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3034 { "_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3035 { "_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3036 { "_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3037 { "_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3038 { "_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3039 { "_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3040 { "_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3041 { "_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3042 { "_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3043 { "_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3044 { "_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3045 { "_byte","_unsigned_char",0},
3046 { "_long","_unsigned_long",0},
3047 { "_long","_signed_long",0},
3048 { "_class_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3049 { "_class_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3050 { "_class_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3051 { "_class_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3052 { "_class_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject
},
3053 { "_class_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
3054 { "_class_wxObject","_class_wxFontData",SwigwxFontDataTowxObject
},
3055 { "_class_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
3056 { "_class_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3057 { "_class_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3058 { "_class_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3059 { "_class_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3060 { "_class_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject
},
3061 { "_class_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
3062 { "_class_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject
},
3063 { "_class_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
3064 { "_class_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject
},
3065 { "_class_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
3066 { "_class_wxObject","_class_wxColourData",SwigwxColourDataTowxObject
},
3067 { "_class_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
3068 { "_size_t","_wxCoord",0},
3069 { "_size_t","_wxPrintQuality",0},
3070 { "_size_t","_time_t",0},
3071 { "_size_t","_unsigned_int",0},
3072 { "_size_t","_int",0},
3073 { "_size_t","_wxWindowID",0},
3074 { "_size_t","_uint",0},
3075 { "_wxTopLevelWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
3076 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
3077 { "_wxTopLevelWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
3078 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
3079 { "_wxTopLevelWindow","_class_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
3080 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
3081 { "_wxTopLevelWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
3082 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
3083 { "_wxTopLevelWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
3084 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
3085 { "_wxTopLevelWindow","_class_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
3086 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
3087 { "_wxTopLevelWindow","_class_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
3088 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
3089 { "_wxTopLevelWindow","_class_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
3090 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
3091 { "_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3092 { "_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3093 { "_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
3094 { "_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
3095 { "_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3096 { "_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3097 { "_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3098 { "_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3099 { "_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
3100 { "_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
3101 { "_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
3102 { "_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
3103 { "_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
3104 { "_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
3105 { "_uint","_wxCoord",0},
3106 { "_uint","_wxPrintQuality",0},
3107 { "_uint","_time_t",0},
3108 { "_uint","_size_t",0},
3109 { "_uint","_unsigned_int",0},
3110 { "_uint","_int",0},
3111 { "_uint","_wxWindowID",0},
3112 { "_wxChar","_char",0},
3113 { "_char","_wxChar",0},
3114 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3115 { "_EBool","_wxCoord",0},
3116 { "_EBool","_wxPrintQuality",0},
3117 { "_EBool","_signed_int",0},
3118 { "_EBool","_int",0},
3119 { "_EBool","_wxWindowID",0},
3120 { "_unsigned_long","_long",0},
3121 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3122 { "_signed_int","_wxCoord",0},
3123 { "_signed_int","_wxPrintQuality",0},
3124 { "_signed_int","_EBool",0},
3125 { "_signed_int","_wxWindowID",0},
3126 { "_signed_int","_int",0},
3127 { "_class_wxTopLevelWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
3128 { "_class_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
3129 { "_class_wxTopLevelWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
3130 { "_class_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
3131 { "_class_wxTopLevelWindow","_class_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
3132 { "_class_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
3133 { "_class_wxTopLevelWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
3134 { "_class_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
3135 { "_class_wxTopLevelWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
3136 { "_class_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
3137 { "_class_wxTopLevelWindow","_class_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
3138 { "_class_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
3139 { "_class_wxTopLevelWindow","_class_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
3140 { "_class_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
3141 { "_class_wxTopLevelWindow","_class_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
3142 { "_class_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
3143 { "_WXTYPE","_short",0},
3144 { "_WXTYPE","_signed_short",0},
3145 { "_WXTYPE","_unsigned_short",0},
3146 { "_unsigned_short","_WXTYPE",0},
3147 { "_unsigned_short","_short",0},
3148 { "_class_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3149 { "_class_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3150 { "_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3151 { "_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3152 { "_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
3153 { "_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
3154 { "_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3155 { "_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3156 { "_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3157 { "_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3158 { "_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
3159 { "_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
3160 { "_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
3161 { "_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
3162 { "_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
3163 { "_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
3164 { "_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3165 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3166 { "_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3167 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3168 { "_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject
},
3169 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
3170 { "_wxObject","_class_wxFontData",SwigwxFontDataTowxObject
},
3171 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
3172 { "_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3173 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3174 { "_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3175 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3176 { "_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject
},
3177 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
3178 { "_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject
},
3179 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
3180 { "_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject
},
3181 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
3182 { "_wxObject","_class_wxColourData",SwigwxColourDataTowxObject
},
3183 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
3184 { "_signed_short","_WXTYPE",0},
3185 { "_signed_short","_short",0},
3186 { "_unsigned_char","_byte",0},
3187 { "_unsigned_int","_wxCoord",0},
3188 { "_unsigned_int","_wxPrintQuality",0},
3189 { "_unsigned_int","_time_t",0},
3190 { "_unsigned_int","_size_t",0},
3191 { "_unsigned_int","_uint",0},
3192 { "_unsigned_int","_wxWindowID",0},
3193 { "_unsigned_int","_int",0},
3194 { "_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3195 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3196 { "_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
3197 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
3198 { "_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3199 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3200 { "_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3201 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3202 { "_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
3203 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
3204 { "_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
3205 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
3206 { "_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
3207 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
3208 { "_short","_WXTYPE",0},
3209 { "_short","_unsigned_short",0},
3210 { "_short","_signed_short",0},
3211 { "_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3212 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3213 { "_wxWindowID","_wxCoord",0},
3214 { "_wxWindowID","_wxPrintQuality",0},
3215 { "_wxWindowID","_time_t",0},
3216 { "_wxWindowID","_size_t",0},
3217 { "_wxWindowID","_EBool",0},
3218 { "_wxWindowID","_uint",0},
3219 { "_wxWindowID","_int",0},
3220 { "_wxWindowID","_signed_int",0},
3221 { "_wxWindowID","_unsigned_int",0},
3222 { "_int","_wxCoord",0},
3223 { "_int","_wxPrintQuality",0},
3224 { "_int","_time_t",0},
3225 { "_int","_size_t",0},
3226 { "_int","_EBool",0},
3227 { "_int","_uint",0},
3228 { "_int","_wxWindowID",0},
3229 { "_int","_unsigned_int",0},
3230 { "_int","_signed_int",0},
3231 { "_time_t","_wxCoord",0},
3232 { "_time_t","_wxPrintQuality",0},
3233 { "_time_t","_unsigned_int",0},
3234 { "_time_t","_int",0},
3235 { "_time_t","_wxWindowID",0},
3236 { "_time_t","_uint",0},
3237 { "_time_t","_size_t",0},
3238 { "_wxCoord","_int",0},
3239 { "_wxCoord","_signed_int",0},
3240 { "_wxCoord","_unsigned_int",0},
3241 { "_wxCoord","_wxWindowID",0},
3242 { "_wxCoord","_uint",0},
3243 { "_wxCoord","_EBool",0},
3244 { "_wxCoord","_size_t",0},
3245 { "_wxCoord","_time_t",0},
3246 { "_wxCoord","_wxPrintQuality",0},
3247 { "_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3248 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3249 { "_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3250 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3251 { "_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3252 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3253 { "_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3254 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3255 { "_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3256 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3257 { "_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3258 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3259 { "_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3260 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3261 { "_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3262 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3263 { "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3264 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3265 { "_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3266 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3267 { "_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
3268 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
3269 { "_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3270 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3271 { "_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3272 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3273 { "_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
3274 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
3275 { "_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
3276 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
3277 { "_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
3278 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
3279 { "_class_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3280 { "_class_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3283 static PyObject
*SWIG_globals
;
3287 SWIGEXPORT(void) initcmndlgsc() {
3289 SWIG_globals
= SWIG_newvarlink();
3290 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
3291 d
= PyModule_GetDict(m
);
3294 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3295 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);