2 * FILE : src/msw/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 wxColour
& _result_ref
= wxColourData_GetColour(_arg0
);
211 _result
= (wxColour
*) &_result_ref
;
213 wxPy_END_ALLOW_THREADS
;
214 if (PyErr_Occurred()) return NULL
;
216 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
217 _resultobj
= Py_BuildValue("s",_ptemp
);
220 _resultobj
= Py_None
;
225 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
226 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
229 wxColourData
* _arg0
;
231 PyObject
* _argo0
= 0;
232 char *_kwnames
[] = { "self","i", NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
246 wxPy_BEGIN_ALLOW_THREADS
;
247 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
249 wxPy_END_ALLOW_THREADS
;
250 if (PyErr_Occurred()) return NULL
;
251 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
252 _resultobj
= Py_BuildValue("s",_ptemp
);
256 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
257 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 PyObject
* _resultobj
;
259 wxColourData
* _arg0
;
261 PyObject
* _argo0
= 0;
262 char *_kwnames
[] = { "self","flag", NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
275 wxPy_BEGIN_ALLOW_THREADS
;
276 wxColourData_SetChooseFull(_arg0
,_arg1
);
278 wxPy_END_ALLOW_THREADS
;
279 if (PyErr_Occurred()) return NULL
;
280 } Py_INCREF(Py_None
);
281 _resultobj
= Py_None
;
285 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
286 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
288 wxColourData
* _arg0
;
290 PyObject
* _argo0
= 0;
292 PyObject
* _obj1
= 0;
293 char *_kwnames
[] = { "self","colour", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
307 if (! wxColour_helper(_obj1
, &_arg1
))
311 wxPy_BEGIN_ALLOW_THREADS
;
312 wxColourData_SetColour(_arg0
,*_arg1
);
314 wxPy_END_ALLOW_THREADS
;
315 if (PyErr_Occurred()) return NULL
;
316 } Py_INCREF(Py_None
);
317 _resultobj
= Py_None
;
321 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
322 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
324 wxColourData
* _arg0
;
327 PyObject
* _argo0
= 0;
329 PyObject
* _obj2
= 0;
330 char *_kwnames
[] = { "self","i","colour", NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
344 if (! wxColour_helper(_obj2
, &_arg2
))
348 wxPy_BEGIN_ALLOW_THREADS
;
349 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
351 wxPy_END_ALLOW_THREADS
;
352 if (PyErr_Occurred()) return NULL
;
353 } Py_INCREF(Py_None
);
354 _resultobj
= Py_None
;
358 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
361 src
= (wxColourDialog
*) ptr
;
362 dest
= (wxDialog
*) src
;
363 return (void *) dest
;
366 static void *SwigwxColourDialogTowxPanel(void *ptr
) {
369 src
= (wxColourDialog
*) ptr
;
370 dest
= (wxPanel
*) src
;
371 return (void *) dest
;
374 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
377 src
= (wxColourDialog
*) ptr
;
378 dest
= (wxWindow
*) src
;
379 return (void *) dest
;
382 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
385 src
= (wxColourDialog
*) ptr
;
386 dest
= (wxEvtHandler
*) src
;
387 return (void *) dest
;
390 static void *SwigwxColourDialogTowxObject(void *ptr
) {
393 src
= (wxColourDialog
*) ptr
;
394 dest
= (wxObject
*) src
;
395 return (void *) dest
;
398 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
399 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
401 wxColourDialog
* _result
;
403 wxColourData
* _arg1
= (wxColourData
*) NULL
;
404 PyObject
* _argo0
= 0;
405 PyObject
* _argo1
= 0;
406 char *_kwnames
[] = { "parent","data", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
427 wxPy_BEGIN_ALLOW_THREADS
;
428 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
430 wxPy_END_ALLOW_THREADS
;
431 if (PyErr_Occurred()) return NULL
;
433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
434 _resultobj
= Py_BuildValue("s",_ptemp
);
437 _resultobj
= Py_None
;
442 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
443 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
444 PyObject
* _resultobj
;
445 wxColourData
* _result
;
446 wxColourDialog
* _arg0
;
447 PyObject
* _argo0
= 0;
448 char *_kwnames
[] = { "self", NULL
};
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
462 wxPy_BEGIN_ALLOW_THREADS
;
463 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
464 _result
= (wxColourData
*) &_result_ref
;
466 wxPy_END_ALLOW_THREADS
;
467 if (PyErr_Occurred()) return NULL
;
469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
470 _resultobj
= Py_BuildValue("s",_ptemp
);
473 _resultobj
= Py_None
;
478 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
479 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
482 wxColourDialog
* _arg0
;
483 PyObject
* _argo0
= 0;
484 char *_kwnames
[] = { "self", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
497 wxPy_BEGIN_ALLOW_THREADS
;
498 _result
= (int )wxColourDialog_ShowModal(_arg0
);
500 wxPy_END_ALLOW_THREADS
;
501 if (PyErr_Occurred()) return NULL
;
502 } _resultobj
= Py_BuildValue("i",_result
);
506 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
509 src
= (wxDirDialog
*) ptr
;
510 dest
= (wxDialog
*) src
;
511 return (void *) dest
;
514 static void *SwigwxDirDialogTowxPanel(void *ptr
) {
517 src
= (wxDirDialog
*) ptr
;
518 dest
= (wxPanel
*) src
;
519 return (void *) dest
;
522 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
525 src
= (wxDirDialog
*) ptr
;
526 dest
= (wxWindow
*) src
;
527 return (void *) dest
;
530 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
533 src
= (wxDirDialog
*) ptr
;
534 dest
= (wxEvtHandler
*) src
;
535 return (void *) dest
;
538 static void *SwigwxDirDialogTowxObject(void *ptr
) {
541 src
= (wxDirDialog
*) ptr
;
542 dest
= (wxObject
*) src
;
543 return (void *) dest
;
546 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
547 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
549 wxDirDialog
* _result
;
551 char * _arg1
= (char *) "Choose a directory";
552 char * _arg2
= (char *) "";
553 long _arg3
= (long ) 0;
554 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
555 PyObject
* _argo0
= 0;
557 PyObject
* _obj4
= 0;
558 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
574 if (! wxPoint_helper(_obj4
, &_arg4
))
578 wxPy_BEGIN_ALLOW_THREADS
;
579 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
581 wxPy_END_ALLOW_THREADS
;
582 if (PyErr_Occurred()) return NULL
;
584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
585 _resultobj
= Py_BuildValue("s",_ptemp
);
588 _resultobj
= Py_None
;
593 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
594 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
598 PyObject
* _argo0
= 0;
599 char *_kwnames
[] = { "self", NULL
};
602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
612 wxPy_BEGIN_ALLOW_THREADS
;
613 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
615 wxPy_END_ALLOW_THREADS
;
616 if (PyErr_Occurred()) return NULL
;
618 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
626 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
627 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
631 PyObject
* _argo0
= 0;
632 char *_kwnames
[] = { "self", NULL
};
635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
645 wxPy_BEGIN_ALLOW_THREADS
;
646 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
648 wxPy_END_ALLOW_THREADS
;
649 if (PyErr_Occurred()) return NULL
;
651 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
659 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
660 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
664 PyObject
* _argo0
= 0;
665 char *_kwnames
[] = { "self", NULL
};
668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
678 wxPy_BEGIN_ALLOW_THREADS
;
679 _result
= (long )wxDirDialog_GetStyle(_arg0
);
681 wxPy_END_ALLOW_THREADS
;
682 if (PyErr_Occurred()) return NULL
;
683 } _resultobj
= Py_BuildValue("l",_result
);
687 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
688 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
692 PyObject
* _argo0
= 0;
693 PyObject
* _obj1
= 0;
694 char *_kwnames
[] = { "self","message", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
707 #if PYTHON_API_VERSION >= 1009
708 char* tmpPtr
; int tmpSize
;
709 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
710 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
713 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
715 _arg1
= new wxString(tmpPtr
, tmpSize
);
717 if (!PyString_Check(_obj1
)) {
718 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
721 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
725 wxPy_BEGIN_ALLOW_THREADS
;
726 wxDirDialog_SetMessage(_arg0
,*_arg1
);
728 wxPy_END_ALLOW_THREADS
;
729 if (PyErr_Occurred()) return NULL
;
730 } Py_INCREF(Py_None
);
731 _resultobj
= Py_None
;
739 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
740 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
741 PyObject
* _resultobj
;
744 PyObject
* _argo0
= 0;
745 PyObject
* _obj1
= 0;
746 char *_kwnames
[] = { "self","path", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
759 #if PYTHON_API_VERSION >= 1009
760 char* tmpPtr
; int tmpSize
;
761 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
762 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
765 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
767 _arg1
= new wxString(tmpPtr
, tmpSize
);
769 if (!PyString_Check(_obj1
)) {
770 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
773 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
777 wxPy_BEGIN_ALLOW_THREADS
;
778 wxDirDialog_SetPath(_arg0
,*_arg1
);
780 wxPy_END_ALLOW_THREADS
;
781 if (PyErr_Occurred()) return NULL
;
782 } Py_INCREF(Py_None
);
783 _resultobj
= Py_None
;
791 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
792 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
796 PyObject
* _argo0
= 0;
797 char *_kwnames
[] = { "self", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
810 wxPy_BEGIN_ALLOW_THREADS
;
811 _result
= (int )wxDirDialog_ShowModal(_arg0
);
813 wxPy_END_ALLOW_THREADS
;
814 if (PyErr_Occurred()) return NULL
;
815 } _resultobj
= Py_BuildValue("i",_result
);
819 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
822 src
= (wxFileDialog
*) ptr
;
823 dest
= (wxDialog
*) src
;
824 return (void *) dest
;
827 static void *SwigwxFileDialogTowxPanel(void *ptr
) {
830 src
= (wxFileDialog
*) ptr
;
831 dest
= (wxPanel
*) src
;
832 return (void *) dest
;
835 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
838 src
= (wxFileDialog
*) ptr
;
839 dest
= (wxWindow
*) src
;
840 return (void *) dest
;
843 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
846 src
= (wxFileDialog
*) ptr
;
847 dest
= (wxEvtHandler
*) src
;
848 return (void *) dest
;
851 static void *SwigwxFileDialogTowxObject(void *ptr
) {
854 src
= (wxFileDialog
*) ptr
;
855 dest
= (wxObject
*) src
;
856 return (void *) dest
;
859 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
860 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
861 PyObject
* _resultobj
;
862 wxFileDialog
* _result
;
864 char * _arg1
= (char *) "Choose a file";
865 char * _arg2
= (char *) "";
866 char * _arg3
= (char *) "";
867 char * _arg4
= (char *) "*.*";
868 long _arg5
= (long ) 0;
869 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
870 PyObject
* _argo0
= 0;
872 PyObject
* _obj6
= 0;
873 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
889 if (! wxPoint_helper(_obj6
, &_arg6
))
893 wxPy_BEGIN_ALLOW_THREADS
;
894 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
896 wxPy_END_ALLOW_THREADS
;
897 if (PyErr_Occurred()) return NULL
;
899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
900 _resultobj
= Py_BuildValue("s",_ptemp
);
903 _resultobj
= Py_None
;
908 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
909 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
912 wxFileDialog
* _arg0
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
927 wxPy_BEGIN_ALLOW_THREADS
;
928 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
930 wxPy_END_ALLOW_THREADS
;
931 if (PyErr_Occurred()) return NULL
;
933 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
941 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
942 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
945 wxFileDialog
* _arg0
;
946 PyObject
* _argo0
= 0;
947 char *_kwnames
[] = { "self", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
960 wxPy_BEGIN_ALLOW_THREADS
;
961 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
963 wxPy_END_ALLOW_THREADS
;
964 if (PyErr_Occurred()) return NULL
;
966 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
974 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
975 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
978 wxFileDialog
* _arg0
;
979 PyObject
* _argo0
= 0;
980 char *_kwnames
[] = { "self", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
996 wxPy_END_ALLOW_THREADS
;
997 if (PyErr_Occurred()) return NULL
;
998 } _resultobj
= Py_BuildValue("i",_result
);
1002 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
1003 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
* _resultobj
;
1006 wxFileDialog
* _arg0
;
1007 PyObject
* _argo0
= 0;
1008 char *_kwnames
[] = { "self", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1024 wxPy_END_ALLOW_THREADS
;
1025 if (PyErr_Occurred()) return NULL
;
1027 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1035 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1036 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1039 wxFileDialog
* _arg0
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1057 wxPy_END_ALLOW_THREADS
;
1058 if (PyErr_Occurred()) return NULL
;
1060 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1068 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1069 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1072 wxFileDialog
* _arg0
;
1073 PyObject
* _argo0
= 0;
1074 char *_kwnames
[] = { "self", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1090 wxPy_END_ALLOW_THREADS
;
1091 if (PyErr_Occurred()) return NULL
;
1092 } _resultobj
= Py_BuildValue("l",_result
);
1096 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1097 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1100 wxFileDialog
* _arg0
;
1101 PyObject
* _argo0
= 0;
1102 char *_kwnames
[] = { "self", NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1115 wxPy_BEGIN_ALLOW_THREADS
;
1116 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1118 wxPy_END_ALLOW_THREADS
;
1119 if (PyErr_Occurred()) return NULL
;
1121 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1129 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1130 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
* _resultobj
;
1132 wxFileDialog
* _arg0
;
1134 PyObject
* _argo0
= 0;
1135 PyObject
* _obj1
= 0;
1136 char *_kwnames
[] = { "self","directory", NULL
};
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1149 #if PYTHON_API_VERSION >= 1009
1150 char* tmpPtr
; int tmpSize
;
1151 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1155 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1157 _arg1
= new wxString(tmpPtr
, tmpSize
);
1159 if (!PyString_Check(_obj1
)) {
1160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1163 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1170 wxPy_END_ALLOW_THREADS
;
1171 if (PyErr_Occurred()) return NULL
;
1172 } Py_INCREF(Py_None
);
1173 _resultobj
= Py_None
;
1181 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1182 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1184 wxFileDialog
* _arg0
;
1186 PyObject
* _argo0
= 0;
1187 PyObject
* _obj1
= 0;
1188 char *_kwnames
[] = { "self","setfilename", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1201 #if PYTHON_API_VERSION >= 1009
1202 char* tmpPtr
; int tmpSize
;
1203 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1207 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1209 _arg1
= new wxString(tmpPtr
, tmpSize
);
1211 if (!PyString_Check(_obj1
)) {
1212 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1215 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1219 wxPy_BEGIN_ALLOW_THREADS
;
1220 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1222 wxPy_END_ALLOW_THREADS
;
1223 if (PyErr_Occurred()) return NULL
;
1224 } Py_INCREF(Py_None
);
1225 _resultobj
= Py_None
;
1233 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1234 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1236 wxFileDialog
* _arg0
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self","filterIndex", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1255 wxPy_END_ALLOW_THREADS
;
1256 if (PyErr_Occurred()) return NULL
;
1257 } Py_INCREF(Py_None
);
1258 _resultobj
= Py_None
;
1262 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1263 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1265 wxFileDialog
* _arg0
;
1267 PyObject
* _argo0
= 0;
1268 PyObject
* _obj1
= 0;
1269 char *_kwnames
[] = { "self","message", NULL
};
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1282 #if PYTHON_API_VERSION >= 1009
1283 char* tmpPtr
; int tmpSize
;
1284 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1288 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1290 _arg1
= new wxString(tmpPtr
, tmpSize
);
1292 if (!PyString_Check(_obj1
)) {
1293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1296 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1300 wxPy_BEGIN_ALLOW_THREADS
;
1301 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1303 wxPy_END_ALLOW_THREADS
;
1304 if (PyErr_Occurred()) return NULL
;
1305 } Py_INCREF(Py_None
);
1306 _resultobj
= Py_None
;
1314 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1315 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1317 wxFileDialog
* _arg0
;
1319 PyObject
* _argo0
= 0;
1320 PyObject
* _obj1
= 0;
1321 char *_kwnames
[] = { "self","path", NULL
};
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1334 #if PYTHON_API_VERSION >= 1009
1335 char* tmpPtr
; int tmpSize
;
1336 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1337 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1340 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1342 _arg1
= new wxString(tmpPtr
, tmpSize
);
1344 if (!PyString_Check(_obj1
)) {
1345 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1348 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 wxFileDialog_SetPath(_arg0
,*_arg1
);
1355 wxPy_END_ALLOW_THREADS
;
1356 if (PyErr_Occurred()) return NULL
;
1357 } Py_INCREF(Py_None
);
1358 _resultobj
= Py_None
;
1366 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1367 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1369 wxFileDialog
* _arg0
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self","style", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 wxFileDialog_SetStyle(_arg0
,_arg1
);
1388 wxPy_END_ALLOW_THREADS
;
1389 if (PyErr_Occurred()) return NULL
;
1390 } Py_INCREF(Py_None
);
1391 _resultobj
= Py_None
;
1395 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1396 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1398 wxFileDialog
* _arg0
;
1400 PyObject
* _argo0
= 0;
1401 PyObject
* _obj1
= 0;
1402 char *_kwnames
[] = { "self","wildCard", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1415 #if PYTHON_API_VERSION >= 1009
1416 char* tmpPtr
; int tmpSize
;
1417 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1418 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1421 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1423 _arg1
= new wxString(tmpPtr
, tmpSize
);
1425 if (!PyString_Check(_obj1
)) {
1426 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1429 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1433 wxPy_BEGIN_ALLOW_THREADS
;
1434 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1436 wxPy_END_ALLOW_THREADS
;
1437 if (PyErr_Occurred()) return NULL
;
1438 } Py_INCREF(Py_None
);
1439 _resultobj
= Py_None
;
1447 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1448 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1451 wxFileDialog
* _arg0
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1469 wxPy_END_ALLOW_THREADS
;
1470 if (PyErr_Occurred()) return NULL
;
1471 } _resultobj
= Py_BuildValue("i",_result
);
1475 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1477 self
->GetFilenames(arr
);
1478 size_t count
= arr
.GetCount();
1479 PyObject
* listObj
= PyList_New(0);
1480 for(size_t x
=0; x
<count
; x
++) {
1481 PyObject
* name
= PyString_FromString(arr
[x
]);
1482 PyList_Append(listObj
, name
);
1486 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1489 wxFileDialog
* _arg0
;
1490 PyObject
* _argo0
= 0;
1491 char *_kwnames
[] = { "self", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1507 wxPy_END_ALLOW_THREADS
;
1508 if (PyErr_Occurred()) return NULL
;
1510 _resultobj
= _result
;
1515 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1517 self
->GetPaths(arr
);
1518 size_t count
= arr
.GetCount();
1519 PyObject
* listObj
= PyList_New(0);
1520 for(size_t x
=0; x
<count
; x
++) {
1521 PyObject
* name
= PyString_FromString(arr
[x
]);
1522 PyList_Append(listObj
, name
);
1526 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1529 wxFileDialog
* _arg0
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1544 wxPy_BEGIN_ALLOW_THREADS
;
1545 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1547 wxPy_END_ALLOW_THREADS
;
1548 if (PyErr_Occurred()) return NULL
;
1550 _resultobj
= _result
;
1555 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1556 wxSingleChoiceDialog
*src
;
1558 src
= (wxSingleChoiceDialog
*) ptr
;
1559 dest
= (wxDialog
*) src
;
1560 return (void *) dest
;
1563 static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr
) {
1564 wxSingleChoiceDialog
*src
;
1566 src
= (wxSingleChoiceDialog
*) ptr
;
1567 dest
= (wxPanel
*) src
;
1568 return (void *) dest
;
1571 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1572 wxSingleChoiceDialog
*src
;
1574 src
= (wxSingleChoiceDialog
*) ptr
;
1575 dest
= (wxWindow
*) src
;
1576 return (void *) dest
;
1579 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1580 wxSingleChoiceDialog
*src
;
1582 src
= (wxSingleChoiceDialog
*) ptr
;
1583 dest
= (wxEvtHandler
*) src
;
1584 return (void *) dest
;
1587 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1588 wxSingleChoiceDialog
*src
;
1590 src
= (wxSingleChoiceDialog
*) ptr
;
1591 dest
= (wxObject
*) src
;
1592 return (void *) dest
;
1595 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1596 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1597 LCOUNT
, choices
, NULL
, style
, *pos
);
1600 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1602 wxSingleChoiceDialog
* _result
;
1608 long _arg5
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1609 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1610 PyObject
* _argo0
= 0;
1611 PyObject
* _obj1
= 0;
1612 PyObject
* _obj2
= 0;
1613 PyObject
* _obj4
= 0;
1615 PyObject
* _obj6
= 0;
1616 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1630 #if PYTHON_API_VERSION >= 1009
1631 char* tmpPtr
; int tmpSize
;
1632 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1636 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1638 _arg1
= new wxString(tmpPtr
, tmpSize
);
1640 if (!PyString_Check(_obj1
)) {
1641 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1644 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1648 #if PYTHON_API_VERSION >= 1009
1649 char* tmpPtr
; int tmpSize
;
1650 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1654 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1656 _arg2
= new wxString(tmpPtr
, tmpSize
);
1658 if (!PyString_Check(_obj2
)) {
1659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1662 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1667 _arg4
= wxString_LIST_helper(_obj4
);
1668 if (_arg4
== NULL
) {
1675 if (! wxPoint_helper(_obj6
, &_arg6
))
1680 _arg3
= PyList_Size(_obj4
);
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1690 wxPy_END_ALLOW_THREADS
;
1691 if (PyErr_Occurred()) return NULL
;
1693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1694 _resultobj
= Py_BuildValue("s",_ptemp
);
1697 _resultobj
= Py_None
;
1713 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1714 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1717 wxSingleChoiceDialog
* _arg0
;
1718 PyObject
* _argo0
= 0;
1719 char *_kwnames
[] = { "self", NULL
};
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1732 wxPy_BEGIN_ALLOW_THREADS
;
1733 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1735 wxPy_END_ALLOW_THREADS
;
1736 if (PyErr_Occurred()) return NULL
;
1737 } _resultobj
= Py_BuildValue("i",_result
);
1741 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1742 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1745 wxSingleChoiceDialog
* _arg0
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1763 wxPy_END_ALLOW_THREADS
;
1764 if (PyErr_Occurred()) return NULL
;
1766 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1774 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1775 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1777 wxSingleChoiceDialog
* _arg0
;
1779 PyObject
* _argo0
= 0;
1780 char *_kwnames
[] = { "self","sel", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1796 wxPy_END_ALLOW_THREADS
;
1797 if (PyErr_Occurred()) return NULL
;
1798 } Py_INCREF(Py_None
);
1799 _resultobj
= Py_None
;
1803 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1804 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1807 wxSingleChoiceDialog
* _arg0
;
1808 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1825 wxPy_END_ALLOW_THREADS
;
1826 if (PyErr_Occurred()) return NULL
;
1827 } _resultobj
= Py_BuildValue("i",_result
);
1831 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1832 wxTextEntryDialog
*src
;
1834 src
= (wxTextEntryDialog
*) ptr
;
1835 dest
= (wxDialog
*) src
;
1836 return (void *) dest
;
1839 static void *SwigwxTextEntryDialogTowxPanel(void *ptr
) {
1840 wxTextEntryDialog
*src
;
1842 src
= (wxTextEntryDialog
*) ptr
;
1843 dest
= (wxPanel
*) src
;
1844 return (void *) dest
;
1847 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1848 wxTextEntryDialog
*src
;
1850 src
= (wxTextEntryDialog
*) ptr
;
1851 dest
= (wxWindow
*) src
;
1852 return (void *) dest
;
1855 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1856 wxTextEntryDialog
*src
;
1858 src
= (wxTextEntryDialog
*) ptr
;
1859 dest
= (wxEvtHandler
*) src
;
1860 return (void *) dest
;
1863 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
1864 wxTextEntryDialog
*src
;
1866 src
= (wxTextEntryDialog
*) ptr
;
1867 dest
= (wxObject
*) src
;
1868 return (void *) dest
;
1871 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1872 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1874 wxTextEntryDialog
* _result
;
1877 char * _arg2
= (char *) "Input Text";
1878 char * _arg3
= (char *) "";
1879 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1880 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
1881 PyObject
* _argo0
= 0;
1883 PyObject
* _obj5
= 0;
1884 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1900 if (! wxPoint_helper(_obj5
, &_arg5
))
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
1907 wxPy_END_ALLOW_THREADS
;
1908 if (PyErr_Occurred()) return NULL
;
1910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
1911 _resultobj
= Py_BuildValue("s",_ptemp
);
1914 _resultobj
= Py_None
;
1919 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1920 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
* _resultobj
;
1923 wxTextEntryDialog
* _arg0
;
1924 PyObject
* _argo0
= 0;
1925 char *_kwnames
[] = { "self", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
1931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
1941 wxPy_END_ALLOW_THREADS
;
1942 if (PyErr_Occurred()) return NULL
;
1944 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1952 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1953 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1955 wxTextEntryDialog
* _arg0
;
1957 PyObject
* _argo0
= 0;
1958 PyObject
* _obj1
= 0;
1959 char *_kwnames
[] = { "self","value", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1972 #if PYTHON_API_VERSION >= 1009
1973 char* tmpPtr
; int tmpSize
;
1974 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1975 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1978 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1980 _arg1
= new wxString(tmpPtr
, tmpSize
);
1982 if (!PyString_Check(_obj1
)) {
1983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1986 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
1993 wxPy_END_ALLOW_THREADS
;
1994 if (PyErr_Occurred()) return NULL
;
1995 } Py_INCREF(Py_None
);
1996 _resultobj
= Py_None
;
2004 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2005 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2008 wxTextEntryDialog
* _arg0
;
2009 PyObject
* _argo0
= 0;
2010 char *_kwnames
[] = { "self", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2023 wxPy_BEGIN_ALLOW_THREADS
;
2024 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2026 wxPy_END_ALLOW_THREADS
;
2027 if (PyErr_Occurred()) return NULL
;
2028 } _resultobj
= Py_BuildValue("i",_result
);
2032 static void *SwigwxFontDataTowxObject(void *ptr
) {
2035 src
= (wxFontData
*) ptr
;
2036 dest
= (wxObject
*) src
;
2037 return (void *) dest
;
2040 #define new_wxFontData() (new wxFontData())
2041 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2043 wxFontData
* _result
;
2044 char *_kwnames
[] = { NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2051 wxPy_BEGIN_ALLOW_THREADS
;
2052 _result
= (wxFontData
*)new_wxFontData();
2054 wxPy_END_ALLOW_THREADS
;
2055 if (PyErr_Occurred()) return NULL
;
2057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2058 _resultobj
= Py_BuildValue("s",_ptemp
);
2061 _resultobj
= Py_None
;
2066 #define delete_wxFontData(_swigobj) (delete _swigobj)
2067 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2070 PyObject
* _argo0
= 0;
2071 char *_kwnames
[] = { "self", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 delete_wxFontData(_arg0
);
2087 wxPy_END_ALLOW_THREADS
;
2088 if (PyErr_Occurred()) return NULL
;
2089 } Py_INCREF(Py_None
);
2090 _resultobj
= Py_None
;
2094 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2095 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
* _resultobj
;
2099 PyObject
* _argo0
= 0;
2101 char *_kwnames
[] = { "self","enable", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2113 _arg1
= (bool ) tempbool1
;
2115 wxPy_BEGIN_ALLOW_THREADS
;
2116 wxFontData_EnableEffects(_arg0
,_arg1
);
2118 wxPy_END_ALLOW_THREADS
;
2119 if (PyErr_Occurred()) return NULL
;
2120 } Py_INCREF(Py_None
);
2121 _resultobj
= Py_None
;
2125 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2126 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2147 wxPy_END_ALLOW_THREADS
;
2148 if (PyErr_Occurred()) return NULL
;
2149 } _resultobj
= Py_BuildValue("i",_result
);
2153 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2154 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2158 PyObject
* _argo0
= 0;
2159 char *_kwnames
[] = { "self", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2173 wxPy_BEGIN_ALLOW_THREADS
;
2174 wxColour
& _result_ref
= wxFontData_GetColour(_arg0
);
2175 _result
= (wxColour
*) &_result_ref
;
2177 wxPy_END_ALLOW_THREADS
;
2178 if (PyErr_Occurred()) return NULL
;
2180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2181 _resultobj
= Py_BuildValue("s",_ptemp
);
2184 _resultobj
= Py_None
;
2189 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2190 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
* _resultobj
;
2194 PyObject
* _argo0
= 0;
2195 char *_kwnames
[] = { "self", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2209 wxPy_BEGIN_ALLOW_THREADS
;
2210 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2212 wxPy_END_ALLOW_THREADS
;
2213 if (PyErr_Occurred()) return NULL
;
2214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2215 _resultobj
= Py_BuildValue("s",_ptemp
);
2219 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2220 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2241 wxPy_END_ALLOW_THREADS
;
2242 if (PyErr_Occurred()) return NULL
;
2243 } _resultobj
= Py_BuildValue("i",_result
);
2247 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2248 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2252 PyObject
* _argo0
= 0;
2253 char *_kwnames
[] = { "self", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2270 wxPy_END_ALLOW_THREADS
;
2271 if (PyErr_Occurred()) return NULL
;
2272 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2273 _resultobj
= Py_BuildValue("s",_ptemp
);
2277 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2278 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "self", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2299 wxPy_END_ALLOW_THREADS
;
2300 if (PyErr_Occurred()) return NULL
;
2301 } _resultobj
= Py_BuildValue("i",_result
);
2305 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2306 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
* _resultobj
;
2310 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2324 _arg1
= (bool ) tempbool1
;
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2329 wxPy_END_ALLOW_THREADS
;
2330 if (PyErr_Occurred()) return NULL
;
2331 } Py_INCREF(Py_None
);
2332 _resultobj
= Py_None
;
2336 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2337 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2341 PyObject
* _argo0
= 0;
2342 PyObject
* _argo1
= 0;
2343 char *_kwnames
[] = { "self","font", NULL
};
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2356 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2366 wxPy_END_ALLOW_THREADS
;
2367 if (PyErr_Occurred()) return NULL
;
2368 } Py_INCREF(Py_None
);
2369 _resultobj
= Py_None
;
2373 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2374 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2378 PyObject
* _argo0
= 0;
2380 PyObject
* _obj1
= 0;
2381 char *_kwnames
[] = { "self","colour", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2395 if (! wxColour_helper(_obj1
, &_arg1
))
2399 wxPy_BEGIN_ALLOW_THREADS
;
2400 wxFontData_SetColour(_arg0
,*_arg1
);
2402 wxPy_END_ALLOW_THREADS
;
2403 if (PyErr_Occurred()) return NULL
;
2404 } Py_INCREF(Py_None
);
2405 _resultobj
= Py_None
;
2409 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2410 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
* _resultobj
;
2414 PyObject
* _argo0
= 0;
2415 PyObject
* _argo1
= 0;
2416 char *_kwnames
[] = { "self","font", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2439 wxPy_END_ALLOW_THREADS
;
2440 if (PyErr_Occurred()) return NULL
;
2441 } Py_INCREF(Py_None
);
2442 _resultobj
= Py_None
;
2446 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2447 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2452 PyObject
* _argo0
= 0;
2453 char *_kwnames
[] = { "self","min","max", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2466 wxPy_BEGIN_ALLOW_THREADS
;
2467 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2469 wxPy_END_ALLOW_THREADS
;
2470 if (PyErr_Occurred()) return NULL
;
2471 } Py_INCREF(Py_None
);
2472 _resultobj
= Py_None
;
2476 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2477 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
* _resultobj
;
2481 PyObject
* _argo0
= 0;
2483 char *_kwnames
[] = { "self","showHelp", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2495 _arg1
= (bool ) tempbool1
;
2497 wxPy_BEGIN_ALLOW_THREADS
;
2498 wxFontData_SetShowHelp(_arg0
,_arg1
);
2500 wxPy_END_ALLOW_THREADS
;
2501 if (PyErr_Occurred()) return NULL
;
2502 } Py_INCREF(Py_None
);
2503 _resultobj
= Py_None
;
2507 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2510 src
= (wxFontDialog
*) ptr
;
2511 dest
= (wxDialog
*) src
;
2512 return (void *) dest
;
2515 static void *SwigwxFontDialogTowxPanel(void *ptr
) {
2518 src
= (wxFontDialog
*) ptr
;
2519 dest
= (wxPanel
*) src
;
2520 return (void *) dest
;
2523 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2526 src
= (wxFontDialog
*) ptr
;
2527 dest
= (wxWindow
*) src
;
2528 return (void *) dest
;
2531 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2534 src
= (wxFontDialog
*) ptr
;
2535 dest
= (wxEvtHandler
*) src
;
2536 return (void *) dest
;
2539 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2542 src
= (wxFontDialog
*) ptr
;
2543 dest
= (wxObject
*) src
;
2544 return (void *) dest
;
2547 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2548 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2550 wxFontDialog
* _result
;
2553 PyObject
* _argo0
= 0;
2554 PyObject
* _argo1
= 0;
2555 char *_kwnames
[] = { "parent","data", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2576 wxPy_BEGIN_ALLOW_THREADS
;
2577 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2579 wxPy_END_ALLOW_THREADS
;
2580 if (PyErr_Occurred()) return NULL
;
2582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2583 _resultobj
= Py_BuildValue("s",_ptemp
);
2586 _resultobj
= Py_None
;
2591 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2592 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
* _resultobj
;
2594 wxFontData
* _result
;
2595 wxFontDialog
* _arg0
;
2596 PyObject
* _argo0
= 0;
2597 char *_kwnames
[] = { "self", NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2611 wxPy_BEGIN_ALLOW_THREADS
;
2612 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2613 _result
= (wxFontData
*) &_result_ref
;
2615 wxPy_END_ALLOW_THREADS
;
2616 if (PyErr_Occurred()) return NULL
;
2618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2619 _resultobj
= Py_BuildValue("s",_ptemp
);
2622 _resultobj
= Py_None
;
2627 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2628 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2631 wxFontDialog
* _arg0
;
2632 PyObject
* _argo0
= 0;
2633 char *_kwnames
[] = { "self", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2649 wxPy_END_ALLOW_THREADS
;
2650 if (PyErr_Occurred()) return NULL
;
2651 } _resultobj
= Py_BuildValue("i",_result
);
2655 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2656 wxMessageDialog
*src
;
2658 src
= (wxMessageDialog
*) ptr
;
2659 dest
= (wxDialog
*) src
;
2660 return (void *) dest
;
2663 static void *SwigwxMessageDialogTowxPanel(void *ptr
) {
2664 wxMessageDialog
*src
;
2666 src
= (wxMessageDialog
*) ptr
;
2667 dest
= (wxPanel
*) src
;
2668 return (void *) dest
;
2671 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2672 wxMessageDialog
*src
;
2674 src
= (wxMessageDialog
*) ptr
;
2675 dest
= (wxWindow
*) src
;
2676 return (void *) dest
;
2679 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2680 wxMessageDialog
*src
;
2682 src
= (wxMessageDialog
*) ptr
;
2683 dest
= (wxEvtHandler
*) src
;
2684 return (void *) dest
;
2687 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2688 wxMessageDialog
*src
;
2690 src
= (wxMessageDialog
*) ptr
;
2691 dest
= (wxObject
*) src
;
2692 return (void *) dest
;
2695 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2696 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2698 wxMessageDialog
* _result
;
2701 char * _arg2
= (char *) "Message box";
2702 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2703 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2704 PyObject
* _argo0
= 0;
2706 PyObject
* _obj4
= 0;
2707 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
2714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2723 if (! wxPoint_helper(_obj4
, &_arg4
))
2727 wxPy_BEGIN_ALLOW_THREADS
;
2728 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2730 wxPy_END_ALLOW_THREADS
;
2731 if (PyErr_Occurred()) return NULL
;
2733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2734 _resultobj
= Py_BuildValue("s",_ptemp
);
2737 _resultobj
= Py_None
;
2742 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2743 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2746 wxMessageDialog
* _arg0
;
2747 PyObject
* _argo0
= 0;
2748 char *_kwnames
[] = { "self", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2761 wxPy_BEGIN_ALLOW_THREADS
;
2762 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2764 wxPy_END_ALLOW_THREADS
;
2765 if (PyErr_Occurred()) return NULL
;
2766 } _resultobj
= Py_BuildValue("i",_result
);
2770 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2771 wxProgressDialog
*src
;
2773 src
= (wxProgressDialog
*) ptr
;
2774 dest
= (wxFrame
*) src
;
2775 return (void *) dest
;
2778 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2779 wxProgressDialog
*src
;
2781 src
= (wxProgressDialog
*) ptr
;
2782 dest
= (wxWindow
*) src
;
2783 return (void *) dest
;
2786 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
2787 wxProgressDialog
*src
;
2789 src
= (wxProgressDialog
*) ptr
;
2790 dest
= (wxEvtHandler
*) src
;
2791 return (void *) dest
;
2794 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
2795 wxProgressDialog
*src
;
2797 src
= (wxProgressDialog
*) ptr
;
2798 dest
= (wxObject
*) src
;
2799 return (void *) dest
;
2802 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2803 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2805 wxProgressDialog
* _result
;
2808 int _arg2
= (int ) 100;
2809 wxWindow
* _arg3
= (wxWindow
*) NULL
;
2810 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
2811 PyObject
* _obj0
= 0;
2812 PyObject
* _obj1
= 0;
2813 PyObject
* _argo3
= 0;
2814 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
2821 #if PYTHON_API_VERSION >= 1009
2822 char* tmpPtr
; int tmpSize
;
2823 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2824 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2827 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2829 _arg0
= new wxString(tmpPtr
, tmpSize
);
2831 if (!PyString_Check(_obj0
)) {
2832 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2835 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2839 #if PYTHON_API_VERSION >= 1009
2840 char* tmpPtr
; int tmpSize
;
2841 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2842 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2845 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2847 _arg1
= new wxString(tmpPtr
, tmpSize
);
2849 if (!PyString_Check(_obj1
)) {
2850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2853 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2857 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2867 wxPy_END_ALLOW_THREADS
;
2868 if (PyErr_Occurred()) return NULL
;
2870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
2871 _resultobj
= Py_BuildValue("s",_ptemp
);
2874 _resultobj
= Py_None
;
2887 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2888 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2891 wxProgressDialog
* _arg0
;
2892 int _arg1
= (int ) -1;
2893 char * _arg2
= (char *) NULL
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self","value","newmsg", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2908 wxPy_BEGIN_ALLOW_THREADS
;
2909 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
2911 wxPy_END_ALLOW_THREADS
;
2912 if (PyErr_Occurred()) return NULL
;
2913 } _resultobj
= Py_BuildValue("i",_result
);
2917 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2918 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxProgressDialog
* _arg0
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 wxProgressDialog_Resume(_arg0
);
2938 wxPy_END_ALLOW_THREADS
;
2939 if (PyErr_Occurred()) return NULL
;
2940 } Py_INCREF(Py_None
);
2941 _resultobj
= Py_None
;
2945 static PyMethodDef cmndlgscMethods
[] = {
2946 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
2947 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
2948 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
2949 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2950 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
2951 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2952 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
2953 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
2954 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2955 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
2956 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2957 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
2958 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2959 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2960 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2961 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2962 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2963 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2964 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
2965 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2966 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2967 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2968 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2969 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2970 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
2971 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
2972 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
2973 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2974 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2975 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
2976 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2977 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
2978 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
2979 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
2980 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2981 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2982 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2983 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2984 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2985 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2986 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2987 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2988 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2989 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2990 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2991 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2992 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2993 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2994 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2995 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
2996 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2997 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2998 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2999 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3000 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3001 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
3002 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
3003 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3004 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
3005 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
3006 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3007 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3008 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3009 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3010 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3011 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3012 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3013 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3020 * This table is used by the pointer type-checker
3022 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3023 { "_signed_long","_long",0},
3024 { "_wxPrintQuality","_wxCoord",0},
3025 { "_wxPrintQuality","_int",0},
3026 { "_wxPrintQuality","_signed_int",0},
3027 { "_wxPrintQuality","_unsigned_int",0},
3028 { "_wxPrintQuality","_wxWindowID",0},
3029 { "_wxPrintQuality","_uint",0},
3030 { "_wxPrintQuality","_EBool",0},
3031 { "_wxPrintQuality","_size_t",0},
3032 { "_wxPrintQuality","_time_t",0},
3033 { "_byte","_unsigned_char",0},
3034 { "_long","_unsigned_long",0},
3035 { "_long","_signed_long",0},
3036 { "_size_t","_wxCoord",0},
3037 { "_size_t","_wxPrintQuality",0},
3038 { "_size_t","_time_t",0},
3039 { "_size_t","_unsigned_int",0},
3040 { "_size_t","_int",0},
3041 { "_size_t","_wxWindowID",0},
3042 { "_size_t","_uint",0},
3043 { "_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
3044 { "_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel
},
3045 { "_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
3046 { "_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
3047 { "_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel
},
3048 { "_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel
},
3049 { "_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel
},
3050 { "_uint","_wxCoord",0},
3051 { "_uint","_wxPrintQuality",0},
3052 { "_uint","_time_t",0},
3053 { "_uint","_size_t",0},
3054 { "_uint","_unsigned_int",0},
3055 { "_uint","_int",0},
3056 { "_uint","_wxWindowID",0},
3057 { "_wxChar","_char",0},
3058 { "_char","_wxChar",0},
3059 { "_EBool","_wxCoord",0},
3060 { "_EBool","_wxPrintQuality",0},
3061 { "_EBool","_signed_int",0},
3062 { "_EBool","_int",0},
3063 { "_EBool","_wxWindowID",0},
3064 { "_unsigned_long","_long",0},
3065 { "_signed_int","_wxCoord",0},
3066 { "_signed_int","_wxPrintQuality",0},
3067 { "_signed_int","_EBool",0},
3068 { "_signed_int","_wxWindowID",0},
3069 { "_signed_int","_int",0},
3070 { "_WXTYPE","_short",0},
3071 { "_WXTYPE","_signed_short",0},
3072 { "_WXTYPE","_unsigned_short",0},
3073 { "_unsigned_short","_WXTYPE",0},
3074 { "_unsigned_short","_short",0},
3075 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3076 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3077 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
3078 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
3079 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3080 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3081 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
3082 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
3083 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
3084 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
3085 { "_signed_short","_WXTYPE",0},
3086 { "_signed_short","_short",0},
3087 { "_unsigned_char","_byte",0},
3088 { "_unsigned_int","_wxCoord",0},
3089 { "_unsigned_int","_wxPrintQuality",0},
3090 { "_unsigned_int","_time_t",0},
3091 { "_unsigned_int","_size_t",0},
3092 { "_unsigned_int","_uint",0},
3093 { "_unsigned_int","_wxWindowID",0},
3094 { "_unsigned_int","_int",0},
3095 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3096 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
3097 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3098 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3099 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
3100 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
3101 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
3102 { "_short","_WXTYPE",0},
3103 { "_short","_unsigned_short",0},
3104 { "_short","_signed_short",0},
3105 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3106 { "_wxWindowID","_wxCoord",0},
3107 { "_wxWindowID","_wxPrintQuality",0},
3108 { "_wxWindowID","_time_t",0},
3109 { "_wxWindowID","_size_t",0},
3110 { "_wxWindowID","_EBool",0},
3111 { "_wxWindowID","_uint",0},
3112 { "_wxWindowID","_int",0},
3113 { "_wxWindowID","_signed_int",0},
3114 { "_wxWindowID","_unsigned_int",0},
3115 { "_int","_wxCoord",0},
3116 { "_int","_wxPrintQuality",0},
3117 { "_int","_time_t",0},
3118 { "_int","_size_t",0},
3119 { "_int","_EBool",0},
3120 { "_int","_uint",0},
3121 { "_int","_wxWindowID",0},
3122 { "_int","_unsigned_int",0},
3123 { "_int","_signed_int",0},
3124 { "_time_t","_wxCoord",0},
3125 { "_time_t","_wxPrintQuality",0},
3126 { "_time_t","_unsigned_int",0},
3127 { "_time_t","_int",0},
3128 { "_time_t","_wxWindowID",0},
3129 { "_time_t","_uint",0},
3130 { "_time_t","_size_t",0},
3131 { "_wxCoord","_int",0},
3132 { "_wxCoord","_signed_int",0},
3133 { "_wxCoord","_unsigned_int",0},
3134 { "_wxCoord","_wxWindowID",0},
3135 { "_wxCoord","_uint",0},
3136 { "_wxCoord","_EBool",0},
3137 { "_wxCoord","_size_t",0},
3138 { "_wxCoord","_time_t",0},
3139 { "_wxCoord","_wxPrintQuality",0},
3140 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3141 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3142 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3143 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3144 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3145 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3146 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3147 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3148 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3149 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3150 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
3151 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3152 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3153 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
3154 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
3155 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
3158 static PyObject
*SWIG_globals
;
3162 SWIGEXPORT(void) initcmndlgsc() {
3164 SWIG_globals
= SWIG_newvarlink();
3165 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
3166 d
= PyModule_GetDict(m
);
3169 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3170 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);