2 * FILE : src/mac/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcmndlgsc
56 #define SWIG_name "cmndlgsc"
59 #include <wx/colordlg.h>
60 #include <wx/dirdlg.h>
61 #include <wx/fontdlg.h>
62 #include <wx/progdlg.h>
63 #include <wx/fdrepdlg.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 // Put some wx default wxChar* values into wxStrings.
93 DECLARE_DEF_STRING(FileSelectorPromptStr
);
94 DECLARE_DEF_STRING(DirSelectorPromptStr
);
95 DECLARE_DEF_STRING(DirDialogNameStr
);
96 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
97 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
98 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
99 static const wxString
wxPyEmptyString(wxT(""));
104 static void *SwigwxColourDataTowxObject(void *ptr
) {
107 src
= (wxColourData
*) ptr
;
108 dest
= (wxObject
*) src
;
109 return (void *) dest
;
112 #define new_wxColourData() (new wxColourData())
113 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
114 PyObject
* _resultobj
;
115 wxColourData
* _result
;
116 char *_kwnames
[] = { NULL
};
120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
124 _result
= (wxColourData
*)new_wxColourData();
126 wxPyEndAllowThreads(__tstate
);
127 if (PyErr_Occurred()) return NULL
;
129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
130 _resultobj
= Py_BuildValue("s",_ptemp
);
133 _resultobj
= Py_None
;
138 #define delete_wxColourData(_swigobj) (delete _swigobj)
139 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
141 wxColourData
* _arg0
;
142 PyObject
* _argo0
= 0;
143 char *_kwnames
[] = { "self", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
157 delete_wxColourData(_arg0
);
159 wxPyEndAllowThreads(__tstate
);
160 if (PyErr_Occurred()) return NULL
;
161 } Py_INCREF(Py_None
);
162 _resultobj
= Py_None
;
166 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
167 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
170 wxColourData
* _arg0
;
171 PyObject
* _argo0
= 0;
172 char *_kwnames
[] = { "self", NULL
};
175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
186 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
188 wxPyEndAllowThreads(__tstate
);
189 if (PyErr_Occurred()) return NULL
;
190 } _resultobj
= Py_BuildValue("i",_result
);
194 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
195 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
198 wxColourData
* _arg0
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
215 _result
= new wxColour (wxColourData_GetColour(_arg0
));
217 wxPyEndAllowThreads(__tstate
);
218 if (PyErr_Occurred()) return NULL
;
219 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
220 _resultobj
= Py_BuildValue("s",_ptemp
);
224 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
225 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
228 wxColourData
* _arg0
;
230 PyObject
* _argo0
= 0;
231 char *_kwnames
[] = { "self","i", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
246 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
248 wxPyEndAllowThreads(__tstate
);
249 if (PyErr_Occurred()) return NULL
;
250 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
251 _resultobj
= Py_BuildValue("s",_ptemp
);
255 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
256 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
258 wxColourData
* _arg0
;
260 PyObject
* _argo0
= 0;
261 char *_kwnames
[] = { "self","flag", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
275 wxColourData_SetChooseFull(_arg0
,_arg1
);
277 wxPyEndAllowThreads(__tstate
);
278 if (PyErr_Occurred()) return NULL
;
279 } Py_INCREF(Py_None
);
280 _resultobj
= Py_None
;
284 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
285 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
287 wxColourData
* _arg0
;
289 PyObject
* _argo0
= 0;
291 PyObject
* _obj1
= 0;
292 char *_kwnames
[] = { "self","colour", NULL
};
295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
306 if (! wxColour_helper(_obj1
, &_arg1
))
310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
311 wxColourData_SetColour(_arg0
,*_arg1
);
313 wxPyEndAllowThreads(__tstate
);
314 if (PyErr_Occurred()) return NULL
;
315 } Py_INCREF(Py_None
);
316 _resultobj
= Py_None
;
320 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
321 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
323 wxColourData
* _arg0
;
326 PyObject
* _argo0
= 0;
328 PyObject
* _obj2
= 0;
329 char *_kwnames
[] = { "self","i","colour", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
343 if (! wxColour_helper(_obj2
, &_arg2
))
347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
348 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
350 wxPyEndAllowThreads(__tstate
);
351 if (PyErr_Occurred()) return NULL
;
352 } Py_INCREF(Py_None
);
353 _resultobj
= Py_None
;
357 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
360 src
= (wxColourDialog
*) ptr
;
361 dest
= (wxDialog
*) src
;
362 return (void *) dest
;
365 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) {
367 wxTopLevelWindow
*dest
;
368 src
= (wxColourDialog
*) ptr
;
369 dest
= (wxTopLevelWindow
*) src
;
370 return (void *) dest
;
373 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
376 src
= (wxColourDialog
*) ptr
;
377 dest
= (wxWindow
*) src
;
378 return (void *) dest
;
381 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
384 src
= (wxColourDialog
*) ptr
;
385 dest
= (wxEvtHandler
*) src
;
386 return (void *) dest
;
389 static void *SwigwxColourDialogTowxObject(void *ptr
) {
392 src
= (wxColourDialog
*) ptr
;
393 dest
= (wxObject
*) src
;
394 return (void *) dest
;
397 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
398 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
399 PyObject
* _resultobj
;
400 wxColourDialog
* _result
;
402 wxColourData
* _arg1
= (wxColourData
*) NULL
;
403 PyObject
* _argo0
= 0;
404 PyObject
* _argo1
= 0;
405 char *_kwnames
[] = { "parent","data", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
427 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
429 wxPyEndAllowThreads(__tstate
);
430 if (PyErr_Occurred()) return NULL
;
432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
433 _resultobj
= Py_BuildValue("s",_ptemp
);
436 _resultobj
= Py_None
;
441 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
442 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
444 wxColourData
* _result
;
445 wxColourDialog
* _arg0
;
446 PyObject
* _argo0
= 0;
447 char *_kwnames
[] = { "self", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
462 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
463 _result
= (wxColourData
*) &_result_ref
;
465 wxPyEndAllowThreads(__tstate
);
466 if (PyErr_Occurred()) return NULL
;
468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
469 _resultobj
= Py_BuildValue("s",_ptemp
);
472 _resultobj
= Py_None
;
477 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
478 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
481 wxColourDialog
* _arg0
;
482 PyObject
* _argo0
= 0;
483 char *_kwnames
[] = { "self", NULL
};
486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
497 _result
= (int )wxColourDialog_ShowModal(_arg0
);
499 wxPyEndAllowThreads(__tstate
);
500 if (PyErr_Occurred()) return NULL
;
501 } _resultobj
= Py_BuildValue("i",_result
);
505 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
508 src
= (wxDirDialog
*) ptr
;
509 dest
= (wxDialog
*) src
;
510 return (void *) dest
;
513 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) {
515 wxTopLevelWindow
*dest
;
516 src
= (wxDirDialog
*) ptr
;
517 dest
= (wxTopLevelWindow
*) src
;
518 return (void *) dest
;
521 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
524 src
= (wxDirDialog
*) ptr
;
525 dest
= (wxWindow
*) src
;
526 return (void *) dest
;
529 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
532 src
= (wxDirDialog
*) ptr
;
533 dest
= (wxEvtHandler
*) src
;
534 return (void *) dest
;
537 static void *SwigwxDirDialogTowxObject(void *ptr
) {
540 src
= (wxDirDialog
*) ptr
;
541 dest
= (wxObject
*) src
;
542 return (void *) dest
;
545 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
546 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
548 wxDirDialog
* _result
;
550 wxString
* _arg1
= (wxString
*) &wxPyDirSelectorPromptStr
;
551 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
552 long _arg3
= (long ) 0;
553 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
554 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
555 wxString
* _arg6
= (wxString
*) &wxPyDirDialogNameStr
;
556 PyObject
* _argo0
= 0;
557 PyObject
* _obj1
= 0;
558 PyObject
* _obj2
= 0;
560 PyObject
* _obj4
= 0;
562 PyObject
* _obj5
= 0;
563 PyObject
* _obj6
= 0;
564 char *_kwnames
[] = { "parent","message","defaultPath","style","pos","size","name", NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOlOOO:new_wxDirDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_obj4
,&_obj5
,&_obj6
))
571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
579 _arg1
= wxString_in_helper(_obj1
);
585 _arg2
= wxString_in_helper(_obj2
);
592 if (! wxPoint_helper(_obj4
, &_arg4
))
598 if (! wxSize_helper(_obj5
, &_arg5
))
603 _arg6
= wxString_in_helper(_obj6
);
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,*_arg4
,*_arg5
,*_arg6
);
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
615 _resultobj
= Py_BuildValue("s",_ptemp
);
618 _resultobj
= Py_None
;
635 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
636 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
637 PyObject
* _resultobj
;
640 PyObject
* _argo0
= 0;
641 char *_kwnames
[] = { "self", NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
655 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
657 wxPyEndAllowThreads(__tstate
);
658 if (PyErr_Occurred()) return NULL
;
661 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
663 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
672 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
673 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
677 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "self", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
692 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
694 wxPyEndAllowThreads(__tstate
);
695 if (PyErr_Occurred()) return NULL
;
698 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
700 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
709 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
710 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
714 PyObject
* _argo0
= 0;
715 char *_kwnames
[] = { "self", NULL
};
718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
729 _result
= (long )wxDirDialog_GetStyle(_arg0
);
731 wxPyEndAllowThreads(__tstate
);
732 if (PyErr_Occurred()) return NULL
;
733 } _resultobj
= Py_BuildValue("l",_result
);
737 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
738 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 PyObject
* _resultobj
;
742 PyObject
* _argo0
= 0;
743 PyObject
* _obj1
= 0;
744 char *_kwnames
[] = { "self","message", NULL
};
747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
757 _arg1
= wxString_in_helper(_obj1
);
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 wxDirDialog_SetMessage(_arg0
,*_arg1
);
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) return NULL
;
767 } Py_INCREF(Py_None
);
768 _resultobj
= Py_None
;
776 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
777 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
781 PyObject
* _argo0
= 0;
782 PyObject
* _obj1
= 0;
783 char *_kwnames
[] = { "self","path", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
796 _arg1
= wxString_in_helper(_obj1
);
801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
802 wxDirDialog_SetPath(_arg0
,*_arg1
);
804 wxPyEndAllowThreads(__tstate
);
805 if (PyErr_Occurred()) return NULL
;
806 } Py_INCREF(Py_None
);
807 _resultobj
= Py_None
;
815 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
816 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
835 _result
= (int )wxDirDialog_ShowModal(_arg0
);
837 wxPyEndAllowThreads(__tstate
);
838 if (PyErr_Occurred()) return NULL
;
839 } _resultobj
= Py_BuildValue("i",_result
);
843 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
846 src
= (wxFileDialog
*) ptr
;
847 dest
= (wxDialog
*) src
;
848 return (void *) dest
;
851 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) {
853 wxTopLevelWindow
*dest
;
854 src
= (wxFileDialog
*) ptr
;
855 dest
= (wxTopLevelWindow
*) src
;
856 return (void *) dest
;
859 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
862 src
= (wxFileDialog
*) ptr
;
863 dest
= (wxWindow
*) src
;
864 return (void *) dest
;
867 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
870 src
= (wxFileDialog
*) ptr
;
871 dest
= (wxEvtHandler
*) src
;
872 return (void *) dest
;
875 static void *SwigwxFileDialogTowxObject(void *ptr
) {
878 src
= (wxFileDialog
*) ptr
;
879 dest
= (wxObject
*) src
;
880 return (void *) dest
;
883 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
884 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
885 PyObject
* _resultobj
;
886 wxFileDialog
* _result
;
888 wxString
* _arg1
= (wxString
*) &wxPyFileSelectorPromptStr
;
889 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
890 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
891 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
892 long _arg5
= (long ) 0;
893 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
894 PyObject
* _argo0
= 0;
895 PyObject
* _obj1
= 0;
896 PyObject
* _obj2
= 0;
897 PyObject
* _obj3
= 0;
898 PyObject
* _obj4
= 0;
900 PyObject
* _obj6
= 0;
901 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOOlO:new_wxFileDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
916 _arg1
= wxString_in_helper(_obj1
);
922 _arg2
= wxString_in_helper(_obj2
);
928 _arg3
= wxString_in_helper(_obj3
);
934 _arg4
= wxString_in_helper(_obj4
);
941 if (! wxPoint_helper(_obj6
, &_arg6
))
945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
946 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
948 wxPyEndAllowThreads(__tstate
);
949 if (PyErr_Occurred()) return NULL
;
951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
952 _resultobj
= Py_BuildValue("s",_ptemp
);
955 _resultobj
= Py_None
;
976 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
977 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
980 wxFileDialog
* _arg0
;
981 PyObject
* _argo0
= 0;
982 char *_kwnames
[] = { "self", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
996 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) return NULL
;
1002 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1004 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1013 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
1014 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1017 wxFileDialog
* _arg0
;
1018 PyObject
* _argo0
= 0;
1019 char *_kwnames
[] = { "self", NULL
};
1022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
1025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
1032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1033 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
1035 wxPyEndAllowThreads(__tstate
);
1036 if (PyErr_Occurred()) return NULL
;
1039 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1041 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1050 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
1051 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1054 wxFileDialog
* _arg0
;
1055 PyObject
* _argo0
= 0;
1056 char *_kwnames
[] = { "self", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
1069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1070 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
1072 wxPyEndAllowThreads(__tstate
);
1073 if (PyErr_Occurred()) return NULL
;
1074 } _resultobj
= Py_BuildValue("i",_result
);
1078 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
1079 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1082 wxFileDialog
* _arg0
;
1083 PyObject
* _argo0
= 0;
1084 char *_kwnames
[] = { "self", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) return NULL
;
1104 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1106 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1115 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1116 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1119 wxFileDialog
* _arg0
;
1120 PyObject
* _argo0
= 0;
1121 char *_kwnames
[] = { "self", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1137 wxPyEndAllowThreads(__tstate
);
1138 if (PyErr_Occurred()) return NULL
;
1141 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1143 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1152 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1153 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1156 wxFileDialog
* _arg0
;
1157 PyObject
* _argo0
= 0;
1158 char *_kwnames
[] = { "self", NULL
};
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) return NULL
;
1176 } _resultobj
= Py_BuildValue("l",_result
);
1180 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1181 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1184 wxFileDialog
* _arg0
;
1185 PyObject
* _argo0
= 0;
1186 char *_kwnames
[] = { "self", NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) return NULL
;
1206 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1208 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1217 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1218 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
* _resultobj
;
1220 wxFileDialog
* _arg0
;
1222 PyObject
* _argo0
= 0;
1223 PyObject
* _obj1
= 0;
1224 char *_kwnames
[] = { "self","directory", NULL
};
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1237 _arg1
= wxString_in_helper(_obj1
);
1242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1243 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1245 wxPyEndAllowThreads(__tstate
);
1246 if (PyErr_Occurred()) return NULL
;
1247 } Py_INCREF(Py_None
);
1248 _resultobj
= Py_None
;
1256 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1257 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1259 wxFileDialog
* _arg0
;
1261 PyObject
* _argo0
= 0;
1262 PyObject
* _obj1
= 0;
1263 char *_kwnames
[] = { "self","setfilename", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1276 _arg1
= wxString_in_helper(_obj1
);
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) return NULL
;
1286 } Py_INCREF(Py_None
);
1287 _resultobj
= Py_None
;
1295 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1296 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1298 wxFileDialog
* _arg0
;
1300 PyObject
* _argo0
= 0;
1301 char *_kwnames
[] = { "self","filterIndex", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) return NULL
;
1319 } Py_INCREF(Py_None
);
1320 _resultobj
= Py_None
;
1324 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1325 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1327 wxFileDialog
* _arg0
;
1329 PyObject
* _argo0
= 0;
1330 PyObject
* _obj1
= 0;
1331 char *_kwnames
[] = { "self","message", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1344 _arg1
= wxString_in_helper(_obj1
);
1349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) return NULL
;
1354 } Py_INCREF(Py_None
);
1355 _resultobj
= Py_None
;
1363 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1364 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1366 wxFileDialog
* _arg0
;
1368 PyObject
* _argo0
= 0;
1369 PyObject
* _obj1
= 0;
1370 char *_kwnames
[] = { "self","path", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1383 _arg1
= wxString_in_helper(_obj1
);
1388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1389 wxFileDialog_SetPath(_arg0
,*_arg1
);
1391 wxPyEndAllowThreads(__tstate
);
1392 if (PyErr_Occurred()) return NULL
;
1393 } Py_INCREF(Py_None
);
1394 _resultobj
= Py_None
;
1402 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1403 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1405 wxFileDialog
* _arg0
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self","style", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 wxFileDialog_SetStyle(_arg0
,_arg1
);
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1426 } Py_INCREF(Py_None
);
1427 _resultobj
= Py_None
;
1431 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1432 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1434 wxFileDialog
* _arg0
;
1436 PyObject
* _argo0
= 0;
1437 PyObject
* _obj1
= 0;
1438 char *_kwnames
[] = { "self","wildCard", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1451 _arg1
= wxString_in_helper(_obj1
);
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) return NULL
;
1461 } Py_INCREF(Py_None
);
1462 _resultobj
= Py_None
;
1470 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1471 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1474 wxFileDialog
* _arg0
;
1475 PyObject
* _argo0
= 0;
1476 char *_kwnames
[] = { "self", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) return NULL
;
1494 } _resultobj
= Py_BuildValue("i",_result
);
1498 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1500 self
->GetFilenames(arr
);
1501 return wxArrayString2PyList_helper(arr
);
1503 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1506 wxFileDialog
* _arg0
;
1507 PyObject
* _argo0
= 0;
1508 char *_kwnames
[] = { "self", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) return NULL
;
1527 _resultobj
= _result
;
1532 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1534 self
->GetPaths(arr
);
1535 return wxArrayString2PyList_helper(arr
);
1537 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1540 wxFileDialog
* _arg0
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1561 _resultobj
= _result
;
1566 static void *SwigwxMultiChoiceDialogTowxDialog(void *ptr
) {
1567 wxMultiChoiceDialog
*src
;
1569 src
= (wxMultiChoiceDialog
*) ptr
;
1570 dest
= (wxDialog
*) src
;
1571 return (void *) dest
;
1574 static void *SwigwxMultiChoiceDialogTowxTopLevelWindow(void *ptr
) {
1575 wxMultiChoiceDialog
*src
;
1576 wxTopLevelWindow
*dest
;
1577 src
= (wxMultiChoiceDialog
*) ptr
;
1578 dest
= (wxTopLevelWindow
*) src
;
1579 return (void *) dest
;
1582 static void *SwigwxMultiChoiceDialogTowxWindow(void *ptr
) {
1583 wxMultiChoiceDialog
*src
;
1585 src
= (wxMultiChoiceDialog
*) ptr
;
1586 dest
= (wxWindow
*) src
;
1587 return (void *) dest
;
1590 static void *SwigwxMultiChoiceDialogTowxEvtHandler(void *ptr
) {
1591 wxMultiChoiceDialog
*src
;
1593 src
= (wxMultiChoiceDialog
*) ptr
;
1594 dest
= (wxEvtHandler
*) src
;
1595 return (void *) dest
;
1598 static void *SwigwxMultiChoiceDialogTowxObject(void *ptr
) {
1599 wxMultiChoiceDialog
*src
;
1601 src
= (wxMultiChoiceDialog
*) ptr
;
1602 dest
= (wxObject
*) src
;
1603 return (void *) dest
;
1606 #define new_wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1607 static PyObject
*_wrap_new_wxMultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1609 wxMultiChoiceDialog
* _result
;
1615 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1616 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1617 PyObject
* _argo0
= 0;
1618 PyObject
* _obj1
= 0;
1619 PyObject
* _obj2
= 0;
1620 PyObject
* _obj4
= 0;
1622 PyObject
* _obj6
= 0;
1623 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxMultiChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMultiChoiceDialog. Expected _wxWindow_p.");
1637 _arg1
= wxString_in_helper(_obj1
);
1642 _arg2
= wxString_in_helper(_obj2
);
1648 _arg4
= wxString_LIST_helper(_obj4
);
1649 if (_arg4
== NULL
) {
1656 if (! wxPoint_helper(_obj6
, &_arg6
))
1661 _arg3
= PyList_Size(_obj4
);
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= (wxMultiChoiceDialog
*)new_wxMultiChoiceDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMultiChoiceDialog_p");
1675 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 _resultobj
= Py_None
;
1694 #define wxMultiChoiceDialog_SetSelections(_swigobj,_swigarg0) (_swigobj->SetSelections(_swigarg0))
1695 static PyObject
*_wrap_wxMultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1697 wxMultiChoiceDialog
* _arg0
;
1699 PyObject
* _argo0
= 0;
1700 PyObject
* _obj1
= 0;
1701 char *_kwnames
[] = { "self","selections", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMultiChoiceDialog_SetSelections",_kwnames
,&_argo0
,&_obj1
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_SetSelections. Expected _wxMultiChoiceDialog_p.");
1714 if (! PySequence_Check(_obj1
)) {
1715 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
1718 _arg1
= new wxArrayInt
;
1719 int i
, len
=PySequence_Length(_obj1
);
1720 for (i
=0; i
<len
; i
++) {
1721 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
1722 PyObject
* number
= PyNumber_Int(item
);
1723 _arg1
->Add(PyInt_AS_LONG(number
));
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 wxMultiChoiceDialog_SetSelections(_arg0
,*_arg1
);
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) return NULL
;
1734 } Py_INCREF(Py_None
);
1735 _resultobj
= Py_None
;
1743 static PyObject
* wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
) {
1744 return wxArrayInt2PyList_helper(self
->GetSelections());
1746 static PyObject
*_wrap_wxMultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1749 wxMultiChoiceDialog
* _arg0
;
1750 PyObject
* _argo0
= 0;
1751 char *_kwnames
[] = { "self", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMultiChoiceDialog_GetSelections",_kwnames
,&_argo0
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_GetSelections. Expected _wxMultiChoiceDialog_p.");
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 _result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(_arg0
);
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) return NULL
;
1770 _resultobj
= _result
;
1775 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1776 wxSingleChoiceDialog
*src
;
1778 src
= (wxSingleChoiceDialog
*) ptr
;
1779 dest
= (wxDialog
*) src
;
1780 return (void *) dest
;
1783 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) {
1784 wxSingleChoiceDialog
*src
;
1785 wxTopLevelWindow
*dest
;
1786 src
= (wxSingleChoiceDialog
*) ptr
;
1787 dest
= (wxTopLevelWindow
*) src
;
1788 return (void *) dest
;
1791 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1792 wxSingleChoiceDialog
*src
;
1794 src
= (wxSingleChoiceDialog
*) ptr
;
1795 dest
= (wxWindow
*) src
;
1796 return (void *) dest
;
1799 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1800 wxSingleChoiceDialog
*src
;
1802 src
= (wxSingleChoiceDialog
*) ptr
;
1803 dest
= (wxEvtHandler
*) src
;
1804 return (void *) dest
;
1807 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1808 wxSingleChoiceDialog
*src
;
1810 src
= (wxSingleChoiceDialog
*) ptr
;
1811 dest
= (wxObject
*) src
;
1812 return (void *) dest
;
1815 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1816 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1817 LCOUNT
, choices
, NULL
, style
, *pos
);
1820 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1822 wxSingleChoiceDialog
* _result
;
1828 long _arg5
= (long ) (wxCHOICEDLG_STYLE
);
1829 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1830 PyObject
* _argo0
= 0;
1831 PyObject
* _obj1
= 0;
1832 PyObject
* _obj2
= 0;
1833 PyObject
* _obj4
= 0;
1835 PyObject
* _obj6
= 0;
1836 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1850 _arg1
= wxString_in_helper(_obj1
);
1855 _arg2
= wxString_in_helper(_obj2
);
1861 _arg4
= wxString_LIST_helper(_obj4
);
1862 if (_arg4
== NULL
) {
1869 if (! wxPoint_helper(_obj6
, &_arg6
))
1874 _arg3
= PyList_Size(_obj4
);
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) return NULL
;
1887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1888 _resultobj
= Py_BuildValue("s",_ptemp
);
1891 _resultobj
= Py_None
;
1907 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1908 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1911 wxSingleChoiceDialog
* _arg0
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } _resultobj
= Py_BuildValue("i",_result
);
1935 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1936 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1939 wxSingleChoiceDialog
* _arg0
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1961 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1963 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1972 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1973 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1975 wxSingleChoiceDialog
* _arg0
;
1977 PyObject
* _argo0
= 0;
1978 char *_kwnames
[] = { "self","sel", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) return NULL
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2001 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2002 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2005 wxSingleChoiceDialog
* _arg0
;
2006 PyObject
* _argo0
= 0;
2007 char *_kwnames
[] = { "self", NULL
};
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
2013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
2015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) return NULL
;
2025 } _resultobj
= Py_BuildValue("i",_result
);
2029 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
2030 wxTextEntryDialog
*src
;
2032 src
= (wxTextEntryDialog
*) ptr
;
2033 dest
= (wxDialog
*) src
;
2034 return (void *) dest
;
2037 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) {
2038 wxTextEntryDialog
*src
;
2039 wxTopLevelWindow
*dest
;
2040 src
= (wxTextEntryDialog
*) ptr
;
2041 dest
= (wxTopLevelWindow
*) src
;
2042 return (void *) dest
;
2045 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
2046 wxTextEntryDialog
*src
;
2048 src
= (wxTextEntryDialog
*) ptr
;
2049 dest
= (wxWindow
*) src
;
2050 return (void *) dest
;
2053 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
2054 wxTextEntryDialog
*src
;
2056 src
= (wxTextEntryDialog
*) ptr
;
2057 dest
= (wxEvtHandler
*) src
;
2058 return (void *) dest
;
2061 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
2062 wxTextEntryDialog
*src
;
2064 src
= (wxTextEntryDialog
*) ptr
;
2065 dest
= (wxObject
*) src
;
2066 return (void *) dest
;
2069 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2070 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2072 wxTextEntryDialog
* _result
;
2075 wxString
* _arg2
= (wxString
*) &wxPyGetTextFromUserPromptStr
;
2076 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2077 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2078 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
2079 PyObject
* _argo0
= 0;
2080 PyObject
* _obj1
= 0;
2081 PyObject
* _obj2
= 0;
2082 PyObject
* _obj3
= 0;
2084 PyObject
* _obj5
= 0;
2085 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
2099 _arg1
= wxString_in_helper(_obj1
);
2105 _arg2
= wxString_in_helper(_obj2
);
2111 _arg3
= wxString_in_helper(_obj3
);
2118 if (! wxPoint_helper(_obj5
, &_arg5
))
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) return NULL
;
2128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
2129 _resultobj
= Py_BuildValue("s",_ptemp
);
2132 _resultobj
= Py_None
;
2149 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
2150 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2153 wxTextEntryDialog
* _arg0
;
2154 PyObject
* _argo0
= 0;
2155 char *_kwnames
[] = { "self", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
2161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) return NULL
;
2175 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2177 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2186 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2187 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2189 wxTextEntryDialog
* _arg0
;
2191 PyObject
* _argo0
= 0;
2192 PyObject
* _obj1
= 0;
2193 char *_kwnames
[] = { "self","value", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
2206 _arg1
= wxString_in_helper(_obj1
);
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) return NULL
;
2216 } Py_INCREF(Py_None
);
2217 _resultobj
= Py_None
;
2225 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2226 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2229 wxTextEntryDialog
* _arg0
;
2230 PyObject
* _argo0
= 0;
2231 char *_kwnames
[] = { "self", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
2237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) return NULL
;
2249 } _resultobj
= Py_BuildValue("i",_result
);
2253 static void *SwigwxFontDataTowxObject(void *ptr
) {
2256 src
= (wxFontData
*) ptr
;
2257 dest
= (wxObject
*) src
;
2258 return (void *) dest
;
2261 #define new_wxFontData() (new wxFontData())
2262 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2264 wxFontData
* _result
;
2265 char *_kwnames
[] = { NULL
};
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 _result
= (wxFontData
*)new_wxFontData();
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) return NULL
;
2278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2279 _resultobj
= Py_BuildValue("s",_ptemp
);
2282 _resultobj
= Py_None
;
2287 #define delete_wxFontData(_swigobj) (delete _swigobj)
2288 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
* _resultobj
;
2291 PyObject
* _argo0
= 0;
2292 char *_kwnames
[] = { "self", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 delete_wxFontData(_arg0
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) return NULL
;
2310 } Py_INCREF(Py_None
);
2311 _resultobj
= Py_None
;
2315 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2316 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2320 PyObject
* _argo0
= 0;
2322 char *_kwnames
[] = { "self","enable", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2334 _arg1
= (bool ) tempbool1
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 wxFontData_EnableEffects(_arg0
,_arg1
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) return NULL
;
2341 } Py_INCREF(Py_None
);
2342 _resultobj
= Py_None
;
2346 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2347 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
* _resultobj
;
2351 PyObject
* _argo0
= 0;
2352 char *_kwnames
[] = { "self", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) return NULL
;
2370 } _resultobj
= Py_BuildValue("i",_result
);
2374 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2375 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
* _resultobj
;
2379 PyObject
* _argo0
= 0;
2380 char *_kwnames
[] = { "self", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 _result
= new wxColour (wxFontData_GetColour(_arg0
));
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) return NULL
;
2399 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2400 _resultobj
= Py_BuildValue("s",_ptemp
);
2404 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2405 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2409 PyObject
* _argo0
= 0;
2410 char *_kwnames
[] = { "self", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2430 _resultobj
= Py_BuildValue("s",_ptemp
);
2434 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2435 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2439 PyObject
* _argo0
= 0;
2440 char *_kwnames
[] = { "self", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) return NULL
;
2458 } _resultobj
= Py_BuildValue("i",_result
);
2462 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2463 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2467 PyObject
* _argo0
= 0;
2468 char *_kwnames
[] = { "self", NULL
};
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) return NULL
;
2487 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2488 _resultobj
= Py_BuildValue("s",_ptemp
);
2492 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2493 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2497 PyObject
* _argo0
= 0;
2498 char *_kwnames
[] = { "self", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) return NULL
;
2516 } _resultobj
= Py_BuildValue("i",_result
);
2520 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2521 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2525 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2539 _arg1
= (bool ) tempbool1
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) return NULL
;
2546 } Py_INCREF(Py_None
);
2547 _resultobj
= Py_None
;
2551 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2552 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2556 PyObject
* _argo0
= 0;
2557 PyObject
* _argo1
= 0;
2558 char *_kwnames
[] = { "self","font", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) return NULL
;
2583 } Py_INCREF(Py_None
);
2584 _resultobj
= Py_None
;
2588 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2589 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2593 PyObject
* _argo0
= 0;
2595 PyObject
* _obj1
= 0;
2596 char *_kwnames
[] = { "self","colour", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2610 if (! wxColour_helper(_obj1
, &_arg1
))
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 wxFontData_SetColour(_arg0
,*_arg1
);
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) return NULL
;
2619 } Py_INCREF(Py_None
);
2620 _resultobj
= Py_None
;
2624 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2625 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2629 PyObject
* _argo0
= 0;
2630 PyObject
* _argo1
= 0;
2631 char *_kwnames
[] = { "self","font", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) return NULL
;
2656 } Py_INCREF(Py_None
);
2657 _resultobj
= Py_None
;
2661 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2662 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2667 PyObject
* _argo0
= 0;
2668 char *_kwnames
[] = { "self","min","max", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) return NULL
;
2686 } Py_INCREF(Py_None
);
2687 _resultobj
= Py_None
;
2691 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2692 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2696 PyObject
* _argo0
= 0;
2698 char *_kwnames
[] = { "self","showHelp", NULL
};
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2710 _arg1
= (bool ) tempbool1
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 wxFontData_SetShowHelp(_arg0
,_arg1
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) return NULL
;
2717 } Py_INCREF(Py_None
);
2718 _resultobj
= Py_None
;
2722 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2725 src
= (wxFontDialog
*) ptr
;
2726 dest
= (wxDialog
*) src
;
2727 return (void *) dest
;
2730 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) {
2732 wxTopLevelWindow
*dest
;
2733 src
= (wxFontDialog
*) ptr
;
2734 dest
= (wxTopLevelWindow
*) src
;
2735 return (void *) dest
;
2738 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2741 src
= (wxFontDialog
*) ptr
;
2742 dest
= (wxWindow
*) src
;
2743 return (void *) dest
;
2746 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2749 src
= (wxFontDialog
*) ptr
;
2750 dest
= (wxEvtHandler
*) src
;
2751 return (void *) dest
;
2754 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2757 src
= (wxFontDialog
*) ptr
;
2758 dest
= (wxObject
*) src
;
2759 return (void *) dest
;
2762 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2763 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
* _resultobj
;
2765 wxFontDialog
* _result
;
2768 PyObject
* _argo0
= 0;
2769 PyObject
* _argo1
= 0;
2770 char *_kwnames
[] = { "parent","data", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2784 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,*_arg1
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2801 _resultobj
= Py_None
;
2806 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2807 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2809 wxFontData
* _result
;
2810 wxFontDialog
* _arg0
;
2811 PyObject
* _argo0
= 0;
2812 char *_kwnames
[] = { "self", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2828 _result
= (wxFontData
*) &_result_ref
;
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) return NULL
;
2833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2834 _resultobj
= Py_BuildValue("s",_ptemp
);
2837 _resultobj
= Py_None
;
2842 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2843 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2846 wxFontDialog
* _arg0
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) return NULL
;
2866 } _resultobj
= Py_BuildValue("i",_result
);
2870 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2871 wxMessageDialog
*src
;
2873 src
= (wxMessageDialog
*) ptr
;
2874 dest
= (wxDialog
*) src
;
2875 return (void *) dest
;
2878 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) {
2879 wxMessageDialog
*src
;
2880 wxTopLevelWindow
*dest
;
2881 src
= (wxMessageDialog
*) ptr
;
2882 dest
= (wxTopLevelWindow
*) src
;
2883 return (void *) dest
;
2886 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2887 wxMessageDialog
*src
;
2889 src
= (wxMessageDialog
*) ptr
;
2890 dest
= (wxWindow
*) src
;
2891 return (void *) dest
;
2894 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2895 wxMessageDialog
*src
;
2897 src
= (wxMessageDialog
*) ptr
;
2898 dest
= (wxEvtHandler
*) src
;
2899 return (void *) dest
;
2902 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2903 wxMessageDialog
*src
;
2905 src
= (wxMessageDialog
*) ptr
;
2906 dest
= (wxObject
*) src
;
2907 return (void *) dest
;
2910 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2911 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2913 wxMessageDialog
* _result
;
2916 wxString
* _arg2
= (wxString
*) &wxPyMessageBoxCaptionStr
;
2917 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2918 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2919 PyObject
* _argo0
= 0;
2920 PyObject
* _obj1
= 0;
2921 PyObject
* _obj2
= 0;
2923 PyObject
* _obj4
= 0;
2924 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OlO:new_wxMessageDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_obj4
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2938 _arg1
= wxString_in_helper(_obj1
);
2944 _arg2
= wxString_in_helper(_obj2
);
2951 if (! wxPoint_helper(_obj4
, &_arg4
))
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,*_arg4
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) return NULL
;
2961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2962 _resultobj
= Py_BuildValue("s",_ptemp
);
2965 _resultobj
= Py_None
;
2978 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2979 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2982 wxMessageDialog
* _arg0
;
2983 PyObject
* _argo0
= 0;
2984 char *_kwnames
[] = { "self", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) return NULL
;
3002 } _resultobj
= Py_BuildValue("i",_result
);
3006 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
3007 wxProgressDialog
*src
;
3009 src
= (wxProgressDialog
*) ptr
;
3010 dest
= (wxFrame
*) src
;
3011 return (void *) dest
;
3014 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) {
3015 wxProgressDialog
*src
;
3016 wxTopLevelWindow
*dest
;
3017 src
= (wxProgressDialog
*) ptr
;
3018 dest
= (wxTopLevelWindow
*) src
;
3019 return (void *) dest
;
3022 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
3023 wxProgressDialog
*src
;
3025 src
= (wxProgressDialog
*) ptr
;
3026 dest
= (wxWindow
*) src
;
3027 return (void *) dest
;
3030 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
3031 wxProgressDialog
*src
;
3033 src
= (wxProgressDialog
*) ptr
;
3034 dest
= (wxEvtHandler
*) src
;
3035 return (void *) dest
;
3038 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
3039 wxProgressDialog
*src
;
3041 src
= (wxProgressDialog
*) ptr
;
3042 dest
= (wxObject
*) src
;
3043 return (void *) dest
;
3046 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3047 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3049 wxProgressDialog
* _result
;
3052 int _arg2
= (int ) 100;
3053 wxWindow
* _arg3
= (wxWindow
*) NULL
;
3054 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
3055 PyObject
* _obj0
= 0;
3056 PyObject
* _obj1
= 0;
3057 PyObject
* _argo3
= 0;
3058 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
3065 _arg0
= wxString_in_helper(_obj0
);
3070 _arg1
= wxString_in_helper(_obj1
);
3075 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3076 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) return NULL
;
3088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
3089 _resultobj
= Py_BuildValue("s",_ptemp
);
3092 _resultobj
= Py_None
;
3105 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
3106 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3109 wxProgressDialog
* _arg0
;
3111 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3112 PyObject
* _argo0
= 0;
3113 PyObject
* _obj2
= 0;
3114 char *_kwnames
[] = { "self","value","newmsg", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
3128 _arg2
= wxString_in_helper(_obj2
);
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,*_arg2
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) return NULL
;
3138 } _resultobj
= Py_BuildValue("i",_result
);
3146 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
3147 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3149 wxProgressDialog
* _arg0
;
3150 PyObject
* _argo0
= 0;
3151 char *_kwnames
[] = { "self", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
3157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 wxProgressDialog_Resume(_arg0
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) return NULL
;
3169 } Py_INCREF(Py_None
);
3170 _resultobj
= Py_None
;
3174 static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr
) {
3175 wxFindDialogEvent
*src
;
3176 wxCommandEvent
*dest
;
3177 src
= (wxFindDialogEvent
*) ptr
;
3178 dest
= (wxCommandEvent
*) src
;
3179 return (void *) dest
;
3182 static void *SwigwxFindDialogEventTowxEvent(void *ptr
) {
3183 wxFindDialogEvent
*src
;
3185 src
= (wxFindDialogEvent
*) ptr
;
3186 dest
= (wxEvent
*) src
;
3187 return (void *) dest
;
3190 static void *SwigwxFindDialogEventTowxObject(void *ptr
) {
3191 wxFindDialogEvent
*src
;
3193 src
= (wxFindDialogEvent
*) ptr
;
3194 dest
= (wxObject
*) src
;
3195 return (void *) dest
;
3198 #define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1))
3199 static PyObject
*_wrap_new_wxFindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
* _resultobj
;
3201 wxFindDialogEvent
* _result
;
3202 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
3203 int _arg1
= (int ) 0;
3204 char *_kwnames
[] = { "commandType","id", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxFindDialogEvent",_kwnames
,&_arg0
,&_arg1
))
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 _result
= (wxFindDialogEvent
*)new_wxFindDialogEvent(_arg0
,_arg1
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindDialogEvent_p");
3218 _resultobj
= Py_BuildValue("s",_ptemp
);
3221 _resultobj
= Py_None
;
3226 #define wxFindDialogEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
3227 static PyObject
*_wrap_wxFindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
* _resultobj
;
3230 wxFindDialogEvent
* _arg0
;
3231 PyObject
* _argo0
= 0;
3232 char *_kwnames
[] = { "self", NULL
};
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFlags",_kwnames
,&_argo0
))
3238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p.");
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 _result
= (int )wxFindDialogEvent_GetFlags(_arg0
);
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) return NULL
;
3250 } _resultobj
= Py_BuildValue("i",_result
);
3254 #define wxFindDialogEvent_GetFindString(_swigobj) (_swigobj->GetFindString())
3255 static PyObject
*_wrap_wxFindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
* _resultobj
;
3258 wxFindDialogEvent
* _arg0
;
3259 PyObject
* _argo0
= 0;
3260 char *_kwnames
[] = { "self", NULL
};
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFindString",_kwnames
,&_argo0
))
3266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p.");
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 _result
= new wxString (wxFindDialogEvent_GetFindString(_arg0
));
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) return NULL
;
3280 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3282 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3291 #define wxFindDialogEvent_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3292 static PyObject
*_wrap_wxFindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3295 wxFindDialogEvent
* _arg0
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetReplaceString",_kwnames
,&_argo0
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p.");
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 const wxString
& _result_ref
= wxFindDialogEvent_GetReplaceString(_arg0
);
3312 _result
= (wxString
*) &_result_ref
;
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) return NULL
;
3318 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3320 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3326 #define wxFindDialogEvent_GetDialog(_swigobj) (_swigobj->GetDialog())
3327 static PyObject
*_wrap_wxFindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3329 wxFindReplaceDialog
* _result
;
3330 wxFindDialogEvent
* _arg0
;
3331 PyObject
* _argo0
= 0;
3332 char *_kwnames
[] = { "self", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetDialog",_kwnames
,&_argo0
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p.");
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 _result
= (wxFindReplaceDialog
*)wxFindDialogEvent_GetDialog(_arg0
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) return NULL
;
3352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3353 _resultobj
= Py_BuildValue("s",_ptemp
);
3356 _resultobj
= Py_None
;
3361 #define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3362 static PyObject
*_wrap_wxFindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3364 wxFindDialogEvent
* _arg0
;
3366 PyObject
* _argo0
= 0;
3367 char *_kwnames
[] = { "self","flags", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindDialogEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p.");
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxFindDialogEvent_SetFlags(_arg0
,_arg1
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) return NULL
;
3385 } Py_INCREF(Py_None
);
3386 _resultobj
= Py_None
;
3390 #define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3391 static PyObject
*_wrap_wxFindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3393 wxFindDialogEvent
* _arg0
;
3395 PyObject
* _argo0
= 0;
3396 PyObject
* _obj1
= 0;
3397 char *_kwnames
[] = { "self","str", NULL
};
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p.");
3410 _arg1
= wxString_in_helper(_obj1
);
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 wxFindDialogEvent_SetFindString(_arg0
,*_arg1
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) return NULL
;
3420 } Py_INCREF(Py_None
);
3421 _resultobj
= Py_None
;
3429 #define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3430 static PyObject
*_wrap_wxFindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
* _resultobj
;
3432 wxFindDialogEvent
* _arg0
;
3434 PyObject
* _argo0
= 0;
3435 PyObject
* _obj1
= 0;
3436 char *_kwnames
[] = { "self","str", NULL
};
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p.");
3449 _arg1
= wxString_in_helper(_obj1
);
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 wxFindDialogEvent_SetReplaceString(_arg0
,*_arg1
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) return NULL
;
3459 } Py_INCREF(Py_None
);
3460 _resultobj
= Py_None
;
3468 static void *SwigwxFindReplaceDataTowxObject(void *ptr
) {
3469 wxFindReplaceData
*src
;
3471 src
= (wxFindReplaceData
*) ptr
;
3472 dest
= (wxObject
*) src
;
3473 return (void *) dest
;
3476 #define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0))
3477 static PyObject
*_wrap_new_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxFindReplaceData
* _result
;
3480 int _arg0
= (int ) 0;
3481 char *_kwnames
[] = { "flags", NULL
};
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFindReplaceData",_kwnames
,&_arg0
))
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 _result
= (wxFindReplaceData
*)new_wxFindReplaceData(_arg0
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) return NULL
;
3494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3495 _resultobj
= Py_BuildValue("s",_ptemp
);
3498 _resultobj
= Py_None
;
3503 #define delete_wxFindReplaceData(_swigobj) (delete _swigobj)
3504 static PyObject
*_wrap_delete_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
* _resultobj
;
3506 wxFindReplaceData
* _arg0
;
3507 PyObject
* _argo0
= 0;
3508 char *_kwnames
[] = { "self", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFindReplaceData",_kwnames
,&_argo0
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p.");
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 delete_wxFindReplaceData(_arg0
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) return NULL
;
3526 } Py_INCREF(Py_None
);
3527 _resultobj
= Py_None
;
3531 #define wxFindReplaceData_GetFindString(_swigobj) (_swigobj->GetFindString())
3532 static PyObject
*_wrap_wxFindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
* _resultobj
;
3535 wxFindReplaceData
* _arg0
;
3536 PyObject
* _argo0
= 0;
3537 char *_kwnames
[] = { "self", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFindString",_kwnames
,&_argo0
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p.");
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 const wxString
& _result_ref
= wxFindReplaceData_GetFindString(_arg0
);
3552 _result
= (wxString
*) &_result_ref
;
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) return NULL
;
3558 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3560 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3566 #define wxFindReplaceData_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3567 static PyObject
*_wrap_wxFindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3570 wxFindReplaceData
* _arg0
;
3571 PyObject
* _argo0
= 0;
3572 char *_kwnames
[] = { "self", NULL
};
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetReplaceString",_kwnames
,&_argo0
))
3578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p.");
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 const wxString
& _result_ref
= wxFindReplaceData_GetReplaceString(_arg0
);
3587 _result
= (wxString
*) &_result_ref
;
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) return NULL
;
3593 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3595 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3601 #define wxFindReplaceData_GetFlags(_swigobj) (_swigobj->GetFlags())
3602 static PyObject
*_wrap_wxFindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3605 wxFindReplaceData
* _arg0
;
3606 PyObject
* _argo0
= 0;
3607 char *_kwnames
[] = { "self", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFlags",_kwnames
,&_argo0
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p.");
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 _result
= (int )wxFindReplaceData_GetFlags(_arg0
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3625 } _resultobj
= Py_BuildValue("i",_result
);
3629 #define wxFindReplaceData_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3630 static PyObject
*_wrap_wxFindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3632 wxFindReplaceData
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self","flags", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindReplaceData_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p.");
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 wxFindReplaceData_SetFlags(_arg0
,_arg1
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) return NULL
;
3653 } Py_INCREF(Py_None
);
3654 _resultobj
= Py_None
;
3658 #define wxFindReplaceData_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3659 static PyObject
*_wrap_wxFindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3661 wxFindReplaceData
* _arg0
;
3663 PyObject
* _argo0
= 0;
3664 PyObject
* _obj1
= 0;
3665 char *_kwnames
[] = { "self","str", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p.");
3678 _arg1
= wxString_in_helper(_obj1
);
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 wxFindReplaceData_SetFindString(_arg0
,*_arg1
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) return NULL
;
3688 } Py_INCREF(Py_None
);
3689 _resultobj
= Py_None
;
3697 #define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3698 static PyObject
*_wrap_wxFindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3700 wxFindReplaceData
* _arg0
;
3702 PyObject
* _argo0
= 0;
3703 PyObject
* _obj1
= 0;
3704 char *_kwnames
[] = { "self","str", NULL
};
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p.");
3717 _arg1
= wxString_in_helper(_obj1
);
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 wxFindReplaceData_SetReplaceString(_arg0
,*_arg1
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) return NULL
;
3727 } Py_INCREF(Py_None
);
3728 _resultobj
= Py_None
;
3736 static void *SwigwxFindReplaceDialogTowxDialog(void *ptr
) {
3737 wxFindReplaceDialog
*src
;
3739 src
= (wxFindReplaceDialog
*) ptr
;
3740 dest
= (wxDialog
*) src
;
3741 return (void *) dest
;
3744 static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr
) {
3745 wxFindReplaceDialog
*src
;
3746 wxTopLevelWindow
*dest
;
3747 src
= (wxFindReplaceDialog
*) ptr
;
3748 dest
= (wxTopLevelWindow
*) src
;
3749 return (void *) dest
;
3752 static void *SwigwxFindReplaceDialogTowxWindow(void *ptr
) {
3753 wxFindReplaceDialog
*src
;
3755 src
= (wxFindReplaceDialog
*) ptr
;
3756 dest
= (wxWindow
*) src
;
3757 return (void *) dest
;
3760 static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr
) {
3761 wxFindReplaceDialog
*src
;
3763 src
= (wxFindReplaceDialog
*) ptr
;
3764 dest
= (wxEvtHandler
*) src
;
3765 return (void *) dest
;
3768 static void *SwigwxFindReplaceDialogTowxObject(void *ptr
) {
3769 wxFindReplaceDialog
*src
;
3771 src
= (wxFindReplaceDialog
*) ptr
;
3772 dest
= (wxObject
*) src
;
3773 return (void *) dest
;
3776 #define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3777 static PyObject
*_wrap_new_wxFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3779 wxFindReplaceDialog
* _result
;
3781 wxFindReplaceData
* _arg1
;
3783 int _arg3
= (int ) 0;
3784 PyObject
* _argo0
= 0;
3785 PyObject
* _argo1
= 0;
3786 PyObject
* _obj2
= 0;
3787 char *_kwnames
[] = { "parent","data","title","style", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:new_wxFindReplaceDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p.");
3801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p.");
3808 _arg2
= wxString_in_helper(_obj2
);
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 _result
= (wxFindReplaceDialog
*)new_wxFindReplaceDialog(_arg0
,_arg1
,*_arg2
,_arg3
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) return NULL
;
3819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3820 _resultobj
= Py_BuildValue("s",_ptemp
);
3823 _resultobj
= Py_None
;
3832 #define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog())
3833 static PyObject
*_wrap_new_wxPreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
* _resultobj
;
3835 wxFindReplaceDialog
* _result
;
3836 char *_kwnames
[] = { NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFindReplaceDialog",_kwnames
))
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 _result
= (wxFindReplaceDialog
*)new_wxPreFindReplaceDialog();
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) return NULL
;
3849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3850 _resultobj
= Py_BuildValue("s",_ptemp
);
3853 _resultobj
= Py_None
;
3858 #define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3859 static PyObject
*_wrap_wxFindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3862 wxFindReplaceDialog
* _arg0
;
3864 wxFindReplaceData
* _arg2
;
3866 int _arg4
= (int ) 0;
3867 PyObject
* _argo0
= 0;
3868 PyObject
* _argo1
= 0;
3869 PyObject
* _argo2
= 0;
3870 PyObject
* _obj3
= 0;
3871 char *_kwnames
[] = { "self","parent","data","title","style", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|i:wxFindReplaceDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p.");
3884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p.");
3891 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFindReplaceData_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p.");
3898 _arg3
= wxString_in_helper(_obj3
);
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 _result
= (bool )wxFindReplaceDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) return NULL
;
3908 } _resultobj
= Py_BuildValue("i",_result
);
3916 #define wxFindReplaceDialog_GetData(_swigobj) (_swigobj->GetData())
3917 static PyObject
*_wrap_wxFindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3919 wxFindReplaceData
* _result
;
3920 wxFindReplaceDialog
* _arg0
;
3921 PyObject
* _argo0
= 0;
3922 char *_kwnames
[] = { "self", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceDialog_GetData",_kwnames
,&_argo0
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p.");
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 _result
= (wxFindReplaceData
*)wxFindReplaceDialog_GetData(_arg0
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) return NULL
;
3942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3943 _resultobj
= Py_BuildValue("s",_ptemp
);
3946 _resultobj
= Py_None
;
3951 #define wxFindReplaceDialog_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3952 static PyObject
*_wrap_wxFindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3954 wxFindReplaceDialog
* _arg0
;
3955 wxFindReplaceData
* _arg1
;
3956 PyObject
* _argo0
= 0;
3957 PyObject
* _argo1
= 0;
3958 char *_kwnames
[] = { "self","data", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceDialog_SetData",_kwnames
,&_argo0
,&_argo1
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p.");
3971 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3972 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p.");
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 wxFindReplaceDialog_SetData(_arg0
,_arg1
);
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) return NULL
;
3983 } Py_INCREF(Py_None
);
3984 _resultobj
= Py_None
;
3988 static PyMethodDef cmndlgscMethods
[] = {
3989 { "wxFindReplaceDialog_SetData", (PyCFunction
) _wrap_wxFindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3990 { "wxFindReplaceDialog_GetData", (PyCFunction
) _wrap_wxFindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3991 { "wxFindReplaceDialog_Create", (PyCFunction
) _wrap_wxFindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
3992 { "new_wxPreFindReplaceDialog", (PyCFunction
) _wrap_new_wxPreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3993 { "new_wxFindReplaceDialog", (PyCFunction
) _wrap_new_wxFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3994 { "wxFindReplaceData_SetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3995 { "wxFindReplaceData_SetFindString", (PyCFunction
) _wrap_wxFindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3996 { "wxFindReplaceData_SetFlags", (PyCFunction
) _wrap_wxFindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3997 { "wxFindReplaceData_GetFlags", (PyCFunction
) _wrap_wxFindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3998 { "wxFindReplaceData_GetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3999 { "wxFindReplaceData_GetFindString", (PyCFunction
) _wrap_wxFindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
4000 { "delete_wxFindReplaceData", (PyCFunction
) _wrap_delete_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
4001 { "new_wxFindReplaceData", (PyCFunction
) _wrap_new_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
4002 { "wxFindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
4003 { "wxFindDialogEvent_SetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
4004 { "wxFindDialogEvent_SetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4005 { "wxFindDialogEvent_GetDialog", (PyCFunction
) _wrap_wxFindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
4006 { "wxFindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
4007 { "wxFindDialogEvent_GetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
4008 { "wxFindDialogEvent_GetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4009 { "new_wxFindDialogEvent", (PyCFunction
) _wrap_new_wxFindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
4010 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
4011 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
4012 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
4013 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4014 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
4015 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4016 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
4017 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
4018 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
4019 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
4020 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
4021 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4022 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
4023 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
4024 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
4025 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
4026 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
4027 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
4028 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4029 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
4030 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
4031 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
4032 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
4033 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4034 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
4035 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
4036 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
4037 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4038 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4039 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
4040 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4041 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4042 { "wxMultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
4043 { "wxMultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
4044 { "new_wxMultiChoiceDialog", (PyCFunction
) _wrap_new_wxMultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
4045 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
4046 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
4047 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4048 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
4049 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4050 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
4051 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4052 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
4053 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
4054 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
4055 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
4056 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4057 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
4058 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4059 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
4060 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
4061 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
4062 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
4063 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4064 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
4065 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4066 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4067 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
4068 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
4069 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
4070 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
4071 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
4072 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
4073 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
4074 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
4075 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
4076 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
4077 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
4078 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
4079 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
4080 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
4087 * This table is used by the pointer type-checker
4089 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4090 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
4091 { "_signed_long","_long",0},
4092 { "_wxPrintQuality","_wxCoord",0},
4093 { "_wxPrintQuality","_int",0},
4094 { "_wxPrintQuality","_signed_int",0},
4095 { "_wxPrintQuality","_unsigned_int",0},
4096 { "_wxPrintQuality","_wxWindowID",0},
4097 { "_wxPrintQuality","_uint",0},
4098 { "_wxPrintQuality","_EBool",0},
4099 { "_wxPrintQuality","_size_t",0},
4100 { "_wxPrintQuality","_time_t",0},
4101 { "_byte","_unsigned_char",0},
4102 { "_long","_unsigned_long",0},
4103 { "_long","_signed_long",0},
4104 { "_size_t","_wxCoord",0},
4105 { "_size_t","_wxPrintQuality",0},
4106 { "_size_t","_time_t",0},
4107 { "_size_t","_unsigned_int",0},
4108 { "_size_t","_int",0},
4109 { "_size_t","_wxWindowID",0},
4110 { "_size_t","_uint",0},
4111 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
4112 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
4113 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
4114 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
4115 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
4116 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
4117 { "_wxTopLevelWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxTopLevelWindow
},
4118 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
4119 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
4120 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
4121 { "_uint","_wxCoord",0},
4122 { "_uint","_wxPrintQuality",0},
4123 { "_uint","_time_t",0},
4124 { "_uint","_size_t",0},
4125 { "_uint","_unsigned_int",0},
4126 { "_uint","_int",0},
4127 { "_uint","_wxWindowID",0},
4128 { "_wxChar","_char",0},
4129 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
4130 { "_char","_wxChar",0},
4131 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4132 { "_EBool","_wxCoord",0},
4133 { "_EBool","_wxPrintQuality",0},
4134 { "_EBool","_signed_int",0},
4135 { "_EBool","_int",0},
4136 { "_EBool","_wxWindowID",0},
4137 { "_unsigned_long","_long",0},
4138 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4139 { "_signed_int","_wxCoord",0},
4140 { "_signed_int","_wxPrintQuality",0},
4141 { "_signed_int","_EBool",0},
4142 { "_signed_int","_wxWindowID",0},
4143 { "_signed_int","_int",0},
4144 { "_WXTYPE","_short",0},
4145 { "_WXTYPE","_signed_short",0},
4146 { "_WXTYPE","_unsigned_short",0},
4147 { "_unsigned_short","_WXTYPE",0},
4148 { "_unsigned_short","_short",0},
4149 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
4150 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
4151 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
4152 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
4153 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
4154 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
4155 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
4156 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
4157 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
4158 { "_wxObject","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxObject
},
4159 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
4160 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
4161 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
4162 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
4163 { "_signed_short","_WXTYPE",0},
4164 { "_signed_short","_short",0},
4165 { "_unsigned_char","_byte",0},
4166 { "_unsigned_int","_wxCoord",0},
4167 { "_unsigned_int","_wxPrintQuality",0},
4168 { "_unsigned_int","_time_t",0},
4169 { "_unsigned_int","_size_t",0},
4170 { "_unsigned_int","_uint",0},
4171 { "_unsigned_int","_wxWindowID",0},
4172 { "_unsigned_int","_int",0},
4173 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
4174 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4175 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
4176 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4177 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4178 { "_wxDialog","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxDialog
},
4179 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
4180 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
4181 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
4182 { "_short","_WXTYPE",0},
4183 { "_short","_unsigned_short",0},
4184 { "_short","_signed_short",0},
4185 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4186 { "_wxWindowID","_wxCoord",0},
4187 { "_wxWindowID","_wxPrintQuality",0},
4188 { "_wxWindowID","_time_t",0},
4189 { "_wxWindowID","_size_t",0},
4190 { "_wxWindowID","_EBool",0},
4191 { "_wxWindowID","_uint",0},
4192 { "_wxWindowID","_int",0},
4193 { "_wxWindowID","_signed_int",0},
4194 { "_wxWindowID","_unsigned_int",0},
4195 { "_int","_wxCoord",0},
4196 { "_int","_wxPrintQuality",0},
4197 { "_int","_time_t",0},
4198 { "_int","_size_t",0},
4199 { "_int","_EBool",0},
4200 { "_int","_uint",0},
4201 { "_int","_wxWindowID",0},
4202 { "_int","_unsigned_int",0},
4203 { "_int","_signed_int",0},
4204 { "_time_t","_wxCoord",0},
4205 { "_time_t","_wxPrintQuality",0},
4206 { "_time_t","_unsigned_int",0},
4207 { "_time_t","_int",0},
4208 { "_time_t","_wxWindowID",0},
4209 { "_time_t","_uint",0},
4210 { "_time_t","_size_t",0},
4211 { "_wxCoord","_int",0},
4212 { "_wxCoord","_signed_int",0},
4213 { "_wxCoord","_unsigned_int",0},
4214 { "_wxCoord","_wxWindowID",0},
4215 { "_wxCoord","_uint",0},
4216 { "_wxCoord","_EBool",0},
4217 { "_wxCoord","_size_t",0},
4218 { "_wxCoord","_time_t",0},
4219 { "_wxCoord","_wxPrintQuality",0},
4220 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
4221 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
4222 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
4223 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
4224 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
4225 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
4226 { "_wxEvtHandler","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxEvtHandler
},
4227 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
4228 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
4229 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
4230 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4231 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4232 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4233 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
4234 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4235 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4236 { "_wxWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxWindow
},
4237 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
4238 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
4239 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
4242 static PyObject
*SWIG_globals
;
4246 SWIGEXPORT(void) initcmndlgsc() {
4248 SWIG_globals
= SWIG_newvarlink();
4249 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
4250 d
= PyModule_GetDict(m
);
4251 PyDict_SetItemString(d
,"wxCHOICEDLG_STYLE", PyInt_FromLong((long) wxCHOICEDLG_STYLE
));
4252 PyDict_SetItemString(d
,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN
));
4253 PyDict_SetItemString(d
,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD
));
4254 PyDict_SetItemString(d
,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE
));
4255 PyDict_SetItemString(d
,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG
));
4256 PyDict_SetItemString(d
,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN
));
4257 PyDict_SetItemString(d
,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE
));
4258 PyDict_SetItemString(d
,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD
));
4259 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND
));
4260 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT
));
4261 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE
));
4262 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL
));
4263 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE
));
4266 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4267 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);