2 * FILE : src/msw/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initcmndlgsc
55 #define SWIG_name "cmndlgsc"
58 #include <wx/colordlg.h>
59 #include <wx/dirdlg.h>
60 #include <wx/fontdlg.h>
61 #include <wx/progdlg.h>
62 #include <wx/fdrepdlg.h>
65 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyTuple_Check(target
)) {
77 target
= PyTuple_New(1);
78 PyTuple_SetItem(target
, 0, o2
);
81 PyTuple_SetItem(o3
, 0, o
);
84 target
= PySequence_Concat(o2
, o3
);
91 // Put some wx default wxChar* values into wxStrings.
92 DECLARE_DEF_STRING(FileSelectorPromptStr
);
93 DECLARE_DEF_STRING(DirSelectorPromptStr
);
94 DECLARE_DEF_STRING(DirDialogNameStr
);
95 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
96 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
97 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
98 static const wxString
wxPyEmptyString(wxT(""));
103 static void *SwigwxColourDataTowxObject(void *ptr
) {
106 src
= (wxColourData
*) ptr
;
107 dest
= (wxObject
*) src
;
108 return (void *) dest
;
111 #define new_wxColourData() (new wxColourData())
112 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
113 PyObject
* _resultobj
;
114 wxColourData
* _result
;
115 char *_kwnames
[] = { NULL
};
119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
123 _result
= (wxColourData
*)new_wxColourData();
125 wxPyEndAllowThreads(__tstate
);
126 if (PyErr_Occurred()) return NULL
;
128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
129 _resultobj
= Py_BuildValue("s",_ptemp
);
132 _resultobj
= Py_None
;
137 #define delete_wxColourData(_swigobj) (delete _swigobj)
138 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
139 PyObject
* _resultobj
;
140 wxColourData
* _arg0
;
141 PyObject
* _argo0
= 0;
142 char *_kwnames
[] = { "self", NULL
};
145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
156 delete_wxColourData(_arg0
);
158 wxPyEndAllowThreads(__tstate
);
159 if (PyErr_Occurred()) return NULL
;
160 } Py_INCREF(Py_None
);
161 _resultobj
= Py_None
;
165 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
166 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
167 PyObject
* _resultobj
;
169 wxColourData
* _arg0
;
170 PyObject
* _argo0
= 0;
171 char *_kwnames
[] = { "self", NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
185 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
187 wxPyEndAllowThreads(__tstate
);
188 if (PyErr_Occurred()) return NULL
;
189 } _resultobj
= Py_BuildValue("i",_result
);
193 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
194 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
197 wxColourData
* _arg0
;
198 PyObject
* _argo0
= 0;
199 char *_kwnames
[] = { "self", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
214 _result
= new wxColour (wxColourData_GetColour(_arg0
));
216 wxPyEndAllowThreads(__tstate
);
217 if (PyErr_Occurred()) return NULL
;
218 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
219 _resultobj
= Py_BuildValue("s",_ptemp
);
223 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
224 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
227 wxColourData
* _arg0
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "self","i", NULL
};
234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
245 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
247 wxPyEndAllowThreads(__tstate
);
248 if (PyErr_Occurred()) return NULL
;
249 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
250 _resultobj
= Py_BuildValue("s",_ptemp
);
254 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
255 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
256 PyObject
* _resultobj
;
257 wxColourData
* _arg0
;
259 PyObject
* _argo0
= 0;
260 char *_kwnames
[] = { "self","flag", NULL
};
263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
274 wxColourData_SetChooseFull(_arg0
,_arg1
);
276 wxPyEndAllowThreads(__tstate
);
277 if (PyErr_Occurred()) return NULL
;
278 } Py_INCREF(Py_None
);
279 _resultobj
= Py_None
;
283 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
284 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
286 wxColourData
* _arg0
;
288 PyObject
* _argo0
= 0;
290 PyObject
* _obj1
= 0;
291 char *_kwnames
[] = { "self","colour", NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
305 if (! wxColour_helper(_obj1
, &_arg1
))
309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
310 wxColourData_SetColour(_arg0
,*_arg1
);
312 wxPyEndAllowThreads(__tstate
);
313 if (PyErr_Occurred()) return NULL
;
314 } Py_INCREF(Py_None
);
315 _resultobj
= Py_None
;
319 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
320 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
322 wxColourData
* _arg0
;
325 PyObject
* _argo0
= 0;
327 PyObject
* _obj2
= 0;
328 char *_kwnames
[] = { "self","i","colour", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
342 if (! wxColour_helper(_obj2
, &_arg2
))
346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
347 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
349 wxPyEndAllowThreads(__tstate
);
350 if (PyErr_Occurred()) return NULL
;
351 } Py_INCREF(Py_None
);
352 _resultobj
= Py_None
;
356 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
359 src
= (wxColourDialog
*) ptr
;
360 dest
= (wxDialog
*) src
;
361 return (void *) dest
;
364 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) {
366 wxTopLevelWindow
*dest
;
367 src
= (wxColourDialog
*) ptr
;
368 dest
= (wxTopLevelWindow
*) src
;
369 return (void *) dest
;
372 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
375 src
= (wxColourDialog
*) ptr
;
376 dest
= (wxWindow
*) src
;
377 return (void *) dest
;
380 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
383 src
= (wxColourDialog
*) ptr
;
384 dest
= (wxEvtHandler
*) src
;
385 return (void *) dest
;
388 static void *SwigwxColourDialogTowxObject(void *ptr
) {
391 src
= (wxColourDialog
*) ptr
;
392 dest
= (wxObject
*) src
;
393 return (void *) dest
;
396 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
397 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
399 wxColourDialog
* _result
;
401 wxColourData
* _arg1
= (wxColourData
*) NULL
;
402 PyObject
* _argo0
= 0;
403 PyObject
* _argo1
= 0;
404 char *_kwnames
[] = { "parent","data", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
426 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
428 wxPyEndAllowThreads(__tstate
);
429 if (PyErr_Occurred()) return NULL
;
431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
432 _resultobj
= Py_BuildValue("s",_ptemp
);
435 _resultobj
= Py_None
;
440 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
441 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
443 wxColourData
* _result
;
444 wxColourDialog
* _arg0
;
445 PyObject
* _argo0
= 0;
446 char *_kwnames
[] = { "self", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
461 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
462 _result
= (wxColourData
*) &_result_ref
;
464 wxPyEndAllowThreads(__tstate
);
465 if (PyErr_Occurred()) return NULL
;
467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
468 _resultobj
= Py_BuildValue("s",_ptemp
);
471 _resultobj
= Py_None
;
476 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
477 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
480 wxColourDialog
* _arg0
;
481 PyObject
* _argo0
= 0;
482 char *_kwnames
[] = { "self", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
496 _result
= (int )wxColourDialog_ShowModal(_arg0
);
498 wxPyEndAllowThreads(__tstate
);
499 if (PyErr_Occurred()) return NULL
;
500 } _resultobj
= Py_BuildValue("i",_result
);
504 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
507 src
= (wxDirDialog
*) ptr
;
508 dest
= (wxDialog
*) src
;
509 return (void *) dest
;
512 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) {
514 wxTopLevelWindow
*dest
;
515 src
= (wxDirDialog
*) ptr
;
516 dest
= (wxTopLevelWindow
*) src
;
517 return (void *) dest
;
520 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
523 src
= (wxDirDialog
*) ptr
;
524 dest
= (wxWindow
*) src
;
525 return (void *) dest
;
528 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
531 src
= (wxDirDialog
*) ptr
;
532 dest
= (wxEvtHandler
*) src
;
533 return (void *) dest
;
536 static void *SwigwxDirDialogTowxObject(void *ptr
) {
539 src
= (wxDirDialog
*) ptr
;
540 dest
= (wxObject
*) src
;
541 return (void *) dest
;
544 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
545 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
546 PyObject
* _resultobj
;
547 wxDirDialog
* _result
;
549 wxString
* _arg1
= (wxString
*) &wxPyDirSelectorPromptStr
;
550 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
551 long _arg3
= (long ) 0;
552 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
553 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
554 wxString
* _arg6
= (wxString
*) &wxPyDirDialogNameStr
;
555 PyObject
* _argo0
= 0;
556 PyObject
* _obj1
= 0;
557 PyObject
* _obj2
= 0;
559 PyObject
* _obj4
= 0;
561 PyObject
* _obj5
= 0;
562 PyObject
* _obj6
= 0;
563 char *_kwnames
[] = { "parent","message","defaultPath","style","pos","size","name", NULL
};
567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOlOOO:new_wxDirDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_obj4
,&_obj5
,&_obj6
))
570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
578 _arg1
= wxString_in_helper(_obj1
);
584 _arg2
= wxString_in_helper(_obj2
);
591 if (! wxPoint_helper(_obj4
, &_arg4
))
597 if (! wxSize_helper(_obj5
, &_arg5
))
602 _arg6
= wxString_in_helper(_obj6
);
607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
608 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,*_arg4
,*_arg5
,*_arg6
);
610 wxPyEndAllowThreads(__tstate
);
611 if (PyErr_Occurred()) return NULL
;
613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
614 _resultobj
= Py_BuildValue("s",_ptemp
);
617 _resultobj
= Py_None
;
634 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
635 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
639 PyObject
* _argo0
= 0;
640 char *_kwnames
[] = { "self", NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
654 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
656 wxPyEndAllowThreads(__tstate
);
657 if (PyErr_Occurred()) return NULL
;
660 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
662 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
671 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
672 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
676 PyObject
* _argo0
= 0;
677 char *_kwnames
[] = { "self", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
691 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
693 wxPyEndAllowThreads(__tstate
);
694 if (PyErr_Occurred()) return NULL
;
697 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
699 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
708 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
709 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
710 PyObject
* _resultobj
;
713 PyObject
* _argo0
= 0;
714 char *_kwnames
[] = { "self", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 _result
= (long )wxDirDialog_GetStyle(_arg0
);
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) return NULL
;
732 } _resultobj
= Py_BuildValue("l",_result
);
736 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
737 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
741 PyObject
* _argo0
= 0;
742 PyObject
* _obj1
= 0;
743 char *_kwnames
[] = { "self","message", NULL
};
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
756 _arg1
= wxString_in_helper(_obj1
);
761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
762 wxDirDialog_SetMessage(_arg0
,*_arg1
);
764 wxPyEndAllowThreads(__tstate
);
765 if (PyErr_Occurred()) return NULL
;
766 } Py_INCREF(Py_None
);
767 _resultobj
= Py_None
;
775 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
776 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
780 PyObject
* _argo0
= 0;
781 PyObject
* _obj1
= 0;
782 char *_kwnames
[] = { "self","path", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
795 _arg1
= wxString_in_helper(_obj1
);
800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
801 wxDirDialog_SetPath(_arg0
,*_arg1
);
803 wxPyEndAllowThreads(__tstate
);
804 if (PyErr_Occurred()) return NULL
;
805 } Py_INCREF(Py_None
);
806 _resultobj
= Py_None
;
814 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
815 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
819 PyObject
* _argo0
= 0;
820 char *_kwnames
[] = { "self", NULL
};
823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
834 _result
= (int )wxDirDialog_ShowModal(_arg0
);
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) return NULL
;
838 } _resultobj
= Py_BuildValue("i",_result
);
842 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
845 src
= (wxFileDialog
*) ptr
;
846 dest
= (wxDialog
*) src
;
847 return (void *) dest
;
850 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) {
852 wxTopLevelWindow
*dest
;
853 src
= (wxFileDialog
*) ptr
;
854 dest
= (wxTopLevelWindow
*) src
;
855 return (void *) dest
;
858 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
861 src
= (wxFileDialog
*) ptr
;
862 dest
= (wxWindow
*) src
;
863 return (void *) dest
;
866 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
869 src
= (wxFileDialog
*) ptr
;
870 dest
= (wxEvtHandler
*) src
;
871 return (void *) dest
;
874 static void *SwigwxFileDialogTowxObject(void *ptr
) {
877 src
= (wxFileDialog
*) ptr
;
878 dest
= (wxObject
*) src
;
879 return (void *) dest
;
882 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
883 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
885 wxFileDialog
* _result
;
887 wxString
* _arg1
= (wxString
*) &wxPyFileSelectorPromptStr
;
888 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
889 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
890 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
891 long _arg5
= (long ) 0;
892 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
893 PyObject
* _argo0
= 0;
894 PyObject
* _obj1
= 0;
895 PyObject
* _obj2
= 0;
896 PyObject
* _obj3
= 0;
897 PyObject
* _obj4
= 0;
899 PyObject
* _obj6
= 0;
900 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOOlO:new_wxFileDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
915 _arg1
= wxString_in_helper(_obj1
);
921 _arg2
= wxString_in_helper(_obj2
);
927 _arg3
= wxString_in_helper(_obj3
);
933 _arg4
= wxString_in_helper(_obj4
);
940 if (! wxPoint_helper(_obj6
, &_arg6
))
944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
945 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
947 wxPyEndAllowThreads(__tstate
);
948 if (PyErr_Occurred()) return NULL
;
950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
951 _resultobj
= Py_BuildValue("s",_ptemp
);
954 _resultobj
= Py_None
;
975 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
976 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
979 wxFileDialog
* _arg0
;
980 PyObject
* _argo0
= 0;
981 char *_kwnames
[] = { "self", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
995 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) return NULL
;
1001 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1003 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1012 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
1013 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1016 wxFileDialog
* _arg0
;
1017 PyObject
* _argo0
= 0;
1018 char *_kwnames
[] = { "self", NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
1024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
1031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1032 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
1034 wxPyEndAllowThreads(__tstate
);
1035 if (PyErr_Occurred()) return NULL
;
1038 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1040 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1049 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
1050 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1053 wxFileDialog
* _arg0
;
1054 PyObject
* _argo0
= 0;
1055 char *_kwnames
[] = { "self", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
1061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1073 } _resultobj
= Py_BuildValue("i",_result
);
1077 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
1078 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1081 wxFileDialog
* _arg0
;
1082 PyObject
* _argo0
= 0;
1083 char *_kwnames
[] = { "self", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) return NULL
;
1103 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1105 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1114 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1115 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 wxFileDialog
* _arg0
;
1119 PyObject
* _argo0
= 0;
1120 char *_kwnames
[] = { "self", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1134 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1136 wxPyEndAllowThreads(__tstate
);
1137 if (PyErr_Occurred()) return NULL
;
1140 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1142 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1151 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1152 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1155 wxFileDialog
* _arg0
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) return NULL
;
1175 } _resultobj
= Py_BuildValue("l",_result
);
1179 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1180 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1183 wxFileDialog
* _arg0
;
1184 PyObject
* _argo0
= 0;
1185 char *_kwnames
[] = { "self", NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1205 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1207 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1216 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1217 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1219 wxFileDialog
* _arg0
;
1221 PyObject
* _argo0
= 0;
1222 PyObject
* _obj1
= 0;
1223 char *_kwnames
[] = { "self","directory", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1236 _arg1
= wxString_in_helper(_obj1
);
1241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1242 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1244 wxPyEndAllowThreads(__tstate
);
1245 if (PyErr_Occurred()) return NULL
;
1246 } Py_INCREF(Py_None
);
1247 _resultobj
= Py_None
;
1255 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1256 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1258 wxFileDialog
* _arg0
;
1260 PyObject
* _argo0
= 0;
1261 PyObject
* _obj1
= 0;
1262 char *_kwnames
[] = { "self","setfilename", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1275 _arg1
= wxString_in_helper(_obj1
);
1280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1281 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) return NULL
;
1285 } Py_INCREF(Py_None
);
1286 _resultobj
= Py_None
;
1294 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1295 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1297 wxFileDialog
* _arg0
;
1299 PyObject
* _argo0
= 0;
1300 char *_kwnames
[] = { "self","filterIndex", NULL
};
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1314 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1316 wxPyEndAllowThreads(__tstate
);
1317 if (PyErr_Occurred()) return NULL
;
1318 } Py_INCREF(Py_None
);
1319 _resultobj
= Py_None
;
1323 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1324 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1326 wxFileDialog
* _arg0
;
1328 PyObject
* _argo0
= 0;
1329 PyObject
* _obj1
= 0;
1330 char *_kwnames
[] = { "self","message", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1343 _arg1
= wxString_in_helper(_obj1
);
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1349 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) return NULL
;
1353 } Py_INCREF(Py_None
);
1354 _resultobj
= Py_None
;
1362 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1363 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1365 wxFileDialog
* _arg0
;
1367 PyObject
* _argo0
= 0;
1368 PyObject
* _obj1
= 0;
1369 char *_kwnames
[] = { "self","path", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1382 _arg1
= wxString_in_helper(_obj1
);
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1388 wxFileDialog_SetPath(_arg0
,*_arg1
);
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) return NULL
;
1392 } Py_INCREF(Py_None
);
1393 _resultobj
= Py_None
;
1401 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1402 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1404 wxFileDialog
* _arg0
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self","style", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 wxFileDialog_SetStyle(_arg0
,_arg1
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1430 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1431 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1433 wxFileDialog
* _arg0
;
1435 PyObject
* _argo0
= 0;
1436 PyObject
* _obj1
= 0;
1437 char *_kwnames
[] = { "self","wildCard", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1450 _arg1
= wxString_in_helper(_obj1
);
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) return NULL
;
1460 } Py_INCREF(Py_None
);
1461 _resultobj
= Py_None
;
1469 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1470 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1473 wxFileDialog
* _arg0
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) return NULL
;
1493 } _resultobj
= Py_BuildValue("i",_result
);
1497 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1499 self
->GetFilenames(arr
);
1500 return wxArrayString2PyList_helper(arr
);
1502 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
* _resultobj
;
1505 wxFileDialog
* _arg0
;
1506 PyObject
* _argo0
= 0;
1507 char *_kwnames
[] = { "self", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) return NULL
;
1526 _resultobj
= _result
;
1531 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1533 self
->GetPaths(arr
);
1534 return wxArrayString2PyList_helper(arr
);
1536 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1539 wxFileDialog
* _arg0
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "self", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1560 _resultobj
= _result
;
1565 static void *SwigwxMultiChoiceDialogTowxDialog(void *ptr
) {
1566 wxMultiChoiceDialog
*src
;
1568 src
= (wxMultiChoiceDialog
*) ptr
;
1569 dest
= (wxDialog
*) src
;
1570 return (void *) dest
;
1573 static void *SwigwxMultiChoiceDialogTowxTopLevelWindow(void *ptr
) {
1574 wxMultiChoiceDialog
*src
;
1575 wxTopLevelWindow
*dest
;
1576 src
= (wxMultiChoiceDialog
*) ptr
;
1577 dest
= (wxTopLevelWindow
*) src
;
1578 return (void *) dest
;
1581 static void *SwigwxMultiChoiceDialogTowxWindow(void *ptr
) {
1582 wxMultiChoiceDialog
*src
;
1584 src
= (wxMultiChoiceDialog
*) ptr
;
1585 dest
= (wxWindow
*) src
;
1586 return (void *) dest
;
1589 static void *SwigwxMultiChoiceDialogTowxEvtHandler(void *ptr
) {
1590 wxMultiChoiceDialog
*src
;
1592 src
= (wxMultiChoiceDialog
*) ptr
;
1593 dest
= (wxEvtHandler
*) src
;
1594 return (void *) dest
;
1597 static void *SwigwxMultiChoiceDialogTowxObject(void *ptr
) {
1598 wxMultiChoiceDialog
*src
;
1600 src
= (wxMultiChoiceDialog
*) ptr
;
1601 dest
= (wxObject
*) src
;
1602 return (void *) dest
;
1605 #define new_wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1606 static PyObject
*_wrap_new_wxMultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
* _resultobj
;
1608 wxMultiChoiceDialog
* _result
;
1614 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1615 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1616 PyObject
* _argo0
= 0;
1617 PyObject
* _obj1
= 0;
1618 PyObject
* _obj2
= 0;
1619 PyObject
* _obj4
= 0;
1621 PyObject
* _obj6
= 0;
1622 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxMultiChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMultiChoiceDialog. Expected _wxWindow_p.");
1636 _arg1
= wxString_in_helper(_obj1
);
1641 _arg2
= wxString_in_helper(_obj2
);
1647 _arg4
= wxString_LIST_helper(_obj4
);
1648 if (_arg4
== NULL
) {
1655 if (! wxPoint_helper(_obj6
, &_arg6
))
1660 _arg3
= PyList_Size(_obj4
);
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 _result
= (wxMultiChoiceDialog
*)new_wxMultiChoiceDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) return NULL
;
1673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMultiChoiceDialog_p");
1674 _resultobj
= Py_BuildValue("s",_ptemp
);
1677 _resultobj
= Py_None
;
1693 #define wxMultiChoiceDialog_SetSelections(_swigobj,_swigarg0) (_swigobj->SetSelections(_swigarg0))
1694 static PyObject
*_wrap_wxMultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1696 wxMultiChoiceDialog
* _arg0
;
1698 PyObject
* _argo0
= 0;
1699 PyObject
* _obj1
= 0;
1700 char *_kwnames
[] = { "self","selections", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMultiChoiceDialog_SetSelections",_kwnames
,&_argo0
,&_obj1
))
1706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_SetSelections. Expected _wxMultiChoiceDialog_p.");
1713 if (! PySequence_Check(_obj1
)) {
1714 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
1717 _arg1
= new wxArrayInt
;
1718 int i
, len
=PySequence_Length(_obj1
);
1719 for (i
=0; i
<len
; i
++) {
1720 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
1721 PyObject
* number
= PyNumber_Int(item
);
1722 _arg1
->Add(PyInt_AS_LONG(number
));
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 wxMultiChoiceDialog_SetSelections(_arg0
,*_arg1
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) return NULL
;
1733 } Py_INCREF(Py_None
);
1734 _resultobj
= Py_None
;
1742 static PyObject
* wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
) {
1743 return wxArrayInt2PyList_helper(self
->GetSelections());
1745 static PyObject
*_wrap_wxMultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1748 wxMultiChoiceDialog
* _arg0
;
1749 PyObject
* _argo0
= 0;
1750 char *_kwnames
[] = { "self", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMultiChoiceDialog_GetSelections",_kwnames
,&_argo0
))
1756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_GetSelections. Expected _wxMultiChoiceDialog_p.");
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 _result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(_arg0
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1769 _resultobj
= _result
;
1774 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1775 wxSingleChoiceDialog
*src
;
1777 src
= (wxSingleChoiceDialog
*) ptr
;
1778 dest
= (wxDialog
*) src
;
1779 return (void *) dest
;
1782 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) {
1783 wxSingleChoiceDialog
*src
;
1784 wxTopLevelWindow
*dest
;
1785 src
= (wxSingleChoiceDialog
*) ptr
;
1786 dest
= (wxTopLevelWindow
*) src
;
1787 return (void *) dest
;
1790 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1791 wxSingleChoiceDialog
*src
;
1793 src
= (wxSingleChoiceDialog
*) ptr
;
1794 dest
= (wxWindow
*) src
;
1795 return (void *) dest
;
1798 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1799 wxSingleChoiceDialog
*src
;
1801 src
= (wxSingleChoiceDialog
*) ptr
;
1802 dest
= (wxEvtHandler
*) src
;
1803 return (void *) dest
;
1806 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1807 wxSingleChoiceDialog
*src
;
1809 src
= (wxSingleChoiceDialog
*) ptr
;
1810 dest
= (wxObject
*) src
;
1811 return (void *) dest
;
1814 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1815 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1816 LCOUNT
, choices
, NULL
, style
, *pos
);
1819 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1821 wxSingleChoiceDialog
* _result
;
1827 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1828 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1829 PyObject
* _argo0
= 0;
1830 PyObject
* _obj1
= 0;
1831 PyObject
* _obj2
= 0;
1832 PyObject
* _obj4
= 0;
1834 PyObject
* _obj6
= 0;
1835 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1849 _arg1
= wxString_in_helper(_obj1
);
1854 _arg2
= wxString_in_helper(_obj2
);
1860 _arg4
= wxString_LIST_helper(_obj4
);
1861 if (_arg4
== NULL
) {
1868 if (! wxPoint_helper(_obj6
, &_arg6
))
1873 _arg3
= PyList_Size(_obj4
);
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) return NULL
;
1886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1887 _resultobj
= Py_BuildValue("s",_ptemp
);
1890 _resultobj
= Py_None
;
1906 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1907 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1910 wxSingleChoiceDialog
* _arg0
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 } _resultobj
= Py_BuildValue("i",_result
);
1934 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1935 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1938 wxSingleChoiceDialog
* _arg0
;
1939 PyObject
* _argo0
= 0;
1940 char *_kwnames
[] = { "self", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) return NULL
;
1960 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1962 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1971 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1972 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1974 wxSingleChoiceDialog
* _arg0
;
1976 PyObject
* _argo0
= 0;
1977 char *_kwnames
[] = { "self","sel", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) return NULL
;
1995 } Py_INCREF(Py_None
);
1996 _resultobj
= Py_None
;
2000 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2001 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
* _resultobj
;
2004 wxSingleChoiceDialog
* _arg0
;
2005 PyObject
* _argo0
= 0;
2006 char *_kwnames
[] = { "self", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
2012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) return NULL
;
2024 } _resultobj
= Py_BuildValue("i",_result
);
2028 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
2029 wxTextEntryDialog
*src
;
2031 src
= (wxTextEntryDialog
*) ptr
;
2032 dest
= (wxDialog
*) src
;
2033 return (void *) dest
;
2036 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) {
2037 wxTextEntryDialog
*src
;
2038 wxTopLevelWindow
*dest
;
2039 src
= (wxTextEntryDialog
*) ptr
;
2040 dest
= (wxTopLevelWindow
*) src
;
2041 return (void *) dest
;
2044 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
2045 wxTextEntryDialog
*src
;
2047 src
= (wxTextEntryDialog
*) ptr
;
2048 dest
= (wxWindow
*) src
;
2049 return (void *) dest
;
2052 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
2053 wxTextEntryDialog
*src
;
2055 src
= (wxTextEntryDialog
*) ptr
;
2056 dest
= (wxEvtHandler
*) src
;
2057 return (void *) dest
;
2060 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
2061 wxTextEntryDialog
*src
;
2063 src
= (wxTextEntryDialog
*) ptr
;
2064 dest
= (wxObject
*) src
;
2065 return (void *) dest
;
2068 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2069 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2071 wxTextEntryDialog
* _result
;
2074 wxString
* _arg2
= (wxString
*) &wxPyGetTextFromUserPromptStr
;
2075 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2076 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2077 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
2078 PyObject
* _argo0
= 0;
2079 PyObject
* _obj1
= 0;
2080 PyObject
* _obj2
= 0;
2081 PyObject
* _obj3
= 0;
2083 PyObject
* _obj5
= 0;
2084 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
2098 _arg1
= wxString_in_helper(_obj1
);
2104 _arg2
= wxString_in_helper(_obj2
);
2110 _arg3
= wxString_in_helper(_obj3
);
2117 if (! wxPoint_helper(_obj5
, &_arg5
))
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) return NULL
;
2127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
2128 _resultobj
= Py_BuildValue("s",_ptemp
);
2131 _resultobj
= Py_None
;
2148 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
2149 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2152 wxTextEntryDialog
* _arg0
;
2153 PyObject
* _argo0
= 0;
2154 char *_kwnames
[] = { "self", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) return NULL
;
2174 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2176 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2185 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2186 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2188 wxTextEntryDialog
* _arg0
;
2190 PyObject
* _argo0
= 0;
2191 PyObject
* _obj1
= 0;
2192 char *_kwnames
[] = { "self","value", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
2198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
2205 _arg1
= wxString_in_helper(_obj1
);
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } Py_INCREF(Py_None
);
2216 _resultobj
= Py_None
;
2224 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2225 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2228 wxTextEntryDialog
* _arg0
;
2229 PyObject
* _argo0
= 0;
2230 char *_kwnames
[] = { "self", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
2236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) return NULL
;
2248 } _resultobj
= Py_BuildValue("i",_result
);
2252 static void *SwigwxFontDataTowxObject(void *ptr
) {
2255 src
= (wxFontData
*) ptr
;
2256 dest
= (wxObject
*) src
;
2257 return (void *) dest
;
2260 #define new_wxFontData() (new wxFontData())
2261 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2263 wxFontData
* _result
;
2264 char *_kwnames
[] = { NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 _result
= (wxFontData
*)new_wxFontData();
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) return NULL
;
2277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2278 _resultobj
= Py_BuildValue("s",_ptemp
);
2281 _resultobj
= Py_None
;
2286 #define delete_wxFontData(_swigobj) (delete _swigobj)
2287 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2290 PyObject
* _argo0
= 0;
2291 char *_kwnames
[] = { "self", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 delete_wxFontData(_arg0
);
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) return NULL
;
2309 } Py_INCREF(Py_None
);
2310 _resultobj
= Py_None
;
2314 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2315 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
* _resultobj
;
2319 PyObject
* _argo0
= 0;
2321 char *_kwnames
[] = { "self","enable", NULL
};
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2333 _arg1
= (bool ) tempbool1
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 wxFontData_EnableEffects(_arg0
,_arg1
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) return NULL
;
2340 } Py_INCREF(Py_None
);
2341 _resultobj
= Py_None
;
2345 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2346 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2350 PyObject
* _argo0
= 0;
2351 char *_kwnames
[] = { "self", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) return NULL
;
2369 } _resultobj
= Py_BuildValue("i",_result
);
2373 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2374 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2378 PyObject
* _argo0
= 0;
2379 char *_kwnames
[] = { "self", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 _result
= new wxColour (wxFontData_GetColour(_arg0
));
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) return NULL
;
2398 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2399 _resultobj
= Py_BuildValue("s",_ptemp
);
2403 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2404 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2408 PyObject
* _argo0
= 0;
2409 char *_kwnames
[] = { "self", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) return NULL
;
2428 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2429 _resultobj
= Py_BuildValue("s",_ptemp
);
2433 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2434 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2438 PyObject
* _argo0
= 0;
2439 char *_kwnames
[] = { "self", NULL
};
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) return NULL
;
2457 } _resultobj
= Py_BuildValue("i",_result
);
2461 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2462 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2466 PyObject
* _argo0
= 0;
2467 char *_kwnames
[] = { "self", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) return NULL
;
2486 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2487 _resultobj
= Py_BuildValue("s",_ptemp
);
2491 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2492 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2496 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) return NULL
;
2515 } _resultobj
= Py_BuildValue("i",_result
);
2519 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2520 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2524 PyObject
* _argo0
= 0;
2526 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2538 _arg1
= (bool ) tempbool1
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) return NULL
;
2545 } Py_INCREF(Py_None
);
2546 _resultobj
= Py_None
;
2550 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2551 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2555 PyObject
* _argo0
= 0;
2556 PyObject
* _argo1
= 0;
2557 char *_kwnames
[] = { "self","font", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2570 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) return NULL
;
2581 } Py_INCREF(Py_None
);
2582 _resultobj
= Py_None
;
2586 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2587 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
* _resultobj
;
2591 PyObject
* _argo0
= 0;
2593 PyObject
* _obj1
= 0;
2594 char *_kwnames
[] = { "self","colour", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2608 if (! wxColour_helper(_obj1
, &_arg1
))
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 wxFontData_SetColour(_arg0
,*_arg1
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) return NULL
;
2617 } Py_INCREF(Py_None
);
2618 _resultobj
= Py_None
;
2622 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2623 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2627 PyObject
* _argo0
= 0;
2628 PyObject
* _argo1
= 0;
2629 char *_kwnames
[] = { "self","font", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2642 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) return NULL
;
2653 } Py_INCREF(Py_None
);
2654 _resultobj
= Py_None
;
2658 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2659 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self","min","max", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) return NULL
;
2683 } Py_INCREF(Py_None
);
2684 _resultobj
= Py_None
;
2688 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2689 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2695 char *_kwnames
[] = { "self","showHelp", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2707 _arg1
= (bool ) tempbool1
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 wxFontData_SetShowHelp(_arg0
,_arg1
);
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) return NULL
;
2714 } Py_INCREF(Py_None
);
2715 _resultobj
= Py_None
;
2719 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2722 src
= (wxFontDialog
*) ptr
;
2723 dest
= (wxDialog
*) src
;
2724 return (void *) dest
;
2727 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) {
2729 wxTopLevelWindow
*dest
;
2730 src
= (wxFontDialog
*) ptr
;
2731 dest
= (wxTopLevelWindow
*) src
;
2732 return (void *) dest
;
2735 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2738 src
= (wxFontDialog
*) ptr
;
2739 dest
= (wxWindow
*) src
;
2740 return (void *) dest
;
2743 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2746 src
= (wxFontDialog
*) ptr
;
2747 dest
= (wxEvtHandler
*) src
;
2748 return (void *) dest
;
2751 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2754 src
= (wxFontDialog
*) ptr
;
2755 dest
= (wxObject
*) src
;
2756 return (void *) dest
;
2759 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2760 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2762 wxFontDialog
* _result
;
2765 PyObject
* _argo0
= 0;
2766 PyObject
* _argo1
= 0;
2767 char *_kwnames
[] = { "parent","data", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2781 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,*_arg1
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2794 _resultobj
= Py_BuildValue("s",_ptemp
);
2797 _resultobj
= Py_None
;
2802 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2803 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2805 wxFontData
* _result
;
2806 wxFontDialog
* _arg0
;
2807 PyObject
* _argo0
= 0;
2808 char *_kwnames
[] = { "self", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2824 _result
= (wxFontData
*) &_result_ref
;
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) return NULL
;
2829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2830 _resultobj
= Py_BuildValue("s",_ptemp
);
2833 _resultobj
= Py_None
;
2838 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2839 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2842 wxFontDialog
* _arg0
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) return NULL
;
2862 } _resultobj
= Py_BuildValue("i",_result
);
2866 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2867 wxMessageDialog
*src
;
2869 src
= (wxMessageDialog
*) ptr
;
2870 dest
= (wxDialog
*) src
;
2871 return (void *) dest
;
2874 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) {
2875 wxMessageDialog
*src
;
2876 wxTopLevelWindow
*dest
;
2877 src
= (wxMessageDialog
*) ptr
;
2878 dest
= (wxTopLevelWindow
*) src
;
2879 return (void *) dest
;
2882 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2883 wxMessageDialog
*src
;
2885 src
= (wxMessageDialog
*) ptr
;
2886 dest
= (wxWindow
*) src
;
2887 return (void *) dest
;
2890 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2891 wxMessageDialog
*src
;
2893 src
= (wxMessageDialog
*) ptr
;
2894 dest
= (wxEvtHandler
*) src
;
2895 return (void *) dest
;
2898 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2899 wxMessageDialog
*src
;
2901 src
= (wxMessageDialog
*) ptr
;
2902 dest
= (wxObject
*) src
;
2903 return (void *) dest
;
2906 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2907 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2909 wxMessageDialog
* _result
;
2912 wxString
* _arg2
= (wxString
*) &wxPyMessageBoxCaptionStr
;
2913 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2914 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2915 PyObject
* _argo0
= 0;
2916 PyObject
* _obj1
= 0;
2917 PyObject
* _obj2
= 0;
2919 PyObject
* _obj4
= 0;
2920 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OlO:new_wxMessageDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_obj4
))
2927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2934 _arg1
= wxString_in_helper(_obj1
);
2940 _arg2
= wxString_in_helper(_obj2
);
2947 if (! wxPoint_helper(_obj4
, &_arg4
))
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,*_arg4
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) return NULL
;
2957 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2958 _resultobj
= Py_BuildValue("s",_ptemp
);
2961 _resultobj
= Py_None
;
2974 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2975 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2978 wxMessageDialog
* _arg0
;
2979 PyObject
* _argo0
= 0;
2980 char *_kwnames
[] = { "self", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) return NULL
;
2998 } _resultobj
= Py_BuildValue("i",_result
);
3002 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
3003 wxProgressDialog
*src
;
3005 src
= (wxProgressDialog
*) ptr
;
3006 dest
= (wxFrame
*) src
;
3007 return (void *) dest
;
3010 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) {
3011 wxProgressDialog
*src
;
3012 wxTopLevelWindow
*dest
;
3013 src
= (wxProgressDialog
*) ptr
;
3014 dest
= (wxTopLevelWindow
*) src
;
3015 return (void *) dest
;
3018 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
3019 wxProgressDialog
*src
;
3021 src
= (wxProgressDialog
*) ptr
;
3022 dest
= (wxWindow
*) src
;
3023 return (void *) dest
;
3026 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
3027 wxProgressDialog
*src
;
3029 src
= (wxProgressDialog
*) ptr
;
3030 dest
= (wxEvtHandler
*) src
;
3031 return (void *) dest
;
3034 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
3035 wxProgressDialog
*src
;
3037 src
= (wxProgressDialog
*) ptr
;
3038 dest
= (wxObject
*) src
;
3039 return (void *) dest
;
3042 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3043 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3045 wxProgressDialog
* _result
;
3048 int _arg2
= (int ) 100;
3049 wxWindow
* _arg3
= (wxWindow
*) NULL
;
3050 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
3051 PyObject
* _obj0
= 0;
3052 PyObject
* _obj1
= 0;
3053 PyObject
* _argo3
= 0;
3054 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
3061 _arg0
= wxString_in_helper(_obj0
);
3066 _arg1
= wxString_in_helper(_obj1
);
3071 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) return NULL
;
3084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
3085 _resultobj
= Py_BuildValue("s",_ptemp
);
3088 _resultobj
= Py_None
;
3101 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
3102 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3105 wxProgressDialog
* _arg0
;
3107 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3108 PyObject
* _argo0
= 0;
3109 PyObject
* _obj2
= 0;
3110 char *_kwnames
[] = { "self","value","newmsg", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
3124 _arg2
= wxString_in_helper(_obj2
);
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,*_arg2
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) return NULL
;
3134 } _resultobj
= Py_BuildValue("i",_result
);
3142 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
3143 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3145 wxProgressDialog
* _arg0
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 wxProgressDialog_Resume(_arg0
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr
) {
3171 wxFindDialogEvent
*src
;
3172 wxCommandEvent
*dest
;
3173 src
= (wxFindDialogEvent
*) ptr
;
3174 dest
= (wxCommandEvent
*) src
;
3175 return (void *) dest
;
3178 static void *SwigwxFindDialogEventTowxEvent(void *ptr
) {
3179 wxFindDialogEvent
*src
;
3181 src
= (wxFindDialogEvent
*) ptr
;
3182 dest
= (wxEvent
*) src
;
3183 return (void *) dest
;
3186 static void *SwigwxFindDialogEventTowxObject(void *ptr
) {
3187 wxFindDialogEvent
*src
;
3189 src
= (wxFindDialogEvent
*) ptr
;
3190 dest
= (wxObject
*) src
;
3191 return (void *) dest
;
3194 #define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1))
3195 static PyObject
*_wrap_new_wxFindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3197 wxFindDialogEvent
* _result
;
3198 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
3199 int _arg1
= (int ) 0;
3200 char *_kwnames
[] = { "commandType","id", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxFindDialogEvent",_kwnames
,&_arg0
,&_arg1
))
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 _result
= (wxFindDialogEvent
*)new_wxFindDialogEvent(_arg0
,_arg1
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) return NULL
;
3213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindDialogEvent_p");
3214 _resultobj
= Py_BuildValue("s",_ptemp
);
3217 _resultobj
= Py_None
;
3222 #define wxFindDialogEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
3223 static PyObject
*_wrap_wxFindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3226 wxFindDialogEvent
* _arg0
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFlags",_kwnames
,&_argo0
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p.");
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 _result
= (int )wxFindDialogEvent_GetFlags(_arg0
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) return NULL
;
3246 } _resultobj
= Py_BuildValue("i",_result
);
3250 #define wxFindDialogEvent_GetFindString(_swigobj) (_swigobj->GetFindString())
3251 static PyObject
*_wrap_wxFindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3254 wxFindDialogEvent
* _arg0
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFindString",_kwnames
,&_argo0
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p.");
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 _result
= new wxString (wxFindDialogEvent_GetFindString(_arg0
));
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) return NULL
;
3276 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3278 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3287 #define wxFindDialogEvent_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3288 static PyObject
*_wrap_wxFindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3291 wxFindDialogEvent
* _arg0
;
3292 PyObject
* _argo0
= 0;
3293 char *_kwnames
[] = { "self", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetReplaceString",_kwnames
,&_argo0
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p.");
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 const wxString
& _result_ref
= wxFindDialogEvent_GetReplaceString(_arg0
);
3308 _result
= (wxString
*) &_result_ref
;
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) return NULL
;
3314 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3316 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3322 #define wxFindDialogEvent_GetDialog(_swigobj) (_swigobj->GetDialog())
3323 static PyObject
*_wrap_wxFindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3325 wxFindReplaceDialog
* _result
;
3326 wxFindDialogEvent
* _arg0
;
3327 PyObject
* _argo0
= 0;
3328 char *_kwnames
[] = { "self", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetDialog",_kwnames
,&_argo0
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p.");
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 _result
= (wxFindReplaceDialog
*)wxFindDialogEvent_GetDialog(_arg0
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) return NULL
;
3348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3349 _resultobj
= Py_BuildValue("s",_ptemp
);
3352 _resultobj
= Py_None
;
3357 #define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3358 static PyObject
*_wrap_wxFindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
* _resultobj
;
3360 wxFindDialogEvent
* _arg0
;
3362 PyObject
* _argo0
= 0;
3363 char *_kwnames
[] = { "self","flags", NULL
};
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindDialogEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p.");
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 wxFindDialogEvent_SetFlags(_arg0
,_arg1
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) return NULL
;
3381 } Py_INCREF(Py_None
);
3382 _resultobj
= Py_None
;
3386 #define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3387 static PyObject
*_wrap_wxFindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
* _resultobj
;
3389 wxFindDialogEvent
* _arg0
;
3391 PyObject
* _argo0
= 0;
3392 PyObject
* _obj1
= 0;
3393 char *_kwnames
[] = { "self","str", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p.");
3406 _arg1
= wxString_in_helper(_obj1
);
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 wxFindDialogEvent_SetFindString(_arg0
,*_arg1
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3416 } Py_INCREF(Py_None
);
3417 _resultobj
= Py_None
;
3425 #define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3426 static PyObject
*_wrap_wxFindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
* _resultobj
;
3428 wxFindDialogEvent
* _arg0
;
3430 PyObject
* _argo0
= 0;
3431 PyObject
* _obj1
= 0;
3432 char *_kwnames
[] = { "self","str", NULL
};
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p.");
3445 _arg1
= wxString_in_helper(_obj1
);
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 wxFindDialogEvent_SetReplaceString(_arg0
,*_arg1
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) return NULL
;
3455 } Py_INCREF(Py_None
);
3456 _resultobj
= Py_None
;
3464 static void *SwigwxFindReplaceDataTowxObject(void *ptr
) {
3465 wxFindReplaceData
*src
;
3467 src
= (wxFindReplaceData
*) ptr
;
3468 dest
= (wxObject
*) src
;
3469 return (void *) dest
;
3472 #define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0))
3473 static PyObject
*_wrap_new_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3475 wxFindReplaceData
* _result
;
3476 int _arg0
= (int ) 0;
3477 char *_kwnames
[] = { "flags", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFindReplaceData",_kwnames
,&_arg0
))
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 _result
= (wxFindReplaceData
*)new_wxFindReplaceData(_arg0
);
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) return NULL
;
3490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3491 _resultobj
= Py_BuildValue("s",_ptemp
);
3494 _resultobj
= Py_None
;
3499 #define delete_wxFindReplaceData(_swigobj) (delete _swigobj)
3500 static PyObject
*_wrap_delete_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3502 wxFindReplaceData
* _arg0
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFindReplaceData",_kwnames
,&_argo0
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p.");
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 delete_wxFindReplaceData(_arg0
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) return NULL
;
3522 } Py_INCREF(Py_None
);
3523 _resultobj
= Py_None
;
3527 #define wxFindReplaceData_GetFindString(_swigobj) (_swigobj->GetFindString())
3528 static PyObject
*_wrap_wxFindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3531 wxFindReplaceData
* _arg0
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFindString",_kwnames
,&_argo0
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p.");
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 const wxString
& _result_ref
= wxFindReplaceData_GetFindString(_arg0
);
3548 _result
= (wxString
*) &_result_ref
;
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) return NULL
;
3554 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3556 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3562 #define wxFindReplaceData_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3563 static PyObject
*_wrap_wxFindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
* _resultobj
;
3566 wxFindReplaceData
* _arg0
;
3567 PyObject
* _argo0
= 0;
3568 char *_kwnames
[] = { "self", NULL
};
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetReplaceString",_kwnames
,&_argo0
))
3574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p.");
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 const wxString
& _result_ref
= wxFindReplaceData_GetReplaceString(_arg0
);
3583 _result
= (wxString
*) &_result_ref
;
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) return NULL
;
3589 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3591 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3597 #define wxFindReplaceData_GetFlags(_swigobj) (_swigobj->GetFlags())
3598 static PyObject
*_wrap_wxFindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
* _resultobj
;
3601 wxFindReplaceData
* _arg0
;
3602 PyObject
* _argo0
= 0;
3603 char *_kwnames
[] = { "self", NULL
};
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFlags",_kwnames
,&_argo0
))
3609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p.");
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 _result
= (int )wxFindReplaceData_GetFlags(_arg0
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) return NULL
;
3621 } _resultobj
= Py_BuildValue("i",_result
);
3625 #define wxFindReplaceData_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3626 static PyObject
*_wrap_wxFindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3628 wxFindReplaceData
* _arg0
;
3630 PyObject
* _argo0
= 0;
3631 char *_kwnames
[] = { "self","flags", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindReplaceData_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p.");
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 wxFindReplaceData_SetFlags(_arg0
,_arg1
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) return NULL
;
3649 } Py_INCREF(Py_None
);
3650 _resultobj
= Py_None
;
3654 #define wxFindReplaceData_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3655 static PyObject
*_wrap_wxFindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3657 wxFindReplaceData
* _arg0
;
3659 PyObject
* _argo0
= 0;
3660 PyObject
* _obj1
= 0;
3661 char *_kwnames
[] = { "self","str", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p.");
3674 _arg1
= wxString_in_helper(_obj1
);
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 wxFindReplaceData_SetFindString(_arg0
,*_arg1
);
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) return NULL
;
3684 } Py_INCREF(Py_None
);
3685 _resultobj
= Py_None
;
3693 #define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3694 static PyObject
*_wrap_wxFindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3696 wxFindReplaceData
* _arg0
;
3698 PyObject
* _argo0
= 0;
3699 PyObject
* _obj1
= 0;
3700 char *_kwnames
[] = { "self","str", NULL
};
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p.");
3713 _arg1
= wxString_in_helper(_obj1
);
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 wxFindReplaceData_SetReplaceString(_arg0
,*_arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) return NULL
;
3723 } Py_INCREF(Py_None
);
3724 _resultobj
= Py_None
;
3732 static void *SwigwxFindReplaceDialogTowxDialog(void *ptr
) {
3733 wxFindReplaceDialog
*src
;
3735 src
= (wxFindReplaceDialog
*) ptr
;
3736 dest
= (wxDialog
*) src
;
3737 return (void *) dest
;
3740 static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr
) {
3741 wxFindReplaceDialog
*src
;
3742 wxTopLevelWindow
*dest
;
3743 src
= (wxFindReplaceDialog
*) ptr
;
3744 dest
= (wxTopLevelWindow
*) src
;
3745 return (void *) dest
;
3748 static void *SwigwxFindReplaceDialogTowxWindow(void *ptr
) {
3749 wxFindReplaceDialog
*src
;
3751 src
= (wxFindReplaceDialog
*) ptr
;
3752 dest
= (wxWindow
*) src
;
3753 return (void *) dest
;
3756 static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr
) {
3757 wxFindReplaceDialog
*src
;
3759 src
= (wxFindReplaceDialog
*) ptr
;
3760 dest
= (wxEvtHandler
*) src
;
3761 return (void *) dest
;
3764 static void *SwigwxFindReplaceDialogTowxObject(void *ptr
) {
3765 wxFindReplaceDialog
*src
;
3767 src
= (wxFindReplaceDialog
*) ptr
;
3768 dest
= (wxObject
*) src
;
3769 return (void *) dest
;
3772 #define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3773 static PyObject
*_wrap_new_wxFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3775 wxFindReplaceDialog
* _result
;
3777 wxFindReplaceData
* _arg1
;
3779 int _arg3
= (int ) 0;
3780 PyObject
* _argo0
= 0;
3781 PyObject
* _argo1
= 0;
3782 PyObject
* _obj2
= 0;
3783 char *_kwnames
[] = { "parent","data","title","style", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:new_wxFindReplaceDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p.");
3797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p.");
3804 _arg2
= wxString_in_helper(_obj2
);
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 _result
= (wxFindReplaceDialog
*)new_wxFindReplaceDialog(_arg0
,_arg1
,*_arg2
,_arg3
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) return NULL
;
3815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3816 _resultobj
= Py_BuildValue("s",_ptemp
);
3819 _resultobj
= Py_None
;
3828 #define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog())
3829 static PyObject
*_wrap_new_wxPreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
* _resultobj
;
3831 wxFindReplaceDialog
* _result
;
3832 char *_kwnames
[] = { NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFindReplaceDialog",_kwnames
))
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 _result
= (wxFindReplaceDialog
*)new_wxPreFindReplaceDialog();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) return NULL
;
3845 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3846 _resultobj
= Py_BuildValue("s",_ptemp
);
3849 _resultobj
= Py_None
;
3854 #define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3855 static PyObject
*_wrap_wxFindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3858 wxFindReplaceDialog
* _arg0
;
3860 wxFindReplaceData
* _arg2
;
3862 int _arg4
= (int ) 0;
3863 PyObject
* _argo0
= 0;
3864 PyObject
* _argo1
= 0;
3865 PyObject
* _argo2
= 0;
3866 PyObject
* _obj3
= 0;
3867 char *_kwnames
[] = { "self","parent","data","title","style", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|i:wxFindReplaceDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p.");
3880 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3881 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p.");
3887 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFindReplaceData_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p.");
3894 _arg3
= wxString_in_helper(_obj3
);
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 _result
= (bool )wxFindReplaceDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) return NULL
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3912 #define wxFindReplaceDialog_GetData(_swigobj) (_swigobj->GetData())
3913 static PyObject
*_wrap_wxFindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
* _resultobj
;
3915 wxFindReplaceData
* _result
;
3916 wxFindReplaceDialog
* _arg0
;
3917 PyObject
* _argo0
= 0;
3918 char *_kwnames
[] = { "self", NULL
};
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceDialog_GetData",_kwnames
,&_argo0
))
3925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p.");
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 _result
= (wxFindReplaceData
*)wxFindReplaceDialog_GetData(_arg0
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) return NULL
;
3938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3939 _resultobj
= Py_BuildValue("s",_ptemp
);
3942 _resultobj
= Py_None
;
3947 #define wxFindReplaceDialog_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3948 static PyObject
*_wrap_wxFindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3950 wxFindReplaceDialog
* _arg0
;
3951 wxFindReplaceData
* _arg1
;
3952 PyObject
* _argo0
= 0;
3953 PyObject
* _argo1
= 0;
3954 char *_kwnames
[] = { "self","data", NULL
};
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceDialog_SetData",_kwnames
,&_argo0
,&_argo1
))
3960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p.");
3967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p.");
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 wxFindReplaceDialog_SetData(_arg0
,_arg1
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) return NULL
;
3979 } Py_INCREF(Py_None
);
3980 _resultobj
= Py_None
;
3984 static PyMethodDef cmndlgscMethods
[] = {
3985 { "wxFindReplaceDialog_SetData", (PyCFunction
) _wrap_wxFindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3986 { "wxFindReplaceDialog_GetData", (PyCFunction
) _wrap_wxFindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3987 { "wxFindReplaceDialog_Create", (PyCFunction
) _wrap_wxFindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
3988 { "new_wxPreFindReplaceDialog", (PyCFunction
) _wrap_new_wxPreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3989 { "new_wxFindReplaceDialog", (PyCFunction
) _wrap_new_wxFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3990 { "wxFindReplaceData_SetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3991 { "wxFindReplaceData_SetFindString", (PyCFunction
) _wrap_wxFindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3992 { "wxFindReplaceData_SetFlags", (PyCFunction
) _wrap_wxFindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3993 { "wxFindReplaceData_GetFlags", (PyCFunction
) _wrap_wxFindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3994 { "wxFindReplaceData_GetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3995 { "wxFindReplaceData_GetFindString", (PyCFunction
) _wrap_wxFindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3996 { "delete_wxFindReplaceData", (PyCFunction
) _wrap_delete_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3997 { "new_wxFindReplaceData", (PyCFunction
) _wrap_new_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3998 { "wxFindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3999 { "wxFindDialogEvent_SetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
4000 { "wxFindDialogEvent_SetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4001 { "wxFindDialogEvent_GetDialog", (PyCFunction
) _wrap_wxFindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
4002 { "wxFindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
4003 { "wxFindDialogEvent_GetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
4004 { "wxFindDialogEvent_GetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4005 { "new_wxFindDialogEvent", (PyCFunction
) _wrap_new_wxFindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
4006 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
4007 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
4008 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
4009 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4010 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
4011 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4012 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
4013 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
4014 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
4015 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
4016 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
4017 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4018 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
4019 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
4020 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
4021 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
4022 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
4023 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
4024 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4025 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
4026 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
4027 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
4028 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
4029 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4030 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
4031 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
4032 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
4033 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4034 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4035 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
4036 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4037 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4038 { "wxMultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
4039 { "wxMultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
4040 { "new_wxMultiChoiceDialog", (PyCFunction
) _wrap_new_wxMultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4041 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
4042 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
4043 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4044 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
4045 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4046 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
4047 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4048 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
4049 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
4050 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
4051 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
4052 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4053 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
4054 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4055 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
4056 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
4057 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
4058 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
4059 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4060 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
4061 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4062 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4063 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4064 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
4065 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
4066 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4067 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
4068 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
4069 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
4070 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4071 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
4072 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
4073 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4074 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
4075 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
4076 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
4083 * This table is used by the pointer type-checker
4085 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4086 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
4087 { "_signed_long","_long",0},
4088 { "_wxPrintQuality","_wxCoord",0},
4089 { "_wxPrintQuality","_int",0},
4090 { "_wxPrintQuality","_signed_int",0},
4091 { "_wxPrintQuality","_unsigned_int",0},
4092 { "_wxPrintQuality","_wxWindowID",0},
4093 { "_wxPrintQuality","_uint",0},
4094 { "_wxPrintQuality","_EBool",0},
4095 { "_wxPrintQuality","_size_t",0},
4096 { "_wxPrintQuality","_time_t",0},
4097 { "_byte","_unsigned_char",0},
4098 { "_long","_unsigned_long",0},
4099 { "_long","_signed_long",0},
4100 { "_size_t","_wxCoord",0},
4101 { "_size_t","_wxPrintQuality",0},
4102 { "_size_t","_time_t",0},
4103 { "_size_t","_unsigned_int",0},
4104 { "_size_t","_int",0},
4105 { "_size_t","_wxWindowID",0},
4106 { "_size_t","_uint",0},
4107 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
4108 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
4109 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
4110 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
4111 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
4112 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
4113 { "_wxTopLevelWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxTopLevelWindow
},
4114 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
4115 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
4116 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
4117 { "_uint","_wxCoord",0},
4118 { "_uint","_wxPrintQuality",0},
4119 { "_uint","_time_t",0},
4120 { "_uint","_size_t",0},
4121 { "_uint","_unsigned_int",0},
4122 { "_uint","_int",0},
4123 { "_uint","_wxWindowID",0},
4124 { "_wxChar","_char",0},
4125 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
4126 { "_char","_wxChar",0},
4127 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4128 { "_EBool","_wxCoord",0},
4129 { "_EBool","_wxPrintQuality",0},
4130 { "_EBool","_signed_int",0},
4131 { "_EBool","_int",0},
4132 { "_EBool","_wxWindowID",0},
4133 { "_unsigned_long","_long",0},
4134 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4135 { "_signed_int","_wxCoord",0},
4136 { "_signed_int","_wxPrintQuality",0},
4137 { "_signed_int","_EBool",0},
4138 { "_signed_int","_wxWindowID",0},
4139 { "_signed_int","_int",0},
4140 { "_WXTYPE","_short",0},
4141 { "_WXTYPE","_signed_short",0},
4142 { "_WXTYPE","_unsigned_short",0},
4143 { "_unsigned_short","_WXTYPE",0},
4144 { "_unsigned_short","_short",0},
4145 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
4146 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
4147 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
4148 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
4149 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
4150 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
4151 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
4152 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
4153 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
4154 { "_wxObject","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxObject
},
4155 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
4156 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
4157 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
4158 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
4159 { "_signed_short","_WXTYPE",0},
4160 { "_signed_short","_short",0},
4161 { "_unsigned_char","_byte",0},
4162 { "_unsigned_int","_wxCoord",0},
4163 { "_unsigned_int","_wxPrintQuality",0},
4164 { "_unsigned_int","_time_t",0},
4165 { "_unsigned_int","_size_t",0},
4166 { "_unsigned_int","_uint",0},
4167 { "_unsigned_int","_wxWindowID",0},
4168 { "_unsigned_int","_int",0},
4169 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
4170 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4171 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
4172 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4173 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4174 { "_wxDialog","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxDialog
},
4175 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
4176 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
4177 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
4178 { "_short","_WXTYPE",0},
4179 { "_short","_unsigned_short",0},
4180 { "_short","_signed_short",0},
4181 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4182 { "_wxWindowID","_wxCoord",0},
4183 { "_wxWindowID","_wxPrintQuality",0},
4184 { "_wxWindowID","_time_t",0},
4185 { "_wxWindowID","_size_t",0},
4186 { "_wxWindowID","_EBool",0},
4187 { "_wxWindowID","_uint",0},
4188 { "_wxWindowID","_int",0},
4189 { "_wxWindowID","_signed_int",0},
4190 { "_wxWindowID","_unsigned_int",0},
4191 { "_int","_wxCoord",0},
4192 { "_int","_wxPrintQuality",0},
4193 { "_int","_time_t",0},
4194 { "_int","_size_t",0},
4195 { "_int","_EBool",0},
4196 { "_int","_uint",0},
4197 { "_int","_wxWindowID",0},
4198 { "_int","_unsigned_int",0},
4199 { "_int","_signed_int",0},
4200 { "_time_t","_wxCoord",0},
4201 { "_time_t","_wxPrintQuality",0},
4202 { "_time_t","_unsigned_int",0},
4203 { "_time_t","_int",0},
4204 { "_time_t","_wxWindowID",0},
4205 { "_time_t","_uint",0},
4206 { "_time_t","_size_t",0},
4207 { "_wxCoord","_int",0},
4208 { "_wxCoord","_signed_int",0},
4209 { "_wxCoord","_unsigned_int",0},
4210 { "_wxCoord","_wxWindowID",0},
4211 { "_wxCoord","_uint",0},
4212 { "_wxCoord","_EBool",0},
4213 { "_wxCoord","_size_t",0},
4214 { "_wxCoord","_time_t",0},
4215 { "_wxCoord","_wxPrintQuality",0},
4216 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
4217 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
4218 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
4219 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
4220 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
4221 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
4222 { "_wxEvtHandler","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxEvtHandler
},
4223 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
4224 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
4225 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
4226 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4227 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4228 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4229 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
4230 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4231 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4232 { "_wxWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxWindow
},
4233 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
4234 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
4235 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
4238 static PyObject
*SWIG_globals
;
4242 SWIGEXPORT(void) initcmndlgsc() {
4244 SWIG_globals
= SWIG_newvarlink();
4245 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
4246 d
= PyModule_GetDict(m
);
4247 PyDict_SetItemString(d
,"wxCHOICEDLG_STYLE", PyInt_FromLong((long) wxCHOICEDLG_STYLE
));
4248 PyDict_SetItemString(d
,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN
));
4249 PyDict_SetItemString(d
,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD
));
4250 PyDict_SetItemString(d
,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE
));
4251 PyDict_SetItemString(d
,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG
));
4252 PyDict_SetItemString(d
,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN
));
4253 PyDict_SetItemString(d
,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE
));
4254 PyDict_SetItemString(d
,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD
));
4255 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND
));
4256 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT
));
4257 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE
));
4258 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL
));
4259 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE
));
4262 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4263 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);