2 * FILE : src/mac/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcmndlgsc
56 #define SWIG_name "cmndlgsc"
59 #include <wx/colordlg.h>
60 #include <wx/dirdlg.h>
61 #include <wx/fontdlg.h>
62 #include <wx/progdlg.h>
63 #include <wx/fdrepdlg.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg
= "String or Unicode type required";
95 static char* wxStringErrorMsg
= "String type required";
100 static void *SwigwxColourDataTowxObject(void *ptr
) {
103 src
= (wxColourData
*) ptr
;
104 dest
= (wxObject
*) src
;
105 return (void *) dest
;
108 #define new_wxColourData() (new wxColourData())
109 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
110 PyObject
* _resultobj
;
111 wxColourData
* _result
;
112 char *_kwnames
[] = { NULL
};
116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
120 _result
= (wxColourData
*)new_wxColourData();
122 wxPyEndAllowThreads(__tstate
);
123 if (PyErr_Occurred()) return NULL
;
125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
126 _resultobj
= Py_BuildValue("s",_ptemp
);
129 _resultobj
= Py_None
;
134 #define delete_wxColourData(_swigobj) (delete _swigobj)
135 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
136 PyObject
* _resultobj
;
137 wxColourData
* _arg0
;
138 PyObject
* _argo0
= 0;
139 char *_kwnames
[] = { "self", NULL
};
142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
153 delete_wxColourData(_arg0
);
155 wxPyEndAllowThreads(__tstate
);
156 if (PyErr_Occurred()) return NULL
;
157 } Py_INCREF(Py_None
);
158 _resultobj
= Py_None
;
162 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
163 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
164 PyObject
* _resultobj
;
166 wxColourData
* _arg0
;
167 PyObject
* _argo0
= 0;
168 char *_kwnames
[] = { "self", NULL
};
171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
182 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
184 wxPyEndAllowThreads(__tstate
);
185 if (PyErr_Occurred()) return NULL
;
186 } _resultobj
= Py_BuildValue("i",_result
);
190 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
191 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
192 PyObject
* _resultobj
;
194 wxColourData
* _arg0
;
195 PyObject
* _argo0
= 0;
196 char *_kwnames
[] = { "self", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 _result
= new wxColour (wxColourData_GetColour(_arg0
));
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
216 _resultobj
= Py_BuildValue("s",_ptemp
);
220 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
221 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
224 wxColourData
* _arg0
;
226 PyObject
* _argo0
= 0;
227 char *_kwnames
[] = { "self","i", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
242 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
244 wxPyEndAllowThreads(__tstate
);
245 if (PyErr_Occurred()) return NULL
;
246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
247 _resultobj
= Py_BuildValue("s",_ptemp
);
251 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
252 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
254 wxColourData
* _arg0
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self","flag", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
271 wxColourData_SetChooseFull(_arg0
,_arg1
);
273 wxPyEndAllowThreads(__tstate
);
274 if (PyErr_Occurred()) return NULL
;
275 } Py_INCREF(Py_None
);
276 _resultobj
= Py_None
;
280 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
281 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 wxColourData
* _arg0
;
285 PyObject
* _argo0
= 0;
287 PyObject
* _obj1
= 0;
288 char *_kwnames
[] = { "self","colour", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
302 if (! wxColour_helper(_obj1
, &_arg1
))
306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
307 wxColourData_SetColour(_arg0
,*_arg1
);
309 wxPyEndAllowThreads(__tstate
);
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
317 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxColourData
* _arg0
;
322 PyObject
* _argo0
= 0;
324 PyObject
* _obj2
= 0;
325 char *_kwnames
[] = { "self","i","colour", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
339 if (! wxColour_helper(_obj2
, &_arg2
))
343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
344 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
346 wxPyEndAllowThreads(__tstate
);
347 if (PyErr_Occurred()) return NULL
;
348 } Py_INCREF(Py_None
);
349 _resultobj
= Py_None
;
353 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
356 src
= (wxColourDialog
*) ptr
;
357 dest
= (wxDialog
*) src
;
358 return (void *) dest
;
361 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) {
363 wxTopLevelWindow
*dest
;
364 src
= (wxColourDialog
*) ptr
;
365 dest
= (wxTopLevelWindow
*) src
;
366 return (void *) dest
;
369 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
372 src
= (wxColourDialog
*) ptr
;
373 dest
= (wxWindow
*) src
;
374 return (void *) dest
;
377 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
380 src
= (wxColourDialog
*) ptr
;
381 dest
= (wxEvtHandler
*) src
;
382 return (void *) dest
;
385 static void *SwigwxColourDialogTowxObject(void *ptr
) {
388 src
= (wxColourDialog
*) ptr
;
389 dest
= (wxObject
*) src
;
390 return (void *) dest
;
393 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
394 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
396 wxColourDialog
* _result
;
398 wxColourData
* _arg1
= (wxColourData
*) NULL
;
399 PyObject
* _argo0
= 0;
400 PyObject
* _argo1
= 0;
401 char *_kwnames
[] = { "parent","data", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
425 wxPyEndAllowThreads(__tstate
);
426 if (PyErr_Occurred()) return NULL
;
428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
429 _resultobj
= Py_BuildValue("s",_ptemp
);
432 _resultobj
= Py_None
;
437 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
438 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
440 wxColourData
* _result
;
441 wxColourDialog
* _arg0
;
442 PyObject
* _argo0
= 0;
443 char *_kwnames
[] = { "self", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
458 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
459 _result
= (wxColourData
*) &_result_ref
;
461 wxPyEndAllowThreads(__tstate
);
462 if (PyErr_Occurred()) return NULL
;
464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
465 _resultobj
= Py_BuildValue("s",_ptemp
);
468 _resultobj
= Py_None
;
473 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
474 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxColourDialog
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
493 _result
= (int )wxColourDialog_ShowModal(_arg0
);
495 wxPyEndAllowThreads(__tstate
);
496 if (PyErr_Occurred()) return NULL
;
497 } _resultobj
= Py_BuildValue("i",_result
);
501 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
504 src
= (wxDirDialog
*) ptr
;
505 dest
= (wxDialog
*) src
;
506 return (void *) dest
;
509 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) {
511 wxTopLevelWindow
*dest
;
512 src
= (wxDirDialog
*) ptr
;
513 dest
= (wxTopLevelWindow
*) src
;
514 return (void *) dest
;
517 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
520 src
= (wxDirDialog
*) ptr
;
521 dest
= (wxWindow
*) src
;
522 return (void *) dest
;
525 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
528 src
= (wxDirDialog
*) ptr
;
529 dest
= (wxEvtHandler
*) src
;
530 return (void *) dest
;
533 static void *SwigwxDirDialogTowxObject(void *ptr
) {
536 src
= (wxDirDialog
*) ptr
;
537 dest
= (wxObject
*) src
;
538 return (void *) dest
;
541 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
542 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
544 wxDirDialog
* _result
;
546 char * _arg1
= (char *) "Choose a directory";
547 char * _arg2
= (char *) "";
548 long _arg3
= (long ) 0;
549 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
550 PyObject
* _argo0
= 0;
552 PyObject
* _obj4
= 0;
553 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
569 if (! wxPoint_helper(_obj4
, &_arg4
))
573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
574 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
576 wxPyEndAllowThreads(__tstate
);
577 if (PyErr_Occurred()) return NULL
;
579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
580 _resultobj
= Py_BuildValue("s",_ptemp
);
583 _resultobj
= Py_None
;
588 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
589 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
593 PyObject
* _argo0
= 0;
594 char *_kwnames
[] = { "self", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
608 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
610 wxPyEndAllowThreads(__tstate
);
611 if (PyErr_Occurred()) return NULL
;
613 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
621 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
622 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
646 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
654 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
655 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
659 PyObject
* _argo0
= 0;
660 char *_kwnames
[] = { "self", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
674 _result
= (long )wxDirDialog_GetStyle(_arg0
);
676 wxPyEndAllowThreads(__tstate
);
677 if (PyErr_Occurred()) return NULL
;
678 } _resultobj
= Py_BuildValue("l",_result
);
682 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
683 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
688 PyObject
* _obj1
= 0;
689 char *_kwnames
[] = { "self","message", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
702 #if PYTHON_API_VERSION >= 1009
703 char* tmpPtr
; int tmpSize
;
704 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
708 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
710 _arg1
= new wxString(tmpPtr
, tmpSize
);
712 if (!PyString_Check(_obj1
)) {
713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
716 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
721 wxDirDialog_SetMessage(_arg0
,*_arg1
);
723 wxPyEndAllowThreads(__tstate
);
724 if (PyErr_Occurred()) return NULL
;
725 } Py_INCREF(Py_None
);
726 _resultobj
= Py_None
;
734 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
735 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
739 PyObject
* _argo0
= 0;
740 PyObject
* _obj1
= 0;
741 char *_kwnames
[] = { "self","path", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
754 #if PYTHON_API_VERSION >= 1009
755 char* tmpPtr
; int tmpSize
;
756 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
760 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
762 _arg1
= new wxString(tmpPtr
, tmpSize
);
764 if (!PyString_Check(_obj1
)) {
765 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
768 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
773 wxDirDialog_SetPath(_arg0
,*_arg1
);
775 wxPyEndAllowThreads(__tstate
);
776 if (PyErr_Occurred()) return NULL
;
777 } Py_INCREF(Py_None
);
778 _resultobj
= Py_None
;
786 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
787 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
806 _result
= (int )wxDirDialog_ShowModal(_arg0
);
808 wxPyEndAllowThreads(__tstate
);
809 if (PyErr_Occurred()) return NULL
;
810 } _resultobj
= Py_BuildValue("i",_result
);
814 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
817 src
= (wxFileDialog
*) ptr
;
818 dest
= (wxDialog
*) src
;
819 return (void *) dest
;
822 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) {
824 wxTopLevelWindow
*dest
;
825 src
= (wxFileDialog
*) ptr
;
826 dest
= (wxTopLevelWindow
*) src
;
827 return (void *) dest
;
830 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
833 src
= (wxFileDialog
*) ptr
;
834 dest
= (wxWindow
*) src
;
835 return (void *) dest
;
838 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
841 src
= (wxFileDialog
*) ptr
;
842 dest
= (wxEvtHandler
*) src
;
843 return (void *) dest
;
846 static void *SwigwxFileDialogTowxObject(void *ptr
) {
849 src
= (wxFileDialog
*) ptr
;
850 dest
= (wxObject
*) src
;
851 return (void *) dest
;
854 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
855 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
857 wxFileDialog
* _result
;
859 char * _arg1
= (char *) "Choose a file";
860 char * _arg2
= (char *) "";
861 char * _arg3
= (char *) "";
862 char * _arg4
= (char *) "*.*";
863 long _arg5
= (long ) 0;
864 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
865 PyObject
* _argo0
= 0;
867 PyObject
* _obj6
= 0;
868 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
884 if (! wxPoint_helper(_obj6
, &_arg6
))
888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
889 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
891 wxPyEndAllowThreads(__tstate
);
892 if (PyErr_Occurred()) return NULL
;
894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
895 _resultobj
= Py_BuildValue("s",_ptemp
);
898 _resultobj
= Py_None
;
903 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
904 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 wxFileDialog
* _arg0
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
928 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
936 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
937 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
940 wxFileDialog
* _arg0
;
941 PyObject
* _argo0
= 0;
942 char *_kwnames
[] = { "self", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) return NULL
;
961 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
969 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
970 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
973 wxFileDialog
* _arg0
;
974 PyObject
* _argo0
= 0;
975 char *_kwnames
[] = { "self", NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
989 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
991 wxPyEndAllowThreads(__tstate
);
992 if (PyErr_Occurred()) return NULL
;
993 } _resultobj
= Py_BuildValue("i",_result
);
997 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
998 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1001 wxFileDialog
* _arg0
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1022 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1030 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1031 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1034 wxFileDialog
* _arg0
;
1035 PyObject
* _argo0
= 0;
1036 char *_kwnames
[] = { "self", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1055 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1063 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1064 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1067 wxFileDialog
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 char *_kwnames
[] = { "self", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1083 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1085 wxPyEndAllowThreads(__tstate
);
1086 if (PyErr_Occurred()) return NULL
;
1087 } _resultobj
= Py_BuildValue("l",_result
);
1091 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1092 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
* _resultobj
;
1095 wxFileDialog
* _arg0
;
1096 PyObject
* _argo0
= 0;
1097 char *_kwnames
[] = { "self", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) return NULL
;
1116 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1124 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1125 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1127 wxFileDialog
* _arg0
;
1129 PyObject
* _argo0
= 0;
1130 PyObject
* _obj1
= 0;
1131 char *_kwnames
[] = { "self","directory", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1144 #if PYTHON_API_VERSION >= 1009
1145 char* tmpPtr
; int tmpSize
;
1146 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1150 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1152 _arg1
= new wxString(tmpPtr
, tmpSize
);
1154 if (!PyString_Check(_obj1
)) {
1155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1158 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) return NULL
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1176 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1177 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1179 wxFileDialog
* _arg0
;
1181 PyObject
* _argo0
= 0;
1182 PyObject
* _obj1
= 0;
1183 char *_kwnames
[] = { "self","setfilename", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1196 #if PYTHON_API_VERSION >= 1009
1197 char* tmpPtr
; int tmpSize
;
1198 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1202 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1204 _arg1
= new wxString(tmpPtr
, tmpSize
);
1206 if (!PyString_Check(_obj1
)) {
1207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1210 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) return NULL
;
1219 } Py_INCREF(Py_None
);
1220 _resultobj
= Py_None
;
1228 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1229 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1231 wxFileDialog
* _arg0
;
1233 PyObject
* _argo0
= 0;
1234 char *_kwnames
[] = { "self","filterIndex", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) return NULL
;
1252 } Py_INCREF(Py_None
);
1253 _resultobj
= Py_None
;
1257 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1258 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1260 wxFileDialog
* _arg0
;
1262 PyObject
* _argo0
= 0;
1263 PyObject
* _obj1
= 0;
1264 char *_kwnames
[] = { "self","message", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1277 #if PYTHON_API_VERSION >= 1009
1278 char* tmpPtr
; int tmpSize
;
1279 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1280 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1283 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1285 _arg1
= new wxString(tmpPtr
, tmpSize
);
1287 if (!PyString_Check(_obj1
)) {
1288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1291 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) return NULL
;
1300 } Py_INCREF(Py_None
);
1301 _resultobj
= Py_None
;
1309 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1310 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxFileDialog
* _arg0
;
1314 PyObject
* _argo0
= 0;
1315 PyObject
* _obj1
= 0;
1316 char *_kwnames
[] = { "self","path", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1329 #if PYTHON_API_VERSION >= 1009
1330 char* tmpPtr
; int tmpSize
;
1331 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1335 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1337 _arg1
= new wxString(tmpPtr
, tmpSize
);
1339 if (!PyString_Check(_obj1
)) {
1340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1343 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 wxFileDialog_SetPath(_arg0
,*_arg1
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) return NULL
;
1352 } Py_INCREF(Py_None
);
1353 _resultobj
= Py_None
;
1361 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1362 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1364 wxFileDialog
* _arg0
;
1366 PyObject
* _argo0
= 0;
1367 char *_kwnames
[] = { "self","style", NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1381 wxFileDialog_SetStyle(_arg0
,_arg1
);
1383 wxPyEndAllowThreads(__tstate
);
1384 if (PyErr_Occurred()) return NULL
;
1385 } Py_INCREF(Py_None
);
1386 _resultobj
= Py_None
;
1390 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1391 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1393 wxFileDialog
* _arg0
;
1395 PyObject
* _argo0
= 0;
1396 PyObject
* _obj1
= 0;
1397 char *_kwnames
[] = { "self","wildCard", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1410 #if PYTHON_API_VERSION >= 1009
1411 char* tmpPtr
; int tmpSize
;
1412 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1416 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1418 _arg1
= new wxString(tmpPtr
, tmpSize
);
1420 if (!PyString_Check(_obj1
)) {
1421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1424 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1433 } Py_INCREF(Py_None
);
1434 _resultobj
= Py_None
;
1442 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1443 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
* _resultobj
;
1446 wxFileDialog
* _arg0
;
1447 PyObject
* _argo0
= 0;
1448 char *_kwnames
[] = { "self", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) return NULL
;
1466 } _resultobj
= Py_BuildValue("i",_result
);
1470 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1472 self
->GetFilenames(arr
);
1473 return wxArrayString2PyList_helper(arr
);
1475 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1478 wxFileDialog
* _arg0
;
1479 PyObject
* _argo0
= 0;
1480 char *_kwnames
[] = { "self", NULL
};
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) return NULL
;
1499 _resultobj
= _result
;
1504 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1506 self
->GetPaths(arr
);
1507 return wxArrayString2PyList_helper(arr
);
1509 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
* _resultobj
;
1512 wxFileDialog
* _arg0
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) return NULL
;
1533 _resultobj
= _result
;
1538 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1539 wxSingleChoiceDialog
*src
;
1541 src
= (wxSingleChoiceDialog
*) ptr
;
1542 dest
= (wxDialog
*) src
;
1543 return (void *) dest
;
1546 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) {
1547 wxSingleChoiceDialog
*src
;
1548 wxTopLevelWindow
*dest
;
1549 src
= (wxSingleChoiceDialog
*) ptr
;
1550 dest
= (wxTopLevelWindow
*) src
;
1551 return (void *) dest
;
1554 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1555 wxSingleChoiceDialog
*src
;
1557 src
= (wxSingleChoiceDialog
*) ptr
;
1558 dest
= (wxWindow
*) src
;
1559 return (void *) dest
;
1562 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1563 wxSingleChoiceDialog
*src
;
1565 src
= (wxSingleChoiceDialog
*) ptr
;
1566 dest
= (wxEvtHandler
*) src
;
1567 return (void *) dest
;
1570 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1571 wxSingleChoiceDialog
*src
;
1573 src
= (wxSingleChoiceDialog
*) ptr
;
1574 dest
= (wxObject
*) src
;
1575 return (void *) dest
;
1578 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1579 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1580 LCOUNT
, choices
, NULL
, style
, *pos
);
1583 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1585 wxSingleChoiceDialog
* _result
;
1591 long _arg5
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1592 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1593 PyObject
* _argo0
= 0;
1594 PyObject
* _obj1
= 0;
1595 PyObject
* _obj2
= 0;
1596 PyObject
* _obj4
= 0;
1598 PyObject
* _obj6
= 0;
1599 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1613 #if PYTHON_API_VERSION >= 1009
1614 char* tmpPtr
; int tmpSize
;
1615 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1616 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1619 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1621 _arg1
= new wxString(tmpPtr
, tmpSize
);
1623 if (!PyString_Check(_obj1
)) {
1624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1627 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1631 #if PYTHON_API_VERSION >= 1009
1632 char* tmpPtr
; int tmpSize
;
1633 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1637 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1639 _arg2
= new wxString(tmpPtr
, tmpSize
);
1641 if (!PyString_Check(_obj2
)) {
1642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1645 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1650 _arg4
= wxString_LIST_helper(_obj4
);
1651 if (_arg4
== NULL
) {
1658 if (! wxPoint_helper(_obj6
, &_arg6
))
1663 _arg3
= PyList_Size(_obj4
);
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) return NULL
;
1676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1677 _resultobj
= Py_BuildValue("s",_ptemp
);
1680 _resultobj
= Py_None
;
1696 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1697 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1700 wxSingleChoiceDialog
* _arg0
;
1701 PyObject
* _argo0
= 0;
1702 char *_kwnames
[] = { "self", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) return NULL
;
1720 } _resultobj
= Py_BuildValue("i",_result
);
1724 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1725 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1728 wxSingleChoiceDialog
* _arg0
;
1729 PyObject
* _argo0
= 0;
1730 char *_kwnames
[] = { "self", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1744 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1746 wxPyEndAllowThreads(__tstate
);
1747 if (PyErr_Occurred()) return NULL
;
1749 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1757 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1758 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1760 wxSingleChoiceDialog
* _arg0
;
1762 PyObject
* _argo0
= 0;
1763 char *_kwnames
[] = { "self","sel", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1777 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) return NULL
;
1781 } Py_INCREF(Py_None
);
1782 _resultobj
= Py_None
;
1786 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1787 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1790 wxSingleChoiceDialog
* _arg0
;
1791 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) return NULL
;
1810 } _resultobj
= Py_BuildValue("i",_result
);
1814 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1815 wxTextEntryDialog
*src
;
1817 src
= (wxTextEntryDialog
*) ptr
;
1818 dest
= (wxDialog
*) src
;
1819 return (void *) dest
;
1822 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) {
1823 wxTextEntryDialog
*src
;
1824 wxTopLevelWindow
*dest
;
1825 src
= (wxTextEntryDialog
*) ptr
;
1826 dest
= (wxTopLevelWindow
*) src
;
1827 return (void *) dest
;
1830 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1831 wxTextEntryDialog
*src
;
1833 src
= (wxTextEntryDialog
*) ptr
;
1834 dest
= (wxWindow
*) src
;
1835 return (void *) dest
;
1838 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1839 wxTextEntryDialog
*src
;
1841 src
= (wxTextEntryDialog
*) ptr
;
1842 dest
= (wxEvtHandler
*) src
;
1843 return (void *) dest
;
1846 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
1847 wxTextEntryDialog
*src
;
1849 src
= (wxTextEntryDialog
*) ptr
;
1850 dest
= (wxObject
*) src
;
1851 return (void *) dest
;
1854 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1855 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1857 wxTextEntryDialog
* _result
;
1860 char * _arg2
= (char *) "Input Text";
1861 char * _arg3
= (char *) "";
1862 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1863 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
1864 PyObject
* _argo0
= 0;
1866 PyObject
* _obj5
= 0;
1867 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1883 if (! wxPoint_helper(_obj5
, &_arg5
))
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) return NULL
;
1893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
1894 _resultobj
= Py_BuildValue("s",_ptemp
);
1897 _resultobj
= Py_None
;
1902 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1903 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
* _resultobj
;
1906 wxTextEntryDialog
* _arg0
;
1907 PyObject
* _argo0
= 0;
1908 char *_kwnames
[] = { "self", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
1914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) return NULL
;
1927 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1935 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1936 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1938 wxTextEntryDialog
* _arg0
;
1940 PyObject
* _argo0
= 0;
1941 PyObject
* _obj1
= 0;
1942 char *_kwnames
[] = { "self","value", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1955 #if PYTHON_API_VERSION >= 1009
1956 char* tmpPtr
; int tmpSize
;
1957 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1961 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1963 _arg1
= new wxString(tmpPtr
, tmpSize
);
1965 if (!PyString_Check(_obj1
)) {
1966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1969 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) return NULL
;
1978 } Py_INCREF(Py_None
);
1979 _resultobj
= Py_None
;
1987 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1988 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1991 wxTextEntryDialog
* _arg0
;
1992 PyObject
* _argo0
= 0;
1993 char *_kwnames
[] = { "self", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } _resultobj
= Py_BuildValue("i",_result
);
2015 static void *SwigwxFontDataTowxObject(void *ptr
) {
2018 src
= (wxFontData
*) ptr
;
2019 dest
= (wxObject
*) src
;
2020 return (void *) dest
;
2023 #define new_wxFontData() (new wxFontData())
2024 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2026 wxFontData
* _result
;
2027 char *_kwnames
[] = { NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 _result
= (wxFontData
*)new_wxFontData();
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) return NULL
;
2040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2041 _resultobj
= Py_BuildValue("s",_ptemp
);
2044 _resultobj
= Py_None
;
2049 #define delete_wxFontData(_swigobj) (delete _swigobj)
2050 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
* _resultobj
;
2053 PyObject
* _argo0
= 0;
2054 char *_kwnames
[] = { "self", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 delete_wxFontData(_arg0
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) return NULL
;
2072 } Py_INCREF(Py_None
);
2073 _resultobj
= Py_None
;
2077 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2078 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
* _resultobj
;
2082 PyObject
* _argo0
= 0;
2084 char *_kwnames
[] = { "self","enable", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2096 _arg1
= (bool ) tempbool1
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 wxFontData_EnableEffects(_arg0
,_arg1
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) return NULL
;
2103 } Py_INCREF(Py_None
);
2104 _resultobj
= Py_None
;
2108 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2109 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2113 PyObject
* _argo0
= 0;
2114 char *_kwnames
[] = { "self", NULL
};
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) return NULL
;
2132 } _resultobj
= Py_BuildValue("i",_result
);
2136 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2137 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2141 PyObject
* _argo0
= 0;
2142 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 _result
= new wxColour (wxFontData_GetColour(_arg0
));
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) return NULL
;
2161 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2162 _resultobj
= Py_BuildValue("s",_ptemp
);
2166 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2167 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2171 PyObject
* _argo0
= 0;
2172 char *_kwnames
[] = { "self", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) return NULL
;
2191 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2192 _resultobj
= Py_BuildValue("s",_ptemp
);
2196 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2197 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) return NULL
;
2220 } _resultobj
= Py_BuildValue("i",_result
);
2224 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2225 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2229 PyObject
* _argo0
= 0;
2230 char *_kwnames
[] = { "self", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) return NULL
;
2249 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2250 _resultobj
= Py_BuildValue("s",_ptemp
);
2254 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2255 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2259 PyObject
* _argo0
= 0;
2260 char *_kwnames
[] = { "self", NULL
};
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) return NULL
;
2278 } _resultobj
= Py_BuildValue("i",_result
);
2282 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2283 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2287 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2301 _arg1
= (bool ) tempbool1
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2313 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2314 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2318 PyObject
* _argo0
= 0;
2319 PyObject
* _argo1
= 0;
2320 char *_kwnames
[] = { "self","font", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } Py_INCREF(Py_None
);
2346 _resultobj
= Py_None
;
2350 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2351 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2355 PyObject
* _argo0
= 0;
2357 PyObject
* _obj1
= 0;
2358 char *_kwnames
[] = { "self","colour", NULL
};
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2372 if (! wxColour_helper(_obj1
, &_arg1
))
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 wxFontData_SetColour(_arg0
,*_arg1
);
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) return NULL
;
2381 } Py_INCREF(Py_None
);
2382 _resultobj
= Py_None
;
2386 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2387 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2391 PyObject
* _argo0
= 0;
2392 PyObject
* _argo1
= 0;
2393 char *_kwnames
[] = { "self","font", NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2423 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2424 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2429 PyObject
* _argo0
= 0;
2430 char *_kwnames
[] = { "self","min","max", NULL
};
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) return NULL
;
2448 } Py_INCREF(Py_None
);
2449 _resultobj
= Py_None
;
2453 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2454 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
* _resultobj
;
2458 PyObject
* _argo0
= 0;
2460 char *_kwnames
[] = { "self","showHelp", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2472 _arg1
= (bool ) tempbool1
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 wxFontData_SetShowHelp(_arg0
,_arg1
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) return NULL
;
2479 } Py_INCREF(Py_None
);
2480 _resultobj
= Py_None
;
2484 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2487 src
= (wxFontDialog
*) ptr
;
2488 dest
= (wxDialog
*) src
;
2489 return (void *) dest
;
2492 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) {
2494 wxTopLevelWindow
*dest
;
2495 src
= (wxFontDialog
*) ptr
;
2496 dest
= (wxTopLevelWindow
*) src
;
2497 return (void *) dest
;
2500 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2503 src
= (wxFontDialog
*) ptr
;
2504 dest
= (wxWindow
*) src
;
2505 return (void *) dest
;
2508 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2511 src
= (wxFontDialog
*) ptr
;
2512 dest
= (wxEvtHandler
*) src
;
2513 return (void *) dest
;
2516 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2519 src
= (wxFontDialog
*) ptr
;
2520 dest
= (wxObject
*) src
;
2521 return (void *) dest
;
2524 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2525 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2527 wxFontDialog
* _result
;
2530 PyObject
* _argo0
= 0;
2531 PyObject
* _argo1
= 0;
2532 char *_kwnames
[] = { "parent","data", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) return NULL
;
2559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2560 _resultobj
= Py_BuildValue("s",_ptemp
);
2563 _resultobj
= Py_None
;
2568 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2569 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2571 wxFontData
* _result
;
2572 wxFontDialog
* _arg0
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2590 _result
= (wxFontData
*) &_result_ref
;
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) return NULL
;
2595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2596 _resultobj
= Py_BuildValue("s",_ptemp
);
2599 _resultobj
= Py_None
;
2604 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2605 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2608 wxFontDialog
* _arg0
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) return NULL
;
2628 } _resultobj
= Py_BuildValue("i",_result
);
2632 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2633 wxMessageDialog
*src
;
2635 src
= (wxMessageDialog
*) ptr
;
2636 dest
= (wxDialog
*) src
;
2637 return (void *) dest
;
2640 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) {
2641 wxMessageDialog
*src
;
2642 wxTopLevelWindow
*dest
;
2643 src
= (wxMessageDialog
*) ptr
;
2644 dest
= (wxTopLevelWindow
*) src
;
2645 return (void *) dest
;
2648 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2649 wxMessageDialog
*src
;
2651 src
= (wxMessageDialog
*) ptr
;
2652 dest
= (wxWindow
*) src
;
2653 return (void *) dest
;
2656 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2657 wxMessageDialog
*src
;
2659 src
= (wxMessageDialog
*) ptr
;
2660 dest
= (wxEvtHandler
*) src
;
2661 return (void *) dest
;
2664 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2665 wxMessageDialog
*src
;
2667 src
= (wxMessageDialog
*) ptr
;
2668 dest
= (wxObject
*) src
;
2669 return (void *) dest
;
2672 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2673 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2675 wxMessageDialog
* _result
;
2678 char * _arg2
= (char *) "Message box";
2679 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2680 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2681 PyObject
* _argo0
= 0;
2683 PyObject
* _obj4
= 0;
2684 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2700 if (! wxPoint_helper(_obj4
, &_arg4
))
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) return NULL
;
2710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2711 _resultobj
= Py_BuildValue("s",_ptemp
);
2714 _resultobj
= Py_None
;
2719 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2720 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2723 wxMessageDialog
* _arg0
;
2724 PyObject
* _argo0
= 0;
2725 char *_kwnames
[] = { "self", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) return NULL
;
2743 } _resultobj
= Py_BuildValue("i",_result
);
2747 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2748 wxProgressDialog
*src
;
2750 src
= (wxProgressDialog
*) ptr
;
2751 dest
= (wxFrame
*) src
;
2752 return (void *) dest
;
2755 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) {
2756 wxProgressDialog
*src
;
2757 wxTopLevelWindow
*dest
;
2758 src
= (wxProgressDialog
*) ptr
;
2759 dest
= (wxTopLevelWindow
*) src
;
2760 return (void *) dest
;
2763 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2764 wxProgressDialog
*src
;
2766 src
= (wxProgressDialog
*) ptr
;
2767 dest
= (wxWindow
*) src
;
2768 return (void *) dest
;
2771 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
2772 wxProgressDialog
*src
;
2774 src
= (wxProgressDialog
*) ptr
;
2775 dest
= (wxEvtHandler
*) src
;
2776 return (void *) dest
;
2779 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
2780 wxProgressDialog
*src
;
2782 src
= (wxProgressDialog
*) ptr
;
2783 dest
= (wxObject
*) src
;
2784 return (void *) dest
;
2787 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2788 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2790 wxProgressDialog
* _result
;
2793 int _arg2
= (int ) 100;
2794 wxWindow
* _arg3
= (wxWindow
*) NULL
;
2795 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
2796 PyObject
* _obj0
= 0;
2797 PyObject
* _obj1
= 0;
2798 PyObject
* _argo3
= 0;
2799 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
2806 #if PYTHON_API_VERSION >= 1009
2807 char* tmpPtr
; int tmpSize
;
2808 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2809 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2812 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2814 _arg0
= new wxString(tmpPtr
, tmpSize
);
2816 if (!PyString_Check(_obj0
)) {
2817 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2820 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2824 #if PYTHON_API_VERSION >= 1009
2825 char* tmpPtr
; int tmpSize
;
2826 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2830 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2832 _arg1
= new wxString(tmpPtr
, tmpSize
);
2834 if (!PyString_Check(_obj1
)) {
2835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2838 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2842 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) return NULL
;
2855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
2856 _resultobj
= Py_BuildValue("s",_ptemp
);
2859 _resultobj
= Py_None
;
2872 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2873 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2876 wxProgressDialog
* _arg0
;
2877 int _arg1
= (int ) -1;
2878 char * _arg2
= (char *) NULL
;
2879 PyObject
* _argo0
= 0;
2880 char *_kwnames
[] = { "self","value","newmsg", NULL
};
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) return NULL
;
2898 } _resultobj
= Py_BuildValue("i",_result
);
2902 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2903 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2905 wxProgressDialog
* _arg0
;
2906 PyObject
* _argo0
= 0;
2907 char *_kwnames
[] = { "self", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
2913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 wxProgressDialog_Resume(_arg0
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) return NULL
;
2925 } Py_INCREF(Py_None
);
2926 _resultobj
= Py_None
;
2930 static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr
) {
2931 wxFindDialogEvent
*src
;
2932 wxCommandEvent
*dest
;
2933 src
= (wxFindDialogEvent
*) ptr
;
2934 dest
= (wxCommandEvent
*) src
;
2935 return (void *) dest
;
2938 static void *SwigwxFindDialogEventTowxEvent(void *ptr
) {
2939 wxFindDialogEvent
*src
;
2941 src
= (wxFindDialogEvent
*) ptr
;
2942 dest
= (wxEvent
*) src
;
2943 return (void *) dest
;
2946 static void *SwigwxFindDialogEventTowxObject(void *ptr
) {
2947 wxFindDialogEvent
*src
;
2949 src
= (wxFindDialogEvent
*) ptr
;
2950 dest
= (wxObject
*) src
;
2951 return (void *) dest
;
2954 #define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1))
2955 static PyObject
*_wrap_new_wxFindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2957 wxFindDialogEvent
* _result
;
2958 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2959 int _arg1
= (int ) 0;
2960 char *_kwnames
[] = { "commandType","id", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxFindDialogEvent",_kwnames
,&_arg0
,&_arg1
))
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 _result
= (wxFindDialogEvent
*)new_wxFindDialogEvent(_arg0
,_arg1
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindDialogEvent_p");
2974 _resultobj
= Py_BuildValue("s",_ptemp
);
2977 _resultobj
= Py_None
;
2982 #define wxFindDialogEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
2983 static PyObject
*_wrap_wxFindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2986 wxFindDialogEvent
* _arg0
;
2987 PyObject
* _argo0
= 0;
2988 char *_kwnames
[] = { "self", NULL
};
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFlags",_kwnames
,&_argo0
))
2994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
2996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p.");
3001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3002 _result
= (int )wxFindDialogEvent_GetFlags(_arg0
);
3004 wxPyEndAllowThreads(__tstate
);
3005 if (PyErr_Occurred()) return NULL
;
3006 } _resultobj
= Py_BuildValue("i",_result
);
3010 #define wxFindDialogEvent_GetFindString(_swigobj) (_swigobj->GetFindString())
3011 static PyObject
*_wrap_wxFindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3014 wxFindDialogEvent
* _arg0
;
3015 PyObject
* _argo0
= 0;
3016 char *_kwnames
[] = { "self", NULL
};
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFindString",_kwnames
,&_argo0
))
3022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p.");
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3030 _result
= new wxString (wxFindDialogEvent_GetFindString(_arg0
));
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) return NULL
;
3035 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3043 #define wxFindDialogEvent_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3044 static PyObject
*_wrap_wxFindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3047 wxFindDialogEvent
* _arg0
;
3048 PyObject
* _argo0
= 0;
3049 char *_kwnames
[] = { "self", NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetReplaceString",_kwnames
,&_argo0
))
3055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p.");
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 const wxString
& _result_ref
= wxFindDialogEvent_GetReplaceString(_arg0
);
3064 _result
= (wxString
*) &_result_ref
;
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) return NULL
;
3069 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3074 #define wxFindDialogEvent_GetDialog(_swigobj) (_swigobj->GetDialog())
3075 static PyObject
*_wrap_wxFindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3077 wxFindReplaceDialog
* _result
;
3078 wxFindDialogEvent
* _arg0
;
3079 PyObject
* _argo0
= 0;
3080 char *_kwnames
[] = { "self", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetDialog",_kwnames
,&_argo0
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p.");
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 _result
= (wxFindReplaceDialog
*)wxFindDialogEvent_GetDialog(_arg0
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) return NULL
;
3100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3101 _resultobj
= Py_BuildValue("s",_ptemp
);
3104 _resultobj
= Py_None
;
3109 #define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3110 static PyObject
*_wrap_wxFindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3112 wxFindDialogEvent
* _arg0
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self","flags", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindDialogEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p.");
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 wxFindDialogEvent_SetFlags(_arg0
,_arg1
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) return NULL
;
3133 } Py_INCREF(Py_None
);
3134 _resultobj
= Py_None
;
3138 #define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3139 static PyObject
*_wrap_wxFindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3141 wxFindDialogEvent
* _arg0
;
3143 PyObject
* _argo0
= 0;
3144 PyObject
* _obj1
= 0;
3145 char *_kwnames
[] = { "self","str", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p.");
3158 #if PYTHON_API_VERSION >= 1009
3159 char* tmpPtr
; int tmpSize
;
3160 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3164 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3166 _arg1
= new wxString(tmpPtr
, tmpSize
);
3168 if (!PyString_Check(_obj1
)) {
3169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3172 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 wxFindDialogEvent_SetFindString(_arg0
,*_arg1
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3181 } Py_INCREF(Py_None
);
3182 _resultobj
= Py_None
;
3190 #define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3191 static PyObject
*_wrap_wxFindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3193 wxFindDialogEvent
* _arg0
;
3195 PyObject
* _argo0
= 0;
3196 PyObject
* _obj1
= 0;
3197 char *_kwnames
[] = { "self","str", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p.");
3210 #if PYTHON_API_VERSION >= 1009
3211 char* tmpPtr
; int tmpSize
;
3212 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3213 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3216 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3218 _arg1
= new wxString(tmpPtr
, tmpSize
);
3220 if (!PyString_Check(_obj1
)) {
3221 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3224 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 wxFindDialogEvent_SetReplaceString(_arg0
,*_arg1
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) return NULL
;
3233 } Py_INCREF(Py_None
);
3234 _resultobj
= Py_None
;
3242 static void *SwigwxFindReplaceDataTowxObject(void *ptr
) {
3243 wxFindReplaceData
*src
;
3245 src
= (wxFindReplaceData
*) ptr
;
3246 dest
= (wxObject
*) src
;
3247 return (void *) dest
;
3250 #define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0))
3251 static PyObject
*_wrap_new_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3253 wxFindReplaceData
* _result
;
3254 int _arg0
= (int ) 0;
3255 char *_kwnames
[] = { "flags", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFindReplaceData",_kwnames
,&_arg0
))
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 _result
= (wxFindReplaceData
*)new_wxFindReplaceData(_arg0
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) return NULL
;
3268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3269 _resultobj
= Py_BuildValue("s",_ptemp
);
3272 _resultobj
= Py_None
;
3277 #define delete_wxFindReplaceData(_swigobj) (delete _swigobj)
3278 static PyObject
*_wrap_delete_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
* _resultobj
;
3280 wxFindReplaceData
* _arg0
;
3281 PyObject
* _argo0
= 0;
3282 char *_kwnames
[] = { "self", NULL
};
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFindReplaceData",_kwnames
,&_argo0
))
3288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p.");
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 delete_wxFindReplaceData(_arg0
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) return NULL
;
3300 } Py_INCREF(Py_None
);
3301 _resultobj
= Py_None
;
3305 #define wxFindReplaceData_GetFindString(_swigobj) (_swigobj->GetFindString())
3306 static PyObject
*_wrap_wxFindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3309 wxFindReplaceData
* _arg0
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self", NULL
};
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFindString",_kwnames
,&_argo0
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p.");
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 const wxString
& _result_ref
= wxFindReplaceData_GetFindString(_arg0
);
3326 _result
= (wxString
*) &_result_ref
;
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) return NULL
;
3331 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3336 #define wxFindReplaceData_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3337 static PyObject
*_wrap_wxFindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
* _resultobj
;
3340 wxFindReplaceData
* _arg0
;
3341 PyObject
* _argo0
= 0;
3342 char *_kwnames
[] = { "self", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetReplaceString",_kwnames
,&_argo0
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p.");
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 const wxString
& _result_ref
= wxFindReplaceData_GetReplaceString(_arg0
);
3357 _result
= (wxString
*) &_result_ref
;
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3362 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3367 #define wxFindReplaceData_GetFlags(_swigobj) (_swigobj->GetFlags())
3368 static PyObject
*_wrap_wxFindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3371 wxFindReplaceData
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFlags",_kwnames
,&_argo0
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p.");
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 _result
= (int )wxFindReplaceData_GetFlags(_arg0
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) return NULL
;
3391 } _resultobj
= Py_BuildValue("i",_result
);
3395 #define wxFindReplaceData_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3396 static PyObject
*_wrap_wxFindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3398 wxFindReplaceData
* _arg0
;
3400 PyObject
* _argo0
= 0;
3401 char *_kwnames
[] = { "self","flags", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindReplaceData_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p.");
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 wxFindReplaceData_SetFlags(_arg0
,_arg1
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) return NULL
;
3419 } Py_INCREF(Py_None
);
3420 _resultobj
= Py_None
;
3424 #define wxFindReplaceData_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3425 static PyObject
*_wrap_wxFindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3427 wxFindReplaceData
* _arg0
;
3429 PyObject
* _argo0
= 0;
3430 PyObject
* _obj1
= 0;
3431 char *_kwnames
[] = { "self","str", NULL
};
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p.");
3444 #if PYTHON_API_VERSION >= 1009
3445 char* tmpPtr
; int tmpSize
;
3446 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3447 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3450 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3452 _arg1
= new wxString(tmpPtr
, tmpSize
);
3454 if (!PyString_Check(_obj1
)) {
3455 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3458 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 wxFindReplaceData_SetFindString(_arg0
,*_arg1
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) return NULL
;
3467 } Py_INCREF(Py_None
);
3468 _resultobj
= Py_None
;
3476 #define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3477 static PyObject
*_wrap_wxFindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxFindReplaceData
* _arg0
;
3481 PyObject
* _argo0
= 0;
3482 PyObject
* _obj1
= 0;
3483 char *_kwnames
[] = { "self","str", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p.");
3496 #if PYTHON_API_VERSION >= 1009
3497 char* tmpPtr
; int tmpSize
;
3498 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3502 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3504 _arg1
= new wxString(tmpPtr
, tmpSize
);
3506 if (!PyString_Check(_obj1
)) {
3507 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3510 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 wxFindReplaceData_SetReplaceString(_arg0
,*_arg1
);
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) return NULL
;
3519 } Py_INCREF(Py_None
);
3520 _resultobj
= Py_None
;
3528 static void *SwigwxFindReplaceDialogTowxDialog(void *ptr
) {
3529 wxFindReplaceDialog
*src
;
3531 src
= (wxFindReplaceDialog
*) ptr
;
3532 dest
= (wxDialog
*) src
;
3533 return (void *) dest
;
3536 static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr
) {
3537 wxFindReplaceDialog
*src
;
3538 wxTopLevelWindow
*dest
;
3539 src
= (wxFindReplaceDialog
*) ptr
;
3540 dest
= (wxTopLevelWindow
*) src
;
3541 return (void *) dest
;
3544 static void *SwigwxFindReplaceDialogTowxWindow(void *ptr
) {
3545 wxFindReplaceDialog
*src
;
3547 src
= (wxFindReplaceDialog
*) ptr
;
3548 dest
= (wxWindow
*) src
;
3549 return (void *) dest
;
3552 static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr
) {
3553 wxFindReplaceDialog
*src
;
3555 src
= (wxFindReplaceDialog
*) ptr
;
3556 dest
= (wxEvtHandler
*) src
;
3557 return (void *) dest
;
3560 static void *SwigwxFindReplaceDialogTowxObject(void *ptr
) {
3561 wxFindReplaceDialog
*src
;
3563 src
= (wxFindReplaceDialog
*) ptr
;
3564 dest
= (wxObject
*) src
;
3565 return (void *) dest
;
3568 #define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3569 static PyObject
*_wrap_new_wxFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3571 wxFindReplaceDialog
* _result
;
3573 wxFindReplaceData
* _arg1
;
3575 int _arg3
= (int ) 0;
3576 PyObject
* _argo0
= 0;
3577 PyObject
* _argo1
= 0;
3578 PyObject
* _obj2
= 0;
3579 char *_kwnames
[] = { "parent","data","title","style", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:new_wxFindReplaceDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p.");
3593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p.");
3600 #if PYTHON_API_VERSION >= 1009
3601 char* tmpPtr
; int tmpSize
;
3602 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3606 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3608 _arg2
= new wxString(tmpPtr
, tmpSize
);
3610 if (!PyString_Check(_obj2
)) {
3611 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3614 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 _result
= (wxFindReplaceDialog
*)new_wxFindReplaceDialog(_arg0
,_arg1
,*_arg2
,_arg3
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) return NULL
;
3624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3625 _resultobj
= Py_BuildValue("s",_ptemp
);
3628 _resultobj
= Py_None
;
3637 #define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog())
3638 static PyObject
*_wrap_new_wxPreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3640 wxFindReplaceDialog
* _result
;
3641 char *_kwnames
[] = { NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFindReplaceDialog",_kwnames
))
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 _result
= (wxFindReplaceDialog
*)new_wxPreFindReplaceDialog();
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) return NULL
;
3654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3655 _resultobj
= Py_BuildValue("s",_ptemp
);
3658 _resultobj
= Py_None
;
3663 #define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3664 static PyObject
*_wrap_wxFindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3667 wxFindReplaceDialog
* _arg0
;
3669 wxFindReplaceData
* _arg2
;
3671 int _arg4
= (int ) 0;
3672 PyObject
* _argo0
= 0;
3673 PyObject
* _argo1
= 0;
3674 PyObject
* _argo2
= 0;
3675 PyObject
* _obj3
= 0;
3676 char *_kwnames
[] = { "self","parent","data","title","style", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|i:wxFindReplaceDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p.");
3689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p.");
3696 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFindReplaceData_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p.");
3703 #if PYTHON_API_VERSION >= 1009
3704 char* tmpPtr
; int tmpSize
;
3705 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3706 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3709 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3711 _arg3
= new wxString(tmpPtr
, tmpSize
);
3713 if (!PyString_Check(_obj3
)) {
3714 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3717 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 _result
= (bool )wxFindReplaceDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) return NULL
;
3726 } _resultobj
= Py_BuildValue("i",_result
);
3734 #define wxFindReplaceDialog_GetData(_swigobj) (_swigobj->GetData())
3735 static PyObject
*_wrap_wxFindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
* _resultobj
;
3737 wxFindReplaceData
* _result
;
3738 wxFindReplaceDialog
* _arg0
;
3739 PyObject
* _argo0
= 0;
3740 char *_kwnames
[] = { "self", NULL
};
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceDialog_GetData",_kwnames
,&_argo0
))
3747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p.");
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 _result
= (wxFindReplaceData
*)wxFindReplaceDialog_GetData(_arg0
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) return NULL
;
3760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3761 _resultobj
= Py_BuildValue("s",_ptemp
);
3764 _resultobj
= Py_None
;
3769 #define wxFindReplaceDialog_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3770 static PyObject
*_wrap_wxFindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
* _resultobj
;
3772 wxFindReplaceDialog
* _arg0
;
3773 wxFindReplaceData
* _arg1
;
3774 PyObject
* _argo0
= 0;
3775 PyObject
* _argo1
= 0;
3776 char *_kwnames
[] = { "self","data", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceDialog_SetData",_kwnames
,&_argo0
,&_argo1
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p.");
3789 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3790 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p.");
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 wxFindReplaceDialog_SetData(_arg0
,_arg1
);
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) return NULL
;
3801 } Py_INCREF(Py_None
);
3802 _resultobj
= Py_None
;
3806 static PyMethodDef cmndlgscMethods
[] = {
3807 { "wxFindReplaceDialog_SetData", (PyCFunction
) _wrap_wxFindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3808 { "wxFindReplaceDialog_GetData", (PyCFunction
) _wrap_wxFindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3809 { "wxFindReplaceDialog_Create", (PyCFunction
) _wrap_wxFindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
3810 { "new_wxPreFindReplaceDialog", (PyCFunction
) _wrap_new_wxPreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3811 { "new_wxFindReplaceDialog", (PyCFunction
) _wrap_new_wxFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3812 { "wxFindReplaceData_SetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3813 { "wxFindReplaceData_SetFindString", (PyCFunction
) _wrap_wxFindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3814 { "wxFindReplaceData_SetFlags", (PyCFunction
) _wrap_wxFindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3815 { "wxFindReplaceData_GetFlags", (PyCFunction
) _wrap_wxFindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3816 { "wxFindReplaceData_GetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3817 { "wxFindReplaceData_GetFindString", (PyCFunction
) _wrap_wxFindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3818 { "delete_wxFindReplaceData", (PyCFunction
) _wrap_delete_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3819 { "new_wxFindReplaceData", (PyCFunction
) _wrap_new_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3820 { "wxFindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3821 { "wxFindDialogEvent_SetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3822 { "wxFindDialogEvent_SetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3823 { "wxFindDialogEvent_GetDialog", (PyCFunction
) _wrap_wxFindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
3824 { "wxFindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3825 { "wxFindDialogEvent_GetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3826 { "wxFindDialogEvent_GetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3827 { "new_wxFindDialogEvent", (PyCFunction
) _wrap_new_wxFindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
3828 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
3829 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
3830 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
3831 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3832 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
3833 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3834 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
3835 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
3836 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
3837 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
3838 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
3839 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3840 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
3841 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
3842 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
3843 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
3844 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
3845 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
3846 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3847 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
3848 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
3849 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
3850 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
3851 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3852 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
3853 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
3854 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
3855 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3856 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3857 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
3858 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3859 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3860 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
3861 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3862 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3863 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
3864 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3865 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
3866 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3867 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
3868 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
3869 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
3870 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
3871 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3872 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
3873 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3874 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
3875 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
3876 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
3877 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
3878 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3879 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
3880 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3881 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3882 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3883 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
3884 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
3885 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3886 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
3887 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
3888 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3889 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3890 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3891 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3892 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3893 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3894 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3895 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3902 * This table is used by the pointer type-checker
3904 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3905 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
3906 { "_signed_long","_long",0},
3907 { "_wxPrintQuality","_wxCoord",0},
3908 { "_wxPrintQuality","_int",0},
3909 { "_wxPrintQuality","_signed_int",0},
3910 { "_wxPrintQuality","_unsigned_int",0},
3911 { "_wxPrintQuality","_wxWindowID",0},
3912 { "_wxPrintQuality","_uint",0},
3913 { "_wxPrintQuality","_EBool",0},
3914 { "_wxPrintQuality","_size_t",0},
3915 { "_wxPrintQuality","_time_t",0},
3916 { "_byte","_unsigned_char",0},
3917 { "_long","_unsigned_long",0},
3918 { "_long","_signed_long",0},
3919 { "_size_t","_wxCoord",0},
3920 { "_size_t","_wxPrintQuality",0},
3921 { "_size_t","_time_t",0},
3922 { "_size_t","_unsigned_int",0},
3923 { "_size_t","_int",0},
3924 { "_size_t","_wxWindowID",0},
3925 { "_size_t","_uint",0},
3926 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
3927 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
3928 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
3929 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
3930 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
3931 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
3932 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
3933 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
3934 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
3935 { "_uint","_wxCoord",0},
3936 { "_uint","_wxPrintQuality",0},
3937 { "_uint","_time_t",0},
3938 { "_uint","_size_t",0},
3939 { "_uint","_unsigned_int",0},
3940 { "_uint","_int",0},
3941 { "_uint","_wxWindowID",0},
3942 { "_wxChar","_char",0},
3943 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
3944 { "_char","_wxChar",0},
3945 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3946 { "_EBool","_wxCoord",0},
3947 { "_EBool","_wxPrintQuality",0},
3948 { "_EBool","_signed_int",0},
3949 { "_EBool","_int",0},
3950 { "_EBool","_wxWindowID",0},
3951 { "_unsigned_long","_long",0},
3952 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3953 { "_signed_int","_wxCoord",0},
3954 { "_signed_int","_wxPrintQuality",0},
3955 { "_signed_int","_EBool",0},
3956 { "_signed_int","_wxWindowID",0},
3957 { "_signed_int","_int",0},
3958 { "_WXTYPE","_short",0},
3959 { "_WXTYPE","_signed_short",0},
3960 { "_WXTYPE","_unsigned_short",0},
3961 { "_unsigned_short","_WXTYPE",0},
3962 { "_unsigned_short","_short",0},
3963 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
3964 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
3965 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
3966 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3967 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3968 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
3969 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
3970 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3971 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3972 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
3973 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
3974 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
3975 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
3976 { "_signed_short","_WXTYPE",0},
3977 { "_signed_short","_short",0},
3978 { "_unsigned_char","_byte",0},
3979 { "_unsigned_int","_wxCoord",0},
3980 { "_unsigned_int","_wxPrintQuality",0},
3981 { "_unsigned_int","_time_t",0},
3982 { "_unsigned_int","_size_t",0},
3983 { "_unsigned_int","_uint",0},
3984 { "_unsigned_int","_wxWindowID",0},
3985 { "_unsigned_int","_int",0},
3986 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
3987 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
3988 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
3989 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
3990 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
3991 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
3992 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
3993 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
3994 { "_short","_WXTYPE",0},
3995 { "_short","_unsigned_short",0},
3996 { "_short","_signed_short",0},
3997 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3998 { "_wxWindowID","_wxCoord",0},
3999 { "_wxWindowID","_wxPrintQuality",0},
4000 { "_wxWindowID","_time_t",0},
4001 { "_wxWindowID","_size_t",0},
4002 { "_wxWindowID","_EBool",0},
4003 { "_wxWindowID","_uint",0},
4004 { "_wxWindowID","_int",0},
4005 { "_wxWindowID","_signed_int",0},
4006 { "_wxWindowID","_unsigned_int",0},
4007 { "_int","_wxCoord",0},
4008 { "_int","_wxPrintQuality",0},
4009 { "_int","_time_t",0},
4010 { "_int","_size_t",0},
4011 { "_int","_EBool",0},
4012 { "_int","_uint",0},
4013 { "_int","_wxWindowID",0},
4014 { "_int","_unsigned_int",0},
4015 { "_int","_signed_int",0},
4016 { "_time_t","_wxCoord",0},
4017 { "_time_t","_wxPrintQuality",0},
4018 { "_time_t","_unsigned_int",0},
4019 { "_time_t","_int",0},
4020 { "_time_t","_wxWindowID",0},
4021 { "_time_t","_uint",0},
4022 { "_time_t","_size_t",0},
4023 { "_wxCoord","_int",0},
4024 { "_wxCoord","_signed_int",0},
4025 { "_wxCoord","_unsigned_int",0},
4026 { "_wxCoord","_wxWindowID",0},
4027 { "_wxCoord","_uint",0},
4028 { "_wxCoord","_EBool",0},
4029 { "_wxCoord","_size_t",0},
4030 { "_wxCoord","_time_t",0},
4031 { "_wxCoord","_wxPrintQuality",0},
4032 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
4033 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
4034 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
4035 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
4036 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
4037 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
4038 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
4039 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
4040 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
4041 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4042 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4043 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4044 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
4045 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4046 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4047 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
4048 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
4049 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
4052 static PyObject
*SWIG_globals
;
4056 SWIGEXPORT(void) initcmndlgsc() {
4058 SWIG_globals
= SWIG_newvarlink();
4059 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
4060 d
= PyModule_GetDict(m
);
4061 PyDict_SetItemString(d
,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN
));
4062 PyDict_SetItemString(d
,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD
));
4063 PyDict_SetItemString(d
,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE
));
4064 PyDict_SetItemString(d
,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG
));
4065 PyDict_SetItemString(d
,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN
));
4066 PyDict_SetItemString(d
,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE
));
4067 PyDict_SetItemString(d
,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD
));
4068 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND
));
4069 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT
));
4070 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE
));
4071 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL
));
4072 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE
));
4075 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4076 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);