2 * FILE : gtk/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcmndlgsc
54 #define SWIG_name "cmndlgsc"
57 #include <wx/colordlg.h>
58 #include <wx/dirdlg.h>
59 #include <wx/fontdlg.h>
60 #include <wx/progdlg.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
113 #define new_wxColourData() (new wxColourData())
114 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
115 PyObject
* _resultobj
;
116 wxColourData
* _result
;
117 char *_kwnames
[] = { NULL
};
121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
124 wxPy_BEGIN_ALLOW_THREADS
;
125 _result
= (wxColourData
*)new_wxColourData();
127 wxPy_END_ALLOW_THREADS
;
129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
130 _resultobj
= Py_BuildValue("s",_ptemp
);
133 _resultobj
= Py_None
;
138 #define delete_wxColourData(_swigobj) (delete _swigobj)
139 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
141 wxColourData
* _arg0
;
142 PyObject
* _argo0
= 0;
143 char *_kwnames
[] = { "self", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
156 wxPy_BEGIN_ALLOW_THREADS
;
157 delete_wxColourData(_arg0
);
159 wxPy_END_ALLOW_THREADS
;
160 } Py_INCREF(Py_None
);
161 _resultobj
= Py_None
;
165 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
166 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
167 PyObject
* _resultobj
;
169 wxColourData
* _arg0
;
170 PyObject
* _argo0
= 0;
171 char *_kwnames
[] = { "self", NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
184 wxPy_BEGIN_ALLOW_THREADS
;
185 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
187 wxPy_END_ALLOW_THREADS
;
188 } _resultobj
= Py_BuildValue("i",_result
);
192 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
193 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
196 wxColourData
* _arg0
;
197 PyObject
* _argo0
= 0;
198 char *_kwnames
[] = { "self", NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
212 wxPy_BEGIN_ALLOW_THREADS
;
213 wxColour
& _result_ref
= wxColourData_GetColour(_arg0
);
214 _result
= (wxColour
*) &_result_ref
;
216 wxPy_END_ALLOW_THREADS
;
218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
219 _resultobj
= Py_BuildValue("s",_ptemp
);
222 _resultobj
= Py_None
;
227 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
228 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
231 wxColourData
* _arg0
;
233 PyObject
* _argo0
= 0;
234 char *_kwnames
[] = { "self","i", NULL
};
238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
248 wxPy_BEGIN_ALLOW_THREADS
;
249 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
251 wxPy_END_ALLOW_THREADS
;
252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
253 _resultobj
= Py_BuildValue("s",_ptemp
);
257 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
258 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
259 PyObject
* _resultobj
;
260 wxColourData
* _arg0
;
262 PyObject
* _argo0
= 0;
263 char *_kwnames
[] = { "self","flag", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
276 wxPy_BEGIN_ALLOW_THREADS
;
277 wxColourData_SetChooseFull(_arg0
,_arg1
);
279 wxPy_END_ALLOW_THREADS
;
280 } Py_INCREF(Py_None
);
281 _resultobj
= Py_None
;
285 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
286 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
288 wxColourData
* _arg0
;
290 PyObject
* _argo0
= 0;
291 PyObject
* _argo1
= 0;
292 char *_kwnames
[] = { "self","colour", NULL
};
295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_argo1
))
298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxColourData_SetColour. Expected _wxColour_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 wxColourData_SetColour(_arg0
,*_arg1
);
315 wxPy_END_ALLOW_THREADS
;
316 } Py_INCREF(Py_None
);
317 _resultobj
= Py_None
;
321 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
322 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
324 wxColourData
* _arg0
;
327 PyObject
* _argo0
= 0;
328 PyObject
* _argo2
= 0;
329 char *_kwnames
[] = { "self","i","colour", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
342 if (_argo2
== Py_None
) { _arg2
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxColourData_SetCustomColour. Expected _wxColour_p.");
349 wxPy_BEGIN_ALLOW_THREADS
;
350 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
352 wxPy_END_ALLOW_THREADS
;
353 } Py_INCREF(Py_None
);
354 _resultobj
= Py_None
;
358 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
361 src
= (wxColourDialog
*) ptr
;
362 dest
= (wxDialog
*) src
;
363 return (void *) dest
;
366 static void *SwigwxColourDialogTowxPanel(void *ptr
) {
369 src
= (wxColourDialog
*) ptr
;
370 dest
= (wxPanel
*) src
;
371 return (void *) dest
;
374 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
377 src
= (wxColourDialog
*) ptr
;
378 dest
= (wxWindow
*) src
;
379 return (void *) dest
;
382 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
385 src
= (wxColourDialog
*) ptr
;
386 dest
= (wxEvtHandler
*) src
;
387 return (void *) dest
;
390 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
391 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
393 wxColourDialog
* _result
;
395 wxColourData
* _arg1
= (wxColourData
*) NULL
;
396 PyObject
* _argo0
= 0;
397 PyObject
* _argo1
= 0;
398 char *_kwnames
[] = { "parent","data", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
419 wxPy_BEGIN_ALLOW_THREADS
;
420 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
422 wxPy_END_ALLOW_THREADS
;
424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
425 _resultobj
= Py_BuildValue("s",_ptemp
);
428 _resultobj
= Py_None
;
433 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
434 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
436 wxColourData
* _result
;
437 wxColourDialog
* _arg0
;
438 PyObject
* _argo0
= 0;
439 char *_kwnames
[] = { "self", NULL
};
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
453 wxPy_BEGIN_ALLOW_THREADS
;
454 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
455 _result
= (wxColourData
*) &_result_ref
;
457 wxPy_END_ALLOW_THREADS
;
459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
460 _resultobj
= Py_BuildValue("s",_ptemp
);
463 _resultobj
= Py_None
;
468 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
469 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
470 PyObject
* _resultobj
;
472 wxColourDialog
* _arg0
;
473 PyObject
* _argo0
= 0;
474 char *_kwnames
[] = { "self", NULL
};
477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
487 wxPy_BEGIN_ALLOW_THREADS
;
488 _result
= (int )wxColourDialog_ShowModal(_arg0
);
490 wxPy_END_ALLOW_THREADS
;
491 } _resultobj
= Py_BuildValue("i",_result
);
495 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
498 src
= (wxDirDialog
*) ptr
;
499 dest
= (wxDialog
*) src
;
500 return (void *) dest
;
503 static void *SwigwxDirDialogTowxPanel(void *ptr
) {
506 src
= (wxDirDialog
*) ptr
;
507 dest
= (wxPanel
*) src
;
508 return (void *) dest
;
511 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
514 src
= (wxDirDialog
*) ptr
;
515 dest
= (wxWindow
*) src
;
516 return (void *) dest
;
519 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
522 src
= (wxDirDialog
*) ptr
;
523 dest
= (wxEvtHandler
*) src
;
524 return (void *) dest
;
527 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
528 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
530 wxDirDialog
* _result
;
532 char * _arg1
= (char *) "Choose a directory";
533 char * _arg2
= (char *) "";
534 long _arg3
= (long ) 0;
535 wxPoint
* _arg4
= (wxPoint
*) &wxPyDefaultPosition
;
536 PyObject
* _argo0
= 0;
538 PyObject
* _obj4
= 0;
539 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
555 if (! wxPoint_helper(_obj4
, &_arg4
))
559 wxPy_BEGIN_ALLOW_THREADS
;
560 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
562 wxPy_END_ALLOW_THREADS
;
564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
565 _resultobj
= Py_BuildValue("s",_ptemp
);
568 _resultobj
= Py_None
;
573 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
574 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
578 PyObject
* _argo0
= 0;
579 char *_kwnames
[] = { "self", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
592 wxPy_BEGIN_ALLOW_THREADS
;
593 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
595 wxPy_END_ALLOW_THREADS
;
597 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
605 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
606 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
610 PyObject
* _argo0
= 0;
611 char *_kwnames
[] = { "self", NULL
};
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
624 wxPy_BEGIN_ALLOW_THREADS
;
625 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
627 wxPy_END_ALLOW_THREADS
;
629 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
637 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
638 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
639 PyObject
* _resultobj
;
642 PyObject
* _argo0
= 0;
643 char *_kwnames
[] = { "self", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
656 wxPy_BEGIN_ALLOW_THREADS
;
657 _result
= (long )wxDirDialog_GetStyle(_arg0
);
659 wxPy_END_ALLOW_THREADS
;
660 } _resultobj
= Py_BuildValue("l",_result
);
664 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
665 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
669 PyObject
* _argo0
= 0;
670 PyObject
* _obj1
= 0;
671 char *_kwnames
[] = { "self","message", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
684 if (!PyString_Check(_obj1
)) {
685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
688 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
691 wxPy_BEGIN_ALLOW_THREADS
;
692 wxDirDialog_SetMessage(_arg0
,*_arg1
);
694 wxPy_END_ALLOW_THREADS
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
704 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
705 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
709 PyObject
* _argo0
= 0;
710 PyObject
* _obj1
= 0;
711 char *_kwnames
[] = { "self","path", NULL
};
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
724 if (!PyString_Check(_obj1
)) {
725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
728 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
731 wxPy_BEGIN_ALLOW_THREADS
;
732 wxDirDialog_SetPath(_arg0
,*_arg1
);
734 wxPy_END_ALLOW_THREADS
;
735 } Py_INCREF(Py_None
);
736 _resultobj
= Py_None
;
744 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
745 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
749 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
763 wxPy_BEGIN_ALLOW_THREADS
;
764 _result
= (int )wxDirDialog_ShowModal(_arg0
);
766 wxPy_END_ALLOW_THREADS
;
767 } _resultobj
= Py_BuildValue("i",_result
);
771 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
774 src
= (wxFileDialog
*) ptr
;
775 dest
= (wxDialog
*) src
;
776 return (void *) dest
;
779 static void *SwigwxFileDialogTowxPanel(void *ptr
) {
782 src
= (wxFileDialog
*) ptr
;
783 dest
= (wxPanel
*) src
;
784 return (void *) dest
;
787 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
790 src
= (wxFileDialog
*) ptr
;
791 dest
= (wxWindow
*) src
;
792 return (void *) dest
;
795 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
798 src
= (wxFileDialog
*) ptr
;
799 dest
= (wxEvtHandler
*) src
;
800 return (void *) dest
;
803 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
804 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
806 wxFileDialog
* _result
;
808 char * _arg1
= (char *) "Choose a file";
809 char * _arg2
= (char *) "";
810 char * _arg3
= (char *) "";
811 char * _arg4
= (char *) "*.*";
812 long _arg5
= (long ) 0;
813 wxPoint
* _arg6
= (wxPoint
*) &wxPyDefaultPosition
;
814 PyObject
* _argo0
= 0;
816 PyObject
* _obj6
= 0;
817 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
833 if (! wxPoint_helper(_obj6
, &_arg6
))
837 wxPy_BEGIN_ALLOW_THREADS
;
838 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
840 wxPy_END_ALLOW_THREADS
;
842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
843 _resultobj
= Py_BuildValue("s",_ptemp
);
846 _resultobj
= Py_None
;
851 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
852 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 PyObject
* _resultobj
;
855 wxFileDialog
* _arg0
;
856 PyObject
* _argo0
= 0;
857 char *_kwnames
[] = { "self", NULL
};
860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
870 wxPy_BEGIN_ALLOW_THREADS
;
871 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
873 wxPy_END_ALLOW_THREADS
;
875 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
883 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
884 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
885 PyObject
* _resultobj
;
887 wxFileDialog
* _arg0
;
888 PyObject
* _argo0
= 0;
889 char *_kwnames
[] = { "self", NULL
};
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
902 wxPy_BEGIN_ALLOW_THREADS
;
903 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
905 wxPy_END_ALLOW_THREADS
;
907 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
915 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
916 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
919 wxFileDialog
* _arg0
;
920 PyObject
* _argo0
= 0;
921 char *_kwnames
[] = { "self", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
934 wxPy_BEGIN_ALLOW_THREADS
;
935 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
937 wxPy_END_ALLOW_THREADS
;
938 } _resultobj
= Py_BuildValue("i",_result
);
942 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
943 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
946 wxFileDialog
* _arg0
;
947 PyObject
* _argo0
= 0;
948 char *_kwnames
[] = { "self", NULL
};
951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
961 wxPy_BEGIN_ALLOW_THREADS
;
962 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
964 wxPy_END_ALLOW_THREADS
;
966 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
974 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
975 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
978 wxFileDialog
* _arg0
;
979 PyObject
* _argo0
= 0;
980 char *_kwnames
[] = { "self", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
996 wxPy_END_ALLOW_THREADS
;
998 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1006 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1007 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1010 wxFileDialog
* _arg0
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1028 wxPy_END_ALLOW_THREADS
;
1029 } _resultobj
= Py_BuildValue("l",_result
);
1033 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1034 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1037 wxFileDialog
* _arg0
;
1038 PyObject
* _argo0
= 0;
1039 char *_kwnames
[] = { "self", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1055 wxPy_END_ALLOW_THREADS
;
1057 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1065 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1066 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1068 wxFileDialog
* _arg0
;
1070 PyObject
* _argo0
= 0;
1071 PyObject
* _obj1
= 0;
1072 char *_kwnames
[] = { "self","directory", NULL
};
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1085 if (!PyString_Check(_obj1
)) {
1086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1089 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1095 wxPy_END_ALLOW_THREADS
;
1096 } Py_INCREF(Py_None
);
1097 _resultobj
= Py_None
;
1105 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1106 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1108 wxFileDialog
* _arg0
;
1110 PyObject
* _argo0
= 0;
1111 PyObject
* _obj1
= 0;
1112 char *_kwnames
[] = { "self","setfilename", NULL
};
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1125 if (!PyString_Check(_obj1
)) {
1126 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1129 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1132 wxPy_BEGIN_ALLOW_THREADS
;
1133 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1135 wxPy_END_ALLOW_THREADS
;
1136 } Py_INCREF(Py_None
);
1137 _resultobj
= Py_None
;
1145 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1146 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1148 wxFileDialog
* _arg0
;
1150 PyObject
* _argo0
= 0;
1151 char *_kwnames
[] = { "self","filterIndex", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1167 wxPy_END_ALLOW_THREADS
;
1168 } Py_INCREF(Py_None
);
1169 _resultobj
= Py_None
;
1173 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1174 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1176 wxFileDialog
* _arg0
;
1178 PyObject
* _argo0
= 0;
1179 PyObject
* _obj1
= 0;
1180 char *_kwnames
[] = { "self","message", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_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_SetMessage. Expected _wxFileDialog_p.");
1193 if (!PyString_Check(_obj1
)) {
1194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1197 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1200 wxPy_BEGIN_ALLOW_THREADS
;
1201 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1203 wxPy_END_ALLOW_THREADS
;
1204 } Py_INCREF(Py_None
);
1205 _resultobj
= Py_None
;
1213 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1214 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1216 wxFileDialog
* _arg0
;
1218 PyObject
* _argo0
= 0;
1219 PyObject
* _obj1
= 0;
1220 char *_kwnames
[] = { "self","path", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1233 if (!PyString_Check(_obj1
)) {
1234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1237 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1240 wxPy_BEGIN_ALLOW_THREADS
;
1241 wxFileDialog_SetPath(_arg0
,*_arg1
);
1243 wxPy_END_ALLOW_THREADS
;
1244 } Py_INCREF(Py_None
);
1245 _resultobj
= Py_None
;
1253 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1254 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1256 wxFileDialog
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 char *_kwnames
[] = { "self","style", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
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_SetStyle. Expected _wxFileDialog_p.");
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 wxFileDialog_SetStyle(_arg0
,_arg1
);
1275 wxPy_END_ALLOW_THREADS
;
1276 } Py_INCREF(Py_None
);
1277 _resultobj
= Py_None
;
1281 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1282 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1284 wxFileDialog
* _arg0
;
1286 PyObject
* _argo0
= 0;
1287 PyObject
* _obj1
= 0;
1288 char *_kwnames
[] = { "self","wildCard", NULL
};
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1301 if (!PyString_Check(_obj1
)) {
1302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1305 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1308 wxPy_BEGIN_ALLOW_THREADS
;
1309 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1311 wxPy_END_ALLOW_THREADS
;
1312 } Py_INCREF(Py_None
);
1313 _resultobj
= Py_None
;
1321 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1322 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1325 wxFileDialog
* _arg0
;
1326 PyObject
* _argo0
= 0;
1327 char *_kwnames
[] = { "self", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1340 wxPy_BEGIN_ALLOW_THREADS
;
1341 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1343 wxPy_END_ALLOW_THREADS
;
1344 } _resultobj
= Py_BuildValue("i",_result
);
1348 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1349 wxSingleChoiceDialog
*src
;
1351 src
= (wxSingleChoiceDialog
*) ptr
;
1352 dest
= (wxDialog
*) src
;
1353 return (void *) dest
;
1356 static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr
) {
1357 wxSingleChoiceDialog
*src
;
1359 src
= (wxSingleChoiceDialog
*) ptr
;
1360 dest
= (wxPanel
*) src
;
1361 return (void *) dest
;
1364 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1365 wxSingleChoiceDialog
*src
;
1367 src
= (wxSingleChoiceDialog
*) ptr
;
1368 dest
= (wxWindow
*) src
;
1369 return (void *) dest
;
1372 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1373 wxSingleChoiceDialog
*src
;
1375 src
= (wxSingleChoiceDialog
*) ptr
;
1376 dest
= (wxEvtHandler
*) src
;
1377 return (void *) dest
;
1380 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*LIST
,long style
,wxPoint
*pos
) {
1381 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1382 LCOUNT
, LIST
, NULL
, style
, *pos
);
1385 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1387 wxSingleChoiceDialog
* _result
;
1393 long _arg5
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1394 wxPoint
* _arg6
= (wxPoint
*) &wxPyDefaultPosition
;
1395 PyObject
* _argo0
= 0;
1396 PyObject
* _obj1
= 0;
1397 PyObject
* _obj2
= 0;
1398 PyObject
* _obj4
= 0;
1400 PyObject
* _obj6
= 0;
1401 char *_kwnames
[] = { "parent","message","caption","LIST","style","pos", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1415 if (!PyString_Check(_obj1
)) {
1416 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1419 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1422 if (!PyString_Check(_obj2
)) {
1423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1426 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1430 _arg4
= wxString_LIST_helper(_obj4
);
1431 if (_arg4
== NULL
) {
1438 if (! wxPoint_helper(_obj6
, &_arg6
))
1443 _arg3
= PyList_Size(_obj4
);
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1453 wxPy_END_ALLOW_THREADS
;
1455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1456 _resultobj
= Py_BuildValue("s",_ptemp
);
1459 _resultobj
= Py_None
;
1475 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1476 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1479 wxSingleChoiceDialog
* _arg0
;
1480 PyObject
* _argo0
= 0;
1481 char *_kwnames
[] = { "self", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1494 wxPy_BEGIN_ALLOW_THREADS
;
1495 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1497 wxPy_END_ALLOW_THREADS
;
1498 } _resultobj
= Py_BuildValue("i",_result
);
1502 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1503 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1506 wxSingleChoiceDialog
* _arg0
;
1507 PyObject
* _argo0
= 0;
1508 char *_kwnames
[] = { "self", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1521 wxPy_BEGIN_ALLOW_THREADS
;
1522 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1524 wxPy_END_ALLOW_THREADS
;
1526 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1534 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1535 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1537 wxSingleChoiceDialog
* _arg0
;
1539 PyObject
* _argo0
= 0;
1540 char *_kwnames
[] = { "self","sel", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1553 wxPy_BEGIN_ALLOW_THREADS
;
1554 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1556 wxPy_END_ALLOW_THREADS
;
1557 } Py_INCREF(Py_None
);
1558 _resultobj
= Py_None
;
1562 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1563 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1566 wxSingleChoiceDialog
* _arg0
;
1567 PyObject
* _argo0
= 0;
1568 char *_kwnames
[] = { "self", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1581 wxPy_BEGIN_ALLOW_THREADS
;
1582 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1584 wxPy_END_ALLOW_THREADS
;
1585 } _resultobj
= Py_BuildValue("i",_result
);
1589 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1590 wxTextEntryDialog
*src
;
1592 src
= (wxTextEntryDialog
*) ptr
;
1593 dest
= (wxDialog
*) src
;
1594 return (void *) dest
;
1597 static void *SwigwxTextEntryDialogTowxPanel(void *ptr
) {
1598 wxTextEntryDialog
*src
;
1600 src
= (wxTextEntryDialog
*) ptr
;
1601 dest
= (wxPanel
*) src
;
1602 return (void *) dest
;
1605 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1606 wxTextEntryDialog
*src
;
1608 src
= (wxTextEntryDialog
*) ptr
;
1609 dest
= (wxWindow
*) src
;
1610 return (void *) dest
;
1613 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1614 wxTextEntryDialog
*src
;
1616 src
= (wxTextEntryDialog
*) ptr
;
1617 dest
= (wxEvtHandler
*) src
;
1618 return (void *) dest
;
1621 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1622 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1624 wxTextEntryDialog
* _result
;
1627 char * _arg2
= (char *) "Input Text";
1628 char * _arg3
= (char *) "";
1629 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1630 wxPoint
* _arg5
= (wxPoint
*) &wxPyDefaultPosition
;
1631 PyObject
* _argo0
= 0;
1633 PyObject
* _obj5
= 0;
1634 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1650 if (! wxPoint_helper(_obj5
, &_arg5
))
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
1657 wxPy_END_ALLOW_THREADS
;
1659 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
1660 _resultobj
= Py_BuildValue("s",_ptemp
);
1663 _resultobj
= Py_None
;
1668 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1669 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1672 wxTextEntryDialog
* _arg0
;
1673 PyObject
* _argo0
= 0;
1674 char *_kwnames
[] = { "self", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
1690 wxPy_END_ALLOW_THREADS
;
1692 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1700 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1701 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1703 wxTextEntryDialog
* _arg0
;
1705 PyObject
* _argo0
= 0;
1706 PyObject
* _obj1
= 0;
1707 char *_kwnames
[] = { "self","value", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1720 if (!PyString_Check(_obj1
)) {
1721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1724 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
1730 wxPy_END_ALLOW_THREADS
;
1731 } Py_INCREF(Py_None
);
1732 _resultobj
= Py_None
;
1740 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1741 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1744 wxTextEntryDialog
* _arg0
;
1745 PyObject
* _argo0
= 0;
1746 char *_kwnames
[] = { "self", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
1762 wxPy_END_ALLOW_THREADS
;
1763 } _resultobj
= Py_BuildValue("i",_result
);
1767 #define new_wxFontData() (new wxFontData())
1768 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1770 wxFontData
* _result
;
1771 char *_kwnames
[] = { NULL
};
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
1778 wxPy_BEGIN_ALLOW_THREADS
;
1779 _result
= (wxFontData
*)new_wxFontData();
1781 wxPy_END_ALLOW_THREADS
;
1783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
1784 _resultobj
= Py_BuildValue("s",_ptemp
);
1787 _resultobj
= Py_None
;
1792 #define delete_wxFontData(_swigobj) (delete _swigobj)
1793 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1796 PyObject
* _argo0
= 0;
1797 char *_kwnames
[] = { "self", NULL
};
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
1803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
1810 wxPy_BEGIN_ALLOW_THREADS
;
1811 delete_wxFontData(_arg0
);
1813 wxPy_END_ALLOW_THREADS
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
1820 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1824 PyObject
* _argo0
= 0;
1826 char *_kwnames
[] = { "self","enable", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
1832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
1838 _arg1
= (bool ) tempbool1
;
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 wxFontData_EnableEffects(_arg0
,_arg1
);
1843 wxPy_END_ALLOW_THREADS
;
1844 } Py_INCREF(Py_None
);
1845 _resultobj
= Py_None
;
1849 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
1850 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1854 PyObject
* _argo0
= 0;
1855 char *_kwnames
[] = { "self", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
1861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
1868 wxPy_BEGIN_ALLOW_THREADS
;
1869 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
1871 wxPy_END_ALLOW_THREADS
;
1872 } _resultobj
= Py_BuildValue("i",_result
);
1876 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
1877 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1881 PyObject
* _argo0
= 0;
1882 char *_kwnames
[] = { "self", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 wxColour
& _result_ref
= wxFontData_GetColour(_arg0
);
1898 _result
= (wxColour
*) &_result_ref
;
1900 wxPy_END_ALLOW_THREADS
;
1902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1903 _resultobj
= Py_BuildValue("s",_ptemp
);
1906 _resultobj
= Py_None
;
1911 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
1912 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1916 PyObject
* _argo0
= 0;
1917 char *_kwnames
[] = { "self", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
1934 wxPy_END_ALLOW_THREADS
;
1935 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1936 _resultobj
= Py_BuildValue("s",_ptemp
);
1940 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
1941 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
1962 wxPy_END_ALLOW_THREADS
;
1963 } _resultobj
= Py_BuildValue("i",_result
);
1967 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
1968 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
1990 wxPy_END_ALLOW_THREADS
;
1991 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1992 _resultobj
= Py_BuildValue("s",_ptemp
);
1996 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
1997 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2018 wxPy_END_ALLOW_THREADS
;
2019 } _resultobj
= Py_BuildValue("i",_result
);
2023 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2024 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2028 PyObject
* _argo0
= 0;
2030 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2042 _arg1
= (bool ) tempbool1
;
2044 wxPy_BEGIN_ALLOW_THREADS
;
2045 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2047 wxPy_END_ALLOW_THREADS
;
2048 } Py_INCREF(Py_None
);
2049 _resultobj
= Py_None
;
2053 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2054 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 PyObject
* _argo1
= 0;
2060 char *_kwnames
[] = { "self","font", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2083 wxPy_END_ALLOW_THREADS
;
2084 } Py_INCREF(Py_None
);
2085 _resultobj
= Py_None
;
2089 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2090 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2094 PyObject
* _argo0
= 0;
2095 PyObject
* _argo1
= 0;
2096 char *_kwnames
[] = { "self","colour", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_argo1
))
2102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetColour. Expected _wxColour_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 wxFontData_SetColour(_arg0
,*_arg1
);
2119 wxPy_END_ALLOW_THREADS
;
2120 } Py_INCREF(Py_None
);
2121 _resultobj
= Py_None
;
2125 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2126 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2131 PyObject
* _argo1
= 0;
2132 char *_kwnames
[] = { "self","font", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2152 wxPy_BEGIN_ALLOW_THREADS
;
2153 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2155 wxPy_END_ALLOW_THREADS
;
2156 } Py_INCREF(Py_None
);
2157 _resultobj
= Py_None
;
2161 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2162 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2167 PyObject
* _argo0
= 0;
2168 char *_kwnames
[] = { "self","min","max", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } Py_INCREF(Py_None
);
2186 _resultobj
= Py_None
;
2190 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2191 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2195 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self","showHelp", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2209 _arg1
= (bool ) tempbool1
;
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 wxFontData_SetShowHelp(_arg0
,_arg1
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } Py_INCREF(Py_None
);
2216 _resultobj
= Py_None
;
2220 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2223 src
= (wxFontDialog
*) ptr
;
2224 dest
= (wxDialog
*) src
;
2225 return (void *) dest
;
2228 static void *SwigwxFontDialogTowxPanel(void *ptr
) {
2231 src
= (wxFontDialog
*) ptr
;
2232 dest
= (wxPanel
*) src
;
2233 return (void *) dest
;
2236 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2239 src
= (wxFontDialog
*) ptr
;
2240 dest
= (wxWindow
*) src
;
2241 return (void *) dest
;
2244 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2247 src
= (wxFontDialog
*) ptr
;
2248 dest
= (wxEvtHandler
*) src
;
2249 return (void *) dest
;
2252 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2253 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2255 wxFontDialog
* _result
;
2257 wxFontData
* _arg1
= (wxFontData
*) NULL
;
2258 PyObject
* _argo0
= 0;
2259 PyObject
* _argo1
= 0;
2260 char *_kwnames
[] = { "parent","data", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2284 wxPy_END_ALLOW_THREADS
;
2286 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2287 _resultobj
= Py_BuildValue("s",_ptemp
);
2290 _resultobj
= Py_None
;
2295 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2296 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2298 wxFontData
* _result
;
2299 wxFontDialog
* _arg0
;
2300 PyObject
* _argo0
= 0;
2301 char *_kwnames
[] = { "self", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2317 _result
= (wxFontData
*) &_result_ref
;
2319 wxPy_END_ALLOW_THREADS
;
2321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2322 _resultobj
= Py_BuildValue("s",_ptemp
);
2325 _resultobj
= Py_None
;
2330 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2331 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2334 wxFontDialog
* _arg0
;
2335 PyObject
* _argo0
= 0;
2336 char *_kwnames
[] = { "self", NULL
};
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2349 wxPy_BEGIN_ALLOW_THREADS
;
2350 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2352 wxPy_END_ALLOW_THREADS
;
2353 } _resultobj
= Py_BuildValue("i",_result
);
2357 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2358 wxMessageDialog
*src
;
2360 src
= (wxMessageDialog
*) ptr
;
2361 dest
= (wxDialog
*) src
;
2362 return (void *) dest
;
2365 static void *SwigwxMessageDialogTowxPanel(void *ptr
) {
2366 wxMessageDialog
*src
;
2368 src
= (wxMessageDialog
*) ptr
;
2369 dest
= (wxPanel
*) src
;
2370 return (void *) dest
;
2373 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2374 wxMessageDialog
*src
;
2376 src
= (wxMessageDialog
*) ptr
;
2377 dest
= (wxWindow
*) src
;
2378 return (void *) dest
;
2381 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2382 wxMessageDialog
*src
;
2384 src
= (wxMessageDialog
*) ptr
;
2385 dest
= (wxEvtHandler
*) src
;
2386 return (void *) dest
;
2389 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2390 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2392 wxMessageDialog
* _result
;
2395 char * _arg2
= (char *) "Message box";
2396 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2397 wxPoint
* _arg4
= (wxPoint
*) &wxPyDefaultPosition
;
2398 PyObject
* _argo0
= 0;
2400 PyObject
* _obj4
= 0;
2401 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
2408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2417 if (! wxPoint_helper(_obj4
, &_arg4
))
2421 wxPy_BEGIN_ALLOW_THREADS
;
2422 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2424 wxPy_END_ALLOW_THREADS
;
2426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2427 _resultobj
= Py_BuildValue("s",_ptemp
);
2430 _resultobj
= Py_None
;
2435 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2436 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2439 wxMessageDialog
* _arg0
;
2440 PyObject
* _argo0
= 0;
2441 char *_kwnames
[] = { "self", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2457 wxPy_END_ALLOW_THREADS
;
2458 } _resultobj
= Py_BuildValue("i",_result
);
2462 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2463 wxProgressDialog
*src
;
2465 src
= (wxProgressDialog
*) ptr
;
2466 dest
= (wxFrame
*) src
;
2467 return (void *) dest
;
2470 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2471 wxProgressDialog
*src
;
2473 src
= (wxProgressDialog
*) ptr
;
2474 dest
= (wxWindow
*) src
;
2475 return (void *) dest
;
2478 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
2479 wxProgressDialog
*src
;
2481 src
= (wxProgressDialog
*) ptr
;
2482 dest
= (wxEvtHandler
*) src
;
2483 return (void *) dest
;
2486 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2487 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2489 wxProgressDialog
* _result
;
2492 int _arg2
= (int ) 100;
2493 wxWindow
* _arg3
= (wxWindow
*) NULL
;
2494 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
2495 PyObject
* _obj0
= 0;
2496 PyObject
* _obj1
= 0;
2497 PyObject
* _argo3
= 0;
2498 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
2505 if (!PyString_Check(_obj0
)) {
2506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2509 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
2512 if (!PyString_Check(_obj1
)) {
2513 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2516 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2519 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2526 wxPy_BEGIN_ALLOW_THREADS
;
2527 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2529 wxPy_END_ALLOW_THREADS
;
2531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
2532 _resultobj
= Py_BuildValue("s",_ptemp
);
2535 _resultobj
= Py_None
;
2548 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2549 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2552 wxProgressDialog
* _arg0
;
2553 int _arg1
= (int ) -1;
2554 char * _arg2
= (char *) NULL
;
2555 PyObject
* _argo0
= 0;
2556 char *_kwnames
[] = { "self","value","newmsg", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2569 wxPy_BEGIN_ALLOW_THREADS
;
2570 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
2572 wxPy_END_ALLOW_THREADS
;
2573 } _resultobj
= Py_BuildValue("i",_result
);
2577 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2578 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2580 wxProgressDialog
* _arg0
;
2581 PyObject
* _argo0
= 0;
2582 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 wxProgressDialog_Resume(_arg0
);
2598 wxPy_END_ALLOW_THREADS
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2604 static PyMethodDef cmndlgscMethods
[] = {
2605 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
2606 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
2607 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
2608 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2609 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
2610 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2611 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
2612 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
2613 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2614 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
2615 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2616 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
2617 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2618 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2619 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2620 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2621 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2622 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2623 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
2624 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2625 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2626 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2627 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2628 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2629 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
2630 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
2631 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
2632 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2633 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2634 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
2635 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2636 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
2637 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2638 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2639 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2640 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2641 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2642 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2643 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2644 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2645 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2646 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2647 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2648 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2649 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2650 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2651 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2652 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
2653 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2654 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2655 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2656 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2657 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2658 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2659 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
2660 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2661 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
2662 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
2663 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
2664 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
2665 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
2666 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
2667 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
2668 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
2669 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
2670 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
2677 * This table is used by the pointer type-checker
2679 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2680 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2681 { "_wxEvent","_class_wxEvent",0},
2682 { "_class_wxActivateEvent","_wxActivateEvent",0},
2683 { "_signed_long","_long",0},
2684 { "_wxMenuEvent","_class_wxMenuEvent",0},
2685 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2686 { "_wxPrintQuality","_int",0},
2687 { "_wxPrintQuality","_signed_int",0},
2688 { "_wxPrintQuality","_unsigned_int",0},
2689 { "_wxPrintQuality","_wxWindowID",0},
2690 { "_wxPrintQuality","_uint",0},
2691 { "_wxPrintQuality","_EBool",0},
2692 { "_wxPrintQuality","_size_t",0},
2693 { "_wxFontData","_class_wxFontData",0},
2694 { "_class_wxRegionIterator","_wxRegionIterator",0},
2695 { "_class_wxMenuBar","_wxMenuBar",0},
2696 { "_class_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
2697 { "_class_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
2698 { "_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
2699 { "_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
2700 { "_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
2701 { "_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
2702 { "_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
2703 { "_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
2704 { "_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
2705 { "_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
2706 { "_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
2707 { "_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
2708 { "_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
2709 { "_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
2710 { "_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
2711 { "_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
2712 { "_class_wxEvtHandler","_wxEvtHandler",0},
2713 { "_wxPaintEvent","_class_wxPaintEvent",0},
2714 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2715 { "_wxCursor","_class_wxCursor",0},
2716 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2717 { "_wxMask","_class_wxMask",0},
2718 { "_class_wxColourData","_wxColourData",0},
2719 { "_wxPen","_class_wxPen",0},
2720 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2721 { "_byte","_unsigned_char",0},
2722 { "_wxStaticBox","_class_wxStaticBox",0},
2723 { "_wxChoice","_class_wxChoice",0},
2724 { "_wxSlider","_class_wxSlider",0},
2725 { "_long","_wxDash",0},
2726 { "_long","_unsigned_long",0},
2727 { "_long","_signed_long",0},
2728 { "_wxImageList","_class_wxImageList",0},
2729 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2730 { "_wxBitmapButton","_class_wxBitmapButton",0},
2731 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2732 { "_class_wxGauge","_wxGauge",0},
2733 { "_wxDC","_class_wxDC",0},
2734 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
2735 { "_wxProgressDialog","_class_wxProgressDialog",0},
2736 { "_wxSpinEvent","_class_wxSpinEvent",0},
2737 { "_size_t","_wxPrintQuality",0},
2738 { "_size_t","_unsigned_int",0},
2739 { "_size_t","_int",0},
2740 { "_size_t","_wxWindowID",0},
2741 { "_size_t","_uint",0},
2742 { "_class_wxRealPoint","_wxRealPoint",0},
2743 { "_class_wxMenuItem","_wxMenuItem",0},
2744 { "_class_wxPaintEvent","_wxPaintEvent",0},
2745 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2746 { "_class_wxStatusBar","_wxStatusBar",0},
2747 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2748 { "_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
2749 { "_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
2750 { "_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel
},
2751 { "_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel
},
2752 { "_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
2753 { "_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
2754 { "_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
2755 { "_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
2756 { "_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel
},
2757 { "_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel
},
2758 { "_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel
},
2759 { "_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel
},
2760 { "_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel
},
2761 { "_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel
},
2762 { "_wxPanel","_class_wxPanel",0},
2763 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2764 { "_wxCheckBox","_class_wxCheckBox",0},
2765 { "_wxPyEvent","_class_wxPyEvent",0},
2766 { "_wxTextCtrl","_class_wxTextCtrl",0},
2767 { "_class_wxMask","_wxMask",0},
2768 { "_class_wxKeyEvent","_wxKeyEvent",0},
2769 { "_wxColour","_class_wxColour",0},
2770 { "_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
2771 { "_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
2772 { "_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
2773 { "_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
2774 { "_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
2775 { "_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
2776 { "_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
2777 { "_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
2778 { "_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
2779 { "_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
2780 { "_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
2781 { "_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
2782 { "_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
2783 { "_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
2784 { "_class_wxDialog","_wxDialog",0},
2785 { "_wxIdleEvent","_class_wxIdleEvent",0},
2786 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2787 { "_wxToolBar","_class_wxToolBar",0},
2788 { "_wxStaticLine","_class_wxStaticLine",0},
2789 { "_wxBrush","_class_wxBrush",0},
2790 { "_wxMiniFrame","_class_wxMiniFrame",0},
2791 { "_wxShowEvent","_class_wxShowEvent",0},
2792 { "_uint","_wxPrintQuality",0},
2793 { "_uint","_size_t",0},
2794 { "_uint","_unsigned_int",0},
2795 { "_uint","_int",0},
2796 { "_uint","_wxWindowID",0},
2797 { "_wxPyValidator","_class_wxPyValidator",0},
2798 { "_class_wxEvent","_wxEvent",0},
2799 { "_wxCheckListBox","_class_wxCheckListBox",0},
2800 { "_wxRect","_class_wxRect",0},
2801 { "_wxCommandEvent","_class_wxCommandEvent",0},
2802 { "_wxSizeEvent","_class_wxSizeEvent",0},
2803 { "_wxPoint","_class_wxPoint",0},
2804 { "_class_wxButton","_wxButton",0},
2805 { "_wxRadioBox","_class_wxRadioBox",0},
2806 { "_class_wxFontData","_wxFontData",0},
2807 { "_wxBitmap","_class_wxBitmap",0},
2808 { "_wxPyTimer","_class_wxPyTimer",0},
2809 { "_wxWindowDC","_class_wxWindowDC",0},
2810 { "_wxScrollBar","_class_wxScrollBar",0},
2811 { "_wxSpinButton","_class_wxSpinButton",0},
2812 { "_wxToolBarTool","_class_wxToolBarTool",0},
2813 { "_wxColourDialog","_class_wxColourDialog",0},
2814 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2815 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2816 { "_wxMessageDialog","_class_wxMessageDialog",0},
2817 { "_class_wxValidator","_wxValidator",0},
2818 { "_class_wxPyEvent","_wxPyEvent",0},
2819 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
2820 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2821 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2822 { "_class_wxToolBar","_wxToolBar",0},
2823 { "_class_wxStaticLine","_wxStaticLine",0},
2824 { "_wxScrollEvent","_class_wxScrollEvent",0},
2825 { "_EBool","_wxPrintQuality",0},
2826 { "_EBool","_signed_int",0},
2827 { "_EBool","_int",0},
2828 { "_EBool","_wxWindowID",0},
2829 { "_class_wxRegion","_wxRegion",0},
2830 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2831 { "_wxStaticText","_class_wxStaticText",0},
2832 { "_wxFont","_class_wxFont",0},
2833 { "_wxCloseEvent","_class_wxCloseEvent",0},
2834 { "_unsigned_long","_wxDash",0},
2835 { "_unsigned_long","_long",0},
2836 { "_class_wxRect","_wxRect",0},
2837 { "_class_wxDC","_wxDC",0},
2838 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2839 { "_class_wxProgressDialog","_wxProgressDialog",0},
2840 { "_class_wxDirDialog","_wxDirDialog",0},
2841 { "_class_wxPyTimer","_wxPyTimer",0},
2842 { "_wxFocusEvent","_class_wxFocusEvent",0},
2843 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2844 { "_class_wxSpinButton","_wxSpinButton",0},
2845 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2846 { "_class_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
2847 { "_class_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
2848 { "_class_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel
},
2849 { "_class_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel
},
2850 { "_class_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
2851 { "_class_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
2852 { "_class_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
2853 { "_class_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
2854 { "_class_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel
},
2855 { "_class_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel
},
2856 { "_class_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel
},
2857 { "_class_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel
},
2858 { "_class_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel
},
2859 { "_class_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel
},
2860 { "_class_wxPanel","_wxPanel",0},
2861 { "_class_wxCheckBox","_wxCheckBox",0},
2862 { "_wxComboBox","_class_wxComboBox",0},
2863 { "_wxRadioButton","_class_wxRadioButton",0},
2864 { "_class_wxMessageDialog","_wxMessageDialog",0},
2865 { "_signed_int","_wxPrintQuality",0},
2866 { "_signed_int","_EBool",0},
2867 { "_signed_int","_wxWindowID",0},
2868 { "_signed_int","_int",0},
2869 { "_class_wxTextCtrl","_wxTextCtrl",0},
2870 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2871 { "_wxMenu","_class_wxMenu",0},
2872 { "_class_wxMoveEvent","_wxMoveEvent",0},
2873 { "_wxListBox","_class_wxListBox",0},
2874 { "_wxScreenDC","_class_wxScreenDC",0},
2875 { "_WXTYPE","_short",0},
2876 { "_WXTYPE","_signed_short",0},
2877 { "_WXTYPE","_unsigned_short",0},
2878 { "_wxFileDialog","_class_wxFileDialog",0},
2879 { "_class_wxBrush","_wxBrush",0},
2880 { "_unsigned_short","_WXTYPE",0},
2881 { "_unsigned_short","_short",0},
2882 { "_class_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
2883 { "_class_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
2884 { "_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
2885 { "_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
2886 { "_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
2887 { "_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
2888 { "_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
2889 { "_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
2890 { "_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
2891 { "_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
2892 { "_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
2893 { "_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
2894 { "_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
2895 { "_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
2896 { "_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
2897 { "_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
2898 { "_class_wxWindow","_wxWindow",0},
2899 { "_class_wxStaticText","_wxStaticText",0},
2900 { "_class_wxFont","_wxFont",0},
2901 { "_class_wxPyValidator","_wxPyValidator",0},
2902 { "_class_wxCloseEvent","_wxCloseEvent",0},
2903 { "_class_wxMenuEvent","_wxMenuEvent",0},
2904 { "_wxClientDC","_class_wxClientDC",0},
2905 { "_wxMouseEvent","_class_wxMouseEvent",0},
2906 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
2907 { "_class_wxPoint","_wxPoint",0},
2908 { "_wxRealPoint","_class_wxRealPoint",0},
2909 { "_class_wxRadioBox","_wxRadioBox",0},
2910 { "_signed_short","_WXTYPE",0},
2911 { "_signed_short","_short",0},
2912 { "_wxMemoryDC","_class_wxMemoryDC",0},
2913 { "_wxPaintDC","_class_wxPaintDC",0},
2914 { "_class_wxWindowDC","_wxWindowDC",0},
2915 { "_class_wxFocusEvent","_wxFocusEvent",0},
2916 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2917 { "_wxStatusBar","_class_wxStatusBar",0},
2918 { "_class_wxToolBarTool","_wxToolBarTool",0},
2919 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2920 { "_class_wxCursor","_wxCursor",0},
2921 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2922 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2923 { "_unsigned_char","_byte",0},
2924 { "_class_wxMenu","_wxMenu",0},
2925 { "_wxControl","_class_wxControl",0},
2926 { "_class_wxListBox","_wxListBox",0},
2927 { "_unsigned_int","_wxPrintQuality",0},
2928 { "_unsigned_int","_size_t",0},
2929 { "_unsigned_int","_uint",0},
2930 { "_unsigned_int","_wxWindowID",0},
2931 { "_unsigned_int","_int",0},
2932 { "_wxIcon","_class_wxIcon",0},
2933 { "_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
2934 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
2935 { "_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
2936 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
2937 { "_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
2938 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
2939 { "_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
2940 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
2941 { "_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
2942 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
2943 { "_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
2944 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
2945 { "_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
2946 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
2947 { "_wxDialog","_class_wxDialog",0},
2948 { "_class_wxPen","_wxPen",0},
2949 { "_class_wxFileDialog","_wxFileDialog",0},
2950 { "_short","_WXTYPE",0},
2951 { "_short","_unsigned_short",0},
2952 { "_short","_signed_short",0},
2953 { "_class_wxStaticBox","_wxStaticBox",0},
2954 { "_class_wxScrollEvent","_wxScrollEvent",0},
2955 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2956 { "_class_wxChoice","_wxChoice",0},
2957 { "_class_wxSlider","_wxSlider",0},
2958 { "_class_wxImageList","_wxImageList",0},
2959 { "_class_wxBitmapButton","_wxBitmapButton",0},
2960 { "_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
2961 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
2962 { "_wxFrame","_class_wxFrame",0},
2963 { "_wxWindowID","_wxPrintQuality",0},
2964 { "_wxWindowID","_size_t",0},
2965 { "_wxWindowID","_EBool",0},
2966 { "_wxWindowID","_uint",0},
2967 { "_wxWindowID","_int",0},
2968 { "_wxWindowID","_signed_int",0},
2969 { "_wxWindowID","_unsigned_int",0},
2970 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2971 { "_int","_wxPrintQuality",0},
2972 { "_int","_size_t",0},
2973 { "_int","_EBool",0},
2974 { "_int","_uint",0},
2975 { "_int","_wxWindowID",0},
2976 { "_int","_unsigned_int",0},
2977 { "_int","_signed_int",0},
2978 { "_class_wxMouseEvent","_wxMouseEvent",0},
2979 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2980 { "_class_wxSpinEvent","_wxSpinEvent",0},
2981 { "_wxButton","_class_wxButton",0},
2982 { "_wxSize","_class_wxSize",0},
2983 { "_wxRegionIterator","_class_wxRegionIterator",0},
2984 { "_class_wxPaintDC","_wxPaintDC",0},
2985 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2986 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2987 { "_class_wxComboBox","_wxComboBox",0},
2988 { "_class_wxRadioButton","_wxRadioButton",0},
2989 { "_wxValidator","_class_wxValidator",0},
2990 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2991 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2992 { "_class_wxControl","_wxControl",0},
2993 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2994 { "_class_wxIcon","_wxIcon",0},
2995 { "_class_wxColour","_wxColour",0},
2996 { "_class_wxScreenDC","_wxScreenDC",0},
2997 { "_wxPalette","_class_wxPalette",0},
2998 { "_class_wxIdleEvent","_wxIdleEvent",0},
2999 { "_wxEraseEvent","_class_wxEraseEvent",0},
3000 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3001 { "_class_wxMiniFrame","_wxMiniFrame",0},
3002 { "_wxFontDialog","_class_wxFontDialog",0},
3003 { "_wxRegion","_class_wxRegion",0},
3004 { "_class_wxShowEvent","_wxShowEvent",0},
3005 { "_wxActivateEvent","_class_wxActivateEvent",0},
3006 { "_wxGauge","_class_wxGauge",0},
3007 { "_class_wxCheckListBox","_wxCheckListBox",0},
3008 { "_class_wxCommandEvent","_wxCommandEvent",0},
3009 { "_class_wxClientDC","_wxClientDC",0},
3010 { "_class_wxSizeEvent","_wxSizeEvent",0},
3011 { "_class_wxSize","_wxSize",0},
3012 { "_class_wxBitmap","_wxBitmap",0},
3013 { "_class_wxMemoryDC","_wxMemoryDC",0},
3014 { "_wxMenuBar","_class_wxMenuBar",0},
3015 { "_wxDirDialog","_class_wxDirDialog",0},
3016 { "_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3017 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3018 { "_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3019 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3020 { "_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3021 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3022 { "_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3023 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3024 { "_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3025 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3026 { "_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3027 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3028 { "_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3029 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3030 { "_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3031 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3032 { "_wxEvtHandler","_class_wxEvtHandler",0},
3033 { "_wxMenuItem","_class_wxMenuItem",0},
3034 { "_class_wxScrollBar","_wxScrollBar",0},
3035 { "_class_wxColourDialog","_wxColourDialog",0},
3036 { "_wxDash","_unsigned_long",0},
3037 { "_wxDash","_long",0},
3038 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3039 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
3040 { "_wxKeyEvent","_class_wxKeyEvent",0},
3041 { "_wxMoveEvent","_class_wxMoveEvent",0},
3042 { "_wxColourData","_class_wxColourData",0},
3043 { "_class_wxPalette","_wxPalette",0},
3044 { "_class_wxEraseEvent","_wxEraseEvent",0},
3045 { "_class_wxFontDialog","_wxFontDialog",0},
3046 { "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3047 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3048 { "_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3049 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3050 { "_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
3051 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
3052 { "_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3053 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3054 { "_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3055 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3056 { "_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
3057 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
3058 { "_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
3059 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
3060 { "_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
3061 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
3062 { "_wxWindow","_class_wxWindow",0},
3063 { "_class_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3064 { "_class_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3065 { "_class_wxFrame","_wxFrame",0},
3068 static PyObject
*SWIG_globals
;
3072 SWIGEXPORT(void) initcmndlgsc() {
3074 SWIG_globals
= SWIG_newvarlink();
3075 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
3076 d
= PyModule_GetDict(m
);
3079 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3080 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);