2 * FILE : src/gtk/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcmndlgsc
56 #define SWIG_name "cmndlgsc"
59 #include <wx/colordlg.h>
60 #include <wx/dirdlg.h>
61 #include <wx/fontdlg.h>
62 #include <wx/progdlg.h>
63 #include <wx/fdrepdlg.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 // Put some wx default wxChar* values into wxStrings.
93 DECLARE_DEF_STRING(FileSelectorPromptStr
);
94 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
95 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
96 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
97 static const wxString
wxPyEmptyString(wxT(""));
102 static void *SwigwxColourDataTowxObject(void *ptr
) {
105 src
= (wxColourData
*) ptr
;
106 dest
= (wxObject
*) src
;
107 return (void *) dest
;
110 #define new_wxColourData() (new wxColourData())
111 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
112 PyObject
* _resultobj
;
113 wxColourData
* _result
;
114 char *_kwnames
[] = { NULL
};
118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
122 _result
= (wxColourData
*)new_wxColourData();
124 wxPyEndAllowThreads(__tstate
);
125 if (PyErr_Occurred()) return NULL
;
127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
128 _resultobj
= Py_BuildValue("s",_ptemp
);
131 _resultobj
= Py_None
;
136 #define delete_wxColourData(_swigobj) (delete _swigobj)
137 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
138 PyObject
* _resultobj
;
139 wxColourData
* _arg0
;
140 PyObject
* _argo0
= 0;
141 char *_kwnames
[] = { "self", NULL
};
144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
155 delete_wxColourData(_arg0
);
157 wxPyEndAllowThreads(__tstate
);
158 if (PyErr_Occurred()) return NULL
;
159 } Py_INCREF(Py_None
);
160 _resultobj
= Py_None
;
164 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
165 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
166 PyObject
* _resultobj
;
168 wxColourData
* _arg0
;
169 PyObject
* _argo0
= 0;
170 char *_kwnames
[] = { "self", NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
184 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
186 wxPyEndAllowThreads(__tstate
);
187 if (PyErr_Occurred()) return NULL
;
188 } _resultobj
= Py_BuildValue("i",_result
);
192 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
193 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
196 wxColourData
* _arg0
;
197 PyObject
* _argo0
= 0;
198 char *_kwnames
[] = { "self", NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
213 _result
= new wxColour (wxColourData_GetColour(_arg0
));
215 wxPyEndAllowThreads(__tstate
);
216 if (PyErr_Occurred()) return NULL
;
217 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
218 _resultobj
= Py_BuildValue("s",_ptemp
);
222 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
223 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
226 wxColourData
* _arg0
;
228 PyObject
* _argo0
= 0;
229 char *_kwnames
[] = { "self","i", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
244 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
246 wxPyEndAllowThreads(__tstate
);
247 if (PyErr_Occurred()) return NULL
;
248 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
249 _resultobj
= Py_BuildValue("s",_ptemp
);
253 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
254 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
255 PyObject
* _resultobj
;
256 wxColourData
* _arg0
;
258 PyObject
* _argo0
= 0;
259 char *_kwnames
[] = { "self","flag", NULL
};
262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
273 wxColourData_SetChooseFull(_arg0
,_arg1
);
275 wxPyEndAllowThreads(__tstate
);
276 if (PyErr_Occurred()) return NULL
;
277 } Py_INCREF(Py_None
);
278 _resultobj
= Py_None
;
282 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
283 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
285 wxColourData
* _arg0
;
287 PyObject
* _argo0
= 0;
289 PyObject
* _obj1
= 0;
290 char *_kwnames
[] = { "self","colour", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
304 if (! wxColour_helper(_obj1
, &_arg1
))
308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
309 wxColourData_SetColour(_arg0
,*_arg1
);
311 wxPyEndAllowThreads(__tstate
);
312 if (PyErr_Occurred()) return NULL
;
313 } Py_INCREF(Py_None
);
314 _resultobj
= Py_None
;
318 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
319 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
321 wxColourData
* _arg0
;
324 PyObject
* _argo0
= 0;
326 PyObject
* _obj2
= 0;
327 char *_kwnames
[] = { "self","i","colour", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
341 if (! wxColour_helper(_obj2
, &_arg2
))
345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
346 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
348 wxPyEndAllowThreads(__tstate
);
349 if (PyErr_Occurred()) return NULL
;
350 } Py_INCREF(Py_None
);
351 _resultobj
= Py_None
;
355 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
358 src
= (wxColourDialog
*) ptr
;
359 dest
= (wxDialog
*) src
;
360 return (void *) dest
;
363 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) {
365 wxTopLevelWindow
*dest
;
366 src
= (wxColourDialog
*) ptr
;
367 dest
= (wxTopLevelWindow
*) src
;
368 return (void *) dest
;
371 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
374 src
= (wxColourDialog
*) ptr
;
375 dest
= (wxWindow
*) src
;
376 return (void *) dest
;
379 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
382 src
= (wxColourDialog
*) ptr
;
383 dest
= (wxEvtHandler
*) src
;
384 return (void *) dest
;
387 static void *SwigwxColourDialogTowxObject(void *ptr
) {
390 src
= (wxColourDialog
*) ptr
;
391 dest
= (wxObject
*) src
;
392 return (void *) dest
;
395 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
396 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
398 wxColourDialog
* _result
;
400 wxColourData
* _arg1
= (wxColourData
*) NULL
;
401 PyObject
* _argo0
= 0;
402 PyObject
* _argo1
= 0;
403 char *_kwnames
[] = { "parent","data", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
425 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
427 wxPyEndAllowThreads(__tstate
);
428 if (PyErr_Occurred()) return NULL
;
430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
431 _resultobj
= Py_BuildValue("s",_ptemp
);
434 _resultobj
= Py_None
;
439 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
440 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
442 wxColourData
* _result
;
443 wxColourDialog
* _arg0
;
444 PyObject
* _argo0
= 0;
445 char *_kwnames
[] = { "self", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
460 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
461 _result
= (wxColourData
*) &_result_ref
;
463 wxPyEndAllowThreads(__tstate
);
464 if (PyErr_Occurred()) return NULL
;
466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
467 _resultobj
= Py_BuildValue("s",_ptemp
);
470 _resultobj
= Py_None
;
475 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
476 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
477 PyObject
* _resultobj
;
479 wxColourDialog
* _arg0
;
480 PyObject
* _argo0
= 0;
481 char *_kwnames
[] = { "self", NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= (int )wxColourDialog_ShowModal(_arg0
);
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
499 } _resultobj
= Py_BuildValue("i",_result
);
503 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
506 src
= (wxDirDialog
*) ptr
;
507 dest
= (wxDialog
*) src
;
508 return (void *) dest
;
511 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) {
513 wxTopLevelWindow
*dest
;
514 src
= (wxDirDialog
*) ptr
;
515 dest
= (wxTopLevelWindow
*) src
;
516 return (void *) dest
;
519 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
522 src
= (wxDirDialog
*) ptr
;
523 dest
= (wxWindow
*) src
;
524 return (void *) dest
;
527 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
530 src
= (wxDirDialog
*) ptr
;
531 dest
= (wxEvtHandler
*) src
;
532 return (void *) dest
;
535 static void *SwigwxDirDialogTowxObject(void *ptr
) {
538 src
= (wxDirDialog
*) ptr
;
539 dest
= (wxObject
*) src
;
540 return (void *) dest
;
543 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
544 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
546 wxDirDialog
* _result
;
548 wxString
* _arg1
= (wxString
*) &wxPyFileSelectorPromptStr
;
549 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
550 long _arg3
= (long ) 0;
551 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
552 PyObject
* _argo0
= 0;
553 PyObject
* _obj1
= 0;
554 PyObject
* _obj2
= 0;
556 PyObject
* _obj4
= 0;
557 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOlO:new_wxDirDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_obj4
))
564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
572 _arg1
= wxString_in_helper(_obj1
);
578 _arg2
= wxString_in_helper(_obj2
);
585 if (! wxPoint_helper(_obj4
, &_arg4
))
589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
590 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,*_arg4
);
592 wxPyEndAllowThreads(__tstate
);
593 if (PyErr_Occurred()) return NULL
;
595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
596 _resultobj
= Py_BuildValue("s",_ptemp
);
599 _resultobj
= Py_None
;
612 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
613 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
617 PyObject
* _argo0
= 0;
618 char *_kwnames
[] = { "self", NULL
};
621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
632 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
634 wxPyEndAllowThreads(__tstate
);
635 if (PyErr_Occurred()) return NULL
;
638 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
640 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
649 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
650 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
651 PyObject
* _resultobj
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self", NULL
};
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
669 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
671 wxPyEndAllowThreads(__tstate
);
672 if (PyErr_Occurred()) return NULL
;
675 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
677 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
686 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
687 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
691 PyObject
* _argo0
= 0;
692 char *_kwnames
[] = { "self", NULL
};
695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
706 _result
= (long )wxDirDialog_GetStyle(_arg0
);
708 wxPyEndAllowThreads(__tstate
);
709 if (PyErr_Occurred()) return NULL
;
710 } _resultobj
= Py_BuildValue("l",_result
);
714 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
715 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 PyObject
* _resultobj
;
719 PyObject
* _argo0
= 0;
720 PyObject
* _obj1
= 0;
721 char *_kwnames
[] = { "self","message", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
734 _arg1
= wxString_in_helper(_obj1
);
739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
740 wxDirDialog_SetMessage(_arg0
,*_arg1
);
742 wxPyEndAllowThreads(__tstate
);
743 if (PyErr_Occurred()) return NULL
;
744 } Py_INCREF(Py_None
);
745 _resultobj
= Py_None
;
753 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
754 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 PyObject
* _resultobj
;
758 PyObject
* _argo0
= 0;
759 PyObject
* _obj1
= 0;
760 char *_kwnames
[] = { "self","path", NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
773 _arg1
= wxString_in_helper(_obj1
);
778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
779 wxDirDialog_SetPath(_arg0
,*_arg1
);
781 wxPyEndAllowThreads(__tstate
);
782 if (PyErr_Occurred()) return NULL
;
783 } Py_INCREF(Py_None
);
784 _resultobj
= Py_None
;
792 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
793 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
797 PyObject
* _argo0
= 0;
798 char *_kwnames
[] = { "self", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 _result
= (int )wxDirDialog_ShowModal(_arg0
);
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) return NULL
;
816 } _resultobj
= Py_BuildValue("i",_result
);
820 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
823 src
= (wxFileDialog
*) ptr
;
824 dest
= (wxDialog
*) src
;
825 return (void *) dest
;
828 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) {
830 wxTopLevelWindow
*dest
;
831 src
= (wxFileDialog
*) ptr
;
832 dest
= (wxTopLevelWindow
*) src
;
833 return (void *) dest
;
836 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
839 src
= (wxFileDialog
*) ptr
;
840 dest
= (wxWindow
*) src
;
841 return (void *) dest
;
844 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
847 src
= (wxFileDialog
*) ptr
;
848 dest
= (wxEvtHandler
*) src
;
849 return (void *) dest
;
852 static void *SwigwxFileDialogTowxObject(void *ptr
) {
855 src
= (wxFileDialog
*) ptr
;
856 dest
= (wxObject
*) src
;
857 return (void *) dest
;
860 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
861 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
862 PyObject
* _resultobj
;
863 wxFileDialog
* _result
;
865 wxString
* _arg1
= (wxString
*) &wxPyFileSelectorPromptStr
;
866 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
867 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
868 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
869 long _arg5
= (long ) 0;
870 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
871 PyObject
* _argo0
= 0;
872 PyObject
* _obj1
= 0;
873 PyObject
* _obj2
= 0;
874 PyObject
* _obj3
= 0;
875 PyObject
* _obj4
= 0;
877 PyObject
* _obj6
= 0;
878 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOOlO:new_wxFileDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
893 _arg1
= wxString_in_helper(_obj1
);
899 _arg2
= wxString_in_helper(_obj2
);
905 _arg3
= wxString_in_helper(_obj3
);
911 _arg4
= wxString_in_helper(_obj4
);
918 if (! wxPoint_helper(_obj6
, &_arg6
))
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
929 _resultobj
= Py_BuildValue("s",_ptemp
);
932 _resultobj
= Py_None
;
953 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
954 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 wxFileDialog
* _arg0
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
973 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
975 wxPyEndAllowThreads(__tstate
);
976 if (PyErr_Occurred()) return NULL
;
979 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
981 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
990 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
991 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
994 wxFileDialog
* _arg0
;
995 PyObject
* _argo0
= 0;
996 char *_kwnames
[] = { "self", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) return NULL
;
1016 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1018 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1027 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
1028 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1031 wxFileDialog
* _arg0
;
1032 PyObject
* _argo0
= 0;
1033 char *_kwnames
[] = { "self", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
1046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1047 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
1049 wxPyEndAllowThreads(__tstate
);
1050 if (PyErr_Occurred()) return NULL
;
1051 } _resultobj
= Py_BuildValue("i",_result
);
1055 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
1056 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1059 wxFileDialog
* _arg0
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1081 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1083 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1092 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1093 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
* _resultobj
;
1096 wxFileDialog
* _arg0
;
1097 PyObject
* _argo0
= 0;
1098 char *_kwnames
[] = { "self", NULL
};
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) return NULL
;
1118 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1120 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1129 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1130 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
* _resultobj
;
1133 wxFileDialog
* _arg0
;
1134 PyObject
* _argo0
= 0;
1135 char *_kwnames
[] = { "self", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1151 wxPyEndAllowThreads(__tstate
);
1152 if (PyErr_Occurred()) return NULL
;
1153 } _resultobj
= Py_BuildValue("l",_result
);
1157 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1158 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1161 wxFileDialog
* _arg0
;
1162 PyObject
* _argo0
= 0;
1163 char *_kwnames
[] = { "self", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1177 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) return NULL
;
1183 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1185 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1194 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1195 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1197 wxFileDialog
* _arg0
;
1199 PyObject
* _argo0
= 0;
1200 PyObject
* _obj1
= 0;
1201 char *_kwnames
[] = { "self","directory", NULL
};
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1214 _arg1
= wxString_in_helper(_obj1
);
1219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1220 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1222 wxPyEndAllowThreads(__tstate
);
1223 if (PyErr_Occurred()) return NULL
;
1224 } Py_INCREF(Py_None
);
1225 _resultobj
= Py_None
;
1233 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1234 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1236 wxFileDialog
* _arg0
;
1238 PyObject
* _argo0
= 0;
1239 PyObject
* _obj1
= 0;
1240 char *_kwnames
[] = { "self","setfilename", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1253 _arg1
= wxString_in_helper(_obj1
);
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) return NULL
;
1263 } Py_INCREF(Py_None
);
1264 _resultobj
= Py_None
;
1272 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1273 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1275 wxFileDialog
* _arg0
;
1277 PyObject
* _argo0
= 0;
1278 char *_kwnames
[] = { "self","filterIndex", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) return NULL
;
1296 } Py_INCREF(Py_None
);
1297 _resultobj
= Py_None
;
1301 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1302 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1304 wxFileDialog
* _arg0
;
1306 PyObject
* _argo0
= 0;
1307 PyObject
* _obj1
= 0;
1308 char *_kwnames
[] = { "self","message", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1321 _arg1
= wxString_in_helper(_obj1
);
1326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1327 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1329 wxPyEndAllowThreads(__tstate
);
1330 if (PyErr_Occurred()) return NULL
;
1331 } Py_INCREF(Py_None
);
1332 _resultobj
= Py_None
;
1340 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1341 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
* _resultobj
;
1343 wxFileDialog
* _arg0
;
1345 PyObject
* _argo0
= 0;
1346 PyObject
* _obj1
= 0;
1347 char *_kwnames
[] = { "self","path", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1360 _arg1
= wxString_in_helper(_obj1
);
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 wxFileDialog_SetPath(_arg0
,*_arg1
);
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) return NULL
;
1370 } Py_INCREF(Py_None
);
1371 _resultobj
= Py_None
;
1379 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1380 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
* _resultobj
;
1382 wxFileDialog
* _arg0
;
1384 PyObject
* _argo0
= 0;
1385 char *_kwnames
[] = { "self","style", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 wxFileDialog_SetStyle(_arg0
,_arg1
);
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) return NULL
;
1403 } Py_INCREF(Py_None
);
1404 _resultobj
= Py_None
;
1408 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1409 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1411 wxFileDialog
* _arg0
;
1413 PyObject
* _argo0
= 0;
1414 PyObject
* _obj1
= 0;
1415 char *_kwnames
[] = { "self","wildCard", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1428 _arg1
= wxString_in_helper(_obj1
);
1433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1436 wxPyEndAllowThreads(__tstate
);
1437 if (PyErr_Occurred()) return NULL
;
1438 } Py_INCREF(Py_None
);
1439 _resultobj
= Py_None
;
1447 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1448 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1451 wxFileDialog
* _arg0
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) return NULL
;
1471 } _resultobj
= Py_BuildValue("i",_result
);
1475 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1477 self
->GetFilenames(arr
);
1478 return wxArrayString2PyList_helper(arr
);
1480 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1483 wxFileDialog
* _arg0
;
1484 PyObject
* _argo0
= 0;
1485 char *_kwnames
[] = { "self", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1504 _resultobj
= _result
;
1509 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1511 self
->GetPaths(arr
);
1512 return wxArrayString2PyList_helper(arr
);
1514 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1517 wxFileDialog
* _arg0
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1538 _resultobj
= _result
;
1543 static void *SwigwxMultiChoiceDialogTowxDialog(void *ptr
) {
1544 wxMultiChoiceDialog
*src
;
1546 src
= (wxMultiChoiceDialog
*) ptr
;
1547 dest
= (wxDialog
*) src
;
1548 return (void *) dest
;
1551 static void *SwigwxMultiChoiceDialogTowxTopLevelWindow(void *ptr
) {
1552 wxMultiChoiceDialog
*src
;
1553 wxTopLevelWindow
*dest
;
1554 src
= (wxMultiChoiceDialog
*) ptr
;
1555 dest
= (wxTopLevelWindow
*) src
;
1556 return (void *) dest
;
1559 static void *SwigwxMultiChoiceDialogTowxWindow(void *ptr
) {
1560 wxMultiChoiceDialog
*src
;
1562 src
= (wxMultiChoiceDialog
*) ptr
;
1563 dest
= (wxWindow
*) src
;
1564 return (void *) dest
;
1567 static void *SwigwxMultiChoiceDialogTowxEvtHandler(void *ptr
) {
1568 wxMultiChoiceDialog
*src
;
1570 src
= (wxMultiChoiceDialog
*) ptr
;
1571 dest
= (wxEvtHandler
*) src
;
1572 return (void *) dest
;
1575 static void *SwigwxMultiChoiceDialogTowxObject(void *ptr
) {
1576 wxMultiChoiceDialog
*src
;
1578 src
= (wxMultiChoiceDialog
*) ptr
;
1579 dest
= (wxObject
*) src
;
1580 return (void *) dest
;
1583 #define new_wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1584 static PyObject
*_wrap_new_wxMultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1586 wxMultiChoiceDialog
* _result
;
1592 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1593 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1594 PyObject
* _argo0
= 0;
1595 PyObject
* _obj1
= 0;
1596 PyObject
* _obj2
= 0;
1597 PyObject
* _obj4
= 0;
1599 PyObject
* _obj6
= 0;
1600 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxMultiChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMultiChoiceDialog. Expected _wxWindow_p.");
1614 _arg1
= wxString_in_helper(_obj1
);
1619 _arg2
= wxString_in_helper(_obj2
);
1625 _arg4
= wxString_LIST_helper(_obj4
);
1626 if (_arg4
== NULL
) {
1633 if (! wxPoint_helper(_obj6
, &_arg6
))
1638 _arg3
= PyList_Size(_obj4
);
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 _result
= (wxMultiChoiceDialog
*)new_wxMultiChoiceDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) return NULL
;
1651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMultiChoiceDialog_p");
1652 _resultobj
= Py_BuildValue("s",_ptemp
);
1655 _resultobj
= Py_None
;
1671 #define wxMultiChoiceDialog_SetSelections(_swigobj,_swigarg0) (_swigobj->SetSelections(_swigarg0))
1672 static PyObject
*_wrap_wxMultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1674 wxMultiChoiceDialog
* _arg0
;
1676 PyObject
* _argo0
= 0;
1677 PyObject
* _obj1
= 0;
1678 char *_kwnames
[] = { "self","selections", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMultiChoiceDialog_SetSelections",_kwnames
,&_argo0
,&_obj1
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_SetSelections. Expected _wxMultiChoiceDialog_p.");
1691 if (! PySequence_Check(_obj1
)) {
1692 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
1695 _arg1
= new wxArrayInt
;
1696 int i
, len
=PySequence_Length(_obj1
);
1697 for (i
=0; i
<len
; i
++) {
1698 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
1699 PyObject
* number
= PyNumber_Int(item
);
1700 _arg1
->Add(PyInt_AS_LONG(number
));
1706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1707 wxMultiChoiceDialog_SetSelections(_arg0
,*_arg1
);
1709 wxPyEndAllowThreads(__tstate
);
1710 if (PyErr_Occurred()) return NULL
;
1711 } Py_INCREF(Py_None
);
1712 _resultobj
= Py_None
;
1720 static PyObject
* wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
) {
1721 return wxArrayInt2PyList_helper(self
->GetSelections());
1723 static PyObject
*_wrap_wxMultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1726 wxMultiChoiceDialog
* _arg0
;
1727 PyObject
* _argo0
= 0;
1728 char *_kwnames
[] = { "self", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMultiChoiceDialog_GetSelections",_kwnames
,&_argo0
))
1734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_GetSelections. Expected _wxMultiChoiceDialog_p.");
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 _result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(_arg0
);
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) return NULL
;
1747 _resultobj
= _result
;
1752 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1753 wxSingleChoiceDialog
*src
;
1755 src
= (wxSingleChoiceDialog
*) ptr
;
1756 dest
= (wxDialog
*) src
;
1757 return (void *) dest
;
1760 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) {
1761 wxSingleChoiceDialog
*src
;
1762 wxTopLevelWindow
*dest
;
1763 src
= (wxSingleChoiceDialog
*) ptr
;
1764 dest
= (wxTopLevelWindow
*) src
;
1765 return (void *) dest
;
1768 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1769 wxSingleChoiceDialog
*src
;
1771 src
= (wxSingleChoiceDialog
*) ptr
;
1772 dest
= (wxWindow
*) src
;
1773 return (void *) dest
;
1776 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1777 wxSingleChoiceDialog
*src
;
1779 src
= (wxSingleChoiceDialog
*) ptr
;
1780 dest
= (wxEvtHandler
*) src
;
1781 return (void *) dest
;
1784 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1785 wxSingleChoiceDialog
*src
;
1787 src
= (wxSingleChoiceDialog
*) ptr
;
1788 dest
= (wxObject
*) src
;
1789 return (void *) dest
;
1792 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1793 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1794 LCOUNT
, choices
, NULL
, style
, *pos
);
1797 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1799 wxSingleChoiceDialog
* _result
;
1805 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1806 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1807 PyObject
* _argo0
= 0;
1808 PyObject
* _obj1
= 0;
1809 PyObject
* _obj2
= 0;
1810 PyObject
* _obj4
= 0;
1812 PyObject
* _obj6
= 0;
1813 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1827 _arg1
= wxString_in_helper(_obj1
);
1832 _arg2
= wxString_in_helper(_obj2
);
1838 _arg4
= wxString_LIST_helper(_obj4
);
1839 if (_arg4
== NULL
) {
1846 if (! wxPoint_helper(_obj6
, &_arg6
))
1851 _arg3
= PyList_Size(_obj4
);
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) return NULL
;
1864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1865 _resultobj
= Py_BuildValue("s",_ptemp
);
1868 _resultobj
= Py_None
;
1884 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1885 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1888 wxSingleChoiceDialog
* _arg0
;
1889 PyObject
* _argo0
= 0;
1890 char *_kwnames
[] = { "self", NULL
};
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1904 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1906 wxPyEndAllowThreads(__tstate
);
1907 if (PyErr_Occurred()) return NULL
;
1908 } _resultobj
= Py_BuildValue("i",_result
);
1912 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1913 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1916 wxSingleChoiceDialog
* _arg0
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) return NULL
;
1938 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1940 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1949 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1950 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1952 wxSingleChoiceDialog
* _arg0
;
1954 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self","sel", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1973 } Py_INCREF(Py_None
);
1974 _resultobj
= Py_None
;
1978 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1979 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1982 wxSingleChoiceDialog
* _arg0
;
1983 PyObject
* _argo0
= 0;
1984 char *_kwnames
[] = { "self", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) return NULL
;
2002 } _resultobj
= Py_BuildValue("i",_result
);
2006 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
2007 wxTextEntryDialog
*src
;
2009 src
= (wxTextEntryDialog
*) ptr
;
2010 dest
= (wxDialog
*) src
;
2011 return (void *) dest
;
2014 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) {
2015 wxTextEntryDialog
*src
;
2016 wxTopLevelWindow
*dest
;
2017 src
= (wxTextEntryDialog
*) ptr
;
2018 dest
= (wxTopLevelWindow
*) src
;
2019 return (void *) dest
;
2022 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
2023 wxTextEntryDialog
*src
;
2025 src
= (wxTextEntryDialog
*) ptr
;
2026 dest
= (wxWindow
*) src
;
2027 return (void *) dest
;
2030 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
2031 wxTextEntryDialog
*src
;
2033 src
= (wxTextEntryDialog
*) ptr
;
2034 dest
= (wxEvtHandler
*) src
;
2035 return (void *) dest
;
2038 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
2039 wxTextEntryDialog
*src
;
2041 src
= (wxTextEntryDialog
*) ptr
;
2042 dest
= (wxObject
*) src
;
2043 return (void *) dest
;
2046 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2047 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2049 wxTextEntryDialog
* _result
;
2052 wxString
* _arg2
= (wxString
*) &wxPyGetTextFromUserPromptStr
;
2053 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2054 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2055 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
2056 PyObject
* _argo0
= 0;
2057 PyObject
* _obj1
= 0;
2058 PyObject
* _obj2
= 0;
2059 PyObject
* _obj3
= 0;
2061 PyObject
* _obj5
= 0;
2062 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
2076 _arg1
= wxString_in_helper(_obj1
);
2082 _arg2
= wxString_in_helper(_obj2
);
2088 _arg3
= wxString_in_helper(_obj3
);
2095 if (! wxPoint_helper(_obj5
, &_arg5
))
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) return NULL
;
2105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
2106 _resultobj
= Py_BuildValue("s",_ptemp
);
2109 _resultobj
= Py_None
;
2126 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
2127 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2130 wxTextEntryDialog
* _arg0
;
2131 PyObject
* _argo0
= 0;
2132 char *_kwnames
[] = { "self", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2152 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2154 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2163 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2164 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2166 wxTextEntryDialog
* _arg0
;
2168 PyObject
* _argo0
= 0;
2169 PyObject
* _obj1
= 0;
2170 char *_kwnames
[] = { "self","value", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
2183 _arg1
= wxString_in_helper(_obj1
);
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2193 } Py_INCREF(Py_None
);
2194 _resultobj
= Py_None
;
2202 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2203 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
* _resultobj
;
2206 wxTextEntryDialog
* _arg0
;
2207 PyObject
* _argo0
= 0;
2208 char *_kwnames
[] = { "self", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
2214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) return NULL
;
2226 } _resultobj
= Py_BuildValue("i",_result
);
2230 static void *SwigwxFontDataTowxObject(void *ptr
) {
2233 src
= (wxFontData
*) ptr
;
2234 dest
= (wxObject
*) src
;
2235 return (void *) dest
;
2238 #define new_wxFontData() (new wxFontData())
2239 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2241 wxFontData
* _result
;
2242 char *_kwnames
[] = { NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 _result
= (wxFontData
*)new_wxFontData();
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) return NULL
;
2255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2256 _resultobj
= Py_BuildValue("s",_ptemp
);
2259 _resultobj
= Py_None
;
2264 #define delete_wxFontData(_swigobj) (delete _swigobj)
2265 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
* _resultobj
;
2268 PyObject
* _argo0
= 0;
2269 char *_kwnames
[] = { "self", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 delete_wxFontData(_arg0
);
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) return NULL
;
2287 } Py_INCREF(Py_None
);
2288 _resultobj
= Py_None
;
2292 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2293 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
* _resultobj
;
2297 PyObject
* _argo0
= 0;
2299 char *_kwnames
[] = { "self","enable", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2311 _arg1
= (bool ) tempbool1
;
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 wxFontData_EnableEffects(_arg0
,_arg1
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } Py_INCREF(Py_None
);
2319 _resultobj
= Py_None
;
2323 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2324 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2328 PyObject
* _argo0
= 0;
2329 char *_kwnames
[] = { "self", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) return NULL
;
2347 } _resultobj
= Py_BuildValue("i",_result
);
2351 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2352 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2356 PyObject
* _argo0
= 0;
2357 char *_kwnames
[] = { "self", NULL
};
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 _result
= new wxColour (wxFontData_GetColour(_arg0
));
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) return NULL
;
2376 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2377 _resultobj
= Py_BuildValue("s",_ptemp
);
2381 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2382 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2386 PyObject
* _argo0
= 0;
2387 char *_kwnames
[] = { "self", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) return NULL
;
2406 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2407 _resultobj
= Py_BuildValue("s",_ptemp
);
2411 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2412 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2416 PyObject
* _argo0
= 0;
2417 char *_kwnames
[] = { "self", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2435 } _resultobj
= Py_BuildValue("i",_result
);
2439 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2440 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2465 _resultobj
= Py_BuildValue("s",_ptemp
);
2469 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2470 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2474 PyObject
* _argo0
= 0;
2475 char *_kwnames
[] = { "self", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) return NULL
;
2493 } _resultobj
= Py_BuildValue("i",_result
);
2497 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2498 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2502 PyObject
* _argo0
= 0;
2504 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2516 _arg1
= (bool ) tempbool1
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) return NULL
;
2523 } Py_INCREF(Py_None
);
2524 _resultobj
= Py_None
;
2528 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2529 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
* _resultobj
;
2533 PyObject
* _argo0
= 0;
2534 PyObject
* _argo1
= 0;
2535 char *_kwnames
[] = { "self","font", NULL
};
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) return NULL
;
2560 } Py_INCREF(Py_None
);
2561 _resultobj
= Py_None
;
2565 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2566 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2570 PyObject
* _argo0
= 0;
2572 PyObject
* _obj1
= 0;
2573 char *_kwnames
[] = { "self","colour", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2587 if (! wxColour_helper(_obj1
, &_arg1
))
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 wxFontData_SetColour(_arg0
,*_arg1
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) return NULL
;
2596 } Py_INCREF(Py_None
);
2597 _resultobj
= Py_None
;
2601 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2602 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
* _resultobj
;
2606 PyObject
* _argo0
= 0;
2607 PyObject
* _argo1
= 0;
2608 char *_kwnames
[] = { "self","font", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) return NULL
;
2633 } Py_INCREF(Py_None
);
2634 _resultobj
= Py_None
;
2638 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2639 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self","min","max", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) return NULL
;
2663 } Py_INCREF(Py_None
);
2664 _resultobj
= Py_None
;
2668 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2669 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
* _resultobj
;
2673 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self","showHelp", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2687 _arg1
= (bool ) tempbool1
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 wxFontData_SetShowHelp(_arg0
,_arg1
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) return NULL
;
2694 } Py_INCREF(Py_None
);
2695 _resultobj
= Py_None
;
2699 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2702 src
= (wxFontDialog
*) ptr
;
2703 dest
= (wxDialog
*) src
;
2704 return (void *) dest
;
2707 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) {
2709 wxTopLevelWindow
*dest
;
2710 src
= (wxFontDialog
*) ptr
;
2711 dest
= (wxTopLevelWindow
*) src
;
2712 return (void *) dest
;
2715 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2718 src
= (wxFontDialog
*) ptr
;
2719 dest
= (wxWindow
*) src
;
2720 return (void *) dest
;
2723 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2726 src
= (wxFontDialog
*) ptr
;
2727 dest
= (wxEvtHandler
*) src
;
2728 return (void *) dest
;
2731 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2734 src
= (wxFontDialog
*) ptr
;
2735 dest
= (wxObject
*) src
;
2736 return (void *) dest
;
2739 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2740 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
* _resultobj
;
2742 wxFontDialog
* _result
;
2745 PyObject
* _argo0
= 0;
2746 PyObject
* _argo1
= 0;
2747 char *_kwnames
[] = { "parent","data", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) return NULL
;
2774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2775 _resultobj
= Py_BuildValue("s",_ptemp
);
2778 _resultobj
= Py_None
;
2783 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2784 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
* _resultobj
;
2786 wxFontData
* _result
;
2787 wxFontDialog
* _arg0
;
2788 PyObject
* _argo0
= 0;
2789 char *_kwnames
[] = { "self", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2805 _result
= (wxFontData
*) &_result_ref
;
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) return NULL
;
2810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2811 _resultobj
= Py_BuildValue("s",_ptemp
);
2814 _resultobj
= Py_None
;
2819 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2820 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2823 wxFontDialog
* _arg0
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) return NULL
;
2843 } _resultobj
= Py_BuildValue("i",_result
);
2847 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2848 wxMessageDialog
*src
;
2850 src
= (wxMessageDialog
*) ptr
;
2851 dest
= (wxDialog
*) src
;
2852 return (void *) dest
;
2855 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) {
2856 wxMessageDialog
*src
;
2857 wxTopLevelWindow
*dest
;
2858 src
= (wxMessageDialog
*) ptr
;
2859 dest
= (wxTopLevelWindow
*) src
;
2860 return (void *) dest
;
2863 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2864 wxMessageDialog
*src
;
2866 src
= (wxMessageDialog
*) ptr
;
2867 dest
= (wxWindow
*) src
;
2868 return (void *) dest
;
2871 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2872 wxMessageDialog
*src
;
2874 src
= (wxMessageDialog
*) ptr
;
2875 dest
= (wxEvtHandler
*) src
;
2876 return (void *) dest
;
2879 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2880 wxMessageDialog
*src
;
2882 src
= (wxMessageDialog
*) ptr
;
2883 dest
= (wxObject
*) src
;
2884 return (void *) dest
;
2887 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2888 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2890 wxMessageDialog
* _result
;
2893 wxString
* _arg2
= (wxString
*) &wxPyMessageBoxCaptionStr
;
2894 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2895 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2896 PyObject
* _argo0
= 0;
2897 PyObject
* _obj1
= 0;
2898 PyObject
* _obj2
= 0;
2900 PyObject
* _obj4
= 0;
2901 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OlO:new_wxMessageDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_obj4
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2915 _arg1
= wxString_in_helper(_obj1
);
2921 _arg2
= wxString_in_helper(_obj2
);
2928 if (! wxPoint_helper(_obj4
, &_arg4
))
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,*_arg4
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) return NULL
;
2938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2939 _resultobj
= Py_BuildValue("s",_ptemp
);
2942 _resultobj
= Py_None
;
2955 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2956 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2959 wxMessageDialog
* _arg0
;
2960 PyObject
* _argo0
= 0;
2961 char *_kwnames
[] = { "self", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) return NULL
;
2979 } _resultobj
= Py_BuildValue("i",_result
);
2983 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2984 wxProgressDialog
*src
;
2986 src
= (wxProgressDialog
*) ptr
;
2987 dest
= (wxFrame
*) src
;
2988 return (void *) dest
;
2991 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) {
2992 wxProgressDialog
*src
;
2993 wxTopLevelWindow
*dest
;
2994 src
= (wxProgressDialog
*) ptr
;
2995 dest
= (wxTopLevelWindow
*) src
;
2996 return (void *) dest
;
2999 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
3000 wxProgressDialog
*src
;
3002 src
= (wxProgressDialog
*) ptr
;
3003 dest
= (wxWindow
*) src
;
3004 return (void *) dest
;
3007 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
3008 wxProgressDialog
*src
;
3010 src
= (wxProgressDialog
*) ptr
;
3011 dest
= (wxEvtHandler
*) src
;
3012 return (void *) dest
;
3015 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
3016 wxProgressDialog
*src
;
3018 src
= (wxProgressDialog
*) ptr
;
3019 dest
= (wxObject
*) src
;
3020 return (void *) dest
;
3023 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3024 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3026 wxProgressDialog
* _result
;
3029 int _arg2
= (int ) 100;
3030 wxWindow
* _arg3
= (wxWindow
*) NULL
;
3031 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
3032 PyObject
* _obj0
= 0;
3033 PyObject
* _obj1
= 0;
3034 PyObject
* _argo3
= 0;
3035 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
3042 _arg0
= wxString_in_helper(_obj0
);
3047 _arg1
= wxString_in_helper(_obj1
);
3052 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) return NULL
;
3065 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
3066 _resultobj
= Py_BuildValue("s",_ptemp
);
3069 _resultobj
= Py_None
;
3082 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
3083 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
* _resultobj
;
3086 wxProgressDialog
* _arg0
;
3088 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3089 PyObject
* _argo0
= 0;
3090 PyObject
* _obj2
= 0;
3091 char *_kwnames
[] = { "self","value","newmsg", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
3105 _arg2
= wxString_in_helper(_obj2
);
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,*_arg2
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) return NULL
;
3115 } _resultobj
= Py_BuildValue("i",_result
);
3123 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
3124 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
* _resultobj
;
3126 wxProgressDialog
* _arg0
;
3127 PyObject
* _argo0
= 0;
3128 char *_kwnames
[] = { "self", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 wxProgressDialog_Resume(_arg0
);
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) return NULL
;
3146 } Py_INCREF(Py_None
);
3147 _resultobj
= Py_None
;
3151 static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr
) {
3152 wxFindDialogEvent
*src
;
3153 wxCommandEvent
*dest
;
3154 src
= (wxFindDialogEvent
*) ptr
;
3155 dest
= (wxCommandEvent
*) src
;
3156 return (void *) dest
;
3159 static void *SwigwxFindDialogEventTowxEvent(void *ptr
) {
3160 wxFindDialogEvent
*src
;
3162 src
= (wxFindDialogEvent
*) ptr
;
3163 dest
= (wxEvent
*) src
;
3164 return (void *) dest
;
3167 static void *SwigwxFindDialogEventTowxObject(void *ptr
) {
3168 wxFindDialogEvent
*src
;
3170 src
= (wxFindDialogEvent
*) ptr
;
3171 dest
= (wxObject
*) src
;
3172 return (void *) dest
;
3175 #define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1))
3176 static PyObject
*_wrap_new_wxFindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
* _resultobj
;
3178 wxFindDialogEvent
* _result
;
3179 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
3180 int _arg1
= (int ) 0;
3181 char *_kwnames
[] = { "commandType","id", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxFindDialogEvent",_kwnames
,&_arg0
,&_arg1
))
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 _result
= (wxFindDialogEvent
*)new_wxFindDialogEvent(_arg0
,_arg1
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) return NULL
;
3194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindDialogEvent_p");
3195 _resultobj
= Py_BuildValue("s",_ptemp
);
3198 _resultobj
= Py_None
;
3203 #define wxFindDialogEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
3204 static PyObject
*_wrap_wxFindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
* _resultobj
;
3207 wxFindDialogEvent
* _arg0
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFlags",_kwnames
,&_argo0
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p.");
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 _result
= (int )wxFindDialogEvent_GetFlags(_arg0
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) return NULL
;
3227 } _resultobj
= Py_BuildValue("i",_result
);
3231 #define wxFindDialogEvent_GetFindString(_swigobj) (_swigobj->GetFindString())
3232 static PyObject
*_wrap_wxFindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3235 wxFindDialogEvent
* _arg0
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "self", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFindString",_kwnames
,&_argo0
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p.");
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 _result
= new wxString (wxFindDialogEvent_GetFindString(_arg0
));
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) return NULL
;
3257 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3259 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3268 #define wxFindDialogEvent_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3269 static PyObject
*_wrap_wxFindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3272 wxFindDialogEvent
* _arg0
;
3273 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetReplaceString",_kwnames
,&_argo0
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p.");
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 const wxString
& _result_ref
= wxFindDialogEvent_GetReplaceString(_arg0
);
3289 _result
= (wxString
*) &_result_ref
;
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) return NULL
;
3295 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3297 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3303 #define wxFindDialogEvent_GetDialog(_swigobj) (_swigobj->GetDialog())
3304 static PyObject
*_wrap_wxFindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
* _resultobj
;
3306 wxFindReplaceDialog
* _result
;
3307 wxFindDialogEvent
* _arg0
;
3308 PyObject
* _argo0
= 0;
3309 char *_kwnames
[] = { "self", NULL
};
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetDialog",_kwnames
,&_argo0
))
3316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p.");
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 _result
= (wxFindReplaceDialog
*)wxFindDialogEvent_GetDialog(_arg0
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) return NULL
;
3329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3330 _resultobj
= Py_BuildValue("s",_ptemp
);
3333 _resultobj
= Py_None
;
3338 #define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3339 static PyObject
*_wrap_wxFindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3341 wxFindDialogEvent
* _arg0
;
3343 PyObject
* _argo0
= 0;
3344 char *_kwnames
[] = { "self","flags", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindDialogEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p.");
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 wxFindDialogEvent_SetFlags(_arg0
,_arg1
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) return NULL
;
3362 } Py_INCREF(Py_None
);
3363 _resultobj
= Py_None
;
3367 #define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3368 static PyObject
*_wrap_wxFindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3370 wxFindDialogEvent
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 PyObject
* _obj1
= 0;
3374 char *_kwnames
[] = { "self","str", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p.");
3387 _arg1
= wxString_in_helper(_obj1
);
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 wxFindDialogEvent_SetFindString(_arg0
,*_arg1
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) return NULL
;
3397 } Py_INCREF(Py_None
);
3398 _resultobj
= Py_None
;
3406 #define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3407 static PyObject
*_wrap_wxFindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
* _resultobj
;
3409 wxFindDialogEvent
* _arg0
;
3411 PyObject
* _argo0
= 0;
3412 PyObject
* _obj1
= 0;
3413 char *_kwnames
[] = { "self","str", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p.");
3426 _arg1
= wxString_in_helper(_obj1
);
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 wxFindDialogEvent_SetReplaceString(_arg0
,*_arg1
);
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) return NULL
;
3436 } Py_INCREF(Py_None
);
3437 _resultobj
= Py_None
;
3445 static void *SwigwxFindReplaceDataTowxObject(void *ptr
) {
3446 wxFindReplaceData
*src
;
3448 src
= (wxFindReplaceData
*) ptr
;
3449 dest
= (wxObject
*) src
;
3450 return (void *) dest
;
3453 #define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0))
3454 static PyObject
*_wrap_new_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxFindReplaceData
* _result
;
3457 int _arg0
= (int ) 0;
3458 char *_kwnames
[] = { "flags", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFindReplaceData",_kwnames
,&_arg0
))
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 _result
= (wxFindReplaceData
*)new_wxFindReplaceData(_arg0
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) return NULL
;
3471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3472 _resultobj
= Py_BuildValue("s",_ptemp
);
3475 _resultobj
= Py_None
;
3480 #define delete_wxFindReplaceData(_swigobj) (delete _swigobj)
3481 static PyObject
*_wrap_delete_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3483 wxFindReplaceData
* _arg0
;
3484 PyObject
* _argo0
= 0;
3485 char *_kwnames
[] = { "self", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFindReplaceData",_kwnames
,&_argo0
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p.");
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 delete_wxFindReplaceData(_arg0
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) return NULL
;
3503 } Py_INCREF(Py_None
);
3504 _resultobj
= Py_None
;
3508 #define wxFindReplaceData_GetFindString(_swigobj) (_swigobj->GetFindString())
3509 static PyObject
*_wrap_wxFindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
* _resultobj
;
3512 wxFindReplaceData
* _arg0
;
3513 PyObject
* _argo0
= 0;
3514 char *_kwnames
[] = { "self", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFindString",_kwnames
,&_argo0
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p.");
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 const wxString
& _result_ref
= wxFindReplaceData_GetFindString(_arg0
);
3529 _result
= (wxString
*) &_result_ref
;
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) return NULL
;
3535 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3543 #define wxFindReplaceData_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3544 static PyObject
*_wrap_wxFindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3547 wxFindReplaceData
* _arg0
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetReplaceString",_kwnames
,&_argo0
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p.");
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 const wxString
& _result_ref
= wxFindReplaceData_GetReplaceString(_arg0
);
3564 _result
= (wxString
*) &_result_ref
;
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) return NULL
;
3570 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3572 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3578 #define wxFindReplaceData_GetFlags(_swigobj) (_swigobj->GetFlags())
3579 static PyObject
*_wrap_wxFindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
* _resultobj
;
3582 wxFindReplaceData
* _arg0
;
3583 PyObject
* _argo0
= 0;
3584 char *_kwnames
[] = { "self", NULL
};
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFlags",_kwnames
,&_argo0
))
3590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p.");
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 _result
= (int )wxFindReplaceData_GetFlags(_arg0
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) return NULL
;
3602 } _resultobj
= Py_BuildValue("i",_result
);
3606 #define wxFindReplaceData_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3607 static PyObject
*_wrap_wxFindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
* _resultobj
;
3609 wxFindReplaceData
* _arg0
;
3611 PyObject
* _argo0
= 0;
3612 char *_kwnames
[] = { "self","flags", NULL
};
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindReplaceData_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p.");
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 wxFindReplaceData_SetFlags(_arg0
,_arg1
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) return NULL
;
3630 } Py_INCREF(Py_None
);
3631 _resultobj
= Py_None
;
3635 #define wxFindReplaceData_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3636 static PyObject
*_wrap_wxFindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3638 wxFindReplaceData
* _arg0
;
3640 PyObject
* _argo0
= 0;
3641 PyObject
* _obj1
= 0;
3642 char *_kwnames
[] = { "self","str", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p.");
3655 _arg1
= wxString_in_helper(_obj1
);
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 wxFindReplaceData_SetFindString(_arg0
,*_arg1
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) return NULL
;
3665 } Py_INCREF(Py_None
);
3666 _resultobj
= Py_None
;
3674 #define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3675 static PyObject
*_wrap_wxFindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
* _resultobj
;
3677 wxFindReplaceData
* _arg0
;
3679 PyObject
* _argo0
= 0;
3680 PyObject
* _obj1
= 0;
3681 char *_kwnames
[] = { "self","str", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p.");
3694 _arg1
= wxString_in_helper(_obj1
);
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 wxFindReplaceData_SetReplaceString(_arg0
,*_arg1
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) return NULL
;
3704 } Py_INCREF(Py_None
);
3705 _resultobj
= Py_None
;
3713 static void *SwigwxFindReplaceDialogTowxDialog(void *ptr
) {
3714 wxFindReplaceDialog
*src
;
3716 src
= (wxFindReplaceDialog
*) ptr
;
3717 dest
= (wxDialog
*) src
;
3718 return (void *) dest
;
3721 static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr
) {
3722 wxFindReplaceDialog
*src
;
3723 wxTopLevelWindow
*dest
;
3724 src
= (wxFindReplaceDialog
*) ptr
;
3725 dest
= (wxTopLevelWindow
*) src
;
3726 return (void *) dest
;
3729 static void *SwigwxFindReplaceDialogTowxWindow(void *ptr
) {
3730 wxFindReplaceDialog
*src
;
3732 src
= (wxFindReplaceDialog
*) ptr
;
3733 dest
= (wxWindow
*) src
;
3734 return (void *) dest
;
3737 static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr
) {
3738 wxFindReplaceDialog
*src
;
3740 src
= (wxFindReplaceDialog
*) ptr
;
3741 dest
= (wxEvtHandler
*) src
;
3742 return (void *) dest
;
3745 static void *SwigwxFindReplaceDialogTowxObject(void *ptr
) {
3746 wxFindReplaceDialog
*src
;
3748 src
= (wxFindReplaceDialog
*) ptr
;
3749 dest
= (wxObject
*) src
;
3750 return (void *) dest
;
3753 #define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3754 static PyObject
*_wrap_new_wxFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3756 wxFindReplaceDialog
* _result
;
3758 wxFindReplaceData
* _arg1
;
3760 int _arg3
= (int ) 0;
3761 PyObject
* _argo0
= 0;
3762 PyObject
* _argo1
= 0;
3763 PyObject
* _obj2
= 0;
3764 char *_kwnames
[] = { "parent","data","title","style", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:new_wxFindReplaceDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p.");
3778 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p.");
3785 _arg2
= wxString_in_helper(_obj2
);
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 _result
= (wxFindReplaceDialog
*)new_wxFindReplaceDialog(_arg0
,_arg1
,*_arg2
,_arg3
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) return NULL
;
3796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3797 _resultobj
= Py_BuildValue("s",_ptemp
);
3800 _resultobj
= Py_None
;
3809 #define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog())
3810 static PyObject
*_wrap_new_wxPreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3812 wxFindReplaceDialog
* _result
;
3813 char *_kwnames
[] = { NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFindReplaceDialog",_kwnames
))
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 _result
= (wxFindReplaceDialog
*)new_wxPreFindReplaceDialog();
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) return NULL
;
3826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3827 _resultobj
= Py_BuildValue("s",_ptemp
);
3830 _resultobj
= Py_None
;
3835 #define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3836 static PyObject
*_wrap_wxFindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3839 wxFindReplaceDialog
* _arg0
;
3841 wxFindReplaceData
* _arg2
;
3843 int _arg4
= (int ) 0;
3844 PyObject
* _argo0
= 0;
3845 PyObject
* _argo1
= 0;
3846 PyObject
* _argo2
= 0;
3847 PyObject
* _obj3
= 0;
3848 char *_kwnames
[] = { "self","parent","data","title","style", NULL
};
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|i:wxFindReplaceDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
))
3854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p.");
3861 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p.");
3868 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFindReplaceData_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p.");
3875 _arg3
= wxString_in_helper(_obj3
);
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 _result
= (bool )wxFindReplaceDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3885 } _resultobj
= Py_BuildValue("i",_result
);
3893 #define wxFindReplaceDialog_GetData(_swigobj) (_swigobj->GetData())
3894 static PyObject
*_wrap_wxFindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3896 wxFindReplaceData
* _result
;
3897 wxFindReplaceDialog
* _arg0
;
3898 PyObject
* _argo0
= 0;
3899 char *_kwnames
[] = { "self", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceDialog_GetData",_kwnames
,&_argo0
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p.");
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 _result
= (wxFindReplaceData
*)wxFindReplaceDialog_GetData(_arg0
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) return NULL
;
3919 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3920 _resultobj
= Py_BuildValue("s",_ptemp
);
3923 _resultobj
= Py_None
;
3928 #define wxFindReplaceDialog_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3929 static PyObject
*_wrap_wxFindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3931 wxFindReplaceDialog
* _arg0
;
3932 wxFindReplaceData
* _arg1
;
3933 PyObject
* _argo0
= 0;
3934 PyObject
* _argo1
= 0;
3935 char *_kwnames
[] = { "self","data", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceDialog_SetData",_kwnames
,&_argo0
,&_argo1
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p.");
3948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p.");
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 wxFindReplaceDialog_SetData(_arg0
,_arg1
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) return NULL
;
3960 } Py_INCREF(Py_None
);
3961 _resultobj
= Py_None
;
3965 static PyMethodDef cmndlgscMethods
[] = {
3966 { "wxFindReplaceDialog_SetData", (PyCFunction
) _wrap_wxFindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3967 { "wxFindReplaceDialog_GetData", (PyCFunction
) _wrap_wxFindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3968 { "wxFindReplaceDialog_Create", (PyCFunction
) _wrap_wxFindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
3969 { "new_wxPreFindReplaceDialog", (PyCFunction
) _wrap_new_wxPreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3970 { "new_wxFindReplaceDialog", (PyCFunction
) _wrap_new_wxFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3971 { "wxFindReplaceData_SetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3972 { "wxFindReplaceData_SetFindString", (PyCFunction
) _wrap_wxFindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3973 { "wxFindReplaceData_SetFlags", (PyCFunction
) _wrap_wxFindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3974 { "wxFindReplaceData_GetFlags", (PyCFunction
) _wrap_wxFindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3975 { "wxFindReplaceData_GetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3976 { "wxFindReplaceData_GetFindString", (PyCFunction
) _wrap_wxFindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3977 { "delete_wxFindReplaceData", (PyCFunction
) _wrap_delete_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3978 { "new_wxFindReplaceData", (PyCFunction
) _wrap_new_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3979 { "wxFindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3980 { "wxFindDialogEvent_SetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3981 { "wxFindDialogEvent_SetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3982 { "wxFindDialogEvent_GetDialog", (PyCFunction
) _wrap_wxFindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
3983 { "wxFindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3984 { "wxFindDialogEvent_GetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3985 { "wxFindDialogEvent_GetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3986 { "new_wxFindDialogEvent", (PyCFunction
) _wrap_new_wxFindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
3987 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
3988 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
3989 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
3990 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3991 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
3992 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3993 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
3994 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
3995 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
3996 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
3997 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
3998 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3999 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
4000 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
4001 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
4002 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
4003 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
4004 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
4005 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4006 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
4007 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
4008 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
4009 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
4010 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4011 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
4012 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
4013 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
4014 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4015 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4016 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
4017 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4018 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4019 { "wxMultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
4020 { "wxMultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
4021 { "new_wxMultiChoiceDialog", (PyCFunction
) _wrap_new_wxMultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4022 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
4023 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
4024 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4025 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
4026 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4027 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
4028 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4029 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
4030 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
4031 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
4032 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
4033 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4034 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
4035 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4036 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
4037 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
4038 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
4039 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
4040 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4041 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
4042 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4043 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4044 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4045 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
4046 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
4047 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4048 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
4049 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
4050 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
4051 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4052 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
4053 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
4054 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4055 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
4056 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
4057 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
4064 * This table is used by the pointer type-checker
4066 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4067 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
4068 { "_signed_long","_long",0},
4069 { "_wxPrintQuality","_wxCoord",0},
4070 { "_wxPrintQuality","_int",0},
4071 { "_wxPrintQuality","_signed_int",0},
4072 { "_wxPrintQuality","_unsigned_int",0},
4073 { "_wxPrintQuality","_wxWindowID",0},
4074 { "_wxPrintQuality","_uint",0},
4075 { "_wxPrintQuality","_EBool",0},
4076 { "_wxPrintQuality","_size_t",0},
4077 { "_wxPrintQuality","_time_t",0},
4078 { "_byte","_unsigned_char",0},
4079 { "_long","_unsigned_long",0},
4080 { "_long","_signed_long",0},
4081 { "_size_t","_wxCoord",0},
4082 { "_size_t","_wxPrintQuality",0},
4083 { "_size_t","_time_t",0},
4084 { "_size_t","_unsigned_int",0},
4085 { "_size_t","_int",0},
4086 { "_size_t","_wxWindowID",0},
4087 { "_size_t","_uint",0},
4088 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
4089 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
4090 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
4091 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
4092 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
4093 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
4094 { "_wxTopLevelWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxTopLevelWindow
},
4095 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
4096 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
4097 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
4098 { "_uint","_wxCoord",0},
4099 { "_uint","_wxPrintQuality",0},
4100 { "_uint","_time_t",0},
4101 { "_uint","_size_t",0},
4102 { "_uint","_unsigned_int",0},
4103 { "_uint","_int",0},
4104 { "_uint","_wxWindowID",0},
4105 { "_wxChar","_char",0},
4106 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
4107 { "_char","_wxChar",0},
4108 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4109 { "_EBool","_wxCoord",0},
4110 { "_EBool","_wxPrintQuality",0},
4111 { "_EBool","_signed_int",0},
4112 { "_EBool","_int",0},
4113 { "_EBool","_wxWindowID",0},
4114 { "_unsigned_long","_long",0},
4115 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4116 { "_signed_int","_wxCoord",0},
4117 { "_signed_int","_wxPrintQuality",0},
4118 { "_signed_int","_EBool",0},
4119 { "_signed_int","_wxWindowID",0},
4120 { "_signed_int","_int",0},
4121 { "_WXTYPE","_short",0},
4122 { "_WXTYPE","_signed_short",0},
4123 { "_WXTYPE","_unsigned_short",0},
4124 { "_unsigned_short","_WXTYPE",0},
4125 { "_unsigned_short","_short",0},
4126 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
4127 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
4128 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
4129 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
4130 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
4131 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
4132 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
4133 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
4134 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
4135 { "_wxObject","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxObject
},
4136 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
4137 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
4138 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
4139 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
4140 { "_signed_short","_WXTYPE",0},
4141 { "_signed_short","_short",0},
4142 { "_unsigned_char","_byte",0},
4143 { "_unsigned_int","_wxCoord",0},
4144 { "_unsigned_int","_wxPrintQuality",0},
4145 { "_unsigned_int","_time_t",0},
4146 { "_unsigned_int","_size_t",0},
4147 { "_unsigned_int","_uint",0},
4148 { "_unsigned_int","_wxWindowID",0},
4149 { "_unsigned_int","_int",0},
4150 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
4151 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4152 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
4153 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4154 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4155 { "_wxDialog","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxDialog
},
4156 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
4157 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
4158 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
4159 { "_short","_WXTYPE",0},
4160 { "_short","_unsigned_short",0},
4161 { "_short","_signed_short",0},
4162 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4163 { "_wxWindowID","_wxCoord",0},
4164 { "_wxWindowID","_wxPrintQuality",0},
4165 { "_wxWindowID","_time_t",0},
4166 { "_wxWindowID","_size_t",0},
4167 { "_wxWindowID","_EBool",0},
4168 { "_wxWindowID","_uint",0},
4169 { "_wxWindowID","_int",0},
4170 { "_wxWindowID","_signed_int",0},
4171 { "_wxWindowID","_unsigned_int",0},
4172 { "_int","_wxCoord",0},
4173 { "_int","_wxPrintQuality",0},
4174 { "_int","_time_t",0},
4175 { "_int","_size_t",0},
4176 { "_int","_EBool",0},
4177 { "_int","_uint",0},
4178 { "_int","_wxWindowID",0},
4179 { "_int","_unsigned_int",0},
4180 { "_int","_signed_int",0},
4181 { "_time_t","_wxCoord",0},
4182 { "_time_t","_wxPrintQuality",0},
4183 { "_time_t","_unsigned_int",0},
4184 { "_time_t","_int",0},
4185 { "_time_t","_wxWindowID",0},
4186 { "_time_t","_uint",0},
4187 { "_time_t","_size_t",0},
4188 { "_wxCoord","_int",0},
4189 { "_wxCoord","_signed_int",0},
4190 { "_wxCoord","_unsigned_int",0},
4191 { "_wxCoord","_wxWindowID",0},
4192 { "_wxCoord","_uint",0},
4193 { "_wxCoord","_EBool",0},
4194 { "_wxCoord","_size_t",0},
4195 { "_wxCoord","_time_t",0},
4196 { "_wxCoord","_wxPrintQuality",0},
4197 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
4198 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
4199 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
4200 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
4201 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
4202 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
4203 { "_wxEvtHandler","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxEvtHandler
},
4204 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
4205 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
4206 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
4207 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4208 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4209 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4210 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
4211 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4212 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4213 { "_wxWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxWindow
},
4214 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
4215 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
4216 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
4219 static PyObject
*SWIG_globals
;
4223 SWIGEXPORT(void) initcmndlgsc() {
4225 SWIG_globals
= SWIG_newvarlink();
4226 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
4227 d
= PyModule_GetDict(m
);
4228 PyDict_SetItemString(d
,"wxCHOICEDLG_STYLE", PyInt_FromLong((long) wxCHOICEDLG_STYLE
));
4229 PyDict_SetItemString(d
,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN
));
4230 PyDict_SetItemString(d
,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD
));
4231 PyDict_SetItemString(d
,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE
));
4232 PyDict_SetItemString(d
,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG
));
4233 PyDict_SetItemString(d
,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN
));
4234 PyDict_SetItemString(d
,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE
));
4235 PyDict_SetItemString(d
,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD
));
4236 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND
));
4237 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT
));
4238 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE
));
4239 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL
));
4240 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE
));
4243 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4244 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);