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>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 #if PYTHON_API_VERSION >= 1009
111 static char* wxStringErrorMsg
= "String or Unicode type required";
113 static char* wxStringErrorMsg
= "string type is required for parameter";
118 static void *SwigwxColourDataTowxObject(void *ptr
) {
121 src
= (wxColourData
*) ptr
;
122 dest
= (wxObject
*) src
;
123 return (void *) dest
;
126 #define new_wxColourData() (new wxColourData())
127 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
128 PyObject
* _resultobj
;
129 wxColourData
* _result
;
130 char *_kwnames
[] = { NULL
};
134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
137 wxPy_BEGIN_ALLOW_THREADS
;
138 _result
= (wxColourData
*)new_wxColourData();
140 wxPy_END_ALLOW_THREADS
;
142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
143 _resultobj
= Py_BuildValue("s",_ptemp
);
146 _resultobj
= Py_None
;
151 #define delete_wxColourData(_swigobj) (delete _swigobj)
152 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
154 wxColourData
* _arg0
;
155 PyObject
* _argo0
= 0;
156 char *_kwnames
[] = { "self", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
169 wxPy_BEGIN_ALLOW_THREADS
;
170 delete_wxColourData(_arg0
);
172 wxPy_END_ALLOW_THREADS
;
173 } Py_INCREF(Py_None
);
174 _resultobj
= Py_None
;
178 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
179 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
180 PyObject
* _resultobj
;
182 wxColourData
* _arg0
;
183 PyObject
* _argo0
= 0;
184 char *_kwnames
[] = { "self", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
197 wxPy_BEGIN_ALLOW_THREADS
;
198 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
200 wxPy_END_ALLOW_THREADS
;
201 } _resultobj
= Py_BuildValue("i",_result
);
205 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
206 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
209 wxColourData
* _arg0
;
210 PyObject
* _argo0
= 0;
211 char *_kwnames
[] = { "self", NULL
};
215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
225 wxPy_BEGIN_ALLOW_THREADS
;
226 wxColour
& _result_ref
= wxColourData_GetColour(_arg0
);
227 _result
= (wxColour
*) &_result_ref
;
229 wxPy_END_ALLOW_THREADS
;
231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
232 _resultobj
= Py_BuildValue("s",_ptemp
);
235 _resultobj
= Py_None
;
240 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
241 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
244 wxColourData
* _arg0
;
246 PyObject
* _argo0
= 0;
247 char *_kwnames
[] = { "self","i", NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
261 wxPy_BEGIN_ALLOW_THREADS
;
262 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
264 wxPy_END_ALLOW_THREADS
;
265 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
266 _resultobj
= Py_BuildValue("s",_ptemp
);
270 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
271 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
273 wxColourData
* _arg0
;
275 PyObject
* _argo0
= 0;
276 char *_kwnames
[] = { "self","flag", NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
289 wxPy_BEGIN_ALLOW_THREADS
;
290 wxColourData_SetChooseFull(_arg0
,_arg1
);
292 wxPy_END_ALLOW_THREADS
;
293 } Py_INCREF(Py_None
);
294 _resultobj
= Py_None
;
298 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
299 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
300 PyObject
* _resultobj
;
301 wxColourData
* _arg0
;
303 PyObject
* _argo0
= 0;
305 PyObject
* _obj1
= 0;
306 char *_kwnames
[] = { "self","colour", NULL
};
309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
320 if (! wxColour_helper(_obj1
, &_arg1
))
324 wxPy_BEGIN_ALLOW_THREADS
;
325 wxColourData_SetColour(_arg0
,*_arg1
);
327 wxPy_END_ALLOW_THREADS
;
328 } Py_INCREF(Py_None
);
329 _resultobj
= Py_None
;
333 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
334 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
336 wxColourData
* _arg0
;
339 PyObject
* _argo0
= 0;
341 PyObject
* _obj2
= 0;
342 char *_kwnames
[] = { "self","i","colour", NULL
};
345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
356 if (! wxColour_helper(_obj2
, &_arg2
))
360 wxPy_BEGIN_ALLOW_THREADS
;
361 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
363 wxPy_END_ALLOW_THREADS
;
364 } Py_INCREF(Py_None
);
365 _resultobj
= Py_None
;
369 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
372 src
= (wxColourDialog
*) ptr
;
373 dest
= (wxDialog
*) src
;
374 return (void *) dest
;
377 static void *SwigwxColourDialogTowxPanel(void *ptr
) {
380 src
= (wxColourDialog
*) ptr
;
381 dest
= (wxPanel
*) src
;
382 return (void *) dest
;
385 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
388 src
= (wxColourDialog
*) ptr
;
389 dest
= (wxWindow
*) src
;
390 return (void *) dest
;
393 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
396 src
= (wxColourDialog
*) ptr
;
397 dest
= (wxEvtHandler
*) src
;
398 return (void *) dest
;
401 static void *SwigwxColourDialogTowxObject(void *ptr
) {
404 src
= (wxColourDialog
*) ptr
;
405 dest
= (wxObject
*) src
;
406 return (void *) dest
;
409 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
410 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
411 PyObject
* _resultobj
;
412 wxColourDialog
* _result
;
414 wxColourData
* _arg1
= (wxColourData
*) NULL
;
415 PyObject
* _argo0
= 0;
416 PyObject
* _argo1
= 0;
417 char *_kwnames
[] = { "parent","data", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
438 wxPy_BEGIN_ALLOW_THREADS
;
439 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
441 wxPy_END_ALLOW_THREADS
;
443 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
444 _resultobj
= Py_BuildValue("s",_ptemp
);
447 _resultobj
= Py_None
;
452 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
453 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
455 wxColourData
* _result
;
456 wxColourDialog
* _arg0
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
472 wxPy_BEGIN_ALLOW_THREADS
;
473 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
474 _result
= (wxColourData
*) &_result_ref
;
476 wxPy_END_ALLOW_THREADS
;
478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
479 _resultobj
= Py_BuildValue("s",_ptemp
);
482 _resultobj
= Py_None
;
487 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
488 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
491 wxColourDialog
* _arg0
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
506 wxPy_BEGIN_ALLOW_THREADS
;
507 _result
= (int )wxColourDialog_ShowModal(_arg0
);
509 wxPy_END_ALLOW_THREADS
;
510 } _resultobj
= Py_BuildValue("i",_result
);
514 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
517 src
= (wxDirDialog
*) ptr
;
518 dest
= (wxDialog
*) src
;
519 return (void *) dest
;
522 static void *SwigwxDirDialogTowxPanel(void *ptr
) {
525 src
= (wxDirDialog
*) ptr
;
526 dest
= (wxPanel
*) src
;
527 return (void *) dest
;
530 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
533 src
= (wxDirDialog
*) ptr
;
534 dest
= (wxWindow
*) src
;
535 return (void *) dest
;
538 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
541 src
= (wxDirDialog
*) ptr
;
542 dest
= (wxEvtHandler
*) src
;
543 return (void *) dest
;
546 static void *SwigwxDirDialogTowxObject(void *ptr
) {
549 src
= (wxDirDialog
*) ptr
;
550 dest
= (wxObject
*) src
;
551 return (void *) dest
;
554 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
555 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
557 wxDirDialog
* _result
;
559 char * _arg1
= (char *) "Choose a directory";
560 char * _arg2
= (char *) "";
561 long _arg3
= (long ) 0;
562 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
563 PyObject
* _argo0
= 0;
565 PyObject
* _obj4
= 0;
566 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
582 if (! wxPoint_helper(_obj4
, &_arg4
))
586 wxPy_BEGIN_ALLOW_THREADS
;
587 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
589 wxPy_END_ALLOW_THREADS
;
591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
592 _resultobj
= Py_BuildValue("s",_ptemp
);
595 _resultobj
= Py_None
;
600 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
601 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
602 PyObject
* _resultobj
;
605 PyObject
* _argo0
= 0;
606 char *_kwnames
[] = { "self", NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
619 wxPy_BEGIN_ALLOW_THREADS
;
620 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
622 wxPy_END_ALLOW_THREADS
;
624 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
632 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
633 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
634 PyObject
* _resultobj
;
637 PyObject
* _argo0
= 0;
638 char *_kwnames
[] = { "self", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
651 wxPy_BEGIN_ALLOW_THREADS
;
652 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
654 wxPy_END_ALLOW_THREADS
;
656 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
664 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
665 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
669 PyObject
* _argo0
= 0;
670 char *_kwnames
[] = { "self", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
683 wxPy_BEGIN_ALLOW_THREADS
;
684 _result
= (long )wxDirDialog_GetStyle(_arg0
);
686 wxPy_END_ALLOW_THREADS
;
687 } _resultobj
= Py_BuildValue("l",_result
);
691 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
692 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
696 PyObject
* _argo0
= 0;
697 PyObject
* _obj1
= 0;
698 char *_kwnames
[] = { "self","message", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
711 #if PYTHON_API_VERSION >= 1009
712 char* tmpPtr
; int tmpSize
;
713 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
714 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
717 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
719 _arg1
= new wxString(tmpPtr
, tmpSize
);
721 if (!PyString_Check(_obj1
)) {
722 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
725 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
729 wxPy_BEGIN_ALLOW_THREADS
;
730 wxDirDialog_SetMessage(_arg0
,*_arg1
);
732 wxPy_END_ALLOW_THREADS
;
733 } Py_INCREF(Py_None
);
734 _resultobj
= Py_None
;
742 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
743 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
747 PyObject
* _argo0
= 0;
748 PyObject
* _obj1
= 0;
749 char *_kwnames
[] = { "self","path", NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
762 #if PYTHON_API_VERSION >= 1009
763 char* tmpPtr
; int tmpSize
;
764 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
765 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
768 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
770 _arg1
= new wxString(tmpPtr
, tmpSize
);
772 if (!PyString_Check(_obj1
)) {
773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
776 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
780 wxPy_BEGIN_ALLOW_THREADS
;
781 wxDirDialog_SetPath(_arg0
,*_arg1
);
783 wxPy_END_ALLOW_THREADS
;
784 } Py_INCREF(Py_None
);
785 _resultobj
= Py_None
;
793 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
794 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
795 PyObject
* _resultobj
;
798 PyObject
* _argo0
= 0;
799 char *_kwnames
[] = { "self", NULL
};
802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
812 wxPy_BEGIN_ALLOW_THREADS
;
813 _result
= (int )wxDirDialog_ShowModal(_arg0
);
815 wxPy_END_ALLOW_THREADS
;
816 } _resultobj
= Py_BuildValue("i",_result
);
820 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
823 src
= (wxFileDialog
*) ptr
;
824 dest
= (wxDialog
*) src
;
825 return (void *) dest
;
828 static void *SwigwxFileDialogTowxPanel(void *ptr
) {
831 src
= (wxFileDialog
*) ptr
;
832 dest
= (wxPanel
*) src
;
833 return (void *) dest
;
836 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
839 src
= (wxFileDialog
*) ptr
;
840 dest
= (wxWindow
*) src
;
841 return (void *) dest
;
844 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
847 src
= (wxFileDialog
*) ptr
;
848 dest
= (wxEvtHandler
*) src
;
849 return (void *) dest
;
852 static void *SwigwxFileDialogTowxObject(void *ptr
) {
855 src
= (wxFileDialog
*) ptr
;
856 dest
= (wxObject
*) src
;
857 return (void *) dest
;
860 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
861 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
862 PyObject
* _resultobj
;
863 wxFileDialog
* _result
;
865 char * _arg1
= (char *) "Choose a file";
866 char * _arg2
= (char *) "";
867 char * _arg3
= (char *) "";
868 char * _arg4
= (char *) "*.*";
869 long _arg5
= (long ) 0;
870 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
871 PyObject
* _argo0
= 0;
873 PyObject
* _obj6
= 0;
874 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
890 if (! wxPoint_helper(_obj6
, &_arg6
))
894 wxPy_BEGIN_ALLOW_THREADS
;
895 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
897 wxPy_END_ALLOW_THREADS
;
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
;
932 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
940 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
941 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
944 wxFileDialog
* _arg0
;
945 PyObject
* _argo0
= 0;
946 char *_kwnames
[] = { "self", NULL
};
949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
959 wxPy_BEGIN_ALLOW_THREADS
;
960 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
962 wxPy_END_ALLOW_THREADS
;
964 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
972 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
973 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
976 wxFileDialog
* _arg0
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
991 wxPy_BEGIN_ALLOW_THREADS
;
992 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
994 wxPy_END_ALLOW_THREADS
;
995 } _resultobj
= Py_BuildValue("i",_result
);
999 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
1000 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1003 wxFileDialog
* _arg0
;
1004 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1021 wxPy_END_ALLOW_THREADS
;
1023 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1031 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1032 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1035 wxFileDialog
* _arg0
;
1036 PyObject
* _argo0
= 0;
1037 char *_kwnames
[] = { "self", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1053 wxPy_END_ALLOW_THREADS
;
1055 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1063 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1064 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1067 wxFileDialog
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 char *_kwnames
[] = { "self", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1082 wxPy_BEGIN_ALLOW_THREADS
;
1083 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1085 wxPy_END_ALLOW_THREADS
;
1086 } _resultobj
= Py_BuildValue("l",_result
);
1090 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1091 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1094 wxFileDialog
* _arg0
;
1095 PyObject
* _argo0
= 0;
1096 char *_kwnames
[] = { "self", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1109 wxPy_BEGIN_ALLOW_THREADS
;
1110 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1112 wxPy_END_ALLOW_THREADS
;
1114 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1122 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1123 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1125 wxFileDialog
* _arg0
;
1127 PyObject
* _argo0
= 0;
1128 PyObject
* _obj1
= 0;
1129 char *_kwnames
[] = { "self","directory", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1142 #if PYTHON_API_VERSION >= 1009
1143 char* tmpPtr
; int tmpSize
;
1144 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1148 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1150 _arg1
= new wxString(tmpPtr
, tmpSize
);
1152 if (!PyString_Check(_obj1
)) {
1153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1156 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1160 wxPy_BEGIN_ALLOW_THREADS
;
1161 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1163 wxPy_END_ALLOW_THREADS
;
1164 } Py_INCREF(Py_None
);
1165 _resultobj
= Py_None
;
1173 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1174 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1176 wxFileDialog
* _arg0
;
1178 PyObject
* _argo0
= 0;
1179 PyObject
* _obj1
= 0;
1180 char *_kwnames
[] = { "self","setfilename", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1193 #if PYTHON_API_VERSION >= 1009
1194 char* tmpPtr
; int tmpSize
;
1195 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1199 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1201 _arg1
= new wxString(tmpPtr
, tmpSize
);
1203 if (!PyString_Check(_obj1
)) {
1204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1207 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1211 wxPy_BEGIN_ALLOW_THREADS
;
1212 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1214 wxPy_END_ALLOW_THREADS
;
1215 } Py_INCREF(Py_None
);
1216 _resultobj
= Py_None
;
1224 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1225 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1227 wxFileDialog
* _arg0
;
1229 PyObject
* _argo0
= 0;
1230 char *_kwnames
[] = { "self","filterIndex", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1246 wxPy_END_ALLOW_THREADS
;
1247 } Py_INCREF(Py_None
);
1248 _resultobj
= Py_None
;
1252 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1253 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1255 wxFileDialog
* _arg0
;
1257 PyObject
* _argo0
= 0;
1258 PyObject
* _obj1
= 0;
1259 char *_kwnames
[] = { "self","message", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1272 #if PYTHON_API_VERSION >= 1009
1273 char* tmpPtr
; int tmpSize
;
1274 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1278 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1280 _arg1
= new wxString(tmpPtr
, tmpSize
);
1282 if (!PyString_Check(_obj1
)) {
1283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1286 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1303 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1304 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1306 wxFileDialog
* _arg0
;
1308 PyObject
* _argo0
= 0;
1309 PyObject
* _obj1
= 0;
1310 char *_kwnames
[] = { "self","path", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1323 #if PYTHON_API_VERSION >= 1009
1324 char* tmpPtr
; int tmpSize
;
1325 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1329 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1331 _arg1
= new wxString(tmpPtr
, tmpSize
);
1333 if (!PyString_Check(_obj1
)) {
1334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1337 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1341 wxPy_BEGIN_ALLOW_THREADS
;
1342 wxFileDialog_SetPath(_arg0
,*_arg1
);
1344 wxPy_END_ALLOW_THREADS
;
1345 } Py_INCREF(Py_None
);
1346 _resultobj
= Py_None
;
1354 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1355 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxFileDialog
* _arg0
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self","style", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1373 wxPy_BEGIN_ALLOW_THREADS
;
1374 wxFileDialog_SetStyle(_arg0
,_arg1
);
1376 wxPy_END_ALLOW_THREADS
;
1377 } Py_INCREF(Py_None
);
1378 _resultobj
= Py_None
;
1382 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1383 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1385 wxFileDialog
* _arg0
;
1387 PyObject
* _argo0
= 0;
1388 PyObject
* _obj1
= 0;
1389 char *_kwnames
[] = { "self","wildCard", NULL
};
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1402 #if PYTHON_API_VERSION >= 1009
1403 char* tmpPtr
; int tmpSize
;
1404 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1405 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1408 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1410 _arg1
= new wxString(tmpPtr
, tmpSize
);
1412 if (!PyString_Check(_obj1
)) {
1413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1416 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1423 wxPy_END_ALLOW_THREADS
;
1424 } Py_INCREF(Py_None
);
1425 _resultobj
= Py_None
;
1433 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1434 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
* _resultobj
;
1437 wxFileDialog
* _arg0
;
1438 PyObject
* _argo0
= 0;
1439 char *_kwnames
[] = { "self", NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1455 wxPy_END_ALLOW_THREADS
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1462 self
->GetFilenames(arr
);
1463 size_t count
= arr
.GetCount();
1464 PyObject
* listObj
= PyList_New(0);
1465 for(size_t x
=0; x
<count
; x
++) {
1466 PyObject
* name
= PyString_FromString(arr
[x
]);
1467 PyList_Append(listObj
, name
);
1471 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1474 wxFileDialog
* _arg0
;
1475 PyObject
* _argo0
= 0;
1476 char *_kwnames
[] = { "self", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1492 wxPy_END_ALLOW_THREADS
;
1494 _resultobj
= _result
;
1499 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1501 self
->GetPaths(arr
);
1502 size_t count
= arr
.GetCount();
1503 PyObject
* listObj
= PyList_New(0);
1504 for(size_t x
=0; x
<count
; x
++) {
1505 PyObject
* name
= PyString_FromString(arr
[x
]);
1506 PyList_Append(listObj
, name
);
1510 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
* _resultobj
;
1513 wxFileDialog
* _arg0
;
1514 PyObject
* _argo0
= 0;
1515 char *_kwnames
[] = { "self", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1531 wxPy_END_ALLOW_THREADS
;
1533 _resultobj
= _result
;
1538 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1539 wxSingleChoiceDialog
*src
;
1541 src
= (wxSingleChoiceDialog
*) ptr
;
1542 dest
= (wxDialog
*) src
;
1543 return (void *) dest
;
1546 static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr
) {
1547 wxSingleChoiceDialog
*src
;
1549 src
= (wxSingleChoiceDialog
*) ptr
;
1550 dest
= (wxPanel
*) src
;
1551 return (void *) dest
;
1554 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1555 wxSingleChoiceDialog
*src
;
1557 src
= (wxSingleChoiceDialog
*) ptr
;
1558 dest
= (wxWindow
*) src
;
1559 return (void *) dest
;
1562 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1563 wxSingleChoiceDialog
*src
;
1565 src
= (wxSingleChoiceDialog
*) ptr
;
1566 dest
= (wxEvtHandler
*) src
;
1567 return (void *) dest
;
1570 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1571 wxSingleChoiceDialog
*src
;
1573 src
= (wxSingleChoiceDialog
*) ptr
;
1574 dest
= (wxObject
*) src
;
1575 return (void *) dest
;
1578 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1579 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1580 LCOUNT
, choices
, NULL
, style
, *pos
);
1583 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1585 wxSingleChoiceDialog
* _result
;
1591 long _arg5
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1592 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1593 PyObject
* _argo0
= 0;
1594 PyObject
* _obj1
= 0;
1595 PyObject
* _obj2
= 0;
1596 PyObject
* _obj4
= 0;
1598 PyObject
* _obj6
= 0;
1599 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1613 #if PYTHON_API_VERSION >= 1009
1614 char* tmpPtr
; int tmpSize
;
1615 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1616 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1619 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1621 _arg1
= new wxString(tmpPtr
, tmpSize
);
1623 if (!PyString_Check(_obj1
)) {
1624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1627 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1631 #if PYTHON_API_VERSION >= 1009
1632 char* tmpPtr
; int tmpSize
;
1633 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1637 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1639 _arg2
= new wxString(tmpPtr
, tmpSize
);
1641 if (!PyString_Check(_obj2
)) {
1642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1645 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1650 _arg4
= wxString_LIST_helper(_obj4
);
1651 if (_arg4
== NULL
) {
1658 if (! wxPoint_helper(_obj6
, &_arg6
))
1663 _arg3
= PyList_Size(_obj4
);
1670 wxPy_BEGIN_ALLOW_THREADS
;
1671 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1673 wxPy_END_ALLOW_THREADS
;
1675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1676 _resultobj
= Py_BuildValue("s",_ptemp
);
1679 _resultobj
= Py_None
;
1695 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1696 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1699 wxSingleChoiceDialog
* _arg0
;
1700 PyObject
* _argo0
= 0;
1701 char *_kwnames
[] = { "self", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1714 wxPy_BEGIN_ALLOW_THREADS
;
1715 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1717 wxPy_END_ALLOW_THREADS
;
1718 } _resultobj
= Py_BuildValue("i",_result
);
1722 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1723 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1726 wxSingleChoiceDialog
* _arg0
;
1727 PyObject
* _argo0
= 0;
1728 char *_kwnames
[] = { "self", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1741 wxPy_BEGIN_ALLOW_THREADS
;
1742 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1744 wxPy_END_ALLOW_THREADS
;
1746 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1754 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1755 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1757 wxSingleChoiceDialog
* _arg0
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "self","sel", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1773 wxPy_BEGIN_ALLOW_THREADS
;
1774 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1776 wxPy_END_ALLOW_THREADS
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1783 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1786 wxSingleChoiceDialog
* _arg0
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1801 wxPy_BEGIN_ALLOW_THREADS
;
1802 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1804 wxPy_END_ALLOW_THREADS
;
1805 } _resultobj
= Py_BuildValue("i",_result
);
1809 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1810 wxTextEntryDialog
*src
;
1812 src
= (wxTextEntryDialog
*) ptr
;
1813 dest
= (wxDialog
*) src
;
1814 return (void *) dest
;
1817 static void *SwigwxTextEntryDialogTowxPanel(void *ptr
) {
1818 wxTextEntryDialog
*src
;
1820 src
= (wxTextEntryDialog
*) ptr
;
1821 dest
= (wxPanel
*) src
;
1822 return (void *) dest
;
1825 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1826 wxTextEntryDialog
*src
;
1828 src
= (wxTextEntryDialog
*) ptr
;
1829 dest
= (wxWindow
*) src
;
1830 return (void *) dest
;
1833 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1834 wxTextEntryDialog
*src
;
1836 src
= (wxTextEntryDialog
*) ptr
;
1837 dest
= (wxEvtHandler
*) src
;
1838 return (void *) dest
;
1841 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
1842 wxTextEntryDialog
*src
;
1844 src
= (wxTextEntryDialog
*) ptr
;
1845 dest
= (wxObject
*) src
;
1846 return (void *) dest
;
1849 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1850 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1852 wxTextEntryDialog
* _result
;
1855 char * _arg2
= (char *) "Input Text";
1856 char * _arg3
= (char *) "";
1857 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1858 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
1859 PyObject
* _argo0
= 0;
1861 PyObject
* _obj5
= 0;
1862 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1878 if (! wxPoint_helper(_obj5
, &_arg5
))
1882 wxPy_BEGIN_ALLOW_THREADS
;
1883 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
1885 wxPy_END_ALLOW_THREADS
;
1887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
1888 _resultobj
= Py_BuildValue("s",_ptemp
);
1891 _resultobj
= Py_None
;
1896 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1897 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1900 wxTextEntryDialog
* _arg0
;
1901 PyObject
* _argo0
= 0;
1902 char *_kwnames
[] = { "self", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
1918 wxPy_END_ALLOW_THREADS
;
1920 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1928 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1929 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1931 wxTextEntryDialog
* _arg0
;
1933 PyObject
* _argo0
= 0;
1934 PyObject
* _obj1
= 0;
1935 char *_kwnames
[] = { "self","value", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1948 #if PYTHON_API_VERSION >= 1009
1949 char* tmpPtr
; int tmpSize
;
1950 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1951 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1954 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1956 _arg1
= new wxString(tmpPtr
, tmpSize
);
1958 if (!PyString_Check(_obj1
)) {
1959 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1962 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
1969 wxPy_END_ALLOW_THREADS
;
1970 } Py_INCREF(Py_None
);
1971 _resultobj
= Py_None
;
1979 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1980 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1983 wxTextEntryDialog
* _arg0
;
1984 PyObject
* _argo0
= 0;
1985 char *_kwnames
[] = { "self", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2001 wxPy_END_ALLOW_THREADS
;
2002 } _resultobj
= Py_BuildValue("i",_result
);
2006 static void *SwigwxFontDataTowxObject(void *ptr
) {
2009 src
= (wxFontData
*) ptr
;
2010 dest
= (wxObject
*) src
;
2011 return (void *) dest
;
2014 #define new_wxFontData() (new wxFontData())
2015 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2017 wxFontData
* _result
;
2018 char *_kwnames
[] = { NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 _result
= (wxFontData
*)new_wxFontData();
2028 wxPy_END_ALLOW_THREADS
;
2030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2031 _resultobj
= Py_BuildValue("s",_ptemp
);
2034 _resultobj
= Py_None
;
2039 #define delete_wxFontData(_swigobj) (delete _swigobj)
2040 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2043 PyObject
* _argo0
= 0;
2044 char *_kwnames
[] = { "self", NULL
};
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 delete_wxFontData(_arg0
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } Py_INCREF(Py_None
);
2062 _resultobj
= Py_None
;
2066 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2067 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2071 PyObject
* _argo0
= 0;
2073 char *_kwnames
[] = { "self","enable", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2085 _arg1
= (bool ) tempbool1
;
2087 wxPy_BEGIN_ALLOW_THREADS
;
2088 wxFontData_EnableEffects(_arg0
,_arg1
);
2090 wxPy_END_ALLOW_THREADS
;
2091 } Py_INCREF(Py_None
);
2092 _resultobj
= Py_None
;
2096 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2097 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2101 PyObject
* _argo0
= 0;
2102 char *_kwnames
[] = { "self", NULL
};
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2115 wxPy_BEGIN_ALLOW_THREADS
;
2116 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2118 wxPy_END_ALLOW_THREADS
;
2119 } _resultobj
= Py_BuildValue("i",_result
);
2123 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2124 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
* _resultobj
;
2128 PyObject
* _argo0
= 0;
2129 char *_kwnames
[] = { "self", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 wxColour
& _result_ref
= wxFontData_GetColour(_arg0
);
2145 _result
= (wxColour
*) &_result_ref
;
2147 wxPy_END_ALLOW_THREADS
;
2149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2150 _resultobj
= Py_BuildValue("s",_ptemp
);
2153 _resultobj
= Py_None
;
2158 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2159 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2163 PyObject
* _argo0
= 0;
2164 char *_kwnames
[] = { "self", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2178 wxPy_BEGIN_ALLOW_THREADS
;
2179 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2181 wxPy_END_ALLOW_THREADS
;
2182 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2183 _resultobj
= Py_BuildValue("s",_ptemp
);
2187 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2188 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2209 wxPy_END_ALLOW_THREADS
;
2210 } _resultobj
= Py_BuildValue("i",_result
);
2214 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2215 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2219 PyObject
* _argo0
= 0;
2220 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2237 wxPy_END_ALLOW_THREADS
;
2238 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2239 _resultobj
= Py_BuildValue("s",_ptemp
);
2243 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2244 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2248 PyObject
* _argo0
= 0;
2249 char *_kwnames
[] = { "self", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2265 wxPy_END_ALLOW_THREADS
;
2266 } _resultobj
= Py_BuildValue("i",_result
);
2270 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2271 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2275 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2289 _arg1
= (bool ) tempbool1
;
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2294 wxPy_END_ALLOW_THREADS
;
2295 } Py_INCREF(Py_None
);
2296 _resultobj
= Py_None
;
2300 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2301 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2305 PyObject
* _argo0
= 0;
2306 PyObject
* _argo1
= 0;
2307 char *_kwnames
[] = { "self","font", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2327 wxPy_BEGIN_ALLOW_THREADS
;
2328 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2330 wxPy_END_ALLOW_THREADS
;
2331 } Py_INCREF(Py_None
);
2332 _resultobj
= Py_None
;
2336 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2337 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2341 PyObject
* _argo0
= 0;
2343 PyObject
* _obj1
= 0;
2344 char *_kwnames
[] = { "self","colour", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2358 if (! wxColour_helper(_obj1
, &_arg1
))
2362 wxPy_BEGIN_ALLOW_THREADS
;
2363 wxFontData_SetColour(_arg0
,*_arg1
);
2365 wxPy_END_ALLOW_THREADS
;
2366 } Py_INCREF(Py_None
);
2367 _resultobj
= Py_None
;
2371 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2372 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2376 PyObject
* _argo0
= 0;
2377 PyObject
* _argo1
= 0;
2378 char *_kwnames
[] = { "self","font", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2401 wxPy_END_ALLOW_THREADS
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2407 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2408 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2413 PyObject
* _argo0
= 0;
2414 char *_kwnames
[] = { "self","min","max", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2427 wxPy_BEGIN_ALLOW_THREADS
;
2428 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2430 wxPy_END_ALLOW_THREADS
;
2431 } Py_INCREF(Py_None
);
2432 _resultobj
= Py_None
;
2436 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2437 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2441 PyObject
* _argo0
= 0;
2443 char *_kwnames
[] = { "self","showHelp", NULL
};
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2455 _arg1
= (bool ) tempbool1
;
2457 wxPy_BEGIN_ALLOW_THREADS
;
2458 wxFontData_SetShowHelp(_arg0
,_arg1
);
2460 wxPy_END_ALLOW_THREADS
;
2461 } Py_INCREF(Py_None
);
2462 _resultobj
= Py_None
;
2466 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2469 src
= (wxFontDialog
*) ptr
;
2470 dest
= (wxDialog
*) src
;
2471 return (void *) dest
;
2474 static void *SwigwxFontDialogTowxPanel(void *ptr
) {
2477 src
= (wxFontDialog
*) ptr
;
2478 dest
= (wxPanel
*) src
;
2479 return (void *) dest
;
2482 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2485 src
= (wxFontDialog
*) ptr
;
2486 dest
= (wxWindow
*) src
;
2487 return (void *) dest
;
2490 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2493 src
= (wxFontDialog
*) ptr
;
2494 dest
= (wxEvtHandler
*) src
;
2495 return (void *) dest
;
2498 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2501 src
= (wxFontDialog
*) ptr
;
2502 dest
= (wxObject
*) src
;
2503 return (void *) dest
;
2506 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2507 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2509 wxFontDialog
* _result
;
2512 PyObject
* _argo0
= 0;
2513 PyObject
* _argo1
= 0;
2514 char *_kwnames
[] = { "parent","data", NULL
};
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2538 wxPy_END_ALLOW_THREADS
;
2540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2541 _resultobj
= Py_BuildValue("s",_ptemp
);
2544 _resultobj
= Py_None
;
2549 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2550 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
* _resultobj
;
2552 wxFontData
* _result
;
2553 wxFontDialog
* _arg0
;
2554 PyObject
* _argo0
= 0;
2555 char *_kwnames
[] = { "self", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2569 wxPy_BEGIN_ALLOW_THREADS
;
2570 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2571 _result
= (wxFontData
*) &_result_ref
;
2573 wxPy_END_ALLOW_THREADS
;
2575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2576 _resultobj
= Py_BuildValue("s",_ptemp
);
2579 _resultobj
= Py_None
;
2584 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2585 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2588 wxFontDialog
* _arg0
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2606 wxPy_END_ALLOW_THREADS
;
2607 } _resultobj
= Py_BuildValue("i",_result
);
2611 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2612 wxMessageDialog
*src
;
2614 src
= (wxMessageDialog
*) ptr
;
2615 dest
= (wxDialog
*) src
;
2616 return (void *) dest
;
2619 static void *SwigwxMessageDialogTowxPanel(void *ptr
) {
2620 wxMessageDialog
*src
;
2622 src
= (wxMessageDialog
*) ptr
;
2623 dest
= (wxPanel
*) src
;
2624 return (void *) dest
;
2627 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2628 wxMessageDialog
*src
;
2630 src
= (wxMessageDialog
*) ptr
;
2631 dest
= (wxWindow
*) src
;
2632 return (void *) dest
;
2635 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2636 wxMessageDialog
*src
;
2638 src
= (wxMessageDialog
*) ptr
;
2639 dest
= (wxEvtHandler
*) src
;
2640 return (void *) dest
;
2643 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2644 wxMessageDialog
*src
;
2646 src
= (wxMessageDialog
*) ptr
;
2647 dest
= (wxObject
*) src
;
2648 return (void *) dest
;
2651 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2652 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2653 PyObject
* _resultobj
;
2654 wxMessageDialog
* _result
;
2657 char * _arg2
= (char *) "Message box";
2658 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2659 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2660 PyObject
* _argo0
= 0;
2662 PyObject
* _obj4
= 0;
2663 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2679 if (! wxPoint_helper(_obj4
, &_arg4
))
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2686 wxPy_END_ALLOW_THREADS
;
2688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2689 _resultobj
= Py_BuildValue("s",_ptemp
);
2692 _resultobj
= Py_None
;
2697 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2698 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2701 wxMessageDialog
* _arg0
;
2702 PyObject
* _argo0
= 0;
2703 char *_kwnames
[] = { "self", NULL
};
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2719 wxPy_END_ALLOW_THREADS
;
2720 } _resultobj
= Py_BuildValue("i",_result
);
2724 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2725 wxProgressDialog
*src
;
2727 src
= (wxProgressDialog
*) ptr
;
2728 dest
= (wxFrame
*) src
;
2729 return (void *) dest
;
2732 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2733 wxProgressDialog
*src
;
2735 src
= (wxProgressDialog
*) ptr
;
2736 dest
= (wxWindow
*) src
;
2737 return (void *) dest
;
2740 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
2741 wxProgressDialog
*src
;
2743 src
= (wxProgressDialog
*) ptr
;
2744 dest
= (wxEvtHandler
*) src
;
2745 return (void *) dest
;
2748 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
2749 wxProgressDialog
*src
;
2751 src
= (wxProgressDialog
*) ptr
;
2752 dest
= (wxObject
*) src
;
2753 return (void *) dest
;
2756 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2757 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2759 wxProgressDialog
* _result
;
2762 int _arg2
= (int ) 100;
2763 wxWindow
* _arg3
= (wxWindow
*) NULL
;
2764 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
2765 PyObject
* _obj0
= 0;
2766 PyObject
* _obj1
= 0;
2767 PyObject
* _argo3
= 0;
2768 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
2775 #if PYTHON_API_VERSION >= 1009
2776 char* tmpPtr
; int tmpSize
;
2777 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2778 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2781 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2783 _arg0
= new wxString(tmpPtr
, tmpSize
);
2785 if (!PyString_Check(_obj0
)) {
2786 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2789 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2793 #if PYTHON_API_VERSION >= 1009
2794 char* tmpPtr
; int tmpSize
;
2795 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2799 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2801 _arg1
= new wxString(tmpPtr
, tmpSize
);
2803 if (!PyString_Check(_obj1
)) {
2804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2807 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2811 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2818 wxPy_BEGIN_ALLOW_THREADS
;
2819 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2821 wxPy_END_ALLOW_THREADS
;
2823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
2824 _resultobj
= Py_BuildValue("s",_ptemp
);
2827 _resultobj
= Py_None
;
2840 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2841 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2844 wxProgressDialog
* _arg0
;
2845 int _arg1
= (int ) -1;
2846 char * _arg2
= (char *) NULL
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self","value","newmsg", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } _resultobj
= Py_BuildValue("i",_result
);
2869 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2870 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2872 wxProgressDialog
* _arg0
;
2873 PyObject
* _argo0
= 0;
2874 char *_kwnames
[] = { "self", NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
2880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
2887 wxPy_BEGIN_ALLOW_THREADS
;
2888 wxProgressDialog_Resume(_arg0
);
2890 wxPy_END_ALLOW_THREADS
;
2891 } Py_INCREF(Py_None
);
2892 _resultobj
= Py_None
;
2896 static PyMethodDef cmndlgscMethods
[] = {
2897 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
2898 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
2899 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
2900 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2901 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
2902 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2903 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
2904 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
2905 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2906 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
2907 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2908 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
2909 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2910 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2911 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2912 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2913 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2914 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2915 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
2916 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2917 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2918 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2919 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2920 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2921 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
2922 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
2923 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
2924 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2925 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2926 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
2927 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2928 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
2929 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
2930 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
2931 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2932 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2933 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2934 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2935 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2936 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2937 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2938 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2939 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2940 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2941 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2942 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2943 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2944 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2945 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2946 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
2947 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2948 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2949 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2950 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2951 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2952 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2953 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
2954 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2955 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
2956 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
2957 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
2958 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
2959 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
2960 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
2961 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
2962 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
2963 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
2964 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
2971 * This table is used by the pointer type-checker
2973 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2974 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2975 { "_wxEvent","_class_wxEvent",0},
2976 { "_class_wxActivateEvent","_wxActivateEvent",0},
2977 { "_signed_long","_long",0},
2978 { "_wxMenuEvent","_class_wxMenuEvent",0},
2979 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2980 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2981 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2982 { "_wxPrintQuality","_wxCoord",0},
2983 { "_wxPrintQuality","_int",0},
2984 { "_wxPrintQuality","_signed_int",0},
2985 { "_wxPrintQuality","_unsigned_int",0},
2986 { "_wxPrintQuality","_wxWindowID",0},
2987 { "_wxPrintQuality","_uint",0},
2988 { "_wxPrintQuality","_EBool",0},
2989 { "_wxPrintQuality","_size_t",0},
2990 { "_wxPrintQuality","_time_t",0},
2991 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2992 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2993 { "_wxFontData","_class_wxFontData",0},
2994 { "_class_wxRegionIterator","_wxRegionIterator",0},
2995 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2996 { "_class_wxMenuBar","_wxMenuBar",0},
2997 { "_class_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
2998 { "_class_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
2999 { "_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3000 { "_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3001 { "_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3002 { "_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3003 { "_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3004 { "_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3005 { "_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3006 { "_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3007 { "_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3008 { "_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3009 { "_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3010 { "_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3011 { "_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3012 { "_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3013 { "_class_wxEvtHandler","_wxEvtHandler",0},
3014 { "_wxPaintEvent","_class_wxPaintEvent",0},
3015 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3016 { "_wxCursor","_class_wxCursor",0},
3017 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3018 { "_class_wxToolBarBase","_wxToolBarBase",0},
3019 { "_wxMask","_class_wxMask",0},
3020 { "_class_wxColourData","_wxColourData",0},
3021 { "_wxPen","_class_wxPen",0},
3022 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3023 { "_byte","_unsigned_char",0},
3024 { "_wxDataObject","_class_wxDataObject",0},
3025 { "_wxStaticBox","_class_wxStaticBox",0},
3026 { "_wxColourDatabase","_class_wxColourDatabase",0},
3027 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3028 { "_wxPyDropSource","_class_wxPyDropSource",0},
3029 { "_wxChoice","_class_wxChoice",0},
3030 { "_wxSlider","_class_wxSlider",0},
3031 { "_long","_unsigned_long",0},
3032 { "_long","_signed_long",0},
3033 { "_wxImageList","_class_wxImageList",0},
3034 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3035 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3036 { "_wxBitmapButton","_class_wxBitmapButton",0},
3037 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3038 { "_class_wxClipboard","_wxClipboard",0},
3039 { "_class_wxGauge","_wxGauge",0},
3040 { "_wxGDIObject","_class_wxGDIObject",0},
3041 { "_wxDC","_class_wxDC",0},
3042 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3043 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
3044 { "_wxProgressDialog","_class_wxProgressDialog",0},
3045 { "_class_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3046 { "_class_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3047 { "_class_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3048 { "_class_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3049 { "_class_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject
},
3050 { "_class_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
3051 { "_class_wxObject","_class_wxFontData",SwigwxFontDataTowxObject
},
3052 { "_class_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
3053 { "_class_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3054 { "_class_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3055 { "_class_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3056 { "_class_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3057 { "_class_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject
},
3058 { "_class_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
3059 { "_class_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject
},
3060 { "_class_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
3061 { "_class_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject
},
3062 { "_class_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
3063 { "_class_wxObject","_class_wxColourData",SwigwxColourDataTowxObject
},
3064 { "_class_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
3065 { "_class_wxObject","_wxObject",0},
3066 { "_wxSpinEvent","_class_wxSpinEvent",0},
3067 { "_size_t","_wxCoord",0},
3068 { "_size_t","_wxPrintQuality",0},
3069 { "_size_t","_time_t",0},
3070 { "_size_t","_unsigned_int",0},
3071 { "_size_t","_int",0},
3072 { "_size_t","_wxWindowID",0},
3073 { "_size_t","_uint",0},
3074 { "_class_wxRealPoint","_wxRealPoint",0},
3075 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
3076 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
3077 { "_class_wxMenuItem","_wxMenuItem",0},
3078 { "_class_wxPaintEvent","_wxPaintEvent",0},
3079 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3080 { "_class_wxStatusBar","_wxStatusBar",0},
3081 { "_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
3082 { "_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
3083 { "_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel
},
3084 { "_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel
},
3085 { "_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
3086 { "_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
3087 { "_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
3088 { "_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
3089 { "_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel
},
3090 { "_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel
},
3091 { "_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel
},
3092 { "_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel
},
3093 { "_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel
},
3094 { "_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel
},
3095 { "_wxPanel","_class_wxPanel",0},
3096 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3097 { "_wxCheckBox","_class_wxCheckBox",0},
3098 { "_wxPyEvent","_class_wxPyEvent",0},
3099 { "_wxTextCtrl","_class_wxTextCtrl",0},
3100 { "_class_wxMask","_wxMask",0},
3101 { "_wxTextDataObject","_class_wxTextDataObject",0},
3102 { "_class_wxKeyEvent","_wxKeyEvent",0},
3103 { "_wxColour","_class_wxColour",0},
3104 { "_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3105 { "_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3106 { "_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
3107 { "_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
3108 { "_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3109 { "_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3110 { "_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3111 { "_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3112 { "_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
3113 { "_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
3114 { "_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
3115 { "_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
3116 { "_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
3117 { "_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
3118 { "_class_wxDialog","_wxDialog",0},
3119 { "_class_wxFileDataObject","_wxFileDataObject",0},
3120 { "_wxIdleEvent","_class_wxIdleEvent",0},
3121 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3122 { "_wxToolBar","_class_wxToolBar",0},
3123 { "_class_wxDataObject","_wxDataObject",0},
3124 { "_wxStaticLine","_class_wxStaticLine",0},
3125 { "_wxBrush","_class_wxBrush",0},
3126 { "_wxToggleButton","_class_wxToggleButton",0},
3127 { "_wxMiniFrame","_class_wxMiniFrame",0},
3128 { "_wxDataFormat","_class_wxDataFormat",0},
3129 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3130 { "_wxShowEvent","_class_wxShowEvent",0},
3131 { "_uint","_wxCoord",0},
3132 { "_uint","_wxPrintQuality",0},
3133 { "_uint","_time_t",0},
3134 { "_uint","_size_t",0},
3135 { "_uint","_unsigned_int",0},
3136 { "_uint","_int",0},
3137 { "_uint","_wxWindowID",0},
3138 { "_wxChar","_char",0},
3139 { "_wxPyValidator","_class_wxPyValidator",0},
3140 { "_class_wxEvent","_wxEvent",0},
3141 { "_wxCheckListBox","_class_wxCheckListBox",0},
3142 { "_wxRect","_class_wxRect",0},
3143 { "_wxCommandEvent","_class_wxCommandEvent",0},
3144 { "_wxSizeEvent","_class_wxSizeEvent",0},
3145 { "_wxPoint","_class_wxPoint",0},
3146 { "_class_wxButton","_wxButton",0},
3147 { "_wxRadioBox","_class_wxRadioBox",0},
3148 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
3149 { "_class_wxFontData","_wxFontData",0},
3150 { "_char","_wxChar",0},
3151 { "_wxBitmap","_class_wxBitmap",0},
3152 { "_wxPenList","_class_wxPenList",0},
3153 { "_wxWindowDC","_class_wxWindowDC",0},
3154 { "_wxTimerEvent","_class_wxTimerEvent",0},
3155 { "_wxScrollBar","_class_wxScrollBar",0},
3156 { "_wxSpinButton","_class_wxSpinButton",0},
3157 { "_wxColourDialog","_class_wxColourDialog",0},
3158 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3159 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3160 { "_wxMessageDialog","_class_wxMessageDialog",0},
3161 { "_class_wxValidator","_wxValidator",0},
3162 { "_class_wxPyEvent","_wxPyEvent",0},
3163 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
3164 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3165 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3166 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
3167 { "_class_wxToolBar","_wxToolBar",0},
3168 { "_wxDropTarget","_class_wxDropTarget",0},
3169 { "_class_wxStaticLine","_wxStaticLine",0},
3170 { "_class_wxColourDatabase","_wxColourDatabase",0},
3171 { "_wxScrollEvent","_class_wxScrollEvent",0},
3172 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
3173 { "_EBool","_wxCoord",0},
3174 { "_EBool","_wxPrintQuality",0},
3175 { "_EBool","_signed_int",0},
3176 { "_EBool","_int",0},
3177 { "_EBool","_wxWindowID",0},
3178 { "_class_wxRegion","_wxRegion",0},
3179 { "_class_wxDataFormat","_wxDataFormat",0},
3180 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3181 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
3182 { "_wxStaticText","_class_wxStaticText",0},
3183 { "_wxFont","_class_wxFont",0},
3184 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3185 { "_wxCloseEvent","_class_wxCloseEvent",0},
3186 { "_unsigned_long","_long",0},
3187 { "_class_wxRect","_wxRect",0},
3188 { "_class_wxDC","_wxDC",0},
3189 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3190 { "_class_wxProgressDialog","_wxProgressDialog",0},
3191 { "_class_wxBrushList","_wxBrushList",0},
3192 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3193 { "_class_wxPenList","_wxPenList",0},
3194 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
3195 { "_class_wxDirDialog","_wxDirDialog",0},
3196 { "_wxFocusEvent","_class_wxFocusEvent",0},
3197 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3198 { "_class_wxTimerEvent","_wxTimerEvent",0},
3199 { "_class_wxSpinButton","_wxSpinButton",0},
3200 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3201 { "_class_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
3202 { "_class_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
3203 { "_class_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel
},
3204 { "_class_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel
},
3205 { "_class_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
3206 { "_class_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
3207 { "_class_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
3208 { "_class_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
3209 { "_class_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel
},
3210 { "_class_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel
},
3211 { "_class_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel
},
3212 { "_class_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel
},
3213 { "_class_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel
},
3214 { "_class_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel
},
3215 { "_class_wxPanel","_wxPanel",0},
3216 { "_class_wxCheckBox","_wxCheckBox",0},
3217 { "_wxComboBox","_class_wxComboBox",0},
3218 { "_wxRadioButton","_class_wxRadioButton",0},
3219 { "_class_wxMessageDialog","_wxMessageDialog",0},
3220 { "_signed_int","_wxCoord",0},
3221 { "_signed_int","_wxPrintQuality",0},
3222 { "_signed_int","_EBool",0},
3223 { "_signed_int","_wxWindowID",0},
3224 { "_signed_int","_int",0},
3225 { "_class_wxTextCtrl","_wxTextCtrl",0},
3226 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3227 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3228 { "_class_wxTextDataObject","_wxTextDataObject",0},
3229 { "_wxMenu","_class_wxMenu",0},
3230 { "_class_wxMoveEvent","_wxMoveEvent",0},
3231 { "_wxListBox","_class_wxListBox",0},
3232 { "_wxScreenDC","_class_wxScreenDC",0},
3233 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
3234 { "_WXTYPE","_short",0},
3235 { "_WXTYPE","_signed_short",0},
3236 { "_WXTYPE","_unsigned_short",0},
3237 { "_wxFileDialog","_class_wxFileDialog",0},
3238 { "_class_wxDropTarget","_wxDropTarget",0},
3239 { "_class_wxBrush","_wxBrush",0},
3240 { "_unsigned_short","_WXTYPE",0},
3241 { "_unsigned_short","_short",0},
3242 { "_class_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3243 { "_class_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3244 { "_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3245 { "_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3246 { "_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
3247 { "_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
3248 { "_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3249 { "_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3250 { "_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3251 { "_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3252 { "_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
3253 { "_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
3254 { "_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
3255 { "_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
3256 { "_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
3257 { "_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
3258 { "_class_wxWindow","_wxWindow",0},
3259 { "_class_wxStaticText","_wxStaticText",0},
3260 { "_class_wxFont","_wxFont",0},
3261 { "_wxClipboard","_class_wxClipboard",0},
3262 { "_class_wxPyValidator","_wxPyValidator",0},
3263 { "_class_wxCloseEvent","_wxCloseEvent",0},
3264 { "_wxBusyInfo","_class_wxBusyInfo",0},
3265 { "_wxFontList","_class_wxFontList",0},
3266 { "_class_wxMenuEvent","_wxMenuEvent",0},
3267 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3268 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3269 { "_wxClientDC","_class_wxClientDC",0},
3270 { "_wxMouseEvent","_class_wxMouseEvent",0},
3271 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
3272 { "_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3273 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3274 { "_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3275 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3276 { "_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject
},
3277 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
3278 { "_wxObject","_class_wxFontData",SwigwxFontDataTowxObject
},
3279 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
3280 { "_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3281 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3282 { "_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3283 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3284 { "_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject
},
3285 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
3286 { "_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject
},
3287 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
3288 { "_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject
},
3289 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
3290 { "_wxObject","_class_wxColourData",SwigwxColourDataTowxObject
},
3291 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
3292 { "_wxObject","_class_wxObject",0},
3293 { "_class_wxPoint","_wxPoint",0},
3294 { "_wxRealPoint","_class_wxRealPoint",0},
3295 { "_class_wxRadioBox","_wxRadioBox",0},
3296 { "_signed_short","_WXTYPE",0},
3297 { "_signed_short","_short",0},
3298 { "_wxMemoryDC","_class_wxMemoryDC",0},
3299 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3300 { "_wxPaintDC","_class_wxPaintDC",0},
3301 { "_class_wxWindowDC","_wxWindowDC",0},
3302 { "_class_wxFocusEvent","_wxFocusEvent",0},
3303 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3304 { "_wxStatusBar","_class_wxStatusBar",0},
3305 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3306 { "_class_wxCursor","_wxCursor",0},
3307 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3308 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3309 { "_unsigned_char","_byte",0},
3310 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3311 { "_class_wxMenu","_wxMenu",0},
3312 { "_wxControl","_class_wxControl",0},
3313 { "_class_wxListBox","_wxListBox",0},
3314 { "_unsigned_int","_wxCoord",0},
3315 { "_unsigned_int","_wxPrintQuality",0},
3316 { "_unsigned_int","_time_t",0},
3317 { "_unsigned_int","_size_t",0},
3318 { "_unsigned_int","_uint",0},
3319 { "_unsigned_int","_wxWindowID",0},
3320 { "_unsigned_int","_int",0},
3321 { "_wxIcon","_class_wxIcon",0},
3322 { "_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3323 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3324 { "_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
3325 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
3326 { "_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3327 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3328 { "_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3329 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3330 { "_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
3331 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
3332 { "_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
3333 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
3334 { "_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
3335 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
3336 { "_wxDialog","_class_wxDialog",0},
3337 { "_class_wxPen","_wxPen",0},
3338 { "_class_wxFileDialog","_wxFileDialog",0},
3339 { "_short","_WXTYPE",0},
3340 { "_short","_unsigned_short",0},
3341 { "_short","_signed_short",0},
3342 { "_class_wxStaticBox","_wxStaticBox",0},
3343 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3344 { "_class_wxPyDropSource","_wxPyDropSource",0},
3345 { "_class_wxScrollEvent","_wxScrollEvent",0},
3346 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3347 { "_class_wxChoice","_wxChoice",0},
3348 { "_class_wxSlider","_wxSlider",0},
3349 { "_class_wxImageList","_wxImageList",0},
3350 { "_class_wxBitmapButton","_wxBitmapButton",0},
3351 { "_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3352 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3353 { "_wxFrame","_class_wxFrame",0},
3354 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3355 { "_wxWindowID","_wxCoord",0},
3356 { "_wxWindowID","_wxPrintQuality",0},
3357 { "_wxWindowID","_time_t",0},
3358 { "_wxWindowID","_size_t",0},
3359 { "_wxWindowID","_EBool",0},
3360 { "_wxWindowID","_uint",0},
3361 { "_wxWindowID","_int",0},
3362 { "_wxWindowID","_signed_int",0},
3363 { "_wxWindowID","_unsigned_int",0},
3364 { "_class_wxGDIObject","_wxGDIObject",0},
3365 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3366 { "_int","_wxCoord",0},
3367 { "_int","_wxPrintQuality",0},
3368 { "_int","_time_t",0},
3369 { "_int","_size_t",0},
3370 { "_int","_EBool",0},
3371 { "_int","_uint",0},
3372 { "_int","_wxWindowID",0},
3373 { "_int","_unsigned_int",0},
3374 { "_int","_signed_int",0},
3375 { "_class_wxMouseEvent","_wxMouseEvent",0},
3376 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3377 { "_class_wxSpinEvent","_wxSpinEvent",0},
3378 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3379 { "_time_t","_wxCoord",0},
3380 { "_time_t","_wxPrintQuality",0},
3381 { "_time_t","_unsigned_int",0},
3382 { "_time_t","_int",0},
3383 { "_time_t","_wxWindowID",0},
3384 { "_time_t","_uint",0},
3385 { "_time_t","_size_t",0},
3386 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3387 { "_wxButton","_class_wxButton",0},
3388 { "_wxSize","_class_wxSize",0},
3389 { "_wxRegionIterator","_class_wxRegionIterator",0},
3390 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3391 { "_class_wxPaintDC","_wxPaintDC",0},
3392 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3393 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3394 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3395 { "_class_wxComboBox","_wxComboBox",0},
3396 { "_class_wxRadioButton","_wxRadioButton",0},
3397 { "_wxValidator","_class_wxValidator",0},
3398 { "_wxToolBarBase","_class_wxToolBarBase",0},
3399 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3400 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3401 { "_class_wxControl","_wxControl",0},
3402 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3403 { "_class_wxIcon","_wxIcon",0},
3404 { "_class_wxColour","_wxColour",0},
3405 { "_class_wxScreenDC","_wxScreenDC",0},
3406 { "_wxPalette","_class_wxPalette",0},
3407 { "_class_wxIdleEvent","_wxIdleEvent",0},
3408 { "_wxCoord","_int",0},
3409 { "_wxCoord","_signed_int",0},
3410 { "_wxCoord","_unsigned_int",0},
3411 { "_wxCoord","_wxWindowID",0},
3412 { "_wxCoord","_uint",0},
3413 { "_wxCoord","_EBool",0},
3414 { "_wxCoord","_size_t",0},
3415 { "_wxCoord","_time_t",0},
3416 { "_wxCoord","_wxPrintQuality",0},
3417 { "_wxEraseEvent","_class_wxEraseEvent",0},
3418 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3419 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3420 { "_class_wxToggleButton","_wxToggleButton",0},
3421 { "_class_wxMiniFrame","_wxMiniFrame",0},
3422 { "_wxFontDialog","_class_wxFontDialog",0},
3423 { "_wxRegion","_class_wxRegion",0},
3424 { "_class_wxShowEvent","_wxShowEvent",0},
3425 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3426 { "_wxActivateEvent","_class_wxActivateEvent",0},
3427 { "_wxGauge","_class_wxGauge",0},
3428 { "_class_wxCheckListBox","_wxCheckListBox",0},
3429 { "_class_wxBusyInfo","_wxBusyInfo",0},
3430 { "_class_wxFontList","_wxFontList",0},
3431 { "_class_wxCommandEvent","_wxCommandEvent",0},
3432 { "_class_wxClientDC","_wxClientDC",0},
3433 { "_class_wxSizeEvent","_wxSizeEvent",0},
3434 { "_wxBrushList","_class_wxBrushList",0},
3435 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3436 { "_class_wxSize","_wxSize",0},
3437 { "_class_wxBitmap","_wxBitmap",0},
3438 { "_class_wxMemoryDC","_wxMemoryDC",0},
3439 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3440 { "_wxMenuBar","_class_wxMenuBar",0},
3441 { "_wxDirDialog","_class_wxDirDialog",0},
3442 { "_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3443 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3444 { "_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3445 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3446 { "_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3447 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3448 { "_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3449 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3450 { "_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3451 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3452 { "_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3453 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3454 { "_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3455 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3456 { "_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3457 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3458 { "_wxEvtHandler","_class_wxEvtHandler",0},
3459 { "_wxMenuItem","_class_wxMenuItem",0},
3460 { "_class_wxScrollBar","_wxScrollBar",0},
3461 { "_class_wxColourDialog","_wxColourDialog",0},
3462 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3463 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
3464 { "_wxKeyEvent","_class_wxKeyEvent",0},
3465 { "_wxMoveEvent","_class_wxMoveEvent",0},
3466 { "_wxColourData","_class_wxColourData",0},
3467 { "_class_wxPalette","_wxPalette",0},
3468 { "_wxFileDataObject","_class_wxFileDataObject",0},
3469 { "_class_wxEraseEvent","_wxEraseEvent",0},
3470 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3471 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
3472 { "_class_wxFontDialog","_wxFontDialog",0},
3473 { "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3474 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3475 { "_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3476 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3477 { "_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
3478 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
3479 { "_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3480 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3481 { "_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3482 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3483 { "_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
3484 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
3485 { "_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
3486 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
3487 { "_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
3488 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
3489 { "_wxWindow","_class_wxWindow",0},
3490 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3491 { "_class_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3492 { "_class_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3493 { "_class_wxFrame","_wxFrame",0},
3496 static PyObject
*SWIG_globals
;
3500 SWIGEXPORT(void) initcmndlgsc() {
3502 SWIG_globals
= SWIG_newvarlink();
3503 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
3504 d
= PyModule_GetDict(m
);
3507 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3508 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);