4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 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/printdlg.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
116 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
120 static char* wxStringErrorMsg
= "string type is required for parameter";
121 #define new_wxColourData() (new wxColourData())
122 static PyObject
*_wrap_new_wxColourData(PyObject
*self
, PyObject
*args
) {
123 PyObject
* _resultobj
;
124 wxColourData
* _result
;
128 if(!PyArg_ParseTuple(args
,":new_wxColourData"))
130 _result
= (wxColourData
*)new_wxColourData();
131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
132 _resultobj
= Py_BuildValue("s",_ptemp
);
136 #define delete_wxColourData(_swigobj) (delete _swigobj)
137 static PyObject
*_wrap_delete_wxColourData(PyObject
*self
, PyObject
*args
) {
138 PyObject
* _resultobj
;
139 wxColourData
* _arg0
;
143 if(!PyArg_ParseTuple(args
,"s:delete_wxColourData",&_argc0
))
146 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColourData_p")) {
147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p.");
151 delete_wxColourData(_arg0
);
153 _resultobj
= Py_None
;
157 #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull())
158 static PyObject
*_wrap_wxColourData_GetChooseFull(PyObject
*self
, PyObject
*args
) {
159 PyObject
* _resultobj
;
161 wxColourData
* _arg0
;
165 if(!PyArg_ParseTuple(args
,"s:wxColourData_GetChooseFull",&_argc0
))
168 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColourData_p")) {
169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p.");
173 _result
= (bool )wxColourData_GetChooseFull(_arg0
);
174 _resultobj
= Py_BuildValue("i",_result
);
178 #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour())
179 static PyObject
*_wrap_wxColourData_GetColour(PyObject
*self
, PyObject
*args
) {
180 PyObject
* _resultobj
;
182 wxColourData
* _arg0
;
187 if(!PyArg_ParseTuple(args
,"s:wxColourData_GetColour",&_argc0
))
190 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColourData_p")) {
191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p.");
195 wxColour
& _result_ref
= wxColourData_GetColour(_arg0
);
196 _result
= (wxColour
*) &_result_ref
;
197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
198 _resultobj
= Py_BuildValue("s",_ptemp
);
202 #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0))
203 static PyObject
*_wrap_wxColourData_GetCustomColour(PyObject
*self
, PyObject
*args
) {
204 PyObject
* _resultobj
;
206 wxColourData
* _arg0
;
212 if(!PyArg_ParseTuple(args
,"si:wxColourData_GetCustomColour",&_argc0
,&_arg1
))
215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColourData_p")) {
216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p.");
220 wxColour
& _result_ref
= wxColourData_GetCustomColour(_arg0
,_arg1
);
221 _result
= (wxColour
*) &_result_ref
;
222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
223 _resultobj
= Py_BuildValue("s",_ptemp
);
227 #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0))
228 static PyObject
*_wrap_wxColourData_SetChooseFull(PyObject
*self
, PyObject
*args
) {
229 PyObject
* _resultobj
;
230 wxColourData
* _arg0
;
235 if(!PyArg_ParseTuple(args
,"si:wxColourData_SetChooseFull",&_argc0
,&_arg1
))
238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColourData_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p.");
243 wxColourData_SetChooseFull(_arg0
,_arg1
);
245 _resultobj
= Py_None
;
249 #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
250 static PyObject
*_wrap_wxColourData_SetColour(PyObject
*self
, PyObject
*args
) {
251 PyObject
* _resultobj
;
252 wxColourData
* _arg0
;
258 if(!PyArg_ParseTuple(args
,"ss:wxColourData_SetColour",&_argc0
,&_argc1
))
261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColourData_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p.");
267 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxColourData_SetColour. Expected _wxColour_p.");
272 wxColourData_SetColour(_arg0
,*_arg1
);
274 _resultobj
= Py_None
;
278 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1))
279 static PyObject
*_wrap_wxColourData_SetCustomColour(PyObject
*self
, PyObject
*args
) {
280 PyObject
* _resultobj
;
281 wxColourData
* _arg0
;
288 if(!PyArg_ParseTuple(args
,"sis:wxColourData_SetCustomColour",&_argc0
,&_arg1
,&_argc2
))
291 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColourData_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p.");
297 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxColour_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxColourData_SetCustomColour. Expected _wxColour_p.");
302 wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
);
304 _resultobj
= Py_None
;
308 static void *SwigwxColourDialogTowxDialog(void *ptr
) {
311 src
= (wxColourDialog
*) ptr
;
312 dest
= (wxDialog
*) src
;
313 return (void *) dest
;
316 static void *SwigwxColourDialogTowxPanel(void *ptr
) {
319 src
= (wxColourDialog
*) ptr
;
320 dest
= (wxPanel
*) src
;
321 return (void *) dest
;
324 static void *SwigwxColourDialogTowxWindow(void *ptr
) {
327 src
= (wxColourDialog
*) ptr
;
328 dest
= (wxWindow
*) src
;
329 return (void *) dest
;
332 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) {
335 src
= (wxColourDialog
*) ptr
;
336 dest
= (wxEvtHandler
*) src
;
337 return (void *) dest
;
340 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1))
341 static PyObject
*_wrap_new_wxColourDialog(PyObject
*self
, PyObject
*args
) {
342 PyObject
* _resultobj
;
343 wxColourDialog
* _result
;
345 wxColourData
* _arg1
= NULL
;
351 if(!PyArg_ParseTuple(args
,"s|s:new_wxColourDialog",&_argc0
,&_argc1
))
354 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p.");
360 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColourData_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p.");
365 _result
= (wxColourDialog
*)new_wxColourDialog(_arg0
,_arg1
);
366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p");
367 _resultobj
= Py_BuildValue("s",_ptemp
);
371 #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData())
372 static PyObject
*_wrap_wxColourDialog_GetColourData(PyObject
*self
, PyObject
*args
) {
373 PyObject
* _resultobj
;
374 wxColourData
* _result
;
375 wxColourDialog
* _arg0
;
380 if(!PyArg_ParseTuple(args
,"s:wxColourDialog_GetColourData",&_argc0
))
383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColourDialog_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p.");
388 wxColourData
& _result_ref
= wxColourDialog_GetColourData(_arg0
);
389 _result
= (wxColourData
*) &_result_ref
;
390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p");
391 _resultobj
= Py_BuildValue("s",_ptemp
);
395 #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
396 static PyObject
*_wrap_wxColourDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
397 PyObject
* _resultobj
;
399 wxColourDialog
* _arg0
;
403 if(!PyArg_ParseTuple(args
,"s:wxColourDialog_ShowModal",&_argc0
))
406 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColourDialog_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p.");
411 _result
= (int )wxColourDialog_ShowModal(_arg0
);
412 _resultobj
= Py_BuildValue("i",_result
);
416 static void *SwigwxDirDialogTowxDialog(void *ptr
) {
419 src
= (wxDirDialog
*) ptr
;
420 dest
= (wxDialog
*) src
;
421 return (void *) dest
;
424 static void *SwigwxDirDialogTowxPanel(void *ptr
) {
427 src
= (wxDirDialog
*) ptr
;
428 dest
= (wxPanel
*) src
;
429 return (void *) dest
;
432 static void *SwigwxDirDialogTowxWindow(void *ptr
) {
435 src
= (wxDirDialog
*) ptr
;
436 dest
= (wxWindow
*) src
;
437 return (void *) dest
;
440 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) {
443 src
= (wxDirDialog
*) ptr
;
444 dest
= (wxEvtHandler
*) src
;
445 return (void *) dest
;
448 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
449 static PyObject
*_wrap_new_wxDirDialog(PyObject
*self
, PyObject
*args
) {
450 PyObject
* _resultobj
;
451 wxDirDialog
* _result
;
453 char * _arg1
= "Choose a directory";
456 wxPoint
* _arg4
= &wxPyDefaultPosition
;
462 if(!PyArg_ParseTuple(args
,"s|ssls:new_wxDirDialog",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_argc4
))
465 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p.");
471 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxPoint_p")) {
472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDirDialog. Expected _wxPoint_p.");
476 _result
= (wxDirDialog
*)new_wxDirDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p");
478 _resultobj
= Py_BuildValue("s",_ptemp
);
482 #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath())
483 static PyObject
*_wrap_wxDirDialog_GetPath(PyObject
*self
, PyObject
*args
) {
484 PyObject
* _resultobj
;
490 if(!PyArg_ParseTuple(args
,"s:wxDirDialog_GetPath",&_argc0
))
493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDirDialog_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p.");
498 _result
= new wxString (wxDirDialog_GetPath(_arg0
));
500 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
508 #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
509 static PyObject
*_wrap_wxDirDialog_GetMessage(PyObject
*self
, PyObject
*args
) {
510 PyObject
* _resultobj
;
516 if(!PyArg_ParseTuple(args
,"s:wxDirDialog_GetMessage",&_argc0
))
519 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDirDialog_p")) {
520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p.");
524 _result
= new wxString (wxDirDialog_GetMessage(_arg0
));
526 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
534 #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
535 static PyObject
*_wrap_wxDirDialog_GetStyle(PyObject
*self
, PyObject
*args
) {
536 PyObject
* _resultobj
;
542 if(!PyArg_ParseTuple(args
,"s:wxDirDialog_GetStyle",&_argc0
))
545 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDirDialog_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p.");
550 _result
= (long )wxDirDialog_GetStyle(_arg0
);
551 _resultobj
= Py_BuildValue("l",_result
);
555 #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
556 static PyObject
*_wrap_wxDirDialog_SetMessage(PyObject
*self
, PyObject
*args
) {
557 PyObject
* _resultobj
;
561 PyObject
* _obj1
= 0;
564 if(!PyArg_ParseTuple(args
,"sO:wxDirDialog_SetMessage",&_argc0
,&_obj1
))
567 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDirDialog_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p.");
573 if (!PyString_Check(_obj1
)) {
574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
577 _arg1
= new wxString(PyString_AsString(_obj1
));
579 wxDirDialog_SetMessage(_arg0
,*_arg1
);
581 _resultobj
= Py_None
;
589 #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
590 static PyObject
*_wrap_wxDirDialog_SetPath(PyObject
*self
, PyObject
*args
) {
591 PyObject
* _resultobj
;
595 PyObject
* _obj1
= 0;
598 if(!PyArg_ParseTuple(args
,"sO:wxDirDialog_SetPath",&_argc0
,&_obj1
))
601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDirDialog_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p.");
607 if (!PyString_Check(_obj1
)) {
608 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
611 _arg1
= new wxString(PyString_AsString(_obj1
));
613 wxDirDialog_SetPath(_arg0
,*_arg1
);
615 _resultobj
= Py_None
;
623 #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
624 static PyObject
*_wrap_wxDirDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
625 PyObject
* _resultobj
;
631 if(!PyArg_ParseTuple(args
,"s:wxDirDialog_ShowModal",&_argc0
))
634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDirDialog_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p.");
639 _result
= (int )wxDirDialog_ShowModal(_arg0
);
640 _resultobj
= Py_BuildValue("i",_result
);
644 static void *SwigwxFileDialogTowxDialog(void *ptr
) {
647 src
= (wxFileDialog
*) ptr
;
648 dest
= (wxDialog
*) src
;
649 return (void *) dest
;
652 static void *SwigwxFileDialogTowxPanel(void *ptr
) {
655 src
= (wxFileDialog
*) ptr
;
656 dest
= (wxPanel
*) src
;
657 return (void *) dest
;
660 static void *SwigwxFileDialogTowxWindow(void *ptr
) {
663 src
= (wxFileDialog
*) ptr
;
664 dest
= (wxWindow
*) src
;
665 return (void *) dest
;
668 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) {
671 src
= (wxFileDialog
*) ptr
;
672 dest
= (wxEvtHandler
*) src
;
673 return (void *) dest
;
676 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
677 static PyObject
*_wrap_new_wxFileDialog(PyObject
*self
, PyObject
*args
) {
678 PyObject
* _resultobj
;
679 wxFileDialog
* _result
;
681 char * _arg1
= "Choose a file";
684 char * _arg4
= "*.*";
686 wxPoint
* _arg6
= &wxPyDefaultPosition
;
692 if(!PyArg_ParseTuple(args
,"s|ssssls:new_wxFileDialog",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argc6
))
695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p.");
701 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxPoint_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxFileDialog. Expected _wxPoint_p.");
706 _result
= (wxFileDialog
*)new_wxFileDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p");
708 _resultobj
= Py_BuildValue("s",_ptemp
);
712 #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory())
713 static PyObject
*_wrap_wxFileDialog_GetDirectory(PyObject
*self
, PyObject
*args
) {
714 PyObject
* _resultobj
;
716 wxFileDialog
* _arg0
;
720 if(!PyArg_ParseTuple(args
,"s:wxFileDialog_GetDirectory",&_argc0
))
723 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p.");
728 _result
= new wxString (wxFileDialog_GetDirectory(_arg0
));
730 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
738 #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename())
739 static PyObject
*_wrap_wxFileDialog_GetFilename(PyObject
*self
, PyObject
*args
) {
740 PyObject
* _resultobj
;
742 wxFileDialog
* _arg0
;
746 if(!PyArg_ParseTuple(args
,"s:wxFileDialog_GetFilename",&_argc0
))
749 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p.");
754 _result
= new wxString (wxFileDialog_GetFilename(_arg0
));
756 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
764 #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
765 static PyObject
*_wrap_wxFileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
) {
766 PyObject
* _resultobj
;
768 wxFileDialog
* _arg0
;
772 if(!PyArg_ParseTuple(args
,"s:wxFileDialog_GetFilterIndex",&_argc0
))
775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p.");
780 _result
= (int )wxFileDialog_GetFilterIndex(_arg0
);
781 _resultobj
= Py_BuildValue("i",_result
);
785 #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage())
786 static PyObject
*_wrap_wxFileDialog_GetMessage(PyObject
*self
, PyObject
*args
) {
787 PyObject
* _resultobj
;
789 wxFileDialog
* _arg0
;
793 if(!PyArg_ParseTuple(args
,"s:wxFileDialog_GetMessage",&_argc0
))
796 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p.");
801 _result
= new wxString (wxFileDialog_GetMessage(_arg0
));
803 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
811 #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath())
812 static PyObject
*_wrap_wxFileDialog_GetPath(PyObject
*self
, PyObject
*args
) {
813 PyObject
* _resultobj
;
815 wxFileDialog
* _arg0
;
819 if(!PyArg_ParseTuple(args
,"s:wxFileDialog_GetPath",&_argc0
))
822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p.");
827 _result
= new wxString (wxFileDialog_GetPath(_arg0
));
829 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
837 #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle())
838 static PyObject
*_wrap_wxFileDialog_GetStyle(PyObject
*self
, PyObject
*args
) {
839 PyObject
* _resultobj
;
841 wxFileDialog
* _arg0
;
845 if(!PyArg_ParseTuple(args
,"s:wxFileDialog_GetStyle",&_argc0
))
848 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p.");
853 _result
= (long )wxFileDialog_GetStyle(_arg0
);
854 _resultobj
= Py_BuildValue("l",_result
);
858 #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard())
859 static PyObject
*_wrap_wxFileDialog_GetWildcard(PyObject
*self
, PyObject
*args
) {
860 PyObject
* _resultobj
;
862 wxFileDialog
* _arg0
;
866 if(!PyArg_ParseTuple(args
,"s:wxFileDialog_GetWildcard",&_argc0
))
869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p.");
874 _result
= new wxString (wxFileDialog_GetWildcard(_arg0
));
876 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
884 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0))
885 static PyObject
*_wrap_wxFileDialog_SetDirectory(PyObject
*self
, PyObject
*args
) {
886 PyObject
* _resultobj
;
887 wxFileDialog
* _arg0
;
890 PyObject
* _obj1
= 0;
893 if(!PyArg_ParseTuple(args
,"sO:wxFileDialog_SetDirectory",&_argc0
,&_obj1
))
896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p.");
902 if (!PyString_Check(_obj1
)) {
903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
906 _arg1
= new wxString(PyString_AsString(_obj1
));
908 wxFileDialog_SetDirectory(_arg0
,*_arg1
);
910 _resultobj
= Py_None
;
918 #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
919 static PyObject
*_wrap_wxFileDialog_SetFilename(PyObject
*self
, PyObject
*args
) {
920 PyObject
* _resultobj
;
921 wxFileDialog
* _arg0
;
924 PyObject
* _obj1
= 0;
927 if(!PyArg_ParseTuple(args
,"sO:wxFileDialog_SetFilename",&_argc0
,&_obj1
))
930 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p.");
936 if (!PyString_Check(_obj1
)) {
937 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
940 _arg1
= new wxString(PyString_AsString(_obj1
));
942 wxFileDialog_SetFilename(_arg0
,*_arg1
);
944 _resultobj
= Py_None
;
952 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
953 static PyObject
*_wrap_wxFileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
) {
954 PyObject
* _resultobj
;
955 wxFileDialog
* _arg0
;
960 if(!PyArg_ParseTuple(args
,"si:wxFileDialog_SetFilterIndex",&_argc0
,&_arg1
))
963 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p.");
968 wxFileDialog_SetFilterIndex(_arg0
,_arg1
);
970 _resultobj
= Py_None
;
974 #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
975 static PyObject
*_wrap_wxFileDialog_SetMessage(PyObject
*self
, PyObject
*args
) {
976 PyObject
* _resultobj
;
977 wxFileDialog
* _arg0
;
980 PyObject
* _obj1
= 0;
983 if(!PyArg_ParseTuple(args
,"sO:wxFileDialog_SetMessage",&_argc0
,&_obj1
))
986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p.");
992 if (!PyString_Check(_obj1
)) {
993 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
996 _arg1
= new wxString(PyString_AsString(_obj1
));
998 wxFileDialog_SetMessage(_arg0
,*_arg1
);
1000 _resultobj
= Py_None
;
1008 #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1009 static PyObject
*_wrap_wxFileDialog_SetPath(PyObject
*self
, PyObject
*args
) {
1010 PyObject
* _resultobj
;
1011 wxFileDialog
* _arg0
;
1014 PyObject
* _obj1
= 0;
1017 if(!PyArg_ParseTuple(args
,"sO:wxFileDialog_SetPath",&_argc0
,&_obj1
))
1020 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p.");
1026 if (!PyString_Check(_obj1
)) {
1027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1030 _arg1
= new wxString(PyString_AsString(_obj1
));
1032 wxFileDialog_SetPath(_arg0
,*_arg1
);
1034 _resultobj
= Py_None
;
1042 #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1043 static PyObject
*_wrap_wxFileDialog_SetStyle(PyObject
*self
, PyObject
*args
) {
1044 PyObject
* _resultobj
;
1045 wxFileDialog
* _arg0
;
1050 if(!PyArg_ParseTuple(args
,"sl:wxFileDialog_SetStyle",&_argc0
,&_arg1
))
1053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p.");
1058 wxFileDialog_SetStyle(_arg0
,_arg1
);
1060 _resultobj
= Py_None
;
1064 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0))
1065 static PyObject
*_wrap_wxFileDialog_SetWildcard(PyObject
*self
, PyObject
*args
) {
1066 PyObject
* _resultobj
;
1067 wxFileDialog
* _arg0
;
1070 PyObject
* _obj1
= 0;
1073 if(!PyArg_ParseTuple(args
,"sO:wxFileDialog_SetWildcard",&_argc0
,&_obj1
))
1076 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p.");
1082 if (!PyString_Check(_obj1
)) {
1083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1086 _arg1
= new wxString(PyString_AsString(_obj1
));
1088 wxFileDialog_SetWildcard(_arg0
,*_arg1
);
1090 _resultobj
= Py_None
;
1098 #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1099 static PyObject
*_wrap_wxFileDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
1100 PyObject
* _resultobj
;
1102 wxFileDialog
* _arg0
;
1106 if(!PyArg_ParseTuple(args
,"s:wxFileDialog_ShowModal",&_argc0
))
1109 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFileDialog_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p.");
1114 _result
= (int )wxFileDialog_ShowModal(_arg0
);
1115 _resultobj
= Py_BuildValue("i",_result
);
1119 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) {
1120 wxSingleChoiceDialog
*src
;
1122 src
= (wxSingleChoiceDialog
*) ptr
;
1123 dest
= (wxDialog
*) src
;
1124 return (void *) dest
;
1127 static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr
) {
1128 wxSingleChoiceDialog
*src
;
1130 src
= (wxSingleChoiceDialog
*) ptr
;
1131 dest
= (wxPanel
*) src
;
1132 return (void *) dest
;
1135 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) {
1136 wxSingleChoiceDialog
*src
;
1138 src
= (wxSingleChoiceDialog
*) ptr
;
1139 dest
= (wxWindow
*) src
;
1140 return (void *) dest
;
1143 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) {
1144 wxSingleChoiceDialog
*src
;
1146 src
= (wxSingleChoiceDialog
*) ptr
;
1147 dest
= (wxEvtHandler
*) src
;
1148 return (void *) dest
;
1151 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
*message
,wxString
*caption
,int LCOUNT
,wxString
*LIST
,long style
,wxPoint
*pos
) {
1152 return new wxSingleChoiceDialog(parent
, *message
, *caption
,
1153 LCOUNT
, LIST
, NULL
, style
, *pos
);
1156 static PyObject
*_wrap_new_wxSingleChoiceDialog(PyObject
*self
, PyObject
*args
) {
1157 PyObject
* _resultobj
;
1158 wxSingleChoiceDialog
* _result
;
1164 long _arg5
= (wxOK
)|(wxCANCEL
)|(wxCENTRE
);
1165 wxPoint
* _arg6
= &wxPyDefaultPosition
;
1167 PyObject
* _obj1
= 0;
1168 PyObject
* _obj2
= 0;
1169 PyObject
* _obj4
= 0;
1174 if(!PyArg_ParseTuple(args
,"sOOO|ls:new_wxSingleChoiceDialog",&_argc0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_argc6
))
1177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p.");
1183 if (!PyString_Check(_obj1
)) {
1184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1187 _arg1
= new wxString(PyString_AsString(_obj1
));
1190 if (!PyString_Check(_obj2
)) {
1191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1194 _arg2
= new wxString(PyString_AsString(_obj2
));
1198 _arg4
= wxString_LIST_helper(_obj4
);
1199 if (_arg4
== NULL
) {
1204 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxPoint_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxSingleChoiceDialog. Expected _wxPoint_p.");
1210 _arg3
= PyList_Size(_obj4
);
1212 _result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p");
1214 _resultobj
= Py_BuildValue("s",_ptemp
);
1229 #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection())
1230 static PyObject
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
) {
1231 PyObject
* _resultobj
;
1233 wxSingleChoiceDialog
* _arg0
;
1237 if(!PyArg_ParseTuple(args
,"s:wxSingleChoiceDialog_GetSelection",&_argc0
))
1240 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p.");
1245 _result
= (int )wxSingleChoiceDialog_GetSelection(_arg0
);
1246 _resultobj
= Py_BuildValue("i",_result
);
1250 #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1251 static PyObject
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
) {
1252 PyObject
* _resultobj
;
1254 wxSingleChoiceDialog
* _arg0
;
1258 if(!PyArg_ParseTuple(args
,"s:wxSingleChoiceDialog_GetStringSelection",&_argc0
))
1261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p.");
1266 _result
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
));
1268 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1276 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1277 static PyObject
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
) {
1278 PyObject
* _resultobj
;
1279 wxSingleChoiceDialog
* _arg0
;
1284 if(!PyArg_ParseTuple(args
,"si:wxSingleChoiceDialog_SetSelection",&_argc0
,&_arg1
))
1287 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p.");
1292 wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
);
1294 _resultobj
= Py_None
;
1298 #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1299 static PyObject
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
1300 PyObject
* _resultobj
;
1302 wxSingleChoiceDialog
* _arg0
;
1306 if(!PyArg_ParseTuple(args
,"s:wxSingleChoiceDialog_ShowModal",&_argc0
))
1309 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p.");
1314 _result
= (int )wxSingleChoiceDialog_ShowModal(_arg0
);
1315 _resultobj
= Py_BuildValue("i",_result
);
1319 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) {
1320 wxTextEntryDialog
*src
;
1322 src
= (wxTextEntryDialog
*) ptr
;
1323 dest
= (wxDialog
*) src
;
1324 return (void *) dest
;
1327 static void *SwigwxTextEntryDialogTowxPanel(void *ptr
) {
1328 wxTextEntryDialog
*src
;
1330 src
= (wxTextEntryDialog
*) ptr
;
1331 dest
= (wxPanel
*) src
;
1332 return (void *) dest
;
1335 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) {
1336 wxTextEntryDialog
*src
;
1338 src
= (wxTextEntryDialog
*) ptr
;
1339 dest
= (wxWindow
*) src
;
1340 return (void *) dest
;
1343 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) {
1344 wxTextEntryDialog
*src
;
1346 src
= (wxTextEntryDialog
*) ptr
;
1347 dest
= (wxEvtHandler
*) src
;
1348 return (void *) dest
;
1351 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1352 static PyObject
*_wrap_new_wxTextEntryDialog(PyObject
*self
, PyObject
*args
) {
1353 PyObject
* _resultobj
;
1354 wxTextEntryDialog
* _result
;
1357 char * _arg2
= "Input Text";
1359 long _arg4
= (wxOK
)|(wxCANCEL
)|(wxCENTRE
);
1360 wxPoint
* _arg5
= &wxPyDefaultPosition
;
1366 if(!PyArg_ParseTuple(args
,"ss|ssls:new_wxTextEntryDialog",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
))
1369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p.");
1375 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPoint_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTextEntryDialog. Expected _wxPoint_p.");
1380 _result
= (wxTextEntryDialog
*)new_wxTextEntryDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
);
1381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p");
1382 _resultobj
= Py_BuildValue("s",_ptemp
);
1386 #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue())
1387 static PyObject
*_wrap_wxTextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
) {
1388 PyObject
* _resultobj
;
1390 wxTextEntryDialog
* _arg0
;
1394 if(!PyArg_ParseTuple(args
,"s:wxTextEntryDialog_GetValue",&_argc0
))
1397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p.");
1402 _result
= new wxString (wxTextEntryDialog_GetValue(_arg0
));
1404 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1412 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1413 static PyObject
*_wrap_wxTextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
) {
1414 PyObject
* _resultobj
;
1415 wxTextEntryDialog
* _arg0
;
1418 PyObject
* _obj1
= 0;
1421 if(!PyArg_ParseTuple(args
,"sO:wxTextEntryDialog_SetValue",&_argc0
,&_obj1
))
1424 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p.");
1430 if (!PyString_Check(_obj1
)) {
1431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1434 _arg1
= new wxString(PyString_AsString(_obj1
));
1436 wxTextEntryDialog_SetValue(_arg0
,*_arg1
);
1438 _resultobj
= Py_None
;
1446 #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1447 static PyObject
*_wrap_wxTextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
1448 PyObject
* _resultobj
;
1450 wxTextEntryDialog
* _arg0
;
1454 if(!PyArg_ParseTuple(args
,"s:wxTextEntryDialog_ShowModal",&_argc0
))
1457 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p.");
1462 _result
= (int )wxTextEntryDialog_ShowModal(_arg0
);
1463 _resultobj
= Py_BuildValue("i",_result
);
1467 #define new_wxFontData() (new wxFontData())
1468 static PyObject
*_wrap_new_wxFontData(PyObject
*self
, PyObject
*args
) {
1469 PyObject
* _resultobj
;
1470 wxFontData
* _result
;
1474 if(!PyArg_ParseTuple(args
,":new_wxFontData"))
1476 _result
= (wxFontData
*)new_wxFontData();
1477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
1478 _resultobj
= Py_BuildValue("s",_ptemp
);
1482 #define delete_wxFontData(_swigobj) (delete _swigobj)
1483 static PyObject
*_wrap_delete_wxFontData(PyObject
*self
, PyObject
*args
) {
1484 PyObject
* _resultobj
;
1489 if(!PyArg_ParseTuple(args
,"s:delete_wxFontData",&_argc0
))
1492 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p.");
1497 delete_wxFontData(_arg0
);
1499 _resultobj
= Py_None
;
1503 #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0))
1504 static PyObject
*_wrap_wxFontData_EnableEffects(PyObject
*self
, PyObject
*args
) {
1505 PyObject
* _resultobj
;
1512 if(!PyArg_ParseTuple(args
,"si:wxFontData_EnableEffects",&_argc0
,&tempbool1
))
1515 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p.");
1520 _arg1
= (bool ) tempbool1
;
1521 wxFontData_EnableEffects(_arg0
,_arg1
);
1523 _resultobj
= Py_None
;
1527 #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols())
1528 static PyObject
*_wrap_wxFontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
) {
1529 PyObject
* _resultobj
;
1535 if(!PyArg_ParseTuple(args
,"s:wxFontData_GetAllowSymbols",&_argc0
))
1538 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p.");
1543 _result
= (bool )wxFontData_GetAllowSymbols(_arg0
);
1544 _resultobj
= Py_BuildValue("i",_result
);
1548 #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour())
1549 static PyObject
*_wrap_wxFontData_GetColour(PyObject
*self
, PyObject
*args
) {
1550 PyObject
* _resultobj
;
1557 if(!PyArg_ParseTuple(args
,"s:wxFontData_GetColour",&_argc0
))
1560 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p.");
1565 wxColour
& _result_ref
= wxFontData_GetColour(_arg0
);
1566 _result
= (wxColour
*) &_result_ref
;
1567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1568 _resultobj
= Py_BuildValue("s",_ptemp
);
1572 #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont())
1573 static PyObject
*_wrap_wxFontData_GetChosenFont(PyObject
*self
, PyObject
*args
) {
1574 PyObject
* _resultobj
;
1581 if(!PyArg_ParseTuple(args
,"s:wxFontData_GetChosenFont",&_argc0
))
1584 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p.");
1589 _result
= new wxFont (wxFontData_GetChosenFont(_arg0
));
1590 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1591 _resultobj
= Py_BuildValue("s",_ptemp
);
1595 #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects())
1596 static PyObject
*_wrap_wxFontData_GetEnableEffects(PyObject
*self
, PyObject
*args
) {
1597 PyObject
* _resultobj
;
1603 if(!PyArg_ParseTuple(args
,"s:wxFontData_GetEnableEffects",&_argc0
))
1606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p.");
1611 _result
= (bool )wxFontData_GetEnableEffects(_arg0
);
1612 _resultobj
= Py_BuildValue("i",_result
);
1616 #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont())
1617 static PyObject
*_wrap_wxFontData_GetInitialFont(PyObject
*self
, PyObject
*args
) {
1618 PyObject
* _resultobj
;
1625 if(!PyArg_ParseTuple(args
,"s:wxFontData_GetInitialFont",&_argc0
))
1628 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p.");
1633 _result
= new wxFont (wxFontData_GetInitialFont(_arg0
));
1634 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1635 _resultobj
= Py_BuildValue("s",_ptemp
);
1639 #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp())
1640 static PyObject
*_wrap_wxFontData_GetShowHelp(PyObject
*self
, PyObject
*args
) {
1641 PyObject
* _resultobj
;
1647 if(!PyArg_ParseTuple(args
,"s:wxFontData_GetShowHelp",&_argc0
))
1650 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p.");
1655 _result
= (bool )wxFontData_GetShowHelp(_arg0
);
1656 _resultobj
= Py_BuildValue("i",_result
);
1660 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0))
1661 static PyObject
*_wrap_wxFontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
) {
1662 PyObject
* _resultobj
;
1669 if(!PyArg_ParseTuple(args
,"si:wxFontData_SetAllowSymbols",&_argc0
,&tempbool1
))
1672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p.");
1677 _arg1
= (bool ) tempbool1
;
1678 wxFontData_SetAllowSymbols(_arg0
,_arg1
);
1680 _resultobj
= Py_None
;
1684 #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0))
1685 static PyObject
*_wrap_wxFontData_SetChosenFont(PyObject
*self
, PyObject
*args
) {
1686 PyObject
* _resultobj
;
1693 if(!PyArg_ParseTuple(args
,"ss:wxFontData_SetChosenFont",&_argc0
,&_argc1
))
1696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p.");
1702 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p.");
1707 wxFontData_SetChosenFont(_arg0
,*_arg1
);
1709 _resultobj
= Py_None
;
1713 #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1714 static PyObject
*_wrap_wxFontData_SetColour(PyObject
*self
, PyObject
*args
) {
1715 PyObject
* _resultobj
;
1722 if(!PyArg_ParseTuple(args
,"ss:wxFontData_SetColour",&_argc0
,&_argc1
))
1725 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p.");
1731 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetColour. Expected _wxColour_p.");
1736 wxFontData_SetColour(_arg0
,*_arg1
);
1738 _resultobj
= Py_None
;
1742 #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0))
1743 static PyObject
*_wrap_wxFontData_SetInitialFont(PyObject
*self
, PyObject
*args
) {
1744 PyObject
* _resultobj
;
1751 if(!PyArg_ParseTuple(args
,"ss:wxFontData_SetInitialFont",&_argc0
,&_argc1
))
1754 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p.");
1760 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p.");
1765 wxFontData_SetInitialFont(_arg0
,*_arg1
);
1767 _resultobj
= Py_None
;
1771 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
1772 static PyObject
*_wrap_wxFontData_SetRange(PyObject
*self
, PyObject
*args
) {
1773 PyObject
* _resultobj
;
1780 if(!PyArg_ParseTuple(args
,"sii:wxFontData_SetRange",&_argc0
,&_arg1
,&_arg2
))
1783 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p.");
1788 wxFontData_SetRange(_arg0
,_arg1
,_arg2
);
1790 _resultobj
= Py_None
;
1794 #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0))
1795 static PyObject
*_wrap_wxFontData_SetShowHelp(PyObject
*self
, PyObject
*args
) {
1796 PyObject
* _resultobj
;
1803 if(!PyArg_ParseTuple(args
,"si:wxFontData_SetShowHelp",&_argc0
,&tempbool1
))
1806 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontData_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p.");
1811 _arg1
= (bool ) tempbool1
;
1812 wxFontData_SetShowHelp(_arg0
,_arg1
);
1814 _resultobj
= Py_None
;
1818 static void *SwigwxFontDialogTowxDialog(void *ptr
) {
1821 src
= (wxFontDialog
*) ptr
;
1822 dest
= (wxDialog
*) src
;
1823 return (void *) dest
;
1826 static void *SwigwxFontDialogTowxPanel(void *ptr
) {
1829 src
= (wxFontDialog
*) ptr
;
1830 dest
= (wxPanel
*) src
;
1831 return (void *) dest
;
1834 static void *SwigwxFontDialogTowxWindow(void *ptr
) {
1837 src
= (wxFontDialog
*) ptr
;
1838 dest
= (wxWindow
*) src
;
1839 return (void *) dest
;
1842 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) {
1845 src
= (wxFontDialog
*) ptr
;
1846 dest
= (wxEvtHandler
*) src
;
1847 return (void *) dest
;
1850 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1))
1851 static PyObject
*_wrap_new_wxFontDialog(PyObject
*self
, PyObject
*args
) {
1852 PyObject
* _resultobj
;
1853 wxFontDialog
* _result
;
1855 wxFontData
* _arg1
= NULL
;
1861 if(!PyArg_ParseTuple(args
,"s|s:new_wxFontDialog",&_argc0
,&_argc1
))
1864 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p.");
1870 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFontData_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p.");
1875 _result
= (wxFontDialog
*)new_wxFontDialog(_arg0
,_arg1
);
1876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p");
1877 _resultobj
= Py_BuildValue("s",_ptemp
);
1881 #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData())
1882 static PyObject
*_wrap_wxFontDialog_GetFontData(PyObject
*self
, PyObject
*args
) {
1883 PyObject
* _resultobj
;
1884 wxFontData
* _result
;
1885 wxFontDialog
* _arg0
;
1890 if(!PyArg_ParseTuple(args
,"s:wxFontDialog_GetFontData",&_argc0
))
1893 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontDialog_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p.");
1898 wxFontData
& _result_ref
= wxFontDialog_GetFontData(_arg0
);
1899 _result
= (wxFontData
*) &_result_ref
;
1900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p");
1901 _resultobj
= Py_BuildValue("s",_ptemp
);
1905 #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1906 static PyObject
*_wrap_wxFontDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
1907 PyObject
* _resultobj
;
1909 wxFontDialog
* _arg0
;
1913 if(!PyArg_ParseTuple(args
,"s:wxFontDialog_ShowModal",&_argc0
))
1916 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFontDialog_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p.");
1921 _result
= (int )wxFontDialog_ShowModal(_arg0
);
1922 _resultobj
= Py_BuildValue("i",_result
);
1926 #define new_wxPageSetupData() (new wxPageSetupData())
1927 static PyObject
*_wrap_new_wxPageSetupData(PyObject
*self
, PyObject
*args
) {
1928 PyObject
* _resultobj
;
1929 wxPageSetupData
* _result
;
1933 if(!PyArg_ParseTuple(args
,":new_wxPageSetupData"))
1935 _result
= (wxPageSetupData
*)new_wxPageSetupData();
1936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupData_p");
1937 _resultobj
= Py_BuildValue("s",_ptemp
);
1941 #define delete_wxPageSetupData(_swigobj) (delete _swigobj)
1942 static PyObject
*_wrap_delete_wxPageSetupData(PyObject
*self
, PyObject
*args
) {
1943 PyObject
* _resultobj
;
1944 wxPageSetupData
* _arg0
;
1948 if(!PyArg_ParseTuple(args
,"s:delete_wxPageSetupData",&_argc0
))
1951 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPageSetupData. Expected _wxPageSetupData_p.");
1956 delete_wxPageSetupData(_arg0
);
1958 _resultobj
= Py_None
;
1962 #define wxPageSetupData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
1963 static PyObject
*_wrap_wxPageSetupData_EnableHelp(PyObject
*self
, PyObject
*args
) {
1964 PyObject
* _resultobj
;
1965 wxPageSetupData
* _arg0
;
1971 if(!PyArg_ParseTuple(args
,"si:wxPageSetupData_EnableHelp",&_argc0
,&tempbool1
))
1974 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_EnableHelp. Expected _wxPageSetupData_p.");
1979 _arg1
= (bool ) tempbool1
;
1980 wxPageSetupData_EnableHelp(_arg0
,_arg1
);
1982 _resultobj
= Py_None
;
1986 #define wxPageSetupData_EnableMargins(_swigobj,_swigarg0) (_swigobj->EnableMargins(_swigarg0))
1987 static PyObject
*_wrap_wxPageSetupData_EnableMargins(PyObject
*self
, PyObject
*args
) {
1988 PyObject
* _resultobj
;
1989 wxPageSetupData
* _arg0
;
1995 if(!PyArg_ParseTuple(args
,"si:wxPageSetupData_EnableMargins",&_argc0
,&tempbool1
))
1998 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_EnableMargins. Expected _wxPageSetupData_p.");
2003 _arg1
= (bool ) tempbool1
;
2004 wxPageSetupData_EnableMargins(_arg0
,_arg1
);
2006 _resultobj
= Py_None
;
2010 #define wxPageSetupData_EnableOrientation(_swigobj,_swigarg0) (_swigobj->EnableOrientation(_swigarg0))
2011 static PyObject
*_wrap_wxPageSetupData_EnableOrientation(PyObject
*self
, PyObject
*args
) {
2012 PyObject
* _resultobj
;
2013 wxPageSetupData
* _arg0
;
2019 if(!PyArg_ParseTuple(args
,"si:wxPageSetupData_EnableOrientation",&_argc0
,&tempbool1
))
2022 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_EnableOrientation. Expected _wxPageSetupData_p.");
2027 _arg1
= (bool ) tempbool1
;
2028 wxPageSetupData_EnableOrientation(_arg0
,_arg1
);
2030 _resultobj
= Py_None
;
2034 #define wxPageSetupData_EnablePaper(_swigobj,_swigarg0) (_swigobj->EnablePaper(_swigarg0))
2035 static PyObject
*_wrap_wxPageSetupData_EnablePaper(PyObject
*self
, PyObject
*args
) {
2036 PyObject
* _resultobj
;
2037 wxPageSetupData
* _arg0
;
2043 if(!PyArg_ParseTuple(args
,"si:wxPageSetupData_EnablePaper",&_argc0
,&tempbool1
))
2046 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_EnablePaper. Expected _wxPageSetupData_p.");
2051 _arg1
= (bool ) tempbool1
;
2052 wxPageSetupData_EnablePaper(_arg0
,_arg1
);
2054 _resultobj
= Py_None
;
2058 #define wxPageSetupData_EnablePrinter(_swigobj,_swigarg0) (_swigobj->EnablePrinter(_swigarg0))
2059 static PyObject
*_wrap_wxPageSetupData_EnablePrinter(PyObject
*self
, PyObject
*args
) {
2060 PyObject
* _resultobj
;
2061 wxPageSetupData
* _arg0
;
2067 if(!PyArg_ParseTuple(args
,"si:wxPageSetupData_EnablePrinter",&_argc0
,&tempbool1
))
2070 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_EnablePrinter. Expected _wxPageSetupData_p.");
2075 _arg1
= (bool ) tempbool1
;
2076 wxPageSetupData_EnablePrinter(_arg0
,_arg1
);
2078 _resultobj
= Py_None
;
2082 #define wxPageSetupData_GetPaperSize(_swigobj) (_swigobj->GetPaperSize())
2083 static PyObject
*_wrap_wxPageSetupData_GetPaperSize(PyObject
*self
, PyObject
*args
) {
2084 PyObject
* _resultobj
;
2086 wxPageSetupData
* _arg0
;
2091 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetPaperSize",&_argc0
))
2094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetPaperSize. Expected _wxPageSetupData_p.");
2099 _result
= new wxPoint (wxPageSetupData_GetPaperSize(_arg0
));
2100 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2101 _resultobj
= Py_BuildValue("s",_ptemp
);
2105 #define wxPageSetupData_GetMarginTopLeft(_swigobj) (_swigobj->GetMarginTopLeft())
2106 static PyObject
*_wrap_wxPageSetupData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
) {
2107 PyObject
* _resultobj
;
2109 wxPageSetupData
* _arg0
;
2114 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetMarginTopLeft",&_argc0
))
2117 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetMarginTopLeft. Expected _wxPageSetupData_p.");
2122 _result
= new wxPoint (wxPageSetupData_GetMarginTopLeft(_arg0
));
2123 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2124 _resultobj
= Py_BuildValue("s",_ptemp
);
2128 #define wxPageSetupData_GetMarginBottomRight(_swigobj) (_swigobj->GetMarginBottomRight())
2129 static PyObject
*_wrap_wxPageSetupData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
) {
2130 PyObject
* _resultobj
;
2132 wxPageSetupData
* _arg0
;
2137 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetMarginBottomRight",&_argc0
))
2140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetMarginBottomRight. Expected _wxPageSetupData_p.");
2145 _result
= new wxPoint (wxPageSetupData_GetMarginBottomRight(_arg0
));
2146 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2147 _resultobj
= Py_BuildValue("s",_ptemp
);
2151 #define wxPageSetupData_GetMinMarginTopLeft(_swigobj) (_swigobj->GetMinMarginTopLeft())
2152 static PyObject
*_wrap_wxPageSetupData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
) {
2153 PyObject
* _resultobj
;
2155 wxPageSetupData
* _arg0
;
2160 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetMinMarginTopLeft",&_argc0
))
2163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetMinMarginTopLeft. Expected _wxPageSetupData_p.");
2168 _result
= new wxPoint (wxPageSetupData_GetMinMarginTopLeft(_arg0
));
2169 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2170 _resultobj
= Py_BuildValue("s",_ptemp
);
2174 #define wxPageSetupData_GetMinMarginBottomRight(_swigobj) (_swigobj->GetMinMarginBottomRight())
2175 static PyObject
*_wrap_wxPageSetupData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
) {
2176 PyObject
* _resultobj
;
2178 wxPageSetupData
* _arg0
;
2183 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetMinMarginBottomRight",&_argc0
))
2186 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetMinMarginBottomRight. Expected _wxPageSetupData_p.");
2191 _result
= new wxPoint (wxPageSetupData_GetMinMarginBottomRight(_arg0
));
2192 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2193 _resultobj
= Py_BuildValue("s",_ptemp
);
2197 #define wxPageSetupData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
2198 static PyObject
*_wrap_wxPageSetupData_GetOrientation(PyObject
*self
, PyObject
*args
) {
2199 PyObject
* _resultobj
;
2201 wxPageSetupData
* _arg0
;
2205 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetOrientation",&_argc0
))
2208 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetOrientation. Expected _wxPageSetupData_p.");
2213 _result
= (int )wxPageSetupData_GetOrientation(_arg0
);
2214 _resultobj
= Py_BuildValue("i",_result
);
2218 #define wxPageSetupData_GetDefaultMinMargins(_swigobj) (_swigobj->GetDefaultMinMargins())
2219 static PyObject
*_wrap_wxPageSetupData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
) {
2220 PyObject
* _resultobj
;
2222 wxPageSetupData
* _arg0
;
2226 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetDefaultMinMargins",&_argc0
))
2229 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetDefaultMinMargins. Expected _wxPageSetupData_p.");
2234 _result
= (bool )wxPageSetupData_GetDefaultMinMargins(_arg0
);
2235 _resultobj
= Py_BuildValue("i",_result
);
2239 #define wxPageSetupData_GetEnableMargins(_swigobj) (_swigobj->GetEnableMargins())
2240 static PyObject
*_wrap_wxPageSetupData_GetEnableMargins(PyObject
*self
, PyObject
*args
) {
2241 PyObject
* _resultobj
;
2243 wxPageSetupData
* _arg0
;
2247 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetEnableMargins",&_argc0
))
2250 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetEnableMargins. Expected _wxPageSetupData_p.");
2255 _result
= (bool )wxPageSetupData_GetEnableMargins(_arg0
);
2256 _resultobj
= Py_BuildValue("i",_result
);
2260 #define wxPageSetupData_GetEnableOrientation(_swigobj) (_swigobj->GetEnableOrientation())
2261 static PyObject
*_wrap_wxPageSetupData_GetEnableOrientation(PyObject
*self
, PyObject
*args
) {
2262 PyObject
* _resultobj
;
2264 wxPageSetupData
* _arg0
;
2268 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetEnableOrientation",&_argc0
))
2271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetEnableOrientation. Expected _wxPageSetupData_p.");
2276 _result
= (bool )wxPageSetupData_GetEnableOrientation(_arg0
);
2277 _resultobj
= Py_BuildValue("i",_result
);
2281 #define wxPageSetupData_GetEnablePaper(_swigobj) (_swigobj->GetEnablePaper())
2282 static PyObject
*_wrap_wxPageSetupData_GetEnablePaper(PyObject
*self
, PyObject
*args
) {
2283 PyObject
* _resultobj
;
2285 wxPageSetupData
* _arg0
;
2289 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetEnablePaper",&_argc0
))
2292 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetEnablePaper. Expected _wxPageSetupData_p.");
2297 _result
= (bool )wxPageSetupData_GetEnablePaper(_arg0
);
2298 _resultobj
= Py_BuildValue("i",_result
);
2302 #define wxPageSetupData_GetEnablePrinter(_swigobj) (_swigobj->GetEnablePrinter())
2303 static PyObject
*_wrap_wxPageSetupData_GetEnablePrinter(PyObject
*self
, PyObject
*args
) {
2304 PyObject
* _resultobj
;
2306 wxPageSetupData
* _arg0
;
2310 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetEnablePrinter",&_argc0
))
2313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetEnablePrinter. Expected _wxPageSetupData_p.");
2318 _result
= (bool )wxPageSetupData_GetEnablePrinter(_arg0
);
2319 _resultobj
= Py_BuildValue("i",_result
);
2323 #define wxPageSetupData_GetEnableHelp(_swigobj) (_swigobj->GetEnableHelp())
2324 static PyObject
*_wrap_wxPageSetupData_GetEnableHelp(PyObject
*self
, PyObject
*args
) {
2325 PyObject
* _resultobj
;
2327 wxPageSetupData
* _arg0
;
2331 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetEnableHelp",&_argc0
))
2334 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetEnableHelp. Expected _wxPageSetupData_p.");
2339 _result
= (bool )wxPageSetupData_GetEnableHelp(_arg0
);
2340 _resultobj
= Py_BuildValue("i",_result
);
2344 #define wxPageSetupData_GetDefaultInfo(_swigobj) (_swigobj->GetDefaultInfo())
2345 static PyObject
*_wrap_wxPageSetupData_GetDefaultInfo(PyObject
*self
, PyObject
*args
) {
2346 PyObject
* _resultobj
;
2348 wxPageSetupData
* _arg0
;
2352 if(!PyArg_ParseTuple(args
,"s:wxPageSetupData_GetDefaultInfo",&_argc0
))
2355 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_GetDefaultInfo. Expected _wxPageSetupData_p.");
2360 _result
= (bool )wxPageSetupData_GetDefaultInfo(_arg0
);
2361 _resultobj
= Py_BuildValue("i",_result
);
2365 #define wxPageSetupData_SetPaperSize(_swigobj,_swigarg0) (_swigobj->SetPaperSize(_swigarg0))
2366 static PyObject
*_wrap_wxPageSetupData_SetPaperSize(PyObject
*self
, PyObject
*args
) {
2367 PyObject
* _resultobj
;
2368 wxPageSetupData
* _arg0
;
2374 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupData_SetPaperSize",&_argc0
,&_argc1
))
2377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_SetPaperSize. Expected _wxPageSetupData_p.");
2383 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupData_SetPaperSize. Expected _wxPoint_p.");
2388 wxPageSetupData_SetPaperSize(_arg0
,*_arg1
);
2390 _resultobj
= Py_None
;
2394 #define wxPageSetupData_SetMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMarginTopLeft(_swigarg0))
2395 static PyObject
*_wrap_wxPageSetupData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
) {
2396 PyObject
* _resultobj
;
2397 wxPageSetupData
* _arg0
;
2403 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupData_SetMarginTopLeft",&_argc0
,&_argc1
))
2406 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_SetMarginTopLeft. Expected _wxPageSetupData_p.");
2412 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupData_SetMarginTopLeft. Expected _wxPoint_p.");
2417 wxPageSetupData_SetMarginTopLeft(_arg0
,*_arg1
);
2419 _resultobj
= Py_None
;
2423 #define wxPageSetupData_SetMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMarginBottomRight(_swigarg0))
2424 static PyObject
*_wrap_wxPageSetupData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
) {
2425 PyObject
* _resultobj
;
2426 wxPageSetupData
* _arg0
;
2432 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupData_SetMarginBottomRight",&_argc0
,&_argc1
))
2435 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_SetMarginBottomRight. Expected _wxPageSetupData_p.");
2441 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupData_SetMarginBottomRight. Expected _wxPoint_p.");
2446 wxPageSetupData_SetMarginBottomRight(_arg0
,*_arg1
);
2448 _resultobj
= Py_None
;
2452 #define wxPageSetupData_SetMinMarginTopLeft(_swigobj,_swigarg0) (_swigobj->SetMinMarginTopLeft(_swigarg0))
2453 static PyObject
*_wrap_wxPageSetupData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
) {
2454 PyObject
* _resultobj
;
2455 wxPageSetupData
* _arg0
;
2461 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupData_SetMinMarginTopLeft",&_argc0
,&_argc1
))
2464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_SetMinMarginTopLeft. Expected _wxPageSetupData_p.");
2470 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupData_SetMinMarginTopLeft. Expected _wxPoint_p.");
2475 wxPageSetupData_SetMinMarginTopLeft(_arg0
,*_arg1
);
2477 _resultobj
= Py_None
;
2481 #define wxPageSetupData_SetMinMarginBottomRight(_swigobj,_swigarg0) (_swigobj->SetMinMarginBottomRight(_swigarg0))
2482 static PyObject
*_wrap_wxPageSetupData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
) {
2483 PyObject
* _resultobj
;
2484 wxPageSetupData
* _arg0
;
2490 if(!PyArg_ParseTuple(args
,"ss:wxPageSetupData_SetMinMarginBottomRight",&_argc0
,&_argc1
))
2493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_SetMinMarginBottomRight. Expected _wxPageSetupData_p.");
2499 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPageSetupData_SetMinMarginBottomRight. Expected _wxPoint_p.");
2504 wxPageSetupData_SetMinMarginBottomRight(_arg0
,*_arg1
);
2506 _resultobj
= Py_None
;
2510 #define wxPageSetupData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
2511 static PyObject
*_wrap_wxPageSetupData_SetOrientation(PyObject
*self
, PyObject
*args
) {
2512 PyObject
* _resultobj
;
2513 wxPageSetupData
* _arg0
;
2518 if(!PyArg_ParseTuple(args
,"si:wxPageSetupData_SetOrientation",&_argc0
,&_arg1
))
2521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_SetOrientation. Expected _wxPageSetupData_p.");
2526 wxPageSetupData_SetOrientation(_arg0
,_arg1
);
2528 _resultobj
= Py_None
;
2532 #define wxPageSetupData_SetDefaultMinMargins(_swigobj,_swigarg0) (_swigobj->SetDefaultMinMargins(_swigarg0))
2533 static PyObject
*_wrap_wxPageSetupData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
) {
2534 PyObject
* _resultobj
;
2535 wxPageSetupData
* _arg0
;
2541 if(!PyArg_ParseTuple(args
,"si:wxPageSetupData_SetDefaultMinMargins",&_argc0
,&tempbool1
))
2544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_SetDefaultMinMargins. Expected _wxPageSetupData_p.");
2549 _arg1
= (bool ) tempbool1
;
2550 wxPageSetupData_SetDefaultMinMargins(_arg0
,_arg1
);
2552 _resultobj
= Py_None
;
2556 #define wxPageSetupData_SetDefaultInfo(_swigobj,_swigarg0) (_swigobj->SetDefaultInfo(_swigarg0))
2557 static PyObject
*_wrap_wxPageSetupData_SetDefaultInfo(PyObject
*self
, PyObject
*args
) {
2558 PyObject
* _resultobj
;
2559 wxPageSetupData
* _arg0
;
2565 if(!PyArg_ParseTuple(args
,"si:wxPageSetupData_SetDefaultInfo",&_argc0
,&tempbool1
))
2568 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupData_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupData_SetDefaultInfo. Expected _wxPageSetupData_p.");
2573 _arg1
= (bool ) tempbool1
;
2574 wxPageSetupData_SetDefaultInfo(_arg0
,_arg1
);
2576 _resultobj
= Py_None
;
2580 static void *SwigwxPageSetupDialogTowxDialog(void *ptr
) {
2581 wxPageSetupDialog
*src
;
2583 src
= (wxPageSetupDialog
*) ptr
;
2584 dest
= (wxDialog
*) src
;
2585 return (void *) dest
;
2588 static void *SwigwxPageSetupDialogTowxPanel(void *ptr
) {
2589 wxPageSetupDialog
*src
;
2591 src
= (wxPageSetupDialog
*) ptr
;
2592 dest
= (wxPanel
*) src
;
2593 return (void *) dest
;
2596 static void *SwigwxPageSetupDialogTowxWindow(void *ptr
) {
2597 wxPageSetupDialog
*src
;
2599 src
= (wxPageSetupDialog
*) ptr
;
2600 dest
= (wxWindow
*) src
;
2601 return (void *) dest
;
2604 static void *SwigwxPageSetupDialogTowxEvtHandler(void *ptr
) {
2605 wxPageSetupDialog
*src
;
2607 src
= (wxPageSetupDialog
*) ptr
;
2608 dest
= (wxEvtHandler
*) src
;
2609 return (void *) dest
;
2612 #define new_wxPageSetupDialog(_swigarg0,_swigarg1) (new wxPageSetupDialog(_swigarg0,_swigarg1))
2613 static PyObject
*_wrap_new_wxPageSetupDialog(PyObject
*self
, PyObject
*args
) {
2614 PyObject
* _resultobj
;
2615 wxPageSetupDialog
* _result
;
2617 wxPageSetupData
* _arg1
= NULL
;
2623 if(!PyArg_ParseTuple(args
,"s|s:new_wxPageSetupDialog",&_argc0
,&_argc1
))
2626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPageSetupDialog. Expected _wxWindow_p.");
2632 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPageSetupData_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPageSetupDialog. Expected _wxPageSetupData_p.");
2637 _result
= (wxPageSetupDialog
*)new_wxPageSetupDialog(_arg0
,_arg1
);
2638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialog_p");
2639 _resultobj
= Py_BuildValue("s",_ptemp
);
2643 #define wxPageSetupDialog_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
2644 static PyObject
*_wrap_wxPageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
) {
2645 PyObject
* _resultobj
;
2646 wxPageSetupData
* _result
;
2647 wxPageSetupDialog
* _arg0
;
2652 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialog_GetPageSetupData",&_argc0
))
2655 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_GetPageSetupData. Expected _wxPageSetupDialog_p.");
2660 wxPageSetupData
& _result_ref
= wxPageSetupDialog_GetPageSetupData(_arg0
);
2661 _result
= (wxPageSetupData
*) &_result_ref
;
2662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupData_p");
2663 _resultobj
= Py_BuildValue("s",_ptemp
);
2667 #define wxPageSetupDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2668 static PyObject
*_wrap_wxPageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2669 PyObject
* _resultobj
;
2671 wxPageSetupDialog
* _arg0
;
2675 if(!PyArg_ParseTuple(args
,"s:wxPageSetupDialog_ShowModal",&_argc0
))
2678 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPageSetupDialog_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPageSetupDialog_ShowModal. Expected _wxPageSetupDialog_p.");
2683 _result
= (int )wxPageSetupDialog_ShowModal(_arg0
);
2684 _resultobj
= Py_BuildValue("i",_result
);
2688 #define new_wxPrintData() (new wxPrintData())
2689 static PyObject
*_wrap_new_wxPrintData(PyObject
*self
, PyObject
*args
) {
2690 PyObject
* _resultobj
;
2691 wxPrintData
* _result
;
2695 if(!PyArg_ParseTuple(args
,":new_wxPrintData"))
2697 _result
= (wxPrintData
*)new_wxPrintData();
2698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
2699 _resultobj
= Py_BuildValue("s",_ptemp
);
2703 #define delete_wxPrintData(_swigobj) (delete _swigobj)
2704 static PyObject
*_wrap_delete_wxPrintData(PyObject
*self
, PyObject
*args
) {
2705 PyObject
* _resultobj
;
2706 wxPrintData
* _arg0
;
2710 if(!PyArg_ParseTuple(args
,"s:delete_wxPrintData",&_argc0
))
2713 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPrintData. Expected _wxPrintData_p.");
2718 delete_wxPrintData(_arg0
);
2720 _resultobj
= Py_None
;
2724 #define wxPrintData_EnableHelp(_swigobj,_swigarg0) (_swigobj->EnableHelp(_swigarg0))
2725 static PyObject
*_wrap_wxPrintData_EnableHelp(PyObject
*self
, PyObject
*args
) {
2726 PyObject
* _resultobj
;
2727 wxPrintData
* _arg0
;
2733 if(!PyArg_ParseTuple(args
,"si:wxPrintData_EnableHelp",&_argc0
,&tempbool1
))
2736 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_EnableHelp. Expected _wxPrintData_p.");
2741 _arg1
= (bool ) tempbool1
;
2742 wxPrintData_EnableHelp(_arg0
,_arg1
);
2744 _resultobj
= Py_None
;
2748 #define wxPrintData_EnablePageNumbers(_swigobj,_swigarg0) (_swigobj->EnablePageNumbers(_swigarg0))
2749 static PyObject
*_wrap_wxPrintData_EnablePageNumbers(PyObject
*self
, PyObject
*args
) {
2750 PyObject
* _resultobj
;
2751 wxPrintData
* _arg0
;
2757 if(!PyArg_ParseTuple(args
,"si:wxPrintData_EnablePageNumbers",&_argc0
,&tempbool1
))
2760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_EnablePageNumbers. Expected _wxPrintData_p.");
2765 _arg1
= (bool ) tempbool1
;
2766 wxPrintData_EnablePageNumbers(_arg0
,_arg1
);
2768 _resultobj
= Py_None
;
2772 #define wxPrintData_EnablePrintToFile(_swigobj,_swigarg0) (_swigobj->EnablePrintToFile(_swigarg0))
2773 static PyObject
*_wrap_wxPrintData_EnablePrintToFile(PyObject
*self
, PyObject
*args
) {
2774 PyObject
* _resultobj
;
2775 wxPrintData
* _arg0
;
2781 if(!PyArg_ParseTuple(args
,"si:wxPrintData_EnablePrintToFile",&_argc0
,&tempbool1
))
2784 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_EnablePrintToFile. Expected _wxPrintData_p.");
2789 _arg1
= (bool ) tempbool1
;
2790 wxPrintData_EnablePrintToFile(_arg0
,_arg1
);
2792 _resultobj
= Py_None
;
2796 #define wxPrintData_EnableSelection(_swigobj,_swigarg0) (_swigobj->EnableSelection(_swigarg0))
2797 static PyObject
*_wrap_wxPrintData_EnableSelection(PyObject
*self
, PyObject
*args
) {
2798 PyObject
* _resultobj
;
2799 wxPrintData
* _arg0
;
2805 if(!PyArg_ParseTuple(args
,"si:wxPrintData_EnableSelection",&_argc0
,&tempbool1
))
2808 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_EnableSelection. Expected _wxPrintData_p.");
2813 _arg1
= (bool ) tempbool1
;
2814 wxPrintData_EnableSelection(_arg0
,_arg1
);
2816 _resultobj
= Py_None
;
2820 #define wxPrintData_GetAllPages(_swigobj) (_swigobj->GetAllPages())
2821 static PyObject
*_wrap_wxPrintData_GetAllPages(PyObject
*self
, PyObject
*args
) {
2822 PyObject
* _resultobj
;
2824 wxPrintData
* _arg0
;
2828 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetAllPages",&_argc0
))
2831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetAllPages. Expected _wxPrintData_p.");
2836 _result
= (bool )wxPrintData_GetAllPages(_arg0
);
2837 _resultobj
= Py_BuildValue("i",_result
);
2841 #define wxPrintData_GetCollate(_swigobj) (_swigobj->GetCollate())
2842 static PyObject
*_wrap_wxPrintData_GetCollate(PyObject
*self
, PyObject
*args
) {
2843 PyObject
* _resultobj
;
2845 wxPrintData
* _arg0
;
2849 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetCollate",&_argc0
))
2852 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetCollate. Expected _wxPrintData_p.");
2857 _result
= (bool )wxPrintData_GetCollate(_arg0
);
2858 _resultobj
= Py_BuildValue("i",_result
);
2862 #define wxPrintData_GetFromPage(_swigobj) (_swigobj->GetFromPage())
2863 static PyObject
*_wrap_wxPrintData_GetFromPage(PyObject
*self
, PyObject
*args
) {
2864 PyObject
* _resultobj
;
2866 wxPrintData
* _arg0
;
2870 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetFromPage",&_argc0
))
2873 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetFromPage. Expected _wxPrintData_p.");
2878 _result
= (int )wxPrintData_GetFromPage(_arg0
);
2879 _resultobj
= Py_BuildValue("i",_result
);
2883 #define wxPrintData_GetMaxPage(_swigobj) (_swigobj->GetMaxPage())
2884 static PyObject
*_wrap_wxPrintData_GetMaxPage(PyObject
*self
, PyObject
*args
) {
2885 PyObject
* _resultobj
;
2887 wxPrintData
* _arg0
;
2891 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetMaxPage",&_argc0
))
2894 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetMaxPage. Expected _wxPrintData_p.");
2899 _result
= (int )wxPrintData_GetMaxPage(_arg0
);
2900 _resultobj
= Py_BuildValue("i",_result
);
2904 #define wxPrintData_GetMinPage(_swigobj) (_swigobj->GetMinPage())
2905 static PyObject
*_wrap_wxPrintData_GetMinPage(PyObject
*self
, PyObject
*args
) {
2906 PyObject
* _resultobj
;
2908 wxPrintData
* _arg0
;
2912 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetMinPage",&_argc0
))
2915 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetMinPage. Expected _wxPrintData_p.");
2920 _result
= (int )wxPrintData_GetMinPage(_arg0
);
2921 _resultobj
= Py_BuildValue("i",_result
);
2925 #define wxPrintData_GetNoCopies(_swigobj) (_swigobj->GetNoCopies())
2926 static PyObject
*_wrap_wxPrintData_GetNoCopies(PyObject
*self
, PyObject
*args
) {
2927 PyObject
* _resultobj
;
2929 wxPrintData
* _arg0
;
2933 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetNoCopies",&_argc0
))
2936 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetNoCopies. Expected _wxPrintData_p.");
2941 _result
= (int )wxPrintData_GetNoCopies(_arg0
);
2942 _resultobj
= Py_BuildValue("i",_result
);
2946 #define wxPrintData_GetOrientation(_swigobj) (_swigobj->GetOrientation())
2947 static PyObject
*_wrap_wxPrintData_GetOrientation(PyObject
*self
, PyObject
*args
) {
2948 PyObject
* _resultobj
;
2950 wxPrintData
* _arg0
;
2954 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetOrientation",&_argc0
))
2957 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetOrientation. Expected _wxPrintData_p.");
2962 _result
= (int )wxPrintData_GetOrientation(_arg0
);
2963 _resultobj
= Py_BuildValue("i",_result
);
2967 #define wxPrintData_GetToPage(_swigobj) (_swigobj->GetToPage())
2968 static PyObject
*_wrap_wxPrintData_GetToPage(PyObject
*self
, PyObject
*args
) {
2969 PyObject
* _resultobj
;
2971 wxPrintData
* _arg0
;
2975 if(!PyArg_ParseTuple(args
,"s:wxPrintData_GetToPage",&_argc0
))
2978 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_GetToPage. Expected _wxPrintData_p.");
2983 _result
= (int )wxPrintData_GetToPage(_arg0
);
2984 _resultobj
= Py_BuildValue("i",_result
);
2988 #define wxPrintData_SetCollate(_swigobj,_swigarg0) (_swigobj->SetCollate(_swigarg0))
2989 static PyObject
*_wrap_wxPrintData_SetCollate(PyObject
*self
, PyObject
*args
) {
2990 PyObject
* _resultobj
;
2991 wxPrintData
* _arg0
;
2997 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetCollate",&_argc0
,&tempbool1
))
3000 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
3001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetCollate. Expected _wxPrintData_p.");
3005 _arg1
= (bool ) tempbool1
;
3006 wxPrintData_SetCollate(_arg0
,_arg1
);
3008 _resultobj
= Py_None
;
3012 #define wxPrintData_SetFromPage(_swigobj,_swigarg0) (_swigobj->SetFromPage(_swigarg0))
3013 static PyObject
*_wrap_wxPrintData_SetFromPage(PyObject
*self
, PyObject
*args
) {
3014 PyObject
* _resultobj
;
3015 wxPrintData
* _arg0
;
3020 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetFromPage",&_argc0
,&_arg1
))
3023 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
3024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetFromPage. Expected _wxPrintData_p.");
3028 wxPrintData_SetFromPage(_arg0
,_arg1
);
3030 _resultobj
= Py_None
;
3034 #define wxPrintData_SetMaxPage(_swigobj,_swigarg0) (_swigobj->SetMaxPage(_swigarg0))
3035 static PyObject
*_wrap_wxPrintData_SetMaxPage(PyObject
*self
, PyObject
*args
) {
3036 PyObject
* _resultobj
;
3037 wxPrintData
* _arg0
;
3042 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetMaxPage",&_argc0
,&_arg1
))
3045 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetMaxPage. Expected _wxPrintData_p.");
3050 wxPrintData_SetMaxPage(_arg0
,_arg1
);
3052 _resultobj
= Py_None
;
3056 #define wxPrintData_SetMinPage(_swigobj,_swigarg0) (_swigobj->SetMinPage(_swigarg0))
3057 static PyObject
*_wrap_wxPrintData_SetMinPage(PyObject
*self
, PyObject
*args
) {
3058 PyObject
* _resultobj
;
3059 wxPrintData
* _arg0
;
3064 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetMinPage",&_argc0
,&_arg1
))
3067 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetMinPage. Expected _wxPrintData_p.");
3072 wxPrintData_SetMinPage(_arg0
,_arg1
);
3074 _resultobj
= Py_None
;
3078 #define wxPrintData_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
3079 static PyObject
*_wrap_wxPrintData_SetOrientation(PyObject
*self
, PyObject
*args
) {
3080 PyObject
* _resultobj
;
3081 wxPrintData
* _arg0
;
3086 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetOrientation",&_argc0
,&_arg1
))
3089 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetOrientation. Expected _wxPrintData_p.");
3094 wxPrintData_SetOrientation(_arg0
,_arg1
);
3096 _resultobj
= Py_None
;
3100 #define wxPrintData_SetNoCopies(_swigobj,_swigarg0) (_swigobj->SetNoCopies(_swigarg0))
3101 static PyObject
*_wrap_wxPrintData_SetNoCopies(PyObject
*self
, PyObject
*args
) {
3102 PyObject
* _resultobj
;
3103 wxPrintData
* _arg0
;
3108 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetNoCopies",&_argc0
,&_arg1
))
3111 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetNoCopies. Expected _wxPrintData_p.");
3116 wxPrintData_SetNoCopies(_arg0
,_arg1
);
3118 _resultobj
= Py_None
;
3122 #define wxPrintData_SetPrintToFile(_swigobj,_swigarg0) (_swigobj->SetPrintToFile(_swigarg0))
3123 static PyObject
*_wrap_wxPrintData_SetPrintToFile(PyObject
*self
, PyObject
*args
) {
3124 PyObject
* _resultobj
;
3125 wxPrintData
* _arg0
;
3131 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetPrintToFile",&_argc0
,&tempbool1
))
3134 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetPrintToFile. Expected _wxPrintData_p.");
3139 _arg1
= (bool ) tempbool1
;
3140 wxPrintData_SetPrintToFile(_arg0
,_arg1
);
3142 _resultobj
= Py_None
;
3146 #define wxPrintData_SetSetupDialog(_swigobj,_swigarg0) (_swigobj->SetSetupDialog(_swigarg0))
3147 static PyObject
*_wrap_wxPrintData_SetSetupDialog(PyObject
*self
, PyObject
*args
) {
3148 PyObject
* _resultobj
;
3149 wxPrintData
* _arg0
;
3155 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetSetupDialog",&_argc0
,&tempbool1
))
3158 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetSetupDialog. Expected _wxPrintData_p.");
3163 _arg1
= (bool ) tempbool1
;
3164 wxPrintData_SetSetupDialog(_arg0
,_arg1
);
3166 _resultobj
= Py_None
;
3170 #define wxPrintData_SetToPage(_swigobj,_swigarg0) (_swigobj->SetToPage(_swigarg0))
3171 static PyObject
*_wrap_wxPrintData_SetToPage(PyObject
*self
, PyObject
*args
) {
3172 PyObject
* _resultobj
;
3173 wxPrintData
* _arg0
;
3178 if(!PyArg_ParseTuple(args
,"si:wxPrintData_SetToPage",&_argc0
,&_arg1
))
3181 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintData_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintData_SetToPage. Expected _wxPrintData_p.");
3186 wxPrintData_SetToPage(_arg0
,_arg1
);
3188 _resultobj
= Py_None
;
3192 static void *SwigwxPrintDialogTowxDialog(void *ptr
) {
3195 src
= (wxPrintDialog
*) ptr
;
3196 dest
= (wxDialog
*) src
;
3197 return (void *) dest
;
3200 static void *SwigwxPrintDialogTowxPanel(void *ptr
) {
3203 src
= (wxPrintDialog
*) ptr
;
3204 dest
= (wxPanel
*) src
;
3205 return (void *) dest
;
3208 static void *SwigwxPrintDialogTowxWindow(void *ptr
) {
3211 src
= (wxPrintDialog
*) ptr
;
3212 dest
= (wxWindow
*) src
;
3213 return (void *) dest
;
3216 static void *SwigwxPrintDialogTowxEvtHandler(void *ptr
) {
3219 src
= (wxPrintDialog
*) ptr
;
3220 dest
= (wxEvtHandler
*) src
;
3221 return (void *) dest
;
3224 #define new_wxPrintDialog(_swigarg0,_swigarg1) (new wxPrintDialog(_swigarg0,_swigarg1))
3225 static PyObject
*_wrap_new_wxPrintDialog(PyObject
*self
, PyObject
*args
) {
3226 PyObject
* _resultobj
;
3227 wxPrintDialog
* _result
;
3229 wxPrintData
* _arg1
= NULL
;
3235 if(!PyArg_ParseTuple(args
,"s|s:new_wxPrintDialog",&_argc0
,&_argc1
))
3238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPrintDialog. Expected _wxWindow_p.");
3244 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPrintData_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPrintDialog. Expected _wxPrintData_p.");
3249 _result
= (wxPrintDialog
*)new_wxPrintDialog(_arg0
,_arg1
);
3250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintDialog_p");
3251 _resultobj
= Py_BuildValue("s",_ptemp
);
3255 #define wxPrintDialog_GetPrintData(_swigobj) (_swigobj->GetPrintData())
3256 static PyObject
*_wrap_wxPrintDialog_GetPrintData(PyObject
*self
, PyObject
*args
) {
3257 PyObject
* _resultobj
;
3258 wxPrintData
* _result
;
3259 wxPrintDialog
* _arg0
;
3264 if(!PyArg_ParseTuple(args
,"s:wxPrintDialog_GetPrintData",&_argc0
))
3267 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintData. Expected _wxPrintDialog_p.");
3272 wxPrintData
& _result_ref
= wxPrintDialog_GetPrintData(_arg0
);
3273 _result
= (wxPrintData
*) &_result_ref
;
3274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
3275 _resultobj
= Py_BuildValue("s",_ptemp
);
3279 #define wxPrintDialog_GetPrintDC(_swigobj) (_swigobj->GetPrintDC())
3280 static PyObject
*_wrap_wxPrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
) {
3281 PyObject
* _resultobj
;
3283 wxPrintDialog
* _arg0
;
3288 if(!PyArg_ParseTuple(args
,"s:wxPrintDialog_GetPrintDC",&_argc0
))
3291 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_GetPrintDC. Expected _wxPrintDialog_p.");
3296 _result
= (wxDC
*)wxPrintDialog_GetPrintDC(_arg0
);
3297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3298 _resultobj
= Py_BuildValue("s",_ptemp
);
3302 #define wxPrintDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3303 static PyObject
*_wrap_wxPrintDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3304 PyObject
* _resultobj
;
3306 wxPrintDialog
* _arg0
;
3310 if(!PyArg_ParseTuple(args
,"s:wxPrintDialog_ShowModal",&_argc0
))
3313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPrintDialog_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPrintDialog_ShowModal. Expected _wxPrintDialog_p.");
3318 _result
= (int )wxPrintDialog_ShowModal(_arg0
);
3319 _resultobj
= Py_BuildValue("i",_result
);
3323 static void *SwigwxMessageDialogTowxDialog(void *ptr
) {
3324 wxMessageDialog
*src
;
3326 src
= (wxMessageDialog
*) ptr
;
3327 dest
= (wxDialog
*) src
;
3328 return (void *) dest
;
3331 static void *SwigwxMessageDialogTowxPanel(void *ptr
) {
3332 wxMessageDialog
*src
;
3334 src
= (wxMessageDialog
*) ptr
;
3335 dest
= (wxPanel
*) src
;
3336 return (void *) dest
;
3339 static void *SwigwxMessageDialogTowxWindow(void *ptr
) {
3340 wxMessageDialog
*src
;
3342 src
= (wxMessageDialog
*) ptr
;
3343 dest
= (wxWindow
*) src
;
3344 return (void *) dest
;
3347 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) {
3348 wxMessageDialog
*src
;
3350 src
= (wxMessageDialog
*) ptr
;
3351 dest
= (wxEvtHandler
*) src
;
3352 return (void *) dest
;
3355 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3356 static PyObject
*_wrap_new_wxMessageDialog(PyObject
*self
, PyObject
*args
) {
3357 PyObject
* _resultobj
;
3358 wxMessageDialog
* _result
;
3361 char * _arg2
= "Message box";
3362 long _arg3
= (wxOK
)|(wxCANCEL
)|(wxCENTRE
);
3363 wxPoint
* _arg4
= &wxPyDefaultPosition
;
3369 if(!PyArg_ParseTuple(args
,"ss|sls:new_wxMessageDialog",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_argc4
))
3372 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p.");
3378 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxPoint_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMessageDialog. Expected _wxPoint_p.");
3383 _result
= (wxMessageDialog
*)new_wxMessageDialog(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
3384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p");
3385 _resultobj
= Py_BuildValue("s",_ptemp
);
3389 #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3390 static PyObject
*_wrap_wxMessageDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3391 PyObject
* _resultobj
;
3393 wxMessageDialog
* _arg0
;
3397 if(!PyArg_ParseTuple(args
,"s:wxMessageDialog_ShowModal",&_argc0
))
3400 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMessageDialog_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p.");
3405 _result
= (int )wxMessageDialog_ShowModal(_arg0
);
3406 _resultobj
= Py_BuildValue("i",_result
);
3410 static PyMethodDef cmndlgscMethods
[] = {
3411 { "wxMessageDialog_ShowModal", _wrap_wxMessageDialog_ShowModal
, 1 },
3412 { "new_wxMessageDialog", _wrap_new_wxMessageDialog
, 1 },
3413 { "wxPrintDialog_ShowModal", _wrap_wxPrintDialog_ShowModal
, 1 },
3414 { "wxPrintDialog_GetPrintDC", _wrap_wxPrintDialog_GetPrintDC
, 1 },
3415 { "wxPrintDialog_GetPrintData", _wrap_wxPrintDialog_GetPrintData
, 1 },
3416 { "new_wxPrintDialog", _wrap_new_wxPrintDialog
, 1 },
3417 { "wxPrintData_SetToPage", _wrap_wxPrintData_SetToPage
, 1 },
3418 { "wxPrintData_SetSetupDialog", _wrap_wxPrintData_SetSetupDialog
, 1 },
3419 { "wxPrintData_SetPrintToFile", _wrap_wxPrintData_SetPrintToFile
, 1 },
3420 { "wxPrintData_SetNoCopies", _wrap_wxPrintData_SetNoCopies
, 1 },
3421 { "wxPrintData_SetOrientation", _wrap_wxPrintData_SetOrientation
, 1 },
3422 { "wxPrintData_SetMinPage", _wrap_wxPrintData_SetMinPage
, 1 },
3423 { "wxPrintData_SetMaxPage", _wrap_wxPrintData_SetMaxPage
, 1 },
3424 { "wxPrintData_SetFromPage", _wrap_wxPrintData_SetFromPage
, 1 },
3425 { "wxPrintData_SetCollate", _wrap_wxPrintData_SetCollate
, 1 },
3426 { "wxPrintData_GetToPage", _wrap_wxPrintData_GetToPage
, 1 },
3427 { "wxPrintData_GetOrientation", _wrap_wxPrintData_GetOrientation
, 1 },
3428 { "wxPrintData_GetNoCopies", _wrap_wxPrintData_GetNoCopies
, 1 },
3429 { "wxPrintData_GetMinPage", _wrap_wxPrintData_GetMinPage
, 1 },
3430 { "wxPrintData_GetMaxPage", _wrap_wxPrintData_GetMaxPage
, 1 },
3431 { "wxPrintData_GetFromPage", _wrap_wxPrintData_GetFromPage
, 1 },
3432 { "wxPrintData_GetCollate", _wrap_wxPrintData_GetCollate
, 1 },
3433 { "wxPrintData_GetAllPages", _wrap_wxPrintData_GetAllPages
, 1 },
3434 { "wxPrintData_EnableSelection", _wrap_wxPrintData_EnableSelection
, 1 },
3435 { "wxPrintData_EnablePrintToFile", _wrap_wxPrintData_EnablePrintToFile
, 1 },
3436 { "wxPrintData_EnablePageNumbers", _wrap_wxPrintData_EnablePageNumbers
, 1 },
3437 { "wxPrintData_EnableHelp", _wrap_wxPrintData_EnableHelp
, 1 },
3438 { "delete_wxPrintData", _wrap_delete_wxPrintData
, 1 },
3439 { "new_wxPrintData", _wrap_new_wxPrintData
, 1 },
3440 { "wxPageSetupDialog_ShowModal", _wrap_wxPageSetupDialog_ShowModal
, 1 },
3441 { "wxPageSetupDialog_GetPageSetupData", _wrap_wxPageSetupDialog_GetPageSetupData
, 1 },
3442 { "new_wxPageSetupDialog", _wrap_new_wxPageSetupDialog
, 1 },
3443 { "wxPageSetupData_SetDefaultInfo", _wrap_wxPageSetupData_SetDefaultInfo
, 1 },
3444 { "wxPageSetupData_SetDefaultMinMargins", _wrap_wxPageSetupData_SetDefaultMinMargins
, 1 },
3445 { "wxPageSetupData_SetOrientation", _wrap_wxPageSetupData_SetOrientation
, 1 },
3446 { "wxPageSetupData_SetMinMarginBottomRight", _wrap_wxPageSetupData_SetMinMarginBottomRight
, 1 },
3447 { "wxPageSetupData_SetMinMarginTopLeft", _wrap_wxPageSetupData_SetMinMarginTopLeft
, 1 },
3448 { "wxPageSetupData_SetMarginBottomRight", _wrap_wxPageSetupData_SetMarginBottomRight
, 1 },
3449 { "wxPageSetupData_SetMarginTopLeft", _wrap_wxPageSetupData_SetMarginTopLeft
, 1 },
3450 { "wxPageSetupData_SetPaperSize", _wrap_wxPageSetupData_SetPaperSize
, 1 },
3451 { "wxPageSetupData_GetDefaultInfo", _wrap_wxPageSetupData_GetDefaultInfo
, 1 },
3452 { "wxPageSetupData_GetEnableHelp", _wrap_wxPageSetupData_GetEnableHelp
, 1 },
3453 { "wxPageSetupData_GetEnablePrinter", _wrap_wxPageSetupData_GetEnablePrinter
, 1 },
3454 { "wxPageSetupData_GetEnablePaper", _wrap_wxPageSetupData_GetEnablePaper
, 1 },
3455 { "wxPageSetupData_GetEnableOrientation", _wrap_wxPageSetupData_GetEnableOrientation
, 1 },
3456 { "wxPageSetupData_GetEnableMargins", _wrap_wxPageSetupData_GetEnableMargins
, 1 },
3457 { "wxPageSetupData_GetDefaultMinMargins", _wrap_wxPageSetupData_GetDefaultMinMargins
, 1 },
3458 { "wxPageSetupData_GetOrientation", _wrap_wxPageSetupData_GetOrientation
, 1 },
3459 { "wxPageSetupData_GetMinMarginBottomRight", _wrap_wxPageSetupData_GetMinMarginBottomRight
, 1 },
3460 { "wxPageSetupData_GetMinMarginTopLeft", _wrap_wxPageSetupData_GetMinMarginTopLeft
, 1 },
3461 { "wxPageSetupData_GetMarginBottomRight", _wrap_wxPageSetupData_GetMarginBottomRight
, 1 },
3462 { "wxPageSetupData_GetMarginTopLeft", _wrap_wxPageSetupData_GetMarginTopLeft
, 1 },
3463 { "wxPageSetupData_GetPaperSize", _wrap_wxPageSetupData_GetPaperSize
, 1 },
3464 { "wxPageSetupData_EnablePrinter", _wrap_wxPageSetupData_EnablePrinter
, 1 },
3465 { "wxPageSetupData_EnablePaper", _wrap_wxPageSetupData_EnablePaper
, 1 },
3466 { "wxPageSetupData_EnableOrientation", _wrap_wxPageSetupData_EnableOrientation
, 1 },
3467 { "wxPageSetupData_EnableMargins", _wrap_wxPageSetupData_EnableMargins
, 1 },
3468 { "wxPageSetupData_EnableHelp", _wrap_wxPageSetupData_EnableHelp
, 1 },
3469 { "delete_wxPageSetupData", _wrap_delete_wxPageSetupData
, 1 },
3470 { "new_wxPageSetupData", _wrap_new_wxPageSetupData
, 1 },
3471 { "wxFontDialog_ShowModal", _wrap_wxFontDialog_ShowModal
, 1 },
3472 { "wxFontDialog_GetFontData", _wrap_wxFontDialog_GetFontData
, 1 },
3473 { "new_wxFontDialog", _wrap_new_wxFontDialog
, 1 },
3474 { "wxFontData_SetShowHelp", _wrap_wxFontData_SetShowHelp
, 1 },
3475 { "wxFontData_SetRange", _wrap_wxFontData_SetRange
, 1 },
3476 { "wxFontData_SetInitialFont", _wrap_wxFontData_SetInitialFont
, 1 },
3477 { "wxFontData_SetColour", _wrap_wxFontData_SetColour
, 1 },
3478 { "wxFontData_SetChosenFont", _wrap_wxFontData_SetChosenFont
, 1 },
3479 { "wxFontData_SetAllowSymbols", _wrap_wxFontData_SetAllowSymbols
, 1 },
3480 { "wxFontData_GetShowHelp", _wrap_wxFontData_GetShowHelp
, 1 },
3481 { "wxFontData_GetInitialFont", _wrap_wxFontData_GetInitialFont
, 1 },
3482 { "wxFontData_GetEnableEffects", _wrap_wxFontData_GetEnableEffects
, 1 },
3483 { "wxFontData_GetChosenFont", _wrap_wxFontData_GetChosenFont
, 1 },
3484 { "wxFontData_GetColour", _wrap_wxFontData_GetColour
, 1 },
3485 { "wxFontData_GetAllowSymbols", _wrap_wxFontData_GetAllowSymbols
, 1 },
3486 { "wxFontData_EnableEffects", _wrap_wxFontData_EnableEffects
, 1 },
3487 { "delete_wxFontData", _wrap_delete_wxFontData
, 1 },
3488 { "new_wxFontData", _wrap_new_wxFontData
, 1 },
3489 { "wxTextEntryDialog_ShowModal", _wrap_wxTextEntryDialog_ShowModal
, 1 },
3490 { "wxTextEntryDialog_SetValue", _wrap_wxTextEntryDialog_SetValue
, 1 },
3491 { "wxTextEntryDialog_GetValue", _wrap_wxTextEntryDialog_GetValue
, 1 },
3492 { "new_wxTextEntryDialog", _wrap_new_wxTextEntryDialog
, 1 },
3493 { "wxSingleChoiceDialog_ShowModal", _wrap_wxSingleChoiceDialog_ShowModal
, 1 },
3494 { "wxSingleChoiceDialog_SetSelection", _wrap_wxSingleChoiceDialog_SetSelection
, 1 },
3495 { "wxSingleChoiceDialog_GetStringSelection", _wrap_wxSingleChoiceDialog_GetStringSelection
, 1 },
3496 { "wxSingleChoiceDialog_GetSelection", _wrap_wxSingleChoiceDialog_GetSelection
, 1 },
3497 { "new_wxSingleChoiceDialog", _wrap_new_wxSingleChoiceDialog
, 1 },
3498 { "wxFileDialog_ShowModal", _wrap_wxFileDialog_ShowModal
, 1 },
3499 { "wxFileDialog_SetWildcard", _wrap_wxFileDialog_SetWildcard
, 1 },
3500 { "wxFileDialog_SetStyle", _wrap_wxFileDialog_SetStyle
, 1 },
3501 { "wxFileDialog_SetPath", _wrap_wxFileDialog_SetPath
, 1 },
3502 { "wxFileDialog_SetMessage", _wrap_wxFileDialog_SetMessage
, 1 },
3503 { "wxFileDialog_SetFilterIndex", _wrap_wxFileDialog_SetFilterIndex
, 1 },
3504 { "wxFileDialog_SetFilename", _wrap_wxFileDialog_SetFilename
, 1 },
3505 { "wxFileDialog_SetDirectory", _wrap_wxFileDialog_SetDirectory
, 1 },
3506 { "wxFileDialog_GetWildcard", _wrap_wxFileDialog_GetWildcard
, 1 },
3507 { "wxFileDialog_GetStyle", _wrap_wxFileDialog_GetStyle
, 1 },
3508 { "wxFileDialog_GetPath", _wrap_wxFileDialog_GetPath
, 1 },
3509 { "wxFileDialog_GetMessage", _wrap_wxFileDialog_GetMessage
, 1 },
3510 { "wxFileDialog_GetFilterIndex", _wrap_wxFileDialog_GetFilterIndex
, 1 },
3511 { "wxFileDialog_GetFilename", _wrap_wxFileDialog_GetFilename
, 1 },
3512 { "wxFileDialog_GetDirectory", _wrap_wxFileDialog_GetDirectory
, 1 },
3513 { "new_wxFileDialog", _wrap_new_wxFileDialog
, 1 },
3514 { "wxDirDialog_ShowModal", _wrap_wxDirDialog_ShowModal
, 1 },
3515 { "wxDirDialog_SetPath", _wrap_wxDirDialog_SetPath
, 1 },
3516 { "wxDirDialog_SetMessage", _wrap_wxDirDialog_SetMessage
, 1 },
3517 { "wxDirDialog_GetStyle", _wrap_wxDirDialog_GetStyle
, 1 },
3518 { "wxDirDialog_GetMessage", _wrap_wxDirDialog_GetMessage
, 1 },
3519 { "wxDirDialog_GetPath", _wrap_wxDirDialog_GetPath
, 1 },
3520 { "new_wxDirDialog", _wrap_new_wxDirDialog
, 1 },
3521 { "wxColourDialog_ShowModal", _wrap_wxColourDialog_ShowModal
, 1 },
3522 { "wxColourDialog_GetColourData", _wrap_wxColourDialog_GetColourData
, 1 },
3523 { "new_wxColourDialog", _wrap_new_wxColourDialog
, 1 },
3524 { "wxColourData_SetCustomColour", _wrap_wxColourData_SetCustomColour
, 1 },
3525 { "wxColourData_SetColour", _wrap_wxColourData_SetColour
, 1 },
3526 { "wxColourData_SetChooseFull", _wrap_wxColourData_SetChooseFull
, 1 },
3527 { "wxColourData_GetCustomColour", _wrap_wxColourData_GetCustomColour
, 1 },
3528 { "wxColourData_GetColour", _wrap_wxColourData_GetColour
, 1 },
3529 { "wxColourData_GetChooseFull", _wrap_wxColourData_GetChooseFull
, 1 },
3530 { "delete_wxColourData", _wrap_delete_wxColourData
, 1 },
3531 { "new_wxColourData", _wrap_new_wxColourData
, 1 },
3534 static PyObject
*SWIG_globals
;
3538 SWIGEXPORT(void,initcmndlgsc
)() {
3540 SWIG_globals
= SWIG_newvarlink();
3541 m
= Py_InitModule("cmndlgsc", cmndlgscMethods
);
3542 d
= PyModule_GetDict(m
);
3544 * These are the pointer type-equivalency mappings.
3545 * (Used by the SWIG pointer type-checker).
3547 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3548 SWIG_RegisterMapping("_signed_long","_long",0);
3549 SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0);
3550 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3551 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
);
3552 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
);
3553 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
3554 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
3555 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
3556 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
3557 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
);
3558 SWIG_RegisterMapping("_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
);
3559 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
);
3560 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
);
3561 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
);
3562 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
);
3563 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
);
3564 SWIG_RegisterMapping("_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
);
3565 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
);
3566 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
);
3567 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
);
3568 SWIG_RegisterMapping("_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
);
3569 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3570 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3571 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3572 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3573 SWIG_RegisterMapping("_wxPageSetupData","_class_wxPageSetupData",0);
3574 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3575 SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0);
3576 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3577 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3578 SWIG_RegisterMapping("_long","_wxDash",0);
3579 SWIG_RegisterMapping("_long","_unsigned_long",0);
3580 SWIG_RegisterMapping("_long","_signed_long",0);
3581 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3582 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
3583 SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0);
3584 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3585 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
3586 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
3587 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
3588 SWIG_RegisterMapping("_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel
);
3589 SWIG_RegisterMapping("_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel
);
3590 SWIG_RegisterMapping("_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
3591 SWIG_RegisterMapping("_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
3592 SWIG_RegisterMapping("_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
3593 SWIG_RegisterMapping("_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
3594 SWIG_RegisterMapping("_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel
);
3595 SWIG_RegisterMapping("_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel
);
3596 SWIG_RegisterMapping("_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
);
3597 SWIG_RegisterMapping("_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
);
3598 SWIG_RegisterMapping("_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
);
3599 SWIG_RegisterMapping("_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
);
3600 SWIG_RegisterMapping("_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel
);
3601 SWIG_RegisterMapping("_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel
);
3602 SWIG_RegisterMapping("_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel
);
3603 SWIG_RegisterMapping("_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel
);
3604 SWIG_RegisterMapping("_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel
);
3605 SWIG_RegisterMapping("_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel
);
3606 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
3607 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
3608 SWIG_RegisterMapping("_class_wxPageSetupData","_wxPageSetupData",0);
3609 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
3610 SWIG_RegisterMapping("_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
);
3611 SWIG_RegisterMapping("_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
);
3612 SWIG_RegisterMapping("_class_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
3613 SWIG_RegisterMapping("_class_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
3614 SWIG_RegisterMapping("_class_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
3615 SWIG_RegisterMapping("_class_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
3616 SWIG_RegisterMapping("_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
);
3617 SWIG_RegisterMapping("_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
);
3618 SWIG_RegisterMapping("_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
);
3619 SWIG_RegisterMapping("_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
);
3620 SWIG_RegisterMapping("_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
);
3621 SWIG_RegisterMapping("_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
);
3622 SWIG_RegisterMapping("_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
);
3623 SWIG_RegisterMapping("_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
);
3624 SWIG_RegisterMapping("_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
);
3625 SWIG_RegisterMapping("_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
);
3626 SWIG_RegisterMapping("_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
);
3627 SWIG_RegisterMapping("_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
);
3628 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
3629 SWIG_RegisterMapping("_wxPageSetupDialog","_class_wxPageSetupDialog",0);
3630 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
3631 SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
3632 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3633 SWIG_RegisterMapping("_uint","_int",0);
3634 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3635 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3636 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3637 SWIG_RegisterMapping("_class_wxFontData","_wxFontData",0);
3638 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
3639 SWIG_RegisterMapping("_wxPrintDialog","_class_wxPrintDialog",0);
3640 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3641 SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0);
3642 SWIG_RegisterMapping("_wxPrintData","_class_wxPrintData",0);
3643 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3644 SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0);
3645 SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0);
3646 SWIG_RegisterMapping("_EBool","_signed_int",0);
3647 SWIG_RegisterMapping("_EBool","_int",0);
3648 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3649 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
3650 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
3651 SWIG_RegisterMapping("_unsigned_long","_long",0);
3652 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3653 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
3654 SWIG_RegisterMapping("_class_wxDirDialog","_wxDirDialog",0);
3655 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3656 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3657 SWIG_RegisterMapping("_class_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel
);
3658 SWIG_RegisterMapping("_class_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel
);
3659 SWIG_RegisterMapping("_class_wxPanel","_class_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
3660 SWIG_RegisterMapping("_class_wxPanel","_wxPrintDialog",SwigwxPrintDialogTowxPanel
);
3661 SWIG_RegisterMapping("_class_wxPanel","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
3662 SWIG_RegisterMapping("_class_wxPanel","_wxPageSetupDialog",SwigwxPageSetupDialogTowxPanel
);
3663 SWIG_RegisterMapping("_class_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel
);
3664 SWIG_RegisterMapping("_class_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel
);
3665 SWIG_RegisterMapping("_class_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
);
3666 SWIG_RegisterMapping("_class_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel
);
3667 SWIG_RegisterMapping("_class_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
);
3668 SWIG_RegisterMapping("_class_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel
);
3669 SWIG_RegisterMapping("_class_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel
);
3670 SWIG_RegisterMapping("_class_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel
);
3671 SWIG_RegisterMapping("_class_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel
);
3672 SWIG_RegisterMapping("_class_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel
);
3673 SWIG_RegisterMapping("_class_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel
);
3674 SWIG_RegisterMapping("_class_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel
);
3675 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
3676 SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0);
3677 SWIG_RegisterMapping("_signed_int","_EBool",0);
3678 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3679 SWIG_RegisterMapping("_signed_int","_int",0);
3680 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3681 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
3682 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
3683 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
3684 SWIG_RegisterMapping("_WXTYPE","_short",0);
3685 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3686 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3687 SWIG_RegisterMapping("_wxFileDialog","_class_wxFileDialog",0);
3688 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
3689 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3690 SWIG_RegisterMapping("_unsigned_short","_short",0);
3691 SWIG_RegisterMapping("_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
);
3692 SWIG_RegisterMapping("_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
);
3693 SWIG_RegisterMapping("_class_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
3694 SWIG_RegisterMapping("_class_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
3695 SWIG_RegisterMapping("_class_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
3696 SWIG_RegisterMapping("_class_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
3697 SWIG_RegisterMapping("_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
);
3698 SWIG_RegisterMapping("_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
);
3699 SWIG_RegisterMapping("_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
);
3700 SWIG_RegisterMapping("_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
);
3701 SWIG_RegisterMapping("_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
);
3702 SWIG_RegisterMapping("_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
);
3703 SWIG_RegisterMapping("_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
);
3704 SWIG_RegisterMapping("_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
);
3705 SWIG_RegisterMapping("_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
);
3706 SWIG_RegisterMapping("_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
);
3707 SWIG_RegisterMapping("_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
);
3708 SWIG_RegisterMapping("_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
);
3709 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
3710 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
3711 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
3712 SWIG_RegisterMapping("_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0);
3713 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3714 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3715 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3716 SWIG_RegisterMapping("_signed_short","_short",0);
3717 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
3718 SWIG_RegisterMapping("_class_wxPrintDialog","_wxPrintDialog",0);
3719 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
3720 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3721 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
3722 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
3723 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
3724 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3725 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
3726 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
3727 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3728 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3729 SWIG_RegisterMapping("_unsigned_int","_int",0);
3730 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
3731 SWIG_RegisterMapping("_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog
);
3732 SWIG_RegisterMapping("_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
);
3733 SWIG_RegisterMapping("_wxDialog","_class_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
3734 SWIG_RegisterMapping("_wxDialog","_wxPrintDialog",SwigwxPrintDialogTowxDialog
);
3735 SWIG_RegisterMapping("_wxDialog","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
3736 SWIG_RegisterMapping("_wxDialog","_wxPageSetupDialog",SwigwxPageSetupDialogTowxDialog
);
3737 SWIG_RegisterMapping("_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog
);
3738 SWIG_RegisterMapping("_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
);
3739 SWIG_RegisterMapping("_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
);
3740 SWIG_RegisterMapping("_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
);
3741 SWIG_RegisterMapping("_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
);
3742 SWIG_RegisterMapping("_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
);
3743 SWIG_RegisterMapping("_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog
);
3744 SWIG_RegisterMapping("_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
);
3745 SWIG_RegisterMapping("_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog
);
3746 SWIG_RegisterMapping("_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
);
3747 SWIG_RegisterMapping("_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog
);
3748 SWIG_RegisterMapping("_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
);
3749 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
3750 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
3751 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
3752 SWIG_RegisterMapping("_class_wxFileDialog","_wxFileDialog",0);
3753 SWIG_RegisterMapping("_short","_WXTYPE",0);
3754 SWIG_RegisterMapping("_short","_unsigned_short",0);
3755 SWIG_RegisterMapping("_short","_signed_short",0);
3756 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
3757 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3758 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3759 SWIG_RegisterMapping("_wxWindowID","_int",0);
3760 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3761 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3762 SWIG_RegisterMapping("_int","_EBool",0);
3763 SWIG_RegisterMapping("_int","_uint",0);
3764 SWIG_RegisterMapping("_int","_wxWindowID",0);
3765 SWIG_RegisterMapping("_int","_unsigned_int",0);
3766 SWIG_RegisterMapping("_int","_signed_int",0);
3767 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3768 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
3769 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
3770 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3771 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
3772 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
3773 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
3774 SWIG_RegisterMapping("_class_wxPageSetupDialog","_wxPageSetupDialog",0);
3775 SWIG_RegisterMapping("_class_wxMiniFrame","_wxMiniFrame",0);
3776 SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0);
3777 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
3778 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3779 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
3780 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
3781 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
3782 SWIG_RegisterMapping("_wxDirDialog","_class_wxDirDialog",0);
3783 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
);
3784 SWIG_RegisterMapping("_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
);
3785 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
3786 SWIG_RegisterMapping("_wxEvtHandler","_wxPrintDialog",SwigwxPrintDialogTowxEvtHandler
);
3787 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
3788 SWIG_RegisterMapping("_wxEvtHandler","_wxPageSetupDialog",SwigwxPageSetupDialogTowxEvtHandler
);
3789 SWIG_RegisterMapping("_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler
);
3790 SWIG_RegisterMapping("_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
);
3791 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
);
3792 SWIG_RegisterMapping("_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
);
3793 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
);
3794 SWIG_RegisterMapping("_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
);
3795 SWIG_RegisterMapping("_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler
);
3796 SWIG_RegisterMapping("_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
);
3797 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler
);
3798 SWIG_RegisterMapping("_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
);
3799 SWIG_RegisterMapping("_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler
);
3800 SWIG_RegisterMapping("_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
);
3801 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
3802 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
3803 SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0);
3804 SWIG_RegisterMapping("_class_wxPrintData","_wxPrintData",0);
3805 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
3806 SWIG_RegisterMapping("_wxDash","_long",0);
3807 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
3808 SWIG_RegisterMapping("_class_wxTextEntryDialog","_wxTextEntryDialog",0);
3809 SWIG_RegisterMapping("_wxColourData","_class_wxColourData",0);
3810 SWIG_RegisterMapping("_class_wxFontDialog","_wxFontDialog",0);
3811 SWIG_RegisterMapping("_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow
);
3812 SWIG_RegisterMapping("_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
);
3813 SWIG_RegisterMapping("_wxWindow","_class_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
3814 SWIG_RegisterMapping("_wxWindow","_wxPrintDialog",SwigwxPrintDialogTowxWindow
);
3815 SWIG_RegisterMapping("_wxWindow","_class_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
3816 SWIG_RegisterMapping("_wxWindow","_wxPageSetupDialog",SwigwxPageSetupDialogTowxWindow
);
3817 SWIG_RegisterMapping("_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow
);
3818 SWIG_RegisterMapping("_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
);
3819 SWIG_RegisterMapping("_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
);
3820 SWIG_RegisterMapping("_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
);
3821 SWIG_RegisterMapping("_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
);
3822 SWIG_RegisterMapping("_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
);
3823 SWIG_RegisterMapping("_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow
);
3824 SWIG_RegisterMapping("_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
);
3825 SWIG_RegisterMapping("_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow
);
3826 SWIG_RegisterMapping("_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
);
3827 SWIG_RegisterMapping("_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow
);
3828 SWIG_RegisterMapping("_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
);
3829 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
3830 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);