2 * FILE : src/gtk/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcmndlgsc
54 #define SWIG_name "cmndlgsc"
57 #include <wx/colordlg.h>
58 #include <wx/dirdlg.h>
59 #include <wx/fontdlg.h>
60 #include <wx/progdlg.h>
61 #include <wx/fdrepdlg.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 #if PYTHON_API_VERSION >= 1009
110 static char* wxStringErrorMsg
= "String or Unicode type required";
112 static char* wxStringErrorMsg
= "String type required";
117 static void *SwigwxColourDataTowxObject(void *ptr
) {
120 src
= (wxColourData
*) ptr
;
121 dest
= (wxObject
*) src
;
122 return (void *) dest
;
125 #define new_wxColourData() (new wxColourData())
126 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
127 PyObject
* _resultobj
;
128 wxColourData
* _result
;
129 char *_kwnames
[] = { NULL
};
133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
136 wxPy_BEGIN_ALLOW_THREADS
;
137 _result
= (wxColourData
*)new_wxColourData();
139 wxPy_END_ALLOW_THREADS
;
140 if (PyErr_Occurred()) return NULL
;
142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
143 _resultobj
= Py_BuildValue("s",_ptemp
);
146 _resultobj
= Py_None
;
151 #define delete_wxColourData(_swigobj) (delete _swigobj)
152 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
154 wxColourData
* _arg0
;
155 PyObject
* _argo0
= 0;
156 char *_kwnames
[] = { "self", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
169 wxPy_BEGIN_ALLOW_THREADS
;
170 delete_wxColourData(_arg0
);
172 wxPy_END_ALLOW_THREADS
;
173 if (PyErr_Occurred()) return NULL
;
174 } Py_INCREF(Py_None
);
175 _resultobj
= Py_None
;
179 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
180 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
183 wxColourData
* _arg0
;
184 PyObject
* _argo0
= 0;
185 char *_kwnames
[] = { "self", NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
198 wxPy_BEGIN_ALLOW_THREADS
;
199 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
201 wxPy_END_ALLOW_THREADS
;
202 if (PyErr_Occurred()) return NULL
;
203 } _resultobj
= Py_BuildValue("i",_result
);
207 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
208 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
209 PyObject
* _resultobj
;
211 wxColourData
* _arg0
;
212 PyObject
* _argo0
= 0;
213 char *_kwnames
[] = { "self", NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= new wxColour (wxColourData_GetColour(_arg0
));
230 wxPy_END_ALLOW_THREADS
;
231 if (PyErr_Occurred()) return NULL
;
232 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
233 _resultobj
= Py_BuildValue("s",_ptemp
);
237 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
238 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
239 PyObject
* _resultobj
;
241 wxColourData
* _arg0
;
243 PyObject
* _argo0
= 0;
244 char *_kwnames
[] = { "self","i", NULL
};
248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
258 wxPy_BEGIN_ALLOW_THREADS
;
259 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
261 wxPy_END_ALLOW_THREADS
;
262 if (PyErr_Occurred()) return NULL
;
263 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
264 _resultobj
= Py_BuildValue("s",_ptemp
);
268 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
269 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
270 PyObject
* _resultobj
;
271 wxColourData
* _arg0
;
273 PyObject
* _argo0
= 0;
274 char *_kwnames
[] = { "self","flag", NULL
};
277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))
280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
287 wxPy_BEGIN_ALLOW_THREADS
;
288 wxColourData_SetChooseFull(_arg0
,_arg1
);
290 wxPy_END_ALLOW_THREADS
;
291 if (PyErr_Occurred()) return NULL
;
292 } Py_INCREF(Py_None
);
293 _resultobj
= Py_None
;
297 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
298 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
300 wxColourData
* _arg0
;
302 PyObject
* _argo0
= 0;
304 PyObject
* _obj1
= 0;
305 char *_kwnames
[] = { "self","colour", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))
311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
319 if (! wxColour_helper(_obj1
, &_arg1
))
323 wxPy_BEGIN_ALLOW_THREADS
;
324 wxColourData_SetColour(_arg0
,*_arg1
);
326 wxPy_END_ALLOW_THREADS
;
327 if (PyErr_Occurred()) return NULL
;
328 } Py_INCREF(Py_None
);
329 _resultobj
= Py_None
;
333 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
334 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
336 wxColourData
* _arg0
;
339 PyObject
* _argo0
= 0;
341 PyObject
* _obj2
= 0;
342 char *_kwnames
[] = { "self","i","colour", NULL
};
345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
356 if (! wxColour_helper(_obj2
, &_arg2
))
360 wxPy_BEGIN_ALLOW_THREADS
;
361 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
363 wxPy_END_ALLOW_THREADS
;
364 if (PyErr_Occurred()) return NULL
;
365 } Py_INCREF(Py_None
);
366 _resultobj
= Py_None
;
370 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
373 src
= (wxColourDialog
*) ptr
;
374 dest
= (wxDialog
*) src
;
375 return (void *) dest
;
378 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) {
380 wxTopLevelWindow
*dest
;
381 src
= (wxColourDialog
*) ptr
;
382 dest
= (wxTopLevelWindow
*) src
;
383 return (void *) dest
;
386 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
389 src
= (wxColourDialog
*) ptr
;
390 dest
= (wxWindow
*) src
;
391 return (void *) dest
;
394 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
397 src
= (wxColourDialog
*) ptr
;
398 dest
= (wxEvtHandler
*) src
;
399 return (void *) dest
;
402 static void *SwigwxColourDialogTowxObject(void *ptr
) {
405 src
= (wxColourDialog
*) ptr
;
406 dest
= (wxObject
*) src
;
407 return (void *) dest
;
410 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
411 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
413 wxColourDialog
* _result
;
415 wxColourData
* _arg1
= (wxColourData
*) NULL
;
416 PyObject
* _argo0
= 0;
417 PyObject
* _argo1
= 0;
418 char *_kwnames
[] = { "parent","data", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
432 if (_argo1
== Py_None
) { _arg1
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
439 wxPy_BEGIN_ALLOW_THREADS
;
440 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
442 wxPy_END_ALLOW_THREADS
;
443 if (PyErr_Occurred()) return NULL
;
445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
446 _resultobj
= Py_BuildValue("s",_ptemp
);
449 _resultobj
= Py_None
;
454 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
455 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
457 wxColourData
* _result
;
458 wxColourDialog
* _arg0
;
459 PyObject
* _argo0
= 0;
460 char *_kwnames
[] = { "self", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
474 wxPy_BEGIN_ALLOW_THREADS
;
475 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
476 _result
= (wxColourData
*) &_result_ref
;
478 wxPy_END_ALLOW_THREADS
;
479 if (PyErr_Occurred()) return NULL
;
481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
482 _resultobj
= Py_BuildValue("s",_ptemp
);
485 _resultobj
= Py_None
;
490 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
491 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
494 wxColourDialog
* _arg0
;
495 PyObject
* _argo0
= 0;
496 char *_kwnames
[] = { "self", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
509 wxPy_BEGIN_ALLOW_THREADS
;
510 _result
= (int )wxColourDialog_ShowModal(_arg0
);
512 wxPy_END_ALLOW_THREADS
;
513 if (PyErr_Occurred()) return NULL
;
514 } _resultobj
= Py_BuildValue("i",_result
);
518 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
521 src
= (wxDirDialog
*) ptr
;
522 dest
= (wxDialog
*) src
;
523 return (void *) dest
;
526 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) {
528 wxTopLevelWindow
*dest
;
529 src
= (wxDirDialog
*) ptr
;
530 dest
= (wxTopLevelWindow
*) src
;
531 return (void *) dest
;
534 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
537 src
= (wxDirDialog
*) ptr
;
538 dest
= (wxWindow
*) src
;
539 return (void *) dest
;
542 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
545 src
= (wxDirDialog
*) ptr
;
546 dest
= (wxEvtHandler
*) src
;
547 return (void *) dest
;
550 static void *SwigwxDirDialogTowxObject(void *ptr
) {
553 src
= (wxDirDialog
*) ptr
;
554 dest
= (wxObject
*) src
;
555 return (void *) dest
;
558 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
559 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
561 wxDirDialog
* _result
;
563 char * _arg1
= (char *) "Choose a directory";
564 char * _arg2
= (char *) "";
565 long _arg3
= (long ) 0;
566 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
567 PyObject
* _argo0
= 0;
569 PyObject
* _obj4
= 0;
570 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
586 if (! wxPoint_helper(_obj4
, &_arg4
))
590 wxPy_BEGIN_ALLOW_THREADS
;
591 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
593 wxPy_END_ALLOW_THREADS
;
594 if (PyErr_Occurred()) return NULL
;
596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
597 _resultobj
= Py_BuildValue("s",_ptemp
);
600 _resultobj
= Py_None
;
605 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
606 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
610 PyObject
* _argo0
= 0;
611 char *_kwnames
[] = { "self", NULL
};
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
624 wxPy_BEGIN_ALLOW_THREADS
;
625 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
627 wxPy_END_ALLOW_THREADS
;
628 if (PyErr_Occurred()) return NULL
;
630 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
638 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
639 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
643 PyObject
* _argo0
= 0;
644 char *_kwnames
[] = { "self", NULL
};
647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
657 wxPy_BEGIN_ALLOW_THREADS
;
658 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
660 wxPy_END_ALLOW_THREADS
;
661 if (PyErr_Occurred()) return NULL
;
663 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
671 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
672 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
676 PyObject
* _argo0
= 0;
677 char *_kwnames
[] = { "self", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
690 wxPy_BEGIN_ALLOW_THREADS
;
691 _result
= (long )wxDirDialog_GetStyle(_arg0
);
693 wxPy_END_ALLOW_THREADS
;
694 if (PyErr_Occurred()) return NULL
;
695 } _resultobj
= Py_BuildValue("l",_result
);
699 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
700 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
705 PyObject
* _obj1
= 0;
706 char *_kwnames
[] = { "self","message", NULL
};
709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
719 #if PYTHON_API_VERSION >= 1009
720 char* tmpPtr
; int tmpSize
;
721 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
722 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
725 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
727 _arg1
= new wxString(tmpPtr
, tmpSize
);
729 if (!PyString_Check(_obj1
)) {
730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
733 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
737 wxPy_BEGIN_ALLOW_THREADS
;
738 wxDirDialog_SetMessage(_arg0
,*_arg1
);
740 wxPy_END_ALLOW_THREADS
;
741 if (PyErr_Occurred()) return NULL
;
742 } Py_INCREF(Py_None
);
743 _resultobj
= Py_None
;
751 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
752 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
756 PyObject
* _argo0
= 0;
757 PyObject
* _obj1
= 0;
758 char *_kwnames
[] = { "self","path", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
771 #if PYTHON_API_VERSION >= 1009
772 char* tmpPtr
; int tmpSize
;
773 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
777 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
779 _arg1
= new wxString(tmpPtr
, tmpSize
);
781 if (!PyString_Check(_obj1
)) {
782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
785 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
789 wxPy_BEGIN_ALLOW_THREADS
;
790 wxDirDialog_SetPath(_arg0
,*_arg1
);
792 wxPy_END_ALLOW_THREADS
;
793 if (PyErr_Occurred()) return NULL
;
794 } Py_INCREF(Py_None
);
795 _resultobj
= Py_None
;
803 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
804 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
808 PyObject
* _argo0
= 0;
809 char *_kwnames
[] = { "self", NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
822 wxPy_BEGIN_ALLOW_THREADS
;
823 _result
= (int )wxDirDialog_ShowModal(_arg0
);
825 wxPy_END_ALLOW_THREADS
;
826 if (PyErr_Occurred()) return NULL
;
827 } _resultobj
= Py_BuildValue("i",_result
);
831 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
834 src
= (wxFileDialog
*) ptr
;
835 dest
= (wxDialog
*) src
;
836 return (void *) dest
;
839 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) {
841 wxTopLevelWindow
*dest
;
842 src
= (wxFileDialog
*) ptr
;
843 dest
= (wxTopLevelWindow
*) src
;
844 return (void *) dest
;
847 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
850 src
= (wxFileDialog
*) ptr
;
851 dest
= (wxWindow
*) src
;
852 return (void *) dest
;
855 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
858 src
= (wxFileDialog
*) ptr
;
859 dest
= (wxEvtHandler
*) src
;
860 return (void *) dest
;
863 static void *SwigwxFileDialogTowxObject(void *ptr
) {
866 src
= (wxFileDialog
*) ptr
;
867 dest
= (wxObject
*) src
;
868 return (void *) dest
;
871 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
872 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
874 wxFileDialog
* _result
;
876 char * _arg1
= (char *) "Choose a file";
877 char * _arg2
= (char *) "";
878 char * _arg3
= (char *) "";
879 char * _arg4
= (char *) "*.*";
880 long _arg5
= (long ) 0;
881 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
882 PyObject
* _argo0
= 0;
884 PyObject
* _obj6
= 0;
885 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
901 if (! wxPoint_helper(_obj6
, &_arg6
))
905 wxPy_BEGIN_ALLOW_THREADS
;
906 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
908 wxPy_END_ALLOW_THREADS
;
909 if (PyErr_Occurred()) return NULL
;
911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
912 _resultobj
= Py_BuildValue("s",_ptemp
);
915 _resultobj
= Py_None
;
920 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
921 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
922 PyObject
* _resultobj
;
924 wxFileDialog
* _arg0
;
925 PyObject
* _argo0
= 0;
926 char *_kwnames
[] = { "self", NULL
};
929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
939 wxPy_BEGIN_ALLOW_THREADS
;
940 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
942 wxPy_END_ALLOW_THREADS
;
943 if (PyErr_Occurred()) return NULL
;
945 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
953 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
954 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 wxFileDialog
* _arg0
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
975 wxPy_END_ALLOW_THREADS
;
976 if (PyErr_Occurred()) return NULL
;
978 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
986 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
987 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
990 wxFileDialog
* _arg0
;
991 PyObject
* _argo0
= 0;
992 char *_kwnames
[] = { "self", NULL
};
995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
1005 wxPy_BEGIN_ALLOW_THREADS
;
1006 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
1008 wxPy_END_ALLOW_THREADS
;
1009 if (PyErr_Occurred()) return NULL
;
1010 } _resultobj
= Py_BuildValue("i",_result
);
1014 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
1015 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
* _resultobj
;
1018 wxFileDialog
* _arg0
;
1019 PyObject
* _argo0
= 0;
1020 char *_kwnames
[] = { "self", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
1036 wxPy_END_ALLOW_THREADS
;
1037 if (PyErr_Occurred()) return NULL
;
1039 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1047 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
1048 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1051 wxFileDialog
* _arg0
;
1052 PyObject
* _argo0
= 0;
1053 char *_kwnames
[] = { "self", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1069 wxPy_END_ALLOW_THREADS
;
1070 if (PyErr_Occurred()) return NULL
;
1072 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1080 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1081 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1084 wxFileDialog
* _arg0
;
1085 PyObject
* _argo0
= 0;
1086 char *_kwnames
[] = { "self", NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1099 wxPy_BEGIN_ALLOW_THREADS
;
1100 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1102 wxPy_END_ALLOW_THREADS
;
1103 if (PyErr_Occurred()) return NULL
;
1104 } _resultobj
= Py_BuildValue("l",_result
);
1108 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1109 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1112 wxFileDialog
* _arg0
;
1113 PyObject
* _argo0
= 0;
1114 char *_kwnames
[] = { "self", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1130 wxPy_END_ALLOW_THREADS
;
1131 if (PyErr_Occurred()) return NULL
;
1133 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1141 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1142 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1144 wxFileDialog
* _arg0
;
1146 PyObject
* _argo0
= 0;
1147 PyObject
* _obj1
= 0;
1148 char *_kwnames
[] = { "self","directory", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1161 #if PYTHON_API_VERSION >= 1009
1162 char* tmpPtr
; int tmpSize
;
1163 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1164 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1167 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1169 _arg1
= new wxString(tmpPtr
, tmpSize
);
1171 if (!PyString_Check(_obj1
)) {
1172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1175 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1179 wxPy_BEGIN_ALLOW_THREADS
;
1180 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1182 wxPy_END_ALLOW_THREADS
;
1183 if (PyErr_Occurred()) return NULL
;
1184 } Py_INCREF(Py_None
);
1185 _resultobj
= Py_None
;
1193 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1194 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
* _resultobj
;
1196 wxFileDialog
* _arg0
;
1198 PyObject
* _argo0
= 0;
1199 PyObject
* _obj1
= 0;
1200 char *_kwnames
[] = { "self","setfilename", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1213 #if PYTHON_API_VERSION >= 1009
1214 char* tmpPtr
; int tmpSize
;
1215 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1216 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1219 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1221 _arg1
= new wxString(tmpPtr
, tmpSize
);
1223 if (!PyString_Check(_obj1
)) {
1224 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1227 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1231 wxPy_BEGIN_ALLOW_THREADS
;
1232 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1234 wxPy_END_ALLOW_THREADS
;
1235 if (PyErr_Occurred()) return NULL
;
1236 } Py_INCREF(Py_None
);
1237 _resultobj
= Py_None
;
1245 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1246 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1248 wxFileDialog
* _arg0
;
1250 PyObject
* _argo0
= 0;
1251 char *_kwnames
[] = { "self","filterIndex", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1264 wxPy_BEGIN_ALLOW_THREADS
;
1265 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1267 wxPy_END_ALLOW_THREADS
;
1268 if (PyErr_Occurred()) return NULL
;
1269 } Py_INCREF(Py_None
);
1270 _resultobj
= Py_None
;
1274 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1275 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1277 wxFileDialog
* _arg0
;
1279 PyObject
* _argo0
= 0;
1280 PyObject
* _obj1
= 0;
1281 char *_kwnames
[] = { "self","message", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1294 #if PYTHON_API_VERSION >= 1009
1295 char* tmpPtr
; int tmpSize
;
1296 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1297 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1300 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1302 _arg1
= new wxString(tmpPtr
, tmpSize
);
1304 if (!PyString_Check(_obj1
)) {
1305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1308 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1312 wxPy_BEGIN_ALLOW_THREADS
;
1313 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1315 wxPy_END_ALLOW_THREADS
;
1316 if (PyErr_Occurred()) return NULL
;
1317 } Py_INCREF(Py_None
);
1318 _resultobj
= Py_None
;
1326 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1327 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1329 wxFileDialog
* _arg0
;
1331 PyObject
* _argo0
= 0;
1332 PyObject
* _obj1
= 0;
1333 char *_kwnames
[] = { "self","path", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1346 #if PYTHON_API_VERSION >= 1009
1347 char* tmpPtr
; int tmpSize
;
1348 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1352 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1354 _arg1
= new wxString(tmpPtr
, tmpSize
);
1356 if (!PyString_Check(_obj1
)) {
1357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1360 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 wxFileDialog_SetPath(_arg0
,*_arg1
);
1367 wxPy_END_ALLOW_THREADS
;
1368 if (PyErr_Occurred()) return NULL
;
1369 } Py_INCREF(Py_None
);
1370 _resultobj
= Py_None
;
1378 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1379 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1381 wxFileDialog
* _arg0
;
1383 PyObject
* _argo0
= 0;
1384 char *_kwnames
[] = { "self","style", NULL
};
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1397 wxPy_BEGIN_ALLOW_THREADS
;
1398 wxFileDialog_SetStyle(_arg0
,_arg1
);
1400 wxPy_END_ALLOW_THREADS
;
1401 if (PyErr_Occurred()) return NULL
;
1402 } Py_INCREF(Py_None
);
1403 _resultobj
= Py_None
;
1407 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1408 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
* _resultobj
;
1410 wxFileDialog
* _arg0
;
1412 PyObject
* _argo0
= 0;
1413 PyObject
* _obj1
= 0;
1414 char *_kwnames
[] = { "self","wildCard", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1427 #if PYTHON_API_VERSION >= 1009
1428 char* tmpPtr
; int tmpSize
;
1429 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1433 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1435 _arg1
= new wxString(tmpPtr
, tmpSize
);
1437 if (!PyString_Check(_obj1
)) {
1438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1441 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1448 wxPy_END_ALLOW_THREADS
;
1449 if (PyErr_Occurred()) return NULL
;
1450 } Py_INCREF(Py_None
);
1451 _resultobj
= Py_None
;
1459 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1460 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1463 wxFileDialog
* _arg0
;
1464 PyObject
* _argo0
= 0;
1465 char *_kwnames
[] = { "self", NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1478 wxPy_BEGIN_ALLOW_THREADS
;
1479 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1481 wxPy_END_ALLOW_THREADS
;
1482 if (PyErr_Occurred()) return NULL
;
1483 } _resultobj
= Py_BuildValue("i",_result
);
1487 static PyObject
* wxFileDialog_GetFilenames(wxFileDialog
*self
) {
1489 self
->GetFilenames(arr
);
1490 size_t count
= arr
.GetCount();
1491 PyObject
* listObj
= PyList_New(0);
1492 for(size_t x
=0; x
<count
; x
++) {
1493 PyObject
* name
= PyString_FromString(arr
[x
]);
1494 PyList_Append(listObj
, name
);
1498 static PyObject
*_wrap_wxFileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1501 wxFileDialog
* _arg0
;
1502 PyObject
* _argo0
= 0;
1503 char *_kwnames
[] = { "self", NULL
};
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))
1509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p.");
1516 wxPy_BEGIN_ALLOW_THREADS
;
1517 _result
= (PyObject
*)wxFileDialog_GetFilenames(_arg0
);
1519 wxPy_END_ALLOW_THREADS
;
1520 if (PyErr_Occurred()) return NULL
;
1522 _resultobj
= _result
;
1527 static PyObject
* wxFileDialog_GetPaths(wxFileDialog
*self
) {
1529 self
->GetPaths(arr
);
1530 size_t count
= arr
.GetCount();
1531 PyObject
* listObj
= PyList_New(0);
1532 for(size_t x
=0; x
<count
; x
++) {
1533 PyObject
* name
= PyString_FromString(arr
[x
]);
1534 PyList_Append(listObj
, name
);
1538 static PyObject
*_wrap_wxFileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1541 wxFileDialog
* _arg0
;
1542 PyObject
* _argo0
= 0;
1543 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= (PyObject
*)wxFileDialog_GetPaths(_arg0
);
1559 wxPy_END_ALLOW_THREADS
;
1560 if (PyErr_Occurred()) return NULL
;
1562 _resultobj
= _result
;
1567 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1568 wxSingleChoiceDialog
*src
;
1570 src
= (wxSingleChoiceDialog
*) ptr
;
1571 dest
= (wxDialog
*) src
;
1572 return (void *) dest
;
1575 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) {
1576 wxSingleChoiceDialog
*src
;
1577 wxTopLevelWindow
*dest
;
1578 src
= (wxSingleChoiceDialog
*) ptr
;
1579 dest
= (wxTopLevelWindow
*) src
;
1580 return (void *) dest
;
1583 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1584 wxSingleChoiceDialog
*src
;
1586 src
= (wxSingleChoiceDialog
*) ptr
;
1587 dest
= (wxWindow
*) src
;
1588 return (void *) dest
;
1591 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1592 wxSingleChoiceDialog
*src
;
1594 src
= (wxSingleChoiceDialog
*) ptr
;
1595 dest
= (wxEvtHandler
*) src
;
1596 return (void *) dest
;
1599 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) {
1600 wxSingleChoiceDialog
*src
;
1602 src
= (wxSingleChoiceDialog
*) ptr
;
1603 dest
= (wxObject
*) src
;
1604 return (void *) dest
;
1607 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*choices
,long style
,wxPoint
*pos
) {
1608 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1609 LCOUNT
, choices
, NULL
, style
, *pos
);
1612 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1614 wxSingleChoiceDialog
* _result
;
1620 long _arg5
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1621 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
1622 PyObject
* _argo0
= 0;
1623 PyObject
* _obj1
= 0;
1624 PyObject
* _obj2
= 0;
1625 PyObject
* _obj4
= 0;
1627 PyObject
* _obj6
= 0;
1628 char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1642 #if PYTHON_API_VERSION >= 1009
1643 char* tmpPtr
; int tmpSize
;
1644 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1645 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1648 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1650 _arg1
= new wxString(tmpPtr
, tmpSize
);
1652 if (!PyString_Check(_obj1
)) {
1653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1656 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1660 #if PYTHON_API_VERSION >= 1009
1661 char* tmpPtr
; int tmpSize
;
1662 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1666 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1668 _arg2
= new wxString(tmpPtr
, tmpSize
);
1670 if (!PyString_Check(_obj2
)) {
1671 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1674 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1679 _arg4
= wxString_LIST_helper(_obj4
);
1680 if (_arg4
== NULL
) {
1687 if (! wxPoint_helper(_obj6
, &_arg6
))
1692 _arg3
= PyList_Size(_obj4
);
1699 wxPy_BEGIN_ALLOW_THREADS
;
1700 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1702 wxPy_END_ALLOW_THREADS
;
1703 if (PyErr_Occurred()) return NULL
;
1705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1706 _resultobj
= Py_BuildValue("s",_ptemp
);
1709 _resultobj
= Py_None
;
1725 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1726 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1729 wxSingleChoiceDialog
* _arg0
;
1730 PyObject
* _argo0
= 0;
1731 char *_kwnames
[] = { "self", NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1744 wxPy_BEGIN_ALLOW_THREADS
;
1745 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1747 wxPy_END_ALLOW_THREADS
;
1748 if (PyErr_Occurred()) return NULL
;
1749 } _resultobj
= Py_BuildValue("i",_result
);
1753 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1754 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1757 wxSingleChoiceDialog
* _arg0
;
1758 PyObject
* _argo0
= 0;
1759 char *_kwnames
[] = { "self", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1775 wxPy_END_ALLOW_THREADS
;
1776 if (PyErr_Occurred()) return NULL
;
1778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1786 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1787 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1789 wxSingleChoiceDialog
* _arg0
;
1791 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self","sel", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1808 wxPy_END_ALLOW_THREADS
;
1809 if (PyErr_Occurred()) return NULL
;
1810 } Py_INCREF(Py_None
);
1811 _resultobj
= Py_None
;
1815 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1816 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1819 wxSingleChoiceDialog
* _arg0
;
1820 PyObject
* _argo0
= 0;
1821 char *_kwnames
[] = { "self", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1837 wxPy_END_ALLOW_THREADS
;
1838 if (PyErr_Occurred()) return NULL
;
1839 } _resultobj
= Py_BuildValue("i",_result
);
1843 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1844 wxTextEntryDialog
*src
;
1846 src
= (wxTextEntryDialog
*) ptr
;
1847 dest
= (wxDialog
*) src
;
1848 return (void *) dest
;
1851 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) {
1852 wxTextEntryDialog
*src
;
1853 wxTopLevelWindow
*dest
;
1854 src
= (wxTextEntryDialog
*) ptr
;
1855 dest
= (wxTopLevelWindow
*) src
;
1856 return (void *) dest
;
1859 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1860 wxTextEntryDialog
*src
;
1862 src
= (wxTextEntryDialog
*) ptr
;
1863 dest
= (wxWindow
*) src
;
1864 return (void *) dest
;
1867 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1868 wxTextEntryDialog
*src
;
1870 src
= (wxTextEntryDialog
*) ptr
;
1871 dest
= (wxEvtHandler
*) src
;
1872 return (void *) dest
;
1875 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) {
1876 wxTextEntryDialog
*src
;
1878 src
= (wxTextEntryDialog
*) ptr
;
1879 dest
= (wxObject
*) src
;
1880 return (void *) dest
;
1883 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1884 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1886 wxTextEntryDialog
* _result
;
1889 char * _arg2
= (char *) "Input Text";
1890 char * _arg3
= (char *) "";
1891 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1892 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
1893 PyObject
* _argo0
= 0;
1895 PyObject
* _obj5
= 0;
1896 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1912 if (! wxPoint_helper(_obj5
, &_arg5
))
1916 wxPy_BEGIN_ALLOW_THREADS
;
1917 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
1919 wxPy_END_ALLOW_THREADS
;
1920 if (PyErr_Occurred()) return NULL
;
1922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
1923 _resultobj
= Py_BuildValue("s",_ptemp
);
1926 _resultobj
= Py_None
;
1931 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1932 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1935 wxTextEntryDialog
* _arg0
;
1936 PyObject
* _argo0
= 0;
1937 char *_kwnames
[] = { "self", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
1953 wxPy_END_ALLOW_THREADS
;
1954 if (PyErr_Occurred()) return NULL
;
1956 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1964 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1965 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1967 wxTextEntryDialog
* _arg0
;
1969 PyObject
* _argo0
= 0;
1970 PyObject
* _obj1
= 0;
1971 char *_kwnames
[] = { "self","value", NULL
};
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
1977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1984 #if PYTHON_API_VERSION >= 1009
1985 char* tmpPtr
; int tmpSize
;
1986 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1987 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1990 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1992 _arg1
= new wxString(tmpPtr
, tmpSize
);
1994 if (!PyString_Check(_obj1
)) {
1995 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1998 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2002 wxPy_BEGIN_ALLOW_THREADS
;
2003 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
2005 wxPy_END_ALLOW_THREADS
;
2006 if (PyErr_Occurred()) return NULL
;
2007 } Py_INCREF(Py_None
);
2008 _resultobj
= Py_None
;
2016 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2017 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2020 wxTextEntryDialog
* _arg0
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
2038 wxPy_END_ALLOW_THREADS
;
2039 if (PyErr_Occurred()) return NULL
;
2040 } _resultobj
= Py_BuildValue("i",_result
);
2044 static void *SwigwxFontDataTowxObject(void *ptr
) {
2047 src
= (wxFontData
*) ptr
;
2048 dest
= (wxObject
*) src
;
2049 return (void *) dest
;
2052 #define new_wxFontData() (new wxFontData())
2053 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2055 wxFontData
* _result
;
2056 char *_kwnames
[] = { NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 _result
= (wxFontData
*)new_wxFontData();
2066 wxPy_END_ALLOW_THREADS
;
2067 if (PyErr_Occurred()) return NULL
;
2069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2070 _resultobj
= Py_BuildValue("s",_ptemp
);
2073 _resultobj
= Py_None
;
2078 #define delete_wxFontData(_swigobj) (delete _swigobj)
2079 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2082 PyObject
* _argo0
= 0;
2083 char *_kwnames
[] = { "self", NULL
};
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
2089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
2096 wxPy_BEGIN_ALLOW_THREADS
;
2097 delete_wxFontData(_arg0
);
2099 wxPy_END_ALLOW_THREADS
;
2100 if (PyErr_Occurred()) return NULL
;
2101 } Py_INCREF(Py_None
);
2102 _resultobj
= Py_None
;
2106 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
2107 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2111 PyObject
* _argo0
= 0;
2113 char *_kwnames
[] = { "self","enable", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
2125 _arg1
= (bool ) tempbool1
;
2127 wxPy_BEGIN_ALLOW_THREADS
;
2128 wxFontData_EnableEffects(_arg0
,_arg1
);
2130 wxPy_END_ALLOW_THREADS
;
2131 if (PyErr_Occurred()) return NULL
;
2132 } Py_INCREF(Py_None
);
2133 _resultobj
= Py_None
;
2137 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
2138 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
2159 wxPy_END_ALLOW_THREADS
;
2160 if (PyErr_Occurred()) return NULL
;
2161 } _resultobj
= Py_BuildValue("i",_result
);
2165 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
2166 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
2178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
2185 wxPy_BEGIN_ALLOW_THREADS
;
2186 _result
= new wxColour (wxFontData_GetColour(_arg0
));
2188 wxPy_END_ALLOW_THREADS
;
2189 if (PyErr_Occurred()) return NULL
;
2190 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2191 _resultobj
= Py_BuildValue("s",_ptemp
);
2195 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
2196 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2200 PyObject
* _argo0
= 0;
2201 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
2218 wxPy_END_ALLOW_THREADS
;
2219 if (PyErr_Occurred()) return NULL
;
2220 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2221 _resultobj
= Py_BuildValue("s",_ptemp
);
2225 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
2226 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2230 PyObject
* _argo0
= 0;
2231 char *_kwnames
[] = { "self", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
2237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
2244 wxPy_BEGIN_ALLOW_THREADS
;
2245 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
2247 wxPy_END_ALLOW_THREADS
;
2248 if (PyErr_Occurred()) return NULL
;
2249 } _resultobj
= Py_BuildValue("i",_result
);
2253 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
2254 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
* _resultobj
;
2258 PyObject
* _argo0
= 0;
2259 char *_kwnames
[] = { "self", NULL
};
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
2273 wxPy_BEGIN_ALLOW_THREADS
;
2274 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2276 wxPy_END_ALLOW_THREADS
;
2277 if (PyErr_Occurred()) return NULL
;
2278 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2279 _resultobj
= Py_BuildValue("s",_ptemp
);
2283 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2284 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2288 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2302 wxPy_BEGIN_ALLOW_THREADS
;
2303 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2305 wxPy_END_ALLOW_THREADS
;
2306 if (PyErr_Occurred()) return NULL
;
2307 } _resultobj
= Py_BuildValue("i",_result
);
2311 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2312 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2316 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2330 _arg1
= (bool ) tempbool1
;
2332 wxPy_BEGIN_ALLOW_THREADS
;
2333 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2335 wxPy_END_ALLOW_THREADS
;
2336 if (PyErr_Occurred()) return NULL
;
2337 } Py_INCREF(Py_None
);
2338 _resultobj
= Py_None
;
2342 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2343 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2347 PyObject
* _argo0
= 0;
2348 PyObject
* _argo1
= 0;
2349 char *_kwnames
[] = { "self","font", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2372 wxPy_END_ALLOW_THREADS
;
2373 if (PyErr_Occurred()) return NULL
;
2374 } Py_INCREF(Py_None
);
2375 _resultobj
= Py_None
;
2379 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2380 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2384 PyObject
* _argo0
= 0;
2386 PyObject
* _obj1
= 0;
2387 char *_kwnames
[] = { "self","colour", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))
2393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2401 if (! wxColour_helper(_obj1
, &_arg1
))
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 wxFontData_SetColour(_arg0
,*_arg1
);
2408 wxPy_END_ALLOW_THREADS
;
2409 if (PyErr_Occurred()) return NULL
;
2410 } Py_INCREF(Py_None
);
2411 _resultobj
= Py_None
;
2415 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2416 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2420 PyObject
* _argo0
= 0;
2421 PyObject
* _argo1
= 0;
2422 char *_kwnames
[] = { "self","font", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
2435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2442 wxPy_BEGIN_ALLOW_THREADS
;
2443 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2445 wxPy_END_ALLOW_THREADS
;
2446 if (PyErr_Occurred()) return NULL
;
2447 } Py_INCREF(Py_None
);
2448 _resultobj
= Py_None
;
2452 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2453 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2458 PyObject
* _argo0
= 0;
2459 char *_kwnames
[] = { "self","min","max", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2475 wxPy_END_ALLOW_THREADS
;
2476 if (PyErr_Occurred()) return NULL
;
2477 } Py_INCREF(Py_None
);
2478 _resultobj
= Py_None
;
2482 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2483 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2487 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self","showHelp", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2501 _arg1
= (bool ) tempbool1
;
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 wxFontData_SetShowHelp(_arg0
,_arg1
);
2506 wxPy_END_ALLOW_THREADS
;
2507 if (PyErr_Occurred()) return NULL
;
2508 } Py_INCREF(Py_None
);
2509 _resultobj
= Py_None
;
2513 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2516 src
= (wxFontDialog
*) ptr
;
2517 dest
= (wxDialog
*) src
;
2518 return (void *) dest
;
2521 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) {
2523 wxTopLevelWindow
*dest
;
2524 src
= (wxFontDialog
*) ptr
;
2525 dest
= (wxTopLevelWindow
*) src
;
2526 return (void *) dest
;
2529 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2532 src
= (wxFontDialog
*) ptr
;
2533 dest
= (wxWindow
*) src
;
2534 return (void *) dest
;
2537 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2540 src
= (wxFontDialog
*) ptr
;
2541 dest
= (wxEvtHandler
*) src
;
2542 return (void *) dest
;
2545 static void *SwigwxFontDialogTowxObject(void *ptr
) {
2548 src
= (wxFontDialog
*) ptr
;
2549 dest
= (wxObject
*) src
;
2550 return (void *) dest
;
2553 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2554 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2556 wxFontDialog
* _result
;
2559 PyObject
* _argo0
= 0;
2560 PyObject
* _argo1
= 0;
2561 char *_kwnames
[] = { "parent","data", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2582 wxPy_BEGIN_ALLOW_THREADS
;
2583 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2585 wxPy_END_ALLOW_THREADS
;
2586 if (PyErr_Occurred()) return NULL
;
2588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2589 _resultobj
= Py_BuildValue("s",_ptemp
);
2592 _resultobj
= Py_None
;
2597 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2598 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2600 wxFontData
* _result
;
2601 wxFontDialog
* _arg0
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2617 wxPy_BEGIN_ALLOW_THREADS
;
2618 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2619 _result
= (wxFontData
*) &_result_ref
;
2621 wxPy_END_ALLOW_THREADS
;
2622 if (PyErr_Occurred()) return NULL
;
2624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2625 _resultobj
= Py_BuildValue("s",_ptemp
);
2628 _resultobj
= Py_None
;
2633 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2634 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2637 wxFontDialog
* _arg0
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2652 wxPy_BEGIN_ALLOW_THREADS
;
2653 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2655 wxPy_END_ALLOW_THREADS
;
2656 if (PyErr_Occurred()) return NULL
;
2657 } _resultobj
= Py_BuildValue("i",_result
);
2661 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2662 wxMessageDialog
*src
;
2664 src
= (wxMessageDialog
*) ptr
;
2665 dest
= (wxDialog
*) src
;
2666 return (void *) dest
;
2669 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) {
2670 wxMessageDialog
*src
;
2671 wxTopLevelWindow
*dest
;
2672 src
= (wxMessageDialog
*) ptr
;
2673 dest
= (wxTopLevelWindow
*) src
;
2674 return (void *) dest
;
2677 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2678 wxMessageDialog
*src
;
2680 src
= (wxMessageDialog
*) ptr
;
2681 dest
= (wxWindow
*) src
;
2682 return (void *) dest
;
2685 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2686 wxMessageDialog
*src
;
2688 src
= (wxMessageDialog
*) ptr
;
2689 dest
= (wxEvtHandler
*) src
;
2690 return (void *) dest
;
2693 static void *SwigwxMessageDialogTowxObject(void *ptr
) {
2694 wxMessageDialog
*src
;
2696 src
= (wxMessageDialog
*) ptr
;
2697 dest
= (wxObject
*) src
;
2698 return (void *) dest
;
2701 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2702 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2704 wxMessageDialog
* _result
;
2707 char * _arg2
= (char *) "Message box";
2708 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2709 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2710 PyObject
* _argo0
= 0;
2712 PyObject
* _obj4
= 0;
2713 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2729 if (! wxPoint_helper(_obj4
, &_arg4
))
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2736 wxPy_END_ALLOW_THREADS
;
2737 if (PyErr_Occurred()) return NULL
;
2739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2740 _resultobj
= Py_BuildValue("s",_ptemp
);
2743 _resultobj
= Py_None
;
2748 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2749 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
* _resultobj
;
2752 wxMessageDialog
* _arg0
;
2753 PyObject
* _argo0
= 0;
2754 char *_kwnames
[] = { "self", NULL
};
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2770 wxPy_END_ALLOW_THREADS
;
2771 if (PyErr_Occurred()) return NULL
;
2772 } _resultobj
= Py_BuildValue("i",_result
);
2776 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2777 wxProgressDialog
*src
;
2779 src
= (wxProgressDialog
*) ptr
;
2780 dest
= (wxFrame
*) src
;
2781 return (void *) dest
;
2784 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) {
2785 wxProgressDialog
*src
;
2786 wxTopLevelWindow
*dest
;
2787 src
= (wxProgressDialog
*) ptr
;
2788 dest
= (wxTopLevelWindow
*) src
;
2789 return (void *) dest
;
2792 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2793 wxProgressDialog
*src
;
2795 src
= (wxProgressDialog
*) ptr
;
2796 dest
= (wxWindow
*) src
;
2797 return (void *) dest
;
2800 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
2801 wxProgressDialog
*src
;
2803 src
= (wxProgressDialog
*) ptr
;
2804 dest
= (wxEvtHandler
*) src
;
2805 return (void *) dest
;
2808 static void *SwigwxProgressDialogTowxObject(void *ptr
) {
2809 wxProgressDialog
*src
;
2811 src
= (wxProgressDialog
*) ptr
;
2812 dest
= (wxObject
*) src
;
2813 return (void *) dest
;
2816 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2817 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2819 wxProgressDialog
* _result
;
2822 int _arg2
= (int ) 100;
2823 wxWindow
* _arg3
= (wxWindow
*) NULL
;
2824 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
2825 PyObject
* _obj0
= 0;
2826 PyObject
* _obj1
= 0;
2827 PyObject
* _argo3
= 0;
2828 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
2835 #if PYTHON_API_VERSION >= 1009
2836 char* tmpPtr
; int tmpSize
;
2837 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2841 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2843 _arg0
= new wxString(tmpPtr
, tmpSize
);
2845 if (!PyString_Check(_obj0
)) {
2846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2849 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2853 #if PYTHON_API_VERSION >= 1009
2854 char* tmpPtr
; int tmpSize
;
2855 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2859 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2861 _arg1
= new wxString(tmpPtr
, tmpSize
);
2863 if (!PyString_Check(_obj1
)) {
2864 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2867 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2871 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2878 wxPy_BEGIN_ALLOW_THREADS
;
2879 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2881 wxPy_END_ALLOW_THREADS
;
2882 if (PyErr_Occurred()) return NULL
;
2884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
2885 _resultobj
= Py_BuildValue("s",_ptemp
);
2888 _resultobj
= Py_None
;
2901 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2902 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
* _resultobj
;
2905 wxProgressDialog
* _arg0
;
2906 int _arg1
= (int ) -1;
2907 char * _arg2
= (char *) NULL
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self","value","newmsg", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2922 wxPy_BEGIN_ALLOW_THREADS
;
2923 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
2925 wxPy_END_ALLOW_THREADS
;
2926 if (PyErr_Occurred()) return NULL
;
2927 } _resultobj
= Py_BuildValue("i",_result
);
2931 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2932 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2934 wxProgressDialog
* _arg0
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
2949 wxPy_BEGIN_ALLOW_THREADS
;
2950 wxProgressDialog_Resume(_arg0
);
2952 wxPy_END_ALLOW_THREADS
;
2953 if (PyErr_Occurred()) return NULL
;
2954 } Py_INCREF(Py_None
);
2955 _resultobj
= Py_None
;
2959 static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr
) {
2960 wxFindDialogEvent
*src
;
2961 wxCommandEvent
*dest
;
2962 src
= (wxFindDialogEvent
*) ptr
;
2963 dest
= (wxCommandEvent
*) src
;
2964 return (void *) dest
;
2967 static void *SwigwxFindDialogEventTowxEvent(void *ptr
) {
2968 wxFindDialogEvent
*src
;
2970 src
= (wxFindDialogEvent
*) ptr
;
2971 dest
= (wxEvent
*) src
;
2972 return (void *) dest
;
2975 static void *SwigwxFindDialogEventTowxObject(void *ptr
) {
2976 wxFindDialogEvent
*src
;
2978 src
= (wxFindDialogEvent
*) ptr
;
2979 dest
= (wxObject
*) src
;
2980 return (void *) dest
;
2983 #define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1))
2984 static PyObject
*_wrap_new_wxFindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2986 wxFindDialogEvent
* _result
;
2987 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2988 int _arg1
= (int ) 0;
2989 char *_kwnames
[] = { "commandType","id", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxFindDialogEvent",_kwnames
,&_arg0
,&_arg1
))
2996 wxPy_BEGIN_ALLOW_THREADS
;
2997 _result
= (wxFindDialogEvent
*)new_wxFindDialogEvent(_arg0
,_arg1
);
2999 wxPy_END_ALLOW_THREADS
;
3000 if (PyErr_Occurred()) return NULL
;
3002 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindDialogEvent_p");
3003 _resultobj
= Py_BuildValue("s",_ptemp
);
3006 _resultobj
= Py_None
;
3011 #define wxFindDialogEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
3012 static PyObject
*_wrap_wxFindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3015 wxFindDialogEvent
* _arg0
;
3016 PyObject
* _argo0
= 0;
3017 char *_kwnames
[] = { "self", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFlags",_kwnames
,&_argo0
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p.");
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 _result
= (int )wxFindDialogEvent_GetFlags(_arg0
);
3033 wxPy_END_ALLOW_THREADS
;
3034 if (PyErr_Occurred()) return NULL
;
3035 } _resultobj
= Py_BuildValue("i",_result
);
3039 #define wxFindDialogEvent_GetFindString(_swigobj) (_swigobj->GetFindString())
3040 static PyObject
*_wrap_wxFindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3043 wxFindDialogEvent
* _arg0
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "self", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFindString",_kwnames
,&_argo0
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p.");
3058 wxPy_BEGIN_ALLOW_THREADS
;
3059 _result
= new wxString (wxFindDialogEvent_GetFindString(_arg0
));
3061 wxPy_END_ALLOW_THREADS
;
3062 if (PyErr_Occurred()) return NULL
;
3064 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3072 #define wxFindDialogEvent_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3073 static PyObject
*_wrap_wxFindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
* _resultobj
;
3076 wxFindDialogEvent
* _arg0
;
3077 PyObject
* _argo0
= 0;
3078 char *_kwnames
[] = { "self", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetReplaceString",_kwnames
,&_argo0
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p.");
3091 wxPy_BEGIN_ALLOW_THREADS
;
3092 const wxString
& _result_ref
= wxFindDialogEvent_GetReplaceString(_arg0
);
3093 _result
= (wxString
*) &_result_ref
;
3095 wxPy_END_ALLOW_THREADS
;
3096 if (PyErr_Occurred()) return NULL
;
3098 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3103 #define wxFindDialogEvent_GetDialog(_swigobj) (_swigobj->GetDialog())
3104 static PyObject
*_wrap_wxFindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3106 wxFindReplaceDialog
* _result
;
3107 wxFindDialogEvent
* _arg0
;
3108 PyObject
* _argo0
= 0;
3109 char *_kwnames
[] = { "self", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetDialog",_kwnames
,&_argo0
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p.");
3123 wxPy_BEGIN_ALLOW_THREADS
;
3124 _result
= (wxFindReplaceDialog
*)wxFindDialogEvent_GetDialog(_arg0
);
3126 wxPy_END_ALLOW_THREADS
;
3127 if (PyErr_Occurred()) return NULL
;
3129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3130 _resultobj
= Py_BuildValue("s",_ptemp
);
3133 _resultobj
= Py_None
;
3138 #define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3139 static PyObject
*_wrap_wxFindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3141 wxFindDialogEvent
* _arg0
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self","flags", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindDialogEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p.");
3157 wxPy_BEGIN_ALLOW_THREADS
;
3158 wxFindDialogEvent_SetFlags(_arg0
,_arg1
);
3160 wxPy_END_ALLOW_THREADS
;
3161 if (PyErr_Occurred()) return NULL
;
3162 } Py_INCREF(Py_None
);
3163 _resultobj
= Py_None
;
3167 #define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3168 static PyObject
*_wrap_wxFindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3170 wxFindDialogEvent
* _arg0
;
3172 PyObject
* _argo0
= 0;
3173 PyObject
* _obj1
= 0;
3174 char *_kwnames
[] = { "self","str", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p.");
3187 #if PYTHON_API_VERSION >= 1009
3188 char* tmpPtr
; int tmpSize
;
3189 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3193 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3195 _arg1
= new wxString(tmpPtr
, tmpSize
);
3197 if (!PyString_Check(_obj1
)) {
3198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3201 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3205 wxPy_BEGIN_ALLOW_THREADS
;
3206 wxFindDialogEvent_SetFindString(_arg0
,*_arg1
);
3208 wxPy_END_ALLOW_THREADS
;
3209 if (PyErr_Occurred()) return NULL
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3219 #define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3220 static PyObject
*_wrap_wxFindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3222 wxFindDialogEvent
* _arg0
;
3224 PyObject
* _argo0
= 0;
3225 PyObject
* _obj1
= 0;
3226 char *_kwnames
[] = { "self","str", NULL
};
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p.");
3239 #if PYTHON_API_VERSION >= 1009
3240 char* tmpPtr
; int tmpSize
;
3241 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3245 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3247 _arg1
= new wxString(tmpPtr
, tmpSize
);
3249 if (!PyString_Check(_obj1
)) {
3250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3253 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3257 wxPy_BEGIN_ALLOW_THREADS
;
3258 wxFindDialogEvent_SetReplaceString(_arg0
,*_arg1
);
3260 wxPy_END_ALLOW_THREADS
;
3261 if (PyErr_Occurred()) return NULL
;
3262 } Py_INCREF(Py_None
);
3263 _resultobj
= Py_None
;
3271 static void *SwigwxFindReplaceDataTowxObject(void *ptr
) {
3272 wxFindReplaceData
*src
;
3274 src
= (wxFindReplaceData
*) ptr
;
3275 dest
= (wxObject
*) src
;
3276 return (void *) dest
;
3279 #define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0))
3280 static PyObject
*_wrap_new_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3282 wxFindReplaceData
* _result
;
3283 int _arg0
= (int ) 0;
3284 char *_kwnames
[] = { "flags", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFindReplaceData",_kwnames
,&_arg0
))
3291 wxPy_BEGIN_ALLOW_THREADS
;
3292 _result
= (wxFindReplaceData
*)new_wxFindReplaceData(_arg0
);
3294 wxPy_END_ALLOW_THREADS
;
3295 if (PyErr_Occurred()) return NULL
;
3297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3298 _resultobj
= Py_BuildValue("s",_ptemp
);
3301 _resultobj
= Py_None
;
3306 #define delete_wxFindReplaceData(_swigobj) (delete _swigobj)
3307 static PyObject
*_wrap_delete_wxFindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3309 wxFindReplaceData
* _arg0
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self", NULL
};
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFindReplaceData",_kwnames
,&_argo0
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p.");
3324 wxPy_BEGIN_ALLOW_THREADS
;
3325 delete_wxFindReplaceData(_arg0
);
3327 wxPy_END_ALLOW_THREADS
;
3328 if (PyErr_Occurred()) return NULL
;
3329 } Py_INCREF(Py_None
);
3330 _resultobj
= Py_None
;
3334 #define wxFindReplaceData_GetFindString(_swigobj) (_swigobj->GetFindString())
3335 static PyObject
*_wrap_wxFindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3338 wxFindReplaceData
* _arg0
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFindString",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 const wxString
& _result_ref
= wxFindReplaceData_GetFindString(_arg0
);
3355 _result
= (wxString
*) &_result_ref
;
3357 wxPy_END_ALLOW_THREADS
;
3358 if (PyErr_Occurred()) return NULL
;
3360 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3365 #define wxFindReplaceData_GetReplaceString(_swigobj) (_swigobj->GetReplaceString())
3366 static PyObject
*_wrap_wxFindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3369 wxFindReplaceData
* _arg0
;
3370 PyObject
* _argo0
= 0;
3371 char *_kwnames
[] = { "self", NULL
};
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetReplaceString",_kwnames
,&_argo0
))
3377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p.");
3384 wxPy_BEGIN_ALLOW_THREADS
;
3385 const wxString
& _result_ref
= wxFindReplaceData_GetReplaceString(_arg0
);
3386 _result
= (wxString
*) &_result_ref
;
3388 wxPy_END_ALLOW_THREADS
;
3389 if (PyErr_Occurred()) return NULL
;
3391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3396 #define wxFindReplaceData_GetFlags(_swigobj) (_swigobj->GetFlags())
3397 static PyObject
*_wrap_wxFindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
* _resultobj
;
3400 wxFindReplaceData
* _arg0
;
3401 PyObject
* _argo0
= 0;
3402 char *_kwnames
[] = { "self", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFlags",_kwnames
,&_argo0
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p.");
3415 wxPy_BEGIN_ALLOW_THREADS
;
3416 _result
= (int )wxFindReplaceData_GetFlags(_arg0
);
3418 wxPy_END_ALLOW_THREADS
;
3419 if (PyErr_Occurred()) return NULL
;
3420 } _resultobj
= Py_BuildValue("i",_result
);
3424 #define wxFindReplaceData_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
3425 static PyObject
*_wrap_wxFindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3427 wxFindReplaceData
* _arg0
;
3429 PyObject
* _argo0
= 0;
3430 char *_kwnames
[] = { "self","flags", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindReplaceData_SetFlags",_kwnames
,&_argo0
,&_arg1
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p.");
3443 wxPy_BEGIN_ALLOW_THREADS
;
3444 wxFindReplaceData_SetFlags(_arg0
,_arg1
);
3446 wxPy_END_ALLOW_THREADS
;
3447 if (PyErr_Occurred()) return NULL
;
3448 } Py_INCREF(Py_None
);
3449 _resultobj
= Py_None
;
3453 #define wxFindReplaceData_SetFindString(_swigobj,_swigarg0) (_swigobj->SetFindString(_swigarg0))
3454 static PyObject
*_wrap_wxFindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxFindReplaceData
* _arg0
;
3458 PyObject
* _argo0
= 0;
3459 PyObject
* _obj1
= 0;
3460 char *_kwnames
[] = { "self","str", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetFindString",_kwnames
,&_argo0
,&_obj1
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p.");
3473 #if PYTHON_API_VERSION >= 1009
3474 char* tmpPtr
; int tmpSize
;
3475 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3476 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3479 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3481 _arg1
= new wxString(tmpPtr
, tmpSize
);
3483 if (!PyString_Check(_obj1
)) {
3484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3487 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3491 wxPy_BEGIN_ALLOW_THREADS
;
3492 wxFindReplaceData_SetFindString(_arg0
,*_arg1
);
3494 wxPy_END_ALLOW_THREADS
;
3495 if (PyErr_Occurred()) return NULL
;
3496 } Py_INCREF(Py_None
);
3497 _resultobj
= Py_None
;
3505 #define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0) (_swigobj->SetReplaceString(_swigarg0))
3506 static PyObject
*_wrap_wxFindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3508 wxFindReplaceData
* _arg0
;
3510 PyObject
* _argo0
= 0;
3511 PyObject
* _obj1
= 0;
3512 char *_kwnames
[] = { "self","str", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))
3518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p.");
3525 #if PYTHON_API_VERSION >= 1009
3526 char* tmpPtr
; int tmpSize
;
3527 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3531 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3533 _arg1
= new wxString(tmpPtr
, tmpSize
);
3535 if (!PyString_Check(_obj1
)) {
3536 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3539 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3543 wxPy_BEGIN_ALLOW_THREADS
;
3544 wxFindReplaceData_SetReplaceString(_arg0
,*_arg1
);
3546 wxPy_END_ALLOW_THREADS
;
3547 if (PyErr_Occurred()) return NULL
;
3548 } Py_INCREF(Py_None
);
3549 _resultobj
= Py_None
;
3557 static void *SwigwxFindReplaceDialogTowxDialog(void *ptr
) {
3558 wxFindReplaceDialog
*src
;
3560 src
= (wxFindReplaceDialog
*) ptr
;
3561 dest
= (wxDialog
*) src
;
3562 return (void *) dest
;
3565 static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr
) {
3566 wxFindReplaceDialog
*src
;
3567 wxTopLevelWindow
*dest
;
3568 src
= (wxFindReplaceDialog
*) ptr
;
3569 dest
= (wxTopLevelWindow
*) src
;
3570 return (void *) dest
;
3573 static void *SwigwxFindReplaceDialogTowxWindow(void *ptr
) {
3574 wxFindReplaceDialog
*src
;
3576 src
= (wxFindReplaceDialog
*) ptr
;
3577 dest
= (wxWindow
*) src
;
3578 return (void *) dest
;
3581 static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr
) {
3582 wxFindReplaceDialog
*src
;
3584 src
= (wxFindReplaceDialog
*) ptr
;
3585 dest
= (wxEvtHandler
*) src
;
3586 return (void *) dest
;
3589 static void *SwigwxFindReplaceDialogTowxObject(void *ptr
) {
3590 wxFindReplaceDialog
*src
;
3592 src
= (wxFindReplaceDialog
*) ptr
;
3593 dest
= (wxObject
*) src
;
3594 return (void *) dest
;
3597 #define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3598 static PyObject
*_wrap_new_wxFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
* _resultobj
;
3600 wxFindReplaceDialog
* _result
;
3602 wxFindReplaceData
* _arg1
;
3604 int _arg3
= (int ) 0;
3605 PyObject
* _argo0
= 0;
3606 PyObject
* _argo1
= 0;
3607 PyObject
* _obj2
= 0;
3608 char *_kwnames
[] = { "parent","data","title","style", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:new_wxFindReplaceDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p.");
3622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p.");
3629 #if PYTHON_API_VERSION >= 1009
3630 char* tmpPtr
; int tmpSize
;
3631 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3635 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3637 _arg2
= new wxString(tmpPtr
, tmpSize
);
3639 if (!PyString_Check(_obj2
)) {
3640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3643 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3647 wxPy_BEGIN_ALLOW_THREADS
;
3648 _result
= (wxFindReplaceDialog
*)new_wxFindReplaceDialog(_arg0
,_arg1
,*_arg2
,_arg3
);
3650 wxPy_END_ALLOW_THREADS
;
3651 if (PyErr_Occurred()) return NULL
;
3653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3654 _resultobj
= Py_BuildValue("s",_ptemp
);
3657 _resultobj
= Py_None
;
3666 #define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog())
3667 static PyObject
*_wrap_new_wxPreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3669 wxFindReplaceDialog
* _result
;
3670 char *_kwnames
[] = { NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFindReplaceDialog",_kwnames
))
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 _result
= (wxFindReplaceDialog
*)new_wxPreFindReplaceDialog();
3680 wxPy_END_ALLOW_THREADS
;
3681 if (PyErr_Occurred()) return NULL
;
3683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p");
3684 _resultobj
= Py_BuildValue("s",_ptemp
);
3687 _resultobj
= Py_None
;
3692 #define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3693 static PyObject
*_wrap_wxFindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 wxFindReplaceDialog
* _arg0
;
3698 wxFindReplaceData
* _arg2
;
3700 int _arg4
= (int ) 0;
3701 PyObject
* _argo0
= 0;
3702 PyObject
* _argo1
= 0;
3703 PyObject
* _argo2
= 0;
3704 PyObject
* _obj3
= 0;
3705 char *_kwnames
[] = { "self","parent","data","title","style", NULL
};
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|i:wxFindReplaceDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
))
3711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p.");
3718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p.");
3725 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFindReplaceData_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p.");
3732 #if PYTHON_API_VERSION >= 1009
3733 char* tmpPtr
; int tmpSize
;
3734 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3735 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3738 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3740 _arg3
= new wxString(tmpPtr
, tmpSize
);
3742 if (!PyString_Check(_obj3
)) {
3743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3746 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3750 wxPy_BEGIN_ALLOW_THREADS
;
3751 _result
= (bool )wxFindReplaceDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3753 wxPy_END_ALLOW_THREADS
;
3754 if (PyErr_Occurred()) return NULL
;
3755 } _resultobj
= Py_BuildValue("i",_result
);
3763 #define wxFindReplaceDialog_GetData(_swigobj) (_swigobj->GetData())
3764 static PyObject
*_wrap_wxFindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3766 wxFindReplaceData
* _result
;
3767 wxFindReplaceDialog
* _arg0
;
3768 PyObject
* _argo0
= 0;
3769 char *_kwnames
[] = { "self", NULL
};
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceDialog_GetData",_kwnames
,&_argo0
))
3776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p.");
3783 wxPy_BEGIN_ALLOW_THREADS
;
3784 _result
= (wxFindReplaceData
*)wxFindReplaceDialog_GetData(_arg0
);
3786 wxPy_END_ALLOW_THREADS
;
3787 if (PyErr_Occurred()) return NULL
;
3789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p");
3790 _resultobj
= Py_BuildValue("s",_ptemp
);
3793 _resultobj
= Py_None
;
3798 #define wxFindReplaceDialog_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3799 static PyObject
*_wrap_wxFindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3801 wxFindReplaceDialog
* _arg0
;
3802 wxFindReplaceData
* _arg1
;
3803 PyObject
* _argo0
= 0;
3804 PyObject
* _argo1
= 0;
3805 char *_kwnames
[] = { "self","data", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceDialog_SetData",_kwnames
,&_argo0
,&_argo1
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p.");
3818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p.");
3825 wxPy_BEGIN_ALLOW_THREADS
;
3826 wxFindReplaceDialog_SetData(_arg0
,_arg1
);
3828 wxPy_END_ALLOW_THREADS
;
3829 if (PyErr_Occurred()) return NULL
;
3830 } Py_INCREF(Py_None
);
3831 _resultobj
= Py_None
;
3835 static PyMethodDef cmndlgscMethods
[] = {
3836 { "wxFindReplaceDialog_SetData", (PyCFunction
) _wrap_wxFindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3837 { "wxFindReplaceDialog_GetData", (PyCFunction
) _wrap_wxFindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3838 { "wxFindReplaceDialog_Create", (PyCFunction
) _wrap_wxFindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
3839 { "new_wxPreFindReplaceDialog", (PyCFunction
) _wrap_new_wxPreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3840 { "new_wxFindReplaceDialog", (PyCFunction
) _wrap_new_wxFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3841 { "wxFindReplaceData_SetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3842 { "wxFindReplaceData_SetFindString", (PyCFunction
) _wrap_wxFindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3843 { "wxFindReplaceData_SetFlags", (PyCFunction
) _wrap_wxFindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3844 { "wxFindReplaceData_GetFlags", (PyCFunction
) _wrap_wxFindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3845 { "wxFindReplaceData_GetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3846 { "wxFindReplaceData_GetFindString", (PyCFunction
) _wrap_wxFindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3847 { "delete_wxFindReplaceData", (PyCFunction
) _wrap_delete_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3848 { "new_wxFindReplaceData", (PyCFunction
) _wrap_new_wxFindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
3849 { "wxFindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3850 { "wxFindDialogEvent_SetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3851 { "wxFindDialogEvent_SetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3852 { "wxFindDialogEvent_GetDialog", (PyCFunction
) _wrap_wxFindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
3853 { "wxFindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
3854 { "wxFindDialogEvent_GetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
3855 { "wxFindDialogEvent_GetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3856 { "new_wxFindDialogEvent", (PyCFunction
) _wrap_new_wxFindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
3857 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
3858 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
3859 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
3860 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3861 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
3862 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3863 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
3864 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
3865 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
3866 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
3867 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
3868 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3869 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
3870 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
3871 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
3872 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
3873 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
3874 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
3875 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3876 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
3877 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
3878 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
3879 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
3880 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3881 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
3882 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
3883 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
3884 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3885 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3886 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
3887 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3888 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
3889 { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
3890 { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3891 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3892 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
3893 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3894 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
3895 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3896 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
3897 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
3898 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
3899 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
3900 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3901 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
3902 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3903 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
3904 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
3905 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
3906 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
3907 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3908 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
3909 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3910 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3911 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
3912 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
3913 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
3914 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
3915 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
3916 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
3917 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3918 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
3919 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3920 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
3921 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
3922 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
3923 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3924 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
3931 * This table is used by the pointer type-checker
3933 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3934 { "_wxEvent","_class_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
3935 { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
3936 { "_signed_long","_long",0},
3937 { "_wxPrintQuality","_wxCoord",0},
3938 { "_wxPrintQuality","_int",0},
3939 { "_wxPrintQuality","_signed_int",0},
3940 { "_wxPrintQuality","_unsigned_int",0},
3941 { "_wxPrintQuality","_wxWindowID",0},
3942 { "_wxPrintQuality","_uint",0},
3943 { "_wxPrintQuality","_EBool",0},
3944 { "_wxPrintQuality","_size_t",0},
3945 { "_wxPrintQuality","_time_t",0},
3946 { "_class_wxEvtHandler","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
3947 { "_class_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
3948 { "_class_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3949 { "_class_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3950 { "_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3951 { "_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3952 { "_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3953 { "_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3954 { "_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3955 { "_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3956 { "_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3957 { "_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3958 { "_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3959 { "_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3960 { "_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3961 { "_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3962 { "_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3963 { "_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3964 { "_byte","_unsigned_char",0},
3965 { "_long","_unsigned_long",0},
3966 { "_long","_signed_long",0},
3967 { "_class_wxObject","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
3968 { "_class_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
3969 { "_class_wxObject","_class_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
3970 { "_class_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
3971 { "_class_wxObject","_class_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
3972 { "_class_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
3973 { "_class_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3974 { "_class_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
3975 { "_class_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3976 { "_class_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
3977 { "_class_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject
},
3978 { "_class_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
3979 { "_class_wxObject","_class_wxFontData",SwigwxFontDataTowxObject
},
3980 { "_class_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
3981 { "_class_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3982 { "_class_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
3983 { "_class_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3984 { "_class_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
3985 { "_class_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject
},
3986 { "_class_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
3987 { "_class_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject
},
3988 { "_class_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
3989 { "_class_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject
},
3990 { "_class_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
3991 { "_class_wxObject","_class_wxColourData",SwigwxColourDataTowxObject
},
3992 { "_class_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
3993 { "_size_t","_wxCoord",0},
3994 { "_size_t","_wxPrintQuality",0},
3995 { "_size_t","_time_t",0},
3996 { "_size_t","_unsigned_int",0},
3997 { "_size_t","_int",0},
3998 { "_size_t","_wxWindowID",0},
3999 { "_size_t","_uint",0},
4000 { "_wxTopLevelWindow","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
4001 { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
4002 { "_wxTopLevelWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
4003 { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
4004 { "_wxTopLevelWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
4005 { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
4006 { "_wxTopLevelWindow","_class_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
4007 { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
4008 { "_wxTopLevelWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
4009 { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
4010 { "_wxTopLevelWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
4011 { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
4012 { "_wxTopLevelWindow","_class_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
4013 { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
4014 { "_wxTopLevelWindow","_class_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
4015 { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
4016 { "_wxTopLevelWindow","_class_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
4017 { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
4018 { "_class_wxDialog","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
4019 { "_class_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
4020 { "_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4021 { "_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4022 { "_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
4023 { "_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
4024 { "_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4025 { "_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4026 { "_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4027 { "_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4028 { "_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
4029 { "_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
4030 { "_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
4031 { "_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
4032 { "_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
4033 { "_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
4034 { "_uint","_wxCoord",0},
4035 { "_uint","_wxPrintQuality",0},
4036 { "_uint","_time_t",0},
4037 { "_uint","_size_t",0},
4038 { "_uint","_unsigned_int",0},
4039 { "_uint","_int",0},
4040 { "_uint","_wxWindowID",0},
4041 { "_wxChar","_char",0},
4042 { "_class_wxEvent","_class_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
4043 { "_class_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
},
4044 { "_wxCommandEvent","_class_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
4045 { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
4046 { "_char","_wxChar",0},
4047 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4048 { "_EBool","_wxCoord",0},
4049 { "_EBool","_wxPrintQuality",0},
4050 { "_EBool","_signed_int",0},
4051 { "_EBool","_int",0},
4052 { "_EBool","_wxWindowID",0},
4053 { "_unsigned_long","_long",0},
4054 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4055 { "_signed_int","_wxCoord",0},
4056 { "_signed_int","_wxPrintQuality",0},
4057 { "_signed_int","_EBool",0},
4058 { "_signed_int","_wxWindowID",0},
4059 { "_signed_int","_int",0},
4060 { "_class_wxTopLevelWindow","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
4061 { "_class_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
},
4062 { "_class_wxTopLevelWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
4063 { "_class_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
},
4064 { "_class_wxTopLevelWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
4065 { "_class_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
},
4066 { "_class_wxTopLevelWindow","_class_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
4067 { "_class_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
},
4068 { "_class_wxTopLevelWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
4069 { "_class_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
},
4070 { "_class_wxTopLevelWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
4071 { "_class_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
},
4072 { "_class_wxTopLevelWindow","_class_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
4073 { "_class_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
},
4074 { "_class_wxTopLevelWindow","_class_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
4075 { "_class_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
},
4076 { "_class_wxTopLevelWindow","_class_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
4077 { "_class_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
},
4078 { "_WXTYPE","_short",0},
4079 { "_WXTYPE","_signed_short",0},
4080 { "_WXTYPE","_unsigned_short",0},
4081 { "_unsigned_short","_WXTYPE",0},
4082 { "_unsigned_short","_short",0},
4083 { "_class_wxWindow","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4084 { "_class_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4085 { "_class_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4086 { "_class_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4087 { "_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4088 { "_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4089 { "_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
4090 { "_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
4091 { "_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4092 { "_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4093 { "_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4094 { "_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4095 { "_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
4096 { "_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
4097 { "_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
4098 { "_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
4099 { "_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
4100 { "_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
4101 { "_wxObject","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
4102 { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
},
4103 { "_wxObject","_class_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
4104 { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
},
4105 { "_wxObject","_class_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
4106 { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
},
4107 { "_wxObject","_class_wxProgressDialog",SwigwxProgressDialogTowxObject
},
4108 { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
},
4109 { "_wxObject","_class_wxMessageDialog",SwigwxMessageDialogTowxObject
},
4110 { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
},
4111 { "_wxObject","_class_wxFontDialog",SwigwxFontDialogTowxObject
},
4112 { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
},
4113 { "_wxObject","_class_wxFontData",SwigwxFontDataTowxObject
},
4114 { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
},
4115 { "_wxObject","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
4116 { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
},
4117 { "_wxObject","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
4118 { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
},
4119 { "_wxObject","_class_wxFileDialog",SwigwxFileDialogTowxObject
},
4120 { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
},
4121 { "_wxObject","_class_wxDirDialog",SwigwxDirDialogTowxObject
},
4122 { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
},
4123 { "_wxObject","_class_wxColourDialog",SwigwxColourDialogTowxObject
},
4124 { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
},
4125 { "_wxObject","_class_wxColourData",SwigwxColourDataTowxObject
},
4126 { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
},
4127 { "_signed_short","_WXTYPE",0},
4128 { "_signed_short","_short",0},
4129 { "_unsigned_char","_byte",0},
4130 { "_unsigned_int","_wxCoord",0},
4131 { "_unsigned_int","_wxPrintQuality",0},
4132 { "_unsigned_int","_time_t",0},
4133 { "_unsigned_int","_size_t",0},
4134 { "_unsigned_int","_uint",0},
4135 { "_unsigned_int","_wxWindowID",0},
4136 { "_unsigned_int","_int",0},
4137 { "_wxDialog","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
4138 { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
},
4139 { "_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4140 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
4141 { "_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
4142 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
4143 { "_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4144 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
4145 { "_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4146 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
4147 { "_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
4148 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
4149 { "_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
4150 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
4151 { "_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
4152 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
4153 { "_short","_WXTYPE",0},
4154 { "_short","_unsigned_short",0},
4155 { "_short","_signed_short",0},
4156 { "_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4157 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4158 { "_wxWindowID","_wxCoord",0},
4159 { "_wxWindowID","_wxPrintQuality",0},
4160 { "_wxWindowID","_time_t",0},
4161 { "_wxWindowID","_size_t",0},
4162 { "_wxWindowID","_EBool",0},
4163 { "_wxWindowID","_uint",0},
4164 { "_wxWindowID","_int",0},
4165 { "_wxWindowID","_signed_int",0},
4166 { "_wxWindowID","_unsigned_int",0},
4167 { "_int","_wxCoord",0},
4168 { "_int","_wxPrintQuality",0},
4169 { "_int","_time_t",0},
4170 { "_int","_size_t",0},
4171 { "_int","_EBool",0},
4172 { "_int","_uint",0},
4173 { "_int","_wxWindowID",0},
4174 { "_int","_unsigned_int",0},
4175 { "_int","_signed_int",0},
4176 { "_time_t","_wxCoord",0},
4177 { "_time_t","_wxPrintQuality",0},
4178 { "_time_t","_unsigned_int",0},
4179 { "_time_t","_int",0},
4180 { "_time_t","_wxWindowID",0},
4181 { "_time_t","_uint",0},
4182 { "_time_t","_size_t",0},
4183 { "_wxCoord","_int",0},
4184 { "_wxCoord","_signed_int",0},
4185 { "_wxCoord","_unsigned_int",0},
4186 { "_wxCoord","_wxWindowID",0},
4187 { "_wxCoord","_uint",0},
4188 { "_wxCoord","_EBool",0},
4189 { "_wxCoord","_size_t",0},
4190 { "_wxCoord","_time_t",0},
4191 { "_wxCoord","_wxPrintQuality",0},
4192 { "_class_wxCommandEvent","_class_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
4193 { "_class_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
},
4194 { "_wxEvtHandler","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
4195 { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
},
4196 { "_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
4197 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
4198 { "_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
4199 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
4200 { "_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
4201 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
4202 { "_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
4203 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
4204 { "_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
4205 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
4206 { "_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
4207 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
4208 { "_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
4209 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
4210 { "_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
4211 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
4212 { "_wxWindow","_class_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4213 { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
},
4214 { "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4215 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
4216 { "_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4217 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
4218 { "_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
4219 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
4220 { "_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4221 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
4222 { "_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4223 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
4224 { "_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
4225 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
4226 { "_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
4227 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
4228 { "_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
4229 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
4230 { "_class_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4231 { "_class_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
4234 static PyObject
*SWIG_globals
;
4238 SWIGEXPORT(void) initcmndlgsc() {
4240 SWIG_globals
= SWIG_newvarlink();
4241 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
4242 d
= PyModule_GetDict(m
);
4243 PyDict_SetItemString(d
,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN
));
4244 PyDict_SetItemString(d
,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD
));
4245 PyDict_SetItemString(d
,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE
));
4246 PyDict_SetItemString(d
,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG
));
4247 PyDict_SetItemString(d
,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN
));
4248 PyDict_SetItemString(d
,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE
));
4249 PyDict_SetItemString(d
,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD
));
4250 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND
));
4251 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT
));
4252 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE
));
4253 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL
));
4254 PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE
));
4257 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4258 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);