2 * FILE : src/gtk/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcmndlgsc
56 #define SWIG_name "cmndlgsc"
59 #include <wx/colordlg.h>
60 #include <wx/dirdlg.h>
61 #include <wx/fontdlg.h>
62 #include <wx/progdlg.h>
63 #include <wx/fdrepdlg.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg
= "String or Unicode type required";
95 static char* wxStringErrorMsg
= "String type required";
100 static void *SwigwxColourDataTowxObject(void *ptr
) {
103 src
= (wxColourData
*) ptr
;
104 dest
= (wxObject
*) src
;
105 return (void *) dest
;
108 #define new_wxColourData() (new wxColourData())
109 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
110 PyObject
* _resultobj
;
111 wxColourData
* _result
;
112 char *_kwnames
[] = { NULL
};
116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
120 _result
= (wxColourData
*)new_wxColourData();
122 wxPyEndAllowThreads(__tstate
);
123 if (PyErr_Occurred()) return NULL
;
125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
126 _resultobj
= Py_BuildValue("s",_ptemp
);
129 _resultobj
= Py_None
;
134 #define delete_wxColourData(_swigobj) (delete _swigobj)
135 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
136 PyObject
* _resultobj
;
137 wxColourData
* _arg0
;
138 PyObject
* _argo0
= 0;
139 char *_kwnames
[] = { "self", NULL
};
142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
153 delete_wxColourData(_arg0
);
155 wxPyEndAllowThreads(__tstate
);
156 if (PyErr_Occurred()) return NULL
;
157 } Py_INCREF(Py_None
);
158 _resultobj
= Py_None
;
162 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
163 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
164 PyObject
* _resultobj
;
166 wxColourData
* _arg0
;
167 PyObject
* _argo0
= 0;
168 char *_kwnames
[] = { "self", NULL
};
171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
182 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
184 wxPyEndAllowThreads(__tstate
);
185 if (PyErr_Occurred()) return NULL
;
186 } _resultobj
= Py_BuildValue("i",_result
);
190 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
191 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
192 PyObject
* _resultobj
;
194 wxColourData
* _arg0
;
195 PyObject
* _argo0
= 0;
196 char *_kwnames
[] = { "self", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 _result
= new wxColour (wxColourData_GetColour(_arg0
));
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
216 _resultobj
= Py_BuildValue("s",_ptemp
);
220 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
221 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
224 wxColourData
* _arg0
;
226 PyObject
* _argo0
= 0;
227 char *_kwnames
[] = { "self","i", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
242 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
244 wxPyEndAllowThreads(__tstate
);
245 if (PyErr_Occurred()) return NULL
;
246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
247 _resultobj
= Py_BuildValue("s",_ptemp
);
251 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
252 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
254 wxColourData
* _arg0
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self","flag", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
271 wxColourData_SetChooseFull(_arg0
,_arg1
);
273 wxPyEndAllowThreads(__tstate
);
274 if (PyErr_Occurred()) return NULL
;
275 } Py_INCREF(Py_None
);
276 _resultobj
= Py_None
;
280 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
281 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 wxColourData
* _arg0
;
285 PyObject
* _argo0
= 0;
287 PyObject
* _obj1
= 0;
288 char *_kwnames
[] = { "self","colour", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
302 if (! wxColour_helper(_obj1
, &_arg1
))
306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
307 wxColourData_SetColour(_arg0
,*_arg1
);
309 wxPyEndAllowThreads(__tstate
);
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
317 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxColourData
* _arg0
;
322 PyObject
* _argo0
= 0;
324 PyObject
* _obj2
= 0;
325 char *_kwnames
[] = { "self","i","colour", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
339 if (! wxColour_helper(_obj2
, &_arg2
))
343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
344 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
346 wxPyEndAllowThreads(__tstate
);
347 if (PyErr_Occurred()) return NULL
;
348 } Py_INCREF(Py_None
);
349 _resultobj
= Py_None
;
353 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
356 src
= (wxColourDialog
*) ptr
;
357 dest
= (wxDialog
*) src
;
358 return (void *) dest
;
361 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) {
363 wxTopLevelWindow
*dest
;
364 src
= (wxColourDialog
*) ptr
;
365 dest
= (wxTopLevelWindow
*) src
;
366 return (void *) dest
;
369 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
372 src
= (wxColourDialog
*) ptr
;
373 dest
= (wxWindow
*) src
;
374 return (void *) dest
;
377 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
380 src
= (wxColourDialog
*) ptr
;
381 dest
= (wxEvtHandler
*) src
;
382 return (void *) dest
;
385 static void *SwigwxColourDialogTowxObject(void *ptr
) {
388 src
= (wxColourDialog
*) ptr
;
389 dest
= (wxObject
*) src
;
390 return (void *) dest
;
393 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
394 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
396 wxColourDialog
* _result
;
398 wxColourData
* _arg1
= (wxColourData
*) NULL
;
399 PyObject
* _argo0
= 0;
400 PyObject
* _argo1
= 0;
401 char *_kwnames
[] = { "parent","data", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
425 wxPyEndAllowThreads(__tstate
);
426 if (PyErr_Occurred()) return NULL
;
428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
429 _resultobj
= Py_BuildValue("s",_ptemp
);
432 _resultobj
= Py_None
;
437 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
438 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
440 wxColourData
* _result
;
441 wxColourDialog
* _arg0
;
442 PyObject
* _argo0
= 0;
443 char *_kwnames
[] = { "self", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
458 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
459 _result
= (wxColourData
*) &_result_ref
;
461 wxPyEndAllowThreads(__tstate
);
462 if (PyErr_Occurred()) return NULL
;
464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
465 _resultobj
= Py_BuildValue("s",_ptemp
);
468 _resultobj
= Py_None
;
473 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
474 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxColourDialog
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
493 _result
= (int )wxColourDialog_ShowModal(_arg0
);
495 wxPyEndAllowThreads(__tstate
);
496 if (PyErr_Occurred()) return NULL
;
497 } _resultobj
= Py_BuildValue("i",_result
);
501 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
504 src
= (wxDirDialog
*) ptr
;
505 dest
= (wxDialog
*) src
;
506 return (void *) dest
;
509 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) {
511 wxTopLevelWindow
*dest
;
512 src
= (wxDirDialog
*) ptr
;
513 dest
= (wxTopLevelWindow
*) src
;
514 return (void *) dest
;
517 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
520 src
= (wxDirDialog
*) ptr
;
521 dest
= (wxWindow
*) src
;
522 return (void *) dest
;
525 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
528 src
= (wxDirDialog
*) ptr
;
529 dest
= (wxEvtHandler
*) src
;
530 return (void *) dest
;
533 static void *SwigwxDirDialogTowxObject(void *ptr
) {
536 src
= (wxDirDialog
*) ptr
;
537 dest
= (wxObject
*) src
;
538 return (void *) dest
;
541 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
542 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
544 wxDirDialog
* _result
;
546 char * _arg1
= (char *) "Choose a directory";
547 char * _arg2
= (char *) "";
548 long _arg3
= (long ) 0;
549 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
550 PyObject
* _argo0
= 0;
552 PyObject
* _obj4
= 0;
553 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
569 if (! wxPoint_helper(_obj4
, &_arg4
))
573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
574 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
576 wxPyEndAllowThreads(__tstate
);
577 if (PyErr_Occurred()) return NULL
;
579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
580 _resultobj
= Py_BuildValue("s",_ptemp
);
583 _resultobj
= Py_None
;
588 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
589 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
593 PyObject
* _argo0
= 0;
594 char *_kwnames
[] = { "self", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
608 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
610 wxPyEndAllowThreads(__tstate
);
611 if (PyErr_Occurred()) return NULL
;
613 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
621 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
622 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
646 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
654 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
655 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
659 PyObject
* _argo0
= 0;
660 char *_kwnames
[] = { "self", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
674 _result
= (long )wxDirDialog_GetStyle(_arg0
);
676 wxPyEndAllowThreads(__tstate
);
677 if (PyErr_Occurred()) return NULL
;
678 } _resultobj
= Py_BuildValue("l",_result
);
682 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
683 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
688 PyObject
* _obj1
= 0;
689 char *_kwnames
[] = { "self","message", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
702 #if PYTHON_API_VERSION >= 1009
703 char* tmpPtr
; int tmpSize
;
704 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
708 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
710 _arg1
= new wxString(tmpPtr
, tmpSize
);
712 if (!PyString_Check(_obj1
)) {
713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
716 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
721 wxDirDialog_SetMessage(_arg0
,*_arg1
);
723 wxPyEndAllowThreads(__tstate
);
724 if (PyErr_Occurred()) return NULL
;
725 } Py_INCREF(Py_None
);
726 _resultobj
= Py_None
;
734 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
735 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
739 PyObject
* _argo0
= 0;
740 PyObject
* _obj1
= 0;
741 char *_kwnames
[] = { "self","path", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
754 #if PYTHON_API_VERSION >= 1009
755 char* tmpPtr
; int tmpSize
;
756 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
760 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
762 _arg1
= new wxString(tmpPtr
, tmpSize
);
764 if (!PyString_Check(_obj1
)) {
765 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
768 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
773 wxDirDialog_SetPath(_arg0
,*_arg1
);
775 wxPyEndAllowThreads(__tstate
);
776 if (PyErr_Occurred()) return NULL
;
777 } Py_INCREF(Py_None
);
778 _resultobj
= Py_None
;
786 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
787 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
806 _result
= (int )wxDirDialog_ShowModal(_arg0
);
808 wxPyEndAllowThreads(__tstate
);
809 if (PyErr_Occurred()) return NULL
;
810 } _resultobj
= Py_BuildValue("i",_result
);
814 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
817 src
= (wxFileDialog
*) ptr
;
818 dest
= (wxDialog
*) src
;
819 return (void *) dest
;
822 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) {
824 wxTopLevelWindow
*dest
;
825 src
= (wxFileDialog
*) ptr
;
826 dest
= (wxTopLevelWindow
*) src
;
827 return (void *) dest
;
830 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
833 src
= (wxFileDialog
*) ptr
;
834 dest
= (wxWindow
*) src
;
835 return (void *) dest
;
838 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
841 src
= (wxFileDialog
*) ptr
;
842 dest
= (wxEvtHandler
*) src
;
843 return (void *) dest
;
846 static void *SwigwxFileDialogTowxObject(void *ptr
) {
849 src
= (wxFileDialog
*) ptr
;
850 dest
= (wxObject
*) src
;
851 return (void *) dest
;
854 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
855 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
857 wxFileDialog
* _result
;
859 char * _arg1
= (char *) "Choose a file";
860 char * _arg2
= (char *) "";
861 char * _arg3
= (char *) "";
862 char * _arg4
= (char *) "*.*";
863 long _arg5
= (long ) 0;
864 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
865 PyObject
* _argo0
= 0;
867 PyObject
* _obj6
= 0;
868 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
884 if (! wxPoint_helper(_obj6
, &_arg6
))
888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
889 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
891 wxPyEndAllowThreads(__tstate
);
892 if (PyErr_Occurred()) return NULL
;
894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
895 _resultobj
= Py_BuildValue("s",_ptemp
);
898 _resultobj
= Py_None
;
903 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
904 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 wxFileDialog
* _arg0
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
928 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
936 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
937 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
940 wxFileDialog
* _arg0
;
941 PyObject
* _argo0
= 0;
942 char *_kwnames
[] = { "self", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) return NULL
;
961 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
969 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
970 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
973 wxFileDialog
* _arg0
;
974 PyObject
* _argo0
= 0;
975 char *_kwnames
[] = { "self", NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
989 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
991 wxPyEndAllowThreads(__tstate
);
992 if (PyErr_Occurred()) return NULL
;
993 } _resultobj
= Py_BuildValue("i",_result
);
997 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
998 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1001 wxFileDialog
* _arg0
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1022 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1030 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1031 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1034 wxFileDialog
* _arg0
;
1035 PyObject
* _argo0
= 0;
1036 char *_kwnames
[] = { "self", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1055 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1063 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1064 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1067 wxFileDialog
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 char *_kwnames
[] = { "self", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1083 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1085 wxPyEndAllowThreads(__tstate
);
1086 if (PyErr_Occurred()) return NULL
;
1087 } _resultobj
= Py_BuildValue("l",_result
);
1091 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1092 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
* _resultobj
;
1095 wxFileDialog
* _arg0
;
1096 PyObject
* _argo0
= 0;
1097 char *_kwnames
[] = { "self", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) return NULL
;
1116 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1124 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1125 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1127 wxFileDialog
* _arg0
;
1129 PyObject
* _argo0
= 0;
1130 PyObject
* _obj1
= 0;
1131 char *_kwnames
[] = { "self","directory", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1144 #if PYTHON_API_VERSION >= 1009
1145 char* tmpPtr
; int tmpSize
;
1146 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1150 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1152 _arg1
= new wxString(tmpPtr
, tmpSize
);
1154 if (!PyString_Check(_obj1
)) {
1155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1158 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) return NULL
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1176 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1177 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1179 wxFileDialog
* _arg0
;
1181 PyObject
* _argo0
= 0;
1182 PyObject
* _obj1
= 0;
1183 char *_kwnames
[] = { "self","setfilename", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1196 #if PYTHON_API_VERSION >= 1009
1197 char* tmpPtr
; int tmpSize
;
1198 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1202 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1204 _arg1
= new wxString(tmpPtr
, tmpSize
);
1206 if (!PyString_Check(_obj1
)) {
1207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1210 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) return NULL
;
1219 } Py_INCREF(Py_None
);
1220 _resultobj
= Py_None
;
1228 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1229 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1231 wxFileDialog
* _arg0
;
1233 PyObject
* _argo0
= 0;
1234 char *_kwnames
[] = { "self","filterIndex", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) return NULL
;
1252 } Py_INCREF(Py_None
);
1253 _resultobj
= Py_None
;
1257 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1258 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1260 wxFileDialog
* _arg0
;
1262 PyObject
* _argo0
= 0;
1263 PyObject
* _obj1
= 0;
1264 char *_kwnames
[] = { "self","message", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1277 #if PYTHON_API_VERSION >= 1009
1278 char* tmpPtr
; int tmpSize
;
1279 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1280 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1283 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1285 _arg1
= new wxString(tmpPtr
, tmpSize
);
1287 if (!PyString_Check(_obj1
)) {
1288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1291 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) return NULL
;
1300 } Py_INCREF(Py_None
);
1301 _resultobj
= Py_None
;
1309 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1310 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxFileDialog
* _arg0
;
1314 PyObject
* _argo0
= 0;
1315 PyObject
* _obj1
= 0;
1316 char *_kwnames
[] = { "self","path", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1329 #if PYTHON_API_VERSION >= 1009
1330 char* tmpPtr
; int tmpSize
;
1331 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1335 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1337 _arg1
= new wxString(tmpPtr
, tmpSize
);
1339 if (!PyString_Check(_obj1
)) {
1340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1343 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 wxFileDialog_SetPath(_arg0
,*_arg1
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) return NULL
;
1352 } Py_INCREF(Py_None
);
1353 _resultobj
= Py_None
;
1361 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1362 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1364 wxFileDialog
* _arg0
;
1366 PyObject
* _argo0
= 0;
1367 char *_kwnames
[] = { "self","style", NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1381 wxFileDialog_SetStyle(_arg0
,_arg1
);
1383 wxPyEndAllowThreads(__tstate
);
1384 if (PyErr_Occurred()) return NULL
;
1385 } Py_INCREF(Py_None
);
1386 _resultobj
= Py_None
;
1390 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1391 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1393 wxFileDialog
* _arg0
;
1395 PyObject
* _argo0
= 0;
1396 PyObject
* _obj1
= 0;
1397 char *_kwnames
[] = { "self","wildCard", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1410 #if PYTHON_API_VERSION >= 1009
1411 char* tmpPtr
; int tmpSize
;
1412 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1416 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1418 _arg1
= new wxString(tmpPtr
, tmpSize
);
1420 if (!PyString_Check(_obj1
)) {
1421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1424 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1433 } Py_INCREF(Py_None
);
1434 _resultobj
= Py_None
;
1442 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1443 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
* _resultobj
;
1446 wxFileDialog
* _arg0
;
1447 PyObject
* _argo0
= 0;
1448 char *_kwnames
[] = { "self", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) return NULL
;
1466 } _resultobj
= Py_BuildValue("i",_result
);
1470 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1472 self
->GetFilenames(arr
);
1473 return wxArrayString2PyList_helper(arr
);
1475 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1478 wxFileDialog
* _arg0
;
1479 PyObject
* _argo0
= 0;
1480 char *_kwnames
[] = { "self", NULL
};
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) return NULL
;
1499 _resultobj
= _result
;
1504 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1506 self
->GetPaths(arr
);
1507 return wxArrayString2PyList_helper(arr
);
1509 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
* _resultobj
;
1512 wxFileDialog
* _arg0
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) return NULL
;
1533 _resultobj
= _result
;
1538 static void *SwigwxMultiChoiceDialogTowxDialog(void *ptr
) {
1539 wxMultiChoiceDialog
*src
;
1541 src
= (wxMultiChoiceDialog
*) ptr
;
1542 dest
= (wxDialog
*) src
;
1543 return (void *) dest
;
1546 static void *SwigwxMultiChoiceDialogTowxTopLevelWindow(void *ptr
) {
1547 wxMultiChoiceDialog
*src
;
1548 wxTopLevelWindow
*dest
;
1549 src
= (wxMultiChoiceDialog
*) ptr
;
1550 dest
= (wxTopLevelWindow
*) src
;
1551 return (void *) dest
;
1554 static void *SwigwxMultiChoiceDialogTowxWindow(void *ptr
) {
1555 wxMultiChoiceDialog
*src
;
1557 src
= (wxMultiChoiceDialog
*) ptr
;
1558 dest
= (wxWindow
*) src
;
1559 return (void *) dest
;
1562 static void *SwigwxMultiChoiceDialogTowxEvtHandler(void *ptr
) {
1563 wxMultiChoiceDialog
*src
;
1565 src
= (wxMultiChoiceDialog
*) ptr
;
1566 dest
= (wxEvtHandler
*) src
;
1567 return (void *) dest
;
1570 static void *SwigwxMultiChoiceDialogTowxObject(void *ptr
) {
1571 wxMultiChoiceDialog
*src
;
1573 src
= (wxMultiChoiceDialog
*) ptr
;
1574 dest
= (wxObject
*) src
;
1575 return (void *) dest
;
1578 #define new_wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1579 static PyObject
*_wrap_new_wxMultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1581 wxMultiChoiceDialog
* _result
;
1587 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1588 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1589 PyObject
* _argo0
= 0;
1590 PyObject
* _obj1
= 0;
1591 PyObject
* _obj2
= 0;
1592 PyObject
* _obj4
= 0;
1594 PyObject
* _obj6
= 0;
1595 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxMultiChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMultiChoiceDialog. Expected _wxWindow_p.");
1609 #if PYTHON_API_VERSION >= 1009
1610 char* tmpPtr
; int tmpSize
;
1611 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1615 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1617 _arg1
= new wxString(tmpPtr
, tmpSize
);
1619 if (!PyString_Check(_obj1
)) {
1620 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1623 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1627 #if PYTHON_API_VERSION >= 1009
1628 char* tmpPtr
; int tmpSize
;
1629 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1633 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1635 _arg2
= new wxString(tmpPtr
, tmpSize
);
1637 if (!PyString_Check(_obj2
)) {
1638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1641 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1646 _arg4
= wxString_LIST_helper(_obj4
);
1647 if (_arg4
== NULL
) {
1654 if (! wxPoint_helper(_obj6
, &_arg6
))
1659 _arg3
= PyList_Size(_obj4
);
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 _result
= (wxMultiChoiceDialog
*)new_wxMultiChoiceDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) return NULL
;
1672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMultiChoiceDialog_p");
1673 _resultobj
= Py_BuildValue("s",_ptemp
);
1676 _resultobj
= Py_None
;
1692 #define wxMultiChoiceDialog_SetSelections(_swigobj,_swigarg0) (_swigobj->SetSelections(_swigarg0))
1693 static PyObject
*_wrap_wxMultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
* _resultobj
;
1695 wxMultiChoiceDialog
* _arg0
;
1697 PyObject
* _argo0
= 0;
1698 PyObject
* _obj1
= 0;
1699 char *_kwnames
[] = { "self","selections", NULL
};
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMultiChoiceDialog_SetSelections",_kwnames
,&_argo0
,&_obj1
))
1705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_SetSelections. Expected _wxMultiChoiceDialog_p.");
1712 if (! PySequence_Check(_obj1
)) {
1713 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
1716 _arg1
= new wxArrayInt
;
1717 int i
, len
=PySequence_Length(_obj1
);
1718 for (i
=0; i
<len
; i
++) {
1719 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
1720 PyObject
* number
= PyNumber_Int(item
);
1721 _arg1
->Add(PyInt_AS_LONG(number
));
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 wxMultiChoiceDialog_SetSelections(_arg0
,*_arg1
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } Py_INCREF(Py_None
);
1733 _resultobj
= Py_None
;
1741 static PyObject
* wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
) {
1742 return wxArrayInt2PyList_helper(self
->GetSelections());
1744 static PyObject
*_wrap_wxMultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1747 wxMultiChoiceDialog
* _arg0
;
1748 PyObject
* _argo0
= 0;
1749 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMultiChoiceDialog_GetSelections",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_GetSelections. Expected _wxMultiChoiceDialog_p.");
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 _result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(_arg0
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) return NULL
;
1768 _resultobj
= _result
;
1773 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1774 wxSingleChoiceDialog
*src
;
1776 src
= (wxSingleChoiceDialog
*) ptr
;
1777 dest
= (wxDialog
*) src
;
1778 return (void *) dest
;
1781 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) {
1782 wxSingleChoiceDialog
*src
;
1783 wxTopLevelWindow
*dest
;
1784 src
= (wxSingleChoiceDialog
*) ptr
;
1785 dest
= (wxTopLevelWindow
*) src
;
1786 return (void *) dest
;
1789 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1790 wxSingleChoiceDialog
*src
;
1792 src
= (wxSingleChoiceDialog
*) ptr
;
1793 dest
= (wxWindow
*) src
;
1794 return (void *) dest
;
1797 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1798 wxSingleChoiceDialog
*src
;
1800 src
= (wxSingleChoiceDialog
*) ptr
;
1801 dest
= (wxEvtHandler
*) src
;
1802 return (void *) dest
;
1805 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1806 wxSingleChoiceDialog
*src
;
1808 src
= (wxSingleChoiceDialog
*) ptr
;
1809 dest
= (wxObject
*) src
;
1810 return (void *) dest
;
1813 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1814 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1815 LCOUNT
, choices
, NULL
, style
, *pos
);
1818 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1820 wxSingleChoiceDialog
* _result
;
1826 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1827 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1828 PyObject
* _argo0
= 0;
1829 PyObject
* _obj1
= 0;
1830 PyObject
* _obj2
= 0;
1831 PyObject
* _obj4
= 0;
1833 PyObject
* _obj6
= 0;
1834 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1848 #if PYTHON_API_VERSION >= 1009
1849 char* tmpPtr
; int tmpSize
;
1850 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1851 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1854 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1856 _arg1
= new wxString(tmpPtr
, tmpSize
);
1858 if (!PyString_Check(_obj1
)) {
1859 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1862 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1866 #if PYTHON_API_VERSION >= 1009
1867 char* tmpPtr
; int tmpSize
;
1868 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1872 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1874 _arg2
= new wxString(tmpPtr
, tmpSize
);
1876 if (!PyString_Check(_obj2
)) {
1877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1880 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1885 _arg4
= wxString_LIST_helper(_obj4
);
1886 if (_arg4
== NULL
) {
1893 if (! wxPoint_helper(_obj6
, &_arg6
))
1898 _arg3
= PyList_Size(_obj4
);
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) return NULL
;
1911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1912 _resultobj
= Py_BuildValue("s",_ptemp
);
1915 _resultobj
= Py_None
;
1931 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1932 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1935 wxSingleChoiceDialog
* _arg0
;
1936 PyObject
* _argo0
= 0;
1937 char *_kwnames
[] = { "self", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) return NULL
;
1955 } _resultobj
= Py_BuildValue("i",_result
);
1959 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1960 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1963 wxSingleChoiceDialog
* _arg0
;
1964 PyObject
* _argo0
= 0;
1965 char *_kwnames
[] = { "self", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) return NULL
;
1984 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1992 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1993 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
* _resultobj
;
1995 wxSingleChoiceDialog
* _arg0
;
1997 PyObject
* _argo0
= 0;
1998 char *_kwnames
[] = { "self","sel", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) return NULL
;
2016 } Py_INCREF(Py_None
);
2017 _resultobj
= Py_None
;
2021 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2022 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2025 wxSingleChoiceDialog
* _arg0
;
2026 PyObject
* _argo0
= 0;
2027 char *_kwnames
[] = { "self", NULL
};
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
2033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) return NULL
;
2045 } _resultobj
= Py_BuildValue("i",_result
);
2049 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
2050 wxTextEntryDialog
*src
;
2052 src
= (wxTextEntryDialog
*) ptr
;
2053 dest
= (wxDialog
*) src
;
2054 return (void *) dest
;
2057 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) {
2058 wxTextEntryDialog
*src
;
2059 wxTopLevelWindow
*dest
;
2060 src
= (wxTextEntryDialog
*) ptr
;
2061 dest
= (wxTopLevelWindow
*) src
;
2062 return (void *) dest
;
2065 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
2066 wxTextEntryDialog
*src
;
2068 src
= (wxTextEntryDialog
*) ptr
;
2069 dest
= (wxWindow
*) src
;
2070 return (void *) dest
;
2073 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
2074 wxTextEntryDialog
*src
;
2076 src
= (wxTextEntryDialog
*) ptr
;
2077 dest
= (wxEvtHandler
*) src
;
2078 return (void *) dest
;
2081 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
2082 wxTextEntryDialog
*src
;
2084 src
= (wxTextEntryDialog
*) ptr
;
2085 dest
= (wxObject
*) src
;
2086 return (void *) dest
;
2089 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2090 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2092 wxTextEntryDialog
* _result
;
2095 char * _arg2
= (char *) "Input Text";
2096 char * _arg3
= (char *) "";
2097 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2098 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
2099 PyObject
* _argo0
= 0;
2101 PyObject
* _obj5
= 0;
2102 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
2118 if (! wxPoint_helper(_obj5
, &_arg5
))
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) return NULL
;
2128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
2129 _resultobj
= Py_BuildValue("s",_ptemp
);
2132 _resultobj
= Py_None
;
2137 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
2138 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 wxTextEntryDialog
* _arg0
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) return NULL
;
2162 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2170 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2171 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2173 wxTextEntryDialog
* _arg0
;
2175 PyObject
* _argo0
= 0;
2176 PyObject
* _obj1
= 0;
2177 char *_kwnames
[] = { "self","value", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
2190 #if PYTHON_API_VERSION >= 1009
2191 char* tmpPtr
; int tmpSize
;
2192 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2196 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2198 _arg1
= new wxString(tmpPtr
, tmpSize
);
2200 if (!PyString_Check(_obj1
)) {
2201 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2204 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) return NULL
;
2213 } Py_INCREF(Py_None
);
2214 _resultobj
= Py_None
;
2222 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2223 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2226 wxTextEntryDialog
* _arg0
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) return NULL
;
2246 } _resultobj
= Py_BuildValue("i",_result
);
2250 static void *SwigwxFontDataTowxObject(void *ptr
) {
2253 src
= (wxFontData
*) ptr
;
2254 dest
= (wxObject
*) src
;
2255 return (void *) dest
;
2258 #define new_wxFontData() (new wxFontData())
2259 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
* _resultobj
;
2261 wxFontData
* _result
;
2262 char *_kwnames
[] = { NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 _result
= (wxFontData
*)new_wxFontData();
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) return NULL
;
2275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2276 _resultobj
= Py_BuildValue("s",_ptemp
);
2279 _resultobj
= Py_None
;
2284 #define delete_wxFontData(_swigobj) (delete _swigobj)
2285 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2288 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 delete_wxFontData(_arg0
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) return NULL
;
2307 } Py_INCREF(Py_None
);
2308 _resultobj
= Py_None
;
2312 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2313 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2317 PyObject
* _argo0
= 0;
2319 char *_kwnames
[] = { "self","enable", NULL
};
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2331 _arg1
= (bool ) tempbool1
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 wxFontData_EnableEffects(_arg0
,_arg1
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) return NULL
;
2338 } Py_INCREF(Py_None
);
2339 _resultobj
= Py_None
;
2343 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2344 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2348 PyObject
* _argo0
= 0;
2349 char *_kwnames
[] = { "self", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) return NULL
;
2367 } _resultobj
= Py_BuildValue("i",_result
);
2371 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2372 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2376 PyObject
* _argo0
= 0;
2377 char *_kwnames
[] = { "self", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 _result
= new wxColour (wxFontData_GetColour(_arg0
));
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) return NULL
;
2396 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2397 _resultobj
= Py_BuildValue("s",_ptemp
);
2401 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2402 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2406 PyObject
* _argo0
= 0;
2407 char *_kwnames
[] = { "self", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) return NULL
;
2426 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2427 _resultobj
= Py_BuildValue("s",_ptemp
);
2431 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2432 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) return NULL
;
2455 } _resultobj
= Py_BuildValue("i",_result
);
2459 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2460 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self", NULL
};
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) return NULL
;
2484 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2485 _resultobj
= Py_BuildValue("s",_ptemp
);
2489 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2490 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2494 PyObject
* _argo0
= 0;
2495 char *_kwnames
[] = { "self", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) return NULL
;
2513 } _resultobj
= Py_BuildValue("i",_result
);
2517 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2518 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2522 PyObject
* _argo0
= 0;
2524 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2536 _arg1
= (bool ) tempbool1
;
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) return NULL
;
2543 } Py_INCREF(Py_None
);
2544 _resultobj
= Py_None
;
2548 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2549 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2553 PyObject
* _argo0
= 0;
2554 PyObject
* _argo1
= 0;
2555 char *_kwnames
[] = { "self","font", NULL
};
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) return NULL
;
2580 } Py_INCREF(Py_None
);
2581 _resultobj
= Py_None
;
2585 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2586 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2590 PyObject
* _argo0
= 0;
2592 PyObject
* _obj1
= 0;
2593 char *_kwnames
[] = { "self","colour", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2607 if (! wxColour_helper(_obj1
, &_arg1
))
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 wxFontData_SetColour(_arg0
,*_arg1
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) return NULL
;
2616 } Py_INCREF(Py_None
);
2617 _resultobj
= Py_None
;
2621 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2622 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
* _resultobj
;
2626 PyObject
* _argo0
= 0;
2627 PyObject
* _argo1
= 0;
2628 char *_kwnames
[] = { "self","font", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) return NULL
;
2653 } Py_INCREF(Py_None
);
2654 _resultobj
= Py_None
;
2658 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2659 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self","min","max", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) return NULL
;
2683 } Py_INCREF(Py_None
);
2684 _resultobj
= Py_None
;
2688 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2689 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2695 char *_kwnames
[] = { "self","showHelp", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2707 _arg1
= (bool ) tempbool1
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 wxFontData_SetShowHelp(_arg0
,_arg1
);
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) return NULL
;
2714 } Py_INCREF(Py_None
);
2715 _resultobj
= Py_None
;
2719 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2722 src
= (wxFontDialog
*) ptr
;
2723 dest
= (wxDialog
*) src
;
2724 return (void *) dest
;
2727 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) {
2729 wxTopLevelWindow
*dest
;
2730 src
= (wxFontDialog
*) ptr
;
2731 dest
= (wxTopLevelWindow
*) src
;
2732 return (void *) dest
;
2735 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2738 src
= (wxFontDialog
*) ptr
;
2739 dest
= (wxWindow
*) src
;
2740 return (void *) dest
;
2743 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2746 src
= (wxFontDialog
*) ptr
;
2747 dest
= (wxEvtHandler
*) src
;
2748 return (void *) dest
;
2751 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2754 src
= (wxFontDialog
*) ptr
;
2755 dest
= (wxObject
*) src
;
2756 return (void *) dest
;
2759 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2760 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2762 wxFontDialog
* _result
;
2765 PyObject
* _argo0
= 0;
2766 PyObject
* _argo1
= 0;
2767 char *_kwnames
[] = { "parent","data", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) return NULL
;
2794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2795 _resultobj
= Py_BuildValue("s",_ptemp
);
2798 _resultobj
= Py_None
;
2803 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2804 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2806 wxFontData
* _result
;
2807 wxFontDialog
* _arg0
;
2808 PyObject
* _argo0
= 0;
2809 char *_kwnames
[] = { "self", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2825 _result
= (wxFontData
*) &_result_ref
;
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) return NULL
;
2830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2831 _resultobj
= Py_BuildValue("s",_ptemp
);
2834 _resultobj
= Py_None
;
2839 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2840 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
* _resultobj
;
2843 wxFontDialog
* _arg0
;
2844 PyObject
* _argo0
= 0;
2845 char *_kwnames
[] = { "self", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) return NULL
;
2863 } _resultobj
= Py_BuildValue("i",_result
);
2867 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2868 wxMessageDialog
*src
;
2870 src
= (wxMessageDialog
*) ptr
;
2871 dest
= (wxDialog
*) src
;
2872 return (void *) dest
;
2875 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) {
2876 wxMessageDialog
*src
;
2877 wxTopLevelWindow
*dest
;
2878 src
= (wxMessageDialog
*) ptr
;
2879 dest
= (wxTopLevelWindow
*) src
;
2880 return (void *) dest
;
2883 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2884 wxMessageDialog
*src
;
2886 src
= (wxMessageDialog
*) ptr
;
2887 dest
= (wxWindow
*) src
;
2888 return (void *) dest
;
2891 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2892 wxMessageDialog
*src
;
2894 src
= (wxMessageDialog
*) ptr
;
2895 dest
= (wxEvtHandler
*) src
;
2896 return (void *) dest
;
2899 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2900 wxMessageDialog
*src
;
2902 src
= (wxMessageDialog
*) ptr
;
2903 dest
= (wxObject
*) src
;
2904 return (void *) dest
;
2907 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2908 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2910 wxMessageDialog
* _result
;
2913 char * _arg2
= (char *) "Message box";
2914 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2915 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2916 PyObject
* _argo0
= 0;
2918 PyObject
* _obj4
= 0;
2919 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2935 if (! wxPoint_helper(_obj4
, &_arg4
))
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) return NULL
;
2945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2946 _resultobj
= Py_BuildValue("s",_ptemp
);
2949 _resultobj
= Py_None
;
2954 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2955 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2958 wxMessageDialog
* _arg0
;
2959 PyObject
* _argo0
= 0;
2960 char *_kwnames
[] = { "self", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2976 wxPyEndAllowThreads(__tstate
);
2977 if (PyErr_Occurred()) return NULL
;
2978 } _resultobj
= Py_BuildValue("i",_result
);
2982 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2983 wxProgressDialog
*src
;
2985 src
= (wxProgressDialog
*) ptr
;
2986 dest
= (wxFrame
*) src
;
2987 return (void *) dest
;
2990 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) {
2991 wxProgressDialog
*src
;
2992 wxTopLevelWindow
*dest
;
2993 src
= (wxProgressDialog
*) ptr
;
2994 dest
= (wxTopLevelWindow
*) src
;
2995 return (void *) dest
;
2998 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2999 wxProgressDialog
*src
;
3001 src
= (wxProgressDialog
*) ptr
;
3002 dest
= (wxWindow
*) src
;
3003 return (void *) dest
;
3006 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
3007 wxProgressDialog
*src
;
3009 src
= (wxProgressDialog
*) ptr
;
3010 dest
= (wxEvtHandler
*) src
;
3011 return (void *) dest
;
3014 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
3015 wxProgressDialog
*src
;
3017 src
= (wxProgressDialog
*) ptr
;
3018 dest
= (wxObject
*) src
;
3019 return (void *) dest
;
3022 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3023 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3025 wxProgressDialog
* _result
;
3028 int _arg2
= (int ) 100;
3029 wxWindow
* _arg3
= (wxWindow
*) NULL
;
3030 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
3031 PyObject
* _obj0
= 0;
3032 PyObject
* _obj1
= 0;
3033 PyObject
* _argo3
= 0;
3034 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
3041 #if PYTHON_API_VERSION >= 1009
3042 char* tmpPtr
; int tmpSize
;
3043 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3044 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3047 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3049 _arg0
= new wxString(tmpPtr
, tmpSize
);
3051 if (!PyString_Check(_obj0
)) {
3052 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3055 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3059 #if PYTHON_API_VERSION >= 1009
3060 char* tmpPtr
; int tmpSize
;
3061 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3062 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3065 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3067 _arg1
= new wxString(tmpPtr
, tmpSize
);
3069 if (!PyString_Check(_obj1
)) {
3070 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3073 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3077 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
3091 _resultobj
= Py_BuildValue("s",_ptemp
);
3094 _resultobj
= Py_None
;
3107 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
3108 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3111 wxProgressDialog
* _arg0
;
3112 int _arg1
= (int ) -1;
3113 char * _arg2
= (char *) NULL
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self","value","newmsg", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) return NULL
;
3133 } _resultobj
= Py_BuildValue("i",_result
);
3137 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
3138 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3140 wxProgressDialog
* _arg0
;
3141 PyObject
* _argo0
= 0;
3142 char *_kwnames
[] = { "self", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 wxProgressDialog_Resume(_arg0
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) return NULL
;
3160 } Py_INCREF(Py_None
);
3161 _resultobj
= Py_None
;
3165 static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr
) {
3166 wxFindDialogEvent
*src
;
3167 wxCommandEvent
*dest
;
3168 src
= (wxFindDialogEvent
*) ptr
;
3169 dest
= (wxCommandEvent
*) src
;
3170 return (void *) dest
;
3173 static void *SwigwxFindDialogEventTowxEvent(void *ptr
) {
3174 wxFindDialogEvent
*src
;
3176 src
= (wxFindDialogEvent
*) ptr
;
3177 dest
= (wxEvent
*) src
;
3178 return (void *) dest
;
3181 static void *SwigwxFindDialogEventTowxObject(void *ptr
) {
3182 wxFindDialogEvent
*src
;
3184 src
= (wxFindDialogEvent
*) ptr
;
3185 dest
= (wxObject
*) src
;
3186 return (void *) dest
;
3189 #define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1))
3190 static PyObject
*_wrap_new_wxFindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3192 wxFindDialogEvent
* _result
;
3193 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
3194 int _arg1
= (int ) 0;
3195 char *_kwnames
[] = { "commandType","id", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxFindDialogEvent",_kwnames
,&_arg0
,&_arg1
))
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 _result
= (wxFindDialogEvent
*)new_wxFindDialogEvent(_arg0
,_arg1
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) return NULL
;
3208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindDialogEvent_p");
3209 _resultobj
= Py_BuildValue("s",_ptemp
);
3212 _resultobj
= Py_None
;
3217 #define wxFindDialogEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
3218 static PyObject
*_wrap_wxFindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3221 wxFindDialogEvent
* _arg0
;
3222 PyObject
* _argo0
= 0;
3223 char *_kwnames
[] = { "self", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFlags",_kwnames
,&_argo0
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p.");
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 _result
= (int )wxFindDialogEvent_GetFlags(_arg0
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) return NULL
;
3241 } _resultobj
= Py_BuildValue("i",_result
);
3245 #define wxFindDialogEvent_GetFindString(_swigobj) (_swigobj->GetFindString())
3246 static PyObject
*_wrap_wxFindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3249 wxFindDialogEvent
* _arg0
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFindString",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 _result
= new wxString (wxFindDialogEvent_GetFindString(_arg0
));
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3270 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3278 #define wxFindDialogEvent_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3279 static PyObject
*_wrap_wxFindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3282 wxFindDialogEvent
* _arg0
;
3283 PyObject
* _argo0
= 0;
3284 char *_kwnames
[] = { "self", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetReplaceString",_kwnames
,&_argo0
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p.");
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 const wxString
& _result_ref
= wxFindDialogEvent_GetReplaceString(_arg0
);
3299 _result
= (wxString
*) &_result_ref
;
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) return NULL
;
3304 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3309 #define wxFindDialogEvent_GetDialog(_swigobj) (_swigobj->GetDialog())
3310 static PyObject
*_wrap_wxFindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3312 wxFindReplaceDialog
* _result
;
3313 wxFindDialogEvent
* _arg0
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self", NULL
};
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetDialog",_kwnames
,&_argo0
))
3322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p.");
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 _result
= (wxFindReplaceDialog
*)wxFindDialogEvent_GetDialog(_arg0
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) return NULL
;
3335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3336 _resultobj
= Py_BuildValue("s",_ptemp
);
3339 _resultobj
= Py_None
;
3344 #define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3345 static PyObject
*_wrap_wxFindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3347 wxFindDialogEvent
* _arg0
;
3349 PyObject
* _argo0
= 0;
3350 char *_kwnames
[] = { "self","flags", NULL
};
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindDialogEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p.");
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxFindDialogEvent_SetFlags(_arg0
,_arg1
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) return NULL
;
3368 } Py_INCREF(Py_None
);
3369 _resultobj
= Py_None
;
3373 #define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3374 static PyObject
*_wrap_wxFindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3376 wxFindDialogEvent
* _arg0
;
3378 PyObject
* _argo0
= 0;
3379 PyObject
* _obj1
= 0;
3380 char *_kwnames
[] = { "self","str", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p.");
3393 #if PYTHON_API_VERSION >= 1009
3394 char* tmpPtr
; int tmpSize
;
3395 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3399 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3401 _arg1
= new wxString(tmpPtr
, tmpSize
);
3403 if (!PyString_Check(_obj1
)) {
3404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3407 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 wxFindDialogEvent_SetFindString(_arg0
,*_arg1
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3416 } Py_INCREF(Py_None
);
3417 _resultobj
= Py_None
;
3425 #define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3426 static PyObject
*_wrap_wxFindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
* _resultobj
;
3428 wxFindDialogEvent
* _arg0
;
3430 PyObject
* _argo0
= 0;
3431 PyObject
* _obj1
= 0;
3432 char *_kwnames
[] = { "self","str", NULL
};
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p.");
3445 #if PYTHON_API_VERSION >= 1009
3446 char* tmpPtr
; int tmpSize
;
3447 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3451 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3453 _arg1
= new wxString(tmpPtr
, tmpSize
);
3455 if (!PyString_Check(_obj1
)) {
3456 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3459 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 wxFindDialogEvent_SetReplaceString(_arg0
,*_arg1
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 } Py_INCREF(Py_None
);
3469 _resultobj
= Py_None
;
3477 static void *SwigwxFindReplaceDataTowxObject(void *ptr
) {
3478 wxFindReplaceData
*src
;
3480 src
= (wxFindReplaceData
*) ptr
;
3481 dest
= (wxObject
*) src
;
3482 return (void *) dest
;
3485 #define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0))
3486 static PyObject
*_wrap_new_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3488 wxFindReplaceData
* _result
;
3489 int _arg0
= (int ) 0;
3490 char *_kwnames
[] = { "flags", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFindReplaceData",_kwnames
,&_arg0
))
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 _result
= (wxFindReplaceData
*)new_wxFindReplaceData(_arg0
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) return NULL
;
3503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3504 _resultobj
= Py_BuildValue("s",_ptemp
);
3507 _resultobj
= Py_None
;
3512 #define delete_wxFindReplaceData(_swigobj) (delete _swigobj)
3513 static PyObject
*_wrap_delete_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3515 wxFindReplaceData
* _arg0
;
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFindReplaceData",_kwnames
,&_argo0
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 delete_wxFindReplaceData(_arg0
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3535 } Py_INCREF(Py_None
);
3536 _resultobj
= Py_None
;
3540 #define wxFindReplaceData_GetFindString(_swigobj) (_swigobj->GetFindString())
3541 static PyObject
*_wrap_wxFindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3544 wxFindReplaceData
* _arg0
;
3545 PyObject
* _argo0
= 0;
3546 char *_kwnames
[] = { "self", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFindString",_kwnames
,&_argo0
))
3552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p.");
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 const wxString
& _result_ref
= wxFindReplaceData_GetFindString(_arg0
);
3561 _result
= (wxString
*) &_result_ref
;
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) return NULL
;
3566 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3571 #define wxFindReplaceData_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3572 static PyObject
*_wrap_wxFindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3575 wxFindReplaceData
* _arg0
;
3576 PyObject
* _argo0
= 0;
3577 char *_kwnames
[] = { "self", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetReplaceString",_kwnames
,&_argo0
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p.");
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 const wxString
& _result_ref
= wxFindReplaceData_GetReplaceString(_arg0
);
3592 _result
= (wxString
*) &_result_ref
;
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) return NULL
;
3597 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3602 #define wxFindReplaceData_GetFlags(_swigobj) (_swigobj->GetFlags())
3603 static PyObject
*_wrap_wxFindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3606 wxFindReplaceData
* _arg0
;
3607 PyObject
* _argo0
= 0;
3608 char *_kwnames
[] = { "self", NULL
};
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFlags",_kwnames
,&_argo0
))
3614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p.");
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 _result
= (int )wxFindReplaceData_GetFlags(_arg0
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) return NULL
;
3626 } _resultobj
= Py_BuildValue("i",_result
);
3630 #define wxFindReplaceData_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3631 static PyObject
*_wrap_wxFindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
* _resultobj
;
3633 wxFindReplaceData
* _arg0
;
3635 PyObject
* _argo0
= 0;
3636 char *_kwnames
[] = { "self","flags", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindReplaceData_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p.");
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 wxFindReplaceData_SetFlags(_arg0
,_arg1
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) return NULL
;
3654 } Py_INCREF(Py_None
);
3655 _resultobj
= Py_None
;
3659 #define wxFindReplaceData_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3660 static PyObject
*_wrap_wxFindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3662 wxFindReplaceData
* _arg0
;
3664 PyObject
* _argo0
= 0;
3665 PyObject
* _obj1
= 0;
3666 char *_kwnames
[] = { "self","str", NULL
};
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p.");
3679 #if PYTHON_API_VERSION >= 1009
3680 char* tmpPtr
; int tmpSize
;
3681 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3682 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3685 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3687 _arg1
= new wxString(tmpPtr
, tmpSize
);
3689 if (!PyString_Check(_obj1
)) {
3690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3693 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 wxFindReplaceData_SetFindString(_arg0
,*_arg1
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) return NULL
;
3702 } Py_INCREF(Py_None
);
3703 _resultobj
= Py_None
;
3711 #define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3712 static PyObject
*_wrap_wxFindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
* _resultobj
;
3714 wxFindReplaceData
* _arg0
;
3716 PyObject
* _argo0
= 0;
3717 PyObject
* _obj1
= 0;
3718 char *_kwnames
[] = { "self","str", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p.");
3731 #if PYTHON_API_VERSION >= 1009
3732 char* tmpPtr
; int tmpSize
;
3733 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3734 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3737 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3739 _arg1
= new wxString(tmpPtr
, tmpSize
);
3741 if (!PyString_Check(_obj1
)) {
3742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3745 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 wxFindReplaceData_SetReplaceString(_arg0
,*_arg1
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) return NULL
;
3754 } Py_INCREF(Py_None
);
3755 _resultobj
= Py_None
;
3763 static void *SwigwxFindReplaceDialogTowxDialog(void *ptr
) {
3764 wxFindReplaceDialog
*src
;
3766 src
= (wxFindReplaceDialog
*) ptr
;
3767 dest
= (wxDialog
*) src
;
3768 return (void *) dest
;
3771 static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr
) {
3772 wxFindReplaceDialog
*src
;
3773 wxTopLevelWindow
*dest
;
3774 src
= (wxFindReplaceDialog
*) ptr
;
3775 dest
= (wxTopLevelWindow
*) src
;
3776 return (void *) dest
;
3779 static void *SwigwxFindReplaceDialogTowxWindow(void *ptr
) {
3780 wxFindReplaceDialog
*src
;
3782 src
= (wxFindReplaceDialog
*) ptr
;
3783 dest
= (wxWindow
*) src
;
3784 return (void *) dest
;
3787 static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr
) {
3788 wxFindReplaceDialog
*src
;
3790 src
= (wxFindReplaceDialog
*) ptr
;
3791 dest
= (wxEvtHandler
*) src
;
3792 return (void *) dest
;
3795 static void *SwigwxFindReplaceDialogTowxObject(void *ptr
) {
3796 wxFindReplaceDialog
*src
;
3798 src
= (wxFindReplaceDialog
*) ptr
;
3799 dest
= (wxObject
*) src
;
3800 return (void *) dest
;
3803 #define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3804 static PyObject
*_wrap_new_wxFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3806 wxFindReplaceDialog
* _result
;
3808 wxFindReplaceData
* _arg1
;
3810 int _arg3
= (int ) 0;
3811 PyObject
* _argo0
= 0;
3812 PyObject
* _argo1
= 0;
3813 PyObject
* _obj2
= 0;
3814 char *_kwnames
[] = { "parent","data","title","style", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:new_wxFindReplaceDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p.");
3828 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p.");
3835 #if PYTHON_API_VERSION >= 1009
3836 char* tmpPtr
; int tmpSize
;
3837 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3841 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3843 _arg2
= new wxString(tmpPtr
, tmpSize
);
3845 if (!PyString_Check(_obj2
)) {
3846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3849 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 _result
= (wxFindReplaceDialog
*)new_wxFindReplaceDialog(_arg0
,_arg1
,*_arg2
,_arg3
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) return NULL
;
3859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3860 _resultobj
= Py_BuildValue("s",_ptemp
);
3863 _resultobj
= Py_None
;
3872 #define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog())
3873 static PyObject
*_wrap_new_wxPreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3875 wxFindReplaceDialog
* _result
;
3876 char *_kwnames
[] = { NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFindReplaceDialog",_kwnames
))
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 _result
= (wxFindReplaceDialog
*)new_wxPreFindReplaceDialog();
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) return NULL
;
3889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3890 _resultobj
= Py_BuildValue("s",_ptemp
);
3893 _resultobj
= Py_None
;
3898 #define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3899 static PyObject
*_wrap_wxFindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3902 wxFindReplaceDialog
* _arg0
;
3904 wxFindReplaceData
* _arg2
;
3906 int _arg4
= (int ) 0;
3907 PyObject
* _argo0
= 0;
3908 PyObject
* _argo1
= 0;
3909 PyObject
* _argo2
= 0;
3910 PyObject
* _obj3
= 0;
3911 char *_kwnames
[] = { "self","parent","data","title","style", NULL
};
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|i:wxFindReplaceDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p.");
3924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p.");
3931 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFindReplaceData_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p.");
3938 #if PYTHON_API_VERSION >= 1009
3939 char* tmpPtr
; int tmpSize
;
3940 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3941 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3944 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3946 _arg3
= new wxString(tmpPtr
, tmpSize
);
3948 if (!PyString_Check(_obj3
)) {
3949 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3952 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 _result
= (bool )wxFindReplaceDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) return NULL
;
3961 } _resultobj
= Py_BuildValue("i",_result
);
3969 #define wxFindReplaceDialog_GetData(_swigobj) (_swigobj->GetData())
3970 static PyObject
*_wrap_wxFindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3972 wxFindReplaceData
* _result
;
3973 wxFindReplaceDialog
* _arg0
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceDialog_GetData",_kwnames
,&_argo0
))
3982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p.");
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 _result
= (wxFindReplaceData
*)wxFindReplaceDialog_GetData(_arg0
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) return NULL
;
3995 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3996 _resultobj
= Py_BuildValue("s",_ptemp
);
3999 _resultobj
= Py_None
;
4004 #define wxFindReplaceDialog_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4005 static PyObject
*_wrap_wxFindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
* _resultobj
;
4007 wxFindReplaceDialog
* _arg0
;
4008 wxFindReplaceData
* _arg1
;
4009 PyObject
* _argo0
= 0;
4010 PyObject
* _argo1
= 0;
4011 char *_kwnames
[] = { "self","data", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceDialog_SetData",_kwnames
,&_argo0
,&_argo1
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p.");
4024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p.");
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 wxFindReplaceDialog_SetData(_arg0
,_arg1
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) return NULL
;
4036 } Py_INCREF(Py_None
);
4037 _resultobj
= Py_None
;
4041 static PyMethodDef cmndlgscMethods
[] = {
4042 { "wxFindReplaceDialog_SetData", (PyCFunction
) _wrap_wxFindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
4043 { "wxFindReplaceDialog_GetData", (PyCFunction
) _wrap_wxFindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
4044 { "wxFindReplaceDialog_Create", (PyCFunction
) _wrap_wxFindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
4045 { "new_wxPreFindReplaceDialog", (PyCFunction
) _wrap_new_wxPreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4046 { "new_wxFindReplaceDialog", (PyCFunction
) _wrap_new_wxFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4047 { "wxFindReplaceData_SetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
4048 { "wxFindReplaceData_SetFindString", (PyCFunction
) _wrap_wxFindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
4049 { "wxFindReplaceData_SetFlags", (PyCFunction
) _wrap_wxFindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4050 { "wxFindReplaceData_GetFlags", (PyCFunction
) _wrap_wxFindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4051 { "wxFindReplaceData_GetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
4052 { "wxFindReplaceData_GetFindString", (PyCFunction
) _wrap_wxFindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
4053 { "delete_wxFindReplaceData", (PyCFunction
) _wrap_delete_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
4054 { "new_wxFindReplaceData", (PyCFunction
) _wrap_new_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
4055 { "wxFindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
4056 { "wxFindDialogEvent_SetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
4057 { "wxFindDialogEvent_SetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4058 { "wxFindDialogEvent_GetDialog", (PyCFunction
) _wrap_wxFindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
4059 { "wxFindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
4060 { "wxFindDialogEvent_GetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
4061 { "wxFindDialogEvent_GetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4062 { "new_wxFindDialogEvent", (PyCFunction
) _wrap_new_wxFindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
4063 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
4064 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
4065 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
4066 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4067 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
4068 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4069 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
4070 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
4071 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
4072 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
4073 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
4074 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4075 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
4076 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
4077 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
4078 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
4079 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
4080 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
4081 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4082 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
4083 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
4084 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
4085 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
4086 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4087 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
4088 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
4089 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
4090 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4091 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4092 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
4093 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4094 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4095 { "wxMultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
4096 { "wxMultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
4097 { "new_wxMultiChoiceDialog", (PyCFunction
) _wrap_new_wxMultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4098 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
4099 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
4100 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4101 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
4102 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4103 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
4104 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4105 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
4106 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
4107 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
4108 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
4109 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4110 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
4111 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4112 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
4113 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
4114 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
4115 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
4116 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4117 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
4140 * This table is used by the pointer type-checker
4142 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4143 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
4144 { "_signed_long","_long",0},
4145 { "_wxPrintQuality","_wxCoord",0},
4146 { "_wxPrintQuality","_int",0},
4147 { "_wxPrintQuality","_signed_int",0},
4148 { "_wxPrintQuality","_unsigned_int",0},
4149 { "_wxPrintQuality","_wxWindowID",0},
4150 { "_wxPrintQuality","_uint",0},
4151 { "_wxPrintQuality","_EBool",0},
4152 { "_wxPrintQuality","_size_t",0},
4153 { "_wxPrintQuality","_time_t",0},
4154 { "_byte","_unsigned_char",0},
4155 { "_long","_unsigned_long",0},
4156 { "_long","_signed_long",0},
4157 { "_size_t","_wxCoord",0},
4158 { "_size_t","_wxPrintQuality",0},
4159 { "_size_t","_time_t",0},
4160 { "_size_t","_unsigned_int",0},
4161 { "_size_t","_int",0},
4162 { "_size_t","_wxWindowID",0},
4163 { "_size_t","_uint",0},
4164 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
4165 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
4166 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
4167 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
4168 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
4169 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
4170 { "_wxTopLevelWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxTopLevelWindow
},
4171 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
4172 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
4173 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
4174 { "_uint","_wxCoord",0},
4175 { "_uint","_wxPrintQuality",0},
4176 { "_uint","_time_t",0},
4177 { "_uint","_size_t",0},
4178 { "_uint","_unsigned_int",0},
4179 { "_uint","_int",0},
4180 { "_uint","_wxWindowID",0},
4181 { "_wxChar","_char",0},
4182 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
4183 { "_char","_wxChar",0},
4184 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4185 { "_EBool","_wxCoord",0},
4186 { "_EBool","_wxPrintQuality",0},
4187 { "_EBool","_signed_int",0},
4188 { "_EBool","_int",0},
4189 { "_EBool","_wxWindowID",0},
4190 { "_unsigned_long","_long",0},
4191 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4192 { "_signed_int","_wxCoord",0},
4193 { "_signed_int","_wxPrintQuality",0},
4194 { "_signed_int","_EBool",0},
4195 { "_signed_int","_wxWindowID",0},
4196 { "_signed_int","_int",0},
4197 { "_WXTYPE","_short",0},
4198 { "_WXTYPE","_signed_short",0},
4199 { "_WXTYPE","_unsigned_short",0},
4200 { "_unsigned_short","_WXTYPE",0},
4201 { "_unsigned_short","_short",0},
4202 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
4203 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
4204 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
4205 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
4206 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
4207 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
4208 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
4209 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
4210 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
4211 { "_wxObject","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxObject
},
4212 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
4213 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
4214 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
4215 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
4216 { "_signed_short","_WXTYPE",0},
4217 { "_signed_short","_short",0},
4218 { "_unsigned_char","_byte",0},
4219 { "_unsigned_int","_wxCoord",0},
4220 { "_unsigned_int","_wxPrintQuality",0},
4221 { "_unsigned_int","_time_t",0},
4222 { "_unsigned_int","_size_t",0},
4223 { "_unsigned_int","_uint",0},
4224 { "_unsigned_int","_wxWindowID",0},
4225 { "_unsigned_int","_int",0},
4226 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
4227 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4228 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
4229 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4230 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4231 { "_wxDialog","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxDialog
},
4232 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
4233 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
4234 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
4235 { "_short","_WXTYPE",0},
4236 { "_short","_unsigned_short",0},
4237 { "_short","_signed_short",0},
4238 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4239 { "_wxWindowID","_wxCoord",0},
4240 { "_wxWindowID","_wxPrintQuality",0},
4241 { "_wxWindowID","_time_t",0},
4242 { "_wxWindowID","_size_t",0},
4243 { "_wxWindowID","_EBool",0},
4244 { "_wxWindowID","_uint",0},
4245 { "_wxWindowID","_int",0},
4246 { "_wxWindowID","_signed_int",0},
4247 { "_wxWindowID","_unsigned_int",0},
4248 { "_int","_wxCoord",0},
4249 { "_int","_wxPrintQuality",0},
4250 { "_int","_time_t",0},
4251 { "_int","_size_t",0},
4252 { "_int","_EBool",0},
4253 { "_int","_uint",0},
4254 { "_int","_wxWindowID",0},
4255 { "_int","_unsigned_int",0},
4256 { "_int","_signed_int",0},
4257 { "_time_t","_wxCoord",0},
4258 { "_time_t","_wxPrintQuality",0},
4259 { "_time_t","_unsigned_int",0},
4260 { "_time_t","_int",0},
4261 { "_time_t","_wxWindowID",0},
4262 { "_time_t","_uint",0},
4263 { "_time_t","_size_t",0},
4264 { "_wxCoord","_int",0},
4265 { "_wxCoord","_signed_int",0},
4266 { "_wxCoord","_unsigned_int",0},
4267 { "_wxCoord","_wxWindowID",0},
4268 { "_wxCoord","_uint",0},
4269 { "_wxCoord","_EBool",0},
4270 { "_wxCoord","_size_t",0},
4271 { "_wxCoord","_time_t",0},
4272 { "_wxCoord","_wxPrintQuality",0},
4273 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
4274 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
4275 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
4276 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
4277 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
4278 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
4279 { "_wxEvtHandler","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxEvtHandler
},
4280 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
4281 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
4282 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
4283 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4284 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4285 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4286 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
4287 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4288 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4289 { "_wxWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxWindow
},
4290 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
4291 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
4292 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
4295 static PyObject
*SWIG_globals
;
4299 SWIGEXPORT(void) initcmndlgsc() {
4301 SWIG_globals
= SWIG_newvarlink();
4302 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
4303 d
= PyModule_GetDict(m
);
4304 PyDict_SetItemString(d
,"wxCHOICEDLG_STYLE", PyInt_FromLong((long) wxCHOICEDLG_STYLE
));
4305 PyDict_SetItemString(d
,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN
));
4306 PyDict_SetItemString(d
,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD
));
4307 PyDict_SetItemString(d
,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE
));
4308 PyDict_SetItemString(d
,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG
));
4309 PyDict_SetItemString(d
,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN
));
4310 PyDict_SetItemString(d
,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE
));
4311 PyDict_SetItemString(d
,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD
));
4312 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND
));
4313 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT
));
4314 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE
));
4315 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL
));
4316 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE
));
4319 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4320 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);