]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
1 | /* |
2 | * FILE : gtk/cmndlgs.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
9cce9de1 | 6 | * Version 1.1 (Build 810) |
70551f47 RD |
7 | * |
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. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
2d091820 | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
70551f47 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
2d091820 | 30 | # define SWIGEXPORT(a) a _export |
70551f47 | 31 | # else |
2d091820 | 32 | # define SWIGEXPORT(a) a |
70551f47 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
2d091820 | 36 | # define SWIGEXPORT(a) a |
70551f47 RD |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
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 *); | |
2d091820 | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
70551f47 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
70551f47 RD |
52 | #define SWIG_init initcmndlgsc |
53 | ||
54 | #define SWIG_name "cmndlgsc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/colordlg.h> | |
58 | #include <wx/dirdlg.h> | |
59 | #include <wx/fontdlg.h> | |
d24a34bb | 60 | #include <wx/progdlg.h> |
70551f47 RD |
61 | |
62 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | PyObject* o3; | |
65 | if (!target) { | |
66 | target = o; | |
67 | } else if (target == Py_None) { | |
68 | Py_DECREF(Py_None); | |
69 | target = o; | |
70 | } else { | |
71 | if (!PyList_Check(target)) { | |
72 | o2 = target; | |
73 | target = PyList_New(0); | |
74 | PyList_Append(target, o2); | |
75 | Py_XDECREF(o2); | |
76 | } | |
77 | PyList_Append(target,o); | |
78 | Py_XDECREF(o); | |
79 | } | |
80 | return target; | |
81 | } | |
82 | ||
83 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
84 | PyObject* o2; | |
85 | PyObject* o3; | |
86 | ||
87 | if (!target) { | |
88 | target = o; | |
89 | } else if (target == Py_None) { | |
90 | Py_DECREF(Py_None); | |
91 | target = o; | |
92 | } else { | |
93 | if (!PyTuple_Check(target)) { | |
94 | o2 = target; | |
95 | target = PyTuple_New(1); | |
96 | PyTuple_SetItem(target, 0, o2); | |
97 | } | |
98 | o3 = PyTuple_New(1); | |
99 | PyTuple_SetItem(o3, 0, o); | |
100 | ||
101 | o2 = target; | |
102 | target = PySequence_Concat(o2, o3); | |
103 | Py_DECREF(o2); | |
104 | Py_DECREF(o3); | |
105 | } | |
106 | return target; | |
107 | } | |
108 | ||
70551f47 | 109 | static char* wxStringErrorMsg = "string type is required for parameter"; |
2d091820 RD |
110 | #ifdef __cplusplus |
111 | extern "C" { | |
112 | #endif | |
70551f47 | 113 | #define new_wxColourData() (new wxColourData()) |
107e4716 | 114 | static PyObject *_wrap_new_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
115 | PyObject * _resultobj; |
116 | wxColourData * _result; | |
107e4716 | 117 | char *_kwnames[] = { NULL }; |
70551f47 RD |
118 | char _ptemp[128]; |
119 | ||
120 | self = self; | |
107e4716 | 121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxColourData",_kwnames)) |
70551f47 | 122 | return NULL; |
ab9bc19b RD |
123 | { |
124 | wxPy_BEGIN_ALLOW_THREADS; | |
125 | _result = (wxColourData *)new_wxColourData(); | |
126 | ||
127 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
128 | } if (_result) { |
129 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p"); | |
130 | _resultobj = Py_BuildValue("s",_ptemp); | |
131 | } else { | |
132 | Py_INCREF(Py_None); | |
133 | _resultobj = Py_None; | |
134 | } | |
70551f47 RD |
135 | return _resultobj; |
136 | } | |
137 | ||
138 | #define delete_wxColourData(_swigobj) (delete _swigobj) | |
107e4716 | 139 | static PyObject *_wrap_delete_wxColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
140 | PyObject * _resultobj; |
141 | wxColourData * _arg0; | |
2d091820 | 142 | PyObject * _argo0 = 0; |
107e4716 | 143 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
144 | |
145 | self = self; | |
107e4716 | 146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColourData",_kwnames,&_argo0)) |
70551f47 | 147 | return NULL; |
2d091820 RD |
148 | if (_argo0) { |
149 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
150 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) { | |
70551f47 RD |
151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p."); |
152 | return NULL; | |
153 | } | |
154 | } | |
ab9bc19b RD |
155 | { |
156 | wxPy_BEGIN_ALLOW_THREADS; | |
157 | delete_wxColourData(_arg0); | |
158 | ||
159 | wxPy_END_ALLOW_THREADS; | |
160 | } Py_INCREF(Py_None); | |
70551f47 RD |
161 | _resultobj = Py_None; |
162 | return _resultobj; | |
163 | } | |
164 | ||
165 | #define wxColourData_GetChooseFull(_swigobj) (_swigobj->GetChooseFull()) | |
107e4716 | 166 | static PyObject *_wrap_wxColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
167 | PyObject * _resultobj; |
168 | bool _result; | |
169 | wxColourData * _arg0; | |
2d091820 | 170 | PyObject * _argo0 = 0; |
107e4716 | 171 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
172 | |
173 | self = self; | |
107e4716 | 174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetChooseFull",_kwnames,&_argo0)) |
70551f47 | 175 | return NULL; |
2d091820 RD |
176 | if (_argo0) { |
177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) { | |
70551f47 RD |
179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p."); |
180 | return NULL; | |
181 | } | |
182 | } | |
ab9bc19b RD |
183 | { |
184 | wxPy_BEGIN_ALLOW_THREADS; | |
185 | _result = (bool )wxColourData_GetChooseFull(_arg0); | |
186 | ||
187 | wxPy_END_ALLOW_THREADS; | |
188 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
189 | return _resultobj; |
190 | } | |
191 | ||
192 | #define wxColourData_GetColour(_swigobj) (_swigobj->GetColour()) | |
107e4716 | 193 | static PyObject *_wrap_wxColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
194 | PyObject * _resultobj; |
195 | wxColour * _result; | |
196 | wxColourData * _arg0; | |
2d091820 | 197 | PyObject * _argo0 = 0; |
107e4716 | 198 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
199 | char _ptemp[128]; |
200 | ||
201 | self = self; | |
107e4716 | 202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourData_GetColour",_kwnames,&_argo0)) |
70551f47 | 203 | return NULL; |
2d091820 RD |
204 | if (_argo0) { |
205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) { | |
70551f47 RD |
207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p."); |
208 | return NULL; | |
209 | } | |
210 | } | |
ab9bc19b RD |
211 | { |
212 | wxPy_BEGIN_ALLOW_THREADS; | |
213 | wxColour & _result_ref = wxColourData_GetColour(_arg0); | |
70551f47 | 214 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
215 | |
216 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
217 | } if (_result) { |
218 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
219 | _resultobj = Py_BuildValue("s",_ptemp); | |
220 | } else { | |
221 | Py_INCREF(Py_None); | |
222 | _resultobj = Py_None; | |
223 | } | |
70551f47 RD |
224 | return _resultobj; |
225 | } | |
226 | ||
227 | #define wxColourData_GetCustomColour(_swigobj,_swigarg0) (_swigobj->GetCustomColour(_swigarg0)) | |
107e4716 | 228 | static PyObject *_wrap_wxColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
229 | PyObject * _resultobj; |
230 | wxColour * _result; | |
231 | wxColourData * _arg0; | |
232 | int _arg1; | |
2d091820 | 233 | PyObject * _argo0 = 0; |
107e4716 | 234 | char *_kwnames[] = { "self","i", NULL }; |
70551f47 RD |
235 | char _ptemp[128]; |
236 | ||
237 | self = self; | |
107e4716 | 238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_GetCustomColour",_kwnames,&_argo0,&_arg1)) |
70551f47 | 239 | return NULL; |
2d091820 RD |
240 | if (_argo0) { |
241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) { | |
70551f47 RD |
243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p."); |
244 | return NULL; | |
245 | } | |
246 | } | |
ab9bc19b RD |
247 | { |
248 | wxPy_BEGIN_ALLOW_THREADS; | |
249 | _result = new wxColour (wxColourData_GetCustomColour(_arg0,_arg1)); | |
250 | ||
251 | wxPy_END_ALLOW_THREADS; | |
252 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
70551f47 RD |
253 | _resultobj = Py_BuildValue("s",_ptemp); |
254 | return _resultobj; | |
255 | } | |
256 | ||
257 | #define wxColourData_SetChooseFull(_swigobj,_swigarg0) (_swigobj->SetChooseFull(_swigarg0)) | |
107e4716 | 258 | static PyObject *_wrap_wxColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
259 | PyObject * _resultobj; |
260 | wxColourData * _arg0; | |
261 | int _arg1; | |
2d091820 | 262 | PyObject * _argo0 = 0; |
107e4716 | 263 | char *_kwnames[] = { "self","flag", NULL }; |
70551f47 RD |
264 | |
265 | self = self; | |
107e4716 | 266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxColourData_SetChooseFull",_kwnames,&_argo0,&_arg1)) |
70551f47 | 267 | return NULL; |
2d091820 RD |
268 | if (_argo0) { |
269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) { | |
70551f47 RD |
271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p."); |
272 | return NULL; | |
273 | } | |
274 | } | |
ab9bc19b RD |
275 | { |
276 | wxPy_BEGIN_ALLOW_THREADS; | |
277 | wxColourData_SetChooseFull(_arg0,_arg1); | |
278 | ||
279 | wxPy_END_ALLOW_THREADS; | |
280 | } Py_INCREF(Py_None); | |
70551f47 RD |
281 | _resultobj = Py_None; |
282 | return _resultobj; | |
283 | } | |
284 | ||
285 | #define wxColourData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
107e4716 | 286 | static PyObject *_wrap_wxColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
287 | PyObject * _resultobj; |
288 | wxColourData * _arg0; | |
289 | wxColour * _arg1; | |
2d091820 RD |
290 | PyObject * _argo0 = 0; |
291 | PyObject * _argo1 = 0; | |
107e4716 | 292 | char *_kwnames[] = { "self","colour", NULL }; |
70551f47 RD |
293 | |
294 | self = self; | |
107e4716 | 295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourData_SetColour",_kwnames,&_argo0,&_argo1)) |
70551f47 | 296 | return NULL; |
2d091820 RD |
297 | if (_argo0) { |
298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) { | |
70551f47 RD |
300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p."); |
301 | return NULL; | |
302 | } | |
303 | } | |
2d091820 RD |
304 | if (_argo1) { |
305 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
306 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxColourData_SetColour. Expected _wxColour_p."); |
308 | return NULL; | |
309 | } | |
310 | } | |
ab9bc19b RD |
311 | { |
312 | wxPy_BEGIN_ALLOW_THREADS; | |
313 | wxColourData_SetColour(_arg0,*_arg1); | |
314 | ||
315 | wxPy_END_ALLOW_THREADS; | |
316 | } Py_INCREF(Py_None); | |
70551f47 RD |
317 | _resultobj = Py_None; |
318 | return _resultobj; | |
319 | } | |
320 | ||
321 | #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCustomColour(_swigarg0,_swigarg1)) | |
107e4716 | 322 | static PyObject *_wrap_wxColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
323 | PyObject * _resultobj; |
324 | wxColourData * _arg0; | |
325 | int _arg1; | |
326 | wxColour * _arg2; | |
2d091820 RD |
327 | PyObject * _argo0 = 0; |
328 | PyObject * _argo2 = 0; | |
107e4716 | 329 | char *_kwnames[] = { "self","i","colour", NULL }; |
70551f47 RD |
330 | |
331 | self = self; | |
107e4716 | 332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxColourData_SetCustomColour",_kwnames,&_argo0,&_arg1,&_argo2)) |
70551f47 | 333 | return NULL; |
2d091820 RD |
334 | if (_argo0) { |
335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourData_p")) { | |
70551f47 RD |
337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p."); |
338 | return NULL; | |
339 | } | |
340 | } | |
2d091820 RD |
341 | if (_argo2) { |
342 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
343 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxColour_p")) { | |
70551f47 RD |
344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxColourData_SetCustomColour. Expected _wxColour_p."); |
345 | return NULL; | |
346 | } | |
347 | } | |
ab9bc19b RD |
348 | { |
349 | wxPy_BEGIN_ALLOW_THREADS; | |
350 | wxColourData_SetCustomColour(_arg0,_arg1,*_arg2); | |
351 | ||
352 | wxPy_END_ALLOW_THREADS; | |
353 | } Py_INCREF(Py_None); | |
70551f47 RD |
354 | _resultobj = Py_None; |
355 | return _resultobj; | |
356 | } | |
357 | ||
358 | static void *SwigwxColourDialogTowxDialog(void *ptr) { | |
359 | wxColourDialog *src; | |
360 | wxDialog *dest; | |
361 | src = (wxColourDialog *) ptr; | |
362 | dest = (wxDialog *) src; | |
363 | return (void *) dest; | |
364 | } | |
365 | ||
366 | static void *SwigwxColourDialogTowxPanel(void *ptr) { | |
367 | wxColourDialog *src; | |
368 | wxPanel *dest; | |
369 | src = (wxColourDialog *) ptr; | |
370 | dest = (wxPanel *) src; | |
371 | return (void *) dest; | |
372 | } | |
373 | ||
374 | static void *SwigwxColourDialogTowxWindow(void *ptr) { | |
375 | wxColourDialog *src; | |
376 | wxWindow *dest; | |
377 | src = (wxColourDialog *) ptr; | |
378 | dest = (wxWindow *) src; | |
379 | return (void *) dest; | |
380 | } | |
381 | ||
382 | static void *SwigwxColourDialogTowxEvtHandler(void *ptr) { | |
383 | wxColourDialog *src; | |
384 | wxEvtHandler *dest; | |
385 | src = (wxColourDialog *) ptr; | |
386 | dest = (wxEvtHandler *) src; | |
387 | return (void *) dest; | |
388 | } | |
389 | ||
390 | #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1)) | |
107e4716 | 391 | static PyObject *_wrap_new_wxColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
392 | PyObject * _resultobj; |
393 | wxColourDialog * _result; | |
394 | wxWindow * _arg0; | |
2d091820 RD |
395 | wxColourData * _arg1 = (wxColourData *) NULL; |
396 | PyObject * _argo0 = 0; | |
397 | PyObject * _argo1 = 0; | |
107e4716 | 398 | char *_kwnames[] = { "parent","data", NULL }; |
70551f47 RD |
399 | char _ptemp[128]; |
400 | ||
401 | self = self; | |
107e4716 | 402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxColourDialog",_kwnames,&_argo0,&_argo1)) |
70551f47 | 403 | return NULL; |
2d091820 RD |
404 | if (_argo0) { |
405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p."); |
408 | return NULL; | |
409 | } | |
410 | } | |
2d091820 RD |
411 | if (_argo1) { |
412 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
413 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColourData_p")) { | |
70551f47 RD |
414 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p."); |
415 | return NULL; | |
416 | } | |
417 | } | |
ab9bc19b RD |
418 | { |
419 | wxPy_BEGIN_ALLOW_THREADS; | |
420 | _result = (wxColourDialog *)new_wxColourDialog(_arg0,_arg1); | |
421 | ||
422 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
423 | } if (_result) { |
424 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourDialog_p"); | |
425 | _resultobj = Py_BuildValue("s",_ptemp); | |
426 | } else { | |
427 | Py_INCREF(Py_None); | |
428 | _resultobj = Py_None; | |
429 | } | |
70551f47 RD |
430 | return _resultobj; |
431 | } | |
432 | ||
433 | #define wxColourDialog_GetColourData(_swigobj) (_swigobj->GetColourData()) | |
107e4716 | 434 | static PyObject *_wrap_wxColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
435 | PyObject * _resultobj; |
436 | wxColourData * _result; | |
437 | wxColourDialog * _arg0; | |
2d091820 | 438 | PyObject * _argo0 = 0; |
107e4716 | 439 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
440 | char _ptemp[128]; |
441 | ||
442 | self = self; | |
107e4716 | 443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_GetColourData",_kwnames,&_argo0)) |
70551f47 | 444 | return NULL; |
2d091820 RD |
445 | if (_argo0) { |
446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) { | |
70551f47 RD |
448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p."); |
449 | return NULL; | |
450 | } | |
451 | } | |
ab9bc19b RD |
452 | { |
453 | wxPy_BEGIN_ALLOW_THREADS; | |
454 | wxColourData & _result_ref = wxColourDialog_GetColourData(_arg0); | |
c95e68d8 | 455 | _result = (wxColourData *) &_result_ref; |
ab9bc19b RD |
456 | |
457 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
458 | } if (_result) { |
459 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColourData_p"); | |
460 | _resultobj = Py_BuildValue("s",_ptemp); | |
461 | } else { | |
462 | Py_INCREF(Py_None); | |
463 | _resultobj = Py_None; | |
464 | } | |
70551f47 RD |
465 | return _resultobj; |
466 | } | |
467 | ||
468 | #define wxColourDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
107e4716 | 469 | static PyObject *_wrap_wxColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
470 | PyObject * _resultobj; |
471 | int _result; | |
472 | wxColourDialog * _arg0; | |
2d091820 | 473 | PyObject * _argo0 = 0; |
107e4716 | 474 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
475 | |
476 | self = self; | |
107e4716 | 477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColourDialog_ShowModal",_kwnames,&_argo0)) |
70551f47 | 478 | return NULL; |
2d091820 RD |
479 | if (_argo0) { |
480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDialog_p")) { | |
70551f47 RD |
482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p."); |
483 | return NULL; | |
484 | } | |
485 | } | |
ab9bc19b RD |
486 | { |
487 | wxPy_BEGIN_ALLOW_THREADS; | |
488 | _result = (int )wxColourDialog_ShowModal(_arg0); | |
489 | ||
490 | wxPy_END_ALLOW_THREADS; | |
491 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
492 | return _resultobj; |
493 | } | |
494 | ||
c95e68d8 RD |
495 | static void *SwigwxDirDialogTowxDialog(void *ptr) { |
496 | wxDirDialog *src; | |
497 | wxDialog *dest; | |
498 | src = (wxDirDialog *) ptr; | |
499 | dest = (wxDialog *) src; | |
500 | return (void *) dest; | |
501 | } | |
502 | ||
503 | static void *SwigwxDirDialogTowxPanel(void *ptr) { | |
504 | wxDirDialog *src; | |
505 | wxPanel *dest; | |
506 | src = (wxDirDialog *) ptr; | |
507 | dest = (wxPanel *) src; | |
508 | return (void *) dest; | |
509 | } | |
510 | ||
511 | static void *SwigwxDirDialogTowxWindow(void *ptr) { | |
512 | wxDirDialog *src; | |
513 | wxWindow *dest; | |
514 | src = (wxDirDialog *) ptr; | |
515 | dest = (wxWindow *) src; | |
516 | return (void *) dest; | |
517 | } | |
518 | ||
519 | static void *SwigwxDirDialogTowxEvtHandler(void *ptr) { | |
520 | wxDirDialog *src; | |
521 | wxEvtHandler *dest; | |
522 | src = (wxDirDialog *) ptr; | |
523 | dest = (wxEvtHandler *) src; | |
524 | return (void *) dest; | |
525 | } | |
526 | ||
527 | #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
107e4716 | 528 | static PyObject *_wrap_new_wxDirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
529 | PyObject * _resultobj; |
530 | wxDirDialog * _result; | |
531 | wxWindow * _arg0; | |
2d091820 RD |
532 | char * _arg1 = (char *) "Choose a directory"; |
533 | char * _arg2 = (char *) ""; | |
534 | long _arg3 = (long ) 0; | |
535 | wxPoint * _arg4 = (wxPoint *) &wxPyDefaultPosition; | |
536 | PyObject * _argo0 = 0; | |
37f6a977 RD |
537 | wxPoint temp; |
538 | PyObject * _obj4 = 0; | |
107e4716 | 539 | char *_kwnames[] = { "parent","message","defaultPath","style","pos", NULL }; |
c95e68d8 RD |
540 | char _ptemp[128]; |
541 | ||
542 | self = self; | |
37f6a977 | 543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sslO:new_wxDirDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4)) |
c95e68d8 | 544 | return NULL; |
2d091820 RD |
545 | if (_argo0) { |
546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
c95e68d8 RD |
548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p."); |
549 | return NULL; | |
550 | } | |
551 | } | |
37f6a977 RD |
552 | if (_obj4) |
553 | { | |
554 | _arg4 = &temp; | |
555 | if (! wxPoint_helper(_obj4, &_arg4)) | |
c95e68d8 | 556 | return NULL; |
37f6a977 | 557 | } |
ab9bc19b RD |
558 | { |
559 | wxPy_BEGIN_ALLOW_THREADS; | |
560 | _result = (wxDirDialog *)new_wxDirDialog(_arg0,_arg1,_arg2,_arg3,*_arg4); | |
561 | ||
562 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
563 | } if (_result) { |
564 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirDialog_p"); | |
565 | _resultobj = Py_BuildValue("s",_ptemp); | |
566 | } else { | |
567 | Py_INCREF(Py_None); | |
568 | _resultobj = Py_None; | |
569 | } | |
c95e68d8 RD |
570 | return _resultobj; |
571 | } | |
572 | ||
573 | #define wxDirDialog_GetPath(_swigobj) (_swigobj->GetPath()) | |
107e4716 | 574 | static PyObject *_wrap_wxDirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
575 | PyObject * _resultobj; |
576 | wxString * _result; | |
577 | wxDirDialog * _arg0; | |
2d091820 | 578 | PyObject * _argo0 = 0; |
107e4716 | 579 | char *_kwnames[] = { "self", NULL }; |
c95e68d8 RD |
580 | |
581 | self = self; | |
107e4716 | 582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetPath",_kwnames,&_argo0)) |
c95e68d8 | 583 | return NULL; |
2d091820 RD |
584 | if (_argo0) { |
585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) { | |
c95e68d8 RD |
587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p."); |
588 | return NULL; | |
589 | } | |
590 | } | |
c95e68d8 | 591 | { |
ab9bc19b RD |
592 | wxPy_BEGIN_ALLOW_THREADS; |
593 | _result = new wxString (wxDirDialog_GetPath(_arg0)); | |
594 | ||
595 | wxPy_END_ALLOW_THREADS; | |
596 | }{ | |
c95e68d8 RD |
597 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
598 | } | |
599 | { | |
600 | delete _result; | |
601 | } | |
602 | return _resultobj; | |
603 | } | |
604 | ||
605 | #define wxDirDialog_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
107e4716 | 606 | static PyObject *_wrap_wxDirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
607 | PyObject * _resultobj; |
608 | wxString * _result; | |
609 | wxDirDialog * _arg0; | |
2d091820 | 610 | PyObject * _argo0 = 0; |
107e4716 | 611 | char *_kwnames[] = { "self", NULL }; |
c95e68d8 RD |
612 | |
613 | self = self; | |
107e4716 | 614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetMessage",_kwnames,&_argo0)) |
c95e68d8 | 615 | return NULL; |
2d091820 RD |
616 | if (_argo0) { |
617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) { | |
c95e68d8 RD |
619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p."); |
620 | return NULL; | |
621 | } | |
622 | } | |
c95e68d8 | 623 | { |
ab9bc19b RD |
624 | wxPy_BEGIN_ALLOW_THREADS; |
625 | _result = new wxString (wxDirDialog_GetMessage(_arg0)); | |
626 | ||
627 | wxPy_END_ALLOW_THREADS; | |
628 | }{ | |
c95e68d8 RD |
629 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
630 | } | |
631 | { | |
632 | delete _result; | |
633 | } | |
634 | return _resultobj; | |
635 | } | |
636 | ||
637 | #define wxDirDialog_GetStyle(_swigobj) (_swigobj->GetStyle()) | |
107e4716 | 638 | static PyObject *_wrap_wxDirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
639 | PyObject * _resultobj; |
640 | long _result; | |
641 | wxDirDialog * _arg0; | |
2d091820 | 642 | PyObject * _argo0 = 0; |
107e4716 | 643 | char *_kwnames[] = { "self", NULL }; |
c95e68d8 RD |
644 | |
645 | self = self; | |
107e4716 | 646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_GetStyle",_kwnames,&_argo0)) |
c95e68d8 | 647 | return NULL; |
2d091820 RD |
648 | if (_argo0) { |
649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) { | |
c95e68d8 RD |
651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p."); |
652 | return NULL; | |
653 | } | |
654 | } | |
ab9bc19b RD |
655 | { |
656 | wxPy_BEGIN_ALLOW_THREADS; | |
657 | _result = (long )wxDirDialog_GetStyle(_arg0); | |
658 | ||
659 | wxPy_END_ALLOW_THREADS; | |
660 | } _resultobj = Py_BuildValue("l",_result); | |
c95e68d8 RD |
661 | return _resultobj; |
662 | } | |
663 | ||
664 | #define wxDirDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
107e4716 | 665 | static PyObject *_wrap_wxDirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
666 | PyObject * _resultobj; |
667 | wxDirDialog * _arg0; | |
668 | wxString * _arg1; | |
2d091820 | 669 | PyObject * _argo0 = 0; |
c95e68d8 | 670 | PyObject * _obj1 = 0; |
107e4716 | 671 | char *_kwnames[] = { "self","message", NULL }; |
c95e68d8 RD |
672 | |
673 | self = self; | |
107e4716 | 674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetMessage",_kwnames,&_argo0,&_obj1)) |
c95e68d8 | 675 | return NULL; |
2d091820 RD |
676 | if (_argo0) { |
677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) { | |
c95e68d8 RD |
679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p."); |
680 | return NULL; | |
681 | } | |
682 | } | |
683 | { | |
684 | if (!PyString_Check(_obj1)) { | |
685 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
686 | return NULL; | |
687 | } | |
ab9bc19b | 688 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
c95e68d8 | 689 | } |
ab9bc19b RD |
690 | { |
691 | wxPy_BEGIN_ALLOW_THREADS; | |
692 | wxDirDialog_SetMessage(_arg0,*_arg1); | |
693 | ||
694 | wxPy_END_ALLOW_THREADS; | |
695 | } Py_INCREF(Py_None); | |
c95e68d8 RD |
696 | _resultobj = Py_None; |
697 | { | |
698 | if (_obj1) | |
699 | delete _arg1; | |
700 | } | |
701 | return _resultobj; | |
702 | } | |
703 | ||
704 | #define wxDirDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0)) | |
107e4716 | 705 | static PyObject *_wrap_wxDirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
706 | PyObject * _resultobj; |
707 | wxDirDialog * _arg0; | |
708 | wxString * _arg1; | |
2d091820 | 709 | PyObject * _argo0 = 0; |
c95e68d8 | 710 | PyObject * _obj1 = 0; |
107e4716 | 711 | char *_kwnames[] = { "self","path", NULL }; |
c95e68d8 RD |
712 | |
713 | self = self; | |
107e4716 | 714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirDialog_SetPath",_kwnames,&_argo0,&_obj1)) |
c95e68d8 | 715 | return NULL; |
2d091820 RD |
716 | if (_argo0) { |
717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) { | |
c95e68d8 RD |
719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p."); |
720 | return NULL; | |
721 | } | |
722 | } | |
723 | { | |
724 | if (!PyString_Check(_obj1)) { | |
725 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
726 | return NULL; | |
727 | } | |
ab9bc19b | 728 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
c95e68d8 | 729 | } |
ab9bc19b RD |
730 | { |
731 | wxPy_BEGIN_ALLOW_THREADS; | |
732 | wxDirDialog_SetPath(_arg0,*_arg1); | |
733 | ||
734 | wxPy_END_ALLOW_THREADS; | |
735 | } Py_INCREF(Py_None); | |
c95e68d8 RD |
736 | _resultobj = Py_None; |
737 | { | |
738 | if (_obj1) | |
739 | delete _arg1; | |
740 | } | |
741 | return _resultobj; | |
742 | } | |
743 | ||
744 | #define wxDirDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
107e4716 | 745 | static PyObject *_wrap_wxDirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
746 | PyObject * _resultobj; |
747 | int _result; | |
748 | wxDirDialog * _arg0; | |
2d091820 | 749 | PyObject * _argo0 = 0; |
107e4716 | 750 | char *_kwnames[] = { "self", NULL }; |
c95e68d8 RD |
751 | |
752 | self = self; | |
107e4716 | 753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirDialog_ShowModal",_kwnames,&_argo0)) |
c95e68d8 | 754 | return NULL; |
2d091820 RD |
755 | if (_argo0) { |
756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirDialog_p")) { | |
c95e68d8 RD |
758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p."); |
759 | return NULL; | |
760 | } | |
761 | } | |
ab9bc19b RD |
762 | { |
763 | wxPy_BEGIN_ALLOW_THREADS; | |
764 | _result = (int )wxDirDialog_ShowModal(_arg0); | |
765 | ||
766 | wxPy_END_ALLOW_THREADS; | |
767 | } _resultobj = Py_BuildValue("i",_result); | |
c95e68d8 RD |
768 | return _resultobj; |
769 | } | |
770 | ||
70551f47 RD |
771 | static void *SwigwxFileDialogTowxDialog(void *ptr) { |
772 | wxFileDialog *src; | |
773 | wxDialog *dest; | |
774 | src = (wxFileDialog *) ptr; | |
775 | dest = (wxDialog *) src; | |
776 | return (void *) dest; | |
777 | } | |
778 | ||
779 | static void *SwigwxFileDialogTowxPanel(void *ptr) { | |
780 | wxFileDialog *src; | |
781 | wxPanel *dest; | |
782 | src = (wxFileDialog *) ptr; | |
783 | dest = (wxPanel *) src; | |
784 | return (void *) dest; | |
785 | } | |
786 | ||
787 | static void *SwigwxFileDialogTowxWindow(void *ptr) { | |
788 | wxFileDialog *src; | |
789 | wxWindow *dest; | |
790 | src = (wxFileDialog *) ptr; | |
791 | dest = (wxWindow *) src; | |
792 | return (void *) dest; | |
793 | } | |
794 | ||
795 | static void *SwigwxFileDialogTowxEvtHandler(void *ptr) { | |
796 | wxFileDialog *src; | |
797 | wxEvtHandler *dest; | |
798 | src = (wxFileDialog *) ptr; | |
799 | dest = (wxEvtHandler *) src; | |
800 | return (void *) dest; | |
801 | } | |
802 | ||
803 | #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
107e4716 | 804 | static PyObject *_wrap_new_wxFileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
805 | PyObject * _resultobj; |
806 | wxFileDialog * _result; | |
807 | wxWindow * _arg0; | |
2d091820 RD |
808 | char * _arg1 = (char *) "Choose a file"; |
809 | char * _arg2 = (char *) ""; | |
810 | char * _arg3 = (char *) ""; | |
811 | char * _arg4 = (char *) "*.*"; | |
812 | long _arg5 = (long ) 0; | |
813 | wxPoint * _arg6 = (wxPoint *) &wxPyDefaultPosition; | |
814 | PyObject * _argo0 = 0; | |
37f6a977 RD |
815 | wxPoint temp; |
816 | PyObject * _obj6 = 0; | |
107e4716 | 817 | char *_kwnames[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL }; |
70551f47 RD |
818 | char _ptemp[128]; |
819 | ||
820 | self = self; | |
37f6a977 | 821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sssslO:new_wxFileDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6)) |
70551f47 | 822 | return NULL; |
2d091820 RD |
823 | if (_argo0) { |
824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p."); |
827 | return NULL; | |
828 | } | |
829 | } | |
37f6a977 RD |
830 | if (_obj6) |
831 | { | |
832 | _arg6 = &temp; | |
833 | if (! wxPoint_helper(_obj6, &_arg6)) | |
70551f47 | 834 | return NULL; |
37f6a977 | 835 | } |
ab9bc19b RD |
836 | { |
837 | wxPy_BEGIN_ALLOW_THREADS; | |
838 | _result = (wxFileDialog *)new_wxFileDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6); | |
839 | ||
840 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
841 | } if (_result) { |
842 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileDialog_p"); | |
843 | _resultobj = Py_BuildValue("s",_ptemp); | |
844 | } else { | |
845 | Py_INCREF(Py_None); | |
846 | _resultobj = Py_None; | |
847 | } | |
70551f47 RD |
848 | return _resultobj; |
849 | } | |
850 | ||
851 | #define wxFileDialog_GetDirectory(_swigobj) (_swigobj->GetDirectory()) | |
107e4716 | 852 | static PyObject *_wrap_wxFileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
853 | PyObject * _resultobj; |
854 | wxString * _result; | |
855 | wxFileDialog * _arg0; | |
2d091820 | 856 | PyObject * _argo0 = 0; |
107e4716 | 857 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
858 | |
859 | self = self; | |
107e4716 | 860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetDirectory",_kwnames,&_argo0)) |
70551f47 | 861 | return NULL; |
2d091820 RD |
862 | if (_argo0) { |
863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p."); |
866 | return NULL; | |
867 | } | |
868 | } | |
70551f47 | 869 | { |
ab9bc19b RD |
870 | wxPy_BEGIN_ALLOW_THREADS; |
871 | _result = new wxString (wxFileDialog_GetDirectory(_arg0)); | |
872 | ||
873 | wxPy_END_ALLOW_THREADS; | |
874 | }{ | |
70551f47 RD |
875 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
876 | } | |
877 | { | |
878 | delete _result; | |
879 | } | |
880 | return _resultobj; | |
881 | } | |
882 | ||
883 | #define wxFileDialog_GetFilename(_swigobj) (_swigobj->GetFilename()) | |
107e4716 | 884 | static PyObject *_wrap_wxFileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
885 | PyObject * _resultobj; |
886 | wxString * _result; | |
887 | wxFileDialog * _arg0; | |
2d091820 | 888 | PyObject * _argo0 = 0; |
107e4716 | 889 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
890 | |
891 | self = self; | |
107e4716 | 892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilename",_kwnames,&_argo0)) |
70551f47 | 893 | return NULL; |
2d091820 RD |
894 | if (_argo0) { |
895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p."); |
898 | return NULL; | |
899 | } | |
900 | } | |
70551f47 | 901 | { |
ab9bc19b RD |
902 | wxPy_BEGIN_ALLOW_THREADS; |
903 | _result = new wxString (wxFileDialog_GetFilename(_arg0)); | |
904 | ||
905 | wxPy_END_ALLOW_THREADS; | |
906 | }{ | |
70551f47 RD |
907 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
908 | } | |
909 | { | |
910 | delete _result; | |
911 | } | |
912 | return _resultobj; | |
913 | } | |
914 | ||
915 | #define wxFileDialog_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex()) | |
107e4716 | 916 | static PyObject *_wrap_wxFileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
917 | PyObject * _resultobj; |
918 | int _result; | |
919 | wxFileDialog * _arg0; | |
2d091820 | 920 | PyObject * _argo0 = 0; |
107e4716 | 921 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
922 | |
923 | self = self; | |
107e4716 | 924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetFilterIndex",_kwnames,&_argo0)) |
70551f47 | 925 | return NULL; |
2d091820 RD |
926 | if (_argo0) { |
927 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
928 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
929 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p."); |
930 | return NULL; | |
931 | } | |
932 | } | |
ab9bc19b RD |
933 | { |
934 | wxPy_BEGIN_ALLOW_THREADS; | |
935 | _result = (int )wxFileDialog_GetFilterIndex(_arg0); | |
936 | ||
937 | wxPy_END_ALLOW_THREADS; | |
938 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
939 | return _resultobj; |
940 | } | |
941 | ||
942 | #define wxFileDialog_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
107e4716 | 943 | static PyObject *_wrap_wxFileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
944 | PyObject * _resultobj; |
945 | wxString * _result; | |
946 | wxFileDialog * _arg0; | |
2d091820 | 947 | PyObject * _argo0 = 0; |
107e4716 | 948 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
949 | |
950 | self = self; | |
107e4716 | 951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetMessage",_kwnames,&_argo0)) |
70551f47 | 952 | return NULL; |
2d091820 RD |
953 | if (_argo0) { |
954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p."); |
957 | return NULL; | |
958 | } | |
959 | } | |
70551f47 | 960 | { |
ab9bc19b RD |
961 | wxPy_BEGIN_ALLOW_THREADS; |
962 | _result = new wxString (wxFileDialog_GetMessage(_arg0)); | |
963 | ||
964 | wxPy_END_ALLOW_THREADS; | |
965 | }{ | |
70551f47 RD |
966 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
967 | } | |
968 | { | |
969 | delete _result; | |
970 | } | |
971 | return _resultobj; | |
972 | } | |
973 | ||
974 | #define wxFileDialog_GetPath(_swigobj) (_swigobj->GetPath()) | |
107e4716 | 975 | static PyObject *_wrap_wxFileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
976 | PyObject * _resultobj; |
977 | wxString * _result; | |
978 | wxFileDialog * _arg0; | |
2d091820 | 979 | PyObject * _argo0 = 0; |
107e4716 | 980 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
981 | |
982 | self = self; | |
107e4716 | 983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetPath",_kwnames,&_argo0)) |
70551f47 | 984 | return NULL; |
2d091820 RD |
985 | if (_argo0) { |
986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p."); |
989 | return NULL; | |
990 | } | |
991 | } | |
70551f47 | 992 | { |
ab9bc19b RD |
993 | wxPy_BEGIN_ALLOW_THREADS; |
994 | _result = new wxString (wxFileDialog_GetPath(_arg0)); | |
995 | ||
996 | wxPy_END_ALLOW_THREADS; | |
997 | }{ | |
70551f47 RD |
998 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
999 | } | |
1000 | { | |
1001 | delete _result; | |
1002 | } | |
1003 | return _resultobj; | |
1004 | } | |
1005 | ||
1006 | #define wxFileDialog_GetStyle(_swigobj) (_swigobj->GetStyle()) | |
107e4716 | 1007 | static PyObject *_wrap_wxFileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1008 | PyObject * _resultobj; |
1009 | long _result; | |
1010 | wxFileDialog * _arg0; | |
2d091820 | 1011 | PyObject * _argo0 = 0; |
107e4716 | 1012 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1013 | |
1014 | self = self; | |
107e4716 | 1015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetStyle",_kwnames,&_argo0)) |
70551f47 | 1016 | return NULL; |
2d091820 RD |
1017 | if (_argo0) { |
1018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p."); |
1021 | return NULL; | |
1022 | } | |
1023 | } | |
ab9bc19b RD |
1024 | { |
1025 | wxPy_BEGIN_ALLOW_THREADS; | |
1026 | _result = (long )wxFileDialog_GetStyle(_arg0); | |
1027 | ||
1028 | wxPy_END_ALLOW_THREADS; | |
1029 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
1030 | return _resultobj; |
1031 | } | |
1032 | ||
1033 | #define wxFileDialog_GetWildcard(_swigobj) (_swigobj->GetWildcard()) | |
107e4716 | 1034 | static PyObject *_wrap_wxFileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1035 | PyObject * _resultobj; |
1036 | wxString * _result; | |
1037 | wxFileDialog * _arg0; | |
2d091820 | 1038 | PyObject * _argo0 = 0; |
107e4716 | 1039 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1040 | |
1041 | self = self; | |
107e4716 | 1042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_GetWildcard",_kwnames,&_argo0)) |
70551f47 | 1043 | return NULL; |
2d091820 RD |
1044 | if (_argo0) { |
1045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p."); |
1048 | return NULL; | |
1049 | } | |
1050 | } | |
70551f47 | 1051 | { |
ab9bc19b RD |
1052 | wxPy_BEGIN_ALLOW_THREADS; |
1053 | _result = new wxString (wxFileDialog_GetWildcard(_arg0)); | |
1054 | ||
1055 | wxPy_END_ALLOW_THREADS; | |
1056 | }{ | |
70551f47 RD |
1057 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
1058 | } | |
1059 | { | |
1060 | delete _result; | |
1061 | } | |
1062 | return _resultobj; | |
1063 | } | |
1064 | ||
1065 | #define wxFileDialog_SetDirectory(_swigobj,_swigarg0) (_swigobj->SetDirectory(_swigarg0)) | |
107e4716 | 1066 | static PyObject *_wrap_wxFileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1067 | PyObject * _resultobj; |
1068 | wxFileDialog * _arg0; | |
1069 | wxString * _arg1; | |
2d091820 | 1070 | PyObject * _argo0 = 0; |
70551f47 | 1071 | PyObject * _obj1 = 0; |
107e4716 | 1072 | char *_kwnames[] = { "self","directory", NULL }; |
70551f47 RD |
1073 | |
1074 | self = self; | |
107e4716 | 1075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetDirectory",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1076 | return NULL; |
2d091820 RD |
1077 | if (_argo0) { |
1078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p."); |
1081 | return NULL; | |
1082 | } | |
1083 | } | |
1084 | { | |
1085 | if (!PyString_Check(_obj1)) { | |
1086 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1087 | return NULL; | |
1088 | } | |
ab9bc19b | 1089 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 1090 | } |
ab9bc19b RD |
1091 | { |
1092 | wxPy_BEGIN_ALLOW_THREADS; | |
1093 | wxFileDialog_SetDirectory(_arg0,*_arg1); | |
1094 | ||
1095 | wxPy_END_ALLOW_THREADS; | |
1096 | } Py_INCREF(Py_None); | |
70551f47 RD |
1097 | _resultobj = Py_None; |
1098 | { | |
1099 | if (_obj1) | |
1100 | delete _arg1; | |
1101 | } | |
1102 | return _resultobj; | |
1103 | } | |
1104 | ||
1105 | #define wxFileDialog_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0)) | |
107e4716 | 1106 | static PyObject *_wrap_wxFileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1107 | PyObject * _resultobj; |
1108 | wxFileDialog * _arg0; | |
1109 | wxString * _arg1; | |
2d091820 | 1110 | PyObject * _argo0 = 0; |
70551f47 | 1111 | PyObject * _obj1 = 0; |
107e4716 | 1112 | char *_kwnames[] = { "self","setfilename", NULL }; |
70551f47 RD |
1113 | |
1114 | self = self; | |
107e4716 | 1115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetFilename",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1116 | return NULL; |
2d091820 RD |
1117 | if (_argo0) { |
1118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p."); |
1121 | return NULL; | |
1122 | } | |
1123 | } | |
1124 | { | |
1125 | if (!PyString_Check(_obj1)) { | |
1126 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1127 | return NULL; | |
1128 | } | |
ab9bc19b | 1129 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 1130 | } |
ab9bc19b RD |
1131 | { |
1132 | wxPy_BEGIN_ALLOW_THREADS; | |
1133 | wxFileDialog_SetFilename(_arg0,*_arg1); | |
1134 | ||
1135 | wxPy_END_ALLOW_THREADS; | |
1136 | } Py_INCREF(Py_None); | |
70551f47 RD |
1137 | _resultobj = Py_None; |
1138 | { | |
1139 | if (_obj1) | |
1140 | delete _arg1; | |
1141 | } | |
1142 | return _resultobj; | |
1143 | } | |
1144 | ||
1145 | #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0)) | |
107e4716 | 1146 | static PyObject *_wrap_wxFileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1147 | PyObject * _resultobj; |
1148 | wxFileDialog * _arg0; | |
1149 | int _arg1; | |
2d091820 | 1150 | PyObject * _argo0 = 0; |
107e4716 | 1151 | char *_kwnames[] = { "self","filterIndex", NULL }; |
70551f47 RD |
1152 | |
1153 | self = self; | |
107e4716 | 1154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileDialog_SetFilterIndex",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1155 | return NULL; |
2d091820 RD |
1156 | if (_argo0) { |
1157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p."); |
1160 | return NULL; | |
1161 | } | |
1162 | } | |
ab9bc19b RD |
1163 | { |
1164 | wxPy_BEGIN_ALLOW_THREADS; | |
1165 | wxFileDialog_SetFilterIndex(_arg0,_arg1); | |
1166 | ||
1167 | wxPy_END_ALLOW_THREADS; | |
1168 | } Py_INCREF(Py_None); | |
70551f47 RD |
1169 | _resultobj = Py_None; |
1170 | return _resultobj; | |
1171 | } | |
1172 | ||
1173 | #define wxFileDialog_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
107e4716 | 1174 | static PyObject *_wrap_wxFileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1175 | PyObject * _resultobj; |
1176 | wxFileDialog * _arg0; | |
1177 | wxString * _arg1; | |
2d091820 | 1178 | PyObject * _argo0 = 0; |
70551f47 | 1179 | PyObject * _obj1 = 0; |
107e4716 | 1180 | char *_kwnames[] = { "self","message", NULL }; |
70551f47 RD |
1181 | |
1182 | self = self; | |
107e4716 | 1183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetMessage",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1184 | return NULL; |
2d091820 RD |
1185 | if (_argo0) { |
1186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p."); |
1189 | return NULL; | |
1190 | } | |
1191 | } | |
1192 | { | |
1193 | if (!PyString_Check(_obj1)) { | |
1194 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1195 | return NULL; | |
1196 | } | |
ab9bc19b | 1197 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 1198 | } |
ab9bc19b RD |
1199 | { |
1200 | wxPy_BEGIN_ALLOW_THREADS; | |
1201 | wxFileDialog_SetMessage(_arg0,*_arg1); | |
1202 | ||
1203 | wxPy_END_ALLOW_THREADS; | |
1204 | } Py_INCREF(Py_None); | |
70551f47 RD |
1205 | _resultobj = Py_None; |
1206 | { | |
1207 | if (_obj1) | |
1208 | delete _arg1; | |
1209 | } | |
1210 | return _resultobj; | |
1211 | } | |
1212 | ||
1213 | #define wxFileDialog_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0)) | |
107e4716 | 1214 | static PyObject *_wrap_wxFileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1215 | PyObject * _resultobj; |
1216 | wxFileDialog * _arg0; | |
1217 | wxString * _arg1; | |
2d091820 | 1218 | PyObject * _argo0 = 0; |
70551f47 | 1219 | PyObject * _obj1 = 0; |
107e4716 | 1220 | char *_kwnames[] = { "self","path", NULL }; |
70551f47 RD |
1221 | |
1222 | self = self; | |
107e4716 | 1223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetPath",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1224 | return NULL; |
2d091820 RD |
1225 | if (_argo0) { |
1226 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1227 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p."); |
1229 | return NULL; | |
1230 | } | |
1231 | } | |
1232 | { | |
1233 | if (!PyString_Check(_obj1)) { | |
1234 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1235 | return NULL; | |
1236 | } | |
ab9bc19b | 1237 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 1238 | } |
ab9bc19b RD |
1239 | { |
1240 | wxPy_BEGIN_ALLOW_THREADS; | |
1241 | wxFileDialog_SetPath(_arg0,*_arg1); | |
1242 | ||
1243 | wxPy_END_ALLOW_THREADS; | |
1244 | } Py_INCREF(Py_None); | |
70551f47 RD |
1245 | _resultobj = Py_None; |
1246 | { | |
1247 | if (_obj1) | |
1248 | delete _arg1; | |
1249 | } | |
1250 | return _resultobj; | |
1251 | } | |
1252 | ||
1253 | #define wxFileDialog_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0)) | |
107e4716 | 1254 | static PyObject *_wrap_wxFileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1255 | PyObject * _resultobj; |
1256 | wxFileDialog * _arg0; | |
1257 | long _arg1; | |
2d091820 | 1258 | PyObject * _argo0 = 0; |
107e4716 | 1259 | char *_kwnames[] = { "self","style", NULL }; |
70551f47 RD |
1260 | |
1261 | self = self; | |
107e4716 | 1262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxFileDialog_SetStyle",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1263 | return NULL; |
2d091820 RD |
1264 | if (_argo0) { |
1265 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1266 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p."); |
1268 | return NULL; | |
1269 | } | |
1270 | } | |
ab9bc19b RD |
1271 | { |
1272 | wxPy_BEGIN_ALLOW_THREADS; | |
1273 | wxFileDialog_SetStyle(_arg0,_arg1); | |
1274 | ||
1275 | wxPy_END_ALLOW_THREADS; | |
1276 | } Py_INCREF(Py_None); | |
70551f47 RD |
1277 | _resultobj = Py_None; |
1278 | return _resultobj; | |
1279 | } | |
1280 | ||
1281 | #define wxFileDialog_SetWildcard(_swigobj,_swigarg0) (_swigobj->SetWildcard(_swigarg0)) | |
107e4716 | 1282 | static PyObject *_wrap_wxFileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1283 | PyObject * _resultobj; |
1284 | wxFileDialog * _arg0; | |
1285 | wxString * _arg1; | |
2d091820 | 1286 | PyObject * _argo0 = 0; |
70551f47 | 1287 | PyObject * _obj1 = 0; |
107e4716 | 1288 | char *_kwnames[] = { "self","wildCard", NULL }; |
70551f47 RD |
1289 | |
1290 | self = self; | |
107e4716 | 1291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileDialog_SetWildcard",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1292 | return NULL; |
2d091820 RD |
1293 | if (_argo0) { |
1294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p."); |
1297 | return NULL; | |
1298 | } | |
1299 | } | |
1300 | { | |
1301 | if (!PyString_Check(_obj1)) { | |
1302 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1303 | return NULL; | |
1304 | } | |
ab9bc19b | 1305 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 1306 | } |
ab9bc19b RD |
1307 | { |
1308 | wxPy_BEGIN_ALLOW_THREADS; | |
1309 | wxFileDialog_SetWildcard(_arg0,*_arg1); | |
1310 | ||
1311 | wxPy_END_ALLOW_THREADS; | |
1312 | } Py_INCREF(Py_None); | |
70551f47 RD |
1313 | _resultobj = Py_None; |
1314 | { | |
1315 | if (_obj1) | |
1316 | delete _arg1; | |
1317 | } | |
1318 | return _resultobj; | |
1319 | } | |
1320 | ||
1321 | #define wxFileDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
107e4716 | 1322 | static PyObject *_wrap_wxFileDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1323 | PyObject * _resultobj; |
1324 | int _result; | |
1325 | wxFileDialog * _arg0; | |
2d091820 | 1326 | PyObject * _argo0 = 0; |
107e4716 | 1327 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1328 | |
1329 | self = self; | |
107e4716 | 1330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileDialog_ShowModal",_kwnames,&_argo0)) |
70551f47 | 1331 | return NULL; |
2d091820 RD |
1332 | if (_argo0) { |
1333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileDialog_p")) { | |
70551f47 RD |
1335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileDialog_ShowModal. Expected _wxFileDialog_p."); |
1336 | return NULL; | |
1337 | } | |
1338 | } | |
ab9bc19b RD |
1339 | { |
1340 | wxPy_BEGIN_ALLOW_THREADS; | |
1341 | _result = (int )wxFileDialog_ShowModal(_arg0); | |
1342 | ||
1343 | wxPy_END_ALLOW_THREADS; | |
1344 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1345 | return _resultobj; |
1346 | } | |
1347 | ||
1348 | static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr) { | |
1349 | wxSingleChoiceDialog *src; | |
1350 | wxDialog *dest; | |
1351 | src = (wxSingleChoiceDialog *) ptr; | |
1352 | dest = (wxDialog *) src; | |
1353 | return (void *) dest; | |
1354 | } | |
1355 | ||
1356 | static void *SwigwxSingleChoiceDialogTowxPanel(void *ptr) { | |
1357 | wxSingleChoiceDialog *src; | |
1358 | wxPanel *dest; | |
1359 | src = (wxSingleChoiceDialog *) ptr; | |
1360 | dest = (wxPanel *) src; | |
1361 | return (void *) dest; | |
1362 | } | |
1363 | ||
1364 | static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr) { | |
1365 | wxSingleChoiceDialog *src; | |
1366 | wxWindow *dest; | |
1367 | src = (wxSingleChoiceDialog *) ptr; | |
1368 | dest = (wxWindow *) src; | |
1369 | return (void *) dest; | |
1370 | } | |
1371 | ||
1372 | static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr) { | |
1373 | wxSingleChoiceDialog *src; | |
1374 | wxEvtHandler *dest; | |
1375 | src = (wxSingleChoiceDialog *) ptr; | |
1376 | dest = (wxEvtHandler *) src; | |
1377 | return (void *) dest; | |
1378 | } | |
1379 | ||
1380 | static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString *message,wxString *caption,int LCOUNT,wxString *LIST,long style,wxPoint *pos) { | |
1381 | return new wxSingleChoiceDialog(parent, *message, *caption, | |
1382 | LCOUNT, LIST, NULL, style, *pos); | |
1383 | } | |
1384 | ||
107e4716 | 1385 | static PyObject *_wrap_new_wxSingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1386 | PyObject * _resultobj; |
1387 | wxSingleChoiceDialog * _result; | |
1388 | wxWindow * _arg0; | |
1389 | wxString * _arg1; | |
1390 | wxString * _arg2; | |
1391 | int _arg3; | |
1392 | wxString * _arg4; | |
2d091820 RD |
1393 | long _arg5 = (long ) wxOK|wxCANCEL|wxCENTRE; |
1394 | wxPoint * _arg6 = (wxPoint *) &wxPyDefaultPosition; | |
1395 | PyObject * _argo0 = 0; | |
70551f47 RD |
1396 | PyObject * _obj1 = 0; |
1397 | PyObject * _obj2 = 0; | |
1398 | PyObject * _obj4 = 0; | |
37f6a977 RD |
1399 | wxPoint temp; |
1400 | PyObject * _obj6 = 0; | |
107e4716 | 1401 | char *_kwnames[] = { "parent","message","caption","LIST","style","pos", NULL }; |
70551f47 RD |
1402 | char _ptemp[128]; |
1403 | ||
1404 | self = self; | |
37f6a977 | 1405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames,&_argo0,&_obj1,&_obj2,&_obj4,&_arg5,&_obj6)) |
70551f47 | 1406 | return NULL; |
2d091820 RD |
1407 | if (_argo0) { |
1408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
1410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p."); |
1411 | return NULL; | |
1412 | } | |
1413 | } | |
1414 | { | |
1415 | if (!PyString_Check(_obj1)) { | |
1416 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1417 | return NULL; | |
1418 | } | |
ab9bc19b | 1419 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 RD |
1420 | } |
1421 | { | |
1422 | if (!PyString_Check(_obj2)) { | |
1423 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1424 | return NULL; | |
1425 | } | |
ab9bc19b | 1426 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
70551f47 RD |
1427 | } |
1428 | if (_obj4) | |
1429 | { | |
1430 | _arg4 = wxString_LIST_helper(_obj4); | |
1431 | if (_arg4 == NULL) { | |
1432 | return NULL; | |
1433 | } | |
1434 | } | |
37f6a977 RD |
1435 | if (_obj6) |
1436 | { | |
1437 | _arg6 = &temp; | |
1438 | if (! wxPoint_helper(_obj6, &_arg6)) | |
70551f47 | 1439 | return NULL; |
37f6a977 | 1440 | } |
70551f47 | 1441 | { |
ab9bc19b RD |
1442 | if (_obj4) { |
1443 | _arg3 = PyList_Size(_obj4); | |
1444 | } | |
1445 | else { | |
1446 | _arg3 = 0; | |
1447 | } | |
70551f47 | 1448 | } |
ab9bc19b RD |
1449 | { |
1450 | wxPy_BEGIN_ALLOW_THREADS; | |
1451 | _result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1452 | ||
1453 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1454 | } if (_result) { |
1455 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSingleChoiceDialog_p"); | |
1456 | _resultobj = Py_BuildValue("s",_ptemp); | |
1457 | } else { | |
1458 | Py_INCREF(Py_None); | |
1459 | _resultobj = Py_None; | |
1460 | } | |
70551f47 RD |
1461 | { |
1462 | if (_obj1) | |
1463 | delete _arg1; | |
1464 | } | |
1465 | { | |
1466 | if (_obj2) | |
1467 | delete _arg2; | |
1468 | } | |
1469 | { | |
1470 | delete [] _arg4; | |
1471 | } | |
1472 | return _resultobj; | |
1473 | } | |
1474 | ||
1475 | #define wxSingleChoiceDialog_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
107e4716 | 1476 | static PyObject *_wrap_wxSingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1477 | PyObject * _resultobj; |
1478 | int _result; | |
1479 | wxSingleChoiceDialog * _arg0; | |
2d091820 | 1480 | PyObject * _argo0 = 0; |
107e4716 | 1481 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1482 | |
1483 | self = self; | |
107e4716 | 1484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetSelection",_kwnames,&_argo0)) |
70551f47 | 1485 | return NULL; |
2d091820 RD |
1486 | if (_argo0) { |
1487 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1488 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) { | |
70551f47 RD |
1489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p."); |
1490 | return NULL; | |
1491 | } | |
1492 | } | |
ab9bc19b RD |
1493 | { |
1494 | wxPy_BEGIN_ALLOW_THREADS; | |
1495 | _result = (int )wxSingleChoiceDialog_GetSelection(_arg0); | |
1496 | ||
1497 | wxPy_END_ALLOW_THREADS; | |
1498 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1499 | return _resultobj; |
1500 | } | |
1501 | ||
1502 | #define wxSingleChoiceDialog_GetStringSelection(_swigobj) (_swigobj->GetStringSelection()) | |
107e4716 | 1503 | static PyObject *_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1504 | PyObject * _resultobj; |
1505 | wxString * _result; | |
1506 | wxSingleChoiceDialog * _arg0; | |
2d091820 | 1507 | PyObject * _argo0 = 0; |
107e4716 | 1508 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1509 | |
1510 | self = self; | |
107e4716 | 1511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames,&_argo0)) |
70551f47 | 1512 | return NULL; |
2d091820 RD |
1513 | if (_argo0) { |
1514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) { | |
70551f47 RD |
1516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p."); |
1517 | return NULL; | |
1518 | } | |
1519 | } | |
70551f47 | 1520 | { |
ab9bc19b RD |
1521 | wxPy_BEGIN_ALLOW_THREADS; |
1522 | _result = new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0)); | |
1523 | ||
1524 | wxPy_END_ALLOW_THREADS; | |
1525 | }{ | |
70551f47 RD |
1526 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
1527 | } | |
1528 | { | |
1529 | delete _result; | |
1530 | } | |
1531 | return _resultobj; | |
1532 | } | |
1533 | ||
1534 | #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
107e4716 | 1535 | static PyObject *_wrap_wxSingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1536 | PyObject * _resultobj; |
1537 | wxSingleChoiceDialog * _arg0; | |
1538 | int _arg1; | |
2d091820 | 1539 | PyObject * _argo0 = 0; |
107e4716 | 1540 | char *_kwnames[] = { "self","sel", NULL }; |
70551f47 RD |
1541 | |
1542 | self = self; | |
107e4716 | 1543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1544 | return NULL; |
2d091820 RD |
1545 | if (_argo0) { |
1546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) { | |
70551f47 RD |
1548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p."); |
1549 | return NULL; | |
1550 | } | |
1551 | } | |
ab9bc19b RD |
1552 | { |
1553 | wxPy_BEGIN_ALLOW_THREADS; | |
1554 | wxSingleChoiceDialog_SetSelection(_arg0,_arg1); | |
1555 | ||
1556 | wxPy_END_ALLOW_THREADS; | |
1557 | } Py_INCREF(Py_None); | |
70551f47 RD |
1558 | _resultobj = Py_None; |
1559 | return _resultobj; | |
1560 | } | |
1561 | ||
1562 | #define wxSingleChoiceDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
107e4716 | 1563 | static PyObject *_wrap_wxSingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1564 | PyObject * _resultobj; |
1565 | int _result; | |
1566 | wxSingleChoiceDialog * _arg0; | |
2d091820 | 1567 | PyObject * _argo0 = 0; |
107e4716 | 1568 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1569 | |
1570 | self = self; | |
107e4716 | 1571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleChoiceDialog_ShowModal",_kwnames,&_argo0)) |
70551f47 | 1572 | return NULL; |
2d091820 RD |
1573 | if (_argo0) { |
1574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleChoiceDialog_p")) { | |
70551f47 RD |
1576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p."); |
1577 | return NULL; | |
1578 | } | |
1579 | } | |
ab9bc19b RD |
1580 | { |
1581 | wxPy_BEGIN_ALLOW_THREADS; | |
1582 | _result = (int )wxSingleChoiceDialog_ShowModal(_arg0); | |
1583 | ||
1584 | wxPy_END_ALLOW_THREADS; | |
1585 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1586 | return _resultobj; |
1587 | } | |
1588 | ||
1589 | static void *SwigwxTextEntryDialogTowxDialog(void *ptr) { | |
1590 | wxTextEntryDialog *src; | |
1591 | wxDialog *dest; | |
1592 | src = (wxTextEntryDialog *) ptr; | |
1593 | dest = (wxDialog *) src; | |
1594 | return (void *) dest; | |
1595 | } | |
1596 | ||
1597 | static void *SwigwxTextEntryDialogTowxPanel(void *ptr) { | |
1598 | wxTextEntryDialog *src; | |
1599 | wxPanel *dest; | |
1600 | src = (wxTextEntryDialog *) ptr; | |
1601 | dest = (wxPanel *) src; | |
1602 | return (void *) dest; | |
1603 | } | |
1604 | ||
1605 | static void *SwigwxTextEntryDialogTowxWindow(void *ptr) { | |
1606 | wxTextEntryDialog *src; | |
1607 | wxWindow *dest; | |
1608 | src = (wxTextEntryDialog *) ptr; | |
1609 | dest = (wxWindow *) src; | |
1610 | return (void *) dest; | |
1611 | } | |
1612 | ||
1613 | static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr) { | |
1614 | wxTextEntryDialog *src; | |
1615 | wxEvtHandler *dest; | |
1616 | src = (wxTextEntryDialog *) ptr; | |
1617 | dest = (wxEvtHandler *) src; | |
1618 | return (void *) dest; | |
1619 | } | |
1620 | ||
1621 | #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
107e4716 | 1622 | static PyObject *_wrap_new_wxTextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1623 | PyObject * _resultobj; |
1624 | wxTextEntryDialog * _result; | |
1625 | wxWindow * _arg0; | |
1626 | char * _arg1; | |
2d091820 RD |
1627 | char * _arg2 = (char *) "Input Text"; |
1628 | char * _arg3 = (char *) ""; | |
1629 | long _arg4 = (long ) wxOK|wxCANCEL|wxCENTRE; | |
1630 | wxPoint * _arg5 = (wxPoint *) &wxPyDefaultPosition; | |
1631 | PyObject * _argo0 = 0; | |
37f6a977 RD |
1632 | wxPoint temp; |
1633 | PyObject * _obj5 = 0; | |
107e4716 | 1634 | char *_kwnames[] = { "parent","message","caption","defaultValue","style","pos", NULL }; |
70551f47 RD |
1635 | char _ptemp[128]; |
1636 | ||
1637 | self = self; | |
37f6a977 | 1638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|sslO:new_wxTextEntryDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5)) |
70551f47 | 1639 | return NULL; |
2d091820 RD |
1640 | if (_argo0) { |
1641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
1643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p."); |
1644 | return NULL; | |
1645 | } | |
1646 | } | |
37f6a977 RD |
1647 | if (_obj5) |
1648 | { | |
1649 | _arg5 = &temp; | |
1650 | if (! wxPoint_helper(_obj5, &_arg5)) | |
70551f47 | 1651 | return NULL; |
37f6a977 | 1652 | } |
ab9bc19b RD |
1653 | { |
1654 | wxPy_BEGIN_ALLOW_THREADS; | |
1655 | _result = (wxTextEntryDialog *)new_wxTextEntryDialog(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5); | |
1656 | ||
1657 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1658 | } if (_result) { |
1659 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextEntryDialog_p"); | |
1660 | _resultobj = Py_BuildValue("s",_ptemp); | |
1661 | } else { | |
1662 | Py_INCREF(Py_None); | |
1663 | _resultobj = Py_None; | |
1664 | } | |
70551f47 RD |
1665 | return _resultobj; |
1666 | } | |
1667 | ||
1668 | #define wxTextEntryDialog_GetValue(_swigobj) (_swigobj->GetValue()) | |
107e4716 | 1669 | static PyObject *_wrap_wxTextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1670 | PyObject * _resultobj; |
1671 | wxString * _result; | |
1672 | wxTextEntryDialog * _arg0; | |
2d091820 | 1673 | PyObject * _argo0 = 0; |
107e4716 | 1674 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1675 | |
1676 | self = self; | |
107e4716 | 1677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_GetValue",_kwnames,&_argo0)) |
70551f47 | 1678 | return NULL; |
2d091820 RD |
1679 | if (_argo0) { |
1680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) { | |
70551f47 RD |
1682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p."); |
1683 | return NULL; | |
1684 | } | |
1685 | } | |
70551f47 | 1686 | { |
ab9bc19b RD |
1687 | wxPy_BEGIN_ALLOW_THREADS; |
1688 | _result = new wxString (wxTextEntryDialog_GetValue(_arg0)); | |
1689 | ||
1690 | wxPy_END_ALLOW_THREADS; | |
1691 | }{ | |
70551f47 RD |
1692 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
1693 | } | |
1694 | { | |
1695 | delete _result; | |
1696 | } | |
1697 | return _resultobj; | |
1698 | } | |
1699 | ||
1700 | #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
107e4716 | 1701 | static PyObject *_wrap_wxTextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1702 | PyObject * _resultobj; |
1703 | wxTextEntryDialog * _arg0; | |
1704 | wxString * _arg1; | |
2d091820 | 1705 | PyObject * _argo0 = 0; |
70551f47 | 1706 | PyObject * _obj1 = 0; |
107e4716 | 1707 | char *_kwnames[] = { "self","value", NULL }; |
70551f47 RD |
1708 | |
1709 | self = self; | |
107e4716 | 1710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextEntryDialog_SetValue",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1711 | return NULL; |
2d091820 RD |
1712 | if (_argo0) { |
1713 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1714 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) { | |
70551f47 RD |
1715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p."); |
1716 | return NULL; | |
1717 | } | |
1718 | } | |
1719 | { | |
1720 | if (!PyString_Check(_obj1)) { | |
1721 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1722 | return NULL; | |
1723 | } | |
ab9bc19b | 1724 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 1725 | } |
ab9bc19b RD |
1726 | { |
1727 | wxPy_BEGIN_ALLOW_THREADS; | |
1728 | wxTextEntryDialog_SetValue(_arg0,*_arg1); | |
1729 | ||
1730 | wxPy_END_ALLOW_THREADS; | |
1731 | } Py_INCREF(Py_None); | |
70551f47 RD |
1732 | _resultobj = Py_None; |
1733 | { | |
1734 | if (_obj1) | |
1735 | delete _arg1; | |
1736 | } | |
1737 | return _resultobj; | |
1738 | } | |
1739 | ||
1740 | #define wxTextEntryDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
107e4716 | 1741 | static PyObject *_wrap_wxTextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1742 | PyObject * _resultobj; |
1743 | int _result; | |
1744 | wxTextEntryDialog * _arg0; | |
2d091820 | 1745 | PyObject * _argo0 = 0; |
107e4716 | 1746 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1747 | |
1748 | self = self; | |
107e4716 | 1749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextEntryDialog_ShowModal",_kwnames,&_argo0)) |
70551f47 | 1750 | return NULL; |
2d091820 RD |
1751 | if (_argo0) { |
1752 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1753 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextEntryDialog_p")) { | |
70551f47 RD |
1754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p."); |
1755 | return NULL; | |
1756 | } | |
1757 | } | |
ab9bc19b RD |
1758 | { |
1759 | wxPy_BEGIN_ALLOW_THREADS; | |
1760 | _result = (int )wxTextEntryDialog_ShowModal(_arg0); | |
1761 | ||
1762 | wxPy_END_ALLOW_THREADS; | |
1763 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1764 | return _resultobj; |
1765 | } | |
1766 | ||
1767 | #define new_wxFontData() (new wxFontData()) | |
107e4716 | 1768 | static PyObject *_wrap_new_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1769 | PyObject * _resultobj; |
1770 | wxFontData * _result; | |
107e4716 | 1771 | char *_kwnames[] = { NULL }; |
70551f47 RD |
1772 | char _ptemp[128]; |
1773 | ||
1774 | self = self; | |
107e4716 | 1775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontData",_kwnames)) |
70551f47 | 1776 | return NULL; |
ab9bc19b RD |
1777 | { |
1778 | wxPy_BEGIN_ALLOW_THREADS; | |
1779 | _result = (wxFontData *)new_wxFontData(); | |
1780 | ||
1781 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1782 | } if (_result) { |
1783 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p"); | |
1784 | _resultobj = Py_BuildValue("s",_ptemp); | |
1785 | } else { | |
1786 | Py_INCREF(Py_None); | |
1787 | _resultobj = Py_None; | |
1788 | } | |
70551f47 RD |
1789 | return _resultobj; |
1790 | } | |
1791 | ||
1792 | #define delete_wxFontData(_swigobj) (delete _swigobj) | |
107e4716 | 1793 | static PyObject *_wrap_delete_wxFontData(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1794 | PyObject * _resultobj; |
1795 | wxFontData * _arg0; | |
2d091820 | 1796 | PyObject * _argo0 = 0; |
107e4716 | 1797 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1798 | |
1799 | self = self; | |
107e4716 | 1800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontData",_kwnames,&_argo0)) |
70551f47 | 1801 | return NULL; |
2d091820 RD |
1802 | if (_argo0) { |
1803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
1805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p."); |
1806 | return NULL; | |
1807 | } | |
1808 | } | |
ab9bc19b RD |
1809 | { |
1810 | wxPy_BEGIN_ALLOW_THREADS; | |
1811 | delete_wxFontData(_arg0); | |
1812 | ||
1813 | wxPy_END_ALLOW_THREADS; | |
1814 | } Py_INCREF(Py_None); | |
70551f47 RD |
1815 | _resultobj = Py_None; |
1816 | return _resultobj; | |
1817 | } | |
1818 | ||
1819 | #define wxFontData_EnableEffects(_swigobj,_swigarg0) (_swigobj->EnableEffects(_swigarg0)) | |
107e4716 | 1820 | static PyObject *_wrap_wxFontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1821 | PyObject * _resultobj; |
1822 | wxFontData * _arg0; | |
1823 | bool _arg1; | |
2d091820 | 1824 | PyObject * _argo0 = 0; |
70551f47 | 1825 | int tempbool1; |
107e4716 | 1826 | char *_kwnames[] = { "self","enable", NULL }; |
70551f47 RD |
1827 | |
1828 | self = self; | |
107e4716 | 1829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_EnableEffects",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 1830 | return NULL; |
2d091820 RD |
1831 | if (_argo0) { |
1832 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1833 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
1834 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p."); |
1835 | return NULL; | |
1836 | } | |
1837 | } | |
1838 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
1839 | { |
1840 | wxPy_BEGIN_ALLOW_THREADS; | |
1841 | wxFontData_EnableEffects(_arg0,_arg1); | |
1842 | ||
1843 | wxPy_END_ALLOW_THREADS; | |
1844 | } Py_INCREF(Py_None); | |
70551f47 RD |
1845 | _resultobj = Py_None; |
1846 | return _resultobj; | |
1847 | } | |
1848 | ||
1849 | #define wxFontData_GetAllowSymbols(_swigobj) (_swigobj->GetAllowSymbols()) | |
107e4716 | 1850 | static PyObject *_wrap_wxFontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1851 | PyObject * _resultobj; |
1852 | bool _result; | |
1853 | wxFontData * _arg0; | |
2d091820 | 1854 | PyObject * _argo0 = 0; |
107e4716 | 1855 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1856 | |
1857 | self = self; | |
107e4716 | 1858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetAllowSymbols",_kwnames,&_argo0)) |
70551f47 | 1859 | return NULL; |
2d091820 RD |
1860 | if (_argo0) { |
1861 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1862 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
1863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p."); |
1864 | return NULL; | |
1865 | } | |
1866 | } | |
ab9bc19b RD |
1867 | { |
1868 | wxPy_BEGIN_ALLOW_THREADS; | |
1869 | _result = (bool )wxFontData_GetAllowSymbols(_arg0); | |
1870 | ||
1871 | wxPy_END_ALLOW_THREADS; | |
1872 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1873 | return _resultobj; |
1874 | } | |
1875 | ||
1876 | #define wxFontData_GetColour(_swigobj) (_swigobj->GetColour()) | |
107e4716 | 1877 | static PyObject *_wrap_wxFontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1878 | PyObject * _resultobj; |
1879 | wxColour * _result; | |
1880 | wxFontData * _arg0; | |
2d091820 | 1881 | PyObject * _argo0 = 0; |
107e4716 | 1882 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1883 | char _ptemp[128]; |
1884 | ||
1885 | self = self; | |
107e4716 | 1886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetColour",_kwnames,&_argo0)) |
70551f47 | 1887 | return NULL; |
2d091820 RD |
1888 | if (_argo0) { |
1889 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1890 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
1891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p."); |
1892 | return NULL; | |
1893 | } | |
1894 | } | |
ab9bc19b RD |
1895 | { |
1896 | wxPy_BEGIN_ALLOW_THREADS; | |
1897 | wxColour & _result_ref = wxFontData_GetColour(_arg0); | |
70551f47 | 1898 | _result = (wxColour *) &_result_ref; |
ab9bc19b RD |
1899 | |
1900 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1901 | } if (_result) { |
1902 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1903 | _resultobj = Py_BuildValue("s",_ptemp); | |
1904 | } else { | |
1905 | Py_INCREF(Py_None); | |
1906 | _resultobj = Py_None; | |
1907 | } | |
70551f47 RD |
1908 | return _resultobj; |
1909 | } | |
1910 | ||
1911 | #define wxFontData_GetChosenFont(_swigobj) (_swigobj->GetChosenFont()) | |
107e4716 | 1912 | static PyObject *_wrap_wxFontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1913 | PyObject * _resultobj; |
1914 | wxFont * _result; | |
1915 | wxFontData * _arg0; | |
2d091820 | 1916 | PyObject * _argo0 = 0; |
107e4716 | 1917 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1918 | char _ptemp[128]; |
1919 | ||
1920 | self = self; | |
107e4716 | 1921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetChosenFont",_kwnames,&_argo0)) |
70551f47 | 1922 | return NULL; |
2d091820 RD |
1923 | if (_argo0) { |
1924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
1926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p."); |
1927 | return NULL; | |
1928 | } | |
1929 | } | |
ab9bc19b RD |
1930 | { |
1931 | wxPy_BEGIN_ALLOW_THREADS; | |
1932 | _result = new wxFont (wxFontData_GetChosenFont(_arg0)); | |
1933 | ||
1934 | wxPy_END_ALLOW_THREADS; | |
1935 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); | |
70551f47 RD |
1936 | _resultobj = Py_BuildValue("s",_ptemp); |
1937 | return _resultobj; | |
1938 | } | |
1939 | ||
1940 | #define wxFontData_GetEnableEffects(_swigobj) (_swigobj->GetEnableEffects()) | |
107e4716 | 1941 | static PyObject *_wrap_wxFontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1942 | PyObject * _resultobj; |
1943 | bool _result; | |
1944 | wxFontData * _arg0; | |
2d091820 | 1945 | PyObject * _argo0 = 0; |
107e4716 | 1946 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1947 | |
1948 | self = self; | |
107e4716 | 1949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetEnableEffects",_kwnames,&_argo0)) |
70551f47 | 1950 | return NULL; |
2d091820 RD |
1951 | if (_argo0) { |
1952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
1954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p."); |
1955 | return NULL; | |
1956 | } | |
1957 | } | |
ab9bc19b RD |
1958 | { |
1959 | wxPy_BEGIN_ALLOW_THREADS; | |
1960 | _result = (bool )wxFontData_GetEnableEffects(_arg0); | |
1961 | ||
1962 | wxPy_END_ALLOW_THREADS; | |
1963 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1964 | return _resultobj; |
1965 | } | |
1966 | ||
1967 | #define wxFontData_GetInitialFont(_swigobj) (_swigobj->GetInitialFont()) | |
107e4716 | 1968 | static PyObject *_wrap_wxFontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1969 | PyObject * _resultobj; |
1970 | wxFont * _result; | |
1971 | wxFontData * _arg0; | |
2d091820 | 1972 | PyObject * _argo0 = 0; |
107e4716 | 1973 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1974 | char _ptemp[128]; |
1975 | ||
1976 | self = self; | |
107e4716 | 1977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetInitialFont",_kwnames,&_argo0)) |
70551f47 | 1978 | return NULL; |
2d091820 RD |
1979 | if (_argo0) { |
1980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
1982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p."); |
1983 | return NULL; | |
1984 | } | |
1985 | } | |
ab9bc19b RD |
1986 | { |
1987 | wxPy_BEGIN_ALLOW_THREADS; | |
1988 | _result = new wxFont (wxFontData_GetInitialFont(_arg0)); | |
1989 | ||
1990 | wxPy_END_ALLOW_THREADS; | |
1991 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); | |
70551f47 RD |
1992 | _resultobj = Py_BuildValue("s",_ptemp); |
1993 | return _resultobj; | |
1994 | } | |
1995 | ||
1996 | #define wxFontData_GetShowHelp(_swigobj) (_swigobj->GetShowHelp()) | |
107e4716 | 1997 | static PyObject *_wrap_wxFontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1998 | PyObject * _resultobj; |
1999 | bool _result; | |
2000 | wxFontData * _arg0; | |
2d091820 | 2001 | PyObject * _argo0 = 0; |
107e4716 | 2002 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2003 | |
2004 | self = self; | |
107e4716 | 2005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontData_GetShowHelp",_kwnames,&_argo0)) |
70551f47 | 2006 | return NULL; |
2d091820 RD |
2007 | if (_argo0) { |
2008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
2010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p."); |
2011 | return NULL; | |
2012 | } | |
2013 | } | |
ab9bc19b RD |
2014 | { |
2015 | wxPy_BEGIN_ALLOW_THREADS; | |
2016 | _result = (bool )wxFontData_GetShowHelp(_arg0); | |
2017 | ||
2018 | wxPy_END_ALLOW_THREADS; | |
2019 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2020 | return _resultobj; |
2021 | } | |
2022 | ||
2023 | #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0) (_swigobj->SetAllowSymbols(_swigarg0)) | |
107e4716 | 2024 | static PyObject *_wrap_wxFontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2025 | PyObject * _resultobj; |
2026 | wxFontData * _arg0; | |
2027 | bool _arg1; | |
2d091820 | 2028 | PyObject * _argo0 = 0; |
70551f47 | 2029 | int tempbool1; |
107e4716 | 2030 | char *_kwnames[] = { "self","allowSymbols", NULL }; |
70551f47 RD |
2031 | |
2032 | self = self; | |
107e4716 | 2033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetAllowSymbols",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 2034 | return NULL; |
2d091820 RD |
2035 | if (_argo0) { |
2036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
2038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p."); |
2039 | return NULL; | |
2040 | } | |
2041 | } | |
2042 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
2043 | { |
2044 | wxPy_BEGIN_ALLOW_THREADS; | |
2045 | wxFontData_SetAllowSymbols(_arg0,_arg1); | |
2046 | ||
2047 | wxPy_END_ALLOW_THREADS; | |
2048 | } Py_INCREF(Py_None); | |
70551f47 RD |
2049 | _resultobj = Py_None; |
2050 | return _resultobj; | |
2051 | } | |
2052 | ||
2053 | #define wxFontData_SetChosenFont(_swigobj,_swigarg0) (_swigobj->SetChosenFont(_swigarg0)) | |
107e4716 | 2054 | static PyObject *_wrap_wxFontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2055 | PyObject * _resultobj; |
2056 | wxFontData * _arg0; | |
2057 | wxFont * _arg1; | |
2d091820 RD |
2058 | PyObject * _argo0 = 0; |
2059 | PyObject * _argo1 = 0; | |
107e4716 | 2060 | char *_kwnames[] = { "self","font", NULL }; |
70551f47 RD |
2061 | |
2062 | self = self; | |
107e4716 | 2063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetChosenFont",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2064 | return NULL; |
2d091820 RD |
2065 | if (_argo0) { |
2066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
2068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p."); |
2069 | return NULL; | |
2070 | } | |
2071 | } | |
2d091820 RD |
2072 | if (_argo1) { |
2073 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2074 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
70551f47 RD |
2075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p."); |
2076 | return NULL; | |
2077 | } | |
2078 | } | |
ab9bc19b RD |
2079 | { |
2080 | wxPy_BEGIN_ALLOW_THREADS; | |
2081 | wxFontData_SetChosenFont(_arg0,*_arg1); | |
2082 | ||
2083 | wxPy_END_ALLOW_THREADS; | |
2084 | } Py_INCREF(Py_None); | |
70551f47 RD |
2085 | _resultobj = Py_None; |
2086 | return _resultobj; | |
2087 | } | |
2088 | ||
2089 | #define wxFontData_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
107e4716 | 2090 | static PyObject *_wrap_wxFontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2091 | PyObject * _resultobj; |
2092 | wxFontData * _arg0; | |
2093 | wxColour * _arg1; | |
2d091820 RD |
2094 | PyObject * _argo0 = 0; |
2095 | PyObject * _argo1 = 0; | |
107e4716 | 2096 | char *_kwnames[] = { "self","colour", NULL }; |
70551f47 RD |
2097 | |
2098 | self = self; | |
107e4716 | 2099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetColour",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2100 | return NULL; |
2d091820 RD |
2101 | if (_argo0) { |
2102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
2104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p."); |
2105 | return NULL; | |
2106 | } | |
2107 | } | |
2d091820 RD |
2108 | if (_argo1) { |
2109 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2110 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
70551f47 RD |
2111 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetColour. Expected _wxColour_p."); |
2112 | return NULL; | |
2113 | } | |
2114 | } | |
ab9bc19b RD |
2115 | { |
2116 | wxPy_BEGIN_ALLOW_THREADS; | |
2117 | wxFontData_SetColour(_arg0,*_arg1); | |
2118 | ||
2119 | wxPy_END_ALLOW_THREADS; | |
2120 | } Py_INCREF(Py_None); | |
70551f47 RD |
2121 | _resultobj = Py_None; |
2122 | return _resultobj; | |
2123 | } | |
2124 | ||
2125 | #define wxFontData_SetInitialFont(_swigobj,_swigarg0) (_swigobj->SetInitialFont(_swigarg0)) | |
107e4716 | 2126 | static PyObject *_wrap_wxFontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2127 | PyObject * _resultobj; |
2128 | wxFontData * _arg0; | |
2129 | wxFont * _arg1; | |
2d091820 RD |
2130 | PyObject * _argo0 = 0; |
2131 | PyObject * _argo1 = 0; | |
107e4716 | 2132 | char *_kwnames[] = { "self","font", NULL }; |
70551f47 RD |
2133 | |
2134 | self = self; | |
107e4716 | 2135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontData_SetInitialFont",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2136 | return NULL; |
2d091820 RD |
2137 | if (_argo0) { |
2138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
2140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p."); |
2141 | return NULL; | |
2142 | } | |
2143 | } | |
2d091820 RD |
2144 | if (_argo1) { |
2145 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2146 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
70551f47 RD |
2147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p."); |
2148 | return NULL; | |
2149 | } | |
2150 | } | |
ab9bc19b RD |
2151 | { |
2152 | wxPy_BEGIN_ALLOW_THREADS; | |
2153 | wxFontData_SetInitialFont(_arg0,*_arg1); | |
2154 | ||
2155 | wxPy_END_ALLOW_THREADS; | |
2156 | } Py_INCREF(Py_None); | |
70551f47 RD |
2157 | _resultobj = Py_None; |
2158 | return _resultobj; | |
2159 | } | |
2160 | ||
2161 | #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1)) | |
107e4716 | 2162 | static PyObject *_wrap_wxFontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2163 | PyObject * _resultobj; |
2164 | wxFontData * _arg0; | |
2165 | int _arg1; | |
2166 | int _arg2; | |
2d091820 | 2167 | PyObject * _argo0 = 0; |
107e4716 | 2168 | char *_kwnames[] = { "self","min","max", NULL }; |
70551f47 RD |
2169 | |
2170 | self = self; | |
107e4716 | 2171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxFontData_SetRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 2172 | return NULL; |
2d091820 RD |
2173 | if (_argo0) { |
2174 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2175 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
2176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p."); |
2177 | return NULL; | |
2178 | } | |
2179 | } | |
ab9bc19b RD |
2180 | { |
2181 | wxPy_BEGIN_ALLOW_THREADS; | |
2182 | wxFontData_SetRange(_arg0,_arg1,_arg2); | |
2183 | ||
2184 | wxPy_END_ALLOW_THREADS; | |
2185 | } Py_INCREF(Py_None); | |
70551f47 RD |
2186 | _resultobj = Py_None; |
2187 | return _resultobj; | |
2188 | } | |
2189 | ||
2190 | #define wxFontData_SetShowHelp(_swigobj,_swigarg0) (_swigobj->SetShowHelp(_swigarg0)) | |
107e4716 | 2191 | static PyObject *_wrap_wxFontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2192 | PyObject * _resultobj; |
2193 | wxFontData * _arg0; | |
2194 | bool _arg1; | |
2d091820 | 2195 | PyObject * _argo0 = 0; |
70551f47 | 2196 | int tempbool1; |
107e4716 | 2197 | char *_kwnames[] = { "self","showHelp", NULL }; |
70551f47 RD |
2198 | |
2199 | self = self; | |
107e4716 | 2200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFontData_SetShowHelp",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 2201 | return NULL; |
2d091820 RD |
2202 | if (_argo0) { |
2203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontData_p")) { | |
70551f47 RD |
2205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p."); |
2206 | return NULL; | |
2207 | } | |
2208 | } | |
2209 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
2210 | { |
2211 | wxPy_BEGIN_ALLOW_THREADS; | |
2212 | wxFontData_SetShowHelp(_arg0,_arg1); | |
2213 | ||
2214 | wxPy_END_ALLOW_THREADS; | |
2215 | } Py_INCREF(Py_None); | |
70551f47 RD |
2216 | _resultobj = Py_None; |
2217 | return _resultobj; | |
2218 | } | |
2219 | ||
2220 | static void *SwigwxFontDialogTowxDialog(void *ptr) { | |
2221 | wxFontDialog *src; | |
2222 | wxDialog *dest; | |
2223 | src = (wxFontDialog *) ptr; | |
2224 | dest = (wxDialog *) src; | |
2225 | return (void *) dest; | |
2226 | } | |
2227 | ||
2228 | static void *SwigwxFontDialogTowxPanel(void *ptr) { | |
2229 | wxFontDialog *src; | |
2230 | wxPanel *dest; | |
2231 | src = (wxFontDialog *) ptr; | |
2232 | dest = (wxPanel *) src; | |
2233 | return (void *) dest; | |
2234 | } | |
2235 | ||
2236 | static void *SwigwxFontDialogTowxWindow(void *ptr) { | |
2237 | wxFontDialog *src; | |
2238 | wxWindow *dest; | |
2239 | src = (wxFontDialog *) ptr; | |
2240 | dest = (wxWindow *) src; | |
2241 | return (void *) dest; | |
2242 | } | |
2243 | ||
2244 | static void *SwigwxFontDialogTowxEvtHandler(void *ptr) { | |
2245 | wxFontDialog *src; | |
2246 | wxEvtHandler *dest; | |
2247 | src = (wxFontDialog *) ptr; | |
2248 | dest = (wxEvtHandler *) src; | |
2249 | return (void *) dest; | |
2250 | } | |
2251 | ||
2252 | #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1)) | |
107e4716 | 2253 | static PyObject *_wrap_new_wxFontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2254 | PyObject * _resultobj; |
2255 | wxFontDialog * _result; | |
2256 | wxWindow * _arg0; | |
2d091820 RD |
2257 | wxFontData * _arg1 = (wxFontData *) NULL; |
2258 | PyObject * _argo0 = 0; | |
2259 | PyObject * _argo1 = 0; | |
107e4716 | 2260 | char *_kwnames[] = { "parent","data", NULL }; |
70551f47 RD |
2261 | char _ptemp[128]; |
2262 | ||
2263 | self = self; | |
107e4716 | 2264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxFontDialog",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2265 | return NULL; |
2d091820 RD |
2266 | if (_argo0) { |
2267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
2269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p."); |
2270 | return NULL; | |
2271 | } | |
2272 | } | |
2d091820 RD |
2273 | if (_argo1) { |
2274 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2275 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFontData_p")) { | |
70551f47 RD |
2276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p."); |
2277 | return NULL; | |
2278 | } | |
2279 | } | |
ab9bc19b RD |
2280 | { |
2281 | wxPy_BEGIN_ALLOW_THREADS; | |
2282 | _result = (wxFontDialog *)new_wxFontDialog(_arg0,_arg1); | |
2283 | ||
2284 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2285 | } if (_result) { |
2286 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontDialog_p"); | |
2287 | _resultobj = Py_BuildValue("s",_ptemp); | |
2288 | } else { | |
2289 | Py_INCREF(Py_None); | |
2290 | _resultobj = Py_None; | |
2291 | } | |
70551f47 RD |
2292 | return _resultobj; |
2293 | } | |
2294 | ||
2295 | #define wxFontDialog_GetFontData(_swigobj) (_swigobj->GetFontData()) | |
107e4716 | 2296 | static PyObject *_wrap_wxFontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2297 | PyObject * _resultobj; |
2298 | wxFontData * _result; | |
2299 | wxFontDialog * _arg0; | |
2d091820 | 2300 | PyObject * _argo0 = 0; |
107e4716 | 2301 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2302 | char _ptemp[128]; |
2303 | ||
2304 | self = self; | |
107e4716 | 2305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_GetFontData",_kwnames,&_argo0)) |
70551f47 | 2306 | return NULL; |
2d091820 RD |
2307 | if (_argo0) { |
2308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) { | |
70551f47 RD |
2310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p."); |
2311 | return NULL; | |
2312 | } | |
2313 | } | |
ab9bc19b RD |
2314 | { |
2315 | wxPy_BEGIN_ALLOW_THREADS; | |
2316 | wxFontData & _result_ref = wxFontDialog_GetFontData(_arg0); | |
70551f47 | 2317 | _result = (wxFontData *) &_result_ref; |
ab9bc19b RD |
2318 | |
2319 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2320 | } if (_result) { |
2321 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontData_p"); | |
2322 | _resultobj = Py_BuildValue("s",_ptemp); | |
2323 | } else { | |
2324 | Py_INCREF(Py_None); | |
2325 | _resultobj = Py_None; | |
2326 | } | |
70551f47 RD |
2327 | return _resultobj; |
2328 | } | |
2329 | ||
2330 | #define wxFontDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
107e4716 | 2331 | static PyObject *_wrap_wxFontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2332 | PyObject * _resultobj; |
2333 | int _result; | |
2334 | wxFontDialog * _arg0; | |
2d091820 | 2335 | PyObject * _argo0 = 0; |
107e4716 | 2336 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2337 | |
2338 | self = self; | |
107e4716 | 2339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontDialog_ShowModal",_kwnames,&_argo0)) |
70551f47 | 2340 | return NULL; |
2d091820 RD |
2341 | if (_argo0) { |
2342 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2343 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontDialog_p")) { | |
70551f47 RD |
2344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p."); |
2345 | return NULL; | |
2346 | } | |
2347 | } | |
ab9bc19b RD |
2348 | { |
2349 | wxPy_BEGIN_ALLOW_THREADS; | |
2350 | _result = (int )wxFontDialog_ShowModal(_arg0); | |
2351 | ||
2352 | wxPy_END_ALLOW_THREADS; | |
2353 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2354 | return _resultobj; |
2355 | } | |
2356 | ||
d24a34bb RD |
2357 | static void *SwigwxMessageDialogTowxDialog(void *ptr) { |
2358 | wxMessageDialog *src; | |
faf3cb35 | 2359 | wxDialog *dest; |
d24a34bb | 2360 | src = (wxMessageDialog *) ptr; |
faf3cb35 RD |
2361 | dest = (wxDialog *) src; |
2362 | return (void *) dest; | |
2363 | } | |
2364 | ||
d24a34bb RD |
2365 | static void *SwigwxMessageDialogTowxPanel(void *ptr) { |
2366 | wxMessageDialog *src; | |
faf3cb35 | 2367 | wxPanel *dest; |
d24a34bb | 2368 | src = (wxMessageDialog *) ptr; |
faf3cb35 RD |
2369 | dest = (wxPanel *) src; |
2370 | return (void *) dest; | |
2371 | } | |
2372 | ||
d24a34bb RD |
2373 | static void *SwigwxMessageDialogTowxWindow(void *ptr) { |
2374 | wxMessageDialog *src; | |
faf3cb35 | 2375 | wxWindow *dest; |
d24a34bb | 2376 | src = (wxMessageDialog *) ptr; |
faf3cb35 RD |
2377 | dest = (wxWindow *) src; |
2378 | return (void *) dest; | |
2379 | } | |
2380 | ||
d24a34bb RD |
2381 | static void *SwigwxMessageDialogTowxEvtHandler(void *ptr) { |
2382 | wxMessageDialog *src; | |
faf3cb35 | 2383 | wxEvtHandler *dest; |
d24a34bb | 2384 | src = (wxMessageDialog *) ptr; |
faf3cb35 RD |
2385 | dest = (wxEvtHandler *) src; |
2386 | return (void *) dest; | |
2387 | } | |
2388 | ||
d24a34bb | 2389 | #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
107e4716 | 2390 | static PyObject *_wrap_new_wxMessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
faf3cb35 | 2391 | PyObject * _resultobj; |
d24a34bb | 2392 | wxMessageDialog * _result; |
faf3cb35 | 2393 | wxWindow * _arg0; |
d24a34bb | 2394 | char * _arg1; |
2d091820 RD |
2395 | char * _arg2 = (char *) "Message box"; |
2396 | long _arg3 = (long ) wxOK|wxCANCEL|wxCENTRE; | |
2397 | wxPoint * _arg4 = (wxPoint *) &wxPyDefaultPosition; | |
2398 | PyObject * _argo0 = 0; | |
37f6a977 RD |
2399 | wxPoint temp; |
2400 | PyObject * _obj4 = 0; | |
107e4716 | 2401 | char *_kwnames[] = { "parent","message","caption","style","pos", NULL }; |
faf3cb35 RD |
2402 | char _ptemp[128]; |
2403 | ||
2404 | self = self; | |
37f6a977 | 2405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|slO:new_wxMessageDialog",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4)) |
faf3cb35 | 2406 | return NULL; |
2d091820 RD |
2407 | if (_argo0) { |
2408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
d24a34bb | 2410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p."); |
faf3cb35 RD |
2411 | return NULL; |
2412 | } | |
2413 | } | |
37f6a977 RD |
2414 | if (_obj4) |
2415 | { | |
2416 | _arg4 = &temp; | |
2417 | if (! wxPoint_helper(_obj4, &_arg4)) | |
faf3cb35 | 2418 | return NULL; |
37f6a977 | 2419 | } |
ab9bc19b RD |
2420 | { |
2421 | wxPy_BEGIN_ALLOW_THREADS; | |
d24a34bb | 2422 | _result = (wxMessageDialog *)new_wxMessageDialog(_arg0,_arg1,_arg2,_arg3,*_arg4); |
ab9bc19b RD |
2423 | |
2424 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2425 | } if (_result) { |
2426 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMessageDialog_p"); | |
2427 | _resultobj = Py_BuildValue("s",_ptemp); | |
2428 | } else { | |
2429 | Py_INCREF(Py_None); | |
2430 | _resultobj = Py_None; | |
2431 | } | |
faf3cb35 RD |
2432 | return _resultobj; |
2433 | } | |
2434 | ||
d24a34bb | 2435 | #define wxMessageDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) |
107e4716 | 2436 | static PyObject *_wrap_wxMessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
faf3cb35 | 2437 | PyObject * _resultobj; |
d24a34bb RD |
2438 | int _result; |
2439 | wxMessageDialog * _arg0; | |
2d091820 | 2440 | PyObject * _argo0 = 0; |
107e4716 | 2441 | char *_kwnames[] = { "self", NULL }; |
faf3cb35 RD |
2442 | |
2443 | self = self; | |
107e4716 | 2444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMessageDialog_ShowModal",_kwnames,&_argo0)) |
faf3cb35 | 2445 | return NULL; |
2d091820 RD |
2446 | if (_argo0) { |
2447 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2448 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMessageDialog_p")) { | |
d24a34bb | 2449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p."); |
faf3cb35 RD |
2450 | return NULL; |
2451 | } | |
2452 | } | |
ab9bc19b RD |
2453 | { |
2454 | wxPy_BEGIN_ALLOW_THREADS; | |
d24a34bb | 2455 | _result = (int )wxMessageDialog_ShowModal(_arg0); |
ab9bc19b RD |
2456 | |
2457 | wxPy_END_ALLOW_THREADS; | |
d24a34bb | 2458 | } _resultobj = Py_BuildValue("i",_result); |
faf3cb35 RD |
2459 | return _resultobj; |
2460 | } | |
2461 | ||
d24a34bb RD |
2462 | static void *SwigwxProgressDialogTowxFrame(void *ptr) { |
2463 | wxProgressDialog *src; | |
2464 | wxFrame *dest; | |
2465 | src = (wxProgressDialog *) ptr; | |
2466 | dest = (wxFrame *) src; | |
2467 | return (void *) dest; | |
2468 | } | |
2469 | ||
2470 | static void *SwigwxProgressDialogTowxWindow(void *ptr) { | |
2471 | wxProgressDialog *src; | |
2472 | wxWindow *dest; | |
2473 | src = (wxProgressDialog *) ptr; | |
2474 | dest = (wxWindow *) src; | |
2475 | return (void *) dest; | |
2476 | } | |
2477 | ||
2478 | static void *SwigwxProgressDialogTowxEvtHandler(void *ptr) { | |
2479 | wxProgressDialog *src; | |
2480 | wxEvtHandler *dest; | |
2481 | src = (wxProgressDialog *) ptr; | |
2482 | dest = (wxEvtHandler *) src; | |
2483 | return (void *) dest; | |
2484 | } | |
2485 | ||
2486 | #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
107e4716 | 2487 | static PyObject *_wrap_new_wxProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
faf3cb35 | 2488 | PyObject * _resultobj; |
d24a34bb RD |
2489 | wxProgressDialog * _result; |
2490 | wxString * _arg0; | |
2491 | wxString * _arg1; | |
2d091820 RD |
2492 | int _arg2 = (int ) 100; |
2493 | wxWindow * _arg3 = (wxWindow *) NULL; | |
2494 | int _arg4 = (int ) wxPD_AUTO_HIDE|wxPD_APP_MODAL; | |
d24a34bb RD |
2495 | PyObject * _obj0 = 0; |
2496 | PyObject * _obj1 = 0; | |
2d091820 | 2497 | PyObject * _argo3 = 0; |
107e4716 | 2498 | char *_kwnames[] = { "title","message","maximum","parent","style", NULL }; |
faf3cb35 RD |
2499 | char _ptemp[128]; |
2500 | ||
2501 | self = self; | |
107e4716 | 2502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOi:new_wxProgressDialog",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4)) |
faf3cb35 | 2503 | return NULL; |
d24a34bb RD |
2504 | { |
2505 | if (!PyString_Check(_obj0)) { | |
2506 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
faf3cb35 | 2507 | return NULL; |
faf3cb35 | 2508 | } |
d24a34bb | 2509 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); |
faf3cb35 | 2510 | } |
d24a34bb RD |
2511 | { |
2512 | if (!PyString_Check(_obj1)) { | |
2513 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
faf3cb35 | 2514 | return NULL; |
d24a34bb RD |
2515 | } |
2516 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2517 | } | |
2d091820 RD |
2518 | if (_argo3) { |
2519 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2520 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) { | |
d24a34bb | 2521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p."); |
faf3cb35 RD |
2522 | return NULL; |
2523 | } | |
2524 | } | |
ab9bc19b RD |
2525 | { |
2526 | wxPy_BEGIN_ALLOW_THREADS; | |
d24a34bb | 2527 | _result = (wxProgressDialog *)new_wxProgressDialog(*_arg0,*_arg1,_arg2,_arg3,_arg4); |
ab9bc19b RD |
2528 | |
2529 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2530 | } if (_result) { |
2531 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxProgressDialog_p"); | |
2532 | _resultobj = Py_BuildValue("s",_ptemp); | |
2533 | } else { | |
2534 | Py_INCREF(Py_None); | |
2535 | _resultobj = Py_None; | |
2536 | } | |
d24a34bb RD |
2537 | { |
2538 | if (_obj0) | |
2539 | delete _arg0; | |
70551f47 | 2540 | } |
d24a34bb RD |
2541 | { |
2542 | if (_obj1) | |
2543 | delete _arg1; | |
70551f47 | 2544 | } |
d24a34bb | 2545 | return _resultobj; |
70551f47 RD |
2546 | } |
2547 | ||
d24a34bb | 2548 | #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1) (_swigobj->Update(_swigarg0,_swigarg1)) |
107e4716 | 2549 | static PyObject *_wrap_wxProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 | 2550 | PyObject * _resultobj; |
d24a34bb RD |
2551 | bool _result; |
2552 | wxProgressDialog * _arg0; | |
2d091820 RD |
2553 | int _arg1 = (int ) -1; |
2554 | char * _arg2 = (char *) NULL; | |
2555 | PyObject * _argo0 = 0; | |
107e4716 | 2556 | char *_kwnames[] = { "self","value","newmsg", NULL }; |
70551f47 RD |
2557 | |
2558 | self = self; | |
107e4716 | 2559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|is:wxProgressDialog_Update",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 2560 | return NULL; |
2d091820 RD |
2561 | if (_argo0) { |
2562 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2563 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) { | |
d24a34bb | 2564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p."); |
70551f47 RD |
2565 | return NULL; |
2566 | } | |
2567 | } | |
ab9bc19b RD |
2568 | { |
2569 | wxPy_BEGIN_ALLOW_THREADS; | |
d24a34bb | 2570 | _result = (bool )wxProgressDialog_Update(_arg0,_arg1,_arg2); |
ab9bc19b RD |
2571 | |
2572 | wxPy_END_ALLOW_THREADS; | |
d24a34bb | 2573 | } _resultobj = Py_BuildValue("i",_result); |
70551f47 RD |
2574 | return _resultobj; |
2575 | } | |
2576 | ||
d24a34bb | 2577 | #define wxProgressDialog_Resume(_swigobj) (_swigobj->Resume()) |
107e4716 | 2578 | static PyObject *_wrap_wxProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 | 2579 | PyObject * _resultobj; |
d24a34bb | 2580 | wxProgressDialog * _arg0; |
2d091820 | 2581 | PyObject * _argo0 = 0; |
107e4716 | 2582 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2583 | |
2584 | self = self; | |
107e4716 | 2585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProgressDialog_Resume",_kwnames,&_argo0)) |
70551f47 | 2586 | return NULL; |
2d091820 RD |
2587 | if (_argo0) { |
2588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProgressDialog_p")) { | |
d24a34bb | 2590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p."); |
70551f47 RD |
2591 | return NULL; |
2592 | } | |
2593 | } | |
ab9bc19b RD |
2594 | { |
2595 | wxPy_BEGIN_ALLOW_THREADS; | |
d24a34bb | 2596 | wxProgressDialog_Resume(_arg0); |
ab9bc19b RD |
2597 | |
2598 | wxPy_END_ALLOW_THREADS; | |
d24a34bb RD |
2599 | } Py_INCREF(Py_None); |
2600 | _resultobj = Py_None; | |
70551f47 RD |
2601 | return _resultobj; |
2602 | } | |
2603 | ||
2604 | static PyMethodDef cmndlgscMethods[] = { | |
107e4716 RD |
2605 | { "wxProgressDialog_Resume", (PyCFunction) _wrap_wxProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, |
2606 | { "wxProgressDialog_Update", (PyCFunction) _wrap_wxProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
2607 | { "new_wxProgressDialog", (PyCFunction) _wrap_new_wxProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
2608 | { "wxMessageDialog_ShowModal", (PyCFunction) _wrap_wxMessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
2609 | { "new_wxMessageDialog", (PyCFunction) _wrap_new_wxMessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
2610 | { "wxFontDialog_ShowModal", (PyCFunction) _wrap_wxFontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
2611 | { "wxFontDialog_GetFontData", (PyCFunction) _wrap_wxFontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, | |
2612 | { "new_wxFontDialog", (PyCFunction) _wrap_new_wxFontDialog, METH_VARARGS | METH_KEYWORDS }, | |
2613 | { "wxFontData_SetShowHelp", (PyCFunction) _wrap_wxFontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
2614 | { "wxFontData_SetRange", (PyCFunction) _wrap_wxFontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
2615 | { "wxFontData_SetInitialFont", (PyCFunction) _wrap_wxFontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
2616 | { "wxFontData_SetColour", (PyCFunction) _wrap_wxFontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
2617 | { "wxFontData_SetChosenFont", (PyCFunction) _wrap_wxFontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
2618 | { "wxFontData_SetAllowSymbols", (PyCFunction) _wrap_wxFontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
2619 | { "wxFontData_GetShowHelp", (PyCFunction) _wrap_wxFontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
2620 | { "wxFontData_GetInitialFont", (PyCFunction) _wrap_wxFontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
2621 | { "wxFontData_GetEnableEffects", (PyCFunction) _wrap_wxFontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
2622 | { "wxFontData_GetChosenFont", (PyCFunction) _wrap_wxFontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
2623 | { "wxFontData_GetColour", (PyCFunction) _wrap_wxFontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
2624 | { "wxFontData_GetAllowSymbols", (PyCFunction) _wrap_wxFontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
2625 | { "wxFontData_EnableEffects", (PyCFunction) _wrap_wxFontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
2626 | { "delete_wxFontData", (PyCFunction) _wrap_delete_wxFontData, METH_VARARGS | METH_KEYWORDS }, | |
2627 | { "new_wxFontData", (PyCFunction) _wrap_new_wxFontData, METH_VARARGS | METH_KEYWORDS }, | |
2628 | { "wxTextEntryDialog_ShowModal", (PyCFunction) _wrap_wxTextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
2629 | { "wxTextEntryDialog_SetValue", (PyCFunction) _wrap_wxTextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
2630 | { "wxTextEntryDialog_GetValue", (PyCFunction) _wrap_wxTextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
2631 | { "new_wxTextEntryDialog", (PyCFunction) _wrap_new_wxTextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
2632 | { "wxSingleChoiceDialog_ShowModal", (PyCFunction) _wrap_wxSingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
2633 | { "wxSingleChoiceDialog_SetSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
2634 | { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
2635 | { "wxSingleChoiceDialog_GetSelection", (PyCFunction) _wrap_wxSingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
2636 | { "new_wxSingleChoiceDialog", (PyCFunction) _wrap_new_wxSingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
2637 | { "wxFileDialog_ShowModal", (PyCFunction) _wrap_wxFileDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
2638 | { "wxFileDialog_SetWildcard", (PyCFunction) _wrap_wxFileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
2639 | { "wxFileDialog_SetStyle", (PyCFunction) _wrap_wxFileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
2640 | { "wxFileDialog_SetPath", (PyCFunction) _wrap_wxFileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
2641 | { "wxFileDialog_SetMessage", (PyCFunction) _wrap_wxFileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
2642 | { "wxFileDialog_SetFilterIndex", (PyCFunction) _wrap_wxFileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
2643 | { "wxFileDialog_SetFilename", (PyCFunction) _wrap_wxFileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
2644 | { "wxFileDialog_SetDirectory", (PyCFunction) _wrap_wxFileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
2645 | { "wxFileDialog_GetWildcard", (PyCFunction) _wrap_wxFileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
2646 | { "wxFileDialog_GetStyle", (PyCFunction) _wrap_wxFileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
2647 | { "wxFileDialog_GetPath", (PyCFunction) _wrap_wxFileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
2648 | { "wxFileDialog_GetMessage", (PyCFunction) _wrap_wxFileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
2649 | { "wxFileDialog_GetFilterIndex", (PyCFunction) _wrap_wxFileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
2650 | { "wxFileDialog_GetFilename", (PyCFunction) _wrap_wxFileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
2651 | { "wxFileDialog_GetDirectory", (PyCFunction) _wrap_wxFileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
2652 | { "new_wxFileDialog", (PyCFunction) _wrap_new_wxFileDialog, METH_VARARGS | METH_KEYWORDS }, | |
2653 | { "wxDirDialog_ShowModal", (PyCFunction) _wrap_wxDirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
2654 | { "wxDirDialog_SetPath", (PyCFunction) _wrap_wxDirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
2655 | { "wxDirDialog_SetMessage", (PyCFunction) _wrap_wxDirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
2656 | { "wxDirDialog_GetStyle", (PyCFunction) _wrap_wxDirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
2657 | { "wxDirDialog_GetMessage", (PyCFunction) _wrap_wxDirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
2658 | { "wxDirDialog_GetPath", (PyCFunction) _wrap_wxDirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
2659 | { "new_wxDirDialog", (PyCFunction) _wrap_new_wxDirDialog, METH_VARARGS | METH_KEYWORDS }, | |
2660 | { "wxColourDialog_ShowModal", (PyCFunction) _wrap_wxColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
2661 | { "wxColourDialog_GetColourData", (PyCFunction) _wrap_wxColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
2662 | { "new_wxColourDialog", (PyCFunction) _wrap_new_wxColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
2663 | { "wxColourData_SetCustomColour", (PyCFunction) _wrap_wxColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
2664 | { "wxColourData_SetColour", (PyCFunction) _wrap_wxColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
2665 | { "wxColourData_SetChooseFull", (PyCFunction) _wrap_wxColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
2666 | { "wxColourData_GetCustomColour", (PyCFunction) _wrap_wxColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
2667 | { "wxColourData_GetColour", (PyCFunction) _wrap_wxColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
2668 | { "wxColourData_GetChooseFull", (PyCFunction) _wrap_wxColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
2669 | { "delete_wxColourData", (PyCFunction) _wrap_delete_wxColourData, METH_VARARGS | METH_KEYWORDS }, | |
2670 | { "new_wxColourData", (PyCFunction) _wrap_new_wxColourData, METH_VARARGS | METH_KEYWORDS }, | |
70551f47 RD |
2671 | { NULL, NULL } |
2672 | }; | |
2d091820 RD |
2673 | #ifdef __cplusplus |
2674 | } | |
2675 | #endif | |
2676 | /* | |
2677 | * This table is used by the pointer type-checker | |
2678 | */ | |
2679 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
2680 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
2681 | { "_wxEvent","_class_wxEvent",0}, | |
2682 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
2683 | { "_signed_long","_long",0}, | |
2684 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
4120ef2b RD |
2685 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
2686 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
37f6a977 | 2687 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
4120ef2b | 2688 | { "_wxPrintQuality","_wxCoord",0}, |
2d091820 RD |
2689 | { "_wxPrintQuality","_int",0}, |
2690 | { "_wxPrintQuality","_signed_int",0}, | |
2691 | { "_wxPrintQuality","_unsigned_int",0}, | |
2692 | { "_wxPrintQuality","_wxWindowID",0}, | |
2693 | { "_wxPrintQuality","_uint",0}, | |
2694 | { "_wxPrintQuality","_EBool",0}, | |
2695 | { "_wxPrintQuality","_size_t",0}, | |
4120ef2b | 2696 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
2d091820 RD |
2697 | { "_wxFontData","_class_wxFontData",0}, |
2698 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
4120ef2b | 2699 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
2d091820 RD |
2700 | { "_class_wxMenuBar","_wxMenuBar",0}, |
2701 | { "_class_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler}, | |
2702 | { "_class_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler}, | |
2703 | { "_class_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler}, | |
2704 | { "_class_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler}, | |
2705 | { "_class_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler}, | |
2706 | { "_class_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler}, | |
2707 | { "_class_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler}, | |
2708 | { "_class_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler}, | |
2709 | { "_class_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler}, | |
2710 | { "_class_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler}, | |
2711 | { "_class_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler}, | |
2712 | { "_class_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler}, | |
2713 | { "_class_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler}, | |
2714 | { "_class_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler}, | |
2715 | { "_class_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler}, | |
2716 | { "_class_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler}, | |
2717 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
2718 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
2719 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
2720 | { "_wxCursor","_class_wxCursor",0}, | |
2721 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
2722 | { "_wxMask","_class_wxMask",0}, | |
2723 | { "_class_wxColourData","_wxColourData",0}, | |
2724 | { "_wxPen","_class_wxPen",0}, | |
2725 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
2726 | { "_byte","_unsigned_char",0}, | |
4120ef2b | 2727 | { "_wxDataObject","_class_wxDataObject",0}, |
2d091820 | 2728 | { "_wxStaticBox","_class_wxStaticBox",0}, |
4120ef2b RD |
2729 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
2730 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
2d091820 RD |
2731 | { "_wxChoice","_class_wxChoice",0}, |
2732 | { "_wxSlider","_class_wxSlider",0}, | |
2d091820 RD |
2733 | { "_long","_unsigned_long",0}, |
2734 | { "_long","_signed_long",0}, | |
2735 | { "_wxImageList","_class_wxImageList",0}, | |
4120ef2b | 2736 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
2d091820 RD |
2737 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
2738 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
2739 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
4120ef2b | 2740 | { "_class_wxClipboard","_wxClipboard",0}, |
2d091820 RD |
2741 | { "_class_wxGauge","_wxGauge",0}, |
2742 | { "_wxDC","_class_wxDC",0}, | |
4120ef2b | 2743 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
2d091820 RD |
2744 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, |
2745 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
2746 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
4120ef2b | 2747 | { "_size_t","_wxCoord",0}, |
2d091820 RD |
2748 | { "_size_t","_wxPrintQuality",0}, |
2749 | { "_size_t","_unsigned_int",0}, | |
2750 | { "_size_t","_int",0}, | |
2751 | { "_size_t","_wxWindowID",0}, | |
2752 | { "_size_t","_uint",0}, | |
2753 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
167b96c2 RD |
2754 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
2755 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
2d091820 RD |
2756 | { "_class_wxMenuItem","_wxMenuItem",0}, |
2757 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
2758 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
2759 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
2760 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, | |
2761 | { "_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel}, | |
2762 | { "_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel}, | |
2763 | { "_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel}, | |
2764 | { "_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel}, | |
2765 | { "_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel}, | |
2766 | { "_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel}, | |
2767 | { "_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel}, | |
2768 | { "_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel}, | |
2769 | { "_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel}, | |
2770 | { "_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel}, | |
2771 | { "_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel}, | |
2772 | { "_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel}, | |
2773 | { "_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel}, | |
2774 | { "_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel}, | |
2775 | { "_wxPanel","_class_wxPanel",0}, | |
2776 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
2777 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
2778 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
2779 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
2780 | { "_class_wxMask","_wxMask",0}, | |
4120ef2b | 2781 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
2d091820 RD |
2782 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
2783 | { "_wxColour","_class_wxColour",0}, | |
2784 | { "_class_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog}, | |
2785 | { "_class_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog}, | |
2786 | { "_class_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog}, | |
2787 | { "_class_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog}, | |
2788 | { "_class_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog}, | |
2789 | { "_class_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog}, | |
2790 | { "_class_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog}, | |
2791 | { "_class_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog}, | |
2792 | { "_class_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog}, | |
2793 | { "_class_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog}, | |
2794 | { "_class_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog}, | |
2795 | { "_class_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog}, | |
2796 | { "_class_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog}, | |
2797 | { "_class_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog}, | |
2798 | { "_class_wxDialog","_wxDialog",0}, | |
4120ef2b | 2799 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
2d091820 RD |
2800 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
2801 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
2802 | { "_wxToolBar","_class_wxToolBar",0}, | |
4120ef2b | 2803 | { "_class_wxDataObject","_wxDataObject",0}, |
2d091820 RD |
2804 | { "_wxStaticLine","_class_wxStaticLine",0}, |
2805 | { "_wxBrush","_class_wxBrush",0}, | |
2806 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
4120ef2b RD |
2807 | { "_wxDataFormat","_class_wxDataFormat",0}, |
2808 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
2d091820 | 2809 | { "_wxShowEvent","_class_wxShowEvent",0}, |
4120ef2b | 2810 | { "_uint","_wxCoord",0}, |
2d091820 RD |
2811 | { "_uint","_wxPrintQuality",0}, |
2812 | { "_uint","_size_t",0}, | |
2813 | { "_uint","_unsigned_int",0}, | |
2814 | { "_uint","_int",0}, | |
2815 | { "_uint","_wxWindowID",0}, | |
37f6a977 | 2816 | { "_wxPyValidator","_class_wxPyValidator",0}, |
2d091820 RD |
2817 | { "_class_wxEvent","_wxEvent",0}, |
2818 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
2819 | { "_wxRect","_class_wxRect",0}, | |
2820 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
2821 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
2822 | { "_wxPoint","_class_wxPoint",0}, | |
2823 | { "_class_wxButton","_wxButton",0}, | |
2824 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
2825 | { "_class_wxFontData","_wxFontData",0}, | |
2826 | { "_wxBitmap","_class_wxBitmap",0}, | |
56f5d962 | 2827 | { "_char","_wxDash",0}, |
2d091820 RD |
2828 | { "_wxPyTimer","_class_wxPyTimer",0}, |
2829 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
2830 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
2831 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
2832 | { "_wxToolBarTool","_class_wxToolBarTool",0}, | |
2833 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
2834 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
2835 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2836 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
37f6a977 | 2837 | { "_class_wxValidator","_wxValidator",0}, |
2d091820 RD |
2838 | { "_class_wxPyEvent","_wxPyEvent",0}, |
2839 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
2840 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
2841 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
2842 | { "_class_wxToolBar","_wxToolBar",0}, | |
4120ef2b | 2843 | { "_wxDropTarget","_class_wxDropTarget",0}, |
2d091820 RD |
2844 | { "_class_wxStaticLine","_wxStaticLine",0}, |
2845 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
4120ef2b | 2846 | { "_EBool","_wxCoord",0}, |
2d091820 RD |
2847 | { "_EBool","_wxPrintQuality",0}, |
2848 | { "_EBool","_signed_int",0}, | |
2849 | { "_EBool","_int",0}, | |
2850 | { "_EBool","_wxWindowID",0}, | |
2851 | { "_class_wxRegion","_wxRegion",0}, | |
4120ef2b | 2852 | { "_class_wxDataFormat","_wxDataFormat",0}, |
2d091820 | 2853 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
167b96c2 | 2854 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
2d091820 RD |
2855 | { "_wxStaticText","_class_wxStaticText",0}, |
2856 | { "_wxFont","_class_wxFont",0}, | |
4120ef2b | 2857 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
2d091820 | 2858 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
2d091820 RD |
2859 | { "_unsigned_long","_long",0}, |
2860 | { "_class_wxRect","_wxRect",0}, | |
2861 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 2862 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
2d091820 | 2863 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
167b96c2 RD |
2864 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
2865 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
2d091820 RD |
2866 | { "_class_wxDirDialog","_wxDirDialog",0}, |
2867 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
2868 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
2869 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
2870 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
2871 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
2872 | { "_class_wxPanel","_class_wxMessageDialog",SwigwxMessageDialogTowxPanel}, | |
2873 | { "_class_wxPanel","_wxMessageDialog",SwigwxMessageDialogTowxPanel}, | |
2874 | { "_class_wxPanel","_class_wxFontDialog",SwigwxFontDialogTowxPanel}, | |
2875 | { "_class_wxPanel","_wxFontDialog",SwigwxFontDialogTowxPanel}, | |
2876 | { "_class_wxPanel","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel}, | |
2877 | { "_class_wxPanel","_wxTextEntryDialog",SwigwxTextEntryDialogTowxPanel}, | |
2878 | { "_class_wxPanel","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel}, | |
2879 | { "_class_wxPanel","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxPanel}, | |
2880 | { "_class_wxPanel","_class_wxFileDialog",SwigwxFileDialogTowxPanel}, | |
2881 | { "_class_wxPanel","_wxFileDialog",SwigwxFileDialogTowxPanel}, | |
2882 | { "_class_wxPanel","_class_wxDirDialog",SwigwxDirDialogTowxPanel}, | |
2883 | { "_class_wxPanel","_wxDirDialog",SwigwxDirDialogTowxPanel}, | |
2884 | { "_class_wxPanel","_class_wxColourDialog",SwigwxColourDialogTowxPanel}, | |
2885 | { "_class_wxPanel","_wxColourDialog",SwigwxColourDialogTowxPanel}, | |
2886 | { "_class_wxPanel","_wxPanel",0}, | |
2887 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
2888 | { "_wxComboBox","_class_wxComboBox",0}, | |
2889 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
2890 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
4120ef2b | 2891 | { "_signed_int","_wxCoord",0}, |
2d091820 RD |
2892 | { "_signed_int","_wxPrintQuality",0}, |
2893 | { "_signed_int","_EBool",0}, | |
2894 | { "_signed_int","_wxWindowID",0}, | |
2895 | { "_signed_int","_int",0}, | |
2896 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
2897 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
4120ef2b | 2898 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
2d091820 RD |
2899 | { "_wxMenu","_class_wxMenu",0}, |
2900 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
2901 | { "_wxListBox","_class_wxListBox",0}, | |
2902 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
2903 | { "_WXTYPE","_short",0}, | |
2904 | { "_WXTYPE","_signed_short",0}, | |
2905 | { "_WXTYPE","_unsigned_short",0}, | |
2906 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
4120ef2b | 2907 | { "_class_wxDropTarget","_wxDropTarget",0}, |
2d091820 RD |
2908 | { "_class_wxBrush","_wxBrush",0}, |
2909 | { "_unsigned_short","_WXTYPE",0}, | |
2910 | { "_unsigned_short","_short",0}, | |
2911 | { "_class_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow}, | |
2912 | { "_class_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow}, | |
2913 | { "_class_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow}, | |
2914 | { "_class_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow}, | |
2915 | { "_class_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow}, | |
2916 | { "_class_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow}, | |
2917 | { "_class_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow}, | |
2918 | { "_class_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow}, | |
2919 | { "_class_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow}, | |
2920 | { "_class_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow}, | |
2921 | { "_class_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow}, | |
2922 | { "_class_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow}, | |
2923 | { "_class_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow}, | |
2924 | { "_class_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow}, | |
2925 | { "_class_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow}, | |
2926 | { "_class_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow}, | |
2927 | { "_class_wxWindow","_wxWindow",0}, | |
2928 | { "_class_wxStaticText","_wxStaticText",0}, | |
2929 | { "_class_wxFont","_wxFont",0}, | |
4120ef2b | 2930 | { "_wxClipboard","_class_wxClipboard",0}, |
37f6a977 | 2931 | { "_class_wxPyValidator","_wxPyValidator",0}, |
2d091820 | 2932 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
4120ef2b | 2933 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
2d091820 | 2934 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
167b96c2 | 2935 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
4120ef2b | 2936 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
2d091820 RD |
2937 | { "_wxClientDC","_class_wxClientDC",0}, |
2938 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
2939 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
2940 | { "_class_wxPoint","_wxPoint",0}, | |
2941 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
2942 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2943 | { "_signed_short","_WXTYPE",0}, | |
2944 | { "_signed_short","_short",0}, | |
2945 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
4120ef2b | 2946 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
2d091820 RD |
2947 | { "_wxPaintDC","_class_wxPaintDC",0}, |
2948 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
2949 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
2950 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
2951 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
2952 | { "_class_wxToolBarTool","_wxToolBarTool",0}, | |
2953 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
2954 | { "_class_wxCursor","_wxCursor",0}, | |
2955 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
4120ef2b | 2956 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
2d091820 RD |
2957 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
2958 | { "_unsigned_char","_byte",0}, | |
2959 | { "_class_wxMenu","_wxMenu",0}, | |
2960 | { "_wxControl","_class_wxControl",0}, | |
2961 | { "_class_wxListBox","_wxListBox",0}, | |
4120ef2b | 2962 | { "_unsigned_int","_wxCoord",0}, |
2d091820 RD |
2963 | { "_unsigned_int","_wxPrintQuality",0}, |
2964 | { "_unsigned_int","_size_t",0}, | |
2965 | { "_unsigned_int","_uint",0}, | |
2966 | { "_unsigned_int","_wxWindowID",0}, | |
2967 | { "_unsigned_int","_int",0}, | |
2968 | { "_wxIcon","_class_wxIcon",0}, | |
2969 | { "_wxDialog","_class_wxMessageDialog",SwigwxMessageDialogTowxDialog}, | |
2970 | { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog}, | |
2971 | { "_wxDialog","_class_wxFontDialog",SwigwxFontDialogTowxDialog}, | |
2972 | { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog}, | |
2973 | { "_wxDialog","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog}, | |
2974 | { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog}, | |
2975 | { "_wxDialog","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog}, | |
2976 | { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog}, | |
2977 | { "_wxDialog","_class_wxFileDialog",SwigwxFileDialogTowxDialog}, | |
2978 | { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog}, | |
2979 | { "_wxDialog","_class_wxDirDialog",SwigwxDirDialogTowxDialog}, | |
2980 | { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog}, | |
2981 | { "_wxDialog","_class_wxColourDialog",SwigwxColourDialogTowxDialog}, | |
2982 | { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog}, | |
2983 | { "_wxDialog","_class_wxDialog",0}, | |
2984 | { "_class_wxPen","_wxPen",0}, | |
2985 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
2986 | { "_short","_WXTYPE",0}, | |
2987 | { "_short","_unsigned_short",0}, | |
2988 | { "_short","_signed_short",0}, | |
2989 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
4120ef2b RD |
2990 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
2991 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
2d091820 RD |
2992 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
2993 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
2994 | { "_class_wxChoice","_wxChoice",0}, | |
2995 | { "_class_wxSlider","_wxSlider",0}, | |
2996 | { "_class_wxImageList","_wxImageList",0}, | |
2997 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
2998 | { "_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame}, | |
2999 | { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame}, | |
3000 | { "_wxFrame","_class_wxFrame",0}, | |
167b96c2 | 3001 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
4120ef2b | 3002 | { "_wxWindowID","_wxCoord",0}, |
2d091820 RD |
3003 | { "_wxWindowID","_wxPrintQuality",0}, |
3004 | { "_wxWindowID","_size_t",0}, | |
3005 | { "_wxWindowID","_EBool",0}, | |
3006 | { "_wxWindowID","_uint",0}, | |
3007 | { "_wxWindowID","_int",0}, | |
3008 | { "_wxWindowID","_signed_int",0}, | |
3009 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 3010 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
4120ef2b | 3011 | { "_int","_wxCoord",0}, |
2d091820 RD |
3012 | { "_int","_wxPrintQuality",0}, |
3013 | { "_int","_size_t",0}, | |
3014 | { "_int","_EBool",0}, | |
3015 | { "_int","_uint",0}, | |
3016 | { "_int","_wxWindowID",0}, | |
3017 | { "_int","_unsigned_int",0}, | |
3018 | { "_int","_signed_int",0}, | |
3019 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
37f6a977 | 3020 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
2d091820 | 3021 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
167b96c2 RD |
3022 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
3023 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
2d091820 RD |
3024 | { "_wxButton","_class_wxButton",0}, |
3025 | { "_wxSize","_class_wxSize",0}, | |
3026 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
4120ef2b | 3027 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
2d091820 RD |
3028 | { "_class_wxPaintDC","_wxPaintDC",0}, |
3029 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
4120ef2b | 3030 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
2d091820 RD |
3031 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
3032 | { "_class_wxComboBox","_wxComboBox",0}, | |
3033 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
37f6a977 | 3034 | { "_wxValidator","_class_wxValidator",0}, |
2d091820 RD |
3035 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
3036 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
3037 | { "_class_wxControl","_wxControl",0}, | |
3038 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
3039 | { "_class_wxIcon","_wxIcon",0}, | |
3040 | { "_class_wxColour","_wxColour",0}, | |
3041 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
3042 | { "_wxPalette","_class_wxPalette",0}, | |
3043 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
4120ef2b RD |
3044 | { "_wxCoord","_int",0}, |
3045 | { "_wxCoord","_signed_int",0}, | |
3046 | { "_wxCoord","_unsigned_int",0}, | |
3047 | { "_wxCoord","_wxWindowID",0}, | |
3048 | { "_wxCoord","_uint",0}, | |
3049 | { "_wxCoord","_EBool",0}, | |
3050 | { "_wxCoord","_size_t",0}, | |
3051 | { "_wxCoord","_wxPrintQuality",0}, | |
2d091820 | 3052 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
4120ef2b | 3053 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
2d091820 RD |
3054 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
3055 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
3056 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
3057 | { "_wxRegion","_class_wxRegion",0}, | |
3058 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
4120ef2b | 3059 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
2d091820 RD |
3060 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
3061 | { "_wxGauge","_class_wxGauge",0}, | |
3062 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
4120ef2b | 3063 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
2d091820 RD |
3064 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
3065 | { "_class_wxClientDC","_wxClientDC",0}, | |
3066 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
4120ef2b | 3067 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
2d091820 RD |
3068 | { "_class_wxSize","_wxSize",0}, |
3069 | { "_class_wxBitmap","_wxBitmap",0}, | |
3070 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
4120ef2b | 3071 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
2d091820 RD |
3072 | { "_wxMenuBar","_class_wxMenuBar",0}, |
3073 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
3074 | { "_wxEvtHandler","_class_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler}, | |
3075 | { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler}, | |
3076 | { "_wxEvtHandler","_class_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler}, | |
3077 | { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler}, | |
3078 | { "_wxEvtHandler","_class_wxFontDialog",SwigwxFontDialogTowxEvtHandler}, | |
3079 | { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler}, | |
3080 | { "_wxEvtHandler","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler}, | |
3081 | { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler}, | |
3082 | { "_wxEvtHandler","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler}, | |
3083 | { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler}, | |
3084 | { "_wxEvtHandler","_class_wxFileDialog",SwigwxFileDialogTowxEvtHandler}, | |
3085 | { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler}, | |
3086 | { "_wxEvtHandler","_class_wxDirDialog",SwigwxDirDialogTowxEvtHandler}, | |
3087 | { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler}, | |
3088 | { "_wxEvtHandler","_class_wxColourDialog",SwigwxColourDialogTowxEvtHandler}, | |
3089 | { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler}, | |
3090 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
3091 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
3092 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
3093 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
56f5d962 | 3094 | { "_wxDash","_char",0}, |
2d091820 RD |
3095 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
3096 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
3097 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
3098 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
3099 | { "_wxColourData","_class_wxColourData",0}, | |
3100 | { "_class_wxPalette","_wxPalette",0}, | |
4120ef2b | 3101 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
2d091820 | 3102 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
4120ef2b | 3103 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
2d091820 RD |
3104 | { "_class_wxFontDialog","_wxFontDialog",0}, |
3105 | { "_wxWindow","_class_wxProgressDialog",SwigwxProgressDialogTowxWindow}, | |
3106 | { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow}, | |
3107 | { "_wxWindow","_class_wxMessageDialog",SwigwxMessageDialogTowxWindow}, | |
3108 | { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow}, | |
3109 | { "_wxWindow","_class_wxFontDialog",SwigwxFontDialogTowxWindow}, | |
3110 | { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow}, | |
3111 | { "_wxWindow","_class_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow}, | |
3112 | { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow}, | |
3113 | { "_wxWindow","_class_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow}, | |
3114 | { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow}, | |
3115 | { "_wxWindow","_class_wxFileDialog",SwigwxFileDialogTowxWindow}, | |
3116 | { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow}, | |
3117 | { "_wxWindow","_class_wxDirDialog",SwigwxDirDialogTowxWindow}, | |
3118 | { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow}, | |
3119 | { "_wxWindow","_class_wxColourDialog",SwigwxColourDialogTowxWindow}, | |
3120 | { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow}, | |
3121 | { "_wxWindow","_class_wxWindow",0}, | |
167b96c2 | 3122 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
2d091820 RD |
3123 | { "_class_wxFrame","_class_wxProgressDialog",SwigwxProgressDialogTowxFrame}, |
3124 | { "_class_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame}, | |
3125 | { "_class_wxFrame","_wxFrame",0}, | |
3126 | {0,0,0}}; | |
3127 | ||
70551f47 RD |
3128 | static PyObject *SWIG_globals; |
3129 | #ifdef __cplusplus | |
3130 | extern "C" | |
3131 | #endif | |
2d091820 | 3132 | SWIGEXPORT(void) initcmndlgsc() { |
70551f47 RD |
3133 | PyObject *m, *d; |
3134 | SWIG_globals = SWIG_newvarlink(); | |
3135 | m = Py_InitModule("cmndlgsc", cmndlgscMethods); | |
3136 | d = PyModule_GetDict(m); | |
2d091820 RD |
3137 | { |
3138 | int i; | |
3139 | for (i = 0; _swig_mapping[i].n1; i++) | |
3140 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
3141 | } | |
70551f47 | 3142 | } |