2 * FILE : gtk/cmndlgs.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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>
62 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
);
110 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
111 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
112 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
113 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
114 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
115 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
116 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
117 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
120 static char* wxStringErrorMsg
= "string type is required for parameter";
124 #define new_wxColourData() (new wxColourData())
125 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
126 PyObject
* _resultobj
;
127 wxColourData
* _result
;
128 char *_kwnames
[] = { NULL
};
132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))
135 wxPy_BEGIN_ALLOW_THREADS
;
136 _result
= (wxColourData
*)new_wxColourData();
138 wxPy_END_ALLOW_THREADS
;
140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
141 _resultobj
= Py_BuildValue("s",_ptemp
);
144 _resultobj
= Py_None
;
149 #define delete_wxColourData(_swigobj) (delete _swigobj)
150 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
152 wxColourData
* _arg0
;
153 PyObject
* _argo0
= 0;
154 char *_kwnames
[] = { "self", NULL
};
157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))
160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
167 wxPy_BEGIN_ALLOW_THREADS
;
168 delete_wxColourData(_arg0
);
170 wxPy_END_ALLOW_THREADS
;
171 } Py_INCREF(Py_None
);
172 _resultobj
= Py_None
;
176 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
177 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
180 wxColourData
* _arg0
;
181 PyObject
* _argo0
= 0;
182 char *_kwnames
[] = { "self", NULL
};
185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))
188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
195 wxPy_BEGIN_ALLOW_THREADS
;
196 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
198 wxPy_END_ALLOW_THREADS
;
199 } _resultobj
= Py_BuildValue("i",_result
);
203 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
204 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
205 PyObject
* _resultobj
;
207 wxColourData
* _arg0
;
208 PyObject
* _argo0
= 0;
209 char *_kwnames
[] = { "self", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))
216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
223 wxPy_BEGIN_ALLOW_THREADS
;
224 wxColour
& _result_ref
= wxColourData_GetColour(_arg0
);
225 _result
= (wxColour
*) &_result_ref
;
227 wxPy_END_ALLOW_THREADS
;
229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
230 _resultobj
= Py_BuildValue("s",_ptemp
);
233 _resultobj
= Py_None
;
238 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
239 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
240 PyObject
* _resultobj
;
242 wxColourData
* _arg0
;
244 PyObject
* _argo0
= 0;
245 char *_kwnames
[] = { "self","i", NULL
};
249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))
252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
259 wxPy_BEGIN_ALLOW_THREADS
;
260 _result
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
));
262 wxPy_END_ALLOW_THREADS
;
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 } Py_INCREF(Py_None
);
292 _resultobj
= Py_None
;
296 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
297 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
298 PyObject
* _resultobj
;
299 wxColourData
* _arg0
;
301 PyObject
* _argo0
= 0;
302 PyObject
* _argo1
= 0;
303 char *_kwnames
[] = { "self","colour", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_argo1
))
309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxColourData_SetColour. Expected _wxColour_p.");
323 wxPy_BEGIN_ALLOW_THREADS
;
324 wxColourData_SetColour(_arg0
,*_arg1
);
326 wxPy_END_ALLOW_THREADS
;
327 } Py_INCREF(Py_None
);
328 _resultobj
= Py_None
;
332 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
333 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
335 wxColourData
* _arg0
;
338 PyObject
* _argo0
= 0;
339 PyObject
* _argo2
= 0;
340 char *_kwnames
[] = { "self","i","colour", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) {
348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
353 if (_argo2
== Py_None
) { _arg2
= NULL
; }
354 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxColourData_SetCustomColour. Expected _wxColour_p.");
360 wxPy_BEGIN_ALLOW_THREADS
;
361 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
363 wxPy_END_ALLOW_THREADS
;
364 } Py_INCREF(Py_None
);
365 _resultobj
= Py_None
;
369 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
372 src
= (wxColourDialog
*) ptr
;
373 dest
= (wxDialog
*) src
;
374 return (void *) dest
;
377 static void *SwigwxColourDialogTowxPanel(void *ptr
) {
380 src
= (wxColourDialog
*) ptr
;
381 dest
= (wxPanel
*) src
;
382 return (void *) dest
;
385 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
388 src
= (wxColourDialog
*) ptr
;
389 dest
= (wxWindow
*) src
;
390 return (void *) dest
;
393 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
396 src
= (wxColourDialog
*) ptr
;
397 dest
= (wxEvtHandler
*) src
;
398 return (void *) dest
;
401 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
402 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
404 wxColourDialog
* _result
;
406 wxColourData
* _arg1
= (wxColourData
*) NULL
;
407 PyObject
* _argo0
= 0;
408 PyObject
* _argo1
= 0;
409 char *_kwnames
[] = { "parent","data", NULL
};
413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))
416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) {
425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
430 wxPy_BEGIN_ALLOW_THREADS
;
431 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
433 wxPy_END_ALLOW_THREADS
;
435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
436 _resultobj
= Py_BuildValue("s",_ptemp
);
439 _resultobj
= Py_None
;
444 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
445 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
446 PyObject
* _resultobj
;
447 wxColourData
* _result
;
448 wxColourDialog
* _arg0
;
449 PyObject
* _argo0
= 0;
450 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
466 _result
= (wxColourData
*) &_result_ref
;
468 wxPy_END_ALLOW_THREADS
;
470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
471 _resultobj
= Py_BuildValue("s",_ptemp
);
474 _resultobj
= Py_None
;
479 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
480 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
483 wxColourDialog
* _arg0
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
499 _result
= (int )wxColourDialog_ShowModal(_arg0
);
501 wxPy_END_ALLOW_THREADS
;
502 } _resultobj
= Py_BuildValue("i",_result
);
506 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
509 src
= (wxDirDialog
*) ptr
;
510 dest
= (wxDialog
*) src
;
511 return (void *) dest
;
514 static void *SwigwxDirDialogTowxPanel(void *ptr
) {
517 src
= (wxDirDialog
*) ptr
;
518 dest
= (wxPanel
*) src
;
519 return (void *) dest
;
522 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
525 src
= (wxDirDialog
*) ptr
;
526 dest
= (wxWindow
*) src
;
527 return (void *) dest
;
530 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
533 src
= (wxDirDialog
*) ptr
;
534 dest
= (wxEvtHandler
*) src
;
535 return (void *) dest
;
538 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
539 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
540 PyObject
* _resultobj
;
541 wxDirDialog
* _result
;
543 char * _arg1
= (char *) "Choose a directory";
544 char * _arg2
= (char *) "";
545 long _arg3
= (long ) 0;
546 wxPoint
* _arg4
= (wxPoint
*) &wxPyDefaultPosition
;
547 PyObject
* _argo0
= 0;
548 PyObject
* _argo4
= 0;
549 char *_kwnames
[] = { "parent","message","defaultPath","style","pos", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sslO:new_wxDirDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_argo4
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
563 if (_argo4
== Py_None
) { _arg4
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPoint_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDirDialog. Expected _wxPoint_p.");
570 wxPy_BEGIN_ALLOW_THREADS
;
571 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
573 wxPy_END_ALLOW_THREADS
;
575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
576 _resultobj
= Py_BuildValue("s",_ptemp
);
579 _resultobj
= Py_None
;
584 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
585 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
589 PyObject
* _argo0
= 0;
590 char *_kwnames
[] = { "self", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
603 wxPy_BEGIN_ALLOW_THREADS
;
604 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
606 wxPy_END_ALLOW_THREADS
;
608 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
616 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
617 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
618 PyObject
* _resultobj
;
621 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
638 wxPy_END_ALLOW_THREADS
;
640 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
648 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
649 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
653 PyObject
* _argo0
= 0;
654 char *_kwnames
[] = { "self", NULL
};
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))
660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
667 wxPy_BEGIN_ALLOW_THREADS
;
668 _result
= (long )wxDirDialog_GetStyle(_arg0
);
670 wxPy_END_ALLOW_THREADS
;
671 } _resultobj
= Py_BuildValue("l",_result
);
675 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
676 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
680 PyObject
* _argo0
= 0;
681 PyObject
* _obj1
= 0;
682 char *_kwnames
[] = { "self","message", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
695 if (!PyString_Check(_obj1
)) {
696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
699 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxDirDialog_SetMessage(_arg0
,*_arg1
);
705 wxPy_END_ALLOW_THREADS
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
715 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
716 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
720 PyObject
* _argo0
= 0;
721 PyObject
* _obj1
= 0;
722 char *_kwnames
[] = { "self","path", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
735 if (!PyString_Check(_obj1
)) {
736 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
739 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
742 wxPy_BEGIN_ALLOW_THREADS
;
743 wxDirDialog_SetPath(_arg0
,*_arg1
);
745 wxPy_END_ALLOW_THREADS
;
746 } Py_INCREF(Py_None
);
747 _resultobj
= Py_None
;
755 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
756 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
760 PyObject
* _argo0
= 0;
761 char *_kwnames
[] = { "self", NULL
};
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))
767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) {
769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
774 wxPy_BEGIN_ALLOW_THREADS
;
775 _result
= (int )wxDirDialog_ShowModal(_arg0
);
777 wxPy_END_ALLOW_THREADS
;
778 } _resultobj
= Py_BuildValue("i",_result
);
782 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
785 src
= (wxFileDialog
*) ptr
;
786 dest
= (wxDialog
*) src
;
787 return (void *) dest
;
790 static void *SwigwxFileDialogTowxPanel(void *ptr
) {
793 src
= (wxFileDialog
*) ptr
;
794 dest
= (wxPanel
*) src
;
795 return (void *) dest
;
798 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
801 src
= (wxFileDialog
*) ptr
;
802 dest
= (wxWindow
*) src
;
803 return (void *) dest
;
806 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
809 src
= (wxFileDialog
*) ptr
;
810 dest
= (wxEvtHandler
*) src
;
811 return (void *) dest
;
814 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
815 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
817 wxFileDialog
* _result
;
819 char * _arg1
= (char *) "Choose a file";
820 char * _arg2
= (char *) "";
821 char * _arg3
= (char *) "";
822 char * _arg4
= (char *) "*.*";
823 long _arg5
= (long ) 0;
824 wxPoint
* _arg6
= (wxPoint
*) &wxPyDefaultPosition
;
825 PyObject
* _argo0
= 0;
826 PyObject
* _argo6
= 0;
827 char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sssslO:new_wxFileDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
841 if (_argo6
== Py_None
) { _arg6
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPoint_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxFileDialog. Expected _wxPoint_p.");
848 wxPy_BEGIN_ALLOW_THREADS
;
849 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
851 wxPy_END_ALLOW_THREADS
;
853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
854 _resultobj
= Py_BuildValue("s",_ptemp
);
857 _resultobj
= Py_None
;
862 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
863 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
866 wxFileDialog
* _arg0
;
867 PyObject
* _argo0
= 0;
868 char *_kwnames
[] = { "self", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
881 wxPy_BEGIN_ALLOW_THREADS
;
882 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
884 wxPy_END_ALLOW_THREADS
;
886 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
894 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
895 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
898 wxFileDialog
* _arg0
;
899 PyObject
* _argo0
= 0;
900 char *_kwnames
[] = { "self", NULL
};
903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))
906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
913 wxPy_BEGIN_ALLOW_THREADS
;
914 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
916 wxPy_END_ALLOW_THREADS
;
918 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
926 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
927 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
930 wxFileDialog
* _arg0
;
931 PyObject
* _argo0
= 0;
932 char *_kwnames
[] = { "self", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
945 wxPy_BEGIN_ALLOW_THREADS
;
946 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
948 wxPy_END_ALLOW_THREADS
;
949 } _resultobj
= Py_BuildValue("i",_result
);
953 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
954 static PyObject
*_wrap_wxFileDialog_GetMessage(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_GetMessage",_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_GetMessage. Expected _wxFileDialog_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
975 wxPy_END_ALLOW_THREADS
;
977 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
985 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
986 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
989 wxFileDialog
* _arg0
;
990 PyObject
* _argo0
= 0;
991 char *_kwnames
[] = { "self", NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))
997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
1007 wxPy_END_ALLOW_THREADS
;
1009 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1017 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
1018 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1021 wxFileDialog
* _arg0
;
1022 PyObject
* _argo0
= 0;
1023 char *_kwnames
[] = { "self", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 _result
= (long )wxFileDialog_GetStyle(_arg0
);
1039 wxPy_END_ALLOW_THREADS
;
1040 } _resultobj
= Py_BuildValue("l",_result
);
1044 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
1045 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1048 wxFileDialog
* _arg0
;
1049 PyObject
* _argo0
= 0;
1050 char *_kwnames
[] = { "self", NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))
1056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
1066 wxPy_END_ALLOW_THREADS
;
1068 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1076 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
1077 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
* _resultobj
;
1079 wxFileDialog
* _arg0
;
1081 PyObject
* _argo0
= 0;
1082 PyObject
* _obj1
= 0;
1083 char *_kwnames
[] = { "self","directory", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))
1089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
1096 if (!PyString_Check(_obj1
)) {
1097 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1100 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
1106 wxPy_END_ALLOW_THREADS
;
1107 } Py_INCREF(Py_None
);
1108 _resultobj
= Py_None
;
1116 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
1117 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1119 wxFileDialog
* _arg0
;
1121 PyObject
* _argo0
= 0;
1122 PyObject
* _obj1
= 0;
1123 char *_kwnames
[] = { "self","setfilename", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
1136 if (!PyString_Check(_obj1
)) {
1137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1140 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 wxFileDialog_SetFilename(_arg0
,*_arg1
);
1146 wxPy_END_ALLOW_THREADS
;
1147 } Py_INCREF(Py_None
);
1148 _resultobj
= Py_None
;
1156 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
1157 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxFileDialog
* _arg0
;
1161 PyObject
* _argo0
= 0;
1162 char *_kwnames
[] = { "self","filterIndex", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
1168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
1178 wxPy_END_ALLOW_THREADS
;
1179 } Py_INCREF(Py_None
);
1180 _resultobj
= Py_None
;
1184 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
1185 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1187 wxFileDialog
* _arg0
;
1189 PyObject
* _argo0
= 0;
1190 PyObject
* _obj1
= 0;
1191 char *_kwnames
[] = { "self","message", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
1204 if (!PyString_Check(_obj1
)) {
1205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1208 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1211 wxPy_BEGIN_ALLOW_THREADS
;
1212 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1214 wxPy_END_ALLOW_THREADS
;
1215 } Py_INCREF(Py_None
);
1216 _resultobj
= Py_None
;
1224 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1225 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1227 wxFileDialog
* _arg0
;
1229 PyObject
* _argo0
= 0;
1230 PyObject
* _obj1
= 0;
1231 char *_kwnames
[] = { "self","path", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1244 if (!PyString_Check(_obj1
)) {
1245 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1248 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 wxFileDialog_SetPath(_arg0
,*_arg1
);
1254 wxPy_END_ALLOW_THREADS
;
1255 } Py_INCREF(Py_None
);
1256 _resultobj
= Py_None
;
1264 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1265 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1267 wxFileDialog
* _arg0
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self","style", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 wxFileDialog_SetStyle(_arg0
,_arg1
);
1286 wxPy_END_ALLOW_THREADS
;
1287 } Py_INCREF(Py_None
);
1288 _resultobj
= Py_None
;
1292 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1293 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1295 wxFileDialog
* _arg0
;
1297 PyObject
* _argo0
= 0;
1298 PyObject
* _obj1
= 0;
1299 char *_kwnames
[] = { "self","wildCard", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1312 if (!PyString_Check(_obj1
)) {
1313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1316 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } Py_INCREF(Py_None
);
1324 _resultobj
= Py_None
;
1332 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1333 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
* _resultobj
;
1336 wxFileDialog
* _arg0
;
1337 PyObject
* _argo0
= 0;
1338 char *_kwnames
[] = { "self", NULL
};
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_ShowModal",_kwnames
,&_argo0
))
1344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1354 wxPy_END_ALLOW_THREADS
;
1355 } _resultobj
= Py_BuildValue("i",_result
);
1359 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1360 wxSingleChoiceDialog
*src
;
1362 src
= (wxSingleChoiceDialog
*) ptr
;
1363 dest
= (wxDialog
*) src
;
1364 return (void *) dest
;
1367 static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr
) {
1368 wxSingleChoiceDialog
*src
;
1370 src
= (wxSingleChoiceDialog
*) ptr
;
1371 dest
= (wxPanel
*) src
;
1372 return (void *) dest
;
1375 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1376 wxSingleChoiceDialog
*src
;
1378 src
= (wxSingleChoiceDialog
*) ptr
;
1379 dest
= (wxWindow
*) src
;
1380 return (void *) dest
;
1383 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1384 wxSingleChoiceDialog
*src
;
1386 src
= (wxSingleChoiceDialog
*) ptr
;
1387 dest
= (wxEvtHandler
*) src
;
1388 return (void *) dest
;
1391 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*LIST
,long style
,wxPoint
*pos
) {
1392 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1393 LCOUNT
, LIST
, NULL
, style
, *pos
);
1396 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1398 wxSingleChoiceDialog
* _result
;
1404 long _arg5
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1405 wxPoint
* _arg6
= (wxPoint
*) &wxPyDefaultPosition
;
1406 PyObject
* _argo0
= 0;
1407 PyObject
* _obj1
= 0;
1408 PyObject
* _obj2
= 0;
1409 PyObject
* _obj4
= 0;
1410 PyObject
* _argo6
= 0;
1411 char *_kwnames
[] = { "parent","message","caption","LIST","style","pos", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_argo6
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1425 if (!PyString_Check(_obj1
)) {
1426 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1429 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1432 if (!PyString_Check(_obj2
)) {
1433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1436 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1440 _arg4
= wxString_LIST_helper(_obj4
);
1441 if (_arg4
== NULL
) {
1446 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPoint_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxSingleChoiceDialog. Expected _wxPoint_p.");
1454 _arg3
= PyList_Size(_obj4
);
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1464 wxPy_END_ALLOW_THREADS
;
1466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1467 _resultobj
= Py_BuildValue("s",_ptemp
);
1470 _resultobj
= Py_None
;
1486 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1487 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1490 wxSingleChoiceDialog
* _arg0
;
1491 PyObject
* _argo0
= 0;
1492 char *_kwnames
[] = { "self", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1505 wxPy_BEGIN_ALLOW_THREADS
;
1506 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1508 wxPy_END_ALLOW_THREADS
;
1509 } _resultobj
= Py_BuildValue("i",_result
);
1513 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1514 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1517 wxSingleChoiceDialog
* _arg0
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1532 wxPy_BEGIN_ALLOW_THREADS
;
1533 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1535 wxPy_END_ALLOW_THREADS
;
1537 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1545 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1546 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1548 wxSingleChoiceDialog
* _arg0
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self","sel", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1567 wxPy_END_ALLOW_THREADS
;
1568 } Py_INCREF(Py_None
);
1569 _resultobj
= Py_None
;
1573 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1574 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1577 wxSingleChoiceDialog
* _arg0
;
1578 PyObject
* _argo0
= 0;
1579 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1595 wxPy_END_ALLOW_THREADS
;
1596 } _resultobj
= Py_BuildValue("i",_result
);
1600 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1601 wxTextEntryDialog
*src
;
1603 src
= (wxTextEntryDialog
*) ptr
;
1604 dest
= (wxDialog
*) src
;
1605 return (void *) dest
;
1608 static void *SwigwxTextEntryDialogTowxPanel(void *ptr
) {
1609 wxTextEntryDialog
*src
;
1611 src
= (wxTextEntryDialog
*) ptr
;
1612 dest
= (wxPanel
*) src
;
1613 return (void *) dest
;
1616 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1617 wxTextEntryDialog
*src
;
1619 src
= (wxTextEntryDialog
*) ptr
;
1620 dest
= (wxWindow
*) src
;
1621 return (void *) dest
;
1624 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1625 wxTextEntryDialog
*src
;
1627 src
= (wxTextEntryDialog
*) ptr
;
1628 dest
= (wxEvtHandler
*) src
;
1629 return (void *) dest
;
1632 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1633 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxTextEntryDialog
* _result
;
1638 char * _arg2
= (char *) "Input Text";
1639 char * _arg3
= (char *) "";
1640 long _arg4
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
1641 wxPoint
* _arg5
= (wxPoint
*) &wxPyDefaultPosition
;
1642 PyObject
* _argo0
= 0;
1643 PyObject
* _argo5
= 0;
1644 char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sslO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1658 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPoint_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTextEntryDialog. Expected _wxPoint_p.");
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
1668 wxPy_END_ALLOW_THREADS
;
1670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
1671 _resultobj
= Py_BuildValue("s",_ptemp
);
1674 _resultobj
= Py_None
;
1679 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1680 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1683 wxTextEntryDialog
* _arg0
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
1701 wxPy_END_ALLOW_THREADS
;
1703 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1711 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1712 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1714 wxTextEntryDialog
* _arg0
;
1716 PyObject
* _argo0
= 0;
1717 PyObject
* _obj1
= 0;
1718 char *_kwnames
[] = { "self","value", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1731 if (!PyString_Check(_obj1
)) {
1732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1735 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } Py_INCREF(Py_None
);
1743 _resultobj
= Py_None
;
1751 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1752 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1755 wxTextEntryDialog
* _arg0
;
1756 PyObject
* _argo0
= 0;
1757 char *_kwnames
[] = { "self", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
1770 wxPy_BEGIN_ALLOW_THREADS
;
1771 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
1773 wxPy_END_ALLOW_THREADS
;
1774 } _resultobj
= Py_BuildValue("i",_result
);
1778 #define new_wxFontData() (new wxFontData())
1779 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1781 wxFontData
* _result
;
1782 char *_kwnames
[] = { NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (wxFontData
*)new_wxFontData();
1792 wxPy_END_ALLOW_THREADS
;
1794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
1795 _resultobj
= Py_BuildValue("s",_ptemp
);
1798 _resultobj
= Py_None
;
1803 #define delete_wxFontData(_swigobj) (delete _swigobj)
1804 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 delete_wxFontData(_arg0
);
1824 wxPy_END_ALLOW_THREADS
;
1825 } Py_INCREF(Py_None
);
1826 _resultobj
= Py_None
;
1830 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
1831 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1835 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self","enable", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
1849 _arg1
= (bool ) tempbool1
;
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 wxFontData_EnableEffects(_arg0
,_arg1
);
1854 wxPy_END_ALLOW_THREADS
;
1855 } Py_INCREF(Py_None
);
1856 _resultobj
= Py_None
;
1860 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
1861 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1865 PyObject
* _argo0
= 0;
1866 char *_kwnames
[] = { "self", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
1882 wxPy_END_ALLOW_THREADS
;
1883 } _resultobj
= Py_BuildValue("i",_result
);
1887 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
1888 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1892 PyObject
* _argo0
= 0;
1893 char *_kwnames
[] = { "self", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
1907 wxPy_BEGIN_ALLOW_THREADS
;
1908 wxColour
& _result_ref
= wxFontData_GetColour(_arg0
);
1909 _result
= (wxColour
*) &_result_ref
;
1911 wxPy_END_ALLOW_THREADS
;
1913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1914 _resultobj
= Py_BuildValue("s",_ptemp
);
1917 _resultobj
= Py_None
;
1922 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
1923 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1927 PyObject
* _argo0
= 0;
1928 char *_kwnames
[] = { "self", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
1942 wxPy_BEGIN_ALLOW_THREADS
;
1943 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
1945 wxPy_END_ALLOW_THREADS
;
1946 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1947 _resultobj
= Py_BuildValue("s",_ptemp
);
1951 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
1952 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
* _resultobj
;
1956 PyObject
* _argo0
= 0;
1957 char *_kwnames
[] = { "self", NULL
};
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))
1963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
1970 wxPy_BEGIN_ALLOW_THREADS
;
1971 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
1973 wxPy_END_ALLOW_THREADS
;
1974 } _resultobj
= Py_BuildValue("i",_result
);
1978 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
1979 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1983 PyObject
* _argo0
= 0;
1984 char *_kwnames
[] = { "self", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
2001 wxPy_END_ALLOW_THREADS
;
2002 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2003 _resultobj
= Py_BuildValue("s",_ptemp
);
2007 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
2008 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2012 PyObject
* _argo0
= 0;
2013 char *_kwnames
[] = { "self", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
2026 wxPy_BEGIN_ALLOW_THREADS
;
2027 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
2029 wxPy_END_ALLOW_THREADS
;
2030 } _resultobj
= Py_BuildValue("i",_result
);
2034 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
2035 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
* _resultobj
;
2039 PyObject
* _argo0
= 0;
2041 char *_kwnames
[] = { "self","allowSymbols", NULL
};
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))
2047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
2053 _arg1
= (bool ) tempbool1
;
2055 wxPy_BEGIN_ALLOW_THREADS
;
2056 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
2058 wxPy_END_ALLOW_THREADS
;
2059 } Py_INCREF(Py_None
);
2060 _resultobj
= Py_None
;
2064 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
2065 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
* _resultobj
;
2069 PyObject
* _argo0
= 0;
2070 PyObject
* _argo1
= 0;
2071 char *_kwnames
[] = { "self","font", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))
2077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
2084 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
2091 wxPy_BEGIN_ALLOW_THREADS
;
2092 wxFontData_SetChosenFont(_arg0
,*_arg1
);
2094 wxPy_END_ALLOW_THREADS
;
2095 } Py_INCREF(Py_None
);
2096 _resultobj
= Py_None
;
2100 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2101 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2105 PyObject
* _argo0
= 0;
2106 PyObject
* _argo1
= 0;
2107 char *_kwnames
[] = { "self","colour", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_argo1
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
2120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetColour. Expected _wxColour_p.");
2127 wxPy_BEGIN_ALLOW_THREADS
;
2128 wxFontData_SetColour(_arg0
,*_arg1
);
2130 wxPy_END_ALLOW_THREADS
;
2131 } Py_INCREF(Py_None
);
2132 _resultobj
= Py_None
;
2136 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
2137 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2141 PyObject
* _argo0
= 0;
2142 PyObject
* _argo1
= 0;
2143 char *_kwnames
[] = { "self","font", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))
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_SetInitialFont. Expected _wxFontData_p.");
2156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
2163 wxPy_BEGIN_ALLOW_THREADS
;
2164 wxFontData_SetInitialFont(_arg0
,*_arg1
);
2166 wxPy_END_ALLOW_THREADS
;
2167 } Py_INCREF(Py_None
);
2168 _resultobj
= Py_None
;
2172 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
2173 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
* _resultobj
;
2178 PyObject
* _argo0
= 0;
2179 char *_kwnames
[] = { "self","min","max", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
2192 wxPy_BEGIN_ALLOW_THREADS
;
2193 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
2195 wxPy_END_ALLOW_THREADS
;
2196 } Py_INCREF(Py_None
);
2197 _resultobj
= Py_None
;
2201 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
2202 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2206 PyObject
* _argo0
= 0;
2208 char *_kwnames
[] = { "self","showHelp", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))
2214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
2220 _arg1
= (bool ) tempbool1
;
2222 wxPy_BEGIN_ALLOW_THREADS
;
2223 wxFontData_SetShowHelp(_arg0
,_arg1
);
2225 wxPy_END_ALLOW_THREADS
;
2226 } Py_INCREF(Py_None
);
2227 _resultobj
= Py_None
;
2231 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
2234 src
= (wxFontDialog
*) ptr
;
2235 dest
= (wxDialog
*) src
;
2236 return (void *) dest
;
2239 static void *SwigwxFontDialogTowxPanel(void *ptr
) {
2242 src
= (wxFontDialog
*) ptr
;
2243 dest
= (wxPanel
*) src
;
2244 return (void *) dest
;
2247 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
2250 src
= (wxFontDialog
*) ptr
;
2251 dest
= (wxWindow
*) src
;
2252 return (void *) dest
;
2255 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
2258 src
= (wxFontDialog
*) ptr
;
2259 dest
= (wxEvtHandler
*) src
;
2260 return (void *) dest
;
2263 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
2264 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2266 wxFontDialog
* _result
;
2268 wxFontData
* _arg1
= (wxFontData
*) NULL
;
2269 PyObject
* _argo0
= 0;
2270 PyObject
* _argo1
= 0;
2271 char *_kwnames
[] = { "parent","data", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
2285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
2292 wxPy_BEGIN_ALLOW_THREADS
;
2293 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
2295 wxPy_END_ALLOW_THREADS
;
2297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
2298 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 _resultobj
= Py_None
;
2306 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
2307 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2309 wxFontData
* _result
;
2310 wxFontDialog
* _arg0
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
2328 _result
= (wxFontData
*) &_result_ref
;
2330 wxPy_END_ALLOW_THREADS
;
2332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
2333 _resultobj
= Py_BuildValue("s",_ptemp
);
2336 _resultobj
= Py_None
;
2341 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2342 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2345 wxFontDialog
* _arg0
;
2346 PyObject
* _argo0
= 0;
2347 char *_kwnames
[] = { "self", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
2360 wxPy_BEGIN_ALLOW_THREADS
;
2361 _result
= (int )wxFontDialog_ShowModal(_arg0
);
2363 wxPy_END_ALLOW_THREADS
;
2364 } _resultobj
= Py_BuildValue("i",_result
);
2368 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
2369 wxMessageDialog
*src
;
2371 src
= (wxMessageDialog
*) ptr
;
2372 dest
= (wxDialog
*) src
;
2373 return (void *) dest
;
2376 static void *SwigwxMessageDialogTowxPanel(void *ptr
) {
2377 wxMessageDialog
*src
;
2379 src
= (wxMessageDialog
*) ptr
;
2380 dest
= (wxPanel
*) src
;
2381 return (void *) dest
;
2384 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
2385 wxMessageDialog
*src
;
2387 src
= (wxMessageDialog
*) ptr
;
2388 dest
= (wxWindow
*) src
;
2389 return (void *) dest
;
2392 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
2393 wxMessageDialog
*src
;
2395 src
= (wxMessageDialog
*) ptr
;
2396 dest
= (wxEvtHandler
*) src
;
2397 return (void *) dest
;
2400 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2401 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2403 wxMessageDialog
* _result
;
2406 char * _arg2
= (char *) "Message box";
2407 long _arg3
= (long ) wxOK
|wxCANCEL
|wxCENTRE
;
2408 wxPoint
* _arg4
= (wxPoint
*) &wxPyDefaultPosition
;
2409 PyObject
* _argo0
= 0;
2410 PyObject
* _argo4
= 0;
2411 char *_kwnames
[] = { "parent","message","caption","style","pos", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|slO:new_wxMessageDialog",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_argo4
))
2418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
2425 if (_argo4
== Py_None
) { _arg4
= NULL
; }
2426 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPoint_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMessageDialog. Expected _wxPoint_p.");
2432 wxPy_BEGIN_ALLOW_THREADS
;
2433 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
2435 wxPy_END_ALLOW_THREADS
;
2437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
2438 _resultobj
= Py_BuildValue("s",_ptemp
);
2441 _resultobj
= Py_None
;
2446 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2447 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2450 wxMessageDialog
* _arg0
;
2451 PyObject
* _argo0
= 0;
2452 char *_kwnames
[] = { "self", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
2465 wxPy_BEGIN_ALLOW_THREADS
;
2466 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
2468 wxPy_END_ALLOW_THREADS
;
2469 } _resultobj
= Py_BuildValue("i",_result
);
2473 static void *SwigwxProgressDialogTowxFrame(void *ptr
) {
2474 wxProgressDialog
*src
;
2476 src
= (wxProgressDialog
*) ptr
;
2477 dest
= (wxFrame
*) src
;
2478 return (void *) dest
;
2481 static void *SwigwxProgressDialogTowxWindow(void *ptr
) {
2482 wxProgressDialog
*src
;
2484 src
= (wxProgressDialog
*) ptr
;
2485 dest
= (wxWindow
*) src
;
2486 return (void *) dest
;
2489 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) {
2490 wxProgressDialog
*src
;
2492 src
= (wxProgressDialog
*) ptr
;
2493 dest
= (wxEvtHandler
*) src
;
2494 return (void *) dest
;
2497 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2498 static PyObject
*_wrap_new_wxProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2500 wxProgressDialog
* _result
;
2503 int _arg2
= (int ) 100;
2504 wxWindow
* _arg3
= (wxWindow
*) NULL
;
2505 int _arg4
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
2506 PyObject
* _obj0
= 0;
2507 PyObject
* _obj1
= 0;
2508 PyObject
* _argo3
= 0;
2509 char *_kwnames
[] = { "title","message","maximum","parent","style", NULL
};
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))
2516 if (!PyString_Check(_obj0
)) {
2517 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2520 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
2523 if (!PyString_Check(_obj1
)) {
2524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2527 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2530 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p.");
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 _result
= (wxProgressDialog
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2540 wxPy_END_ALLOW_THREADS
;
2542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p");
2543 _resultobj
= Py_BuildValue("s",_ptemp
);
2546 _resultobj
= Py_None
;
2559 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1))
2560 static PyObject
*_wrap_wxProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2563 wxProgressDialog
* _arg0
;
2564 int _arg1
= (int ) -1;
2565 char * _arg2
= (char *) NULL
;
2566 PyObject
* _argo0
= 0;
2567 char *_kwnames
[] = { "self","value","newmsg", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|is:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p.");
2580 wxPy_BEGIN_ALLOW_THREADS
;
2581 _result
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,_arg2
);
2583 wxPy_END_ALLOW_THREADS
;
2584 } _resultobj
= Py_BuildValue("i",_result
);
2588 #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume())
2589 static PyObject
*_wrap_wxProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxProgressDialog
* _arg0
;
2592 PyObject
* _argo0
= 0;
2593 char *_kwnames
[] = { "self", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))
2599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) {
2601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p.");
2606 wxPy_BEGIN_ALLOW_THREADS
;
2607 wxProgressDialog_Resume(_arg0
);
2609 wxPy_END_ALLOW_THREADS
;
2610 } Py_INCREF(Py_None
);
2611 _resultobj
= Py_None
;
2615 static PyMethodDef cmndlgscMethods
[] = {
2616 { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
2617 { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
2618 { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
2619 { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2620 { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
2621 { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2622 { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
2623 { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS
| METH_KEYWORDS
},
2624 { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2625 { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
2626 { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2627 { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
2628 { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2629 { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2630 { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
2631 { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
2632 { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2633 { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
2634 { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
2635 { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
2636 { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
2637 { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2638 { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS
| METH_KEYWORDS
},
2639 { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2640 { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
2641 { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
2642 { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
2643 { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2644 { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2645 { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
2646 { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2647 { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
2648 { "wxFileDialog_ShowModal", (PyCFunction
) _wrap_wxFileDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2649 { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2650 { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2651 { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2652 { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2653 { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2654 { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2655 { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2656 { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
2657 { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2658 { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2659 { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2660 { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
2661 { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
2662 { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
2663 { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS
| METH_KEYWORDS
},
2664 { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2665 { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
2666 { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2667 { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
2668 { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
2669 { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2670 { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS
| METH_KEYWORDS
},
2671 { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2672 { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
2673 { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
2674 { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
2675 { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
2676 { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
2677 { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
2678 { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
2679 { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
2680 { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
2681 { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS
| METH_KEYWORDS
},
2688 * This table is used by the pointer type-checker
2690 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2691 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2692 { "_wxEvent","_class_wxEvent",0},
2693 { "_class_wxActivateEvent","_wxActivateEvent",0},
2694 { "_signed_long","_long",0},
2695 { "_wxMenuEvent","_class_wxMenuEvent",0},
2696 { "_wxPrintQuality","_int",0},
2697 { "_wxPrintQuality","_signed_int",0},
2698 { "_wxPrintQuality","_unsigned_int",0},
2699 { "_wxPrintQuality","_wxWindowID",0},
2700 { "_wxPrintQuality","_uint",0},
2701 { "_wxPrintQuality","_EBool",0},
2702 { "_wxPrintQuality","_size_t",0},
2703 { "_wxFontData","_class_wxFontData",0},
2704 { "_class_wxRegionIterator","_wxRegionIterator",0},
2705 { "_class_wxMenuBar","_wxMenuBar",0},
2706 { "_class_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
2707 { "_class_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
2708 { "_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
2709 { "_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
2710 { "_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
2711 { "_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
2712 { "_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
2713 { "_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
2714 { "_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
2715 { "_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
2716 { "_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
2717 { "_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
2718 { "_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
2719 { "_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
2720 { "_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
2721 { "_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
2722 { "_class_wxEvtHandler","_wxEvtHandler",0},
2723 { "_wxPaintEvent","_class_wxPaintEvent",0},
2724 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2725 { "_wxCursor","_class_wxCursor",0},
2726 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2727 { "_wxMask","_class_wxMask",0},
2728 { "_class_wxColourData","_wxColourData",0},
2729 { "_wxPen","_class_wxPen",0},
2730 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2731 { "_byte","_unsigned_char",0},
2732 { "_wxStaticBox","_class_wxStaticBox",0},
2733 { "_wxChoice","_class_wxChoice",0},
2734 { "_wxSlider","_class_wxSlider",0},
2735 { "_long","_wxDash",0},
2736 { "_long","_unsigned_long",0},
2737 { "_long","_signed_long",0},
2738 { "_wxImageList","_class_wxImageList",0},
2739 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2740 { "_wxBitmapButton","_class_wxBitmapButton",0},
2741 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2742 { "_class_wxGauge","_wxGauge",0},
2743 { "_wxDC","_class_wxDC",0},
2744 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
2745 { "_wxProgressDialog","_class_wxProgressDialog",0},
2746 { "_wxSpinEvent","_class_wxSpinEvent",0},
2747 { "_size_t","_wxPrintQuality",0},
2748 { "_size_t","_unsigned_int",0},
2749 { "_size_t","_int",0},
2750 { "_size_t","_wxWindowID",0},
2751 { "_size_t","_uint",0},
2752 { "_class_wxRealPoint","_wxRealPoint",0},
2753 { "_class_wxMenuItem","_wxMenuItem",0},
2754 { "_class_wxPaintEvent","_wxPaintEvent",0},
2755 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2756 { "_class_wxStatusBar","_wxStatusBar",0},
2757 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2758 { "_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
2759 { "_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
2760 { "_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel
},
2761 { "_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel
},
2762 { "_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
2763 { "_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
2764 { "_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
2765 { "_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
2766 { "_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel
},
2767 { "_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel
},
2768 { "_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel
},
2769 { "_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel
},
2770 { "_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel
},
2771 { "_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel
},
2772 { "_wxPanel","_class_wxPanel",0},
2773 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2774 { "_wxCheckBox","_class_wxCheckBox",0},
2775 { "_wxPyEvent","_class_wxPyEvent",0},
2776 { "_wxTextCtrl","_class_wxTextCtrl",0},
2777 { "_class_wxMask","_wxMask",0},
2778 { "_class_wxKeyEvent","_wxKeyEvent",0},
2779 { "_wxColour","_class_wxColour",0},
2780 { "_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
2781 { "_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
2782 { "_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
2783 { "_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
2784 { "_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
2785 { "_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
2786 { "_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
2787 { "_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
2788 { "_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
2789 { "_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
2790 { "_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
2791 { "_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
2792 { "_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
2793 { "_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
2794 { "_class_wxDialog","_wxDialog",0},
2795 { "_wxIdleEvent","_class_wxIdleEvent",0},
2796 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2797 { "_wxToolBar","_class_wxToolBar",0},
2798 { "_wxStaticLine","_class_wxStaticLine",0},
2799 { "_wxBrush","_class_wxBrush",0},
2800 { "_wxMiniFrame","_class_wxMiniFrame",0},
2801 { "_wxShowEvent","_class_wxShowEvent",0},
2802 { "_uint","_wxPrintQuality",0},
2803 { "_uint","_size_t",0},
2804 { "_uint","_unsigned_int",0},
2805 { "_uint","_int",0},
2806 { "_uint","_wxWindowID",0},
2807 { "_class_wxEvent","_wxEvent",0},
2808 { "_wxCheckListBox","_class_wxCheckListBox",0},
2809 { "_wxRect","_class_wxRect",0},
2810 { "_wxCommandEvent","_class_wxCommandEvent",0},
2811 { "_wxSizeEvent","_class_wxSizeEvent",0},
2812 { "_wxPoint","_class_wxPoint",0},
2813 { "_class_wxButton","_wxButton",0},
2814 { "_wxRadioBox","_class_wxRadioBox",0},
2815 { "_class_wxFontData","_wxFontData",0},
2816 { "_wxBitmap","_class_wxBitmap",0},
2817 { "_wxPyTimer","_class_wxPyTimer",0},
2818 { "_wxWindowDC","_class_wxWindowDC",0},
2819 { "_wxScrollBar","_class_wxScrollBar",0},
2820 { "_wxSpinButton","_class_wxSpinButton",0},
2821 { "_wxToolBarTool","_class_wxToolBarTool",0},
2822 { "_wxColourDialog","_class_wxColourDialog",0},
2823 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2824 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2825 { "_wxMessageDialog","_class_wxMessageDialog",0},
2826 { "_class_wxPyEvent","_wxPyEvent",0},
2827 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
2828 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2829 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2830 { "_class_wxToolBar","_wxToolBar",0},
2831 { "_class_wxStaticLine","_wxStaticLine",0},
2832 { "_wxScrollEvent","_class_wxScrollEvent",0},
2833 { "_EBool","_wxPrintQuality",0},
2834 { "_EBool","_signed_int",0},
2835 { "_EBool","_int",0},
2836 { "_EBool","_wxWindowID",0},
2837 { "_class_wxRegion","_wxRegion",0},
2838 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2839 { "_wxStaticText","_class_wxStaticText",0},
2840 { "_wxFont","_class_wxFont",0},
2841 { "_wxCloseEvent","_class_wxCloseEvent",0},
2842 { "_unsigned_long","_wxDash",0},
2843 { "_unsigned_long","_long",0},
2844 { "_class_wxRect","_wxRect",0},
2845 { "_class_wxDC","_wxDC",0},
2846 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2847 { "_class_wxProgressDialog","_wxProgressDialog",0},
2848 { "_class_wxDirDialog","_wxDirDialog",0},
2849 { "_class_wxPyTimer","_wxPyTimer",0},
2850 { "_wxFocusEvent","_class_wxFocusEvent",0},
2851 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2852 { "_class_wxSpinButton","_wxSpinButton",0},
2853 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2854 { "_class_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
2855 { "_class_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel
},
2856 { "_class_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel
},
2857 { "_class_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel
},
2858 { "_class_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
2859 { "_class_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
},
2860 { "_class_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
2861 { "_class_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
},
2862 { "_class_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel
},
2863 { "_class_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel
},
2864 { "_class_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel
},
2865 { "_class_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel
},
2866 { "_class_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel
},
2867 { "_class_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel
},
2868 { "_class_wxPanel","_wxPanel",0},
2869 { "_class_wxCheckBox","_wxCheckBox",0},
2870 { "_wxComboBox","_class_wxComboBox",0},
2871 { "_wxRadioButton","_class_wxRadioButton",0},
2872 { "_class_wxMessageDialog","_wxMessageDialog",0},
2873 { "_signed_int","_wxPrintQuality",0},
2874 { "_signed_int","_EBool",0},
2875 { "_signed_int","_wxWindowID",0},
2876 { "_signed_int","_int",0},
2877 { "_class_wxTextCtrl","_wxTextCtrl",0},
2878 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2879 { "_wxMenu","_class_wxMenu",0},
2880 { "_class_wxMoveEvent","_wxMoveEvent",0},
2881 { "_wxListBox","_class_wxListBox",0},
2882 { "_wxScreenDC","_class_wxScreenDC",0},
2883 { "_WXTYPE","_short",0},
2884 { "_WXTYPE","_signed_short",0},
2885 { "_WXTYPE","_unsigned_short",0},
2886 { "_wxFileDialog","_class_wxFileDialog",0},
2887 { "_class_wxBrush","_wxBrush",0},
2888 { "_unsigned_short","_WXTYPE",0},
2889 { "_unsigned_short","_short",0},
2890 { "_class_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
2891 { "_class_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
2892 { "_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
2893 { "_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
2894 { "_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
2895 { "_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
2896 { "_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
2897 { "_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
2898 { "_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
2899 { "_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
2900 { "_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
2901 { "_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
2902 { "_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
2903 { "_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
2904 { "_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
2905 { "_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
2906 { "_class_wxWindow","_wxWindow",0},
2907 { "_class_wxStaticText","_wxStaticText",0},
2908 { "_class_wxFont","_wxFont",0},
2909 { "_class_wxCloseEvent","_wxCloseEvent",0},
2910 { "_class_wxMenuEvent","_wxMenuEvent",0},
2911 { "_wxClientDC","_class_wxClientDC",0},
2912 { "_wxMouseEvent","_class_wxMouseEvent",0},
2913 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
2914 { "_class_wxPoint","_wxPoint",0},
2915 { "_wxRealPoint","_class_wxRealPoint",0},
2916 { "_class_wxRadioBox","_wxRadioBox",0},
2917 { "_signed_short","_WXTYPE",0},
2918 { "_signed_short","_short",0},
2919 { "_wxMemoryDC","_class_wxMemoryDC",0},
2920 { "_wxPaintDC","_class_wxPaintDC",0},
2921 { "_class_wxWindowDC","_wxWindowDC",0},
2922 { "_class_wxFocusEvent","_wxFocusEvent",0},
2923 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2924 { "_wxStatusBar","_class_wxStatusBar",0},
2925 { "_class_wxToolBarTool","_wxToolBarTool",0},
2926 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2927 { "_class_wxCursor","_wxCursor",0},
2928 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2929 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2930 { "_unsigned_char","_byte",0},
2931 { "_class_wxMenu","_wxMenu",0},
2932 { "_wxControl","_class_wxControl",0},
2933 { "_class_wxListBox","_wxListBox",0},
2934 { "_unsigned_int","_wxPrintQuality",0},
2935 { "_unsigned_int","_size_t",0},
2936 { "_unsigned_int","_uint",0},
2937 { "_unsigned_int","_wxWindowID",0},
2938 { "_unsigned_int","_int",0},
2939 { "_wxIcon","_class_wxIcon",0},
2940 { "_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
2941 { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
},
2942 { "_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
},
2943 { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
},
2944 { "_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
2945 { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
},
2946 { "_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
2947 { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
},
2948 { "_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
},
2949 { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
},
2950 { "_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
},
2951 { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
},
2952 { "_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
},
2953 { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
},
2954 { "_wxDialog","_class_wxDialog",0},
2955 { "_class_wxPen","_wxPen",0},
2956 { "_class_wxFileDialog","_wxFileDialog",0},
2957 { "_short","_WXTYPE",0},
2958 { "_short","_unsigned_short",0},
2959 { "_short","_signed_short",0},
2960 { "_class_wxStaticBox","_wxStaticBox",0},
2961 { "_class_wxScrollEvent","_wxScrollEvent",0},
2962 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2963 { "_class_wxChoice","_wxChoice",0},
2964 { "_class_wxSlider","_wxSlider",0},
2965 { "_class_wxImageList","_wxImageList",0},
2966 { "_class_wxBitmapButton","_wxBitmapButton",0},
2967 { "_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
2968 { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
2969 { "_wxFrame","_class_wxFrame",0},
2970 { "_wxWindowID","_wxPrintQuality",0},
2971 { "_wxWindowID","_size_t",0},
2972 { "_wxWindowID","_EBool",0},
2973 { "_wxWindowID","_uint",0},
2974 { "_wxWindowID","_int",0},
2975 { "_wxWindowID","_signed_int",0},
2976 { "_wxWindowID","_unsigned_int",0},
2977 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2978 { "_int","_wxPrintQuality",0},
2979 { "_int","_size_t",0},
2980 { "_int","_EBool",0},
2981 { "_int","_uint",0},
2982 { "_int","_wxWindowID",0},
2983 { "_int","_unsigned_int",0},
2984 { "_int","_signed_int",0},
2985 { "_class_wxMouseEvent","_wxMouseEvent",0},
2986 { "_class_wxSpinEvent","_wxSpinEvent",0},
2987 { "_wxButton","_class_wxButton",0},
2988 { "_wxSize","_class_wxSize",0},
2989 { "_wxRegionIterator","_class_wxRegionIterator",0},
2990 { "_class_wxPaintDC","_wxPaintDC",0},
2991 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2992 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2993 { "_class_wxComboBox","_wxComboBox",0},
2994 { "_class_wxRadioButton","_wxRadioButton",0},
2995 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2996 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2997 { "_class_wxControl","_wxControl",0},
2998 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2999 { "_class_wxIcon","_wxIcon",0},
3000 { "_class_wxColour","_wxColour",0},
3001 { "_class_wxScreenDC","_wxScreenDC",0},
3002 { "_wxPalette","_class_wxPalette",0},
3003 { "_class_wxIdleEvent","_wxIdleEvent",0},
3004 { "_wxEraseEvent","_class_wxEraseEvent",0},
3005 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3006 { "_class_wxMiniFrame","_wxMiniFrame",0},
3007 { "_wxFontDialog","_class_wxFontDialog",0},
3008 { "_wxRegion","_class_wxRegion",0},
3009 { "_class_wxShowEvent","_wxShowEvent",0},
3010 { "_wxActivateEvent","_class_wxActivateEvent",0},
3011 { "_wxGauge","_class_wxGauge",0},
3012 { "_class_wxCheckListBox","_wxCheckListBox",0},
3013 { "_class_wxCommandEvent","_wxCommandEvent",0},
3014 { "_class_wxClientDC","_wxClientDC",0},
3015 { "_class_wxSizeEvent","_wxSizeEvent",0},
3016 { "_class_wxSize","_wxSize",0},
3017 { "_class_wxBitmap","_wxBitmap",0},
3018 { "_class_wxMemoryDC","_wxMemoryDC",0},
3019 { "_wxMenuBar","_class_wxMenuBar",0},
3020 { "_wxDirDialog","_class_wxDirDialog",0},
3021 { "_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3022 { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
},
3023 { "_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3024 { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
},
3025 { "_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3026 { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
},
3027 { "_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3028 { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
},
3029 { "_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3030 { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
},
3031 { "_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3032 { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
},
3033 { "_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3034 { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
},
3035 { "_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3036 { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
},
3037 { "_wxEvtHandler","_class_wxEvtHandler",0},
3038 { "_wxMenuItem","_class_wxMenuItem",0},
3039 { "_class_wxScrollBar","_wxScrollBar",0},
3040 { "_class_wxColourDialog","_wxColourDialog",0},
3041 { "_wxDash","_unsigned_long",0},
3042 { "_wxDash","_long",0},
3043 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3044 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
3045 { "_wxKeyEvent","_class_wxKeyEvent",0},
3046 { "_wxMoveEvent","_class_wxMoveEvent",0},
3047 { "_wxColourData","_class_wxColourData",0},
3048 { "_class_wxPalette","_wxPalette",0},
3049 { "_class_wxEraseEvent","_wxEraseEvent",0},
3050 { "_class_wxFontDialog","_wxFontDialog",0},
3051 { "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3052 { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
},
3053 { "_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3054 { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
},
3055 { "_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
},
3056 { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
},
3057 { "_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3058 { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
},
3059 { "_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3060 { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
},
3061 { "_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
},
3062 { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
},
3063 { "_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
},
3064 { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
},
3065 { "_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
},
3066 { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
},
3067 { "_wxWindow","_class_wxWindow",0},
3068 { "_class_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3069 { "_class_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
},
3070 { "_class_wxFrame","_wxFrame",0},
3073 static PyObject
*SWIG_globals
;
3077 SWIGEXPORT(void) initcmndlgsc() {
3079 SWIG_globals
= SWIG_newvarlink();
3080 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
3081 d
= PyModule_GetDict(m
);
3084 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3085 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);