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