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
);
94 static void *SwigwxColourDataTowxObject(void *ptr
) {
97 src
= (wxColourData
*) ptr
;
98 dest
= (wxObject
*) src
;
102 #define new_wxColourData() (new wxColourData())
103 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
104 PyObject
* _resultobj
;
105 wxColourData
* _result
;
106 char *_kwnames
[] = { NULL
};
110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
114 _result
= (wxColourData
*)new_wxColourData();
116 wxPyEndAllowThreads(__tstate
);
117 if (PyErr_Occurred()) return NULL
;
119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
120 _resultobj
= Py_BuildValue("s",_ptemp
);
123 _resultobj
= Py_None
;
128 #define delete_wxColourData(_swigobj) (delete _swigobj)
129 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
130 PyObject
* _resultobj
;
131 wxColourData
* _arg0
;
132 PyObject
* _argo0
= 0;
133 char *_kwnames
[] = { "self", NULL
};
136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
147 delete_wxColourData(_arg0
);
149 wxPyEndAllowThreads(__tstate
);
150 if (PyErr_Occurred()) return NULL
;
151 } Py_INCREF(Py_None
);
152 _resultobj
= Py_None
;
156 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
157 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
158 PyObject
* _resultobj
;
160 wxColourData
* _arg0
;
161 PyObject
* _argo0
= 0;
162 char *_kwnames
[] = { "self", NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
176 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
178 wxPyEndAllowThreads(__tstate
);
179 if (PyErr_Occurred()) return NULL
;
180 } _resultobj
= Py_BuildValue("i",_result
);
184 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
185 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
188 wxColourData
* _arg0
;
189 PyObject
* _argo0
= 0;
190 char *_kwnames
[] = { "self", NULL
};
194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
205 _result
= new wxColour (wxColourData_GetColour(_arg0
));
207 wxPyEndAllowThreads(__tstate
);
208 if (PyErr_Occurred()) return NULL
;
209 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
210 _resultobj
= Py_BuildValue("s",_ptemp
);
214 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
215 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
218 wxColourData
* _arg0
;
220 PyObject
* _argo0
= 0;
221 char *_kwnames
[] = { "self","i", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
236 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
238 wxPyEndAllowThreads(__tstate
);
239 if (PyErr_Occurred()) return NULL
;
240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
241 _resultobj
= Py_BuildValue("s",_ptemp
);
245 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
246 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
248 wxColourData
* _arg0
;
250 PyObject
* _argo0
= 0;
251 char *_kwnames
[] = { "self","flag", NULL
};
254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
265 wxColourData_SetChooseFull(_arg0
,_arg1
);
267 wxPyEndAllowThreads(__tstate
);
268 if (PyErr_Occurred()) return NULL
;
269 } Py_INCREF(Py_None
);
270 _resultobj
= Py_None
;
274 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
275 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
276 PyObject
* _resultobj
;
277 wxColourData
* _arg0
;
279 PyObject
* _argo0
= 0;
281 PyObject
* _obj1
= 0;
282 char *_kwnames
[] = { "self","colour", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
296 if (! wxColour_helper(_obj1
, &_arg1
))
300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
301 wxColourData_SetColour(_arg0
,*_arg1
);
303 wxPyEndAllowThreads(__tstate
);
304 if (PyErr_Occurred()) return NULL
;
305 } Py_INCREF(Py_None
);
306 _resultobj
= Py_None
;
310 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
311 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
313 wxColourData
* _arg0
;
316 PyObject
* _argo0
= 0;
318 PyObject
* _obj2
= 0;
319 char *_kwnames
[] = { "self","i","colour", NULL
};
322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
333 if (! wxColour_helper(_obj2
, &_arg2
))
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
342 } Py_INCREF(Py_None
);
343 _resultobj
= Py_None
;
347 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
350 src
= (wxColourDialog
*) ptr
;
351 dest
= (wxDialog
*) src
;
352 return (void *) dest
;
355 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) {
357 wxTopLevelWindow
*dest
;
358 src
= (wxColourDialog
*) ptr
;
359 dest
= (wxTopLevelWindow
*) src
;
360 return (void *) dest
;
363 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
366 src
= (wxColourDialog
*) ptr
;
367 dest
= (wxWindow
*) src
;
368 return (void *) dest
;
371 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
374 src
= (wxColourDialog
*) ptr
;
375 dest
= (wxEvtHandler
*) src
;
376 return (void *) dest
;
379 static void *SwigwxColourDialogTowxObject(void *ptr
) {
382 src
= (wxColourDialog
*) ptr
;
383 dest
= (wxObject
*) src
;
384 return (void *) dest
;
387 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
388 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
389 PyObject
* _resultobj
;
390 wxColourDialog
* _result
;
392 wxColourData
* _arg1
= (wxColourData
*) NULL
;
393 PyObject
* _argo0
= 0;
394 PyObject
* _argo1
= 0;
395 char *_kwnames
[] = { "parent","data", NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
417 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
419 wxPyEndAllowThreads(__tstate
);
420 if (PyErr_Occurred()) return NULL
;
422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
423 _resultobj
= Py_BuildValue("s",_ptemp
);
426 _resultobj
= Py_None
;
431 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
432 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
434 wxColourData
* _result
;
435 wxColourDialog
* _arg0
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
452 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
453 _result
= (wxColourData
*) &_result_ref
;
455 wxPyEndAllowThreads(__tstate
);
456 if (PyErr_Occurred()) return NULL
;
458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
459 _resultobj
= Py_BuildValue("s",_ptemp
);
462 _resultobj
= Py_None
;
467 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
468 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
469 PyObject
* _resultobj
;
471 wxColourDialog
* _arg0
;
472 PyObject
* _argo0
= 0;
473 char *_kwnames
[] = { "self", NULL
};
476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
487 _result
= (int )wxColourDialog_ShowModal(_arg0
);
489 wxPyEndAllowThreads(__tstate
);
490 if (PyErr_Occurred()) return NULL
;
491 } _resultobj
= Py_BuildValue("i",_result
);
495 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
498 src
= (wxDirDialog
*) ptr
;
499 dest
= (wxDialog
*) src
;
500 return (void *) dest
;
503 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) {
505 wxTopLevelWindow
*dest
;
506 src
= (wxDirDialog
*) ptr
;
507 dest
= (wxTopLevelWindow
*) src
;
508 return (void *) dest
;
511 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
514 src
= (wxDirDialog
*) ptr
;
515 dest
= (wxWindow
*) src
;
516 return (void *) dest
;
519 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
522 src
= (wxDirDialog
*) ptr
;
523 dest
= (wxEvtHandler
*) src
;
524 return (void *) dest
;
527 static void *SwigwxDirDialogTowxObject(void *ptr
) {
530 src
= (wxDirDialog
*) ptr
;
531 dest
= (wxObject
*) src
;
532 return (void *) dest
;
535 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
536 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
538 wxDirDialog
* _result
;
540 char * _arg1
= (char *) "Choose a directory";
541 char * _arg2
= (char *) "";
542 long _arg3
= (long ) 0;
543 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
544 PyObject
* _argo0
= 0;
546 PyObject
* _obj4
= 0;
547 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
563 if (! wxPoint_helper(_obj4
, &_arg4
))
567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
568 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
570 wxPyEndAllowThreads(__tstate
);
571 if (PyErr_Occurred()) return NULL
;
573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
574 _resultobj
= Py_BuildValue("s",_ptemp
);
577 _resultobj
= Py_None
;
582 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
583 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
587 PyObject
* _argo0
= 0;
588 char *_kwnames
[] = { "self", NULL
};
591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
602 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
604 wxPyEndAllowThreads(__tstate
);
605 if (PyErr_Occurred()) return NULL
;
608 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
610 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
619 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
620 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 PyObject
* _resultobj
;
624 PyObject
* _argo0
= 0;
625 char *_kwnames
[] = { "self", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
639 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
641 wxPyEndAllowThreads(__tstate
);
642 if (PyErr_Occurred()) return NULL
;
645 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
647 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
656 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
657 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
661 PyObject
* _argo0
= 0;
662 char *_kwnames
[] = { "self", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
676 _result
= (long )wxDirDialog_GetStyle(_arg0
);
678 wxPyEndAllowThreads(__tstate
);
679 if (PyErr_Occurred()) return NULL
;
680 } _resultobj
= Py_BuildValue("l",_result
);
684 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
685 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
689 PyObject
* _argo0
= 0;
690 PyObject
* _obj1
= 0;
691 char *_kwnames
[] = { "self","message", NULL
};
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
704 _arg1
= wxString_in_helper(_obj1
);
709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
710 wxDirDialog_SetMessage(_arg0
,*_arg1
);
712 wxPyEndAllowThreads(__tstate
);
713 if (PyErr_Occurred()) return NULL
;
714 } Py_INCREF(Py_None
);
715 _resultobj
= Py_None
;
723 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
724 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
728 PyObject
* _argo0
= 0;
729 PyObject
* _obj1
= 0;
730 char *_kwnames
[] = { "self","path", NULL
};
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
743 _arg1
= wxString_in_helper(_obj1
);
748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
749 wxDirDialog_SetPath(_arg0
,*_arg1
);
751 wxPyEndAllowThreads(__tstate
);
752 if (PyErr_Occurred()) return NULL
;
753 } Py_INCREF(Py_None
);
754 _resultobj
= Py_None
;
762 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
763 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
767 PyObject
* _argo0
= 0;
768 char *_kwnames
[] = { "self", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
782 _result
= (int )wxDirDialog_ShowModal(_arg0
);
784 wxPyEndAllowThreads(__tstate
);
785 if (PyErr_Occurred()) return NULL
;
786 } _resultobj
= Py_BuildValue("i",_result
);
790 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
793 src
= (wxFileDialog
*) ptr
;
794 dest
= (wxDialog
*) src
;
795 return (void *) dest
;
798 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) {
800 wxTopLevelWindow
*dest
;
801 src
= (wxFileDialog
*) ptr
;
802 dest
= (wxTopLevelWindow
*) src
;
803 return (void *) dest
;
806 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
809 src
= (wxFileDialog
*) ptr
;
810 dest
= (wxWindow
*) src
;
811 return (void *) dest
;
814 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
817 src
= (wxFileDialog
*) ptr
;
818 dest
= (wxEvtHandler
*) src
;
819 return (void *) dest
;
822 static void *SwigwxFileDialogTowxObject(void *ptr
) {
825 src
= (wxFileDialog
*) ptr
;
826 dest
= (wxObject
*) src
;
827 return (void *) dest
;
830 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
831 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
833 wxFileDialog
* _result
;
835 char * _arg1
= (char *) "Choose a file";
836 char * _arg2
= (char *) "";
837 char * _arg3
= (char *) "";
838 char * _arg4
= (char *) "*.*";
839 long _arg5
= (long ) 0;
840 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
841 PyObject
* _argo0
= 0;
843 PyObject
* _obj6
= 0;
844 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
860 if (! wxPoint_helper(_obj6
, &_arg6
))
864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
865 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
867 wxPyEndAllowThreads(__tstate
);
868 if (PyErr_Occurred()) return NULL
;
870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
871 _resultobj
= Py_BuildValue("s",_ptemp
);
874 _resultobj
= Py_None
;
879 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
880 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
883 wxFileDialog
* _arg0
;
884 PyObject
* _argo0
= 0;
885 char *_kwnames
[] = { "self", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
899 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
901 wxPyEndAllowThreads(__tstate
);
902 if (PyErr_Occurred()) return NULL
;
905 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
907 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
916 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
917 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 PyObject
* _resultobj
;
920 wxFileDialog
* _arg0
;
921 PyObject
* _argo0
= 0;
922 char *_kwnames
[] = { "self", NULL
};
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
936 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) return NULL
;
942 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
944 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
953 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
954 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 wxFileDialog
* _arg0
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
973 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
975 wxPyEndAllowThreads(__tstate
);
976 if (PyErr_Occurred()) return NULL
;
977 } _resultobj
= Py_BuildValue("i",_result
);
981 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
982 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
983 PyObject
* _resultobj
;
985 wxFileDialog
* _arg0
;
986 PyObject
* _argo0
= 0;
987 char *_kwnames
[] = { "self", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1001 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1003 wxPyEndAllowThreads(__tstate
);
1004 if (PyErr_Occurred()) return NULL
;
1007 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1009 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1018 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1019 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1022 wxFileDialog
* _arg0
;
1023 PyObject
* _argo0
= 0;
1024 char *_kwnames
[] = { "self", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1038 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1040 wxPyEndAllowThreads(__tstate
);
1041 if (PyErr_Occurred()) return NULL
;
1044 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1046 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1055 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1056 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1059 wxFileDialog
* _arg0
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1079 } _resultobj
= Py_BuildValue("l",_result
);
1083 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1084 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1087 wxFileDialog
* _arg0
;
1088 PyObject
* _argo0
= 0;
1089 char *_kwnames
[] = { "self", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1103 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1105 wxPyEndAllowThreads(__tstate
);
1106 if (PyErr_Occurred()) return NULL
;
1109 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1111 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1120 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1121 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1123 wxFileDialog
* _arg0
;
1125 PyObject
* _argo0
= 0;
1126 PyObject
* _obj1
= 0;
1127 char *_kwnames
[] = { "self","directory", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1140 _arg1
= wxString_in_helper(_obj1
);
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) return NULL
;
1150 } Py_INCREF(Py_None
);
1151 _resultobj
= Py_None
;
1159 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1160 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
* _resultobj
;
1162 wxFileDialog
* _arg0
;
1164 PyObject
* _argo0
= 0;
1165 PyObject
* _obj1
= 0;
1166 char *_kwnames
[] = { "self","setfilename", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1179 _arg1
= wxString_in_helper(_obj1
);
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) return NULL
;
1189 } Py_INCREF(Py_None
);
1190 _resultobj
= Py_None
;
1198 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1199 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1201 wxFileDialog
* _arg0
;
1203 PyObject
* _argo0
= 0;
1204 char *_kwnames
[] = { "self","filterIndex", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1227 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1228 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1230 wxFileDialog
* _arg0
;
1232 PyObject
* _argo0
= 0;
1233 PyObject
* _obj1
= 0;
1234 char *_kwnames
[] = { "self","message", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
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_SetMessage. Expected _wxFileDialog_p.");
1247 _arg1
= wxString_in_helper(_obj1
);
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) return NULL
;
1257 } Py_INCREF(Py_None
);
1258 _resultobj
= Py_None
;
1266 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1267 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1269 wxFileDialog
* _arg0
;
1271 PyObject
* _argo0
= 0;
1272 PyObject
* _obj1
= 0;
1273 char *_kwnames
[] = { "self","path", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1286 _arg1
= wxString_in_helper(_obj1
);
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 wxFileDialog_SetPath(_arg0
,*_arg1
);
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) return NULL
;
1296 } Py_INCREF(Py_None
);
1297 _resultobj
= Py_None
;
1305 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1306 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
* _resultobj
;
1308 wxFileDialog
* _arg0
;
1310 PyObject
* _argo0
= 0;
1311 char *_kwnames
[] = { "self","style", NULL
};
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 wxFileDialog_SetStyle(_arg0
,_arg1
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) return NULL
;
1329 } Py_INCREF(Py_None
);
1330 _resultobj
= Py_None
;
1334 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1335 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1337 wxFileDialog
* _arg0
;
1339 PyObject
* _argo0
= 0;
1340 PyObject
* _obj1
= 0;
1341 char *_kwnames
[] = { "self","wildCard", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1354 _arg1
= wxString_in_helper(_obj1
);
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) return NULL
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1373 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1374 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1377 wxFileDialog
* _arg0
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) return NULL
;
1397 } _resultobj
= Py_BuildValue("i",_result
);
1401 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1403 self
->GetFilenames(arr
);
1404 return wxArrayString2PyList_helper(arr
);
1406 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1409 wxFileDialog
* _arg0
;
1410 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) return NULL
;
1430 _resultobj
= _result
;
1435 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1437 self
->GetPaths(arr
);
1438 return wxArrayString2PyList_helper(arr
);
1440 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1443 wxFileDialog
* _arg0
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) return NULL
;
1464 _resultobj
= _result
;
1469 static void *SwigwxMultiChoiceDialogTowxDialog(void *ptr
) {
1470 wxMultiChoiceDialog
*src
;
1472 src
= (wxMultiChoiceDialog
*) ptr
;
1473 dest
= (wxDialog
*) src
;
1474 return (void *) dest
;
1477 static void *SwigwxMultiChoiceDialogTowxTopLevelWindow(void *ptr
) {
1478 wxMultiChoiceDialog
*src
;
1479 wxTopLevelWindow
*dest
;
1480 src
= (wxMultiChoiceDialog
*) ptr
;
1481 dest
= (wxTopLevelWindow
*) src
;
1482 return (void *) dest
;
1485 static void *SwigwxMultiChoiceDialogTowxWindow(void *ptr
) {
1486 wxMultiChoiceDialog
*src
;
1488 src
= (wxMultiChoiceDialog
*) ptr
;
1489 dest
= (wxWindow
*) src
;
1490 return (void *) dest
;
1493 static void *SwigwxMultiChoiceDialogTowxEvtHandler(void *ptr
) {
1494 wxMultiChoiceDialog
*src
;
1496 src
= (wxMultiChoiceDialog
*) ptr
;
1497 dest
= (wxEvtHandler
*) src
;
1498 return (void *) dest
;
1501 static void *SwigwxMultiChoiceDialogTowxObject(void *ptr
) {
1502 wxMultiChoiceDialog
*src
;
1504 src
= (wxMultiChoiceDialog
*) ptr
;
1505 dest
= (wxObject
*) src
;
1506 return (void *) dest
;
1509 #define new_wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1510 static PyObject
*_wrap_new_wxMultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
* _resultobj
;
1512 wxMultiChoiceDialog
* _result
;
1518 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1519 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1520 PyObject
* _argo0
= 0;
1521 PyObject
* _obj1
= 0;
1522 PyObject
* _obj2
= 0;
1523 PyObject
* _obj4
= 0;
1525 PyObject
* _obj6
= 0;
1526 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxMultiChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMultiChoiceDialog. Expected _wxWindow_p.");
1540 _arg1
= wxString_in_helper(_obj1
);
1545 _arg2
= wxString_in_helper(_obj2
);
1551 _arg4
= wxString_LIST_helper(_obj4
);
1552 if (_arg4
== NULL
) {
1559 if (! wxPoint_helper(_obj6
, &_arg6
))
1564 _arg3
= PyList_Size(_obj4
);
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 _result
= (wxMultiChoiceDialog
*)new_wxMultiChoiceDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) return NULL
;
1577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMultiChoiceDialog_p");
1578 _resultobj
= Py_BuildValue("s",_ptemp
);
1581 _resultobj
= Py_None
;
1597 #define wxMultiChoiceDialog_SetSelections(_swigobj,_swigarg0) (_swigobj->SetSelections(_swigarg0))
1598 static PyObject
*_wrap_wxMultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1600 wxMultiChoiceDialog
* _arg0
;
1602 PyObject
* _argo0
= 0;
1603 PyObject
* _obj1
= 0;
1604 char *_kwnames
[] = { "self","selections", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMultiChoiceDialog_SetSelections",_kwnames
,&_argo0
,&_obj1
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_SetSelections. Expected _wxMultiChoiceDialog_p.");
1617 if (! PySequence_Check(_obj1
)) {
1618 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
1621 _arg1
= new wxArrayInt
;
1622 int i
, len
=PySequence_Length(_obj1
);
1623 for (i
=0; i
<len
; i
++) {
1624 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
1625 PyObject
* number
= PyNumber_Int(item
);
1626 _arg1
->Add(PyInt_AS_LONG(number
));
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 wxMultiChoiceDialog_SetSelections(_arg0
,*_arg1
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) return NULL
;
1637 } Py_INCREF(Py_None
);
1638 _resultobj
= Py_None
;
1646 static PyObject
* wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
) {
1647 return wxArrayInt2PyList_helper(self
->GetSelections());
1649 static PyObject
*_wrap_wxMultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1652 wxMultiChoiceDialog
* _arg0
;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMultiChoiceDialog_GetSelections",_kwnames
,&_argo0
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_GetSelections. Expected _wxMultiChoiceDialog_p.");
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 _result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(_arg0
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) return NULL
;
1673 _resultobj
= _result
;
1678 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1679 wxSingleChoiceDialog
*src
;
1681 src
= (wxSingleChoiceDialog
*) ptr
;
1682 dest
= (wxDialog
*) src
;
1683 return (void *) dest
;
1686 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) {
1687 wxSingleChoiceDialog
*src
;
1688 wxTopLevelWindow
*dest
;
1689 src
= (wxSingleChoiceDialog
*) ptr
;
1690 dest
= (wxTopLevelWindow
*) src
;
1691 return (void *) dest
;
1694 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1695 wxSingleChoiceDialog
*src
;
1697 src
= (wxSingleChoiceDialog
*) ptr
;
1698 dest
= (wxWindow
*) src
;
1699 return (void *) dest
;
1702 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1703 wxSingleChoiceDialog
*src
;
1705 src
= (wxSingleChoiceDialog
*) ptr
;
1706 dest
= (wxEvtHandler
*) src
;
1707 return (void *) dest
;
1710 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1711 wxSingleChoiceDialog
*src
;
1713 src
= (wxSingleChoiceDialog
*) ptr
;
1714 dest
= (wxObject
*) src
;
1715 return (void *) dest
;
1718 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1719 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1720 LCOUNT
, choices
, NULL
, style
, *pos
);
1723 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1725 wxSingleChoiceDialog
* _result
;
1731 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1732 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1733 PyObject
* _argo0
= 0;
1734 PyObject
* _obj1
= 0;
1735 PyObject
* _obj2
= 0;
1736 PyObject
* _obj4
= 0;
1738 PyObject
* _obj6
= 0;
1739 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1753 _arg1
= wxString_in_helper(_obj1
);
1758 _arg2
= wxString_in_helper(_obj2
);
1764 _arg4
= wxString_LIST_helper(_obj4
);
1765 if (_arg4
== NULL
) {
1772 if (! wxPoint_helper(_obj6
, &_arg6
))
1777 _arg3
= PyList_Size(_obj4
);
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) return NULL
;
1790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1791 _resultobj
= Py_BuildValue("s",_ptemp
);
1794 _resultobj
= Py_None
;
1810 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1811 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1814 wxSingleChoiceDialog
* _arg0
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) return NULL
;
1834 } _resultobj
= Py_BuildValue("i",_result
);
1838 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1839 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1842 wxSingleChoiceDialog
* _arg0
;
1843 PyObject
* _argo0
= 0;
1844 char *_kwnames
[] = { "self", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) return NULL
;
1864 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1866 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1875 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1876 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1878 wxSingleChoiceDialog
* _arg0
;
1880 PyObject
* _argo0
= 0;
1881 char *_kwnames
[] = { "self","sel", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1899 } Py_INCREF(Py_None
);
1900 _resultobj
= Py_None
;
1904 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1905 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1908 wxSingleChoiceDialog
* _arg0
;
1909 PyObject
* _argo0
= 0;
1910 char *_kwnames
[] = { "self", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) return NULL
;
1928 } _resultobj
= Py_BuildValue("i",_result
);
1932 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1933 wxTextEntryDialog
*src
;
1935 src
= (wxTextEntryDialog
*) ptr
;
1936 dest
= (wxDialog
*) src
;
1937 return (void *) dest
;
1940 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) {
1941 wxTextEntryDialog
*src
;
1942 wxTopLevelWindow
*dest
;
1943 src
= (wxTextEntryDialog
*) ptr
;
1944 dest
= (wxTopLevelWindow
*) src
;
1945 return (void *) dest
;
1948 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1949 wxTextEntryDialog
*src
;
1951 src
= (wxTextEntryDialog
*) ptr
;
1952 dest
= (wxWindow
*) src
;
1953 return (void *) dest
;
1956 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1957 wxTextEntryDialog
*src
;
1959 src
= (wxTextEntryDialog
*) ptr
;
1960 dest
= (wxEvtHandler
*) src
;
1961 return (void *) dest
;
1964 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
1965 wxTextEntryDialog
*src
;
1967 src
= (wxTextEntryDialog
*) ptr
;
1968 dest
= (wxObject
*) src
;
1969 return (void *) dest
;
1972 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1973 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1975 wxTextEntryDialog
* _result
;
1978 char * _arg2
= (char *) "Input Text";
1979 char * _arg3
= (char *) "";
1980 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1981 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
1982 PyObject
* _argo0
= 0;
1984 PyObject
* _obj5
= 0;
1985 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
2001 if (! wxPoint_helper(_obj5
, &_arg5
))
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2011 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
2012 _resultobj
= Py_BuildValue("s",_ptemp
);
2015 _resultobj
= Py_None
;
2020 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
2021 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2024 wxTextEntryDialog
* _arg0
;
2025 PyObject
* _argo0
= 0;
2026 char *_kwnames
[] = { "self", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
2039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2040 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
2042 wxPyEndAllowThreads(__tstate
);
2043 if (PyErr_Occurred()) return NULL
;
2046 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2048 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2057 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2058 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2060 wxTextEntryDialog
* _arg0
;
2062 PyObject
* _argo0
= 0;
2063 PyObject
* _obj1
= 0;
2064 char *_kwnames
[] = { "self","value", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
2070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
2077 _arg1
= wxString_in_helper(_obj1
);
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) return NULL
;
2087 } Py_INCREF(Py_None
);
2088 _resultobj
= Py_None
;
2096 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2097 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2100 wxTextEntryDialog
* _arg0
;
2101 PyObject
* _argo0
= 0;
2102 char *_kwnames
[] = { "self", NULL
};
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
2108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) return NULL
;
2120 } _resultobj
= Py_BuildValue("i",_result
);
2124 static void *SwigwxFontDataTowxObject(void *ptr
) {
2127 src
= (wxFontData
*) ptr
;
2128 dest
= (wxObject
*) src
;
2129 return (void *) dest
;
2132 #define new_wxFontData() (new wxFontData())
2133 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2135 wxFontData
* _result
;
2136 char *_kwnames
[] = { NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 _result
= (wxFontData
*)new_wxFontData();
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2150 _resultobj
= Py_BuildValue("s",_ptemp
);
2153 _resultobj
= Py_None
;
2158 #define delete_wxFontData(_swigobj) (delete _swigobj)
2159 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2162 PyObject
* _argo0
= 0;
2163 char *_kwnames
[] = { "self", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 delete_wxFontData(_arg0
);
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) return NULL
;
2181 } Py_INCREF(Py_None
);
2182 _resultobj
= Py_None
;
2186 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2187 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2191 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self","enable", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2205 _arg1
= (bool ) tempbool1
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 wxFontData_EnableEffects(_arg0
,_arg1
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2212 } Py_INCREF(Py_None
);
2213 _resultobj
= Py_None
;
2217 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2218 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
* _resultobj
;
2222 PyObject
* _argo0
= 0;
2223 char *_kwnames
[] = { "self", NULL
};
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) return NULL
;
2241 } _resultobj
= Py_BuildValue("i",_result
);
2245 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2246 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
* _resultobj
;
2250 PyObject
* _argo0
= 0;
2251 char *_kwnames
[] = { "self", NULL
};
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 _result
= new wxColour (wxFontData_GetColour(_arg0
));
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) return NULL
;
2270 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2271 _resultobj
= Py_BuildValue("s",_ptemp
);
2275 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2276 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) return NULL
;
2300 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2301 _resultobj
= Py_BuildValue("s",_ptemp
);
2305 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2306 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
* _resultobj
;
2310 PyObject
* _argo0
= 0;
2311 char *_kwnames
[] = { "self", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) return NULL
;
2329 } _resultobj
= Py_BuildValue("i",_result
);
2333 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2334 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2338 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) return NULL
;
2358 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2359 _resultobj
= Py_BuildValue("s",_ptemp
);
2363 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2364 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2368 PyObject
* _argo0
= 0;
2369 char *_kwnames
[] = { "self", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) return NULL
;
2387 } _resultobj
= Py_BuildValue("i",_result
);
2391 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2392 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
* _resultobj
;
2396 PyObject
* _argo0
= 0;
2398 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2410 _arg1
= (bool ) tempbool1
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) return NULL
;
2417 } Py_INCREF(Py_None
);
2418 _resultobj
= Py_None
;
2422 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2423 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2427 PyObject
* _argo0
= 0;
2428 PyObject
* _argo1
= 0;
2429 char *_kwnames
[] = { "self","font", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) return NULL
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2459 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2460 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2464 PyObject
* _argo0
= 0;
2466 PyObject
* _obj1
= 0;
2467 char *_kwnames
[] = { "self","colour", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2481 if (! wxColour_helper(_obj1
, &_arg1
))
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 wxFontData_SetColour(_arg0
,*_arg1
);
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) return NULL
;
2490 } Py_INCREF(Py_None
);
2491 _resultobj
= Py_None
;
2495 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2496 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2500 PyObject
* _argo0
= 0;
2501 PyObject
* _argo1
= 0;
2502 char *_kwnames
[] = { "self","font", NULL
};
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) return NULL
;
2527 } Py_INCREF(Py_None
);
2528 _resultobj
= Py_None
;
2532 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2533 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2538 PyObject
* _argo0
= 0;
2539 char *_kwnames
[] = { "self","min","max", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) return NULL
;
2557 } Py_INCREF(Py_None
);
2558 _resultobj
= Py_None
;
2562 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2563 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2567 PyObject
* _argo0
= 0;
2569 char *_kwnames
[] = { "self","showHelp", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2581 _arg1
= (bool ) tempbool1
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 wxFontData_SetShowHelp(_arg0
,_arg1
);
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) return NULL
;
2588 } Py_INCREF(Py_None
);
2589 _resultobj
= Py_None
;
2593 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2596 src
= (wxFontDialog
*) ptr
;
2597 dest
= (wxDialog
*) src
;
2598 return (void *) dest
;
2601 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) {
2603 wxTopLevelWindow
*dest
;
2604 src
= (wxFontDialog
*) ptr
;
2605 dest
= (wxTopLevelWindow
*) src
;
2606 return (void *) dest
;
2609 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2612 src
= (wxFontDialog
*) ptr
;
2613 dest
= (wxWindow
*) src
;
2614 return (void *) dest
;
2617 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2620 src
= (wxFontDialog
*) ptr
;
2621 dest
= (wxEvtHandler
*) src
;
2622 return (void *) dest
;
2625 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2628 src
= (wxFontDialog
*) ptr
;
2629 dest
= (wxObject
*) src
;
2630 return (void *) dest
;
2633 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2634 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2636 wxFontDialog
* _result
;
2639 PyObject
* _argo0
= 0;
2640 PyObject
* _argo1
= 0;
2641 char *_kwnames
[] = { "parent","data", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) return NULL
;
2668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2669 _resultobj
= Py_BuildValue("s",_ptemp
);
2672 _resultobj
= Py_None
;
2677 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2678 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2680 wxFontData
* _result
;
2681 wxFontDialog
* _arg0
;
2682 PyObject
* _argo0
= 0;
2683 char *_kwnames
[] = { "self", NULL
};
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2699 _result
= (wxFontData
*) &_result_ref
;
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) return NULL
;
2704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2705 _resultobj
= Py_BuildValue("s",_ptemp
);
2708 _resultobj
= Py_None
;
2713 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2714 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2717 wxFontDialog
* _arg0
;
2718 PyObject
* _argo0
= 0;
2719 char *_kwnames
[] = { "self", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) return NULL
;
2737 } _resultobj
= Py_BuildValue("i",_result
);
2741 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2742 wxMessageDialog
*src
;
2744 src
= (wxMessageDialog
*) ptr
;
2745 dest
= (wxDialog
*) src
;
2746 return (void *) dest
;
2749 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) {
2750 wxMessageDialog
*src
;
2751 wxTopLevelWindow
*dest
;
2752 src
= (wxMessageDialog
*) ptr
;
2753 dest
= (wxTopLevelWindow
*) src
;
2754 return (void *) dest
;
2757 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2758 wxMessageDialog
*src
;
2760 src
= (wxMessageDialog
*) ptr
;
2761 dest
= (wxWindow
*) src
;
2762 return (void *) dest
;
2765 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2766 wxMessageDialog
*src
;
2768 src
= (wxMessageDialog
*) ptr
;
2769 dest
= (wxEvtHandler
*) src
;
2770 return (void *) dest
;
2773 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2774 wxMessageDialog
*src
;
2776 src
= (wxMessageDialog
*) ptr
;
2777 dest
= (wxObject
*) src
;
2778 return (void *) dest
;
2781 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2782 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2784 wxMessageDialog
* _result
;
2787 char * _arg2
= (char *) "Message box";
2788 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2789 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2790 PyObject
* _argo0
= 0;
2792 PyObject
* _obj4
= 0;
2793 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2809 if (! wxPoint_helper(_obj4
, &_arg4
))
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) return NULL
;
2819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2820 _resultobj
= Py_BuildValue("s",_ptemp
);
2823 _resultobj
= Py_None
;
2828 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2829 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
* _resultobj
;
2832 wxMessageDialog
* _arg0
;
2833 PyObject
* _argo0
= 0;
2834 char *_kwnames
[] = { "self", NULL
};
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) return NULL
;
2852 } _resultobj
= Py_BuildValue("i",_result
);
2856 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2857 wxProgressDialog
*src
;
2859 src
= (wxProgressDialog
*) ptr
;
2860 dest
= (wxFrame
*) src
;
2861 return (void *) dest
;
2864 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) {
2865 wxProgressDialog
*src
;
2866 wxTopLevelWindow
*dest
;
2867 src
= (wxProgressDialog
*) ptr
;
2868 dest
= (wxTopLevelWindow
*) src
;
2869 return (void *) dest
;
2872 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2873 wxProgressDialog
*src
;
2875 src
= (wxProgressDialog
*) ptr
;
2876 dest
= (wxWindow
*) src
;
2877 return (void *) dest
;
2880 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
2881 wxProgressDialog
*src
;
2883 src
= (wxProgressDialog
*) ptr
;
2884 dest
= (wxEvtHandler
*) src
;
2885 return (void *) dest
;
2888 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
2889 wxProgressDialog
*src
;
2891 src
= (wxProgressDialog
*) ptr
;
2892 dest
= (wxObject
*) src
;
2893 return (void *) dest
;
2896 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2897 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
* _resultobj
;
2899 wxProgressDialog
* _result
;
2902 int _arg2
= (int ) 100;
2903 wxWindow
* _arg3
= (wxWindow
*) NULL
;
2904 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
2905 PyObject
* _obj0
= 0;
2906 PyObject
* _obj1
= 0;
2907 PyObject
* _argo3
= 0;
2908 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
2915 _arg0
= wxString_in_helper(_obj0
);
2920 _arg1
= wxString_in_helper(_obj1
);
2925 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) return NULL
;
2938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
2939 _resultobj
= Py_BuildValue("s",_ptemp
);
2942 _resultobj
= Py_None
;
2955 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2956 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2959 wxProgressDialog
* _arg0
;
2960 int _arg1
= (int ) -1;
2961 char * _arg2
= (char *) NULL
;
2962 PyObject
* _argo0
= 0;
2963 char *_kwnames
[] = { "self","value","newmsg", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) return NULL
;
2981 } _resultobj
= Py_BuildValue("i",_result
);
2985 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2986 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2988 wxProgressDialog
* _arg0
;
2989 PyObject
* _argo0
= 0;
2990 char *_kwnames
[] = { "self", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 wxProgressDialog_Resume(_arg0
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) return NULL
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr
) {
3014 wxFindDialogEvent
*src
;
3015 wxCommandEvent
*dest
;
3016 src
= (wxFindDialogEvent
*) ptr
;
3017 dest
= (wxCommandEvent
*) src
;
3018 return (void *) dest
;
3021 static void *SwigwxFindDialogEventTowxEvent(void *ptr
) {
3022 wxFindDialogEvent
*src
;
3024 src
= (wxFindDialogEvent
*) ptr
;
3025 dest
= (wxEvent
*) src
;
3026 return (void *) dest
;
3029 static void *SwigwxFindDialogEventTowxObject(void *ptr
) {
3030 wxFindDialogEvent
*src
;
3032 src
= (wxFindDialogEvent
*) ptr
;
3033 dest
= (wxObject
*) src
;
3034 return (void *) dest
;
3037 #define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1))
3038 static PyObject
*_wrap_new_wxFindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3040 wxFindDialogEvent
* _result
;
3041 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
3042 int _arg1
= (int ) 0;
3043 char *_kwnames
[] = { "commandType","id", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxFindDialogEvent",_kwnames
,&_arg0
,&_arg1
))
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 _result
= (wxFindDialogEvent
*)new_wxFindDialogEvent(_arg0
,_arg1
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) return NULL
;
3056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindDialogEvent_p");
3057 _resultobj
= Py_BuildValue("s",_ptemp
);
3060 _resultobj
= Py_None
;
3065 #define wxFindDialogEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
3066 static PyObject
*_wrap_wxFindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3069 wxFindDialogEvent
* _arg0
;
3070 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFlags",_kwnames
,&_argo0
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p.");
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 _result
= (int )wxFindDialogEvent_GetFlags(_arg0
);
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3089 } _resultobj
= Py_BuildValue("i",_result
);
3093 #define wxFindDialogEvent_GetFindString(_swigobj) (_swigobj->GetFindString())
3094 static PyObject
*_wrap_wxFindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
* _resultobj
;
3097 wxFindDialogEvent
* _arg0
;
3098 PyObject
* _argo0
= 0;
3099 char *_kwnames
[] = { "self", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFindString",_kwnames
,&_argo0
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p.");
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 _result
= new wxString (wxFindDialogEvent_GetFindString(_arg0
));
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) return NULL
;
3119 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3121 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3130 #define wxFindDialogEvent_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3131 static PyObject
*_wrap_wxFindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3134 wxFindDialogEvent
* _arg0
;
3135 PyObject
* _argo0
= 0;
3136 char *_kwnames
[] = { "self", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetReplaceString",_kwnames
,&_argo0
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p.");
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 const wxString
& _result_ref
= wxFindDialogEvent_GetReplaceString(_arg0
);
3151 _result
= (wxString
*) &_result_ref
;
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) return NULL
;
3157 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3159 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3165 #define wxFindDialogEvent_GetDialog(_swigobj) (_swigobj->GetDialog())
3166 static PyObject
*_wrap_wxFindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3168 wxFindReplaceDialog
* _result
;
3169 wxFindDialogEvent
* _arg0
;
3170 PyObject
* _argo0
= 0;
3171 char *_kwnames
[] = { "self", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetDialog",_kwnames
,&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p.");
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 _result
= (wxFindReplaceDialog
*)wxFindDialogEvent_GetDialog(_arg0
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) return NULL
;
3191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3192 _resultobj
= Py_BuildValue("s",_ptemp
);
3195 _resultobj
= Py_None
;
3200 #define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3201 static PyObject
*_wrap_wxFindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3203 wxFindDialogEvent
* _arg0
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self","flags", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindDialogEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p.");
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 wxFindDialogEvent_SetFlags(_arg0
,_arg1
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) return NULL
;
3224 } Py_INCREF(Py_None
);
3225 _resultobj
= Py_None
;
3229 #define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3230 static PyObject
*_wrap_wxFindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3232 wxFindDialogEvent
* _arg0
;
3234 PyObject
* _argo0
= 0;
3235 PyObject
* _obj1
= 0;
3236 char *_kwnames
[] = { "self","str", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p.");
3249 _arg1
= wxString_in_helper(_obj1
);
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 wxFindDialogEvent_SetFindString(_arg0
,*_arg1
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) return NULL
;
3259 } Py_INCREF(Py_None
);
3260 _resultobj
= Py_None
;
3268 #define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3269 static PyObject
*_wrap_wxFindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3271 wxFindDialogEvent
* _arg0
;
3273 PyObject
* _argo0
= 0;
3274 PyObject
* _obj1
= 0;
3275 char *_kwnames
[] = { "self","str", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p.");
3288 _arg1
= wxString_in_helper(_obj1
);
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 wxFindDialogEvent_SetReplaceString(_arg0
,*_arg1
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) return NULL
;
3298 } Py_INCREF(Py_None
);
3299 _resultobj
= Py_None
;
3307 static void *SwigwxFindReplaceDataTowxObject(void *ptr
) {
3308 wxFindReplaceData
*src
;
3310 src
= (wxFindReplaceData
*) ptr
;
3311 dest
= (wxObject
*) src
;
3312 return (void *) dest
;
3315 #define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0))
3316 static PyObject
*_wrap_new_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3318 wxFindReplaceData
* _result
;
3319 int _arg0
= (int ) 0;
3320 char *_kwnames
[] = { "flags", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFindReplaceData",_kwnames
,&_arg0
))
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 _result
= (wxFindReplaceData
*)new_wxFindReplaceData(_arg0
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) return NULL
;
3333 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3334 _resultobj
= Py_BuildValue("s",_ptemp
);
3337 _resultobj
= Py_None
;
3342 #define delete_wxFindReplaceData(_swigobj) (delete _swigobj)
3343 static PyObject
*_wrap_delete_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3345 wxFindReplaceData
* _arg0
;
3346 PyObject
* _argo0
= 0;
3347 char *_kwnames
[] = { "self", NULL
};
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFindReplaceData",_kwnames
,&_argo0
))
3353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p.");
3360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3361 delete_wxFindReplaceData(_arg0
);
3363 wxPyEndAllowThreads(__tstate
);
3364 if (PyErr_Occurred()) return NULL
;
3365 } Py_INCREF(Py_None
);
3366 _resultobj
= Py_None
;
3370 #define wxFindReplaceData_GetFindString(_swigobj) (_swigobj->GetFindString())
3371 static PyObject
*_wrap_wxFindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3374 wxFindReplaceData
* _arg0
;
3375 PyObject
* _argo0
= 0;
3376 char *_kwnames
[] = { "self", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFindString",_kwnames
,&_argo0
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p.");
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 const wxString
& _result_ref
= wxFindReplaceData_GetFindString(_arg0
);
3391 _result
= (wxString
*) &_result_ref
;
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) return NULL
;
3397 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3399 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3405 #define wxFindReplaceData_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3406 static PyObject
*_wrap_wxFindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3409 wxFindReplaceData
* _arg0
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetReplaceString",_kwnames
,&_argo0
))
3417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p.");
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 const wxString
& _result_ref
= wxFindReplaceData_GetReplaceString(_arg0
);
3426 _result
= (wxString
*) &_result_ref
;
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) return NULL
;
3432 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3434 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3440 #define wxFindReplaceData_GetFlags(_swigobj) (_swigobj->GetFlags())
3441 static PyObject
*_wrap_wxFindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3444 wxFindReplaceData
* _arg0
;
3445 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFlags",_kwnames
,&_argo0
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p.");
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 _result
= (int )wxFindReplaceData_GetFlags(_arg0
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) return NULL
;
3464 } _resultobj
= Py_BuildValue("i",_result
);
3468 #define wxFindReplaceData_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3469 static PyObject
*_wrap_wxFindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
* _resultobj
;
3471 wxFindReplaceData
* _arg0
;
3473 PyObject
* _argo0
= 0;
3474 char *_kwnames
[] = { "self","flags", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindReplaceData_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p.");
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 wxFindReplaceData_SetFlags(_arg0
,_arg1
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) return NULL
;
3492 } Py_INCREF(Py_None
);
3493 _resultobj
= Py_None
;
3497 #define wxFindReplaceData_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3498 static PyObject
*_wrap_wxFindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3500 wxFindReplaceData
* _arg0
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _obj1
= 0;
3504 char *_kwnames
[] = { "self","str", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p.");
3517 _arg1
= wxString_in_helper(_obj1
);
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 wxFindReplaceData_SetFindString(_arg0
,*_arg1
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) return NULL
;
3527 } Py_INCREF(Py_None
);
3528 _resultobj
= Py_None
;
3536 #define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3537 static PyObject
*_wrap_wxFindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3539 wxFindReplaceData
* _arg0
;
3541 PyObject
* _argo0
= 0;
3542 PyObject
* _obj1
= 0;
3543 char *_kwnames
[] = { "self","str", NULL
};
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p.");
3556 _arg1
= wxString_in_helper(_obj1
);
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 wxFindReplaceData_SetReplaceString(_arg0
,*_arg1
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) return NULL
;
3566 } Py_INCREF(Py_None
);
3567 _resultobj
= Py_None
;
3575 static void *SwigwxFindReplaceDialogTowxDialog(void *ptr
) {
3576 wxFindReplaceDialog
*src
;
3578 src
= (wxFindReplaceDialog
*) ptr
;
3579 dest
= (wxDialog
*) src
;
3580 return (void *) dest
;
3583 static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr
) {
3584 wxFindReplaceDialog
*src
;
3585 wxTopLevelWindow
*dest
;
3586 src
= (wxFindReplaceDialog
*) ptr
;
3587 dest
= (wxTopLevelWindow
*) src
;
3588 return (void *) dest
;
3591 static void *SwigwxFindReplaceDialogTowxWindow(void *ptr
) {
3592 wxFindReplaceDialog
*src
;
3594 src
= (wxFindReplaceDialog
*) ptr
;
3595 dest
= (wxWindow
*) src
;
3596 return (void *) dest
;
3599 static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr
) {
3600 wxFindReplaceDialog
*src
;
3602 src
= (wxFindReplaceDialog
*) ptr
;
3603 dest
= (wxEvtHandler
*) src
;
3604 return (void *) dest
;
3607 static void *SwigwxFindReplaceDialogTowxObject(void *ptr
) {
3608 wxFindReplaceDialog
*src
;
3610 src
= (wxFindReplaceDialog
*) ptr
;
3611 dest
= (wxObject
*) src
;
3612 return (void *) dest
;
3615 #define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3616 static PyObject
*_wrap_new_wxFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3618 wxFindReplaceDialog
* _result
;
3620 wxFindReplaceData
* _arg1
;
3622 int _arg3
= (int ) 0;
3623 PyObject
* _argo0
= 0;
3624 PyObject
* _argo1
= 0;
3625 PyObject
* _obj2
= 0;
3626 char *_kwnames
[] = { "parent","data","title","style", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:new_wxFindReplaceDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p.");
3640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p.");
3647 _arg2
= wxString_in_helper(_obj2
);
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 _result
= (wxFindReplaceDialog
*)new_wxFindReplaceDialog(_arg0
,_arg1
,*_arg2
,_arg3
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) return NULL
;
3658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3659 _resultobj
= Py_BuildValue("s",_ptemp
);
3662 _resultobj
= Py_None
;
3671 #define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog())
3672 static PyObject
*_wrap_new_wxPreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3674 wxFindReplaceDialog
* _result
;
3675 char *_kwnames
[] = { NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFindReplaceDialog",_kwnames
))
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 _result
= (wxFindReplaceDialog
*)new_wxPreFindReplaceDialog();
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) return NULL
;
3688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3689 _resultobj
= Py_BuildValue("s",_ptemp
);
3692 _resultobj
= Py_None
;
3697 #define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3698 static PyObject
*_wrap_wxFindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3701 wxFindReplaceDialog
* _arg0
;
3703 wxFindReplaceData
* _arg2
;
3705 int _arg4
= (int ) 0;
3706 PyObject
* _argo0
= 0;
3707 PyObject
* _argo1
= 0;
3708 PyObject
* _argo2
= 0;
3709 PyObject
* _obj3
= 0;
3710 char *_kwnames
[] = { "self","parent","data","title","style", NULL
};
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|i:wxFindReplaceDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
))
3716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p.");
3723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p.");
3730 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFindReplaceData_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p.");
3737 _arg3
= wxString_in_helper(_obj3
);
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 _result
= (bool )wxFindReplaceDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) return NULL
;
3747 } _resultobj
= Py_BuildValue("i",_result
);
3755 #define wxFindReplaceDialog_GetData(_swigobj) (_swigobj->GetData())
3756 static PyObject
*_wrap_wxFindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3758 wxFindReplaceData
* _result
;
3759 wxFindReplaceDialog
* _arg0
;
3760 PyObject
* _argo0
= 0;
3761 char *_kwnames
[] = { "self", NULL
};
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceDialog_GetData",_kwnames
,&_argo0
))
3768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p.");
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 _result
= (wxFindReplaceData
*)wxFindReplaceDialog_GetData(_arg0
);
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) return NULL
;
3781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3782 _resultobj
= Py_BuildValue("s",_ptemp
);
3785 _resultobj
= Py_None
;
3790 #define wxFindReplaceDialog_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3791 static PyObject
*_wrap_wxFindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
* _resultobj
;
3793 wxFindReplaceDialog
* _arg0
;
3794 wxFindReplaceData
* _arg1
;
3795 PyObject
* _argo0
= 0;
3796 PyObject
* _argo1
= 0;
3797 char *_kwnames
[] = { "self","data", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceDialog_SetData",_kwnames
,&_argo0
,&_argo1
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p.");
3810 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p.");
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 wxFindReplaceDialog_SetData(_arg0
,_arg1
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) return NULL
;
3822 } Py_INCREF(Py_None
);
3823 _resultobj
= Py_None
;
3827 static PyMethodDef cmndlgscMethods
[] = {
3828 { "wxFindReplaceDialog_SetData", (PyCFunction
) _wrap_wxFindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3829 { "wxFindReplaceDialog_GetData", (PyCFunction
) _wrap_wxFindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3830 { "wxFindReplaceDialog_Create", (PyCFunction
) _wrap_wxFindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
3831 { "new_wxPreFindReplaceDialog", (PyCFunction
) _wrap_new_wxPreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3832 { "new_wxFindReplaceDialog", (PyCFunction
) _wrap_new_wxFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3833 { "wxFindReplaceData_SetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3834 { "wxFindReplaceData_SetFindString", (PyCFunction
) _wrap_wxFindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3835 { "wxFindReplaceData_SetFlags", (PyCFunction
) _wrap_wxFindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3836 { "wxFindReplaceData_GetFlags", (PyCFunction
) _wrap_wxFindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3837 { "wxFindReplaceData_GetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3838 { "wxFindReplaceData_GetFindString", (PyCFunction
) _wrap_wxFindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3839 { "delete_wxFindReplaceData", (PyCFunction
) _wrap_delete_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3840 { "new_wxFindReplaceData", (PyCFunction
) _wrap_new_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3841 { "wxFindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3842 { "wxFindDialogEvent_SetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3843 { "wxFindDialogEvent_SetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3844 { "wxFindDialogEvent_GetDialog", (PyCFunction
) _wrap_wxFindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
3845 { "wxFindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3846 { "wxFindDialogEvent_GetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3847 { "wxFindDialogEvent_GetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3848 { "new_wxFindDialogEvent", (PyCFunction
) _wrap_new_wxFindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
3849 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
3850 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
3851 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
3852 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3853 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
3854 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3855 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
3856 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
3857 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
3858 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
3859 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
3860 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3861 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
3862 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
3863 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
3864 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
3865 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
3866 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
3867 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3868 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
3869 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
3870 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
3871 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
3872 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3873 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
3874 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
3875 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
3876 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3877 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3878 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
3879 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3880 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3881 { "wxMultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
3882 { "wxMultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
3883 { "new_wxMultiChoiceDialog", (PyCFunction
) _wrap_new_wxMultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3884 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
3885 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3886 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3887 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
3888 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3889 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
3890 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3891 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
3892 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
3893 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
3894 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
3895 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3896 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
3897 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3898 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
3899 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
3900 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
3901 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
3902 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3903 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
3904 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3905 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3906 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3907 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
3908 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
3909 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3910 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
3911 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
3912 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3913 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3914 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3915 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3916 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3917 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3918 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3919 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3926 * This table is used by the pointer type-checker
3928 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3929 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
3930 { "_signed_long","_long",0},
3931 { "_wxPrintQuality","_wxCoord",0},
3932 { "_wxPrintQuality","_int",0},
3933 { "_wxPrintQuality","_signed_int",0},
3934 { "_wxPrintQuality","_unsigned_int",0},
3935 { "_wxPrintQuality","_wxWindowID",0},
3936 { "_wxPrintQuality","_uint",0},
3937 { "_wxPrintQuality","_EBool",0},
3938 { "_wxPrintQuality","_size_t",0},
3939 { "_wxPrintQuality","_time_t",0},
3940 { "_byte","_unsigned_char",0},
3941 { "_long","_unsigned_long",0},
3942 { "_long","_signed_long",0},
3943 { "_size_t","_wxCoord",0},
3944 { "_size_t","_wxPrintQuality",0},
3945 { "_size_t","_time_t",0},
3946 { "_size_t","_unsigned_int",0},
3947 { "_size_t","_int",0},
3948 { "_size_t","_wxWindowID",0},
3949 { "_size_t","_uint",0},
3950 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
3951 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
3952 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
3953 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
3954 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
3955 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
3956 { "_wxTopLevelWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxTopLevelWindow
},
3957 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
3958 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
3959 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
3960 { "_uint","_wxCoord",0},
3961 { "_uint","_wxPrintQuality",0},
3962 { "_uint","_time_t",0},
3963 { "_uint","_size_t",0},
3964 { "_uint","_unsigned_int",0},
3965 { "_uint","_int",0},
3966 { "_uint","_wxWindowID",0},
3967 { "_wxChar","_char",0},
3968 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
3969 { "_char","_wxChar",0},
3970 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3971 { "_EBool","_wxCoord",0},
3972 { "_EBool","_wxPrintQuality",0},
3973 { "_EBool","_signed_int",0},
3974 { "_EBool","_int",0},
3975 { "_EBool","_wxWindowID",0},
3976 { "_unsigned_long","_long",0},
3977 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3978 { "_signed_int","_wxCoord",0},
3979 { "_signed_int","_wxPrintQuality",0},
3980 { "_signed_int","_EBool",0},
3981 { "_signed_int","_wxWindowID",0},
3982 { "_signed_int","_int",0},
3983 { "_WXTYPE","_short",0},
3984 { "_WXTYPE","_signed_short",0},
3985 { "_WXTYPE","_unsigned_short",0},
3986 { "_unsigned_short","_WXTYPE",0},
3987 { "_unsigned_short","_short",0},
3988 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
3989 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
3990 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
3991 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3992 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3993 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
3994 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
3995 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3996 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3997 { "_wxObject","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxObject
},
3998 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
3999 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
4000 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
4001 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
4002 { "_signed_short","_WXTYPE",0},
4003 { "_signed_short","_short",0},
4004 { "_unsigned_char","_byte",0},
4005 { "_unsigned_int","_wxCoord",0},
4006 { "_unsigned_int","_wxPrintQuality",0},
4007 { "_unsigned_int","_time_t",0},
4008 { "_unsigned_int","_size_t",0},
4009 { "_unsigned_int","_uint",0},
4010 { "_unsigned_int","_wxWindowID",0},
4011 { "_unsigned_int","_int",0},
4012 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
4013 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4014 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
4015 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4016 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4017 { "_wxDialog","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxDialog
},
4018 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
4019 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
4020 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
4021 { "_short","_WXTYPE",0},
4022 { "_short","_unsigned_short",0},
4023 { "_short","_signed_short",0},
4024 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4025 { "_wxWindowID","_wxCoord",0},
4026 { "_wxWindowID","_wxPrintQuality",0},
4027 { "_wxWindowID","_time_t",0},
4028 { "_wxWindowID","_size_t",0},
4029 { "_wxWindowID","_EBool",0},
4030 { "_wxWindowID","_uint",0},
4031 { "_wxWindowID","_int",0},
4032 { "_wxWindowID","_signed_int",0},
4033 { "_wxWindowID","_unsigned_int",0},
4034 { "_int","_wxCoord",0},
4035 { "_int","_wxPrintQuality",0},
4036 { "_int","_time_t",0},
4037 { "_int","_size_t",0},
4038 { "_int","_EBool",0},
4039 { "_int","_uint",0},
4040 { "_int","_wxWindowID",0},
4041 { "_int","_unsigned_int",0},
4042 { "_int","_signed_int",0},
4043 { "_time_t","_wxCoord",0},
4044 { "_time_t","_wxPrintQuality",0},
4045 { "_time_t","_unsigned_int",0},
4046 { "_time_t","_int",0},
4047 { "_time_t","_wxWindowID",0},
4048 { "_time_t","_uint",0},
4049 { "_time_t","_size_t",0},
4050 { "_wxCoord","_int",0},
4051 { "_wxCoord","_signed_int",0},
4052 { "_wxCoord","_unsigned_int",0},
4053 { "_wxCoord","_wxWindowID",0},
4054 { "_wxCoord","_uint",0},
4055 { "_wxCoord","_EBool",0},
4056 { "_wxCoord","_size_t",0},
4057 { "_wxCoord","_time_t",0},
4058 { "_wxCoord","_wxPrintQuality",0},
4059 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
4060 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
4061 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
4062 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
4063 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
4064 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
4065 { "_wxEvtHandler","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxEvtHandler
},
4066 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
4067 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
4068 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
4069 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4070 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4071 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4072 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
4073 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4074 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4075 { "_wxWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxWindow
},
4076 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
4077 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
4078 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
4081 static PyObject
*SWIG_globals
;
4085 SWIGEXPORT(void) initcmndlgsc() {
4087 SWIG_globals
= SWIG_newvarlink();
4088 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
4089 d
= PyModule_GetDict(m
);
4090 PyDict_SetItemString(d
,"wxCHOICEDLG_STYLE", PyInt_FromLong((long) wxCHOICEDLG_STYLE
));
4091 PyDict_SetItemString(d
,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN
));
4092 PyDict_SetItemString(d
,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD
));
4093 PyDict_SetItemString(d
,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE
));
4094 PyDict_SetItemString(d
,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG
));
4095 PyDict_SetItemString(d
,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN
));
4096 PyDict_SetItemString(d
,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE
));
4097 PyDict_SetItemString(d
,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD
));
4098 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND
));
4099 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT
));
4100 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE
));
4101 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL
));
4102 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE
));
4105 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4106 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);