2 * FILE : src/msw/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcmndlgsc
56 #define SWIG_name "cmndlgsc"
59 #include <wx/colordlg.h>
60 #include <wx/dirdlg.h>
61 #include <wx/fontdlg.h>
62 #include <wx/progdlg.h>
63 #include <wx/fdrepdlg.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg
= "String or Unicode type required";
95 static char* wxStringErrorMsg
= "String type required";
100 static void *SwigwxColourDataTowxObject(void *ptr
) {
103 src
= (wxColourData
*) ptr
;
104 dest
= (wxObject
*) src
;
105 return (void *) dest
;
108 #define new_wxColourData() (new wxColourData())
109 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
110 PyObject
* _resultobj
;
111 wxColourData
* _result
;
112 char *_kwnames
[] = { NULL
};
116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
119 wxPy_BEGIN_ALLOW_THREADS
;
120 _result
= (wxColourData
*)new_wxColourData();
122 wxPy_END_ALLOW_THREADS
;
123 if (PyErr_Occurred()) return NULL
;
125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
126 _resultobj
= Py_BuildValue("s",_ptemp
);
129 _resultobj
= Py_None
;
134 #define delete_wxColourData(_swigobj) (delete _swigobj)
135 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
136 PyObject
* _resultobj
;
137 wxColourData
* _arg0
;
138 PyObject
* _argo0
= 0;
139 char *_kwnames
[] = { "self", NULL
};
142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
152 wxPy_BEGIN_ALLOW_THREADS
;
153 delete_wxColourData(_arg0
);
155 wxPy_END_ALLOW_THREADS
;
156 if (PyErr_Occurred()) return NULL
;
157 } Py_INCREF(Py_None
);
158 _resultobj
= Py_None
;
162 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
163 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
164 PyObject
* _resultobj
;
166 wxColourData
* _arg0
;
167 PyObject
* _argo0
= 0;
168 char *_kwnames
[] = { "self", NULL
};
171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
181 wxPy_BEGIN_ALLOW_THREADS
;
182 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
184 wxPy_END_ALLOW_THREADS
;
185 if (PyErr_Occurred()) return NULL
;
186 } _resultobj
= Py_BuildValue("i",_result
);
190 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
191 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
192 PyObject
* _resultobj
;
194 wxColourData
* _arg0
;
195 PyObject
* _argo0
= 0;
196 char *_kwnames
[] = { "self", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
210 wxPy_BEGIN_ALLOW_THREADS
;
211 _result
= new wxColour (wxColourData_GetColour(_arg0
));
213 wxPy_END_ALLOW_THREADS
;
214 if (PyErr_Occurred()) return NULL
;
215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
216 _resultobj
= Py_BuildValue("s",_ptemp
);
220 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
221 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
224 wxColourData
* _arg0
;
226 PyObject
* _argo0
= 0;
227 char *_kwnames
[] = { "self","i", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
241 wxPy_BEGIN_ALLOW_THREADS
;
242 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
244 wxPy_END_ALLOW_THREADS
;
245 if (PyErr_Occurred()) return NULL
;
246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
247 _resultobj
= Py_BuildValue("s",_ptemp
);
251 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
252 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
254 wxColourData
* _arg0
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self","flag", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 wxColourData_SetChooseFull(_arg0
,_arg1
);
273 wxPy_END_ALLOW_THREADS
;
274 if (PyErr_Occurred()) return NULL
;
275 } Py_INCREF(Py_None
);
276 _resultobj
= Py_None
;
280 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
281 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 wxColourData
* _arg0
;
285 PyObject
* _argo0
= 0;
287 PyObject
* _obj1
= 0;
288 char *_kwnames
[] = { "self","colour", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
302 if (! wxColour_helper(_obj1
, &_arg1
))
306 wxPy_BEGIN_ALLOW_THREADS
;
307 wxColourData_SetColour(_arg0
,*_arg1
);
309 wxPy_END_ALLOW_THREADS
;
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
317 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxColourData
* _arg0
;
322 PyObject
* _argo0
= 0;
324 PyObject
* _obj2
= 0;
325 char *_kwnames
[] = { "self","i","colour", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
339 if (! wxColour_helper(_obj2
, &_arg2
))
343 wxPy_BEGIN_ALLOW_THREADS
;
344 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
346 wxPy_END_ALLOW_THREADS
;
347 if (PyErr_Occurred()) return NULL
;
348 } Py_INCREF(Py_None
);
349 _resultobj
= Py_None
;
353 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
356 src
= (wxColourDialog
*) ptr
;
357 dest
= (wxDialog
*) src
;
358 return (void *) dest
;
361 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) {
363 wxTopLevelWindow
*dest
;
364 src
= (wxColourDialog
*) ptr
;
365 dest
= (wxTopLevelWindow
*) src
;
366 return (void *) dest
;
369 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
372 src
= (wxColourDialog
*) ptr
;
373 dest
= (wxWindow
*) src
;
374 return (void *) dest
;
377 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
380 src
= (wxColourDialog
*) ptr
;
381 dest
= (wxEvtHandler
*) src
;
382 return (void *) dest
;
385 static void *SwigwxColourDialogTowxObject(void *ptr
) {
388 src
= (wxColourDialog
*) ptr
;
389 dest
= (wxObject
*) src
;
390 return (void *) dest
;
393 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
394 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
396 wxColourDialog
* _result
;
398 wxColourData
* _arg1
= (wxColourData
*) NULL
;
399 PyObject
* _argo0
= 0;
400 PyObject
* _argo1
= 0;
401 char *_kwnames
[] = { "parent","data", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
422 wxPy_BEGIN_ALLOW_THREADS
;
423 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
425 wxPy_END_ALLOW_THREADS
;
426 if (PyErr_Occurred()) return NULL
;
428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
429 _resultobj
= Py_BuildValue("s",_ptemp
);
432 _resultobj
= Py_None
;
437 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
438 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
440 wxColourData
* _result
;
441 wxColourDialog
* _arg0
;
442 PyObject
* _argo0
= 0;
443 char *_kwnames
[] = { "self", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
457 wxPy_BEGIN_ALLOW_THREADS
;
458 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
459 _result
= (wxColourData
*) &_result_ref
;
461 wxPy_END_ALLOW_THREADS
;
462 if (PyErr_Occurred()) return NULL
;
464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
465 _resultobj
= Py_BuildValue("s",_ptemp
);
468 _resultobj
= Py_None
;
473 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
474 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxColourDialog
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 _result
= (int )wxColourDialog_ShowModal(_arg0
);
495 wxPy_END_ALLOW_THREADS
;
496 if (PyErr_Occurred()) return NULL
;
497 } _resultobj
= Py_BuildValue("i",_result
);
501 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
504 src
= (wxDirDialog
*) ptr
;
505 dest
= (wxDialog
*) src
;
506 return (void *) dest
;
509 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) {
511 wxTopLevelWindow
*dest
;
512 src
= (wxDirDialog
*) ptr
;
513 dest
= (wxTopLevelWindow
*) src
;
514 return (void *) dest
;
517 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
520 src
= (wxDirDialog
*) ptr
;
521 dest
= (wxWindow
*) src
;
522 return (void *) dest
;
525 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
528 src
= (wxDirDialog
*) ptr
;
529 dest
= (wxEvtHandler
*) src
;
530 return (void *) dest
;
533 static void *SwigwxDirDialogTowxObject(void *ptr
) {
536 src
= (wxDirDialog
*) ptr
;
537 dest
= (wxObject
*) src
;
538 return (void *) dest
;
541 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
542 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
544 wxDirDialog
* _result
;
546 char * _arg1
= (char *) "Choose a directory";
547 char * _arg2
= (char *) "";
548 long _arg3
= (long ) 0;
549 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
550 PyObject
* _argo0
= 0;
552 PyObject
* _obj4
= 0;
553 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
569 if (! wxPoint_helper(_obj4
, &_arg4
))
573 wxPy_BEGIN_ALLOW_THREADS
;
574 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
576 wxPy_END_ALLOW_THREADS
;
577 if (PyErr_Occurred()) return NULL
;
579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
580 _resultobj
= Py_BuildValue("s",_ptemp
);
583 _resultobj
= Py_None
;
588 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
589 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
593 PyObject
* _argo0
= 0;
594 char *_kwnames
[] = { "self", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
607 wxPy_BEGIN_ALLOW_THREADS
;
608 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
610 wxPy_END_ALLOW_THREADS
;
611 if (PyErr_Occurred()) return NULL
;
613 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
621 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
622 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
640 wxPy_BEGIN_ALLOW_THREADS
;
641 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
643 wxPy_END_ALLOW_THREADS
;
644 if (PyErr_Occurred()) return NULL
;
646 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
654 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
655 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
659 PyObject
* _argo0
= 0;
660 char *_kwnames
[] = { "self", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
673 wxPy_BEGIN_ALLOW_THREADS
;
674 _result
= (long )wxDirDialog_GetStyle(_arg0
);
676 wxPy_END_ALLOW_THREADS
;
677 if (PyErr_Occurred()) return NULL
;
678 } _resultobj
= Py_BuildValue("l",_result
);
682 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
683 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
688 PyObject
* _obj1
= 0;
689 char *_kwnames
[] = { "self","message", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
702 #if PYTHON_API_VERSION >= 1009
703 char* tmpPtr
; int tmpSize
;
704 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
708 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
710 _arg1
= new wxString(tmpPtr
, tmpSize
);
712 if (!PyString_Check(_obj1
)) {
713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
716 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
720 wxPy_BEGIN_ALLOW_THREADS
;
721 wxDirDialog_SetMessage(_arg0
,*_arg1
);
723 wxPy_END_ALLOW_THREADS
;
724 if (PyErr_Occurred()) return NULL
;
725 } Py_INCREF(Py_None
);
726 _resultobj
= Py_None
;
734 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
735 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
739 PyObject
* _argo0
= 0;
740 PyObject
* _obj1
= 0;
741 char *_kwnames
[] = { "self","path", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
754 #if PYTHON_API_VERSION >= 1009
755 char* tmpPtr
; int tmpSize
;
756 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
760 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
762 _arg1
= new wxString(tmpPtr
, tmpSize
);
764 if (!PyString_Check(_obj1
)) {
765 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
768 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
772 wxPy_BEGIN_ALLOW_THREADS
;
773 wxDirDialog_SetPath(_arg0
,*_arg1
);
775 wxPy_END_ALLOW_THREADS
;
776 if (PyErr_Occurred()) return NULL
;
777 } Py_INCREF(Py_None
);
778 _resultobj
= Py_None
;
786 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
787 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
805 wxPy_BEGIN_ALLOW_THREADS
;
806 _result
= (int )wxDirDialog_ShowModal(_arg0
);
808 wxPy_END_ALLOW_THREADS
;
809 if (PyErr_Occurred()) return NULL
;
810 } _resultobj
= Py_BuildValue("i",_result
);
814 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
817 src
= (wxFileDialog
*) ptr
;
818 dest
= (wxDialog
*) src
;
819 return (void *) dest
;
822 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) {
824 wxTopLevelWindow
*dest
;
825 src
= (wxFileDialog
*) ptr
;
826 dest
= (wxTopLevelWindow
*) src
;
827 return (void *) dest
;
830 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
833 src
= (wxFileDialog
*) ptr
;
834 dest
= (wxWindow
*) src
;
835 return (void *) dest
;
838 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
841 src
= (wxFileDialog
*) ptr
;
842 dest
= (wxEvtHandler
*) src
;
843 return (void *) dest
;
846 static void *SwigwxFileDialogTowxObject(void *ptr
) {
849 src
= (wxFileDialog
*) ptr
;
850 dest
= (wxObject
*) src
;
851 return (void *) dest
;
854 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
855 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
857 wxFileDialog
* _result
;
859 char * _arg1
= (char *) "Choose a file";
860 char * _arg2
= (char *) "";
861 char * _arg3
= (char *) "";
862 char * _arg4
= (char *) "*.*";
863 long _arg5
= (long ) 0;
864 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
865 PyObject
* _argo0
= 0;
867 PyObject
* _obj6
= 0;
868 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
884 if (! wxPoint_helper(_obj6
, &_arg6
))
888 wxPy_BEGIN_ALLOW_THREADS
;
889 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
891 wxPy_END_ALLOW_THREADS
;
892 if (PyErr_Occurred()) return NULL
;
894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
895 _resultobj
= Py_BuildValue("s",_ptemp
);
898 _resultobj
= Py_None
;
903 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
904 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 wxFileDialog
* _arg0
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
922 wxPy_BEGIN_ALLOW_THREADS
;
923 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
925 wxPy_END_ALLOW_THREADS
;
926 if (PyErr_Occurred()) return NULL
;
928 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
936 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
937 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
940 wxFileDialog
* _arg0
;
941 PyObject
* _argo0
= 0;
942 char *_kwnames
[] = { "self", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
955 wxPy_BEGIN_ALLOW_THREADS
;
956 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
958 wxPy_END_ALLOW_THREADS
;
959 if (PyErr_Occurred()) return NULL
;
961 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
969 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
970 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
973 wxFileDialog
* _arg0
;
974 PyObject
* _argo0
= 0;
975 char *_kwnames
[] = { "self", NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
988 wxPy_BEGIN_ALLOW_THREADS
;
989 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
991 wxPy_END_ALLOW_THREADS
;
992 if (PyErr_Occurred()) return NULL
;
993 } _resultobj
= Py_BuildValue("i",_result
);
997 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
998 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1001 wxFileDialog
* _arg0
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1016 wxPy_BEGIN_ALLOW_THREADS
;
1017 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1019 wxPy_END_ALLOW_THREADS
;
1020 if (PyErr_Occurred()) return NULL
;
1022 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1030 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1031 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1034 wxFileDialog
* _arg0
;
1035 PyObject
* _argo0
= 0;
1036 char *_kwnames
[] = { "self", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1049 wxPy_BEGIN_ALLOW_THREADS
;
1050 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1052 wxPy_END_ALLOW_THREADS
;
1053 if (PyErr_Occurred()) return NULL
;
1055 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1063 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1064 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1067 wxFileDialog
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 char *_kwnames
[] = { "self", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1082 wxPy_BEGIN_ALLOW_THREADS
;
1083 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1085 wxPy_END_ALLOW_THREADS
;
1086 if (PyErr_Occurred()) return NULL
;
1087 } _resultobj
= Py_BuildValue("l",_result
);
1091 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1092 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
* _resultobj
;
1095 wxFileDialog
* _arg0
;
1096 PyObject
* _argo0
= 0;
1097 char *_kwnames
[] = { "self", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1113 wxPy_END_ALLOW_THREADS
;
1114 if (PyErr_Occurred()) return NULL
;
1116 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1124 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1125 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1127 wxFileDialog
* _arg0
;
1129 PyObject
* _argo0
= 0;
1130 PyObject
* _obj1
= 0;
1131 char *_kwnames
[] = { "self","directory", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1144 #if PYTHON_API_VERSION >= 1009
1145 char* tmpPtr
; int tmpSize
;
1146 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1150 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1152 _arg1
= new wxString(tmpPtr
, tmpSize
);
1154 if (!PyString_Check(_obj1
)) {
1155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1158 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1162 wxPy_BEGIN_ALLOW_THREADS
;
1163 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1165 wxPy_END_ALLOW_THREADS
;
1166 if (PyErr_Occurred()) return NULL
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1176 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1177 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1179 wxFileDialog
* _arg0
;
1181 PyObject
* _argo0
= 0;
1182 PyObject
* _obj1
= 0;
1183 char *_kwnames
[] = { "self","setfilename", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1196 #if PYTHON_API_VERSION >= 1009
1197 char* tmpPtr
; int tmpSize
;
1198 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1202 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1204 _arg1
= new wxString(tmpPtr
, tmpSize
);
1206 if (!PyString_Check(_obj1
)) {
1207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1210 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1217 wxPy_END_ALLOW_THREADS
;
1218 if (PyErr_Occurred()) return NULL
;
1219 } Py_INCREF(Py_None
);
1220 _resultobj
= Py_None
;
1228 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1229 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1231 wxFileDialog
* _arg0
;
1233 PyObject
* _argo0
= 0;
1234 char *_kwnames
[] = { "self","filterIndex", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1247 wxPy_BEGIN_ALLOW_THREADS
;
1248 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1250 wxPy_END_ALLOW_THREADS
;
1251 if (PyErr_Occurred()) return NULL
;
1252 } Py_INCREF(Py_None
);
1253 _resultobj
= Py_None
;
1257 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1258 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1260 wxFileDialog
* _arg0
;
1262 PyObject
* _argo0
= 0;
1263 PyObject
* _obj1
= 0;
1264 char *_kwnames
[] = { "self","message", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1277 #if PYTHON_API_VERSION >= 1009
1278 char* tmpPtr
; int tmpSize
;
1279 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1280 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1283 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1285 _arg1
= new wxString(tmpPtr
, tmpSize
);
1287 if (!PyString_Check(_obj1
)) {
1288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1291 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1295 wxPy_BEGIN_ALLOW_THREADS
;
1296 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1298 wxPy_END_ALLOW_THREADS
;
1299 if (PyErr_Occurred()) return NULL
;
1300 } Py_INCREF(Py_None
);
1301 _resultobj
= Py_None
;
1309 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1310 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxFileDialog
* _arg0
;
1314 PyObject
* _argo0
= 0;
1315 PyObject
* _obj1
= 0;
1316 char *_kwnames
[] = { "self","path", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1329 #if PYTHON_API_VERSION >= 1009
1330 char* tmpPtr
; int tmpSize
;
1331 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1335 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1337 _arg1
= new wxString(tmpPtr
, tmpSize
);
1339 if (!PyString_Check(_obj1
)) {
1340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1343 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 wxFileDialog_SetPath(_arg0
,*_arg1
);
1350 wxPy_END_ALLOW_THREADS
;
1351 if (PyErr_Occurred()) return NULL
;
1352 } Py_INCREF(Py_None
);
1353 _resultobj
= Py_None
;
1361 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1362 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1364 wxFileDialog
* _arg0
;
1366 PyObject
* _argo0
= 0;
1367 char *_kwnames
[] = { "self","style", NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1380 wxPy_BEGIN_ALLOW_THREADS
;
1381 wxFileDialog_SetStyle(_arg0
,_arg1
);
1383 wxPy_END_ALLOW_THREADS
;
1384 if (PyErr_Occurred()) return NULL
;
1385 } Py_INCREF(Py_None
);
1386 _resultobj
= Py_None
;
1390 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1391 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1393 wxFileDialog
* _arg0
;
1395 PyObject
* _argo0
= 0;
1396 PyObject
* _obj1
= 0;
1397 char *_kwnames
[] = { "self","wildCard", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1410 #if PYTHON_API_VERSION >= 1009
1411 char* tmpPtr
; int tmpSize
;
1412 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1416 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1418 _arg1
= new wxString(tmpPtr
, tmpSize
);
1420 if (!PyString_Check(_obj1
)) {
1421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1424 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1431 wxPy_END_ALLOW_THREADS
;
1432 if (PyErr_Occurred()) return NULL
;
1433 } Py_INCREF(Py_None
);
1434 _resultobj
= Py_None
;
1442 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1443 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
* _resultobj
;
1446 wxFileDialog
* _arg0
;
1447 PyObject
* _argo0
= 0;
1448 char *_kwnames
[] = { "self", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1464 wxPy_END_ALLOW_THREADS
;
1465 if (PyErr_Occurred()) return NULL
;
1466 } _resultobj
= Py_BuildValue("i",_result
);
1470 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1472 self
->GetFilenames(arr
);
1473 size_t count
= arr
.GetCount();
1474 PyObject
* listObj
= PyList_New(0);
1475 for(size_t x
=0; x
<count
; x
++) {
1476 PyObject
* name
= PyString_FromString(arr
[x
]);
1477 PyList_Append(listObj
, name
);
1481 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1484 wxFileDialog
* _arg0
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1499 wxPy_BEGIN_ALLOW_THREADS
;
1500 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1502 wxPy_END_ALLOW_THREADS
;
1503 if (PyErr_Occurred()) return NULL
;
1505 _resultobj
= _result
;
1510 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1512 self
->GetPaths(arr
);
1513 size_t count
= arr
.GetCount();
1514 PyObject
* listObj
= PyList_New(0);
1515 for(size_t x
=0; x
<count
; x
++) {
1516 PyObject
* name
= PyString_FromString(arr
[x
]);
1517 PyList_Append(listObj
, name
);
1521 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1524 wxFileDialog
* _arg0
;
1525 PyObject
* _argo0
= 0;
1526 char *_kwnames
[] = { "self", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1542 wxPy_END_ALLOW_THREADS
;
1543 if (PyErr_Occurred()) return NULL
;
1545 _resultobj
= _result
;
1550 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1551 wxSingleChoiceDialog
*src
;
1553 src
= (wxSingleChoiceDialog
*) ptr
;
1554 dest
= (wxDialog
*) src
;
1555 return (void *) dest
;
1558 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) {
1559 wxSingleChoiceDialog
*src
;
1560 wxTopLevelWindow
*dest
;
1561 src
= (wxSingleChoiceDialog
*) ptr
;
1562 dest
= (wxTopLevelWindow
*) src
;
1563 return (void *) dest
;
1566 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1567 wxSingleChoiceDialog
*src
;
1569 src
= (wxSingleChoiceDialog
*) ptr
;
1570 dest
= (wxWindow
*) src
;
1571 return (void *) dest
;
1574 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1575 wxSingleChoiceDialog
*src
;
1577 src
= (wxSingleChoiceDialog
*) ptr
;
1578 dest
= (wxEvtHandler
*) src
;
1579 return (void *) dest
;
1582 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1583 wxSingleChoiceDialog
*src
;
1585 src
= (wxSingleChoiceDialog
*) ptr
;
1586 dest
= (wxObject
*) src
;
1587 return (void *) dest
;
1590 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1591 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1592 LCOUNT
, choices
, NULL
, style
, *pos
);
1595 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1597 wxSingleChoiceDialog
* _result
;
1603 long _arg5
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1604 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1605 PyObject
* _argo0
= 0;
1606 PyObject
* _obj1
= 0;
1607 PyObject
* _obj2
= 0;
1608 PyObject
* _obj4
= 0;
1610 PyObject
* _obj6
= 0;
1611 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1625 #if PYTHON_API_VERSION >= 1009
1626 char* tmpPtr
; int tmpSize
;
1627 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1628 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1631 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1633 _arg1
= new wxString(tmpPtr
, tmpSize
);
1635 if (!PyString_Check(_obj1
)) {
1636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1639 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1643 #if PYTHON_API_VERSION >= 1009
1644 char* tmpPtr
; int tmpSize
;
1645 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1649 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1651 _arg2
= new wxString(tmpPtr
, tmpSize
);
1653 if (!PyString_Check(_obj2
)) {
1654 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1657 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1662 _arg4
= wxString_LIST_helper(_obj4
);
1663 if (_arg4
== NULL
) {
1670 if (! wxPoint_helper(_obj6
, &_arg6
))
1675 _arg3
= PyList_Size(_obj4
);
1682 wxPy_BEGIN_ALLOW_THREADS
;
1683 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1685 wxPy_END_ALLOW_THREADS
;
1686 if (PyErr_Occurred()) return NULL
;
1688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1689 _resultobj
= Py_BuildValue("s",_ptemp
);
1692 _resultobj
= Py_None
;
1708 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1709 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1712 wxSingleChoiceDialog
* _arg0
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1730 wxPy_END_ALLOW_THREADS
;
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1737 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1740 wxSingleChoiceDialog
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1758 wxPy_END_ALLOW_THREADS
;
1759 if (PyErr_Occurred()) return NULL
;
1761 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1769 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1770 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1772 wxSingleChoiceDialog
* _arg0
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self","sel", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1788 wxPy_BEGIN_ALLOW_THREADS
;
1789 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1791 wxPy_END_ALLOW_THREADS
;
1792 if (PyErr_Occurred()) return NULL
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1799 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1802 wxSingleChoiceDialog
* _arg0
;
1803 PyObject
* _argo0
= 0;
1804 char *_kwnames
[] = { "self", NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1817 wxPy_BEGIN_ALLOW_THREADS
;
1818 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1820 wxPy_END_ALLOW_THREADS
;
1821 if (PyErr_Occurred()) return NULL
;
1822 } _resultobj
= Py_BuildValue("i",_result
);
1826 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1827 wxTextEntryDialog
*src
;
1829 src
= (wxTextEntryDialog
*) ptr
;
1830 dest
= (wxDialog
*) src
;
1831 return (void *) dest
;
1834 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) {
1835 wxTextEntryDialog
*src
;
1836 wxTopLevelWindow
*dest
;
1837 src
= (wxTextEntryDialog
*) ptr
;
1838 dest
= (wxTopLevelWindow
*) src
;
1839 return (void *) dest
;
1842 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1843 wxTextEntryDialog
*src
;
1845 src
= (wxTextEntryDialog
*) ptr
;
1846 dest
= (wxWindow
*) src
;
1847 return (void *) dest
;
1850 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1851 wxTextEntryDialog
*src
;
1853 src
= (wxTextEntryDialog
*) ptr
;
1854 dest
= (wxEvtHandler
*) src
;
1855 return (void *) dest
;
1858 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
1859 wxTextEntryDialog
*src
;
1861 src
= (wxTextEntryDialog
*) ptr
;
1862 dest
= (wxObject
*) src
;
1863 return (void *) dest
;
1866 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1867 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1869 wxTextEntryDialog
* _result
;
1872 char * _arg2
= (char *) "Input Text";
1873 char * _arg3
= (char *) "";
1874 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1875 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
1876 PyObject
* _argo0
= 0;
1878 PyObject
* _obj5
= 0;
1879 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1895 if (! wxPoint_helper(_obj5
, &_arg5
))
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
1902 wxPy_END_ALLOW_THREADS
;
1903 if (PyErr_Occurred()) return NULL
;
1905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
1906 _resultobj
= Py_BuildValue("s",_ptemp
);
1909 _resultobj
= Py_None
;
1914 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1915 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
* _resultobj
;
1918 wxTextEntryDialog
* _arg0
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
1936 wxPy_END_ALLOW_THREADS
;
1937 if (PyErr_Occurred()) return NULL
;
1939 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1947 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1948 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1950 wxTextEntryDialog
* _arg0
;
1952 PyObject
* _argo0
= 0;
1953 PyObject
* _obj1
= 0;
1954 char *_kwnames
[] = { "self","value", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1967 #if PYTHON_API_VERSION >= 1009
1968 char* tmpPtr
; int tmpSize
;
1969 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1970 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1973 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1975 _arg1
= new wxString(tmpPtr
, tmpSize
);
1977 if (!PyString_Check(_obj1
)) {
1978 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1981 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1985 wxPy_BEGIN_ALLOW_THREADS
;
1986 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
1988 wxPy_END_ALLOW_THREADS
;
1989 if (PyErr_Occurred()) return NULL
;
1990 } Py_INCREF(Py_None
);
1991 _resultobj
= Py_None
;
1999 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2000 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 wxTextEntryDialog
* _arg0
;
2004 PyObject
* _argo0
= 0;
2005 char *_kwnames
[] = { "self", NULL
};
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
2011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2018 wxPy_BEGIN_ALLOW_THREADS
;
2019 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2021 wxPy_END_ALLOW_THREADS
;
2022 if (PyErr_Occurred()) return NULL
;
2023 } _resultobj
= Py_BuildValue("i",_result
);
2027 static void *SwigwxFontDataTowxObject(void *ptr
) {
2030 src
= (wxFontData
*) ptr
;
2031 dest
= (wxObject
*) src
;
2032 return (void *) dest
;
2035 #define new_wxFontData() (new wxFontData())
2036 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2038 wxFontData
* _result
;
2039 char *_kwnames
[] = { NULL
};
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 _result
= (wxFontData
*)new_wxFontData();
2049 wxPy_END_ALLOW_THREADS
;
2050 if (PyErr_Occurred()) return NULL
;
2052 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2053 _resultobj
= Py_BuildValue("s",_ptemp
);
2056 _resultobj
= Py_None
;
2061 #define delete_wxFontData(_swigobj) (delete _swigobj)
2062 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2065 PyObject
* _argo0
= 0;
2066 char *_kwnames
[] = { "self", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2079 wxPy_BEGIN_ALLOW_THREADS
;
2080 delete_wxFontData(_arg0
);
2082 wxPy_END_ALLOW_THREADS
;
2083 if (PyErr_Occurred()) return NULL
;
2084 } Py_INCREF(Py_None
);
2085 _resultobj
= Py_None
;
2089 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2090 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2094 PyObject
* _argo0
= 0;
2096 char *_kwnames
[] = { "self","enable", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2108 _arg1
= (bool ) tempbool1
;
2110 wxPy_BEGIN_ALLOW_THREADS
;
2111 wxFontData_EnableEffects(_arg0
,_arg1
);
2113 wxPy_END_ALLOW_THREADS
;
2114 if (PyErr_Occurred()) return NULL
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2120 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2121 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 char *_kwnames
[] = { "self", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2139 wxPy_BEGIN_ALLOW_THREADS
;
2140 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2142 wxPy_END_ALLOW_THREADS
;
2143 if (PyErr_Occurred()) return NULL
;
2144 } _resultobj
= Py_BuildValue("i",_result
);
2148 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2149 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2153 PyObject
* _argo0
= 0;
2154 char *_kwnames
[] = { "self", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2168 wxPy_BEGIN_ALLOW_THREADS
;
2169 _result
= new wxColour (wxFontData_GetColour(_arg0
));
2171 wxPy_END_ALLOW_THREADS
;
2172 if (PyErr_Occurred()) return NULL
;
2173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2174 _resultobj
= Py_BuildValue("s",_ptemp
);
2178 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2179 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2183 PyObject
* _argo0
= 0;
2184 char *_kwnames
[] = { "self", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2198 wxPy_BEGIN_ALLOW_THREADS
;
2199 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2201 wxPy_END_ALLOW_THREADS
;
2202 if (PyErr_Occurred()) return NULL
;
2203 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2204 _resultobj
= Py_BuildValue("s",_ptemp
);
2208 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2209 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
* _resultobj
;
2213 PyObject
* _argo0
= 0;
2214 char *_kwnames
[] = { "self", NULL
};
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2227 wxPy_BEGIN_ALLOW_THREADS
;
2228 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2230 wxPy_END_ALLOW_THREADS
;
2231 if (PyErr_Occurred()) return NULL
;
2232 } _resultobj
= Py_BuildValue("i",_result
);
2236 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2237 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2241 PyObject
* _argo0
= 0;
2242 char *_kwnames
[] = { "self", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2256 wxPy_BEGIN_ALLOW_THREADS
;
2257 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2259 wxPy_END_ALLOW_THREADS
;
2260 if (PyErr_Occurred()) return NULL
;
2261 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2262 _resultobj
= Py_BuildValue("s",_ptemp
);
2266 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2267 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2288 wxPy_END_ALLOW_THREADS
;
2289 if (PyErr_Occurred()) return NULL
;
2290 } _resultobj
= Py_BuildValue("i",_result
);
2294 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2295 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2299 PyObject
* _argo0
= 0;
2301 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2313 _arg1
= (bool ) tempbool1
;
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2318 wxPy_END_ALLOW_THREADS
;
2319 if (PyErr_Occurred()) return NULL
;
2320 } Py_INCREF(Py_None
);
2321 _resultobj
= Py_None
;
2325 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2326 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
* _resultobj
;
2330 PyObject
* _argo0
= 0;
2331 PyObject
* _argo1
= 0;
2332 char *_kwnames
[] = { "self","font", NULL
};
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2355 wxPy_END_ALLOW_THREADS
;
2356 if (PyErr_Occurred()) return NULL
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2362 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2363 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2369 PyObject
* _obj1
= 0;
2370 char *_kwnames
[] = { "self","colour", NULL
};
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2384 if (! wxColour_helper(_obj1
, &_arg1
))
2388 wxPy_BEGIN_ALLOW_THREADS
;
2389 wxFontData_SetColour(_arg0
,*_arg1
);
2391 wxPy_END_ALLOW_THREADS
;
2392 if (PyErr_Occurred()) return NULL
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2398 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2399 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2403 PyObject
* _argo0
= 0;
2404 PyObject
* _argo1
= 0;
2405 char *_kwnames
[] = { "self","font", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2425 wxPy_BEGIN_ALLOW_THREADS
;
2426 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2428 wxPy_END_ALLOW_THREADS
;
2429 if (PyErr_Occurred()) return NULL
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2436 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self","min","max", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2458 wxPy_END_ALLOW_THREADS
;
2459 if (PyErr_Occurred()) return NULL
;
2460 } Py_INCREF(Py_None
);
2461 _resultobj
= Py_None
;
2465 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2466 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
* _resultobj
;
2470 PyObject
* _argo0
= 0;
2472 char *_kwnames
[] = { "self","showHelp", NULL
};
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2484 _arg1
= (bool ) tempbool1
;
2486 wxPy_BEGIN_ALLOW_THREADS
;
2487 wxFontData_SetShowHelp(_arg0
,_arg1
);
2489 wxPy_END_ALLOW_THREADS
;
2490 if (PyErr_Occurred()) return NULL
;
2491 } Py_INCREF(Py_None
);
2492 _resultobj
= Py_None
;
2496 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2499 src
= (wxFontDialog
*) ptr
;
2500 dest
= (wxDialog
*) src
;
2501 return (void *) dest
;
2504 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) {
2506 wxTopLevelWindow
*dest
;
2507 src
= (wxFontDialog
*) ptr
;
2508 dest
= (wxTopLevelWindow
*) src
;
2509 return (void *) dest
;
2512 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2515 src
= (wxFontDialog
*) ptr
;
2516 dest
= (wxWindow
*) src
;
2517 return (void *) dest
;
2520 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2523 src
= (wxFontDialog
*) ptr
;
2524 dest
= (wxEvtHandler
*) src
;
2525 return (void *) dest
;
2528 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2531 src
= (wxFontDialog
*) ptr
;
2532 dest
= (wxObject
*) src
;
2533 return (void *) dest
;
2536 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2537 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
* _resultobj
;
2539 wxFontDialog
* _result
;
2542 PyObject
* _argo0
= 0;
2543 PyObject
* _argo1
= 0;
2544 char *_kwnames
[] = { "parent","data", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2558 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2565 wxPy_BEGIN_ALLOW_THREADS
;
2566 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2568 wxPy_END_ALLOW_THREADS
;
2569 if (PyErr_Occurred()) return NULL
;
2571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2572 _resultobj
= Py_BuildValue("s",_ptemp
);
2575 _resultobj
= Py_None
;
2580 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2581 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2583 wxFontData
* _result
;
2584 wxFontDialog
* _arg0
;
2585 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2602 _result
= (wxFontData
*) &_result_ref
;
2604 wxPy_END_ALLOW_THREADS
;
2605 if (PyErr_Occurred()) return NULL
;
2607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2608 _resultobj
= Py_BuildValue("s",_ptemp
);
2611 _resultobj
= Py_None
;
2616 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2617 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2620 wxFontDialog
* _arg0
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2638 wxPy_END_ALLOW_THREADS
;
2639 if (PyErr_Occurred()) return NULL
;
2640 } _resultobj
= Py_BuildValue("i",_result
);
2644 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2645 wxMessageDialog
*src
;
2647 src
= (wxMessageDialog
*) ptr
;
2648 dest
= (wxDialog
*) src
;
2649 return (void *) dest
;
2652 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) {
2653 wxMessageDialog
*src
;
2654 wxTopLevelWindow
*dest
;
2655 src
= (wxMessageDialog
*) ptr
;
2656 dest
= (wxTopLevelWindow
*) src
;
2657 return (void *) dest
;
2660 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2661 wxMessageDialog
*src
;
2663 src
= (wxMessageDialog
*) ptr
;
2664 dest
= (wxWindow
*) src
;
2665 return (void *) dest
;
2668 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2669 wxMessageDialog
*src
;
2671 src
= (wxMessageDialog
*) ptr
;
2672 dest
= (wxEvtHandler
*) src
;
2673 return (void *) dest
;
2676 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2677 wxMessageDialog
*src
;
2679 src
= (wxMessageDialog
*) ptr
;
2680 dest
= (wxObject
*) src
;
2681 return (void *) dest
;
2684 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2685 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2687 wxMessageDialog
* _result
;
2690 char * _arg2
= (char *) "Message box";
2691 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2692 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2693 PyObject
* _argo0
= 0;
2695 PyObject
* _obj4
= 0;
2696 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2712 if (! wxPoint_helper(_obj4
, &_arg4
))
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2719 wxPy_END_ALLOW_THREADS
;
2720 if (PyErr_Occurred()) return NULL
;
2722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2723 _resultobj
= Py_BuildValue("s",_ptemp
);
2726 _resultobj
= Py_None
;
2731 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2732 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2735 wxMessageDialog
* _arg0
;
2736 PyObject
* _argo0
= 0;
2737 char *_kwnames
[] = { "self", NULL
};
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2750 wxPy_BEGIN_ALLOW_THREADS
;
2751 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2753 wxPy_END_ALLOW_THREADS
;
2754 if (PyErr_Occurred()) return NULL
;
2755 } _resultobj
= Py_BuildValue("i",_result
);
2759 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2760 wxProgressDialog
*src
;
2762 src
= (wxProgressDialog
*) ptr
;
2763 dest
= (wxFrame
*) src
;
2764 return (void *) dest
;
2767 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) {
2768 wxProgressDialog
*src
;
2769 wxTopLevelWindow
*dest
;
2770 src
= (wxProgressDialog
*) ptr
;
2771 dest
= (wxTopLevelWindow
*) src
;
2772 return (void *) dest
;
2775 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2776 wxProgressDialog
*src
;
2778 src
= (wxProgressDialog
*) ptr
;
2779 dest
= (wxWindow
*) src
;
2780 return (void *) dest
;
2783 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
2784 wxProgressDialog
*src
;
2786 src
= (wxProgressDialog
*) ptr
;
2787 dest
= (wxEvtHandler
*) src
;
2788 return (void *) dest
;
2791 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
2792 wxProgressDialog
*src
;
2794 src
= (wxProgressDialog
*) ptr
;
2795 dest
= (wxObject
*) src
;
2796 return (void *) dest
;
2799 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2800 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2802 wxProgressDialog
* _result
;
2805 int _arg2
= (int ) 100;
2806 wxWindow
* _arg3
= (wxWindow
*) NULL
;
2807 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
2808 PyObject
* _obj0
= 0;
2809 PyObject
* _obj1
= 0;
2810 PyObject
* _argo3
= 0;
2811 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
2818 #if PYTHON_API_VERSION >= 1009
2819 char* tmpPtr
; int tmpSize
;
2820 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2821 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2824 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2826 _arg0
= new wxString(tmpPtr
, tmpSize
);
2828 if (!PyString_Check(_obj0
)) {
2829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2832 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2836 #if PYTHON_API_VERSION >= 1009
2837 char* tmpPtr
; int tmpSize
;
2838 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2839 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2842 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2844 _arg1
= new wxString(tmpPtr
, tmpSize
);
2846 if (!PyString_Check(_obj1
)) {
2847 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2850 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2854 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2864 wxPy_END_ALLOW_THREADS
;
2865 if (PyErr_Occurred()) return NULL
;
2867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
2868 _resultobj
= Py_BuildValue("s",_ptemp
);
2871 _resultobj
= Py_None
;
2884 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2885 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2888 wxProgressDialog
* _arg0
;
2889 int _arg1
= (int ) -1;
2890 char * _arg2
= (char *) NULL
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self","value","newmsg", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
2908 wxPy_END_ALLOW_THREADS
;
2909 if (PyErr_Occurred()) return NULL
;
2910 } _resultobj
= Py_BuildValue("i",_result
);
2914 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2915 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2917 wxProgressDialog
* _arg0
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 wxProgressDialog_Resume(_arg0
);
2935 wxPy_END_ALLOW_THREADS
;
2936 if (PyErr_Occurred()) return NULL
;
2937 } Py_INCREF(Py_None
);
2938 _resultobj
= Py_None
;
2942 static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr
) {
2943 wxFindDialogEvent
*src
;
2944 wxCommandEvent
*dest
;
2945 src
= (wxFindDialogEvent
*) ptr
;
2946 dest
= (wxCommandEvent
*) src
;
2947 return (void *) dest
;
2950 static void *SwigwxFindDialogEventTowxEvent(void *ptr
) {
2951 wxFindDialogEvent
*src
;
2953 src
= (wxFindDialogEvent
*) ptr
;
2954 dest
= (wxEvent
*) src
;
2955 return (void *) dest
;
2958 static void *SwigwxFindDialogEventTowxObject(void *ptr
) {
2959 wxFindDialogEvent
*src
;
2961 src
= (wxFindDialogEvent
*) ptr
;
2962 dest
= (wxObject
*) src
;
2963 return (void *) dest
;
2966 #define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1))
2967 static PyObject
*_wrap_new_wxFindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2969 wxFindDialogEvent
* _result
;
2970 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2971 int _arg1
= (int ) 0;
2972 char *_kwnames
[] = { "commandType","id", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxFindDialogEvent",_kwnames
,&_arg0
,&_arg1
))
2979 wxPy_BEGIN_ALLOW_THREADS
;
2980 _result
= (wxFindDialogEvent
*)new_wxFindDialogEvent(_arg0
,_arg1
);
2982 wxPy_END_ALLOW_THREADS
;
2983 if (PyErr_Occurred()) return NULL
;
2985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindDialogEvent_p");
2986 _resultobj
= Py_BuildValue("s",_ptemp
);
2989 _resultobj
= Py_None
;
2994 #define wxFindDialogEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
2995 static PyObject
*_wrap_wxFindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
* _resultobj
;
2998 wxFindDialogEvent
* _arg0
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFlags",_kwnames
,&_argo0
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p.");
3013 wxPy_BEGIN_ALLOW_THREADS
;
3014 _result
= (int )wxFindDialogEvent_GetFlags(_arg0
);
3016 wxPy_END_ALLOW_THREADS
;
3017 if (PyErr_Occurred()) return NULL
;
3018 } _resultobj
= Py_BuildValue("i",_result
);
3022 #define wxFindDialogEvent_GetFindString(_swigobj) (_swigobj->GetFindString())
3023 static PyObject
*_wrap_wxFindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3026 wxFindDialogEvent
* _arg0
;
3027 PyObject
* _argo0
= 0;
3028 char *_kwnames
[] = { "self", NULL
};
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFindString",_kwnames
,&_argo0
))
3034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p.");
3041 wxPy_BEGIN_ALLOW_THREADS
;
3042 _result
= new wxString (wxFindDialogEvent_GetFindString(_arg0
));
3044 wxPy_END_ALLOW_THREADS
;
3045 if (PyErr_Occurred()) return NULL
;
3047 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3055 #define wxFindDialogEvent_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3056 static PyObject
*_wrap_wxFindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3059 wxFindDialogEvent
* _arg0
;
3060 PyObject
* _argo0
= 0;
3061 char *_kwnames
[] = { "self", NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetReplaceString",_kwnames
,&_argo0
))
3067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p.");
3074 wxPy_BEGIN_ALLOW_THREADS
;
3075 const wxString
& _result_ref
= wxFindDialogEvent_GetReplaceString(_arg0
);
3076 _result
= (wxString
*) &_result_ref
;
3078 wxPy_END_ALLOW_THREADS
;
3079 if (PyErr_Occurred()) return NULL
;
3081 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3086 #define wxFindDialogEvent_GetDialog(_swigobj) (_swigobj->GetDialog())
3087 static PyObject
*_wrap_wxFindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3089 wxFindReplaceDialog
* _result
;
3090 wxFindDialogEvent
* _arg0
;
3091 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetDialog",_kwnames
,&_argo0
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p.");
3106 wxPy_BEGIN_ALLOW_THREADS
;
3107 _result
= (wxFindReplaceDialog
*)wxFindDialogEvent_GetDialog(_arg0
);
3109 wxPy_END_ALLOW_THREADS
;
3110 if (PyErr_Occurred()) return NULL
;
3112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3113 _resultobj
= Py_BuildValue("s",_ptemp
);
3116 _resultobj
= Py_None
;
3121 #define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3122 static PyObject
*_wrap_wxFindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
* _resultobj
;
3124 wxFindDialogEvent
* _arg0
;
3126 PyObject
* _argo0
= 0;
3127 char *_kwnames
[] = { "self","flags", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindDialogEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p.");
3140 wxPy_BEGIN_ALLOW_THREADS
;
3141 wxFindDialogEvent_SetFlags(_arg0
,_arg1
);
3143 wxPy_END_ALLOW_THREADS
;
3144 if (PyErr_Occurred()) return NULL
;
3145 } Py_INCREF(Py_None
);
3146 _resultobj
= Py_None
;
3150 #define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3151 static PyObject
*_wrap_wxFindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
* _resultobj
;
3153 wxFindDialogEvent
* _arg0
;
3155 PyObject
* _argo0
= 0;
3156 PyObject
* _obj1
= 0;
3157 char *_kwnames
[] = { "self","str", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p.");
3170 #if PYTHON_API_VERSION >= 1009
3171 char* tmpPtr
; int tmpSize
;
3172 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3176 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3178 _arg1
= new wxString(tmpPtr
, tmpSize
);
3180 if (!PyString_Check(_obj1
)) {
3181 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3184 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3188 wxPy_BEGIN_ALLOW_THREADS
;
3189 wxFindDialogEvent_SetFindString(_arg0
,*_arg1
);
3191 wxPy_END_ALLOW_THREADS
;
3192 if (PyErr_Occurred()) return NULL
;
3193 } Py_INCREF(Py_None
);
3194 _resultobj
= Py_None
;
3202 #define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3203 static PyObject
*_wrap_wxFindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxFindDialogEvent
* _arg0
;
3207 PyObject
* _argo0
= 0;
3208 PyObject
* _obj1
= 0;
3209 char *_kwnames
[] = { "self","str", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p.");
3222 #if PYTHON_API_VERSION >= 1009
3223 char* tmpPtr
; int tmpSize
;
3224 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3225 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3228 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3230 _arg1
= new wxString(tmpPtr
, tmpSize
);
3232 if (!PyString_Check(_obj1
)) {
3233 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3236 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3240 wxPy_BEGIN_ALLOW_THREADS
;
3241 wxFindDialogEvent_SetReplaceString(_arg0
,*_arg1
);
3243 wxPy_END_ALLOW_THREADS
;
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3254 static void *SwigwxFindReplaceDataTowxObject(void *ptr
) {
3255 wxFindReplaceData
*src
;
3257 src
= (wxFindReplaceData
*) ptr
;
3258 dest
= (wxObject
*) src
;
3259 return (void *) dest
;
3262 #define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0))
3263 static PyObject
*_wrap_new_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3265 wxFindReplaceData
* _result
;
3266 int _arg0
= (int ) 0;
3267 char *_kwnames
[] = { "flags", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFindReplaceData",_kwnames
,&_arg0
))
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 _result
= (wxFindReplaceData
*)new_wxFindReplaceData(_arg0
);
3277 wxPy_END_ALLOW_THREADS
;
3278 if (PyErr_Occurred()) return NULL
;
3280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3281 _resultobj
= Py_BuildValue("s",_ptemp
);
3284 _resultobj
= Py_None
;
3289 #define delete_wxFindReplaceData(_swigobj) (delete _swigobj)
3290 static PyObject
*_wrap_delete_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3292 wxFindReplaceData
* _arg0
;
3293 PyObject
* _argo0
= 0;
3294 char *_kwnames
[] = { "self", NULL
};
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFindReplaceData",_kwnames
,&_argo0
))
3300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p.");
3307 wxPy_BEGIN_ALLOW_THREADS
;
3308 delete_wxFindReplaceData(_arg0
);
3310 wxPy_END_ALLOW_THREADS
;
3311 if (PyErr_Occurred()) return NULL
;
3312 } Py_INCREF(Py_None
);
3313 _resultobj
= Py_None
;
3317 #define wxFindReplaceData_GetFindString(_swigobj) (_swigobj->GetFindString())
3318 static PyObject
*_wrap_wxFindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3321 wxFindReplaceData
* _arg0
;
3322 PyObject
* _argo0
= 0;
3323 char *_kwnames
[] = { "self", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFindString",_kwnames
,&_argo0
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p.");
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 const wxString
& _result_ref
= wxFindReplaceData_GetFindString(_arg0
);
3338 _result
= (wxString
*) &_result_ref
;
3340 wxPy_END_ALLOW_THREADS
;
3341 if (PyErr_Occurred()) return NULL
;
3343 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3348 #define wxFindReplaceData_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3349 static PyObject
*_wrap_wxFindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3352 wxFindReplaceData
* _arg0
;
3353 PyObject
* _argo0
= 0;
3354 char *_kwnames
[] = { "self", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetReplaceString",_kwnames
,&_argo0
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p.");
3367 wxPy_BEGIN_ALLOW_THREADS
;
3368 const wxString
& _result_ref
= wxFindReplaceData_GetReplaceString(_arg0
);
3369 _result
= (wxString
*) &_result_ref
;
3371 wxPy_END_ALLOW_THREADS
;
3372 if (PyErr_Occurred()) return NULL
;
3374 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3379 #define wxFindReplaceData_GetFlags(_swigobj) (_swigobj->GetFlags())
3380 static PyObject
*_wrap_wxFindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3383 wxFindReplaceData
* _arg0
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFlags",_kwnames
,&_argo0
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p.");
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 _result
= (int )wxFindReplaceData_GetFlags(_arg0
);
3401 wxPy_END_ALLOW_THREADS
;
3402 if (PyErr_Occurred()) return NULL
;
3403 } _resultobj
= Py_BuildValue("i",_result
);
3407 #define wxFindReplaceData_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3408 static PyObject
*_wrap_wxFindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3410 wxFindReplaceData
* _arg0
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self","flags", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindReplaceData_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p.");
3426 wxPy_BEGIN_ALLOW_THREADS
;
3427 wxFindReplaceData_SetFlags(_arg0
,_arg1
);
3429 wxPy_END_ALLOW_THREADS
;
3430 if (PyErr_Occurred()) return NULL
;
3431 } Py_INCREF(Py_None
);
3432 _resultobj
= Py_None
;
3436 #define wxFindReplaceData_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3437 static PyObject
*_wrap_wxFindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3439 wxFindReplaceData
* _arg0
;
3441 PyObject
* _argo0
= 0;
3442 PyObject
* _obj1
= 0;
3443 char *_kwnames
[] = { "self","str", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p.");
3456 #if PYTHON_API_VERSION >= 1009
3457 char* tmpPtr
; int tmpSize
;
3458 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3462 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3464 _arg1
= new wxString(tmpPtr
, tmpSize
);
3466 if (!PyString_Check(_obj1
)) {
3467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3470 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3474 wxPy_BEGIN_ALLOW_THREADS
;
3475 wxFindReplaceData_SetFindString(_arg0
,*_arg1
);
3477 wxPy_END_ALLOW_THREADS
;
3478 if (PyErr_Occurred()) return NULL
;
3479 } Py_INCREF(Py_None
);
3480 _resultobj
= Py_None
;
3488 #define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3489 static PyObject
*_wrap_wxFindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3491 wxFindReplaceData
* _arg0
;
3493 PyObject
* _argo0
= 0;
3494 PyObject
* _obj1
= 0;
3495 char *_kwnames
[] = { "self","str", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p.");
3508 #if PYTHON_API_VERSION >= 1009
3509 char* tmpPtr
; int tmpSize
;
3510 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3514 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3516 _arg1
= new wxString(tmpPtr
, tmpSize
);
3518 if (!PyString_Check(_obj1
)) {
3519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3522 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3526 wxPy_BEGIN_ALLOW_THREADS
;
3527 wxFindReplaceData_SetReplaceString(_arg0
,*_arg1
);
3529 wxPy_END_ALLOW_THREADS
;
3530 if (PyErr_Occurred()) return NULL
;
3531 } Py_INCREF(Py_None
);
3532 _resultobj
= Py_None
;
3540 static void *SwigwxFindReplaceDialogTowxDialog(void *ptr
) {
3541 wxFindReplaceDialog
*src
;
3543 src
= (wxFindReplaceDialog
*) ptr
;
3544 dest
= (wxDialog
*) src
;
3545 return (void *) dest
;
3548 static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr
) {
3549 wxFindReplaceDialog
*src
;
3550 wxTopLevelWindow
*dest
;
3551 src
= (wxFindReplaceDialog
*) ptr
;
3552 dest
= (wxTopLevelWindow
*) src
;
3553 return (void *) dest
;
3556 static void *SwigwxFindReplaceDialogTowxWindow(void *ptr
) {
3557 wxFindReplaceDialog
*src
;
3559 src
= (wxFindReplaceDialog
*) ptr
;
3560 dest
= (wxWindow
*) src
;
3561 return (void *) dest
;
3564 static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr
) {
3565 wxFindReplaceDialog
*src
;
3567 src
= (wxFindReplaceDialog
*) ptr
;
3568 dest
= (wxEvtHandler
*) src
;
3569 return (void *) dest
;
3572 static void *SwigwxFindReplaceDialogTowxObject(void *ptr
) {
3573 wxFindReplaceDialog
*src
;
3575 src
= (wxFindReplaceDialog
*) ptr
;
3576 dest
= (wxObject
*) src
;
3577 return (void *) dest
;
3580 #define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3581 static PyObject
*_wrap_new_wxFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3583 wxFindReplaceDialog
* _result
;
3585 wxFindReplaceData
* _arg1
;
3587 int _arg3
= (int ) 0;
3588 PyObject
* _argo0
= 0;
3589 PyObject
* _argo1
= 0;
3590 PyObject
* _obj2
= 0;
3591 char *_kwnames
[] = { "parent","data","title","style", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:new_wxFindReplaceDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p.");
3605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p.");
3612 #if PYTHON_API_VERSION >= 1009
3613 char* tmpPtr
; int tmpSize
;
3614 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3615 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3618 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3620 _arg2
= new wxString(tmpPtr
, tmpSize
);
3622 if (!PyString_Check(_obj2
)) {
3623 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3626 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3630 wxPy_BEGIN_ALLOW_THREADS
;
3631 _result
= (wxFindReplaceDialog
*)new_wxFindReplaceDialog(_arg0
,_arg1
,*_arg2
,_arg3
);
3633 wxPy_END_ALLOW_THREADS
;
3634 if (PyErr_Occurred()) return NULL
;
3636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3637 _resultobj
= Py_BuildValue("s",_ptemp
);
3640 _resultobj
= Py_None
;
3649 #define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog())
3650 static PyObject
*_wrap_new_wxPreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3652 wxFindReplaceDialog
* _result
;
3653 char *_kwnames
[] = { NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFindReplaceDialog",_kwnames
))
3660 wxPy_BEGIN_ALLOW_THREADS
;
3661 _result
= (wxFindReplaceDialog
*)new_wxPreFindReplaceDialog();
3663 wxPy_END_ALLOW_THREADS
;
3664 if (PyErr_Occurred()) return NULL
;
3666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3667 _resultobj
= Py_BuildValue("s",_ptemp
);
3670 _resultobj
= Py_None
;
3675 #define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3676 static PyObject
*_wrap_wxFindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3679 wxFindReplaceDialog
* _arg0
;
3681 wxFindReplaceData
* _arg2
;
3683 int _arg4
= (int ) 0;
3684 PyObject
* _argo0
= 0;
3685 PyObject
* _argo1
= 0;
3686 PyObject
* _argo2
= 0;
3687 PyObject
* _obj3
= 0;
3688 char *_kwnames
[] = { "self","parent","data","title","style", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|i:wxFindReplaceDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p.");
3701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p.");
3708 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFindReplaceData_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p.");
3715 #if PYTHON_API_VERSION >= 1009
3716 char* tmpPtr
; int tmpSize
;
3717 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3718 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3721 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3723 _arg3
= new wxString(tmpPtr
, tmpSize
);
3725 if (!PyString_Check(_obj3
)) {
3726 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3729 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3733 wxPy_BEGIN_ALLOW_THREADS
;
3734 _result
= (bool )wxFindReplaceDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3736 wxPy_END_ALLOW_THREADS
;
3737 if (PyErr_Occurred()) return NULL
;
3738 } _resultobj
= Py_BuildValue("i",_result
);
3746 #define wxFindReplaceDialog_GetData(_swigobj) (_swigobj->GetData())
3747 static PyObject
*_wrap_wxFindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
* _resultobj
;
3749 wxFindReplaceData
* _result
;
3750 wxFindReplaceDialog
* _arg0
;
3751 PyObject
* _argo0
= 0;
3752 char *_kwnames
[] = { "self", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceDialog_GetData",_kwnames
,&_argo0
))
3759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p.");
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 _result
= (wxFindReplaceData
*)wxFindReplaceDialog_GetData(_arg0
);
3769 wxPy_END_ALLOW_THREADS
;
3770 if (PyErr_Occurred()) return NULL
;
3772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3773 _resultobj
= Py_BuildValue("s",_ptemp
);
3776 _resultobj
= Py_None
;
3781 #define wxFindReplaceDialog_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3782 static PyObject
*_wrap_wxFindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3784 wxFindReplaceDialog
* _arg0
;
3785 wxFindReplaceData
* _arg1
;
3786 PyObject
* _argo0
= 0;
3787 PyObject
* _argo1
= 0;
3788 char *_kwnames
[] = { "self","data", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceDialog_SetData",_kwnames
,&_argo0
,&_argo1
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p.");
3801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p.");
3808 wxPy_BEGIN_ALLOW_THREADS
;
3809 wxFindReplaceDialog_SetData(_arg0
,_arg1
);
3811 wxPy_END_ALLOW_THREADS
;
3812 if (PyErr_Occurred()) return NULL
;
3813 } Py_INCREF(Py_None
);
3814 _resultobj
= Py_None
;
3818 static PyMethodDef cmndlgscMethods
[] = {
3819 { "wxFindReplaceDialog_SetData", (PyCFunction
) _wrap_wxFindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3820 { "wxFindReplaceDialog_GetData", (PyCFunction
) _wrap_wxFindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3821 { "wxFindReplaceDialog_Create", (PyCFunction
) _wrap_wxFindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
3822 { "new_wxPreFindReplaceDialog", (PyCFunction
) _wrap_new_wxPreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3823 { "new_wxFindReplaceDialog", (PyCFunction
) _wrap_new_wxFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3824 { "wxFindReplaceData_SetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3825 { "wxFindReplaceData_SetFindString", (PyCFunction
) _wrap_wxFindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3826 { "wxFindReplaceData_SetFlags", (PyCFunction
) _wrap_wxFindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3827 { "wxFindReplaceData_GetFlags", (PyCFunction
) _wrap_wxFindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3828 { "wxFindReplaceData_GetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3829 { "wxFindReplaceData_GetFindString", (PyCFunction
) _wrap_wxFindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3830 { "delete_wxFindReplaceData", (PyCFunction
) _wrap_delete_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3831 { "new_wxFindReplaceData", (PyCFunction
) _wrap_new_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3832 { "wxFindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3833 { "wxFindDialogEvent_SetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3834 { "wxFindDialogEvent_SetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3835 { "wxFindDialogEvent_GetDialog", (PyCFunction
) _wrap_wxFindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
3836 { "wxFindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3837 { "wxFindDialogEvent_GetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3838 { "wxFindDialogEvent_GetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3839 { "new_wxFindDialogEvent", (PyCFunction
) _wrap_new_wxFindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
3840 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
3841 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
3842 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
3843 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3844 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
3845 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3846 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
3847 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
3848 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
3849 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
3850 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
3851 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3852 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
3853 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
3854 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
3855 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
3856 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
3857 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
3858 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3859 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
3860 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
3861 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
3862 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
3863 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3864 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
3865 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
3866 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
3867 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3868 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3869 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
3870 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3871 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3872 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
3873 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3874 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3875 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
3876 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3877 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
3878 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3879 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
3880 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
3881 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
3882 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
3883 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3884 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
3885 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3886 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
3887 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
3888 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
3889 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
3890 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3891 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
3892 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3893 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3894 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3895 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
3896 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
3897 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3898 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
3899 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
3900 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3901 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3902 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3903 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3904 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3905 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3906 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3907 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3914 * This table is used by the pointer type-checker
3916 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3917 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
3918 { "_signed_long","_long",0},
3919 { "_wxPrintQuality","_wxCoord",0},
3920 { "_wxPrintQuality","_int",0},
3921 { "_wxPrintQuality","_signed_int",0},
3922 { "_wxPrintQuality","_unsigned_int",0},
3923 { "_wxPrintQuality","_wxWindowID",0},
3924 { "_wxPrintQuality","_uint",0},
3925 { "_wxPrintQuality","_EBool",0},
3926 { "_wxPrintQuality","_size_t",0},
3927 { "_wxPrintQuality","_time_t",0},
3928 { "_byte","_unsigned_char",0},
3929 { "_long","_unsigned_long",0},
3930 { "_long","_signed_long",0},
3931 { "_size_t","_wxCoord",0},
3932 { "_size_t","_wxPrintQuality",0},
3933 { "_size_t","_time_t",0},
3934 { "_size_t","_unsigned_int",0},
3935 { "_size_t","_int",0},
3936 { "_size_t","_wxWindowID",0},
3937 { "_size_t","_uint",0},
3938 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
3939 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
3940 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
3941 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
3942 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
3943 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
3944 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
3945 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
3946 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
3947 { "_uint","_wxCoord",0},
3948 { "_uint","_wxPrintQuality",0},
3949 { "_uint","_time_t",0},
3950 { "_uint","_size_t",0},
3951 { "_uint","_unsigned_int",0},
3952 { "_uint","_int",0},
3953 { "_uint","_wxWindowID",0},
3954 { "_wxChar","_char",0},
3955 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
3956 { "_char","_wxChar",0},
3957 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3958 { "_EBool","_wxCoord",0},
3959 { "_EBool","_wxPrintQuality",0},
3960 { "_EBool","_signed_int",0},
3961 { "_EBool","_int",0},
3962 { "_EBool","_wxWindowID",0},
3963 { "_unsigned_long","_long",0},
3964 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3965 { "_signed_int","_wxCoord",0},
3966 { "_signed_int","_wxPrintQuality",0},
3967 { "_signed_int","_EBool",0},
3968 { "_signed_int","_wxWindowID",0},
3969 { "_signed_int","_int",0},
3970 { "_WXTYPE","_short",0},
3971 { "_WXTYPE","_signed_short",0},
3972 { "_WXTYPE","_unsigned_short",0},
3973 { "_unsigned_short","_WXTYPE",0},
3974 { "_unsigned_short","_short",0},
3975 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
3976 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
3977 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
3978 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3979 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3980 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
3981 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
3982 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3983 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3984 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
3985 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
3986 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
3987 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
3988 { "_signed_short","_WXTYPE",0},
3989 { "_signed_short","_short",0},
3990 { "_unsigned_char","_byte",0},
3991 { "_unsigned_int","_wxCoord",0},
3992 { "_unsigned_int","_wxPrintQuality",0},
3993 { "_unsigned_int","_time_t",0},
3994 { "_unsigned_int","_size_t",0},
3995 { "_unsigned_int","_uint",0},
3996 { "_unsigned_int","_wxWindowID",0},
3997 { "_unsigned_int","_int",0},
3998 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
3999 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4000 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
4001 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4002 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4003 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
4004 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
4005 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
4006 { "_short","_WXTYPE",0},
4007 { "_short","_unsigned_short",0},
4008 { "_short","_signed_short",0},
4009 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4010 { "_wxWindowID","_wxCoord",0},
4011 { "_wxWindowID","_wxPrintQuality",0},
4012 { "_wxWindowID","_time_t",0},
4013 { "_wxWindowID","_size_t",0},
4014 { "_wxWindowID","_EBool",0},
4015 { "_wxWindowID","_uint",0},
4016 { "_wxWindowID","_int",0},
4017 { "_wxWindowID","_signed_int",0},
4018 { "_wxWindowID","_unsigned_int",0},
4019 { "_int","_wxCoord",0},
4020 { "_int","_wxPrintQuality",0},
4021 { "_int","_time_t",0},
4022 { "_int","_size_t",0},
4023 { "_int","_EBool",0},
4024 { "_int","_uint",0},
4025 { "_int","_wxWindowID",0},
4026 { "_int","_unsigned_int",0},
4027 { "_int","_signed_int",0},
4028 { "_time_t","_wxCoord",0},
4029 { "_time_t","_wxPrintQuality",0},
4030 { "_time_t","_unsigned_int",0},
4031 { "_time_t","_int",0},
4032 { "_time_t","_wxWindowID",0},
4033 { "_time_t","_uint",0},
4034 { "_time_t","_size_t",0},
4035 { "_wxCoord","_int",0},
4036 { "_wxCoord","_signed_int",0},
4037 { "_wxCoord","_unsigned_int",0},
4038 { "_wxCoord","_wxWindowID",0},
4039 { "_wxCoord","_uint",0},
4040 { "_wxCoord","_EBool",0},
4041 { "_wxCoord","_size_t",0},
4042 { "_wxCoord","_time_t",0},
4043 { "_wxCoord","_wxPrintQuality",0},
4044 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
4045 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
4046 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
4047 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
4048 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
4049 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
4050 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
4051 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
4052 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
4053 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4054 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4055 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4056 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
4057 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4058 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4059 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
4060 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
4061 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
4064 static PyObject
*SWIG_globals
;
4068 SWIGEXPORT(void) initcmndlgsc() {
4070 SWIG_globals
= SWIG_newvarlink();
4071 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
4072 d
= PyModule_GetDict(m
);
4073 PyDict_SetItemString(d
,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN
));
4074 PyDict_SetItemString(d
,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD
));
4075 PyDict_SetItemString(d
,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE
));
4076 PyDict_SetItemString(d
,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG
));
4077 PyDict_SetItemString(d
,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN
));
4078 PyDict_SetItemString(d
,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE
));
4079 PyDict_SetItemString(d
,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD
));
4080 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND
));
4081 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT
));
4082 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE
));
4083 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL
));
4084 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE
));
4087 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4088 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);