]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
reSWIGed
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxIconBundle swig_types[9]
221 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226 #define SWIGTYPE_p_wxRegion swig_types[15]
227 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228 #define SWIGTYPE_p_int swig_types[17]
229 #define SWIGTYPE_p_wxSize swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxIcon swig_types[20]
232 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
234 #define SWIGTYPE_p_wxColourData swig_types[23]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
236 #define SWIGTYPE_p_wxPyWindow swig_types[25]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxFileDialog swig_types[33]
245 #define SWIGTYPE_p_wxPrinter swig_types[34]
246 #define SWIGTYPE_p_wxArrayInt swig_types[35]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
251 #define SWIGTYPE_p_wxRect swig_types[40]
252 #define SWIGTYPE_p_char swig_types[41]
253 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
254 #define SWIGTYPE_p_wxFrame swig_types[43]
255 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
256 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
257 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
258 #define SWIGTYPE_p_wxStatusBar swig_types[47]
259 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
260 #define SWIGTYPE_p_wxPoint swig_types[49]
261 #define SWIGTYPE_p_wxObject swig_types[50]
262 #define SWIGTYPE_p_wxOutputStream swig_types[51]
263 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
267 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
269 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
278 #define SWIGTYPE_p_wxSashEvent swig_types[67]
279 #define SWIGTYPE_p_wxString swig_types[68]
280 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
281 #define SWIGTYPE_p_wxFontDialog swig_types[70]
282 #define SWIGTYPE_p_wxDirDialog swig_types[71]
283 #define SWIGTYPE_p_wxColourDialog swig_types[72]
284 #define SWIGTYPE_p_wxDialog swig_types[73]
285 #define SWIGTYPE_p_wxPanel swig_types[74]
286 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
287 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
288 #define SWIGTYPE_p_wxFileSystem swig_types[77]
289 #define SWIGTYPE_p_wxBitmap swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
292 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxColour swig_types[82]
294 #define SWIGTYPE_p_wxToolBar swig_types[83]
295 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
296 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
297 static swig_type_info *swig_types[87];
298
299 /* -------- TYPES TABLE (END) -------- */
300
301
302 /*-----------------------------------------------
303 @(target):= _windows_.so
304 ------------------------------------------------*/
305 #define SWIG_init init_windows_
306
307 #define SWIG_name "_windows_"
308
309 /* Auxiliar swig macros that appear in the header */
310
311 #define SWIG_OLDOBJ 1
312 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313 #define SWIG_PYSTR SWIG_NEWOBJ + 1
314
315 #ifdef __cplusplus
316 #define SWIGSTATICINLINE(a) static inline a
317 #define SWIGSTATIC(a) static a
318 #define swig_new_array(size,Type) (new Type[(size)])
319 #define swig_delete(cptr) delete cptr
320 #define swig_delete_array(cptr) delete[] cptr
321 #define swig_const_cast(a,Type) const_cast<Type >(a)
322 #define swig_static_cast(a,Type) static_cast<Type >(a)
323 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324 #define swig_new_copy(ptr,Type) (new Type(*ptr))
325 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
326
327 #else /* C case */
328
329 #define SWIGSTATICINLINE(a) static a
330 #define SWIGSTATIC(a) static a
331 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332 #define swig_delete(cptr) free((char*)cptr)
333 #define swig_delete_array(cptr) free((char*)cptr)
334 #define swig_const_cast(a,Type) (Type)(a)
335 #define swig_static_cast(a,Type) (Type)(a)
336 #define swig_reinterpret_cast(a,Type) (Type)(a)
337 #define swig_numeric_cast(a,Type) (Type)(a)
338 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
339
340 #endif /* __cplusplus */
341
342
343 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
345 /*@@*/
346 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
348 /*@@*/
349 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
351 /*@@*/
352 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
354 /*@@*/
355 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
357 /*@@*/
358 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
360 /*@@*/
361 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
363 /*@@*/
364 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
366 /*@@*/
367
368
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
371
372
373 static const wxString wxPyEmptyString(wxEmptyString);
374 static const wxString wxPyPanelNameStr(wxPanelNameStr);
375
376
377
378 #include <limits.h>
379
380
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value, long min_value, long max_value,
383 const char *errmsg)
384 {
385 if (value < min_value) {
386 if (errmsg) {
387 PyErr_Format(PyExc_OverflowError,
388 "value %ld is less than '%s' minimum %ld",
389 value, errmsg, min_value);
390 }
391 return 0;
392 } else if (value > max_value) {
393 if (errmsg) {
394 PyErr_Format(PyExc_OverflowError,
395 "value %ld is greater than '%s' maximum %ld",
396 value, errmsg, max_value);
397 }
398 return 0;
399 }
400 return 1;
401 }
402
403
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject* obj, long* val)
407 {
408 if (PyNumber_Check(obj)) {
409 if (val) *val = PyInt_AsLong(obj);
410 return 1;
411 }
412 else {
413 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
414 obj->ob_type->tp_name);
415 PyErr_SetObject(PyExc_TypeError, errmsg);
416 Py_DECREF(errmsg);
417 }
418 return 0;
419 }
420
421
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject *obj, int *val)
425 {
426 const char* errmsg = val ? "int" : 0;
427 long v;
428 if (SWIG_AsVal_long(obj, &v)) {
429 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
430 if (val) *val = swig_numeric_cast(v, int);
431 return 1;
432 } else {
433 return 0;
434 }
435 } else {
436 PyErr_Clear();
437 }
438 if (val) {
439 PyErr_SetString(PyExc_TypeError, "an int is expected");
440 }
441 return 0;
442 }
443 #else
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject *obj, int *val)
446 {
447 return SWIG_AsVal_long(obj,(long*)val);
448 }
449 #endif
450
451
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject* obj)
454 {
455 int v;
456 if (!SWIG_AsVal_int(obj, &v)) {
457 /*
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
460 with plain C ....
461 */
462 memset((void*)&v, 0, sizeof(int));
463 }
464 return v;
465 }
466
467
468 SWIGSTATICINLINE(long)
469 SWIG_As_long(PyObject* obj)
470 {
471 long v;
472 if (!SWIG_AsVal_long(obj, &v)) {
473 /*
474 this is needed to make valgrind/purify happier. the other
475 solution is throw an exception, but since this code should work
476 with plain C ....
477 */
478 memset((void*)&v, 0, sizeof(long));
479 }
480 return v;
481 }
482
483
484 SWIGSTATICINLINE(int)
485 SWIG_Check_int(PyObject* obj)
486 {
487 return SWIG_AsVal_int(obj, (int*)0);
488 }
489
490
491 SWIGSTATICINLINE(int)
492 SWIG_Check_long(PyObject* obj)
493 {
494 return SWIG_AsVal_long(obj, (long*)0);
495 }
496
497
498 SWIGSTATICINLINE(int)
499 SWIG_AsVal_bool(PyObject *obj, bool *val)
500 {
501 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
502 if (obj == Py_True) {
503 if (val) *val = true;
504 return 1;
505 }
506 if (obj == Py_False) {
507 if (val) *val = false;
508 return 1;
509 }
510 int res = 0;
511 if (SWIG_AsVal_int(obj, &res)) {
512 if (val) *val = (bool)res;
513 return 1;
514 }
515 if (val) {
516 PyErr_SetString(PyExc_TypeError, "a bool is expected");
517 }
518 return 0;
519 }
520
521
522 SWIGSTATICINLINE(bool)
523 SWIG_As_bool(PyObject* obj)
524 {
525 bool v;
526 if (!SWIG_AsVal_bool(obj, &v)) {
527 /*
528 this is needed to make valgrind/purify happier. the other
529 solution is throw an exception, but since this code should work
530 with plain C ....
531 */
532 memset((void*)&v, 0, sizeof(bool));
533 }
534 return v;
535 }
536
537
538 SWIGSTATICINLINE(int)
539 SWIG_Check_bool(PyObject* obj)
540 {
541 return SWIG_AsVal_bool(obj, (bool*)0);
542 }
543
544
545 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
546 PyObject* o2;
547 PyObject* o3;
548
549 if (!target) {
550 target = o;
551 } else if (target == Py_None) {
552 Py_DECREF(Py_None);
553 target = o;
554 } else {
555 o2 = target;
556 target = PyTuple_New(1);
557 PyTuple_SetItem(target, 0, o2);
558
559 o3 = PyTuple_New(1);
560 PyTuple_SetItem(o3, 0, o);
561
562 o2 = target;
563 target = PySequence_Concat(o2, o3);
564 Py_DECREF(o2);
565 Py_DECREF(o3);
566 }
567 return target;
568 }
569
570
571
572 // See my_fragments.i
573 SWIGSTATICINLINE(int)
574 SWIG_AsVal_double(PyObject *obj, double* val)
575 {
576 if (PyNumber_Check(obj)) {
577 if (val) *val = PyFloat_AsDouble(obj);
578 return 1;
579 }
580 else {
581 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
582 obj->ob_type->tp_name);
583 PyErr_SetObject(PyExc_TypeError, errmsg);
584 Py_DECREF(errmsg);
585 }
586 return 0;
587 }
588
589
590 SWIGSTATICINLINE(double)
591 SWIG_As_double(PyObject* obj)
592 {
593 double v;
594 if (!SWIG_AsVal_double(obj, &v)) {
595 /*
596 this is needed to make valgrind/purify happier. the other
597 solution is throw an exception, but since this code should work
598 with plain C ....
599 */
600 memset((void*)&v, 0, sizeof(double));
601 }
602 return v;
603 }
604
605
606 SWIGSTATICINLINE(int)
607 SWIG_Check_double(PyObject* obj)
608 {
609 return SWIG_AsVal_double(obj, (double*)0);
610 }
611
612 static const wxString wxPyFrameNameStr(wxFrameNameStr);
613 static const wxString wxPyDialogNameStr(wxDialogNameStr);
614 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
615 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
616
617
618 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
619 wxRect r;
620 self->GetFieldRect(i, r);
621 return r;
622 }
623 static const wxString wxPySplitterNameStr(wxT("splitter"));
624 static const wxString wxPySashNameStr(wxT("sashWindow"));
625 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
626
627 #include <wx/popupwin.h>
628
629
630 class wxPopupWindow : public wxWindow {
631 public:
632 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
633 wxPopupWindow() { wxPyRaiseNotImplemented(); }
634 };
635
636 class wxPyPopupTransientWindow : public wxPopupWindow
637 {
638 public:
639 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
640 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
641 };
642
643
644 #include <wx/tipwin.h>
645
646 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
647 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
648 }
649
650 #include <wx/tipwin.h>
651
652
653 #include <wx/vscroll.h>
654
655
656 class wxPyVScrolledWindow : public wxVScrolledWindow
657 {
658 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
659 public:
660 wxPyVScrolledWindow() : wxVScrolledWindow() {}
661
662 wxPyVScrolledWindow(wxWindow *parent,
663 wxWindowID id = wxID_ANY,
664 const wxPoint& pos = wxDefaultPosition,
665 const wxSize& size = wxDefaultSize,
666 long style = 0,
667 const wxString& name = wxPyPanelNameStr)
668 : wxVScrolledWindow(parent, id, pos, size, style, name)
669 {}
670
671 // Overridable virtuals
672
673 // this function must be overridden in the derived class and it should
674 // return the height of the given line in pixels
675 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
676
677
678 // this function doesn't have to be overridden but it may be useful to do
679 // it if calculating the lines heights is a relatively expensive operation
680 // as it gives the user code a possibility to calculate several of them at
681 // once
682 //
683 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
684 // shouldn't rely on the latter being called for all lines in the interval
685 // specified here. It is also possible that OnGetLineHeight() will be
686 // called for the lines outside of this interval, so this is really just a
687 // hint, not a promise.
688 //
689 // finally note that lineMin is inclusive, while lineMax is exclusive, as
690 // usual
691 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
692
693
694 // when the number of lines changes, we try to estimate the total height
695 // of all lines which is a rather expensive operation in terms of lines
696 // access, so if the user code may estimate the average height
697 // better/faster than we do, it should override this function to implement
698 // its own logic
699 //
700 // this function should return the best guess for the total height it may
701 // make
702 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
703
704
705 // Also expose some other interesting protected methods
706
707
708 // find the index of the line we need to show at the top of the window such
709 // that the last (fully or partially) visible line is the given one
710 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
711 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
712
713 // get the total height of the lines between lineMin (inclusive) and
714 // lineMax (exclusive)
715 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
716 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
717
718
719 PYPRIVATE;
720 };
721
722 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
723
724 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
725 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
726 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
727
728
729 // See my_fragments.i
730 SWIGSTATICINLINE(int)
731 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
732 {
733 long v = 0;
734 if (SWIG_AsVal_long(obj, &v) && v < 0) {
735 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
736 return 0;
737 }
738 else if (val)
739 *val = (unsigned long)v;
740 return 1;
741 }
742
743
744 SWIGSTATICINLINE(unsigned long)
745 SWIG_As_unsigned_SS_long(PyObject* obj)
746 {
747 unsigned long v;
748 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
749 /*
750 this is needed to make valgrind/purify happier. the other
751 solution is throw an exception, but since this code should work
752 with plain C ....
753 */
754 memset((void*)&v, 0, sizeof(unsigned long));
755 }
756 return v;
757 }
758
759
760 SWIGSTATICINLINE(int)
761 SWIG_Check_unsigned_SS_long(PyObject* obj)
762 {
763 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
764 }
765
766
767 SWIGSTATICINLINE(PyObject* )
768 SWIG_From_unsigned_SS_long(unsigned long value)
769 {
770 return (value > LONG_MAX) ?
771 PyLong_FromUnsignedLong(value)
772 : PyInt_FromLong(swig_numeric_cast(value,long));
773 }
774
775
776 #include <wx/vlbox.h>
777
778 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
779
780 class wxPyVListBox : public wxVListBox
781 {
782 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
783 public:
784 wxPyVListBox() : wxVListBox() {}
785
786 wxPyVListBox(wxWindow *parent,
787 wxWindowID id = wxID_ANY,
788 const wxPoint& pos = wxDefaultPosition,
789 const wxSize& size = wxDefaultSize,
790 long style = 0,
791 const wxString& name = wxPyVListBoxNameStr)
792 : wxVListBox(parent, id, pos, size, style, name)
793 {}
794
795 // Overridable virtuals
796
797 // the derived class must implement this function to actually draw the item
798 // with the given index on the provided DC
799 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
800 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
801
802
803 // the derived class must implement this method to return the height of the
804 // specified item
805 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
806 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
807
808
809 // this method may be used to draw separators between the lines; note that
810 // the rectangle may be modified, typically to deflate it a bit before
811 // passing to OnDrawItem()
812 //
813 // the base class version doesn't do anything
814 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
815 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
816
817
818 // this method is used to draw the items background and, maybe, a border
819 // around it
820 //
821 // the base class version implements a reasonable default behaviour which
822 // consists in drawing the selected item with the standard background
823 // colour and drawing a border around the item if it is either selected or
824 // current
825 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
826 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
827
828
829 PYPRIVATE;
830 };
831
832 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
833
834 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
835 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
836 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
837 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
838
839
840 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
841 unsigned long cookie = 0;
842 int selected = self->GetFirstSelected(cookie);
843 bool blocked = wxPyBeginBlockThreads();
844 PyObject* tup = PyTuple_New(2);
845 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
846 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
847 wxPyEndBlockThreads(blocked);
848 return tup;
849 }
850 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
851 int selected = self->GetNextSelected(cookie);
852 bool blocked = wxPyBeginBlockThreads();
853 PyObject* tup = PyTuple_New(2);
854 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
855 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
856 wxPyEndBlockThreads(blocked);
857 return tup;
858 }
859
860 #include <wx/htmllbox.h>
861
862
863 class wxPyHtmlListBox : public wxHtmlListBox
864 {
865 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
866 public:
867 wxPyHtmlListBox() : wxHtmlListBox() {}
868
869 wxPyHtmlListBox(wxWindow *parent,
870 wxWindowID id = wxID_ANY,
871 const wxPoint& pos = wxDefaultPosition,
872 const wxSize& size = wxDefaultSize,
873 long style = 0,
874 const wxString& name = wxPyVListBoxNameStr)
875 : wxHtmlListBox(parent, id, pos, size, style, name)
876 {}
877
878 // Overridable virtuals
879
880 // this method must be implemented in the derived class and should return
881 // the body (i.e. without <html>) of the HTML for the given item
882 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
883
884 // this function may be overridden to decorate HTML returned by OnGetItem()
885 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
886
887 // TODO:
888 // // this method allows to customize the selection appearance: it may be used
889 // // to specify the colour of the text which normally has the given colour
890 // // colFg when it is inside the selection
891 // //
892 // // by default, the original colour is not used at all and all text has the
893 // // same (default for this system) colour inside selection
894 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
895
896 // // this is the same as GetSelectedTextColour() but allows to customize the
897 // // background colour -- this is even more rarely used as you can change it
898 // // globally using SetSelectionBackground()
899 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
900
901
902 PYPRIVATE;
903 };
904
905
906 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
907
908 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
909 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
910
911
912
913
914
915 #ifdef __WXMAC__
916 // implement dummy classes and such for wxMac
917
918 class wxTaskBarIcon : public wxEvtHandler
919 {
920 public:
921 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
922 };
923
924
925 class wxTaskBarIconEvent : public wxEvent
926 {
927 public:
928 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
929 { wxPyRaiseNotImplemented(); }
930 virtual wxEvent* Clone() const { return NULL; }
931 };
932
933 enum {
934 wxEVT_TASKBAR_MOVE = 0,
935 wxEVT_TASKBAR_LEFT_DOWN = 0,
936 wxEVT_TASKBAR_LEFT_UP = 0,
937 wxEVT_TASKBAR_RIGHT_DOWN = 0,
938 wxEVT_TASKBAR_RIGHT_UP = 0,
939 wxEVT_TASKBAR_LEFT_DCLICK = 0,
940 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
941 };
942
943
944 #else
945 // // Otherwise make a class that can virtualize CreatePopupMenu
946 // class wxPyTaskBarIcon : public wxTaskBarIcon
947 // {
948 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
949 // public:
950 // wxPyTaskBarIcon() : wxTaskBarIcon()
951 // {}
952
953 // wxMenu* CreatePopupMenu() {
954 // wxMenu *rval = NULL;
955 // bool found;
956 // bool blocked = wxPyBeginBlockThreads();
957 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
958 // PyObject* ro;
959 // wxMenu* ptr;
960 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
961 // if (ro) {
962 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
963 // rval = ptr;
964 // Py_DECREF(ro);
965 // }
966 // }
967 // wxPyEndBlockThreads(blocked);
968 // if (! found)
969 // rval = wxTaskBarIcon::CreatePopupMenu();
970 // return rval;
971 // }
972
973 // PYPRIVATE;
974 // };
975
976 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
977
978 #endif
979
980 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
981
982
983
984 }
985 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
986 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
987 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
988 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
989 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
990 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
991 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
992 wxArrayString arr;
993 self->GetFilenames(arr);
994 return wxArrayString2PyList_helper(arr);
995 }
996 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
997 wxArrayString arr;
998 self->GetPaths(arr);
999 return wxArrayString2PyList_helper(arr);
1000 }
1001 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1002 return wxArrayInt2PyList_helper(self->GetSelections());
1003 }
1004 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1005 return new wxSingleChoiceDialog(parent, message, caption,
1006 choices, choices_array, NULL, style, pos);
1007 }
1008
1009 #include <wx/mdi.h>
1010
1011 // C++ version of Python aware wxWindow
1012 class wxPyWindow : public wxWindow
1013 {
1014 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1015 public:
1016 wxPyWindow() : wxWindow() {}
1017 wxPyWindow(wxWindow* parent, const wxWindowID id,
1018 const wxPoint& pos = wxDefaultPosition,
1019 const wxSize& size = wxDefaultSize,
1020 long style = 0,
1021 const wxString& name = wxPyPanelNameStr)
1022 : wxWindow(parent, id, pos, size, style, name) {}
1023
1024 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1025
1026 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1027 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1028 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1029 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1030
1031 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1032 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1033 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1034
1035 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1036 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1037
1038 DEC_PYCALLBACK__(InitDialog);
1039 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1040 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1041 DEC_PYCALLBACK_BOOL_(Validate);
1042
1043 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1044 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1045 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1046
1047 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1048 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1049
1050 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1051 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1052 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1053
1054 PYPRIVATE;
1055 };
1056
1057 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1058
1059 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1060 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1061 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1062 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1063
1064 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1065 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1066 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1067
1068 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1069 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1070
1071 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1072 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1073 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1074 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1075
1076 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1077 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1078 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1079
1080 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1081 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1082
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1084 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1085 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1086
1087
1088 // C++ version of Python aware wxPanel
1089 class wxPyPanel : public wxPanel
1090 {
1091 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1092 public:
1093 wxPyPanel() : wxPanel() {}
1094 wxPyPanel(wxWindow* parent, const wxWindowID id,
1095 const wxPoint& pos = wxDefaultPosition,
1096 const wxSize& size = wxDefaultSize,
1097 long style = 0,
1098 const wxString& name = wxPyPanelNameStr)
1099 : wxPanel(parent, id, pos, size, style, name) {}
1100
1101 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1102
1103
1104 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1105 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1106 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1107 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1108
1109 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1110 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1111 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1112
1113 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1114 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1115
1116 DEC_PYCALLBACK__(InitDialog);
1117 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1118 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1119 DEC_PYCALLBACK_BOOL_(Validate);
1120
1121 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1122 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1123 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1124
1125 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1126 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1127
1128 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1129 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1130 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1131
1132 PYPRIVATE;
1133 };
1134
1135 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1136
1137 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1138 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1139 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1140 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1141
1142 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1143 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1144 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1145
1146 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1147 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1148
1149 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1150 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1151 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1152 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1153
1154 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1155 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1156 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1157
1158 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1159 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1160
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1162 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1163 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1164
1165
1166 // C++ version of Python aware wxScrolledWindow
1167 class wxPyScrolledWindow : public wxScrolledWindow
1168 {
1169 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1170 public:
1171 wxPyScrolledWindow() : wxScrolledWindow() {}
1172 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1173 const wxPoint& pos = wxDefaultPosition,
1174 const wxSize& size = wxDefaultSize,
1175 long style = 0,
1176 const wxString& name = wxPyPanelNameStr)
1177 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1178
1179 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1180
1181 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1182 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1183 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1184 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1185
1186 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1189
1190 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1191 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1192
1193 DEC_PYCALLBACK__(InitDialog);
1194 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1195 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1196 DEC_PYCALLBACK_BOOL_(Validate);
1197
1198 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1199 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1200 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1201
1202 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1203 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1204
1205 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1206 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1207 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1208
1209 PYPRIVATE;
1210 };
1211
1212 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1213
1214 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1215 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1216 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1217 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1218
1219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1222
1223 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1224 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1225
1226 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1227 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1228 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1229 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1230
1231 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1232 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1233 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1234
1235 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1237
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1239 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1240 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1241
1242
1243
1244 #include "wx/wxPython/printfw.h"
1245
1246
1247 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1248 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1249
1250
1251
1252 // Since this one would be tough and ugly to do with the Macros...
1253 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1254 bool hadErr = False;
1255 bool found;
1256
1257 bool blocked = wxPyBeginBlockThreads();
1258 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1259 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1260 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1261 PyObject* val;
1262
1263 val = PyTuple_GetItem(result, 0);
1264 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1265 else hadErr = True;
1266
1267 val = PyTuple_GetItem(result, 1);
1268 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1269 else hadErr = True;
1270
1271 val = PyTuple_GetItem(result, 2);
1272 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1273 else hadErr = True;
1274
1275 val = PyTuple_GetItem(result, 3);
1276 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1277 else hadErr = True;
1278 }
1279 else
1280 hadErr = True;
1281
1282 if (hadErr) {
1283 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1284 PyErr_Print();
1285 }
1286 Py_DECREF(result);
1287 }
1288 wxPyEndBlockThreads(blocked);
1289 if (! found)
1290 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1291 }
1292
1293 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1294 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1295 }
1296
1297
1298 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1299 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1300 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1301 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1302 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1303 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1304 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1305
1306
1307
1308
1309
1310 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1311 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1312 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1313
1314
1315 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1316 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1317 bool rval=False; \
1318 bool found; \
1319 bool blocked = wxPyBeginBlockThreads(); \
1320 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1321 PyObject* win = wxPyMake_wxObject(a,false); \
1322 PyObject* dc = wxPyMake_wxObject(&b,false); \
1323 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1324 Py_DECREF(win); \
1325 Py_DECREF(dc); \
1326 } \
1327 wxPyEndBlockThreads(blocked); \
1328 if (! found) \
1329 rval = PCLASS::CBNAME(a, b); \
1330 return rval; \
1331 } \
1332 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1333 return PCLASS::CBNAME(a, b); \
1334 }
1335
1336
1337
1338
1339 class wxPyPrintPreview : public wxPrintPreview
1340 {
1341 DECLARE_CLASS(wxPyPrintPreview)
1342 public:
1343 wxPyPrintPreview(wxPyPrintout* printout,
1344 wxPyPrintout* printoutForPrinting,
1345 wxPrintDialogData* data=NULL)
1346 : wxPrintPreview(printout, printoutForPrinting, data)
1347 {}
1348 wxPyPrintPreview(wxPyPrintout* printout,
1349 wxPyPrintout* printoutForPrinting,
1350 wxPrintData* data=NULL)
1351 : wxPrintPreview(printout, printoutForPrinting, data)
1352 {}
1353
1354 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1355 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1356 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1357 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1358 DEC_PYCALLBACK_VOID_INT(SetZoom);
1359 DEC_PYCALLBACK_BOOL_BOOL(Print);
1360 DEC_PYCALLBACK_VOID_(DetermineScaling);
1361
1362 PYPRIVATE;
1363 };
1364
1365 // Stupid renamed classes... Fix this in 2.5...
1366 #if defined(__WXMSW__)
1367 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1368 #elif defined(__WXMAC__)
1369 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1370 #else
1371 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1372 #endif
1373
1374 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1375 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1376 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1377 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1378 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1379 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1380 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1381
1382
1383 class wxPyPreviewFrame : public wxPreviewFrame
1384 {
1385 DECLARE_CLASS(wxPyPreviewFrame);
1386 public:
1387 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1388 const wxString& title,
1389 const wxPoint& pos = wxDefaultPosition,
1390 const wxSize& size = wxDefaultSize,
1391 long style = wxDEFAULT_FRAME_STYLE,
1392 const wxString& name = wxPyFrameNameStr)
1393 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1394 {}
1395
1396 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1397 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1398
1399 DEC_PYCALLBACK_VOID_(Initialize);
1400 DEC_PYCALLBACK_VOID_(CreateCanvas);
1401 DEC_PYCALLBACK_VOID_(CreateControlBar);
1402
1403 PYPRIVATE;
1404 };
1405
1406 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1407
1408 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1409 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1410 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1411
1412
1413 class wxPyPreviewControlBar : public wxPreviewControlBar
1414 {
1415 DECLARE_CLASS(wxPyPreviewControlBar);
1416 public:
1417 wxPyPreviewControlBar(wxPrintPreview *preview,
1418 long buttons,
1419 wxWindow *parent,
1420 const wxPoint& pos = wxDefaultPosition,
1421 const wxSize& size = wxDefaultSize,
1422 long style = 0,
1423 const wxString& name = wxPyPanelNameStr)
1424 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1425 {}
1426
1427 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1428
1429 DEC_PYCALLBACK_VOID_(CreateButtons);
1430 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1431
1432 PYPRIVATE;
1433 };
1434
1435 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1436 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1437 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1438
1439 #ifdef __cplusplus
1440 extern "C" {
1441 #endif
1442 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1443 PyObject *resultobj;
1444 wxWindow *arg1 = (wxWindow *) 0 ;
1445 int arg2 = (int) (int)-1 ;
1446 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1447 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1448 wxSize const &arg4_defvalue = wxDefaultSize ;
1449 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1450 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1451 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1452 wxString *arg6 = (wxString *) &arg6_defvalue ;
1453 wxPanel *result;
1454 wxPoint temp3 ;
1455 wxSize temp4 ;
1456 bool temp6 = False ;
1457 PyObject * obj0 = 0 ;
1458 PyObject * obj1 = 0 ;
1459 PyObject * obj2 = 0 ;
1460 PyObject * obj3 = 0 ;
1461 PyObject * obj4 = 0 ;
1462 PyObject * obj5 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1465 };
1466
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1470 if (obj1) {
1471 arg2 = (int)SWIG_As_int(obj1);
1472 if (PyErr_Occurred()) SWIG_fail;
1473 }
1474 if (obj2) {
1475 {
1476 arg3 = &temp3;
1477 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1478 }
1479 }
1480 if (obj3) {
1481 {
1482 arg4 = &temp4;
1483 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1484 }
1485 }
1486 if (obj4) {
1487 arg5 = (long)SWIG_As_long(obj4);
1488 if (PyErr_Occurred()) SWIG_fail;
1489 }
1490 if (obj5) {
1491 {
1492 arg6 = wxString_in_helper(obj5);
1493 if (arg6 == NULL) SWIG_fail;
1494 temp6 = True;
1495 }
1496 }
1497 {
1498 if (!wxPyCheckForApp()) SWIG_fail;
1499 PyThreadState* __tstate = wxPyBeginAllowThreads();
1500 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1501
1502 wxPyEndAllowThreads(__tstate);
1503 if (PyErr_Occurred()) SWIG_fail;
1504 }
1505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1506 {
1507 if (temp6)
1508 delete arg6;
1509 }
1510 return resultobj;
1511 fail:
1512 {
1513 if (temp6)
1514 delete arg6;
1515 }
1516 return NULL;
1517 }
1518
1519
1520 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1521 PyObject *resultobj;
1522 wxPanel *result;
1523 char *kwnames[] = {
1524 NULL
1525 };
1526
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1528 {
1529 if (!wxPyCheckForApp()) SWIG_fail;
1530 PyThreadState* __tstate = wxPyBeginAllowThreads();
1531 result = (wxPanel *)new wxPanel();
1532
1533 wxPyEndAllowThreads(__tstate);
1534 if (PyErr_Occurred()) SWIG_fail;
1535 }
1536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1537 return resultobj;
1538 fail:
1539 return NULL;
1540 }
1541
1542
1543 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1544 PyObject *resultobj;
1545 wxPanel *arg1 = (wxPanel *) 0 ;
1546 wxWindow *arg2 = (wxWindow *) 0 ;
1547 int arg3 = (int) (int)-1 ;
1548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1550 wxSize const &arg5_defvalue = wxDefaultSize ;
1551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1552 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1553 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1554 wxString *arg7 = (wxString *) &arg7_defvalue ;
1555 bool result;
1556 wxPoint temp4 ;
1557 wxSize temp5 ;
1558 bool temp7 = False ;
1559 PyObject * obj0 = 0 ;
1560 PyObject * obj1 = 0 ;
1561 PyObject * obj2 = 0 ;
1562 PyObject * obj3 = 0 ;
1563 PyObject * obj4 = 0 ;
1564 PyObject * obj5 = 0 ;
1565 PyObject * obj6 = 0 ;
1566 char *kwnames[] = {
1567 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1568 };
1569
1570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1573 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1575 if (obj2) {
1576 arg3 = (int)SWIG_As_int(obj2);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 if (obj3) {
1580 {
1581 arg4 = &temp4;
1582 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1583 }
1584 }
1585 if (obj4) {
1586 {
1587 arg5 = &temp5;
1588 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1589 }
1590 }
1591 if (obj5) {
1592 arg6 = (long)SWIG_As_long(obj5);
1593 if (PyErr_Occurred()) SWIG_fail;
1594 }
1595 if (obj6) {
1596 {
1597 arg7 = wxString_in_helper(obj6);
1598 if (arg7 == NULL) SWIG_fail;
1599 temp7 = True;
1600 }
1601 }
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 {
1610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1611 }
1612 {
1613 if (temp7)
1614 delete arg7;
1615 }
1616 return resultobj;
1617 fail:
1618 {
1619 if (temp7)
1620 delete arg7;
1621 }
1622 return NULL;
1623 }
1624
1625
1626 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1627 PyObject *resultobj;
1628 wxPanel *arg1 = (wxPanel *) 0 ;
1629 PyObject * obj0 = 0 ;
1630 char *kwnames[] = {
1631 (char *) "self", NULL
1632 };
1633
1634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1637 {
1638 PyThreadState* __tstate = wxPyBeginAllowThreads();
1639 (arg1)->InitDialog();
1640
1641 wxPyEndAllowThreads(__tstate);
1642 if (PyErr_Occurred()) SWIG_fail;
1643 }
1644 Py_INCREF(Py_None); resultobj = Py_None;
1645 return resultobj;
1646 fail:
1647 return NULL;
1648 }
1649
1650
1651 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1652 PyObject *resultobj;
1653 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1654 wxVisualAttributes result;
1655 PyObject * obj0 = 0 ;
1656 char *kwnames[] = {
1657 (char *) "variant", NULL
1658 };
1659
1660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1661 if (obj0) {
1662 arg1 = (int)SWIG_As_int(obj0);
1663 if (PyErr_Occurred()) SWIG_fail;
1664 }
1665 {
1666 if (!wxPyCheckForApp()) SWIG_fail;
1667 PyThreadState* __tstate = wxPyBeginAllowThreads();
1668 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1669
1670 wxPyEndAllowThreads(__tstate);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 {
1674 wxVisualAttributes * resultptr;
1675 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1677 }
1678 return resultobj;
1679 fail:
1680 return NULL;
1681 }
1682
1683
1684 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1685 PyObject *obj;
1686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1687 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1688 Py_INCREF(obj);
1689 return Py_BuildValue((char *)"");
1690 }
1691 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1692 PyObject *resultobj;
1693 wxWindow *arg1 = (wxWindow *) 0 ;
1694 int arg2 = (int) (int)-1 ;
1695 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1696 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1697 wxSize const &arg4_defvalue = wxDefaultSize ;
1698 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1699 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1700 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1701 wxString *arg6 = (wxString *) &arg6_defvalue ;
1702 wxScrolledWindow *result;
1703 wxPoint temp3 ;
1704 wxSize temp4 ;
1705 bool temp6 = False ;
1706 PyObject * obj0 = 0 ;
1707 PyObject * obj1 = 0 ;
1708 PyObject * obj2 = 0 ;
1709 PyObject * obj3 = 0 ;
1710 PyObject * obj4 = 0 ;
1711 PyObject * obj5 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1719 if (obj1) {
1720 arg2 = (int)SWIG_As_int(obj1);
1721 if (PyErr_Occurred()) SWIG_fail;
1722 }
1723 if (obj2) {
1724 {
1725 arg3 = &temp3;
1726 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1727 }
1728 }
1729 if (obj3) {
1730 {
1731 arg4 = &temp4;
1732 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1733 }
1734 }
1735 if (obj4) {
1736 arg5 = (long)SWIG_As_long(obj4);
1737 if (PyErr_Occurred()) SWIG_fail;
1738 }
1739 if (obj5) {
1740 {
1741 arg6 = wxString_in_helper(obj5);
1742 if (arg6 == NULL) SWIG_fail;
1743 temp6 = True;
1744 }
1745 }
1746 {
1747 if (!wxPyCheckForApp()) SWIG_fail;
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1755 {
1756 if (temp6)
1757 delete arg6;
1758 }
1759 return resultobj;
1760 fail:
1761 {
1762 if (temp6)
1763 delete arg6;
1764 }
1765 return NULL;
1766 }
1767
1768
1769 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1770 PyObject *resultobj;
1771 wxScrolledWindow *result;
1772 char *kwnames[] = {
1773 NULL
1774 };
1775
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1777 {
1778 if (!wxPyCheckForApp()) SWIG_fail;
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 result = (wxScrolledWindow *)new wxScrolledWindow();
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1786 return resultobj;
1787 fail:
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1795 wxWindow *arg2 = (wxWindow *) 0 ;
1796 int arg3 = (int) (int)-1 ;
1797 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1798 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1799 wxSize const &arg5_defvalue = wxDefaultSize ;
1800 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1801 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1802 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1803 wxString *arg7 = (wxString *) &arg7_defvalue ;
1804 bool result;
1805 wxPoint temp4 ;
1806 wxSize temp5 ;
1807 bool temp7 = False ;
1808 PyObject * obj0 = 0 ;
1809 PyObject * obj1 = 0 ;
1810 PyObject * obj2 = 0 ;
1811 PyObject * obj3 = 0 ;
1812 PyObject * obj4 = 0 ;
1813 PyObject * obj5 = 0 ;
1814 PyObject * obj6 = 0 ;
1815 char *kwnames[] = {
1816 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1817 };
1818
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1824 if (obj2) {
1825 arg3 = (int)SWIG_As_int(obj2);
1826 if (PyErr_Occurred()) SWIG_fail;
1827 }
1828 if (obj3) {
1829 {
1830 arg4 = &temp4;
1831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1832 }
1833 }
1834 if (obj4) {
1835 {
1836 arg5 = &temp5;
1837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1838 }
1839 }
1840 if (obj5) {
1841 arg6 = (long)SWIG_As_long(obj5);
1842 if (PyErr_Occurred()) SWIG_fail;
1843 }
1844 if (obj6) {
1845 {
1846 arg7 = wxString_in_helper(obj6);
1847 if (arg7 == NULL) SWIG_fail;
1848 temp7 = True;
1849 }
1850 }
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 {
1859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1860 }
1861 {
1862 if (temp7)
1863 delete arg7;
1864 }
1865 return resultobj;
1866 fail:
1867 {
1868 if (temp7)
1869 delete arg7;
1870 }
1871 return NULL;
1872 }
1873
1874
1875 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1878 int arg2 ;
1879 int arg3 ;
1880 int arg4 ;
1881 int arg5 ;
1882 int arg6 = (int) 0 ;
1883 int arg7 = (int) 0 ;
1884 bool arg8 = (bool) False ;
1885 PyObject * obj0 = 0 ;
1886 PyObject * obj1 = 0 ;
1887 PyObject * obj2 = 0 ;
1888 PyObject * obj3 = 0 ;
1889 PyObject * obj4 = 0 ;
1890 PyObject * obj5 = 0 ;
1891 PyObject * obj6 = 0 ;
1892 PyObject * obj7 = 0 ;
1893 char *kwnames[] = {
1894 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1895 };
1896
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1900 arg2 = (int)SWIG_As_int(obj1);
1901 if (PyErr_Occurred()) SWIG_fail;
1902 arg3 = (int)SWIG_As_int(obj2);
1903 if (PyErr_Occurred()) SWIG_fail;
1904 arg4 = (int)SWIG_As_int(obj3);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 arg5 = (int)SWIG_As_int(obj4);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 if (obj5) {
1909 arg6 = (int)SWIG_As_int(obj5);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 }
1912 if (obj6) {
1913 arg7 = (int)SWIG_As_int(obj6);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 if (obj7) {
1917 arg8 = (bool)SWIG_As_bool(obj7);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 {
1921 PyThreadState* __tstate = wxPyBeginAllowThreads();
1922 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1923
1924 wxPyEndAllowThreads(__tstate);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 }
1927 Py_INCREF(Py_None); resultobj = Py_None;
1928 return resultobj;
1929 fail:
1930 return NULL;
1931 }
1932
1933
1934 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1935 PyObject *resultobj;
1936 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1937 int arg2 ;
1938 int arg3 ;
1939 PyObject * obj0 = 0 ;
1940 PyObject * obj1 = 0 ;
1941 PyObject * obj2 = 0 ;
1942 char *kwnames[] = {
1943 (char *) "self",(char *) "x",(char *) "y", NULL
1944 };
1945
1946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1949 arg2 = (int)SWIG_As_int(obj1);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 arg3 = (int)SWIG_As_int(obj2);
1952 if (PyErr_Occurred()) SWIG_fail;
1953 {
1954 PyThreadState* __tstate = wxPyBeginAllowThreads();
1955 (arg1)->Scroll(arg2,arg3);
1956
1957 wxPyEndAllowThreads(__tstate);
1958 if (PyErr_Occurred()) SWIG_fail;
1959 }
1960 Py_INCREF(Py_None); resultobj = Py_None;
1961 return resultobj;
1962 fail:
1963 return NULL;
1964 }
1965
1966
1967 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1968 PyObject *resultobj;
1969 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1970 int arg2 ;
1971 int result;
1972 PyObject * obj0 = 0 ;
1973 PyObject * obj1 = 0 ;
1974 char *kwnames[] = {
1975 (char *) "self",(char *) "orient", NULL
1976 };
1977
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1981 arg2 = (int)SWIG_As_int(obj1);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 {
1984 PyThreadState* __tstate = wxPyBeginAllowThreads();
1985 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1986
1987 wxPyEndAllowThreads(__tstate);
1988 if (PyErr_Occurred()) SWIG_fail;
1989 }
1990 resultobj = SWIG_From_int((int)result);
1991 return resultobj;
1992 fail:
1993 return NULL;
1994 }
1995
1996
1997 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1998 PyObject *resultobj;
1999 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2000 int arg2 ;
2001 int arg3 ;
2002 PyObject * obj0 = 0 ;
2003 PyObject * obj1 = 0 ;
2004 PyObject * obj2 = 0 ;
2005 char *kwnames[] = {
2006 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2007 };
2008
2009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2012 arg2 = (int)SWIG_As_int(obj1);
2013 if (PyErr_Occurred()) SWIG_fail;
2014 arg3 = (int)SWIG_As_int(obj2);
2015 if (PyErr_Occurred()) SWIG_fail;
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2018 (arg1)->SetScrollPageSize(arg2,arg3);
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 }
2023 Py_INCREF(Py_None); resultobj = Py_None;
2024 return resultobj;
2025 fail:
2026 return NULL;
2027 }
2028
2029
2030 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2031 PyObject *resultobj;
2032 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2033 int arg2 ;
2034 int arg3 ;
2035 PyObject * obj0 = 0 ;
2036 PyObject * obj1 = 0 ;
2037 PyObject * obj2 = 0 ;
2038 char *kwnames[] = {
2039 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2040 };
2041
2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2045 arg2 = (int)SWIG_As_int(obj1);
2046 if (PyErr_Occurred()) SWIG_fail;
2047 arg3 = (int)SWIG_As_int(obj2);
2048 if (PyErr_Occurred()) SWIG_fail;
2049 {
2050 PyThreadState* __tstate = wxPyBeginAllowThreads();
2051 (arg1)->SetScrollRate(arg2,arg3);
2052
2053 wxPyEndAllowThreads(__tstate);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 }
2056 Py_INCREF(Py_None); resultobj = Py_None;
2057 return resultobj;
2058 fail:
2059 return NULL;
2060 }
2061
2062
2063 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2064 PyObject *resultobj;
2065 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2066 int *arg2 = (int *) 0 ;
2067 int *arg3 = (int *) 0 ;
2068 int temp2 ;
2069 int res2 = 0 ;
2070 int temp3 ;
2071 int res3 = 0 ;
2072 PyObject * obj0 = 0 ;
2073 char *kwnames[] = {
2074 (char *) "self", NULL
2075 };
2076
2077 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2078 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2082 {
2083 PyThreadState* __tstate = wxPyBeginAllowThreads();
2084 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2085
2086 wxPyEndAllowThreads(__tstate);
2087 if (PyErr_Occurred()) SWIG_fail;
2088 }
2089 Py_INCREF(Py_None); resultobj = Py_None;
2090 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2091 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2092 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2093 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2094 return resultobj;
2095 fail:
2096 return NULL;
2097 }
2098
2099
2100 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2101 PyObject *resultobj;
2102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2103 bool arg2 ;
2104 bool arg3 ;
2105 PyObject * obj0 = 0 ;
2106 PyObject * obj1 = 0 ;
2107 PyObject * obj2 = 0 ;
2108 char *kwnames[] = {
2109 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2110 };
2111
2112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2115 arg2 = (bool)SWIG_As_bool(obj1);
2116 if (PyErr_Occurred()) SWIG_fail;
2117 arg3 = (bool)SWIG_As_bool(obj2);
2118 if (PyErr_Occurred()) SWIG_fail;
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 (arg1)->EnableScrolling(arg2,arg3);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 Py_INCREF(Py_None); resultobj = Py_None;
2127 return resultobj;
2128 fail:
2129 return NULL;
2130 }
2131
2132
2133 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2134 PyObject *resultobj;
2135 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2136 int *arg2 = (int *) 0 ;
2137 int *arg3 = (int *) 0 ;
2138 int temp2 ;
2139 int res2 = 0 ;
2140 int temp3 ;
2141 int res3 = 0 ;
2142 PyObject * obj0 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "self", NULL
2145 };
2146
2147 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2148 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 Py_INCREF(Py_None); resultobj = Py_None;
2160 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2161 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2162 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2163 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2164 return resultobj;
2165 fail:
2166 return NULL;
2167 }
2168
2169
2170 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2171 PyObject *resultobj;
2172 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2173 double arg2 ;
2174 double arg3 ;
2175 PyObject * obj0 = 0 ;
2176 PyObject * obj1 = 0 ;
2177 PyObject * obj2 = 0 ;
2178 char *kwnames[] = {
2179 (char *) "self",(char *) "xs",(char *) "ys", NULL
2180 };
2181
2182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2185 arg2 = (double)SWIG_As_double(obj1);
2186 if (PyErr_Occurred()) SWIG_fail;
2187 arg3 = (double)SWIG_As_double(obj2);
2188 if (PyErr_Occurred()) SWIG_fail;
2189 {
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 (arg1)->SetScale(arg2,arg3);
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) SWIG_fail;
2195 }
2196 Py_INCREF(Py_None); resultobj = Py_None;
2197 return resultobj;
2198 fail:
2199 return NULL;
2200 }
2201
2202
2203 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2204 PyObject *resultobj;
2205 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2206 double result;
2207 PyObject * obj0 = 0 ;
2208 char *kwnames[] = {
2209 (char *) "self", NULL
2210 };
2211
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 resultobj = SWIG_From_double((double)result);
2223 return resultobj;
2224 fail:
2225 return NULL;
2226 }
2227
2228
2229 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2230 PyObject *resultobj;
2231 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2232 double result;
2233 PyObject * obj0 = 0 ;
2234 char *kwnames[] = {
2235 (char *) "self", NULL
2236 };
2237
2238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 resultobj = SWIG_From_double((double)result);
2249 return resultobj;
2250 fail:
2251 return NULL;
2252 }
2253
2254
2255 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2256 PyObject *resultobj;
2257 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2258 wxPoint *arg2 = 0 ;
2259 wxPoint result;
2260 wxPoint temp2 ;
2261 PyObject * obj0 = 0 ;
2262 PyObject * obj1 = 0 ;
2263
2264 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2267 {
2268 arg2 = &temp2;
2269 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2270 }
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 {
2279 wxPoint * resultptr;
2280 resultptr = new wxPoint((wxPoint &) result);
2281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2282 }
2283 return resultobj;
2284 fail:
2285 return NULL;
2286 }
2287
2288
2289 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2290 PyObject *resultobj;
2291 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2292 int arg2 ;
2293 int arg3 ;
2294 int *arg4 = (int *) 0 ;
2295 int *arg5 = (int *) 0 ;
2296 int temp4 ;
2297 int res4 = 0 ;
2298 int temp5 ;
2299 int res5 = 0 ;
2300 PyObject * obj0 = 0 ;
2301 PyObject * obj1 = 0 ;
2302 PyObject * obj2 = 0 ;
2303
2304 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2305 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2306 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2309 arg2 = (int)SWIG_As_int(obj1);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 arg3 = (int)SWIG_As_int(obj2);
2312 if (PyErr_Occurred()) SWIG_fail;
2313 {
2314 PyThreadState* __tstate = wxPyBeginAllowThreads();
2315 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2316
2317 wxPyEndAllowThreads(__tstate);
2318 if (PyErr_Occurred()) SWIG_fail;
2319 }
2320 Py_INCREF(Py_None); resultobj = Py_None;
2321 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2322 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2323 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2324 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2325 return resultobj;
2326 fail:
2327 return NULL;
2328 }
2329
2330
2331 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2332 int argc;
2333 PyObject *argv[4];
2334 int ii;
2335
2336 argc = PyObject_Length(args);
2337 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2338 argv[ii] = PyTuple_GetItem(args,ii);
2339 }
2340 if (argc == 2) {
2341 int _v;
2342 {
2343 void *ptr;
2344 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2345 _v = 0;
2346 PyErr_Clear();
2347 } else {
2348 _v = 1;
2349 }
2350 }
2351 if (_v) {
2352 {
2353 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2354 }
2355 if (_v) {
2356 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2357 }
2358 }
2359 }
2360 if (argc == 3) {
2361 int _v;
2362 {
2363 void *ptr;
2364 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2365 _v = 0;
2366 PyErr_Clear();
2367 } else {
2368 _v = 1;
2369 }
2370 }
2371 if (_v) {
2372 _v = SWIG_Check_int(argv[1]);
2373 if (_v) {
2374 _v = SWIG_Check_int(argv[2]);
2375 if (_v) {
2376 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2377 }
2378 }
2379 }
2380 }
2381
2382 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2383 return NULL;
2384 }
2385
2386
2387 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2388 PyObject *resultobj;
2389 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2390 wxPoint *arg2 = 0 ;
2391 wxPoint result;
2392 wxPoint temp2 ;
2393 PyObject * obj0 = 0 ;
2394 PyObject * obj1 = 0 ;
2395
2396 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2399 {
2400 arg2 = &temp2;
2401 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2402 }
2403 {
2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
2405 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2406
2407 wxPyEndAllowThreads(__tstate);
2408 if (PyErr_Occurred()) SWIG_fail;
2409 }
2410 {
2411 wxPoint * resultptr;
2412 resultptr = new wxPoint((wxPoint &) result);
2413 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2414 }
2415 return resultobj;
2416 fail:
2417 return NULL;
2418 }
2419
2420
2421 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2422 PyObject *resultobj;
2423 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2424 int arg2 ;
2425 int arg3 ;
2426 int *arg4 = (int *) 0 ;
2427 int *arg5 = (int *) 0 ;
2428 int temp4 ;
2429 int res4 = 0 ;
2430 int temp5 ;
2431 int res5 = 0 ;
2432 PyObject * obj0 = 0 ;
2433 PyObject * obj1 = 0 ;
2434 PyObject * obj2 = 0 ;
2435
2436 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2437 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2438 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2441 arg2 = (int)SWIG_As_int(obj1);
2442 if (PyErr_Occurred()) SWIG_fail;
2443 arg3 = (int)SWIG_As_int(obj2);
2444 if (PyErr_Occurred()) SWIG_fail;
2445 {
2446 PyThreadState* __tstate = wxPyBeginAllowThreads();
2447 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2448
2449 wxPyEndAllowThreads(__tstate);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 }
2452 Py_INCREF(Py_None); resultobj = Py_None;
2453 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2454 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2455 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2456 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2457 return resultobj;
2458 fail:
2459 return NULL;
2460 }
2461
2462
2463 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2464 int argc;
2465 PyObject *argv[4];
2466 int ii;
2467
2468 argc = PyObject_Length(args);
2469 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2470 argv[ii] = PyTuple_GetItem(args,ii);
2471 }
2472 if (argc == 2) {
2473 int _v;
2474 {
2475 void *ptr;
2476 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2477 _v = 0;
2478 PyErr_Clear();
2479 } else {
2480 _v = 1;
2481 }
2482 }
2483 if (_v) {
2484 {
2485 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2486 }
2487 if (_v) {
2488 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2489 }
2490 }
2491 }
2492 if (argc == 3) {
2493 int _v;
2494 {
2495 void *ptr;
2496 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2497 _v = 0;
2498 PyErr_Clear();
2499 } else {
2500 _v = 1;
2501 }
2502 }
2503 if (_v) {
2504 _v = SWIG_Check_int(argv[1]);
2505 if (_v) {
2506 _v = SWIG_Check_int(argv[2]);
2507 if (_v) {
2508 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2509 }
2510 }
2511 }
2512 }
2513
2514 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2515 return NULL;
2516 }
2517
2518
2519 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2520 PyObject *resultobj;
2521 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2522 PyObject * obj0 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self", NULL
2525 };
2526
2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2530 {
2531 PyThreadState* __tstate = wxPyBeginAllowThreads();
2532 (arg1)->AdjustScrollbars();
2533
2534 wxPyEndAllowThreads(__tstate);
2535 if (PyErr_Occurred()) SWIG_fail;
2536 }
2537 Py_INCREF(Py_None); resultobj = Py_None;
2538 return resultobj;
2539 fail:
2540 return NULL;
2541 }
2542
2543
2544 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2545 PyObject *resultobj;
2546 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2547 wxScrollWinEvent *arg2 = 0 ;
2548 int result;
2549 PyObject * obj0 = 0 ;
2550 PyObject * obj1 = 0 ;
2551 char *kwnames[] = {
2552 (char *) "self",(char *) "event", NULL
2553 };
2554
2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2559 SWIG_POINTER_EXCEPTION | 0)) == -1)
2560 SWIG_fail;
2561 if (arg2 == NULL) {
2562 PyErr_SetString(PyExc_TypeError,"null reference");
2563 SWIG_fail;
2564 }
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 result = (int)(arg1)->CalcScrollInc(*arg2);
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 resultobj = SWIG_From_int((int)result);
2573 return resultobj;
2574 fail:
2575 return NULL;
2576 }
2577
2578
2579 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2580 PyObject *resultobj;
2581 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2582 wxWindow *arg2 = (wxWindow *) 0 ;
2583 PyObject * obj0 = 0 ;
2584 PyObject * obj1 = 0 ;
2585 char *kwnames[] = {
2586 (char *) "self",(char *) "target", NULL
2587 };
2588
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
2596 (arg1)->SetTargetWindow(arg2);
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
2601 Py_INCREF(Py_None); resultobj = Py_None;
2602 return resultobj;
2603 fail:
2604 return NULL;
2605 }
2606
2607
2608 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2609 PyObject *resultobj;
2610 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2611 wxWindow *result;
2612 PyObject * obj0 = 0 ;
2613 char *kwnames[] = {
2614 (char *) "self", NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2620 {
2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
2622 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2623
2624 wxPyEndAllowThreads(__tstate);
2625 if (PyErr_Occurred()) SWIG_fail;
2626 }
2627 {
2628 resultobj = wxPyMake_wxObject(result, 0);
2629 }
2630 return resultobj;
2631 fail:
2632 return NULL;
2633 }
2634
2635
2636 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2637 PyObject *resultobj;
2638 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2639 wxRect *arg2 = 0 ;
2640 wxRect temp2 ;
2641 PyObject * obj0 = 0 ;
2642 PyObject * obj1 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self",(char *) "rect", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2650 {
2651 arg2 = &temp2;
2652 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2653 }
2654 {
2655 PyThreadState* __tstate = wxPyBeginAllowThreads();
2656 (arg1)->SetTargetRect((wxRect const &)*arg2);
2657
2658 wxPyEndAllowThreads(__tstate);
2659 if (PyErr_Occurred()) SWIG_fail;
2660 }
2661 Py_INCREF(Py_None); resultobj = Py_None;
2662 return resultobj;
2663 fail:
2664 return NULL;
2665 }
2666
2667
2668 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2669 PyObject *resultobj;
2670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2671 wxRect result;
2672 PyObject * obj0 = 0 ;
2673 char *kwnames[] = {
2674 (char *) "self", NULL
2675 };
2676
2677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2680 {
2681 PyThreadState* __tstate = wxPyBeginAllowThreads();
2682 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2683
2684 wxPyEndAllowThreads(__tstate);
2685 if (PyErr_Occurred()) SWIG_fail;
2686 }
2687 {
2688 wxRect * resultptr;
2689 resultptr = new wxRect((wxRect &) result);
2690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2691 }
2692 return resultobj;
2693 fail:
2694 return NULL;
2695 }
2696
2697
2698 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2699 PyObject *resultobj;
2700 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2701 wxDC *arg2 = 0 ;
2702 PyObject * obj0 = 0 ;
2703 PyObject * obj1 = 0 ;
2704 char *kwnames[] = {
2705 (char *) "self",(char *) "dc", NULL
2706 };
2707
2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2711 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2712 SWIG_POINTER_EXCEPTION | 0)) == -1)
2713 SWIG_fail;
2714 if (arg2 == NULL) {
2715 PyErr_SetString(PyExc_TypeError,"null reference");
2716 SWIG_fail;
2717 }
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
2720 (arg1)->DoPrepareDC(*arg2);
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
2725 Py_INCREF(Py_None); resultobj = Py_None;
2726 return resultobj;
2727 fail:
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2735 wxVisualAttributes result;
2736 PyObject * obj0 = 0 ;
2737 char *kwnames[] = {
2738 (char *) "variant", NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2742 if (obj0) {
2743 arg1 = (int)SWIG_As_int(obj0);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 {
2747 if (!wxPyCheckForApp()) SWIG_fail;
2748 PyThreadState* __tstate = wxPyBeginAllowThreads();
2749 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2750
2751 wxPyEndAllowThreads(__tstate);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 }
2754 {
2755 wxVisualAttributes * resultptr;
2756 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2758 }
2759 return resultobj;
2760 fail:
2761 return NULL;
2762 }
2763
2764
2765 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2766 PyObject *obj;
2767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2768 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2769 Py_INCREF(obj);
2770 return Py_BuildValue((char *)"");
2771 }
2772 static int _wrap_FrameNameStr_set(PyObject *) {
2773 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2774 return 1;
2775 }
2776
2777
2778 static PyObject *_wrap_FrameNameStr_get() {
2779 PyObject *pyobj;
2780
2781 {
2782 #if wxUSE_UNICODE
2783 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2784 #else
2785 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2786 #endif
2787 }
2788 return pyobj;
2789 }
2790
2791
2792 static int _wrap_DialogNameStr_set(PyObject *) {
2793 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2794 return 1;
2795 }
2796
2797
2798 static PyObject *_wrap_DialogNameStr_get() {
2799 PyObject *pyobj;
2800
2801 {
2802 #if wxUSE_UNICODE
2803 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2804 #else
2805 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2806 #endif
2807 }
2808 return pyobj;
2809 }
2810
2811
2812 static int _wrap_StatusLineNameStr_set(PyObject *) {
2813 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2814 return 1;
2815 }
2816
2817
2818 static PyObject *_wrap_StatusLineNameStr_get() {
2819 PyObject *pyobj;
2820
2821 {
2822 #if wxUSE_UNICODE
2823 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2824 #else
2825 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2826 #endif
2827 }
2828 return pyobj;
2829 }
2830
2831
2832 static int _wrap_ToolBarNameStr_set(PyObject *) {
2833 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2834 return 1;
2835 }
2836
2837
2838 static PyObject *_wrap_ToolBarNameStr_get() {
2839 PyObject *pyobj;
2840
2841 {
2842 #if wxUSE_UNICODE
2843 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2844 #else
2845 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2846 #endif
2847 }
2848 return pyobj;
2849 }
2850
2851
2852 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2855 bool arg2 = (bool) True ;
2856 PyObject * obj0 = 0 ;
2857 PyObject * obj1 = 0 ;
2858 char *kwnames[] = {
2859 (char *) "self",(char *) "maximize", NULL
2860 };
2861
2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2865 if (obj1) {
2866 arg2 = (bool)SWIG_As_bool(obj1);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2869 {
2870 PyThreadState* __tstate = wxPyBeginAllowThreads();
2871 (arg1)->Maximize(arg2);
2872
2873 wxPyEndAllowThreads(__tstate);
2874 if (PyErr_Occurred()) SWIG_fail;
2875 }
2876 Py_INCREF(Py_None); resultobj = Py_None;
2877 return resultobj;
2878 fail:
2879 return NULL;
2880 }
2881
2882
2883 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2884 PyObject *resultobj;
2885 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2886 PyObject * obj0 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "self", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 (arg1)->Restore();
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 Py_INCREF(Py_None); resultobj = Py_None;
2902 return resultobj;
2903 fail:
2904 return NULL;
2905 }
2906
2907
2908 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2909 PyObject *resultobj;
2910 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2911 bool arg2 = (bool) True ;
2912 PyObject * obj0 = 0 ;
2913 PyObject * obj1 = 0 ;
2914 char *kwnames[] = {
2915 (char *) "self",(char *) "iconize", NULL
2916 };
2917
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2921 if (obj1) {
2922 arg2 = (bool)SWIG_As_bool(obj1);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 {
2926 PyThreadState* __tstate = wxPyBeginAllowThreads();
2927 (arg1)->Iconize(arg2);
2928
2929 wxPyEndAllowThreads(__tstate);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
2932 Py_INCREF(Py_None); resultobj = Py_None;
2933 return resultobj;
2934 fail:
2935 return NULL;
2936 }
2937
2938
2939 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2940 PyObject *resultobj;
2941 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2942 bool result;
2943 PyObject * obj0 = 0 ;
2944 char *kwnames[] = {
2945 (char *) "self", NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2951 {
2952 PyThreadState* __tstate = wxPyBeginAllowThreads();
2953 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2954
2955 wxPyEndAllowThreads(__tstate);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 {
2959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2960 }
2961 return resultobj;
2962 fail:
2963 return NULL;
2964 }
2965
2966
2967 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2970 bool result;
2971 PyObject * obj0 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2979 {
2980 PyThreadState* __tstate = wxPyBeginAllowThreads();
2981 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2982
2983 wxPyEndAllowThreads(__tstate);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 }
2986 {
2987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2988 }
2989 return resultobj;
2990 fail:
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2996 PyObject *resultobj;
2997 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2998 wxIcon result;
2999 PyObject * obj0 = 0 ;
3000 char *kwnames[] = {
3001 (char *) "self", NULL
3002 };
3003
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3007 {
3008 PyThreadState* __tstate = wxPyBeginAllowThreads();
3009 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3010
3011 wxPyEndAllowThreads(__tstate);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 }
3014 {
3015 wxIcon * resultptr;
3016 resultptr = new wxIcon((wxIcon &) result);
3017 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3018 }
3019 return resultobj;
3020 fail:
3021 return NULL;
3022 }
3023
3024
3025 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3026 PyObject *resultobj;
3027 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3028 wxIcon *arg2 = 0 ;
3029 PyObject * obj0 = 0 ;
3030 PyObject * obj1 = 0 ;
3031 char *kwnames[] = {
3032 (char *) "self",(char *) "icon", NULL
3033 };
3034
3035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3039 SWIG_POINTER_EXCEPTION | 0)) == -1)
3040 SWIG_fail;
3041 if (arg2 == NULL) {
3042 PyErr_SetString(PyExc_TypeError,"null reference");
3043 SWIG_fail;
3044 }
3045 {
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 (arg1)->SetIcon((wxIcon const &)*arg2);
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 Py_INCREF(Py_None); resultobj = Py_None;
3053 return resultobj;
3054 fail:
3055 return NULL;
3056 }
3057
3058
3059 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3060 PyObject *resultobj;
3061 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3062 wxIconBundle *arg2 = 0 ;
3063 PyObject * obj0 = 0 ;
3064 PyObject * obj1 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "self",(char *) "icons", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3073 SWIG_POINTER_EXCEPTION | 0)) == -1)
3074 SWIG_fail;
3075 if (arg2 == NULL) {
3076 PyErr_SetString(PyExc_TypeError,"null reference");
3077 SWIG_fail;
3078 }
3079 {
3080 PyThreadState* __tstate = wxPyBeginAllowThreads();
3081 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3082
3083 wxPyEndAllowThreads(__tstate);
3084 if (PyErr_Occurred()) SWIG_fail;
3085 }
3086 Py_INCREF(Py_None); resultobj = Py_None;
3087 return resultobj;
3088 fail:
3089 return NULL;
3090 }
3091
3092
3093 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3096 bool arg2 ;
3097 long arg3 = (long) wxFULLSCREEN_ALL ;
3098 bool result;
3099 PyObject * obj0 = 0 ;
3100 PyObject * obj1 = 0 ;
3101 PyObject * obj2 = 0 ;
3102 char *kwnames[] = {
3103 (char *) "self",(char *) "show",(char *) "style", NULL
3104 };
3105
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3109 arg2 = (bool)SWIG_As_bool(obj1);
3110 if (PyErr_Occurred()) SWIG_fail;
3111 if (obj2) {
3112 arg3 = (long)SWIG_As_long(obj2);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 {
3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
3117 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 {
3123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3124 }
3125 return resultobj;
3126 fail:
3127 return NULL;
3128 }
3129
3130
3131 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj;
3133 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3134 bool result;
3135 PyObject * obj0 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3143 {
3144 PyThreadState* __tstate = wxPyBeginAllowThreads();
3145 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3146
3147 wxPyEndAllowThreads(__tstate);
3148 if (PyErr_Occurred()) SWIG_fail;
3149 }
3150 {
3151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3152 }
3153 return resultobj;
3154 fail:
3155 return NULL;
3156 }
3157
3158
3159 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj;
3161 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3162 wxString *arg2 = 0 ;
3163 bool temp2 = False ;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self",(char *) "title", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3173 {
3174 arg2 = wxString_in_helper(obj1);
3175 if (arg2 == NULL) SWIG_fail;
3176 temp2 = True;
3177 }
3178 {
3179 PyThreadState* __tstate = wxPyBeginAllowThreads();
3180 (arg1)->SetTitle((wxString const &)*arg2);
3181
3182 wxPyEndAllowThreads(__tstate);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 Py_INCREF(Py_None); resultobj = Py_None;
3186 {
3187 if (temp2)
3188 delete arg2;
3189 }
3190 return resultobj;
3191 fail:
3192 {
3193 if (temp2)
3194 delete arg2;
3195 }
3196 return NULL;
3197 }
3198
3199
3200 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3201 PyObject *resultobj;
3202 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3203 wxString result;
3204 PyObject * obj0 = 0 ;
3205 char *kwnames[] = {
3206 (char *) "self", NULL
3207 };
3208
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3212 {
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
3214 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 {
3220 #if wxUSE_UNICODE
3221 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3222 #else
3223 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3224 #endif
3225 }
3226 return resultobj;
3227 fail:
3228 return NULL;
3229 }
3230
3231
3232 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3233 PyObject *resultobj;
3234 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3235 wxRegion *arg2 = 0 ;
3236 bool result;
3237 PyObject * obj0 = 0 ;
3238 PyObject * obj1 = 0 ;
3239 char *kwnames[] = {
3240 (char *) "self",(char *) "region", NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3247 SWIG_POINTER_EXCEPTION | 0)) == -1)
3248 SWIG_fail;
3249 if (arg2 == NULL) {
3250 PyErr_SetString(PyExc_TypeError,"null reference");
3251 SWIG_fail;
3252 }
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
3255 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3256
3257 wxPyEndAllowThreads(__tstate);
3258 if (PyErr_Occurred()) SWIG_fail;
3259 }
3260 {
3261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3262 }
3263 return resultobj;
3264 fail:
3265 return NULL;
3266 }
3267
3268
3269 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3270 PyObject *resultobj;
3271 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3272 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3273 PyObject * obj0 = 0 ;
3274 PyObject * obj1 = 0 ;
3275 char *kwnames[] = {
3276 (char *) "self",(char *) "flags", NULL
3277 };
3278
3279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3282 if (obj1) {
3283 arg2 = (int)SWIG_As_int(obj1);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 (arg1)->RequestUserAttention(arg2);
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 Py_INCREF(Py_None); resultobj = Py_None;
3294 return resultobj;
3295 fail:
3296 return NULL;
3297 }
3298
3299
3300 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3301 PyObject *resultobj;
3302 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3303 bool arg2 ;
3304 PyObject * obj0 = 0 ;
3305 PyObject * obj1 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self",(char *) "on", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3313 arg2 = (bool)SWIG_As_bool(obj1);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 (arg1)->MacSetMetalAppearance(arg2);
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
3322 Py_INCREF(Py_None); resultobj = Py_None;
3323 return resultobj;
3324 fail:
3325 return NULL;
3326 }
3327
3328
3329 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3330 PyObject *resultobj;
3331 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3332 bool result;
3333 PyObject * obj0 = 0 ;
3334 char *kwnames[] = {
3335 (char *) "self", NULL
3336 };
3337
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 {
3349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3350 }
3351 return resultobj;
3352 fail:
3353 return NULL;
3354 }
3355
3356
3357 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3358 PyObject *obj;
3359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3360 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3361 Py_INCREF(obj);
3362 return Py_BuildValue((char *)"");
3363 }
3364 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3365 PyObject *resultobj;
3366 wxWindow *arg1 = (wxWindow *) 0 ;
3367 int arg2 = (int) (int)-1 ;
3368 wxString const &arg3_defvalue = wxPyEmptyString ;
3369 wxString *arg3 = (wxString *) &arg3_defvalue ;
3370 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3371 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3372 wxSize const &arg5_defvalue = wxDefaultSize ;
3373 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3374 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3375 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3376 wxString *arg7 = (wxString *) &arg7_defvalue ;
3377 wxFrame *result;
3378 bool temp3 = False ;
3379 wxPoint temp4 ;
3380 wxSize temp5 ;
3381 bool temp7 = False ;
3382 PyObject * obj0 = 0 ;
3383 PyObject * obj1 = 0 ;
3384 PyObject * obj2 = 0 ;
3385 PyObject * obj3 = 0 ;
3386 PyObject * obj4 = 0 ;
3387 PyObject * obj5 = 0 ;
3388 PyObject * obj6 = 0 ;
3389 char *kwnames[] = {
3390 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3391 };
3392
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3396 if (obj1) {
3397 arg2 = (int)SWIG_As_int(obj1);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 }
3400 if (obj2) {
3401 {
3402 arg3 = wxString_in_helper(obj2);
3403 if (arg3 == NULL) SWIG_fail;
3404 temp3 = True;
3405 }
3406 }
3407 if (obj3) {
3408 {
3409 arg4 = &temp4;
3410 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3411 }
3412 }
3413 if (obj4) {
3414 {
3415 arg5 = &temp5;
3416 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3417 }
3418 }
3419 if (obj5) {
3420 arg6 = (long)SWIG_As_long(obj5);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 if (obj6) {
3424 {
3425 arg7 = wxString_in_helper(obj6);
3426 if (arg7 == NULL) SWIG_fail;
3427 temp7 = True;
3428 }
3429 }
3430 {
3431 if (!wxPyCheckForApp()) SWIG_fail;
3432 PyThreadState* __tstate = wxPyBeginAllowThreads();
3433 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3434
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
3438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3439 {
3440 if (temp3)
3441 delete arg3;
3442 }
3443 {
3444 if (temp7)
3445 delete arg7;
3446 }
3447 return resultobj;
3448 fail:
3449 {
3450 if (temp3)
3451 delete arg3;
3452 }
3453 {
3454 if (temp7)
3455 delete arg7;
3456 }
3457 return NULL;
3458 }
3459
3460
3461 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxFrame *result;
3464 char *kwnames[] = {
3465 NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3469 {
3470 if (!wxPyCheckForApp()) SWIG_fail;
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 result = (wxFrame *)new wxFrame();
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3478 return resultobj;
3479 fail:
3480 return NULL;
3481 }
3482
3483
3484 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3485 PyObject *resultobj;
3486 wxFrame *arg1 = (wxFrame *) 0 ;
3487 wxWindow *arg2 = (wxWindow *) 0 ;
3488 int arg3 = (int) (int)-1 ;
3489 wxString const &arg4_defvalue = wxPyEmptyString ;
3490 wxString *arg4 = (wxString *) &arg4_defvalue ;
3491 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3492 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3493 wxSize const &arg6_defvalue = wxDefaultSize ;
3494 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3495 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3496 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3497 wxString *arg8 = (wxString *) &arg8_defvalue ;
3498 bool result;
3499 bool temp4 = False ;
3500 wxPoint temp5 ;
3501 wxSize temp6 ;
3502 bool temp8 = False ;
3503 PyObject * obj0 = 0 ;
3504 PyObject * obj1 = 0 ;
3505 PyObject * obj2 = 0 ;
3506 PyObject * obj3 = 0 ;
3507 PyObject * obj4 = 0 ;
3508 PyObject * obj5 = 0 ;
3509 PyObject * obj6 = 0 ;
3510 PyObject * obj7 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3520 if (obj2) {
3521 arg3 = (int)SWIG_As_int(obj2);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 }
3524 if (obj3) {
3525 {
3526 arg4 = wxString_in_helper(obj3);
3527 if (arg4 == NULL) SWIG_fail;
3528 temp4 = True;
3529 }
3530 }
3531 if (obj4) {
3532 {
3533 arg5 = &temp5;
3534 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3535 }
3536 }
3537 if (obj5) {
3538 {
3539 arg6 = &temp6;
3540 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3541 }
3542 }
3543 if (obj6) {
3544 arg7 = (long)SWIG_As_long(obj6);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 if (obj7) {
3548 {
3549 arg8 = wxString_in_helper(obj7);
3550 if (arg8 == NULL) SWIG_fail;
3551 temp8 = True;
3552 }
3553 }
3554 {
3555 PyThreadState* __tstate = wxPyBeginAllowThreads();
3556 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3557
3558 wxPyEndAllowThreads(__tstate);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 }
3561 {
3562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3563 }
3564 {
3565 if (temp4)
3566 delete arg4;
3567 }
3568 {
3569 if (temp8)
3570 delete arg8;
3571 }
3572 return resultobj;
3573 fail:
3574 {
3575 if (temp4)
3576 delete arg4;
3577 }
3578 {
3579 if (temp8)
3580 delete arg8;
3581 }
3582 return NULL;
3583 }
3584
3585
3586 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3587 PyObject *resultobj;
3588 wxFrame *arg1 = (wxFrame *) 0 ;
3589 wxPoint result;
3590 PyObject * obj0 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "self", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 {
3606 wxPoint * resultptr;
3607 resultptr = new wxPoint((wxPoint &) result);
3608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3609 }
3610 return resultobj;
3611 fail:
3612 return NULL;
3613 }
3614
3615
3616 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3617 PyObject *resultobj;
3618 wxFrame *arg1 = (wxFrame *) 0 ;
3619 PyObject * obj0 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "self", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 (arg1)->SendSizeEvent();
3630
3631 wxPyEndAllowThreads(__tstate);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
3634 Py_INCREF(Py_None); resultobj = Py_None;
3635 return resultobj;
3636 fail:
3637 return NULL;
3638 }
3639
3640
3641 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj;
3643 wxFrame *arg1 = (wxFrame *) 0 ;
3644 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3645 PyObject * obj0 = 0 ;
3646 PyObject * obj1 = 0 ;
3647 char *kwnames[] = {
3648 (char *) "self",(char *) "menubar", NULL
3649 };
3650
3651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 (arg1)->SetMenuBar(arg2);
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 Py_INCREF(Py_None); resultobj = Py_None;
3664 return resultobj;
3665 fail:
3666 return NULL;
3667 }
3668
3669
3670 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3671 PyObject *resultobj;
3672 wxFrame *arg1 = (wxFrame *) 0 ;
3673 wxMenuBar *result;
3674 PyObject * obj0 = 0 ;
3675 char *kwnames[] = {
3676 (char *) "self", NULL
3677 };
3678
3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3685
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 {
3690 resultobj = wxPyMake_wxObject(result, 0);
3691 }
3692 return resultobj;
3693 fail:
3694 return NULL;
3695 }
3696
3697
3698 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3699 PyObject *resultobj;
3700 wxFrame *arg1 = (wxFrame *) 0 ;
3701 int arg2 ;
3702 bool result;
3703 PyObject * obj0 = 0 ;
3704 PyObject * obj1 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self",(char *) "winid", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3712 arg2 = (int)SWIG_As_int(obj1);
3713 if (PyErr_Occurred()) SWIG_fail;
3714 {
3715 PyThreadState* __tstate = wxPyBeginAllowThreads();
3716 result = (bool)(arg1)->ProcessCommand(arg2);
3717
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 {
3722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3723 }
3724 return resultobj;
3725 fail:
3726 return NULL;
3727 }
3728
3729
3730 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 wxFrame *arg1 = (wxFrame *) 0 ;
3733 int arg2 = (int) 1 ;
3734 long arg3 = (long) wxST_SIZEGRIP ;
3735 int arg4 = (int) 0 ;
3736 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3737 wxString *arg5 = (wxString *) &arg5_defvalue ;
3738 wxStatusBar *result;
3739 bool temp5 = False ;
3740 PyObject * obj0 = 0 ;
3741 PyObject * obj1 = 0 ;
3742 PyObject * obj2 = 0 ;
3743 PyObject * obj3 = 0 ;
3744 PyObject * obj4 = 0 ;
3745 char *kwnames[] = {
3746 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3747 };
3748
3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3752 if (obj1) {
3753 arg2 = (int)SWIG_As_int(obj1);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 if (obj2) {
3757 arg3 = (long)SWIG_As_long(obj2);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 if (obj3) {
3761 arg4 = (int)SWIG_As_int(obj3);
3762 if (PyErr_Occurred()) SWIG_fail;
3763 }
3764 if (obj4) {
3765 {
3766 arg5 = wxString_in_helper(obj4);
3767 if (arg5 == NULL) SWIG_fail;
3768 temp5 = True;
3769 }
3770 }
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 {
3779 resultobj = wxPyMake_wxObject(result, 0);
3780 }
3781 {
3782 if (temp5)
3783 delete arg5;
3784 }
3785 return resultobj;
3786 fail:
3787 {
3788 if (temp5)
3789 delete arg5;
3790 }
3791 return NULL;
3792 }
3793
3794
3795 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3796 PyObject *resultobj;
3797 wxFrame *arg1 = (wxFrame *) 0 ;
3798 wxStatusBar *result;
3799 PyObject * obj0 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "self", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 {
3815 resultobj = wxPyMake_wxObject(result, 0);
3816 }
3817 return resultobj;
3818 fail:
3819 return NULL;
3820 }
3821
3822
3823 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3824 PyObject *resultobj;
3825 wxFrame *arg1 = (wxFrame *) 0 ;
3826 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3827 PyObject * obj0 = 0 ;
3828 PyObject * obj1 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self",(char *) "statBar", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 (arg1)->SetStatusBar(arg2);
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 Py_INCREF(Py_None); resultobj = Py_None;
3846 return resultobj;
3847 fail:
3848 return NULL;
3849 }
3850
3851
3852 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj;
3854 wxFrame *arg1 = (wxFrame *) 0 ;
3855 wxString *arg2 = 0 ;
3856 int arg3 = (int) 0 ;
3857 bool temp2 = False ;
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 PyObject * obj2 = 0 ;
3861 char *kwnames[] = {
3862 (char *) "self",(char *) "text",(char *) "number", NULL
3863 };
3864
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3868 {
3869 arg2 = wxString_in_helper(obj1);
3870 if (arg2 == NULL) SWIG_fail;
3871 temp2 = True;
3872 }
3873 if (obj2) {
3874 arg3 = (int)SWIG_As_int(obj2);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 Py_INCREF(Py_None); resultobj = Py_None;
3885 {
3886 if (temp2)
3887 delete arg2;
3888 }
3889 return resultobj;
3890 fail:
3891 {
3892 if (temp2)
3893 delete arg2;
3894 }
3895 return NULL;
3896 }
3897
3898
3899 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3900 PyObject *resultobj;
3901 wxFrame *arg1 = (wxFrame *) 0 ;
3902 int arg2 ;
3903 int *arg3 = (int *) 0 ;
3904 PyObject * obj0 = 0 ;
3905 PyObject * obj1 = 0 ;
3906 char *kwnames[] = {
3907 (char *) "self",(char *) "widths", NULL
3908 };
3909
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3913 {
3914 arg2 = PyList_Size(obj1);
3915 arg3 = int_LIST_helper(obj1);
3916 if (arg3 == NULL) SWIG_fail;
3917 }
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 Py_INCREF(Py_None); resultobj = Py_None;
3926 {
3927 if (arg3) delete [] arg3;
3928 }
3929 return resultobj;
3930 fail:
3931 {
3932 if (arg3) delete [] arg3;
3933 }
3934 return NULL;
3935 }
3936
3937
3938 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj;
3940 wxFrame *arg1 = (wxFrame *) 0 ;
3941 wxString *arg2 = 0 ;
3942 int arg3 = (int) 0 ;
3943 bool temp2 = False ;
3944 PyObject * obj0 = 0 ;
3945 PyObject * obj1 = 0 ;
3946 PyObject * obj2 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "text",(char *) "number", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3954 {
3955 arg2 = wxString_in_helper(obj1);
3956 if (arg2 == NULL) SWIG_fail;
3957 temp2 = True;
3958 }
3959 if (obj2) {
3960 arg3 = (int)SWIG_As_int(obj2);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 Py_INCREF(Py_None); resultobj = Py_None;
3971 {
3972 if (temp2)
3973 delete arg2;
3974 }
3975 return resultobj;
3976 fail:
3977 {
3978 if (temp2)
3979 delete arg2;
3980 }
3981 return NULL;
3982 }
3983
3984
3985 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxFrame *arg1 = (wxFrame *) 0 ;
3988 int arg2 = (int) 0 ;
3989 PyObject * obj0 = 0 ;
3990 PyObject * obj1 = 0 ;
3991 char *kwnames[] = {
3992 (char *) "self",(char *) "number", NULL
3993 };
3994
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3998 if (obj1) {
3999 arg2 = (int)SWIG_As_int(obj1);
4000 if (PyErr_Occurred()) SWIG_fail;
4001 }
4002 {
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 (arg1)->PopStatusText(arg2);
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 }
4009 Py_INCREF(Py_None); resultobj = Py_None;
4010 return resultobj;
4011 fail:
4012 return NULL;
4013 }
4014
4015
4016 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4017 PyObject *resultobj;
4018 wxFrame *arg1 = (wxFrame *) 0 ;
4019 int arg2 ;
4020 PyObject * obj0 = 0 ;
4021 PyObject * obj1 = 0 ;
4022 char *kwnames[] = {
4023 (char *) "self",(char *) "n", NULL
4024 };
4025
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4029 arg2 = (int)SWIG_As_int(obj1);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 (arg1)->SetStatusBarPane(arg2);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 Py_INCREF(Py_None); resultobj = Py_None;
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxFrame *arg1 = (wxFrame *) 0 ;
4048 int result;
4049 PyObject * obj0 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "self", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 resultobj = SWIG_From_int((int)result);
4065 return resultobj;
4066 fail:
4067 return NULL;
4068 }
4069
4070
4071 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4072 PyObject *resultobj;
4073 wxFrame *arg1 = (wxFrame *) 0 ;
4074 long arg2 = (long) -1 ;
4075 int arg3 = (int) -1 ;
4076 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4077 wxString *arg4 = (wxString *) &arg4_defvalue ;
4078 wxToolBar *result;
4079 bool temp4 = False ;
4080 PyObject * obj0 = 0 ;
4081 PyObject * obj1 = 0 ;
4082 PyObject * obj2 = 0 ;
4083 PyObject * obj3 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4091 if (obj1) {
4092 arg2 = (long)SWIG_As_long(obj1);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 if (obj2) {
4096 arg3 = (int)SWIG_As_int(obj2);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 if (obj3) {
4100 {
4101 arg4 = wxString_in_helper(obj3);
4102 if (arg4 == NULL) SWIG_fail;
4103 temp4 = True;
4104 }
4105 }
4106 {
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4109
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 {
4114 resultobj = wxPyMake_wxObject(result, 0);
4115 }
4116 {
4117 if (temp4)
4118 delete arg4;
4119 }
4120 return resultobj;
4121 fail:
4122 {
4123 if (temp4)
4124 delete arg4;
4125 }
4126 return NULL;
4127 }
4128
4129
4130 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxFrame *arg1 = (wxFrame *) 0 ;
4133 wxToolBar *result;
4134 PyObject * obj0 = 0 ;
4135 char *kwnames[] = {
4136 (char *) "self", NULL
4137 };
4138
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 {
4150 resultobj = wxPyMake_wxObject(result, 0);
4151 }
4152 return resultobj;
4153 fail:
4154 return NULL;
4155 }
4156
4157
4158 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4159 PyObject *resultobj;
4160 wxFrame *arg1 = (wxFrame *) 0 ;
4161 wxToolBar *arg2 = (wxToolBar *) 0 ;
4162 PyObject * obj0 = 0 ;
4163 PyObject * obj1 = 0 ;
4164 char *kwnames[] = {
4165 (char *) "self",(char *) "toolbar", NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 (arg1)->SetToolBar(arg2);
4176
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 Py_INCREF(Py_None); resultobj = Py_None;
4181 return resultobj;
4182 fail:
4183 return NULL;
4184 }
4185
4186
4187 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj;
4189 wxFrame *arg1 = (wxFrame *) 0 ;
4190 wxString *arg2 = 0 ;
4191 bool arg3 ;
4192 bool temp2 = False ;
4193 PyObject * obj0 = 0 ;
4194 PyObject * obj1 = 0 ;
4195 PyObject * obj2 = 0 ;
4196 char *kwnames[] = {
4197 (char *) "self",(char *) "text",(char *) "show", NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4203 {
4204 arg2 = wxString_in_helper(obj1);
4205 if (arg2 == NULL) SWIG_fail;
4206 temp2 = True;
4207 }
4208 arg3 = (bool)SWIG_As_bool(obj2);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 {
4211 PyThreadState* __tstate = wxPyBeginAllowThreads();
4212 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4213
4214 wxPyEndAllowThreads(__tstate);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 }
4217 Py_INCREF(Py_None); resultobj = Py_None;
4218 {
4219 if (temp2)
4220 delete arg2;
4221 }
4222 return resultobj;
4223 fail:
4224 {
4225 if (temp2)
4226 delete arg2;
4227 }
4228 return NULL;
4229 }
4230
4231
4232 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj;
4234 wxFrame *arg1 = (wxFrame *) 0 ;
4235 wxMenu *arg2 = (wxMenu *) NULL ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 char *kwnames[] = {
4239 (char *) "self",(char *) "menu", NULL
4240 };
4241
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4245 if (obj1) {
4246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4248 }
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 (arg1)->DoMenuUpdates(arg2);
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 Py_INCREF(Py_None); resultobj = Py_None;
4257 return resultobj;
4258 fail:
4259 return NULL;
4260 }
4261
4262
4263 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj;
4265 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4266 wxVisualAttributes result;
4267 PyObject * obj0 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "variant", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4273 if (obj0) {
4274 arg1 = (int)SWIG_As_int(obj0);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 {
4278 if (!wxPyCheckForApp()) SWIG_fail;
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 }
4285 {
4286 wxVisualAttributes * resultptr;
4287 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4289 }
4290 return resultobj;
4291 fail:
4292 return NULL;
4293 }
4294
4295
4296 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4297 PyObject *obj;
4298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4299 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4300 Py_INCREF(obj);
4301 return Py_BuildValue((char *)"");
4302 }
4303 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxWindow *arg1 = (wxWindow *) 0 ;
4306 int arg2 = (int) (int)-1 ;
4307 wxString const &arg3_defvalue = wxPyEmptyString ;
4308 wxString *arg3 = (wxString *) &arg3_defvalue ;
4309 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4310 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4311 wxSize const &arg5_defvalue = wxDefaultSize ;
4312 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4313 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4314 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4315 wxString *arg7 = (wxString *) &arg7_defvalue ;
4316 wxDialog *result;
4317 bool temp3 = False ;
4318 wxPoint temp4 ;
4319 wxSize temp5 ;
4320 bool temp7 = False ;
4321 PyObject * obj0 = 0 ;
4322 PyObject * obj1 = 0 ;
4323 PyObject * obj2 = 0 ;
4324 PyObject * obj3 = 0 ;
4325 PyObject * obj4 = 0 ;
4326 PyObject * obj5 = 0 ;
4327 PyObject * obj6 = 0 ;
4328 char *kwnames[] = {
4329 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4335 if (obj1) {
4336 arg2 = (int)SWIG_As_int(obj1);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 if (obj2) {
4340 {
4341 arg3 = wxString_in_helper(obj2);
4342 if (arg3 == NULL) SWIG_fail;
4343 temp3 = True;
4344 }
4345 }
4346 if (obj3) {
4347 {
4348 arg4 = &temp4;
4349 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4350 }
4351 }
4352 if (obj4) {
4353 {
4354 arg5 = &temp5;
4355 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4356 }
4357 }
4358 if (obj5) {
4359 arg6 = (long)SWIG_As_long(obj5);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
4362 if (obj6) {
4363 {
4364 arg7 = wxString_in_helper(obj6);
4365 if (arg7 == NULL) SWIG_fail;
4366 temp7 = True;
4367 }
4368 }
4369 {
4370 if (!wxPyCheckForApp()) SWIG_fail;
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4378 {
4379 if (temp3)
4380 delete arg3;
4381 }
4382 {
4383 if (temp7)
4384 delete arg7;
4385 }
4386 return resultobj;
4387 fail:
4388 {
4389 if (temp3)
4390 delete arg3;
4391 }
4392 {
4393 if (temp7)
4394 delete arg7;
4395 }
4396 return NULL;
4397 }
4398
4399
4400 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4401 PyObject *resultobj;
4402 wxDialog *result;
4403 char *kwnames[] = {
4404 NULL
4405 };
4406
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4408 {
4409 if (!wxPyCheckForApp()) SWIG_fail;
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 result = (wxDialog *)new wxDialog();
4412
4413 wxPyEndAllowThreads(__tstate);
4414 if (PyErr_Occurred()) SWIG_fail;
4415 }
4416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4417 return resultobj;
4418 fail:
4419 return NULL;
4420 }
4421
4422
4423 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4424 PyObject *resultobj;
4425 wxDialog *arg1 = (wxDialog *) 0 ;
4426 wxWindow *arg2 = (wxWindow *) 0 ;
4427 int arg3 = (int) (int)-1 ;
4428 wxString const &arg4_defvalue = wxPyEmptyString ;
4429 wxString *arg4 = (wxString *) &arg4_defvalue ;
4430 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4431 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4432 wxSize const &arg6_defvalue = wxDefaultSize ;
4433 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4434 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4435 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4436 wxString *arg8 = (wxString *) &arg8_defvalue ;
4437 bool result;
4438 bool temp4 = False ;
4439 wxPoint temp5 ;
4440 wxSize temp6 ;
4441 bool temp8 = False ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 PyObject * obj3 = 0 ;
4446 PyObject * obj4 = 0 ;
4447 PyObject * obj5 = 0 ;
4448 PyObject * obj6 = 0 ;
4449 PyObject * obj7 = 0 ;
4450 char *kwnames[] = {
4451 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4452 };
4453
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4459 if (obj2) {
4460 arg3 = (int)SWIG_As_int(obj2);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 if (obj3) {
4464 {
4465 arg4 = wxString_in_helper(obj3);
4466 if (arg4 == NULL) SWIG_fail;
4467 temp4 = True;
4468 }
4469 }
4470 if (obj4) {
4471 {
4472 arg5 = &temp5;
4473 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4474 }
4475 }
4476 if (obj5) {
4477 {
4478 arg6 = &temp6;
4479 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4480 }
4481 }
4482 if (obj6) {
4483 arg7 = (long)SWIG_As_long(obj6);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 if (obj7) {
4487 {
4488 arg8 = wxString_in_helper(obj7);
4489 if (arg8 == NULL) SWIG_fail;
4490 temp8 = True;
4491 }
4492 }
4493 {
4494 PyThreadState* __tstate = wxPyBeginAllowThreads();
4495 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4496
4497 wxPyEndAllowThreads(__tstate);
4498 if (PyErr_Occurred()) SWIG_fail;
4499 }
4500 {
4501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4502 }
4503 {
4504 if (temp4)
4505 delete arg4;
4506 }
4507 {
4508 if (temp8)
4509 delete arg8;
4510 }
4511 return resultobj;
4512 fail:
4513 {
4514 if (temp4)
4515 delete arg4;
4516 }
4517 {
4518 if (temp8)
4519 delete arg8;
4520 }
4521 return NULL;
4522 }
4523
4524
4525 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxDialog *arg1 = (wxDialog *) 0 ;
4528 int arg2 ;
4529 PyObject * obj0 = 0 ;
4530 PyObject * obj1 = 0 ;
4531 char *kwnames[] = {
4532 (char *) "self",(char *) "returnCode", NULL
4533 };
4534
4535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4538 arg2 = (int)SWIG_As_int(obj1);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 (arg1)->SetReturnCode(arg2);
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 Py_INCREF(Py_None); resultobj = Py_None;
4548 return resultobj;
4549 fail:
4550 return NULL;
4551 }
4552
4553
4554 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4555 PyObject *resultobj;
4556 wxDialog *arg1 = (wxDialog *) 0 ;
4557 int result;
4558 PyObject * obj0 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 resultobj = SWIG_From_int((int)result);
4574 return resultobj;
4575 fail:
4576 return NULL;
4577 }
4578
4579
4580 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj;
4582 wxDialog *arg1 = (wxDialog *) 0 ;
4583 wxString *arg2 = 0 ;
4584 wxSizer *result;
4585 bool temp2 = False ;
4586 PyObject * obj0 = 0 ;
4587 PyObject * obj1 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self",(char *) "message", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4595 {
4596 arg2 = wxString_in_helper(obj1);
4597 if (arg2 == NULL) SWIG_fail;
4598 temp2 = True;
4599 }
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4603
4604 wxPyEndAllowThreads(__tstate);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 }
4607 {
4608 resultobj = wxPyMake_wxSizer(result, 0);
4609 }
4610 {
4611 if (temp2)
4612 delete arg2;
4613 }
4614 return resultobj;
4615 fail:
4616 {
4617 if (temp2)
4618 delete arg2;
4619 }
4620 return NULL;
4621 }
4622
4623
4624 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxDialog *arg1 = (wxDialog *) 0 ;
4627 long arg2 ;
4628 wxSizer *result;
4629 PyObject * obj0 = 0 ;
4630 PyObject * obj1 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self",(char *) "flags", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4638 arg2 = (long)SWIG_As_long(obj1);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 {
4648 resultobj = wxPyMake_wxSizer(result, 0);
4649 }
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj;
4658 wxDialog *arg1 = (wxDialog *) 0 ;
4659 bool result;
4660 PyObject * obj0 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "self", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4668 {
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 result = (bool)((wxDialog const *)arg1)->IsModal();
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 {
4676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4677 }
4678 return resultobj;
4679 fail:
4680 return NULL;
4681 }
4682
4683
4684 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj;
4686 wxDialog *arg1 = (wxDialog *) 0 ;
4687 int result;
4688 PyObject * obj0 = 0 ;
4689 char *kwnames[] = {
4690 (char *) "self", NULL
4691 };
4692
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 result = (int)(arg1)->ShowModal();
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 resultobj = SWIG_From_int((int)result);
4704 return resultobj;
4705 fail:
4706 return NULL;
4707 }
4708
4709
4710 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4711 PyObject *resultobj;
4712 wxDialog *arg1 = (wxDialog *) 0 ;
4713 int arg2 ;
4714 PyObject * obj0 = 0 ;
4715 PyObject * obj1 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self",(char *) "retCode", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4723 arg2 = (int)SWIG_As_int(obj1);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 (arg1)->EndModal(arg2);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 Py_INCREF(Py_None); resultobj = Py_None;
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4742 wxVisualAttributes result;
4743 PyObject * obj0 = 0 ;
4744 char *kwnames[] = {
4745 (char *) "variant", NULL
4746 };
4747
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4749 if (obj0) {
4750 arg1 = (int)SWIG_As_int(obj0);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 {
4754 if (!wxPyCheckForApp()) SWIG_fail;
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4757
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 {
4762 wxVisualAttributes * resultptr;
4763 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4764 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4765 }
4766 return resultobj;
4767 fail:
4768 return NULL;
4769 }
4770
4771
4772 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4773 PyObject *obj;
4774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4775 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4776 Py_INCREF(obj);
4777 return Py_BuildValue((char *)"");
4778 }
4779 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4780 PyObject *resultobj;
4781 wxWindow *arg1 = (wxWindow *) 0 ;
4782 int arg2 = (int) (int)-1 ;
4783 wxString const &arg3_defvalue = wxPyEmptyString ;
4784 wxString *arg3 = (wxString *) &arg3_defvalue ;
4785 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4786 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4787 wxSize const &arg5_defvalue = wxDefaultSize ;
4788 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4789 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4790 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4791 wxString *arg7 = (wxString *) &arg7_defvalue ;
4792 wxMiniFrame *result;
4793 bool temp3 = False ;
4794 wxPoint temp4 ;
4795 wxSize temp5 ;
4796 bool temp7 = False ;
4797 PyObject * obj0 = 0 ;
4798 PyObject * obj1 = 0 ;
4799 PyObject * obj2 = 0 ;
4800 PyObject * obj3 = 0 ;
4801 PyObject * obj4 = 0 ;
4802 PyObject * obj5 = 0 ;
4803 PyObject * obj6 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4811 if (obj1) {
4812 arg2 = (int)SWIG_As_int(obj1);
4813 if (PyErr_Occurred()) SWIG_fail;
4814 }
4815 if (obj2) {
4816 {
4817 arg3 = wxString_in_helper(obj2);
4818 if (arg3 == NULL) SWIG_fail;
4819 temp3 = True;
4820 }
4821 }
4822 if (obj3) {
4823 {
4824 arg4 = &temp4;
4825 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4826 }
4827 }
4828 if (obj4) {
4829 {
4830 arg5 = &temp5;
4831 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4832 }
4833 }
4834 if (obj5) {
4835 arg6 = (long)SWIG_As_long(obj5);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 if (obj6) {
4839 {
4840 arg7 = wxString_in_helper(obj6);
4841 if (arg7 == NULL) SWIG_fail;
4842 temp7 = True;
4843 }
4844 }
4845 {
4846 if (!wxPyCheckForApp()) SWIG_fail;
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
4853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4854 {
4855 if (temp3)
4856 delete arg3;
4857 }
4858 {
4859 if (temp7)
4860 delete arg7;
4861 }
4862 return resultobj;
4863 fail:
4864 {
4865 if (temp3)
4866 delete arg3;
4867 }
4868 {
4869 if (temp7)
4870 delete arg7;
4871 }
4872 return NULL;
4873 }
4874
4875
4876 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4877 PyObject *resultobj;
4878 wxMiniFrame *result;
4879 char *kwnames[] = {
4880 NULL
4881 };
4882
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4884 {
4885 if (!wxPyCheckForApp()) SWIG_fail;
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 result = (wxMiniFrame *)new wxMiniFrame();
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4893 return resultobj;
4894 fail:
4895 return NULL;
4896 }
4897
4898
4899 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4900 PyObject *resultobj;
4901 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4902 wxWindow *arg2 = (wxWindow *) 0 ;
4903 int arg3 = (int) (int)-1 ;
4904 wxString const &arg4_defvalue = wxPyEmptyString ;
4905 wxString *arg4 = (wxString *) &arg4_defvalue ;
4906 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4907 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4908 wxSize const &arg6_defvalue = wxDefaultSize ;
4909 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4910 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4911 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4912 wxString *arg8 = (wxString *) &arg8_defvalue ;
4913 bool result;
4914 bool temp4 = False ;
4915 wxPoint temp5 ;
4916 wxSize temp6 ;
4917 bool temp8 = False ;
4918 PyObject * obj0 = 0 ;
4919 PyObject * obj1 = 0 ;
4920 PyObject * obj2 = 0 ;
4921 PyObject * obj3 = 0 ;
4922 PyObject * obj4 = 0 ;
4923 PyObject * obj5 = 0 ;
4924 PyObject * obj6 = 0 ;
4925 PyObject * obj7 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4933 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4935 if (obj2) {
4936 arg3 = (int)SWIG_As_int(obj2);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 if (obj3) {
4940 {
4941 arg4 = wxString_in_helper(obj3);
4942 if (arg4 == NULL) SWIG_fail;
4943 temp4 = True;
4944 }
4945 }
4946 if (obj4) {
4947 {
4948 arg5 = &temp5;
4949 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4950 }
4951 }
4952 if (obj5) {
4953 {
4954 arg6 = &temp6;
4955 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4956 }
4957 }
4958 if (obj6) {
4959 arg7 = (long)SWIG_As_long(obj6);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 if (obj7) {
4963 {
4964 arg8 = wxString_in_helper(obj7);
4965 if (arg8 == NULL) SWIG_fail;
4966 temp8 = True;
4967 }
4968 }
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 {
4977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4978 }
4979 {
4980 if (temp4)
4981 delete arg4;
4982 }
4983 {
4984 if (temp8)
4985 delete arg8;
4986 }
4987 return resultobj;
4988 fail:
4989 {
4990 if (temp4)
4991 delete arg4;
4992 }
4993 {
4994 if (temp8)
4995 delete arg8;
4996 }
4997 return NULL;
4998 }
4999
5000
5001 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
5002 PyObject *obj;
5003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5004 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
5005 Py_INCREF(obj);
5006 return Py_BuildValue((char *)"");
5007 }
5008 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5009 PyObject *resultobj;
5010 wxBitmap *arg1 = 0 ;
5011 wxWindow *arg2 = (wxWindow *) 0 ;
5012 int arg3 ;
5013 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5014 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5015 wxSize const &arg5_defvalue = wxDefaultSize ;
5016 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5017 long arg6 = (long) wxNO_BORDER ;
5018 wxSplashScreenWindow *result;
5019 wxPoint temp4 ;
5020 wxSize temp5 ;
5021 PyObject * obj0 = 0 ;
5022 PyObject * obj1 = 0 ;
5023 PyObject * obj2 = 0 ;
5024 PyObject * obj3 = 0 ;
5025 PyObject * obj4 = 0 ;
5026 PyObject * obj5 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1)
5034 SWIG_fail;
5035 if (arg1 == NULL) {
5036 PyErr_SetString(PyExc_TypeError,"null reference");
5037 SWIG_fail;
5038 }
5039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5041 arg3 = (int)SWIG_As_int(obj2);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 if (obj3) {
5044 {
5045 arg4 = &temp4;
5046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5047 }
5048 }
5049 if (obj4) {
5050 {
5051 arg5 = &temp5;
5052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5053 }
5054 }
5055 if (obj5) {
5056 arg6 = (long)SWIG_As_long(obj5);
5057 if (PyErr_Occurred()) SWIG_fail;
5058 }
5059 {
5060 if (!wxPyCheckForApp()) SWIG_fail;
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
5067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5068 return resultobj;
5069 fail:
5070 return NULL;
5071 }
5072
5073
5074 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj;
5076 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5077 wxBitmap *arg2 = 0 ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "self",(char *) "bitmap", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5088 SWIG_POINTER_EXCEPTION | 0)) == -1)
5089 SWIG_fail;
5090 if (arg2 == NULL) {
5091 PyErr_SetString(PyExc_TypeError,"null reference");
5092 SWIG_fail;
5093 }
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 Py_INCREF(Py_None); resultobj = Py_None;
5102 return resultobj;
5103 fail:
5104 return NULL;
5105 }
5106
5107
5108 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5111 wxBitmap *result;
5112 PyObject * obj0 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 {
5123 wxBitmap &_result_ref = (arg1)->GetBitmap();
5124 result = (wxBitmap *) &_result_ref;
5125 }
5126
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 {
5131 wxBitmap* resultptr = new wxBitmap(*result);
5132 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5133 }
5134 return resultobj;
5135 fail:
5136 return NULL;
5137 }
5138
5139
5140 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5141 PyObject *obj;
5142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5143 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5144 Py_INCREF(obj);
5145 return Py_BuildValue((char *)"");
5146 }
5147 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj;
5149 wxBitmap *arg1 = 0 ;
5150 long arg2 ;
5151 int arg3 ;
5152 wxWindow *arg4 = (wxWindow *) 0 ;
5153 int arg5 = (int) -1 ;
5154 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5155 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5156 wxSize const &arg7_defvalue = wxDefaultSize ;
5157 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5158 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5159 wxSplashScreen *result;
5160 wxPoint temp6 ;
5161 wxSize temp7 ;
5162 PyObject * obj0 = 0 ;
5163 PyObject * obj1 = 0 ;
5164 PyObject * obj2 = 0 ;
5165 PyObject * obj3 = 0 ;
5166 PyObject * obj4 = 0 ;
5167 PyObject * obj5 = 0 ;
5168 PyObject * obj6 = 0 ;
5169 PyObject * obj7 = 0 ;
5170 char *kwnames[] = {
5171 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5172 };
5173
5174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5176 SWIG_POINTER_EXCEPTION | 0)) == -1)
5177 SWIG_fail;
5178 if (arg1 == NULL) {
5179 PyErr_SetString(PyExc_TypeError,"null reference");
5180 SWIG_fail;
5181 }
5182 arg2 = (long)SWIG_As_long(obj1);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 arg3 = (int)SWIG_As_int(obj2);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5188 if (obj4) {
5189 arg5 = (int)SWIG_As_int(obj4);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
5192 if (obj5) {
5193 {
5194 arg6 = &temp6;
5195 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5196 }
5197 }
5198 if (obj6) {
5199 {
5200 arg7 = &temp7;
5201 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5202 }
5203 }
5204 if (obj7) {
5205 arg8 = (long)SWIG_As_long(obj7);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 {
5209 if (!wxPyCheckForApp()) SWIG_fail;
5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
5211 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5212
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
5216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5217 return resultobj;
5218 fail:
5219 return NULL;
5220 }
5221
5222
5223 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5224 PyObject *resultobj;
5225 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5226 long result;
5227 PyObject * obj0 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 resultobj = SWIG_From_long((long)result);
5243 return resultobj;
5244 fail:
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5252 wxSplashScreenWindow *result;
5253 PyObject * obj0 = 0 ;
5254 char *kwnames[] = {
5255 (char *) "self", NULL
5256 };
5257
5258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5261 {
5262 PyThreadState* __tstate = wxPyBeginAllowThreads();
5263 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5264
5265 wxPyEndAllowThreads(__tstate);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5269 return resultobj;
5270 fail:
5271 return NULL;
5272 }
5273
5274
5275 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5278 int result;
5279 PyObject * obj0 = 0 ;
5280 char *kwnames[] = {
5281 (char *) "self", NULL
5282 };
5283
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 resultobj = SWIG_From_int((int)result);
5295 return resultobj;
5296 fail:
5297 return NULL;
5298 }
5299
5300
5301 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5302 PyObject *obj;
5303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5304 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5305 Py_INCREF(obj);
5306 return Py_BuildValue((char *)"");
5307 }
5308 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5309 PyObject *resultobj;
5310 wxWindow *arg1 = (wxWindow *) 0 ;
5311 int arg2 = (int) -1 ;
5312 long arg3 = (long) wxST_SIZEGRIP ;
5313 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5314 wxString *arg4 = (wxString *) &arg4_defvalue ;
5315 wxStatusBar *result;
5316 bool temp4 = False ;
5317 PyObject * obj0 = 0 ;
5318 PyObject * obj1 = 0 ;
5319 PyObject * obj2 = 0 ;
5320 PyObject * obj3 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5328 if (obj1) {
5329 arg2 = (int)SWIG_As_int(obj1);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 if (obj2) {
5333 arg3 = (long)SWIG_As_long(obj2);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 if (obj3) {
5337 {
5338 arg4 = wxString_in_helper(obj3);
5339 if (arg4 == NULL) SWIG_fail;
5340 temp4 = True;
5341 }
5342 }
5343 {
5344 if (!wxPyCheckForApp()) SWIG_fail;
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5352 {
5353 if (temp4)
5354 delete arg4;
5355 }
5356 return resultobj;
5357 fail:
5358 {
5359 if (temp4)
5360 delete arg4;
5361 }
5362 return NULL;
5363 }
5364
5365
5366 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxStatusBar *result;
5369 char *kwnames[] = {
5370 NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5374 {
5375 if (!wxPyCheckForApp()) SWIG_fail;
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (wxStatusBar *)new wxStatusBar();
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5383 return resultobj;
5384 fail:
5385 return NULL;
5386 }
5387
5388
5389 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5390 PyObject *resultobj;
5391 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5392 wxWindow *arg2 = (wxWindow *) 0 ;
5393 int arg3 = (int) -1 ;
5394 long arg4 = (long) wxST_SIZEGRIP ;
5395 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5396 wxString *arg5 = (wxString *) &arg5_defvalue ;
5397 bool result;
5398 bool temp5 = False ;
5399 PyObject * obj0 = 0 ;
5400 PyObject * obj1 = 0 ;
5401 PyObject * obj2 = 0 ;
5402 PyObject * obj3 = 0 ;
5403 PyObject * obj4 = 0 ;
5404 char *kwnames[] = {
5405 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5406 };
5407
5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5413 if (obj2) {
5414 arg3 = (int)SWIG_As_int(obj2);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 if (obj3) {
5418 arg4 = (long)SWIG_As_long(obj3);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 if (obj4) {
5422 {
5423 arg5 = wxString_in_helper(obj4);
5424 if (arg5 == NULL) SWIG_fail;
5425 temp5 = True;
5426 }
5427 }
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 {
5436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5437 }
5438 {
5439 if (temp5)
5440 delete arg5;
5441 }
5442 return resultobj;
5443 fail:
5444 {
5445 if (temp5)
5446 delete arg5;
5447 }
5448 return NULL;
5449 }
5450
5451
5452 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5455 int arg2 = (int) 1 ;
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self",(char *) "number", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5465 if (obj1) {
5466 arg2 = (int)SWIG_As_int(obj1);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 (arg1)->SetFieldsCount(arg2);
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 Py_INCREF(Py_None); resultobj = Py_None;
5477 return resultobj;
5478 fail:
5479 return NULL;
5480 }
5481
5482
5483 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5484 PyObject *resultobj;
5485 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5486 int result;
5487 PyObject * obj0 = 0 ;
5488 char *kwnames[] = {
5489 (char *) "self", NULL
5490 };
5491
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5495 {
5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
5497 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5498
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
5502 resultobj = SWIG_From_int((int)result);
5503 return resultobj;
5504 fail:
5505 return NULL;
5506 }
5507
5508
5509 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5510 PyObject *resultobj;
5511 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5512 wxString *arg2 = 0 ;
5513 int arg3 = (int) 0 ;
5514 bool temp2 = False ;
5515 PyObject * obj0 = 0 ;
5516 PyObject * obj1 = 0 ;
5517 PyObject * obj2 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "text",(char *) "number", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5525 {
5526 arg2 = wxString_in_helper(obj1);
5527 if (arg2 == NULL) SWIG_fail;
5528 temp2 = True;
5529 }
5530 if (obj2) {
5531 arg3 = (int)SWIG_As_int(obj2);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
5541 Py_INCREF(Py_None); resultobj = Py_None;
5542 {
5543 if (temp2)
5544 delete arg2;
5545 }
5546 return resultobj;
5547 fail:
5548 {
5549 if (temp2)
5550 delete arg2;
5551 }
5552 return NULL;
5553 }
5554
5555
5556 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5559 int arg2 = (int) 0 ;
5560 wxString result;
5561 PyObject * obj0 = 0 ;
5562 PyObject * obj1 = 0 ;
5563 char *kwnames[] = {
5564 (char *) "self",(char *) "number", NULL
5565 };
5566
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5570 if (obj1) {
5571 arg2 = (int)SWIG_As_int(obj1);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 {
5575 PyThreadState* __tstate = wxPyBeginAllowThreads();
5576 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5577
5578 wxPyEndAllowThreads(__tstate);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 }
5581 {
5582 #if wxUSE_UNICODE
5583 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5584 #else
5585 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5586 #endif
5587 }
5588 return resultobj;
5589 fail:
5590 return NULL;
5591 }
5592
5593
5594 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5595 PyObject *resultobj;
5596 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5597 wxString *arg2 = 0 ;
5598 int arg3 = (int) 0 ;
5599 bool temp2 = False ;
5600 PyObject * obj0 = 0 ;
5601 PyObject * obj1 = 0 ;
5602 PyObject * obj2 = 0 ;
5603 char *kwnames[] = {
5604 (char *) "self",(char *) "text",(char *) "number", NULL
5605 };
5606
5607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5610 {
5611 arg2 = wxString_in_helper(obj1);
5612 if (arg2 == NULL) SWIG_fail;
5613 temp2 = True;
5614 }
5615 if (obj2) {
5616 arg3 = (int)SWIG_As_int(obj2);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 {
5620 PyThreadState* __tstate = wxPyBeginAllowThreads();
5621 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5622
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 Py_INCREF(Py_None); resultobj = Py_None;
5627 {
5628 if (temp2)
5629 delete arg2;
5630 }
5631 return resultobj;
5632 fail:
5633 {
5634 if (temp2)
5635 delete arg2;
5636 }
5637 return NULL;
5638 }
5639
5640
5641 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj;
5643 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5644 int arg2 = (int) 0 ;
5645 PyObject * obj0 = 0 ;
5646 PyObject * obj1 = 0 ;
5647 char *kwnames[] = {
5648 (char *) "self",(char *) "number", NULL
5649 };
5650
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5654 if (obj1) {
5655 arg2 = (int)SWIG_As_int(obj1);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 }
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 (arg1)->PopStatusText(arg2);
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 Py_INCREF(Py_None); resultobj = Py_None;
5666 return resultobj;
5667 fail:
5668 return NULL;
5669 }
5670
5671
5672 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5673 PyObject *resultobj;
5674 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5675 int arg2 ;
5676 int *arg3 = (int *) 0 ;
5677 PyObject * obj0 = 0 ;
5678 PyObject * obj1 = 0 ;
5679 char *kwnames[] = {
5680 (char *) "self",(char *) "widths", NULL
5681 };
5682
5683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5686 {
5687 arg2 = PyList_Size(obj1);
5688 arg3 = int_LIST_helper(obj1);
5689 if (arg3 == NULL) SWIG_fail;
5690 }
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 Py_INCREF(Py_None); resultobj = Py_None;
5699 {
5700 if (arg3) delete [] arg3;
5701 }
5702 return resultobj;
5703 fail:
5704 {
5705 if (arg3) delete [] arg3;
5706 }
5707 return NULL;
5708 }
5709
5710
5711 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5712 PyObject *resultobj;
5713 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5714 int arg2 ;
5715 int *arg3 = (int *) 0 ;
5716 PyObject * obj0 = 0 ;
5717 PyObject * obj1 = 0 ;
5718 char *kwnames[] = {
5719 (char *) "self",(char *) "styles", NULL
5720 };
5721
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5725 {
5726 arg2 = PyList_Size(obj1);
5727 arg3 = int_LIST_helper(obj1);
5728 if (arg3 == NULL) SWIG_fail;
5729 }
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 Py_INCREF(Py_None); resultobj = Py_None;
5738 {
5739 if (arg3) delete [] arg3;
5740 }
5741 return resultobj;
5742 fail:
5743 {
5744 if (arg3) delete [] arg3;
5745 }
5746 return NULL;
5747 }
5748
5749
5750 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj;
5752 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5753 int arg2 ;
5754 wxRect result;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self",(char *) "i", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5764 arg2 = (int)SWIG_As_int(obj1);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 result = wxStatusBar_GetFieldRect(arg1,arg2);
5769
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 {
5774 wxRect * resultptr;
5775 resultptr = new wxRect((wxRect &) result);
5776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5777 }
5778 return resultobj;
5779 fail:
5780 return NULL;
5781 }
5782
5783
5784 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5787 int arg2 ;
5788 PyObject * obj0 = 0 ;
5789 PyObject * obj1 = 0 ;
5790 char *kwnames[] = {
5791 (char *) "self",(char *) "height", NULL
5792 };
5793
5794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5797 arg2 = (int)SWIG_As_int(obj1);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 (arg1)->SetMinHeight(arg2);
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 }
5806 Py_INCREF(Py_None); resultobj = Py_None;
5807 return resultobj;
5808 fail:
5809 return NULL;
5810 }
5811
5812
5813 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5816 int result;
5817 PyObject * obj0 = 0 ;
5818 char *kwnames[] = {
5819 (char *) "self", NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5825 {
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5828
5829 wxPyEndAllowThreads(__tstate);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 resultobj = SWIG_From_int((int)result);
5833 return resultobj;
5834 fail:
5835 return NULL;
5836 }
5837
5838
5839 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5840 PyObject *resultobj;
5841 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5842 int result;
5843 PyObject * obj0 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5854
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 resultobj = SWIG_From_int((int)result);
5859 return resultobj;
5860 fail:
5861 return NULL;
5862 }
5863
5864
5865 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5866 PyObject *resultobj;
5867 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5868 wxVisualAttributes result;
5869 PyObject * obj0 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "variant", NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5875 if (obj0) {
5876 arg1 = (int)SWIG_As_int(obj0);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 {
5880 if (!wxPyCheckForApp()) SWIG_fail;
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 {
5888 wxVisualAttributes * resultptr;
5889 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5891 }
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5899 PyObject *obj;
5900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5901 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5902 Py_INCREF(obj);
5903 return Py_BuildValue((char *)"");
5904 }
5905 static int _wrap_SplitterNameStr_set(PyObject *) {
5906 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5907 return 1;
5908 }
5909
5910
5911 static PyObject *_wrap_SplitterNameStr_get() {
5912 PyObject *pyobj;
5913
5914 {
5915 #if wxUSE_UNICODE
5916 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5917 #else
5918 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5919 #endif
5920 }
5921 return pyobj;
5922 }
5923
5924
5925 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxWindow *arg1 = (wxWindow *) 0 ;
5928 int arg2 = (int) -1 ;
5929 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5930 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5931 wxSize const &arg4_defvalue = wxDefaultSize ;
5932 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5933 long arg5 = (long) wxSP_3D ;
5934 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5935 wxString *arg6 = (wxString *) &arg6_defvalue ;
5936 wxSplitterWindow *result;
5937 wxPoint temp3 ;
5938 wxSize temp4 ;
5939 bool temp6 = False ;
5940 PyObject * obj0 = 0 ;
5941 PyObject * obj1 = 0 ;
5942 PyObject * obj2 = 0 ;
5943 PyObject * obj3 = 0 ;
5944 PyObject * obj4 = 0 ;
5945 PyObject * obj5 = 0 ;
5946 char *kwnames[] = {
5947 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5948 };
5949
5950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5953 if (obj1) {
5954 arg2 = (int)SWIG_As_int(obj1);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 if (obj2) {
5958 {
5959 arg3 = &temp3;
5960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5961 }
5962 }
5963 if (obj3) {
5964 {
5965 arg4 = &temp4;
5966 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5967 }
5968 }
5969 if (obj4) {
5970 arg5 = (long)SWIG_As_long(obj4);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 if (obj5) {
5974 {
5975 arg6 = wxString_in_helper(obj5);
5976 if (arg6 == NULL) SWIG_fail;
5977 temp6 = True;
5978 }
5979 }
5980 {
5981 if (!wxPyCheckForApp()) SWIG_fail;
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5989 {
5990 if (temp6)
5991 delete arg6;
5992 }
5993 return resultobj;
5994 fail:
5995 {
5996 if (temp6)
5997 delete arg6;
5998 }
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxSplitterWindow *result;
6006 char *kwnames[] = {
6007 NULL
6008 };
6009
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
6011 {
6012 if (!wxPyCheckForApp()) SWIG_fail;
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 result = (wxSplitterWindow *)new wxSplitterWindow();
6015
6016 wxPyEndAllowThreads(__tstate);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
6019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6020 return resultobj;
6021 fail:
6022 return NULL;
6023 }
6024
6025
6026 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6027 PyObject *resultobj;
6028 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6029 wxWindow *arg2 = (wxWindow *) 0 ;
6030 int arg3 = (int) -1 ;
6031 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6032 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6033 wxSize const &arg5_defvalue = wxDefaultSize ;
6034 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6035 long arg6 = (long) wxSP_3D ;
6036 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6037 wxString *arg7 = (wxString *) &arg7_defvalue ;
6038 bool result;
6039 wxPoint temp4 ;
6040 wxSize temp5 ;
6041 bool temp7 = False ;
6042 PyObject * obj0 = 0 ;
6043 PyObject * obj1 = 0 ;
6044 PyObject * obj2 = 0 ;
6045 PyObject * obj3 = 0 ;
6046 PyObject * obj4 = 0 ;
6047 PyObject * obj5 = 0 ;
6048 PyObject * obj6 = 0 ;
6049 char *kwnames[] = {
6050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6058 if (obj2) {
6059 arg3 = (int)SWIG_As_int(obj2);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 if (obj3) {
6063 {
6064 arg4 = &temp4;
6065 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6066 }
6067 }
6068 if (obj4) {
6069 {
6070 arg5 = &temp5;
6071 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6072 }
6073 }
6074 if (obj5) {
6075 arg6 = (long)SWIG_As_long(obj5);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 if (obj6) {
6079 {
6080 arg7 = wxString_in_helper(obj6);
6081 if (arg7 == NULL) SWIG_fail;
6082 temp7 = True;
6083 }
6084 }
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 {
6093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6094 }
6095 {
6096 if (temp7)
6097 delete arg7;
6098 }
6099 return resultobj;
6100 fail:
6101 {
6102 if (temp7)
6103 delete arg7;
6104 }
6105 return NULL;
6106 }
6107
6108
6109 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj;
6111 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6112 wxWindow *result;
6113 PyObject * obj0 = 0 ;
6114 char *kwnames[] = {
6115 (char *) "self", NULL
6116 };
6117
6118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 {
6129 resultobj = wxPyMake_wxObject(result, 0);
6130 }
6131 return resultobj;
6132 fail:
6133 return NULL;
6134 }
6135
6136
6137 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj;
6139 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6140 wxWindow *result;
6141 PyObject * obj0 = 0 ;
6142 char *kwnames[] = {
6143 (char *) "self", NULL
6144 };
6145
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6149 {
6150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6151 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6152
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 {
6157 resultobj = wxPyMake_wxObject(result, 0);
6158 }
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj;
6167 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6168 int arg2 ;
6169 PyObject * obj0 = 0 ;
6170 PyObject * obj1 = 0 ;
6171 char *kwnames[] = {
6172 (char *) "self",(char *) "mode", NULL
6173 };
6174
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6178 arg2 = (int)SWIG_As_int(obj1);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 (arg1)->SetSplitMode(arg2);
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 Py_INCREF(Py_None); resultobj = Py_None;
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6197 int result;
6198 PyObject * obj0 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "self", NULL
6201 };
6202
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = SWIG_From_int((int)result);
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6223 wxWindow *arg2 = (wxWindow *) 0 ;
6224 PyObject * obj0 = 0 ;
6225 PyObject * obj1 = 0 ;
6226 char *kwnames[] = {
6227 (char *) "self",(char *) "window", NULL
6228 };
6229
6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 (arg1)->Initialize(arg2);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 Py_INCREF(Py_None); resultobj = Py_None;
6243 return resultobj;
6244 fail:
6245 return NULL;
6246 }
6247
6248
6249 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6250 PyObject *resultobj;
6251 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6252 wxWindow *arg2 = (wxWindow *) 0 ;
6253 wxWindow *arg3 = (wxWindow *) 0 ;
6254 int arg4 = (int) 0 ;
6255 bool result;
6256 PyObject * obj0 = 0 ;
6257 PyObject * obj1 = 0 ;
6258 PyObject * obj2 = 0 ;
6259 PyObject * obj3 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6269 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6271 if (obj3) {
6272 arg4 = (int)SWIG_As_int(obj3);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 {
6283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6284 }
6285 return resultobj;
6286 fail:
6287 return NULL;
6288 }
6289
6290
6291 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj;
6293 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6294 wxWindow *arg2 = (wxWindow *) 0 ;
6295 wxWindow *arg3 = (wxWindow *) 0 ;
6296 int arg4 = (int) 0 ;
6297 bool result;
6298 PyObject * obj0 = 0 ;
6299 PyObject * obj1 = 0 ;
6300 PyObject * obj2 = 0 ;
6301 PyObject * obj3 = 0 ;
6302 char *kwnames[] = {
6303 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6311 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6313 if (obj3) {
6314 arg4 = (int)SWIG_As_int(obj3);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 {
6325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6326 }
6327 return resultobj;
6328 fail:
6329 return NULL;
6330 }
6331
6332
6333 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6334 PyObject *resultobj;
6335 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6336 wxWindow *arg2 = (wxWindow *) NULL ;
6337 bool result;
6338 PyObject * obj0 = 0 ;
6339 PyObject * obj1 = 0 ;
6340 char *kwnames[] = {
6341 (char *) "self",(char *) "toRemove", NULL
6342 };
6343
6344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6347 if (obj1) {
6348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6350 }
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (bool)(arg1)->Unsplit(arg2);
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 {
6359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6360 }
6361 return resultobj;
6362 fail:
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6370 wxWindow *arg2 = (wxWindow *) 0 ;
6371 wxWindow *arg3 = (wxWindow *) 0 ;
6372 bool result;
6373 PyObject * obj0 = 0 ;
6374 PyObject * obj1 = 0 ;
6375 PyObject * obj2 = 0 ;
6376 char *kwnames[] = {
6377 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6385 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6390
6391 wxPyEndAllowThreads(__tstate);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 }
6394 {
6395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6396 }
6397 return resultobj;
6398 fail:
6399 return NULL;
6400 }
6401
6402
6403 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj;
6405 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6406 PyObject * obj0 = 0 ;
6407 char *kwnames[] = {
6408 (char *) "self", NULL
6409 };
6410
6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->UpdateSize();
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 Py_INCREF(Py_None); resultobj = Py_None;
6422 return resultobj;
6423 fail:
6424 return NULL;
6425 }
6426
6427
6428 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj;
6430 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6431 bool result;
6432 PyObject * obj0 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "self", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 {
6448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6449 }
6450 return resultobj;
6451 fail:
6452 return NULL;
6453 }
6454
6455
6456 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6459 int arg2 ;
6460 PyObject * obj0 = 0 ;
6461 PyObject * obj1 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self",(char *) "width", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6469 arg2 = (int)SWIG_As_int(obj1);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 (arg1)->SetSashSize(arg2);
6474
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 Py_INCREF(Py_None); resultobj = Py_None;
6479 return resultobj;
6480 fail:
6481 return NULL;
6482 }
6483
6484
6485 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj;
6487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6488 int arg2 ;
6489 PyObject * obj0 = 0 ;
6490 PyObject * obj1 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "self",(char *) "width", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6498 arg2 = (int)SWIG_As_int(obj1);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 (arg1)->SetBorderSize(arg2);
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 Py_INCREF(Py_None); resultobj = Py_None;
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6517 int result;
6518 PyObject * obj0 = 0 ;
6519 char *kwnames[] = {
6520 (char *) "self", NULL
6521 };
6522
6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 resultobj = SWIG_From_int((int)result);
6534 return resultobj;
6535 fail:
6536 return NULL;
6537 }
6538
6539
6540 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6541 PyObject *resultobj;
6542 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6543 int result;
6544 PyObject * obj0 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 resultobj = SWIG_From_int((int)result);
6560 return resultobj;
6561 fail:
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6569 int arg2 ;
6570 bool arg3 = (bool) True ;
6571 PyObject * obj0 = 0 ;
6572 PyObject * obj1 = 0 ;
6573 PyObject * obj2 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self",(char *) "position",(char *) "redraw", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6581 arg2 = (int)SWIG_As_int(obj1);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 if (obj2) {
6584 arg3 = (bool)SWIG_As_bool(obj2);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 (arg1)->SetSashPosition(arg2,arg3);
6590
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 Py_INCREF(Py_None); resultobj = Py_None;
6595 return resultobj;
6596 fail:
6597 return NULL;
6598 }
6599
6600
6601 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6602 PyObject *resultobj;
6603 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6604 int result;
6605 PyObject * obj0 = 0 ;
6606 char *kwnames[] = {
6607 (char *) "self", NULL
6608 };
6609
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6616
6617 wxPyEndAllowThreads(__tstate);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 resultobj = SWIG_From_int((int)result);
6621 return resultobj;
6622 fail:
6623 return NULL;
6624 }
6625
6626
6627 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj;
6629 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6630 int arg2 ;
6631 PyObject * obj0 = 0 ;
6632 PyObject * obj1 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self",(char *) "min", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6640 arg2 = (int)SWIG_As_int(obj1);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 (arg1)->SetMinimumPaneSize(arg2);
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 Py_INCREF(Py_None); resultobj = Py_None;
6650 return resultobj;
6651 fail:
6652 return NULL;
6653 }
6654
6655
6656 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6659 int result;
6660 PyObject * obj0 = 0 ;
6661 char *kwnames[] = {
6662 (char *) "self", NULL
6663 };
6664
6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 resultobj = SWIG_From_int((int)result);
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj;
6684 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6685 int arg2 ;
6686 int arg3 ;
6687 int arg4 = (int) 5 ;
6688 bool result;
6689 PyObject * obj0 = 0 ;
6690 PyObject * obj1 = 0 ;
6691 PyObject * obj2 = 0 ;
6692 PyObject * obj3 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6700 arg2 = (int)SWIG_As_int(obj1);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 arg3 = (int)SWIG_As_int(obj2);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 if (obj3) {
6705 arg4 = (int)SWIG_As_int(obj3);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 {
6716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6717 }
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj;
6726 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6727 PyObject * obj0 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 (arg1)->SizeWindows();
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 Py_INCREF(Py_None); resultobj = Py_None;
6743 return resultobj;
6744 fail:
6745 return NULL;
6746 }
6747
6748
6749 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj;
6751 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6752 bool arg2 ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "self",(char *) "needUpdating", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6762 arg2 = (bool)SWIG_As_bool(obj1);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 {
6765 PyThreadState* __tstate = wxPyBeginAllowThreads();
6766 (arg1)->SetNeedUpdating(arg2);
6767
6768 wxPyEndAllowThreads(__tstate);
6769 if (PyErr_Occurred()) SWIG_fail;
6770 }
6771 Py_INCREF(Py_None); resultobj = Py_None;
6772 return resultobj;
6773 fail:
6774 return NULL;
6775 }
6776
6777
6778 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6779 PyObject *resultobj;
6780 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6781 bool result;
6782 PyObject * obj0 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 {
6798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6799 }
6800 return resultobj;
6801 fail:
6802 return NULL;
6803 }
6804
6805
6806 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6807 PyObject *resultobj;
6808 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6809 wxVisualAttributes result;
6810 PyObject * obj0 = 0 ;
6811 char *kwnames[] = {
6812 (char *) "variant", NULL
6813 };
6814
6815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6816 if (obj0) {
6817 arg1 = (int)SWIG_As_int(obj0);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 {
6821 if (!wxPyCheckForApp()) SWIG_fail;
6822 PyThreadState* __tstate = wxPyBeginAllowThreads();
6823 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6824
6825 wxPyEndAllowThreads(__tstate);
6826 if (PyErr_Occurred()) SWIG_fail;
6827 }
6828 {
6829 wxVisualAttributes * resultptr;
6830 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6832 }
6833 return resultobj;
6834 fail:
6835 return NULL;
6836 }
6837
6838
6839 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6840 PyObject *obj;
6841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6842 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6843 Py_INCREF(obj);
6844 return Py_BuildValue((char *)"");
6845 }
6846 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6847 PyObject *resultobj;
6848 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6849 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6850 wxSplitterEvent *result;
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "type",(char *) "splitter", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6858 if (obj0) {
6859 arg1 = (wxEventType)SWIG_As_int(obj0);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 if (obj1) {
6863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6883 int arg2 ;
6884 PyObject * obj0 = 0 ;
6885 PyObject * obj1 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self",(char *) "pos", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6893 arg2 = (int)SWIG_As_int(obj1);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 (arg1)->SetSashPosition(arg2);
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 Py_INCREF(Py_None); resultobj = Py_None;
6903 return resultobj;
6904 fail:
6905 return NULL;
6906 }
6907
6908
6909 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6910 PyObject *resultobj;
6911 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6912 int result;
6913 PyObject * obj0 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 resultobj = SWIG_From_int((int)result);
6929 return resultobj;
6930 fail:
6931 return NULL;
6932 }
6933
6934
6935 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6938 wxWindow *result;
6939 PyObject * obj0 = 0 ;
6940 char *kwnames[] = {
6941 (char *) "self", NULL
6942 };
6943
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6947 {
6948 PyThreadState* __tstate = wxPyBeginAllowThreads();
6949 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6950
6951 wxPyEndAllowThreads(__tstate);
6952 if (PyErr_Occurred()) SWIG_fail;
6953 }
6954 {
6955 resultobj = wxPyMake_wxObject(result, 0);
6956 }
6957 return resultobj;
6958 fail:
6959 return NULL;
6960 }
6961
6962
6963 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj;
6965 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6966 int result;
6967 PyObject * obj0 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 resultobj = SWIG_From_int((int)result);
6983 return resultobj;
6984 fail:
6985 return NULL;
6986 }
6987
6988
6989 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6990 PyObject *resultobj;
6991 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6992 int result;
6993 PyObject * obj0 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 result = (int)((wxSplitterEvent const *)arg1)->GetY();
7004
7005 wxPyEndAllowThreads(__tstate);
7006 if (PyErr_Occurred()) SWIG_fail;
7007 }
7008 resultobj = SWIG_From_int((int)result);
7009 return resultobj;
7010 fail:
7011 return NULL;
7012 }
7013
7014
7015 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
7016 PyObject *obj;
7017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7018 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7019 Py_INCREF(obj);
7020 return Py_BuildValue((char *)"");
7021 }
7022 static int _wrap_SashNameStr_set(PyObject *) {
7023 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7024 return 1;
7025 }
7026
7027
7028 static PyObject *_wrap_SashNameStr_get() {
7029 PyObject *pyobj;
7030
7031 {
7032 #if wxUSE_UNICODE
7033 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7034 #else
7035 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7036 #endif
7037 }
7038 return pyobj;
7039 }
7040
7041
7042 static int _wrap_SashLayoutNameStr_set(PyObject *) {
7043 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7044 return 1;
7045 }
7046
7047
7048 static PyObject *_wrap_SashLayoutNameStr_get() {
7049 PyObject *pyobj;
7050
7051 {
7052 #if wxUSE_UNICODE
7053 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7054 #else
7055 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7056 #endif
7057 }
7058 return pyobj;
7059 }
7060
7061
7062 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj;
7064 wxWindow *arg1 = (wxWindow *) 0 ;
7065 int arg2 = (int) -1 ;
7066 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7067 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7068 wxSize const &arg4_defvalue = wxDefaultSize ;
7069 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7070 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7071 wxString const &arg6_defvalue = wxPySashNameStr ;
7072 wxString *arg6 = (wxString *) &arg6_defvalue ;
7073 wxSashWindow *result;
7074 wxPoint temp3 ;
7075 wxSize temp4 ;
7076 bool temp6 = False ;
7077 PyObject * obj0 = 0 ;
7078 PyObject * obj1 = 0 ;
7079 PyObject * obj2 = 0 ;
7080 PyObject * obj3 = 0 ;
7081 PyObject * obj4 = 0 ;
7082 PyObject * obj5 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7090 if (obj1) {
7091 arg2 = (int)SWIG_As_int(obj1);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 if (obj2) {
7095 {
7096 arg3 = &temp3;
7097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7098 }
7099 }
7100 if (obj3) {
7101 {
7102 arg4 = &temp4;
7103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7104 }
7105 }
7106 if (obj4) {
7107 arg5 = (long)SWIG_As_long(obj4);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 if (obj5) {
7111 {
7112 arg6 = wxString_in_helper(obj5);
7113 if (arg6 == NULL) SWIG_fail;
7114 temp6 = True;
7115 }
7116 }
7117 {
7118 if (!wxPyCheckForApp()) SWIG_fail;
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7121
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7126 {
7127 if (temp6)
7128 delete arg6;
7129 }
7130 return resultobj;
7131 fail:
7132 {
7133 if (temp6)
7134 delete arg6;
7135 }
7136 return NULL;
7137 }
7138
7139
7140 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj;
7142 wxSashWindow *result;
7143 char *kwnames[] = {
7144 NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7148 {
7149 if (!wxPyCheckForApp()) SWIG_fail;
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (wxSashWindow *)new wxSashWindow();
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7157 return resultobj;
7158 fail:
7159 return NULL;
7160 }
7161
7162
7163 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7166 wxWindow *arg2 = (wxWindow *) 0 ;
7167 int arg3 = (int) -1 ;
7168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7170 wxSize const &arg5_defvalue = wxDefaultSize ;
7171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7172 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7173 wxString const &arg7_defvalue = wxPySashNameStr ;
7174 wxString *arg7 = (wxString *) &arg7_defvalue ;
7175 bool result;
7176 wxPoint temp4 ;
7177 wxSize temp5 ;
7178 bool temp7 = False ;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 PyObject * obj2 = 0 ;
7182 PyObject * obj3 = 0 ;
7183 PyObject * obj4 = 0 ;
7184 PyObject * obj5 = 0 ;
7185 PyObject * obj6 = 0 ;
7186 char *kwnames[] = {
7187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7188 };
7189
7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7193 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7195 if (obj2) {
7196 arg3 = (int)SWIG_As_int(obj2);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
7199 if (obj3) {
7200 {
7201 arg4 = &temp4;
7202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7203 }
7204 }
7205 if (obj4) {
7206 {
7207 arg5 = &temp5;
7208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7209 }
7210 }
7211 if (obj5) {
7212 arg6 = (long)SWIG_As_long(obj5);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 if (obj6) {
7216 {
7217 arg7 = wxString_in_helper(obj6);
7218 if (arg7 == NULL) SWIG_fail;
7219 temp7 = True;
7220 }
7221 }
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 {
7230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7231 }
7232 {
7233 if (temp7)
7234 delete arg7;
7235 }
7236 return resultobj;
7237 fail:
7238 {
7239 if (temp7)
7240 delete arg7;
7241 }
7242 return NULL;
7243 }
7244
7245
7246 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7249 int arg2 ;
7250 bool arg3 ;
7251 PyObject * obj0 = 0 ;
7252 PyObject * obj1 = 0 ;
7253 PyObject * obj2 = 0 ;
7254 char *kwnames[] = {
7255 (char *) "self",(char *) "edge",(char *) "sash", NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7261 arg2 = (int)SWIG_As_int(obj1);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 arg3 = (bool)SWIG_As_bool(obj2);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7268
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 Py_INCREF(Py_None); resultobj = Py_None;
7273 return resultobj;
7274 fail:
7275 return NULL;
7276 }
7277
7278
7279 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj;
7281 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7282 int arg2 ;
7283 bool result;
7284 PyObject * obj0 = 0 ;
7285 PyObject * obj1 = 0 ;
7286 char *kwnames[] = {
7287 (char *) "self",(char *) "edge", NULL
7288 };
7289
7290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7293 arg2 = (int)SWIG_As_int(obj1);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 {
7303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7304 }
7305 return resultobj;
7306 fail:
7307 return NULL;
7308 }
7309
7310
7311 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7312 PyObject *resultobj;
7313 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7314 int arg2 ;
7315 bool arg3 ;
7316 PyObject * obj0 = 0 ;
7317 PyObject * obj1 = 0 ;
7318 PyObject * obj2 = 0 ;
7319 char *kwnames[] = {
7320 (char *) "self",(char *) "edge",(char *) "border", NULL
7321 };
7322
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7326 arg2 = (int)SWIG_As_int(obj1);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 arg3 = (bool)SWIG_As_bool(obj2);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 {
7331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7332 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7333
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 Py_INCREF(Py_None); resultobj = Py_None;
7338 return resultobj;
7339 fail:
7340 return NULL;
7341 }
7342
7343
7344 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7345 PyObject *resultobj;
7346 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7347 int arg2 ;
7348 bool result;
7349 PyObject * obj0 = 0 ;
7350 PyObject * obj1 = 0 ;
7351 char *kwnames[] = {
7352 (char *) "self",(char *) "edge", NULL
7353 };
7354
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7358 arg2 = (int)SWIG_As_int(obj1);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 {
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 {
7368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7369 }
7370 return resultobj;
7371 fail:
7372 return NULL;
7373 }
7374
7375
7376 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7379 int arg2 ;
7380 int result;
7381 PyObject * obj0 = 0 ;
7382 PyObject * obj1 = 0 ;
7383 char *kwnames[] = {
7384 (char *) "self",(char *) "edge", NULL
7385 };
7386
7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7390 arg2 = (int)SWIG_As_int(obj1);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 {
7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7394 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7395
7396 wxPyEndAllowThreads(__tstate);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 }
7399 resultobj = SWIG_From_int((int)result);
7400 return resultobj;
7401 fail:
7402 return NULL;
7403 }
7404
7405
7406 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj;
7408 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7409 int arg2 ;
7410 PyObject * obj0 = 0 ;
7411 PyObject * obj1 = 0 ;
7412 char *kwnames[] = {
7413 (char *) "self",(char *) "width", NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7419 arg2 = (int)SWIG_As_int(obj1);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 {
7422 PyThreadState* __tstate = wxPyBeginAllowThreads();
7423 (arg1)->SetDefaultBorderSize(arg2);
7424
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 Py_INCREF(Py_None); resultobj = Py_None;
7429 return resultobj;
7430 fail:
7431 return NULL;
7432 }
7433
7434
7435 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7436 PyObject *resultobj;
7437 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7438 int result;
7439 PyObject * obj0 = 0 ;
7440 char *kwnames[] = {
7441 (char *) "self", NULL
7442 };
7443
7444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7447 {
7448 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7450
7451 wxPyEndAllowThreads(__tstate);
7452 if (PyErr_Occurred()) SWIG_fail;
7453 }
7454 resultobj = SWIG_From_int((int)result);
7455 return resultobj;
7456 fail:
7457 return NULL;
7458 }
7459
7460
7461 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7462 PyObject *resultobj;
7463 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7464 int arg2 ;
7465 PyObject * obj0 = 0 ;
7466 PyObject * obj1 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self",(char *) "width", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7474 arg2 = (int)SWIG_As_int(obj1);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 (arg1)->SetExtraBorderSize(arg2);
7479
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 Py_INCREF(Py_None); resultobj = Py_None;
7484 return resultobj;
7485 fail:
7486 return NULL;
7487 }
7488
7489
7490 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7491 PyObject *resultobj;
7492 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7493 int result;
7494 PyObject * obj0 = 0 ;
7495 char *kwnames[] = {
7496 (char *) "self", NULL
7497 };
7498
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7502 {
7503 PyThreadState* __tstate = wxPyBeginAllowThreads();
7504 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7505
7506 wxPyEndAllowThreads(__tstate);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 }
7509 resultobj = SWIG_From_int((int)result);
7510 return resultobj;
7511 fail:
7512 return NULL;
7513 }
7514
7515
7516 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7517 PyObject *resultobj;
7518 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7519 int arg2 ;
7520 PyObject * obj0 = 0 ;
7521 PyObject * obj1 = 0 ;
7522 char *kwnames[] = {
7523 (char *) "self",(char *) "min", NULL
7524 };
7525
7526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7529 arg2 = (int)SWIG_As_int(obj1);
7530 if (PyErr_Occurred()) SWIG_fail;
7531 {
7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
7533 (arg1)->SetMinimumSizeX(arg2);
7534
7535 wxPyEndAllowThreads(__tstate);
7536 if (PyErr_Occurred()) SWIG_fail;
7537 }
7538 Py_INCREF(Py_None); resultobj = Py_None;
7539 return resultobj;
7540 fail:
7541 return NULL;
7542 }
7543
7544
7545 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7546 PyObject *resultobj;
7547 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7548 int arg2 ;
7549 PyObject * obj0 = 0 ;
7550 PyObject * obj1 = 0 ;
7551 char *kwnames[] = {
7552 (char *) "self",(char *) "min", NULL
7553 };
7554
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7558 arg2 = (int)SWIG_As_int(obj1);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 (arg1)->SetMinimumSizeY(arg2);
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 Py_INCREF(Py_None); resultobj = Py_None;
7568 return resultobj;
7569 fail:
7570 return NULL;
7571 }
7572
7573
7574 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj;
7576 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7577 int result;
7578 PyObject * obj0 = 0 ;
7579 char *kwnames[] = {
7580 (char *) "self", NULL
7581 };
7582
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7586 {
7587 PyThreadState* __tstate = wxPyBeginAllowThreads();
7588 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7589
7590 wxPyEndAllowThreads(__tstate);
7591 if (PyErr_Occurred()) SWIG_fail;
7592 }
7593 resultobj = SWIG_From_int((int)result);
7594 return resultobj;
7595 fail:
7596 return NULL;
7597 }
7598
7599
7600 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7603 int result;
7604 PyObject * obj0 = 0 ;
7605 char *kwnames[] = {
7606 (char *) "self", NULL
7607 };
7608
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_From_int((int)result);
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7629 int arg2 ;
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "self",(char *) "max", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7639 arg2 = (int)SWIG_As_int(obj1);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 (arg1)->SetMaximumSizeX(arg2);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 Py_INCREF(Py_None); resultobj = Py_None;
7649 return resultobj;
7650 fail:
7651 return NULL;
7652 }
7653
7654
7655 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj;
7657 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7658 int arg2 ;
7659 PyObject * obj0 = 0 ;
7660 PyObject * obj1 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self",(char *) "max", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7668 arg2 = (int)SWIG_As_int(obj1);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 (arg1)->SetMaximumSizeY(arg2);
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 Py_INCREF(Py_None); resultobj = Py_None;
7678 return resultobj;
7679 fail:
7680 return NULL;
7681 }
7682
7683
7684 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7687 int result;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 resultobj = SWIG_From_int((int)result);
7704 return resultobj;
7705 fail:
7706 return NULL;
7707 }
7708
7709
7710 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7711 PyObject *resultobj;
7712 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7713 int result;
7714 PyObject * obj0 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 resultobj = SWIG_From_int((int)result);
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj;
7738 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7739 int arg2 ;
7740 int arg3 ;
7741 int arg4 = (int) 2 ;
7742 int result;
7743 PyObject * obj0 = 0 ;
7744 PyObject * obj1 = 0 ;
7745 PyObject * obj2 = 0 ;
7746 PyObject * obj3 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7754 arg2 = (int)SWIG_As_int(obj1);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 arg3 = (int)SWIG_As_int(obj2);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 if (obj3) {
7759 arg4 = (int)SWIG_As_int(obj3);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7765
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 resultobj = SWIG_From_int((int)result);
7770 return resultobj;
7771 fail:
7772 return NULL;
7773 }
7774
7775
7776 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7779 PyObject * obj0 = 0 ;
7780 char *kwnames[] = {
7781 (char *) "self", NULL
7782 };
7783
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 (arg1)->SizeWindows();
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 Py_INCREF(Py_None); resultobj = Py_None;
7795 return resultobj;
7796 fail:
7797 return NULL;
7798 }
7799
7800
7801 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7802 PyObject *obj;
7803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7804 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7805 Py_INCREF(obj);
7806 return Py_BuildValue((char *)"");
7807 }
7808 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 int arg1 = (int) 0 ;
7811 int arg2 = (int) wxSASH_NONE ;
7812 wxSashEvent *result;
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "id",(char *) "edge", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7820 if (obj0) {
7821 arg1 = (int)SWIG_As_int(obj0);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 if (obj1) {
7825 arg2 = (int)SWIG_As_int(obj1);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7836 return resultobj;
7837 fail:
7838 return NULL;
7839 }
7840
7841
7842 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj;
7844 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7845 int arg2 ;
7846 PyObject * obj0 = 0 ;
7847 PyObject * obj1 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "self",(char *) "edge", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7855 arg2 = (int)SWIG_As_int(obj1);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 Py_INCREF(Py_None); resultobj = Py_None;
7865 return resultobj;
7866 fail:
7867 return NULL;
7868 }
7869
7870
7871 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj;
7873 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7874 int result;
7875 PyObject * obj0 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "self", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 resultobj = SWIG_From_int((int)result);
7891 return resultobj;
7892 fail:
7893 return NULL;
7894 }
7895
7896
7897 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7898 PyObject *resultobj;
7899 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7900 wxRect *arg2 = 0 ;
7901 wxRect temp2 ;
7902 PyObject * obj0 = 0 ;
7903 PyObject * obj1 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self",(char *) "rect", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7911 {
7912 arg2 = &temp2;
7913 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7914 }
7915 {
7916 PyThreadState* __tstate = wxPyBeginAllowThreads();
7917 (arg1)->SetDragRect((wxRect const &)*arg2);
7918
7919 wxPyEndAllowThreads(__tstate);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 Py_INCREF(Py_None); resultobj = Py_None;
7923 return resultobj;
7924 fail:
7925 return NULL;
7926 }
7927
7928
7929 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj;
7931 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7932 wxRect result;
7933 PyObject * obj0 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = ((wxSashEvent const *)arg1)->GetDragRect();
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 {
7949 wxRect * resultptr;
7950 resultptr = new wxRect((wxRect &) result);
7951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7952 }
7953 return resultobj;
7954 fail:
7955 return NULL;
7956 }
7957
7958
7959 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7962 int arg2 ;
7963 PyObject * obj0 = 0 ;
7964 PyObject * obj1 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "self",(char *) "status", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7972 arg2 = (int)SWIG_As_int(obj1);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 Py_INCREF(Py_None); resultobj = Py_None;
7982 return resultobj;
7983 fail:
7984 return NULL;
7985 }
7986
7987
7988 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj;
7990 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7991 int result;
7992 PyObject * obj0 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "self", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8000 {
8001 PyThreadState* __tstate = wxPyBeginAllowThreads();
8002 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
8003
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
8007 resultobj = SWIG_From_int((int)result);
8008 return resultobj;
8009 fail:
8010 return NULL;
8011 }
8012
8013
8014 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
8015 PyObject *obj;
8016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8017 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8018 Py_INCREF(obj);
8019 return Py_BuildValue((char *)"");
8020 }
8021 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8022 PyObject *resultobj;
8023 int arg1 = (int) 0 ;
8024 wxQueryLayoutInfoEvent *result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "id", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8031 if (obj0) {
8032 arg1 = (int)SWIG_As_int(obj0);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8043 return resultobj;
8044 fail:
8045 return NULL;
8046 }
8047
8048
8049 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8052 int arg2 ;
8053 PyObject * obj0 = 0 ;
8054 PyObject * obj1 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self",(char *) "length", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8062 arg2 = (int)SWIG_As_int(obj1);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->SetRequestedLength(arg2);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8081 int result;
8082 PyObject * obj0 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "self", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 resultobj = SWIG_From_int((int)result);
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8107 int arg2 ;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "flags", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8117 arg2 = (int)SWIG_As_int(obj1);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 (arg1)->SetFlags(arg2);
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 Py_INCREF(Py_None); resultobj = Py_None;
8127 return resultobj;
8128 fail:
8129 return NULL;
8130 }
8131
8132
8133 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj;
8135 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8136 int result;
8137 PyObject * obj0 = 0 ;
8138 char *kwnames[] = {
8139 (char *) "self", NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 resultobj = SWIG_From_int((int)result);
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8162 wxSize *arg2 = 0 ;
8163 wxSize temp2 ;
8164 PyObject * obj0 = 0 ;
8165 PyObject * obj1 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "self",(char *) "size", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8173 {
8174 arg2 = &temp2;
8175 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 (arg1)->SetSize((wxSize const &)*arg2);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 Py_INCREF(Py_None); resultobj = Py_None;
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8194 wxSize result;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8203 {
8204 PyThreadState* __tstate = wxPyBeginAllowThreads();
8205 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8206
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 {
8211 wxSize * resultptr;
8212 resultptr = new wxSize((wxSize &) result);
8213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8214 }
8215 return resultobj;
8216 fail:
8217 return NULL;
8218 }
8219
8220
8221 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8222 PyObject *resultobj;
8223 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8224 int arg2 ;
8225 PyObject * obj0 = 0 ;
8226 PyObject * obj1 = 0 ;
8227 char *kwnames[] = {
8228 (char *) "self",(char *) "orient", NULL
8229 };
8230
8231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8234 arg2 = (int)SWIG_As_int(obj1);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 Py_INCREF(Py_None); resultobj = Py_None;
8244 return resultobj;
8245 fail:
8246 return NULL;
8247 }
8248
8249
8250 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj;
8252 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8253 int result;
8254 PyObject * obj0 = 0 ;
8255 char *kwnames[] = {
8256 (char *) "self", NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8262 {
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 resultobj = SWIG_From_int((int)result);
8270 return resultobj;
8271 fail:
8272 return NULL;
8273 }
8274
8275
8276 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8279 int arg2 ;
8280 PyObject * obj0 = 0 ;
8281 PyObject * obj1 = 0 ;
8282 char *kwnames[] = {
8283 (char *) "self",(char *) "align", NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8289 arg2 = (int)SWIG_As_int(obj1);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 Py_INCREF(Py_None); resultobj = Py_None;
8299 return resultobj;
8300 fail:
8301 return NULL;
8302 }
8303
8304
8305 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8306 PyObject *resultobj;
8307 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8308 int result;
8309 PyObject * obj0 = 0 ;
8310 char *kwnames[] = {
8311 (char *) "self", NULL
8312 };
8313
8314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 resultobj = SWIG_From_int((int)result);
8325 return resultobj;
8326 fail:
8327 return NULL;
8328 }
8329
8330
8331 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8332 PyObject *obj;
8333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8334 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8335 Py_INCREF(obj);
8336 return Py_BuildValue((char *)"");
8337 }
8338 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8339 PyObject *resultobj;
8340 int arg1 = (int) 0 ;
8341 wxCalculateLayoutEvent *result;
8342 PyObject * obj0 = 0 ;
8343 char *kwnames[] = {
8344 (char *) "id", NULL
8345 };
8346
8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8348 if (obj0) {
8349 arg1 = (int)SWIG_As_int(obj0);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8360 return resultobj;
8361 fail:
8362 return NULL;
8363 }
8364
8365
8366 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8367 PyObject *resultobj;
8368 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8369 int arg2 ;
8370 PyObject * obj0 = 0 ;
8371 PyObject * obj1 = 0 ;
8372 char *kwnames[] = {
8373 (char *) "self",(char *) "flags", NULL
8374 };
8375
8376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8379 arg2 = (int)SWIG_As_int(obj1);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 {
8382 PyThreadState* __tstate = wxPyBeginAllowThreads();
8383 (arg1)->SetFlags(arg2);
8384
8385 wxPyEndAllowThreads(__tstate);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8388 Py_INCREF(Py_None); resultobj = Py_None;
8389 return resultobj;
8390 fail:
8391 return NULL;
8392 }
8393
8394
8395 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj;
8397 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8398 int result;
8399 PyObject * obj0 = 0 ;
8400 char *kwnames[] = {
8401 (char *) "self", NULL
8402 };
8403
8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = SWIG_From_int((int)result);
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8424 wxRect *arg2 = 0 ;
8425 wxRect temp2 ;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 char *kwnames[] = {
8429 (char *) "self",(char *) "rect", NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8435 {
8436 arg2 = &temp2;
8437 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8438 }
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 (arg1)->SetRect((wxRect const &)*arg2);
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 Py_INCREF(Py_None); resultobj = Py_None;
8447 return resultobj;
8448 fail:
8449 return NULL;
8450 }
8451
8452
8453 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8454 PyObject *resultobj;
8455 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8456 wxRect result;
8457 PyObject * obj0 = 0 ;
8458 char *kwnames[] = {
8459 (char *) "self", NULL
8460 };
8461
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 {
8473 wxRect * resultptr;
8474 resultptr = new wxRect((wxRect &) result);
8475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8476 }
8477 return resultobj;
8478 fail:
8479 return NULL;
8480 }
8481
8482
8483 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8484 PyObject *obj;
8485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8486 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8487 Py_INCREF(obj);
8488 return Py_BuildValue((char *)"");
8489 }
8490 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj;
8492 wxWindow *arg1 = (wxWindow *) 0 ;
8493 int arg2 = (int) -1 ;
8494 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8495 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8496 wxSize const &arg4_defvalue = wxDefaultSize ;
8497 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8498 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8499 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8500 wxString *arg6 = (wxString *) &arg6_defvalue ;
8501 wxSashLayoutWindow *result;
8502 wxPoint temp3 ;
8503 wxSize temp4 ;
8504 bool temp6 = False ;
8505 PyObject * obj0 = 0 ;
8506 PyObject * obj1 = 0 ;
8507 PyObject * obj2 = 0 ;
8508 PyObject * obj3 = 0 ;
8509 PyObject * obj4 = 0 ;
8510 PyObject * obj5 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8518 if (obj1) {
8519 arg2 = (int)SWIG_As_int(obj1);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 if (obj2) {
8523 {
8524 arg3 = &temp3;
8525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8526 }
8527 }
8528 if (obj3) {
8529 {
8530 arg4 = &temp4;
8531 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8532 }
8533 }
8534 if (obj4) {
8535 arg5 = (long)SWIG_As_long(obj4);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 if (obj5) {
8539 {
8540 arg6 = wxString_in_helper(obj5);
8541 if (arg6 == NULL) SWIG_fail;
8542 temp6 = True;
8543 }
8544 }
8545 {
8546 if (!wxPyCheckForApp()) SWIG_fail;
8547 PyThreadState* __tstate = wxPyBeginAllowThreads();
8548 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8549
8550 wxPyEndAllowThreads(__tstate);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 }
8553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8554 {
8555 if (temp6)
8556 delete arg6;
8557 }
8558 return resultobj;
8559 fail:
8560 {
8561 if (temp6)
8562 delete arg6;
8563 }
8564 return NULL;
8565 }
8566
8567
8568 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8569 PyObject *resultobj;
8570 wxSashLayoutWindow *result;
8571 char *kwnames[] = {
8572 NULL
8573 };
8574
8575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8576 {
8577 if (!wxPyCheckForApp()) SWIG_fail;
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8580
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8585 return resultobj;
8586 fail:
8587 return NULL;
8588 }
8589
8590
8591 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8592 PyObject *resultobj;
8593 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8594 wxWindow *arg2 = (wxWindow *) 0 ;
8595 int arg3 = (int) -1 ;
8596 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8597 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8598 wxSize const &arg5_defvalue = wxDefaultSize ;
8599 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8600 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8601 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8602 wxString *arg7 = (wxString *) &arg7_defvalue ;
8603 bool result;
8604 wxPoint temp4 ;
8605 wxSize temp5 ;
8606 bool temp7 = False ;
8607 PyObject * obj0 = 0 ;
8608 PyObject * obj1 = 0 ;
8609 PyObject * obj2 = 0 ;
8610 PyObject * obj3 = 0 ;
8611 PyObject * obj4 = 0 ;
8612 PyObject * obj5 = 0 ;
8613 PyObject * obj6 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8623 if (obj2) {
8624 arg3 = (int)SWIG_As_int(obj2);
8625 if (PyErr_Occurred()) SWIG_fail;
8626 }
8627 if (obj3) {
8628 {
8629 arg4 = &temp4;
8630 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8631 }
8632 }
8633 if (obj4) {
8634 {
8635 arg5 = &temp5;
8636 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8637 }
8638 }
8639 if (obj5) {
8640 arg6 = (long)SWIG_As_long(obj5);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 if (obj6) {
8644 {
8645 arg7 = wxString_in_helper(obj6);
8646 if (arg7 == NULL) SWIG_fail;
8647 temp7 = True;
8648 }
8649 }
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8653
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 {
8658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8659 }
8660 {
8661 if (temp7)
8662 delete arg7;
8663 }
8664 return resultobj;
8665 fail:
8666 {
8667 if (temp7)
8668 delete arg7;
8669 }
8670 return NULL;
8671 }
8672
8673
8674 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj;
8676 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8677 int result;
8678 PyObject * obj0 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (int)(arg1)->GetAlignment();
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_From_int((int)result);
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8703 int result;
8704 PyObject * obj0 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 result = (int)(arg1)->GetOrientation();
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 resultobj = SWIG_From_int((int)result);
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8729 int arg2 ;
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj1 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self",(char *) "alignment", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8739 arg2 = (int)SWIG_As_int(obj1);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 Py_INCREF(Py_None); resultobj = Py_None;
8749 return resultobj;
8750 fail:
8751 return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8758 wxSize *arg2 = 0 ;
8759 wxSize temp2 ;
8760 PyObject * obj0 = 0 ;
8761 PyObject * obj1 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "size", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8769 {
8770 arg2 = &temp2;
8771 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 Py_INCREF(Py_None); resultobj = Py_None;
8781 return resultobj;
8782 fail:
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8790 int arg2 ;
8791 PyObject * obj0 = 0 ;
8792 PyObject * obj1 = 0 ;
8793 char *kwnames[] = {
8794 (char *) "self",(char *) "orientation", NULL
8795 };
8796
8797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8800 arg2 = (int)SWIG_As_int(obj1);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 {
8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
8804 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8805
8806 wxPyEndAllowThreads(__tstate);
8807 if (PyErr_Occurred()) SWIG_fail;
8808 }
8809 Py_INCREF(Py_None); resultobj = Py_None;
8810 return resultobj;
8811 fail:
8812 return NULL;
8813 }
8814
8815
8816 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8817 PyObject *obj;
8818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8819 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8820 Py_INCREF(obj);
8821 return Py_BuildValue((char *)"");
8822 }
8823 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8824 PyObject *resultobj;
8825 wxLayoutAlgorithm *result;
8826 char *kwnames[] = {
8827 NULL
8828 };
8829
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8831 {
8832 PyThreadState* __tstate = wxPyBeginAllowThreads();
8833 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8834
8835 wxPyEndAllowThreads(__tstate);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 }
8838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8839 return resultobj;
8840 fail:
8841 return NULL;
8842 }
8843
8844
8845 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8846 PyObject *resultobj;
8847 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8848 PyObject * obj0 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 delete arg1;
8859
8860 wxPyEndAllowThreads(__tstate);
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
8863 Py_INCREF(Py_None); resultobj = Py_None;
8864 return resultobj;
8865 fail:
8866 return NULL;
8867 }
8868
8869
8870 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8871 PyObject *resultobj;
8872 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8873 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8874 wxRect *arg3 = (wxRect *) NULL ;
8875 bool result;
8876 PyObject * obj0 = 0 ;
8877 PyObject * obj1 = 0 ;
8878 PyObject * obj2 = 0 ;
8879 char *kwnames[] = {
8880 (char *) "self",(char *) "frame",(char *) "rect", NULL
8881 };
8882
8883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8888 if (obj2) {
8889 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8895
8896 wxPyEndAllowThreads(__tstate);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
8899 {
8900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8901 }
8902 return resultobj;
8903 fail:
8904 return NULL;
8905 }
8906
8907
8908 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj;
8910 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8911 wxFrame *arg2 = (wxFrame *) 0 ;
8912 wxWindow *arg3 = (wxWindow *) NULL ;
8913 bool result;
8914 PyObject * obj0 = 0 ;
8915 PyObject * obj1 = 0 ;
8916 PyObject * obj2 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8926 if (obj2) {
8927 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 }
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 {
8938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8939 }
8940 return resultobj;
8941 fail:
8942 return NULL;
8943 }
8944
8945
8946 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8947 PyObject *resultobj;
8948 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8949 wxWindow *arg2 = (wxWindow *) 0 ;
8950 wxWindow *arg3 = (wxWindow *) NULL ;
8951 bool result;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 PyObject * obj2 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8964 if (obj2) {
8965 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8967 }
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 {
8976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8977 }
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8985 PyObject *obj;
8986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8987 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8988 Py_INCREF(obj);
8989 return Py_BuildValue((char *)"");
8990 }
8991 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8992 PyObject *resultobj;
8993 wxWindow *arg1 = (wxWindow *) 0 ;
8994 int arg2 = (int) wxBORDER_NONE ;
8995 wxPopupWindow *result;
8996 PyObject * obj0 = 0 ;
8997 PyObject * obj1 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "parent",(char *) "flags", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9005 if (obj1) {
9006 arg2 = (int)SWIG_As_int(obj1);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9017 return resultobj;
9018 fail:
9019 return NULL;
9020 }
9021
9022
9023 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj;
9025 wxPopupWindow *result;
9026 char *kwnames[] = {
9027 NULL
9028 };
9029
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 result = (wxPopupWindow *)new wxPopupWindow();
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9039 return resultobj;
9040 fail:
9041 return NULL;
9042 }
9043
9044
9045 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9046 PyObject *obj;
9047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9048 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9049 Py_INCREF(obj);
9050 return Py_BuildValue((char *)"");
9051 }
9052 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj;
9054 wxWindow *arg1 = (wxWindow *) 0 ;
9055 int arg2 = (int) wxBORDER_NONE ;
9056 wxPyPopupTransientWindow *result;
9057 PyObject * obj0 = 0 ;
9058 PyObject * obj1 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "parent",(char *) "style", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9066 if (obj1) {
9067 arg2 = (int)SWIG_As_int(obj1);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9085 PyObject *resultobj;
9086 wxPyPopupTransientWindow *result;
9087 char *kwnames[] = {
9088 NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9095
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9100 return resultobj;
9101 fail:
9102 return NULL;
9103 }
9104
9105
9106 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9107 PyObject *obj;
9108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9109 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9110 Py_INCREF(obj);
9111 return Py_BuildValue((char *)"");
9112 }
9113 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxWindow *arg1 = (wxWindow *) 0 ;
9116 wxString *arg2 = 0 ;
9117 int arg3 = (int) 100 ;
9118 wxRect *arg4 = (wxRect *) NULL ;
9119 wxTipWindow *result;
9120 bool temp2 = False ;
9121 PyObject * obj0 = 0 ;
9122 PyObject * obj1 = 0 ;
9123 PyObject * obj2 = 0 ;
9124 PyObject * obj3 = 0 ;
9125 char *kwnames[] = {
9126 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9127 };
9128
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9132 {
9133 arg2 = wxString_in_helper(obj1);
9134 if (arg2 == NULL) SWIG_fail;
9135 temp2 = True;
9136 }
9137 if (obj2) {
9138 arg3 = (int)SWIG_As_int(obj2);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 if (obj3) {
9142 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9144 }
9145 {
9146 if (!wxPyCheckForApp()) SWIG_fail;
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9149
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9154 {
9155 if (temp2)
9156 delete arg2;
9157 }
9158 return resultobj;
9159 fail:
9160 {
9161 if (temp2)
9162 delete arg2;
9163 }
9164 return NULL;
9165 }
9166
9167
9168 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9169 PyObject *resultobj;
9170 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9171 wxRect *arg2 = 0 ;
9172 wxRect temp2 ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self",(char *) "rectBound", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9182 {
9183 arg2 = &temp2;
9184 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9185 }
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 Py_INCREF(Py_None); resultobj = Py_None;
9194 return resultobj;
9195 fail:
9196 return NULL;
9197 }
9198
9199
9200 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9201 PyObject *resultobj;
9202 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9203 PyObject * obj0 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 (arg1)->Close();
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 Py_INCREF(Py_None); resultobj = Py_None;
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9226 PyObject *obj;
9227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9228 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9229 Py_INCREF(obj);
9230 return Py_BuildValue((char *)"");
9231 }
9232 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 wxWindow *arg1 = (wxWindow *) 0 ;
9235 int arg2 = (int) wxID_ANY ;
9236 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9237 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9238 wxSize const &arg4_defvalue = wxDefaultSize ;
9239 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9240 long arg5 = (long) 0 ;
9241 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9242 wxString *arg6 = (wxString *) &arg6_defvalue ;
9243 wxPyVScrolledWindow *result;
9244 wxPoint temp3 ;
9245 wxSize temp4 ;
9246 bool temp6 = False ;
9247 PyObject * obj0 = 0 ;
9248 PyObject * obj1 = 0 ;
9249 PyObject * obj2 = 0 ;
9250 PyObject * obj3 = 0 ;
9251 PyObject * obj4 = 0 ;
9252 PyObject * obj5 = 0 ;
9253 char *kwnames[] = {
9254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9255 };
9256
9257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9260 if (obj1) {
9261 arg2 = (int)SWIG_As_int(obj1);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 if (obj2) {
9265 {
9266 arg3 = &temp3;
9267 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9268 }
9269 }
9270 if (obj3) {
9271 {
9272 arg4 = &temp4;
9273 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9274 }
9275 }
9276 if (obj4) {
9277 arg5 = (long)SWIG_As_long(obj4);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 if (obj5) {
9281 {
9282 arg6 = wxString_in_helper(obj5);
9283 if (arg6 == NULL) SWIG_fail;
9284 temp6 = True;
9285 }
9286 }
9287 {
9288 if (!wxPyCheckForApp()) SWIG_fail;
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9296 {
9297 if (temp6)
9298 delete arg6;
9299 }
9300 return resultobj;
9301 fail:
9302 {
9303 if (temp6)
9304 delete arg6;
9305 }
9306 return NULL;
9307 }
9308
9309
9310 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxPyVScrolledWindow *result;
9313 char *kwnames[] = {
9314 NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9318 {
9319 if (!wxPyCheckForApp()) SWIG_fail;
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj;
9335 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9336 PyObject *arg2 = (PyObject *) 0 ;
9337 PyObject *arg3 = (PyObject *) 0 ;
9338 PyObject * obj0 = 0 ;
9339 PyObject * obj1 = 0 ;
9340 PyObject * obj2 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self",(char *) "self",(char *) "_class", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9348 arg2 = obj1;
9349 arg3 = obj2;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 (arg1)->_setCallbackInfo(arg2,arg3);
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 Py_INCREF(Py_None); resultobj = Py_None;
9358 return resultobj;
9359 fail:
9360 return NULL;
9361 }
9362
9363
9364 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9367 wxWindow *arg2 = (wxWindow *) 0 ;
9368 int arg3 = (int) wxID_ANY ;
9369 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9370 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9371 wxSize const &arg5_defvalue = wxDefaultSize ;
9372 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9373 long arg6 = (long) 0 ;
9374 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9375 wxString *arg7 = (wxString *) &arg7_defvalue ;
9376 bool result;
9377 wxPoint temp4 ;
9378 wxSize temp5 ;
9379 bool temp7 = False ;
9380 PyObject * obj0 = 0 ;
9381 PyObject * obj1 = 0 ;
9382 PyObject * obj2 = 0 ;
9383 PyObject * obj3 = 0 ;
9384 PyObject * obj4 = 0 ;
9385 PyObject * obj5 = 0 ;
9386 PyObject * obj6 = 0 ;
9387 char *kwnames[] = {
9388 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9389 };
9390
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9396 if (obj2) {
9397 arg3 = (int)SWIG_As_int(obj2);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 }
9400 if (obj3) {
9401 {
9402 arg4 = &temp4;
9403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9404 }
9405 }
9406 if (obj4) {
9407 {
9408 arg5 = &temp5;
9409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9410 }
9411 }
9412 if (obj5) {
9413 arg6 = (long)SWIG_As_long(obj5);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 if (obj6) {
9417 {
9418 arg7 = wxString_in_helper(obj6);
9419 if (arg7 == NULL) SWIG_fail;
9420 temp7 = True;
9421 }
9422 }
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9426
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 {
9431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9432 }
9433 {
9434 if (temp7)
9435 delete arg7;
9436 }
9437 return resultobj;
9438 fail:
9439 {
9440 if (temp7)
9441 delete arg7;
9442 }
9443 return NULL;
9444 }
9445
9446
9447 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9450 size_t arg2 ;
9451 PyObject * obj0 = 0 ;
9452 PyObject * obj1 = 0 ;
9453 char *kwnames[] = {
9454 (char *) "self",(char *) "count", NULL
9455 };
9456
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9460 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 (arg1)->SetLineCount(arg2);
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 Py_INCREF(Py_None); resultobj = Py_None;
9470 return resultobj;
9471 fail:
9472 return NULL;
9473 }
9474
9475
9476 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9477 PyObject *resultobj;
9478 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9479 size_t arg2 ;
9480 bool result;
9481 PyObject * obj0 = 0 ;
9482 PyObject * obj1 = 0 ;
9483 char *kwnames[] = {
9484 (char *) "self",(char *) "line", NULL
9485 };
9486
9487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9490 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (bool)(arg1)->ScrollToLine(arg2);
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 {
9500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9501 }
9502 return resultobj;
9503 fail:
9504 return NULL;
9505 }
9506
9507
9508 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9509 PyObject *resultobj;
9510 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9511 int arg2 ;
9512 bool result;
9513 PyObject * obj0 = 0 ;
9514 PyObject * obj1 = 0 ;
9515 char *kwnames[] = {
9516 (char *) "self",(char *) "lines", NULL
9517 };
9518
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9522 arg2 = (int)SWIG_As_int(obj1);
9523 if (PyErr_Occurred()) SWIG_fail;
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (bool)(arg1)->ScrollLines(arg2);
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 {
9532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9533 }
9534 return resultobj;
9535 fail:
9536 return NULL;
9537 }
9538
9539
9540 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9541 PyObject *resultobj;
9542 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9543 int arg2 ;
9544 bool result;
9545 PyObject * obj0 = 0 ;
9546 PyObject * obj1 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self",(char *) "pages", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9554 arg2 = (int)SWIG_As_int(obj1);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 {
9557 PyThreadState* __tstate = wxPyBeginAllowThreads();
9558 result = (bool)(arg1)->ScrollPages(arg2);
9559
9560 wxPyEndAllowThreads(__tstate);
9561 if (PyErr_Occurred()) SWIG_fail;
9562 }
9563 {
9564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9565 }
9566 return resultobj;
9567 fail:
9568 return NULL;
9569 }
9570
9571
9572 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9573 PyObject *resultobj;
9574 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9575 size_t arg2 ;
9576 PyObject * obj0 = 0 ;
9577 PyObject * obj1 = 0 ;
9578 char *kwnames[] = {
9579 (char *) "self",(char *) "line", NULL
9580 };
9581
9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9585 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9586 if (PyErr_Occurred()) SWIG_fail;
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 (arg1)->RefreshLine(arg2);
9590
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 }
9594 Py_INCREF(Py_None); resultobj = Py_None;
9595 return resultobj;
9596 fail:
9597 return NULL;
9598 }
9599
9600
9601 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9604 size_t arg2 ;
9605 size_t arg3 ;
9606 PyObject * obj0 = 0 ;
9607 PyObject * obj1 = 0 ;
9608 PyObject * obj2 = 0 ;
9609 char *kwnames[] = {
9610 (char *) "self",(char *) "from",(char *) "to", NULL
9611 };
9612
9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9616 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 (arg1)->RefreshLines(arg2,arg3);
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 Py_INCREF(Py_None); resultobj = Py_None;
9628 return resultobj;
9629 fail:
9630 return NULL;
9631 }
9632
9633
9634 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9637 int arg2 ;
9638 int arg3 ;
9639 int result;
9640 PyObject * obj0 = 0 ;
9641 PyObject * obj1 = 0 ;
9642 PyObject * obj2 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self",(char *) "x",(char *) "y", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9650 arg2 = (int)SWIG_As_int(obj1);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 arg3 = (int)SWIG_As_int(obj2);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 resultobj = SWIG_From_int((int)result);
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9671 wxPoint *arg2 = 0 ;
9672 int result;
9673 wxPoint temp2 ;
9674 PyObject * obj0 = 0 ;
9675 PyObject * obj1 = 0 ;
9676 char *kwnames[] = {
9677 (char *) "self",(char *) "pt", NULL
9678 };
9679
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9683 {
9684 arg2 = &temp2;
9685 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9686 }
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 resultobj = SWIG_From_int((int)result);
9695 return resultobj;
9696 fail:
9697 return NULL;
9698 }
9699
9700
9701 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9702 PyObject *resultobj;
9703 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9704 PyObject * obj0 = 0 ;
9705 char *kwnames[] = {
9706 (char *) "self", NULL
9707 };
9708
9709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 (arg1)->RefreshAll();
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
9719 Py_INCREF(Py_None); resultobj = Py_None;
9720 return resultobj;
9721 fail:
9722 return NULL;
9723 }
9724
9725
9726 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9727 PyObject *resultobj;
9728 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9729 size_t result;
9730 PyObject * obj0 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9738 {
9739 PyThreadState* __tstate = wxPyBeginAllowThreads();
9740 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9741
9742 wxPyEndAllowThreads(__tstate);
9743 if (PyErr_Occurred()) SWIG_fail;
9744 }
9745 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9746 return resultobj;
9747 fail:
9748 return NULL;
9749 }
9750
9751
9752 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9753 PyObject *resultobj;
9754 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9755 size_t result;
9756 PyObject * obj0 = 0 ;
9757 char *kwnames[] = {
9758 (char *) "self", NULL
9759 };
9760
9761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9772 return resultobj;
9773 fail:
9774 return NULL;
9775 }
9776
9777
9778 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj;
9780 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9781 size_t result;
9782 PyObject * obj0 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9807 size_t arg2 ;
9808 bool result;
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self",(char *) "line", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9818 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 {
9828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9829 }
9830 return resultobj;
9831 fail:
9832 return NULL;
9833 }
9834
9835
9836 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9837 PyObject *obj;
9838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9839 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9840 Py_INCREF(obj);
9841 return Py_BuildValue((char *)"");
9842 }
9843 static int _wrap_VListBoxNameStr_set(PyObject *) {
9844 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9845 return 1;
9846 }
9847
9848
9849 static PyObject *_wrap_VListBoxNameStr_get() {
9850 PyObject *pyobj;
9851
9852 {
9853 #if wxUSE_UNICODE
9854 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9855 #else
9856 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9857 #endif
9858 }
9859 return pyobj;
9860 }
9861
9862
9863 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxWindow *arg1 = (wxWindow *) 0 ;
9866 int arg2 = (int) wxID_ANY ;
9867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9869 wxSize const &arg4_defvalue = wxDefaultSize ;
9870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9871 long arg5 = (long) 0 ;
9872 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9873 wxString *arg6 = (wxString *) &arg6_defvalue ;
9874 wxPyVListBox *result;
9875 wxPoint temp3 ;
9876 wxSize temp4 ;
9877 bool temp6 = False ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 PyObject * obj2 = 0 ;
9881 PyObject * obj3 = 0 ;
9882 PyObject * obj4 = 0 ;
9883 PyObject * obj5 = 0 ;
9884 char *kwnames[] = {
9885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9886 };
9887
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9891 if (obj1) {
9892 arg2 = (int)SWIG_As_int(obj1);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 if (obj2) {
9896 {
9897 arg3 = &temp3;
9898 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9899 }
9900 }
9901 if (obj3) {
9902 {
9903 arg4 = &temp4;
9904 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9905 }
9906 }
9907 if (obj4) {
9908 arg5 = (long)SWIG_As_long(obj4);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 }
9911 if (obj5) {
9912 {
9913 arg6 = wxString_in_helper(obj5);
9914 if (arg6 == NULL) SWIG_fail;
9915 temp6 = True;
9916 }
9917 }
9918 {
9919 if (!wxPyCheckForApp()) SWIG_fail;
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9927 {
9928 if (temp6)
9929 delete arg6;
9930 }
9931 return resultobj;
9932 fail:
9933 {
9934 if (temp6)
9935 delete arg6;
9936 }
9937 return NULL;
9938 }
9939
9940
9941 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9942 PyObject *resultobj;
9943 wxPyVListBox *result;
9944 char *kwnames[] = {
9945 NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9949 {
9950 if (!wxPyCheckForApp()) SWIG_fail;
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 result = (wxPyVListBox *)new wxPyVListBox();
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9958 return resultobj;
9959 fail:
9960 return NULL;
9961 }
9962
9963
9964 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9967 PyObject *arg2 = (PyObject *) 0 ;
9968 PyObject *arg3 = (PyObject *) 0 ;
9969 PyObject * obj0 = 0 ;
9970 PyObject * obj1 = 0 ;
9971 PyObject * obj2 = 0 ;
9972 char *kwnames[] = {
9973 (char *) "self",(char *) "self",(char *) "_class", NULL
9974 };
9975
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9979 arg2 = obj1;
9980 arg3 = obj2;
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 (arg1)->_setCallbackInfo(arg2,arg3);
9984
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 Py_INCREF(Py_None); resultobj = Py_None;
9989 return resultobj;
9990 fail:
9991 return NULL;
9992 }
9993
9994
9995 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9996 PyObject *resultobj;
9997 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9998 wxWindow *arg2 = (wxWindow *) 0 ;
9999 int arg3 = (int) wxID_ANY ;
10000 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10001 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10002 wxSize const &arg5_defvalue = wxDefaultSize ;
10003 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10004 long arg6 = (long) 0 ;
10005 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10006 wxString *arg7 = (wxString *) &arg7_defvalue ;
10007 bool result;
10008 wxPoint temp4 ;
10009 wxSize temp5 ;
10010 bool temp7 = False ;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 PyObject * obj2 = 0 ;
10014 PyObject * obj3 = 0 ;
10015 PyObject * obj4 = 0 ;
10016 PyObject * obj5 = 0 ;
10017 PyObject * obj6 = 0 ;
10018 char *kwnames[] = {
10019 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10020 };
10021
10022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10027 if (obj2) {
10028 arg3 = (int)SWIG_As_int(obj2);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
10031 if (obj3) {
10032 {
10033 arg4 = &temp4;
10034 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10035 }
10036 }
10037 if (obj4) {
10038 {
10039 arg5 = &temp5;
10040 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10041 }
10042 }
10043 if (obj5) {
10044 arg6 = (long)SWIG_As_long(obj5);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 if (obj6) {
10048 {
10049 arg7 = wxString_in_helper(obj6);
10050 if (arg7 == NULL) SWIG_fail;
10051 temp7 = True;
10052 }
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 {
10062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10063 }
10064 {
10065 if (temp7)
10066 delete arg7;
10067 }
10068 return resultobj;
10069 fail:
10070 {
10071 if (temp7)
10072 delete arg7;
10073 }
10074 return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10081 size_t result;
10082 PyObject * obj0 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "self", NULL
10085 };
10086
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10098 return resultobj;
10099 fail:
10100 return NULL;
10101 }
10102
10103
10104 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj;
10106 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10107 bool result;
10108 PyObject * obj0 = 0 ;
10109 char *kwnames[] = {
10110 (char *) "self", NULL
10111 };
10112
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10116 {
10117 PyThreadState* __tstate = wxPyBeginAllowThreads();
10118 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10119
10120 wxPyEndAllowThreads(__tstate);
10121 if (PyErr_Occurred()) SWIG_fail;
10122 }
10123 {
10124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10125 }
10126 return resultobj;
10127 fail:
10128 return NULL;
10129 }
10130
10131
10132 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10133 PyObject *resultobj;
10134 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10135 int result;
10136 PyObject * obj0 = 0 ;
10137 char *kwnames[] = {
10138 (char *) "self", NULL
10139 };
10140
10141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10147
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 resultobj = SWIG_From_int((int)result);
10152 return resultobj;
10153 fail:
10154 return NULL;
10155 }
10156
10157
10158 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10159 PyObject *resultobj;
10160 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10161 size_t arg2 ;
10162 bool result;
10163 PyObject * obj0 = 0 ;
10164 PyObject * obj1 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self",(char *) "item", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10172 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 {
10182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10183 }
10184 return resultobj;
10185 fail:
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10193 size_t arg2 ;
10194 bool result;
10195 PyObject * obj0 = 0 ;
10196 PyObject * obj1 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self",(char *) "item", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10204 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 {
10214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10215 }
10216 return resultobj;
10217 fail:
10218 return NULL;
10219 }
10220
10221
10222 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10225 size_t result;
10226 PyObject * obj0 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10234 {
10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
10236 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10237
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
10241 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10242 return resultobj;
10243 fail:
10244 return NULL;
10245 }
10246
10247
10248 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10249 PyObject *resultobj;
10250 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10251 PyObject *result;
10252 PyObject * obj0 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "self", NULL
10255 };
10256
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
10262 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10263
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
10267 resultobj = result;
10268 return resultobj;
10269 fail:
10270 return NULL;
10271 }
10272
10273
10274 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10275 PyObject *resultobj;
10276 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10277 unsigned long arg2 ;
10278 PyObject *result;
10279 PyObject * obj0 = 0 ;
10280 PyObject * obj1 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "self",(char *) "cookie", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10288 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 resultobj = result;
10298 return resultobj;
10299 fail:
10300 return NULL;
10301 }
10302
10303
10304 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10305 PyObject *resultobj;
10306 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10307 wxPoint result;
10308 PyObject * obj0 = 0 ;
10309 char *kwnames[] = {
10310 (char *) "self", NULL
10311 };
10312
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = ((wxPyVListBox const *)arg1)->GetMargins();
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 {
10324 wxPoint * resultptr;
10325 resultptr = new wxPoint((wxPoint &) result);
10326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10327 }
10328 return resultobj;
10329 fail:
10330 return NULL;
10331 }
10332
10333
10334 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj;
10336 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10337 wxColour *result;
10338 PyObject * obj0 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 {
10349 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10350 result = (wxColour *) &_result_ref;
10351 }
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10366 size_t arg2 ;
10367 PyObject * obj0 = 0 ;
10368 PyObject * obj1 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self",(char *) "count", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10376 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 (arg1)->SetItemCount(arg2);
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 Py_INCREF(Py_None); resultobj = Py_None;
10386 return resultobj;
10387 fail:
10388 return NULL;
10389 }
10390
10391
10392 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10395 PyObject * obj0 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 (arg1)->Clear();
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 Py_INCREF(Py_None); resultobj = Py_None;
10411 return resultobj;
10412 fail:
10413 return NULL;
10414 }
10415
10416
10417 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10418 PyObject *resultobj;
10419 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10420 int arg2 ;
10421 PyObject * obj0 = 0 ;
10422 PyObject * obj1 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self",(char *) "selection", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10430 arg2 = (int)SWIG_As_int(obj1);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->SetSelection(arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443 }
10444
10445
10446 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10449 size_t arg2 ;
10450 bool arg3 = (bool) True ;
10451 bool result;
10452 PyObject * obj0 = 0 ;
10453 PyObject * obj1 = 0 ;
10454 PyObject * obj2 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self",(char *) "item",(char *) "select", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10462 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 if (obj2) {
10465 arg3 = (bool)SWIG_As_bool(obj2);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 result = (bool)(arg1)->Select(arg2,arg3);
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 {
10476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10477 }
10478 return resultobj;
10479 fail:
10480 return NULL;
10481 }
10482
10483
10484 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj;
10486 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10487 size_t arg2 ;
10488 size_t arg3 ;
10489 bool result;
10490 PyObject * obj0 = 0 ;
10491 PyObject * obj1 = 0 ;
10492 PyObject * obj2 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "self",(char *) "from",(char *) "to", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10500 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 result = (bool)(arg1)->SelectRange(arg2,arg3);
10507
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 {
10512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10513 }
10514 return resultobj;
10515 fail:
10516 return NULL;
10517 }
10518
10519
10520 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10521 PyObject *resultobj;
10522 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10523 size_t arg2 ;
10524 PyObject * obj0 = 0 ;
10525 PyObject * obj1 = 0 ;
10526 char *kwnames[] = {
10527 (char *) "self",(char *) "item", NULL
10528 };
10529
10530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10533 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 (arg1)->Toggle(arg2);
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 Py_INCREF(Py_None); resultobj = Py_None;
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10550 PyObject *resultobj;
10551 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10552 bool result;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (bool)(arg1)->SelectAll();
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 {
10569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10570 }
10571 return resultobj;
10572 fail:
10573 return NULL;
10574 }
10575
10576
10577 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10580 bool result;
10581 PyObject * obj0 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (bool)(arg1)->DeselectAll();
10592
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 {
10597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10598 }
10599 return resultobj;
10600 fail:
10601 return NULL;
10602 }
10603
10604
10605 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10606 PyObject *resultobj;
10607 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10608 wxPoint *arg2 = 0 ;
10609 wxPoint temp2 ;
10610 PyObject * obj0 = 0 ;
10611 PyObject * obj1 = 0 ;
10612 char *kwnames[] = {
10613 (char *) "self",(char *) "pt", NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10619 {
10620 arg2 = &temp2;
10621 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 (arg1)->SetMargins((wxPoint const &)*arg2);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 return resultobj;
10632 fail:
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10640 int arg2 ;
10641 int arg3 ;
10642 PyObject * obj0 = 0 ;
10643 PyObject * obj1 = 0 ;
10644 PyObject * obj2 = 0 ;
10645 char *kwnames[] = {
10646 (char *) "self",(char *) "x",(char *) "y", NULL
10647 };
10648
10649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10652 arg2 = (int)SWIG_As_int(obj1);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 arg3 = (int)SWIG_As_int(obj2);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 (arg1)->SetMargins(arg2,arg3);
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 Py_INCREF(Py_None); resultobj = Py_None;
10664 return resultobj;
10665 fail:
10666 return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10673 wxColour *arg2 = 0 ;
10674 wxColour temp2 ;
10675 PyObject * obj0 = 0 ;
10676 PyObject * obj1 = 0 ;
10677 char *kwnames[] = {
10678 (char *) "self",(char *) "col", NULL
10679 };
10680
10681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10684 {
10685 arg2 = &temp2;
10686 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10687 }
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 Py_INCREF(Py_None); resultobj = Py_None;
10696 return resultobj;
10697 fail:
10698 return NULL;
10699 }
10700
10701
10702 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10703 PyObject *obj;
10704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10705 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10706 Py_INCREF(obj);
10707 return Py_BuildValue((char *)"");
10708 }
10709 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxWindow *arg1 = (wxWindow *) 0 ;
10712 int arg2 = (int) wxID_ANY ;
10713 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10714 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10715 wxSize const &arg4_defvalue = wxDefaultSize ;
10716 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10717 long arg5 = (long) 0 ;
10718 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10719 wxString *arg6 = (wxString *) &arg6_defvalue ;
10720 wxPyHtmlListBox *result;
10721 wxPoint temp3 ;
10722 wxSize temp4 ;
10723 bool temp6 = False ;
10724 PyObject * obj0 = 0 ;
10725 PyObject * obj1 = 0 ;
10726 PyObject * obj2 = 0 ;
10727 PyObject * obj3 = 0 ;
10728 PyObject * obj4 = 0 ;
10729 PyObject * obj5 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 if (obj1) {
10738 arg2 = (int)SWIG_As_int(obj1);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 if (obj2) {
10742 {
10743 arg3 = &temp3;
10744 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10745 }
10746 }
10747 if (obj3) {
10748 {
10749 arg4 = &temp4;
10750 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10751 }
10752 }
10753 if (obj4) {
10754 arg5 = (long)SWIG_As_long(obj4);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 if (obj5) {
10758 {
10759 arg6 = wxString_in_helper(obj5);
10760 if (arg6 == NULL) SWIG_fail;
10761 temp6 = True;
10762 }
10763 }
10764 {
10765 if (!wxPyCheckForApp()) SWIG_fail;
10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
10767 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10768
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
10772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10773 {
10774 if (temp6)
10775 delete arg6;
10776 }
10777 return resultobj;
10778 fail:
10779 {
10780 if (temp6)
10781 delete arg6;
10782 }
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxPyHtmlListBox *result;
10790 char *kwnames[] = {
10791 NULL
10792 };
10793
10794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10795 {
10796 if (!wxPyCheckForApp()) SWIG_fail;
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10799
10800 wxPyEndAllowThreads(__tstate);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10804 return resultobj;
10805 fail:
10806 return NULL;
10807 }
10808
10809
10810 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10811 PyObject *resultobj;
10812 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10813 PyObject *arg2 = (PyObject *) 0 ;
10814 PyObject *arg3 = (PyObject *) 0 ;
10815 PyObject * obj0 = 0 ;
10816 PyObject * obj1 = 0 ;
10817 PyObject * obj2 = 0 ;
10818 char *kwnames[] = {
10819 (char *) "self",(char *) "self",(char *) "_class", NULL
10820 };
10821
10822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10825 arg2 = obj1;
10826 arg3 = obj2;
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 (arg1)->_setCallbackInfo(arg2,arg3);
10830
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 Py_INCREF(Py_None); resultobj = Py_None;
10835 return resultobj;
10836 fail:
10837 return NULL;
10838 }
10839
10840
10841 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj;
10843 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10844 wxWindow *arg2 = (wxWindow *) 0 ;
10845 int arg3 = (int) wxID_ANY ;
10846 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10847 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10848 wxSize const &arg5_defvalue = wxDefaultSize ;
10849 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10850 long arg6 = (long) 0 ;
10851 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10852 wxString *arg7 = (wxString *) &arg7_defvalue ;
10853 bool result;
10854 wxPoint temp4 ;
10855 wxSize temp5 ;
10856 bool temp7 = False ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 PyObject * obj2 = 0 ;
10860 PyObject * obj3 = 0 ;
10861 PyObject * obj4 = 0 ;
10862 PyObject * obj5 = 0 ;
10863 PyObject * obj6 = 0 ;
10864 char *kwnames[] = {
10865 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10866 };
10867
10868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10873 if (obj2) {
10874 arg3 = (int)SWIG_As_int(obj2);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 if (obj3) {
10878 {
10879 arg4 = &temp4;
10880 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10881 }
10882 }
10883 if (obj4) {
10884 {
10885 arg5 = &temp5;
10886 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10887 }
10888 }
10889 if (obj5) {
10890 arg6 = (long)SWIG_As_long(obj5);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 if (obj6) {
10894 {
10895 arg7 = wxString_in_helper(obj6);
10896 if (arg7 == NULL) SWIG_fail;
10897 temp7 = True;
10898 }
10899 }
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 {
10908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10909 }
10910 {
10911 if (temp7)
10912 delete arg7;
10913 }
10914 return resultobj;
10915 fail:
10916 {
10917 if (temp7)
10918 delete arg7;
10919 }
10920 return NULL;
10921 }
10922
10923
10924 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 (arg1)->RefreshAll();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 Py_INCREF(Py_None); resultobj = Py_None;
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10952 size_t arg2 ;
10953 PyObject * obj0 = 0 ;
10954 PyObject * obj1 = 0 ;
10955 char *kwnames[] = {
10956 (char *) "self",(char *) "count", NULL
10957 };
10958
10959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10962 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 {
10965 PyThreadState* __tstate = wxPyBeginAllowThreads();
10966 (arg1)->SetItemCount(arg2);
10967
10968 wxPyEndAllowThreads(__tstate);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 }
10971 Py_INCREF(Py_None); resultobj = Py_None;
10972 return resultobj;
10973 fail:
10974 return NULL;
10975 }
10976
10977
10978 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
10979 PyObject *resultobj;
10980 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10981 wxFileSystem *result;
10982 PyObject * obj0 = 0 ;
10983 char *kwnames[] = {
10984 (char *) "self", NULL
10985 };
10986
10987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10990 {
10991 PyThreadState* __tstate = wxPyBeginAllowThreads();
10992 {
10993 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10994 result = (wxFileSystem *) &_result_ref;
10995 }
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11001 return resultobj;
11002 fail:
11003 return NULL;
11004 }
11005
11006
11007 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11008 PyObject *obj;
11009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11010 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11011 Py_INCREF(obj);
11012 return Py_BuildValue((char *)"");
11013 }
11014 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxTaskBarIcon *result;
11017 char *kwnames[] = {
11018 NULL
11019 };
11020
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11022 {
11023 if (!wxPyCheckForApp()) SWIG_fail;
11024 PyThreadState* __tstate = wxPyBeginAllowThreads();
11025 result = (wxTaskBarIcon *)new wxTaskBarIcon();
11026
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
11031 return resultobj;
11032 fail:
11033 return NULL;
11034 }
11035
11036
11037 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11038 PyObject *resultobj;
11039 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11040 PyObject * obj0 = 0 ;
11041 char *kwnames[] = {
11042 (char *) "self", NULL
11043 };
11044
11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
11046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 delete arg1;
11051
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 Py_INCREF(Py_None); resultobj = Py_None;
11056 return resultobj;
11057 fail:
11058 return NULL;
11059 }
11060
11061
11062 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11063 PyObject *resultobj;
11064 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11065 PyObject * obj0 = 0 ;
11066 char *kwnames[] = {
11067 (char *) "self", NULL
11068 };
11069
11070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11073 {
11074 PyThreadState* __tstate = wxPyBeginAllowThreads();
11075 wxTaskBarIcon_Destroy(arg1);
11076
11077 wxPyEndAllowThreads(__tstate);
11078 if (PyErr_Occurred()) SWIG_fail;
11079 }
11080 Py_INCREF(Py_None); resultobj = Py_None;
11081 return resultobj;
11082 fail:
11083 return NULL;
11084 }
11085
11086
11087 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11088 PyObject *obj;
11089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11090 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11091 Py_INCREF(obj);
11092 return Py_BuildValue((char *)"");
11093 }
11094 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxEventType arg1 ;
11097 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11098 wxTaskBarIconEvent *result;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 char *kwnames[] = {
11102 (char *) "evtType",(char *) "tbIcon", NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11106 arg1 = (wxEventType)SWIG_As_int(obj0);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11118 return resultobj;
11119 fail:
11120 return NULL;
11121 }
11122
11123
11124 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11125 PyObject *obj;
11126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11127 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11128 Py_INCREF(obj);
11129 return Py_BuildValue((char *)"");
11130 }
11131 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11132 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11133 return 1;
11134 }
11135
11136
11137 static PyObject *_wrap_FileSelectorPromptStr_get() {
11138 PyObject *pyobj;
11139
11140 {
11141 #if wxUSE_UNICODE
11142 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11143 #else
11144 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11145 #endif
11146 }
11147 return pyobj;
11148 }
11149
11150
11151 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11152 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11153 return 1;
11154 }
11155
11156
11157 static PyObject *_wrap_DirSelectorPromptStr_get() {
11158 PyObject *pyobj;
11159
11160 {
11161 #if wxUSE_UNICODE
11162 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11163 #else
11164 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11165 #endif
11166 }
11167 return pyobj;
11168 }
11169
11170
11171 static int _wrap_DirDialogNameStr_set(PyObject *) {
11172 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11173 return 1;
11174 }
11175
11176
11177 static PyObject *_wrap_DirDialogNameStr_get() {
11178 PyObject *pyobj;
11179
11180 {
11181 #if wxUSE_UNICODE
11182 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11183 #else
11184 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11185 #endif
11186 }
11187 return pyobj;
11188 }
11189
11190
11191 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11192 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11193 return 1;
11194 }
11195
11196
11197 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11198 PyObject *pyobj;
11199
11200 {
11201 #if wxUSE_UNICODE
11202 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11203 #else
11204 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11205 #endif
11206 }
11207 return pyobj;
11208 }
11209
11210
11211 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11212 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11213 return 1;
11214 }
11215
11216
11217 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11218 PyObject *pyobj;
11219
11220 {
11221 #if wxUSE_UNICODE
11222 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11223 #else
11224 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11225 #endif
11226 }
11227 return pyobj;
11228 }
11229
11230
11231 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11232 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11233 return 1;
11234 }
11235
11236
11237 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11238 PyObject *pyobj;
11239
11240 {
11241 #if wxUSE_UNICODE
11242 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11243 #else
11244 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11245 #endif
11246 }
11247 return pyobj;
11248 }
11249
11250
11251 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj;
11253 wxColourData *result;
11254 char *kwnames[] = {
11255 NULL
11256 };
11257
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 result = (wxColourData *)new wxColourData();
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11267 return resultobj;
11268 fail:
11269 return NULL;
11270 }
11271
11272
11273 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxColourData *arg1 = (wxColourData *) 0 ;
11276 PyObject * obj0 = 0 ;
11277 char *kwnames[] = {
11278 (char *) "self", NULL
11279 };
11280
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 delete arg1;
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 Py_INCREF(Py_None); resultobj = Py_None;
11292 return resultobj;
11293 fail:
11294 return NULL;
11295 }
11296
11297
11298 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxColourData *arg1 = (wxColourData *) 0 ;
11301 bool result;
11302 PyObject * obj0 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 result = (bool)(arg1)->GetChooseFull();
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 {
11318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11319 }
11320 return resultobj;
11321 fail:
11322 return NULL;
11323 }
11324
11325
11326 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxColourData *arg1 = (wxColourData *) 0 ;
11329 wxColour result;
11330 PyObject * obj0 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (arg1)->GetColour();
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 {
11346 wxColour * resultptr;
11347 resultptr = new wxColour((wxColour &) result);
11348 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11349 }
11350 return resultobj;
11351 fail:
11352 return NULL;
11353 }
11354
11355
11356 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj;
11358 wxColourData *arg1 = (wxColourData *) 0 ;
11359 int arg2 ;
11360 wxColour result;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self",(char *) "i", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11370 arg2 = (int)SWIG_As_int(obj1);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 {
11373 PyThreadState* __tstate = wxPyBeginAllowThreads();
11374 result = (arg1)->GetCustomColour(arg2);
11375
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 {
11380 wxColour * resultptr;
11381 resultptr = new wxColour((wxColour &) result);
11382 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11383 }
11384 return resultobj;
11385 fail:
11386 return NULL;
11387 }
11388
11389
11390 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11391 PyObject *resultobj;
11392 wxColourData *arg1 = (wxColourData *) 0 ;
11393 int arg2 ;
11394 PyObject * obj0 = 0 ;
11395 PyObject * obj1 = 0 ;
11396 char *kwnames[] = {
11397 (char *) "self",(char *) "flag", NULL
11398 };
11399
11400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11403 arg2 = (int)SWIG_As_int(obj1);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 (arg1)->SetChooseFull(arg2);
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 Py_INCREF(Py_None); resultobj = Py_None;
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj;
11421 wxColourData *arg1 = (wxColourData *) 0 ;
11422 wxColour *arg2 = 0 ;
11423 wxColour temp2 ;
11424 PyObject * obj0 = 0 ;
11425 PyObject * obj1 = 0 ;
11426 char *kwnames[] = {
11427 (char *) "self",(char *) "colour", NULL
11428 };
11429
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11433 {
11434 arg2 = &temp2;
11435 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11436 }
11437 {
11438 PyThreadState* __tstate = wxPyBeginAllowThreads();
11439 (arg1)->SetColour((wxColour const &)*arg2);
11440
11441 wxPyEndAllowThreads(__tstate);
11442 if (PyErr_Occurred()) SWIG_fail;
11443 }
11444 Py_INCREF(Py_None); resultobj = Py_None;
11445 return resultobj;
11446 fail:
11447 return NULL;
11448 }
11449
11450
11451 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11452 PyObject *resultobj;
11453 wxColourData *arg1 = (wxColourData *) 0 ;
11454 int arg2 ;
11455 wxColour *arg3 = 0 ;
11456 wxColour temp3 ;
11457 PyObject * obj0 = 0 ;
11458 PyObject * obj1 = 0 ;
11459 PyObject * obj2 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "self",(char *) "i",(char *) "colour", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11467 arg2 = (int)SWIG_As_int(obj1);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 {
11470 arg3 = &temp3;
11471 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11472 }
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11476
11477 wxPyEndAllowThreads(__tstate);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
11480 Py_INCREF(Py_None); resultobj = Py_None;
11481 return resultobj;
11482 fail:
11483 return NULL;
11484 }
11485
11486
11487 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11488 PyObject *obj;
11489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11490 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11491 Py_INCREF(obj);
11492 return Py_BuildValue((char *)"");
11493 }
11494 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxWindow *arg1 = (wxWindow *) 0 ;
11497 wxColourData *arg2 = (wxColourData *) NULL ;
11498 wxColourDialog *result;
11499 PyObject * obj0 = 0 ;
11500 PyObject * obj1 = 0 ;
11501 char *kwnames[] = {
11502 (char *) "parent",(char *) "data", NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11508 if (obj1) {
11509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11511 }
11512 {
11513 if (!wxPyCheckForApp()) SWIG_fail;
11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
11515 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11516
11517 wxPyEndAllowThreads(__tstate);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
11520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11521 return resultobj;
11522 fail:
11523 return NULL;
11524 }
11525
11526
11527 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11528 PyObject *resultobj;
11529 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11530 wxColourData *result;
11531 PyObject * obj0 = 0 ;
11532 char *kwnames[] = {
11533 (char *) "self", NULL
11534 };
11535
11536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 {
11542 wxColourData &_result_ref = (arg1)->GetColourData();
11543 result = (wxColourData *) &_result_ref;
11544 }
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
11549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11550 return resultobj;
11551 fail:
11552 return NULL;
11553 }
11554
11555
11556 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11557 PyObject *obj;
11558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11559 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11560 Py_INCREF(obj);
11561 return Py_BuildValue((char *)"");
11562 }
11563 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11564 PyObject *resultobj;
11565 wxWindow *arg1 = (wxWindow *) 0 ;
11566 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11567 wxString *arg2 = (wxString *) &arg2_defvalue ;
11568 wxString const &arg3_defvalue = wxPyEmptyString ;
11569 wxString *arg3 = (wxString *) &arg3_defvalue ;
11570 long arg4 = (long) 0 ;
11571 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11572 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11573 wxSize const &arg6_defvalue = wxDefaultSize ;
11574 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11575 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11576 wxString *arg7 = (wxString *) &arg7_defvalue ;
11577 wxDirDialog *result;
11578 bool temp2 = False ;
11579 bool temp3 = False ;
11580 wxPoint temp5 ;
11581 wxSize temp6 ;
11582 bool temp7 = False ;
11583 PyObject * obj0 = 0 ;
11584 PyObject * obj1 = 0 ;
11585 PyObject * obj2 = 0 ;
11586 PyObject * obj3 = 0 ;
11587 PyObject * obj4 = 0 ;
11588 PyObject * obj5 = 0 ;
11589 PyObject * obj6 = 0 ;
11590 char *kwnames[] = {
11591 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11592 };
11593
11594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11597 if (obj1) {
11598 {
11599 arg2 = wxString_in_helper(obj1);
11600 if (arg2 == NULL) SWIG_fail;
11601 temp2 = True;
11602 }
11603 }
11604 if (obj2) {
11605 {
11606 arg3 = wxString_in_helper(obj2);
11607 if (arg3 == NULL) SWIG_fail;
11608 temp3 = True;
11609 }
11610 }
11611 if (obj3) {
11612 arg4 = (long)SWIG_As_long(obj3);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 if (obj4) {
11616 {
11617 arg5 = &temp5;
11618 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11619 }
11620 }
11621 if (obj5) {
11622 {
11623 arg6 = &temp6;
11624 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11625 }
11626 }
11627 if (obj6) {
11628 {
11629 arg7 = wxString_in_helper(obj6);
11630 if (arg7 == NULL) SWIG_fail;
11631 temp7 = True;
11632 }
11633 }
11634 {
11635 if (!wxPyCheckForApp()) SWIG_fail;
11636 PyThreadState* __tstate = wxPyBeginAllowThreads();
11637 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11638
11639 wxPyEndAllowThreads(__tstate);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
11642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11643 {
11644 if (temp2)
11645 delete arg2;
11646 }
11647 {
11648 if (temp3)
11649 delete arg3;
11650 }
11651 {
11652 if (temp7)
11653 delete arg7;
11654 }
11655 return resultobj;
11656 fail:
11657 {
11658 if (temp2)
11659 delete arg2;
11660 }
11661 {
11662 if (temp3)
11663 delete arg3;
11664 }
11665 {
11666 if (temp7)
11667 delete arg7;
11668 }
11669 return NULL;
11670 }
11671
11672
11673 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11674 PyObject *resultobj;
11675 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11676 wxString result;
11677 PyObject * obj0 = 0 ;
11678 char *kwnames[] = {
11679 (char *) "self", NULL
11680 };
11681
11682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 result = (arg1)->GetPath();
11688
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 {
11693 #if wxUSE_UNICODE
11694 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11695 #else
11696 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11697 #endif
11698 }
11699 return resultobj;
11700 fail:
11701 return NULL;
11702 }
11703
11704
11705 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11706 PyObject *resultobj;
11707 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11708 wxString result;
11709 PyObject * obj0 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 result = (arg1)->GetMessage();
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 {
11725 #if wxUSE_UNICODE
11726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11727 #else
11728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11729 #endif
11730 }
11731 return resultobj;
11732 fail:
11733 return NULL;
11734 }
11735
11736
11737 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11738 PyObject *resultobj;
11739 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11740 long result;
11741 PyObject * obj0 = 0 ;
11742 char *kwnames[] = {
11743 (char *) "self", NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11749 {
11750 PyThreadState* __tstate = wxPyBeginAllowThreads();
11751 result = (long)(arg1)->GetStyle();
11752
11753 wxPyEndAllowThreads(__tstate);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 resultobj = SWIG_From_long((long)result);
11757 return resultobj;
11758 fail:
11759 return NULL;
11760 }
11761
11762
11763 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11764 PyObject *resultobj;
11765 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11766 wxString *arg2 = 0 ;
11767 bool temp2 = False ;
11768 PyObject * obj0 = 0 ;
11769 PyObject * obj1 = 0 ;
11770 char *kwnames[] = {
11771 (char *) "self",(char *) "message", NULL
11772 };
11773
11774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11777 {
11778 arg2 = wxString_in_helper(obj1);
11779 if (arg2 == NULL) SWIG_fail;
11780 temp2 = True;
11781 }
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 (arg1)->SetMessage((wxString const &)*arg2);
11785
11786 wxPyEndAllowThreads(__tstate);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 }
11789 Py_INCREF(Py_None); resultobj = Py_None;
11790 {
11791 if (temp2)
11792 delete arg2;
11793 }
11794 return resultobj;
11795 fail:
11796 {
11797 if (temp2)
11798 delete arg2;
11799 }
11800 return NULL;
11801 }
11802
11803
11804 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11805 PyObject *resultobj;
11806 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11807 wxString *arg2 = 0 ;
11808 bool temp2 = False ;
11809 PyObject * obj0 = 0 ;
11810 PyObject * obj1 = 0 ;
11811 char *kwnames[] = {
11812 (char *) "self",(char *) "path", NULL
11813 };
11814
11815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11818 {
11819 arg2 = wxString_in_helper(obj1);
11820 if (arg2 == NULL) SWIG_fail;
11821 temp2 = True;
11822 }
11823 {
11824 PyThreadState* __tstate = wxPyBeginAllowThreads();
11825 (arg1)->SetPath((wxString const &)*arg2);
11826
11827 wxPyEndAllowThreads(__tstate);
11828 if (PyErr_Occurred()) SWIG_fail;
11829 }
11830 Py_INCREF(Py_None); resultobj = Py_None;
11831 {
11832 if (temp2)
11833 delete arg2;
11834 }
11835 return resultobj;
11836 fail:
11837 {
11838 if (temp2)
11839 delete arg2;
11840 }
11841 return NULL;
11842 }
11843
11844
11845 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
11846 PyObject *obj;
11847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11848 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11849 Py_INCREF(obj);
11850 return Py_BuildValue((char *)"");
11851 }
11852 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11853 PyObject *resultobj;
11854 wxWindow *arg1 = (wxWindow *) 0 ;
11855 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11856 wxString *arg2 = (wxString *) &arg2_defvalue ;
11857 wxString const &arg3_defvalue = wxPyEmptyString ;
11858 wxString *arg3 = (wxString *) &arg3_defvalue ;
11859 wxString const &arg4_defvalue = wxPyEmptyString ;
11860 wxString *arg4 = (wxString *) &arg4_defvalue ;
11861 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11862 wxString *arg5 = (wxString *) &arg5_defvalue ;
11863 long arg6 = (long) 0 ;
11864 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11865 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11866 wxFileDialog *result;
11867 bool temp2 = False ;
11868 bool temp3 = False ;
11869 bool temp4 = False ;
11870 bool temp5 = False ;
11871 wxPoint temp7 ;
11872 PyObject * obj0 = 0 ;
11873 PyObject * obj1 = 0 ;
11874 PyObject * obj2 = 0 ;
11875 PyObject * obj3 = 0 ;
11876 PyObject * obj4 = 0 ;
11877 PyObject * obj5 = 0 ;
11878 PyObject * obj6 = 0 ;
11879 char *kwnames[] = {
11880 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11881 };
11882
11883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11886 if (obj1) {
11887 {
11888 arg2 = wxString_in_helper(obj1);
11889 if (arg2 == NULL) SWIG_fail;
11890 temp2 = True;
11891 }
11892 }
11893 if (obj2) {
11894 {
11895 arg3 = wxString_in_helper(obj2);
11896 if (arg3 == NULL) SWIG_fail;
11897 temp3 = True;
11898 }
11899 }
11900 if (obj3) {
11901 {
11902 arg4 = wxString_in_helper(obj3);
11903 if (arg4 == NULL) SWIG_fail;
11904 temp4 = True;
11905 }
11906 }
11907 if (obj4) {
11908 {
11909 arg5 = wxString_in_helper(obj4);
11910 if (arg5 == NULL) SWIG_fail;
11911 temp5 = True;
11912 }
11913 }
11914 if (obj5) {
11915 arg6 = (long)SWIG_As_long(obj5);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 if (obj6) {
11919 {
11920 arg7 = &temp7;
11921 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11922 }
11923 }
11924 {
11925 if (!wxPyCheckForApp()) SWIG_fail;
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11933 {
11934 if (temp2)
11935 delete arg2;
11936 }
11937 {
11938 if (temp3)
11939 delete arg3;
11940 }
11941 {
11942 if (temp4)
11943 delete arg4;
11944 }
11945 {
11946 if (temp5)
11947 delete arg5;
11948 }
11949 return resultobj;
11950 fail:
11951 {
11952 if (temp2)
11953 delete arg2;
11954 }
11955 {
11956 if (temp3)
11957 delete arg3;
11958 }
11959 {
11960 if (temp4)
11961 delete arg4;
11962 }
11963 {
11964 if (temp5)
11965 delete arg5;
11966 }
11967 return NULL;
11968 }
11969
11970
11971 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11974 wxString *arg2 = 0 ;
11975 bool temp2 = False ;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj1 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self",(char *) "message", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11985 {
11986 arg2 = wxString_in_helper(obj1);
11987 if (arg2 == NULL) SWIG_fail;
11988 temp2 = True;
11989 }
11990 {
11991 PyThreadState* __tstate = wxPyBeginAllowThreads();
11992 (arg1)->SetMessage((wxString const &)*arg2);
11993
11994 wxPyEndAllowThreads(__tstate);
11995 if (PyErr_Occurred()) SWIG_fail;
11996 }
11997 Py_INCREF(Py_None); resultobj = Py_None;
11998 {
11999 if (temp2)
12000 delete arg2;
12001 }
12002 return resultobj;
12003 fail:
12004 {
12005 if (temp2)
12006 delete arg2;
12007 }
12008 return NULL;
12009 }
12010
12011
12012 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj;
12014 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12015 wxString *arg2 = 0 ;
12016 bool temp2 = False ;
12017 PyObject * obj0 = 0 ;
12018 PyObject * obj1 = 0 ;
12019 char *kwnames[] = {
12020 (char *) "self",(char *) "path", NULL
12021 };
12022
12023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12026 {
12027 arg2 = wxString_in_helper(obj1);
12028 if (arg2 == NULL) SWIG_fail;
12029 temp2 = True;
12030 }
12031 {
12032 PyThreadState* __tstate = wxPyBeginAllowThreads();
12033 (arg1)->SetPath((wxString const &)*arg2);
12034
12035 wxPyEndAllowThreads(__tstate);
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
12038 Py_INCREF(Py_None); resultobj = Py_None;
12039 {
12040 if (temp2)
12041 delete arg2;
12042 }
12043 return resultobj;
12044 fail:
12045 {
12046 if (temp2)
12047 delete arg2;
12048 }
12049 return NULL;
12050 }
12051
12052
12053 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj;
12055 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12056 wxString *arg2 = 0 ;
12057 bool temp2 = False ;
12058 PyObject * obj0 = 0 ;
12059 PyObject * obj1 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self",(char *) "dir", NULL
12062 };
12063
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12067 {
12068 arg2 = wxString_in_helper(obj1);
12069 if (arg2 == NULL) SWIG_fail;
12070 temp2 = True;
12071 }
12072 {
12073 PyThreadState* __tstate = wxPyBeginAllowThreads();
12074 (arg1)->SetDirectory((wxString const &)*arg2);
12075
12076 wxPyEndAllowThreads(__tstate);
12077 if (PyErr_Occurred()) SWIG_fail;
12078 }
12079 Py_INCREF(Py_None); resultobj = Py_None;
12080 {
12081 if (temp2)
12082 delete arg2;
12083 }
12084 return resultobj;
12085 fail:
12086 {
12087 if (temp2)
12088 delete arg2;
12089 }
12090 return NULL;
12091 }
12092
12093
12094 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12095 PyObject *resultobj;
12096 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12097 wxString *arg2 = 0 ;
12098 bool temp2 = False ;
12099 PyObject * obj0 = 0 ;
12100 PyObject * obj1 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self",(char *) "name", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12108 {
12109 arg2 = wxString_in_helper(obj1);
12110 if (arg2 == NULL) SWIG_fail;
12111 temp2 = True;
12112 }
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 (arg1)->SetFilename((wxString const &)*arg2);
12116
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 Py_INCREF(Py_None); resultobj = Py_None;
12121 {
12122 if (temp2)
12123 delete arg2;
12124 }
12125 return resultobj;
12126 fail:
12127 {
12128 if (temp2)
12129 delete arg2;
12130 }
12131 return NULL;
12132 }
12133
12134
12135 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj;
12137 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12138 wxString *arg2 = 0 ;
12139 bool temp2 = False ;
12140 PyObject * obj0 = 0 ;
12141 PyObject * obj1 = 0 ;
12142 char *kwnames[] = {
12143 (char *) "self",(char *) "wildCard", NULL
12144 };
12145
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12149 {
12150 arg2 = wxString_in_helper(obj1);
12151 if (arg2 == NULL) SWIG_fail;
12152 temp2 = True;
12153 }
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 (arg1)->SetWildcard((wxString const &)*arg2);
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 Py_INCREF(Py_None); resultobj = Py_None;
12162 {
12163 if (temp2)
12164 delete arg2;
12165 }
12166 return resultobj;
12167 fail:
12168 {
12169 if (temp2)
12170 delete arg2;
12171 }
12172 return NULL;
12173 }
12174
12175
12176 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12177 PyObject *resultobj;
12178 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12179 long arg2 ;
12180 PyObject * obj0 = 0 ;
12181 PyObject * obj1 = 0 ;
12182 char *kwnames[] = {
12183 (char *) "self",(char *) "style", NULL
12184 };
12185
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12189 arg2 = (long)SWIG_As_long(obj1);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 {
12192 PyThreadState* __tstate = wxPyBeginAllowThreads();
12193 (arg1)->SetStyle(arg2);
12194
12195 wxPyEndAllowThreads(__tstate);
12196 if (PyErr_Occurred()) SWIG_fail;
12197 }
12198 Py_INCREF(Py_None); resultobj = Py_None;
12199 return resultobj;
12200 fail:
12201 return NULL;
12202 }
12203
12204
12205 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj;
12207 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12208 int arg2 ;
12209 PyObject * obj0 = 0 ;
12210 PyObject * obj1 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self",(char *) "filterIndex", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12218 arg2 = (int)SWIG_As_int(obj1);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 (arg1)->SetFilterIndex(arg2);
12223
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 Py_INCREF(Py_None); resultobj = Py_None;
12228 return resultobj;
12229 fail:
12230 return NULL;
12231 }
12232
12233
12234 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12235 PyObject *resultobj;
12236 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12237 wxString result;
12238 PyObject * obj0 = 0 ;
12239 char *kwnames[] = {
12240 (char *) "self", NULL
12241 };
12242
12243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 result = ((wxFileDialog const *)arg1)->GetMessage();
12249
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 {
12254 #if wxUSE_UNICODE
12255 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12256 #else
12257 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12258 #endif
12259 }
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12269 wxString result;
12270 PyObject * obj0 = 0 ;
12271 char *kwnames[] = {
12272 (char *) "self", NULL
12273 };
12274
12275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 result = ((wxFileDialog const *)arg1)->GetPath();
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 {
12286 #if wxUSE_UNICODE
12287 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12288 #else
12289 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12290 #endif
12291 }
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12299 PyObject *resultobj;
12300 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12301 wxString result;
12302 PyObject * obj0 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = ((wxFileDialog const *)arg1)->GetDirectory();
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 {
12318 #if wxUSE_UNICODE
12319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12320 #else
12321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12322 #endif
12323 }
12324 return resultobj;
12325 fail:
12326 return NULL;
12327 }
12328
12329
12330 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12333 wxString result;
12334 PyObject * obj0 = 0 ;
12335 char *kwnames[] = {
12336 (char *) "self", NULL
12337 };
12338
12339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 result = ((wxFileDialog const *)arg1)->GetFilename();
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 {
12350 #if wxUSE_UNICODE
12351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12352 #else
12353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12354 #endif
12355 }
12356 return resultobj;
12357 fail:
12358 return NULL;
12359 }
12360
12361
12362 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12363 PyObject *resultobj;
12364 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12365 wxString result;
12366 PyObject * obj0 = 0 ;
12367 char *kwnames[] = {
12368 (char *) "self", NULL
12369 };
12370
12371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 result = ((wxFileDialog const *)arg1)->GetWildcard();
12377
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 {
12382 #if wxUSE_UNICODE
12383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12384 #else
12385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12386 #endif
12387 }
12388 return resultobj;
12389 fail:
12390 return NULL;
12391 }
12392
12393
12394 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12395 PyObject *resultobj;
12396 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12397 long result;
12398 PyObject * obj0 = 0 ;
12399 char *kwnames[] = {
12400 (char *) "self", NULL
12401 };
12402
12403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12406 {
12407 PyThreadState* __tstate = wxPyBeginAllowThreads();
12408 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12409
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 resultobj = SWIG_From_long((long)result);
12414 return resultobj;
12415 fail:
12416 return NULL;
12417 }
12418
12419
12420 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj;
12422 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12423 int result;
12424 PyObject * obj0 = 0 ;
12425 char *kwnames[] = {
12426 (char *) "self", NULL
12427 };
12428
12429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12432 {
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12435
12436 wxPyEndAllowThreads(__tstate);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
12439 resultobj = SWIG_From_int((int)result);
12440 return resultobj;
12441 fail:
12442 return NULL;
12443 }
12444
12445
12446 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12447 PyObject *resultobj;
12448 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12449 PyObject *result;
12450 PyObject * obj0 = 0 ;
12451 char *kwnames[] = {
12452 (char *) "self", NULL
12453 };
12454
12455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12461
12462 wxPyEndAllowThreads(__tstate);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 resultobj = result;
12466 return resultobj;
12467 fail:
12468 return NULL;
12469 }
12470
12471
12472 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12473 PyObject *resultobj;
12474 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12475 PyObject *result;
12476 PyObject * obj0 = 0 ;
12477 char *kwnames[] = {
12478 (char *) "self", NULL
12479 };
12480
12481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 resultobj = result;
12492 return resultobj;
12493 fail:
12494 return NULL;
12495 }
12496
12497
12498 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12499 PyObject *obj;
12500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12501 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12502 Py_INCREF(obj);
12503 return Py_BuildValue((char *)"");
12504 }
12505 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12506 PyObject *resultobj;
12507 wxWindow *arg1 = (wxWindow *) 0 ;
12508 wxString *arg2 = 0 ;
12509 wxString *arg3 = 0 ;
12510 int arg4 = (int) 0 ;
12511 wxString *arg5 = (wxString *) NULL ;
12512 long arg6 = (long) wxCHOICEDLG_STYLE ;
12513 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12514 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12515 wxMultiChoiceDialog *result;
12516 bool temp2 = False ;
12517 bool temp3 = False ;
12518 wxPoint temp6 ;
12519 PyObject * obj0 = 0 ;
12520 PyObject * obj1 = 0 ;
12521 PyObject * obj2 = 0 ;
12522 PyObject * obj3 = 0 ;
12523 PyObject * obj4 = 0 ;
12524 PyObject * obj5 = 0 ;
12525 char *kwnames[] = {
12526 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12527 };
12528
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12532 {
12533 arg2 = wxString_in_helper(obj1);
12534 if (arg2 == NULL) SWIG_fail;
12535 temp2 = True;
12536 }
12537 {
12538 arg3 = wxString_in_helper(obj2);
12539 if (arg3 == NULL) SWIG_fail;
12540 temp3 = True;
12541 }
12542 if (obj3) {
12543 {
12544 arg4 = PyList_Size(obj3);
12545 arg5 = wxString_LIST_helper(obj3);
12546 if (arg5 == NULL) SWIG_fail;
12547 }
12548 }
12549 if (obj4) {
12550 arg6 = (long)SWIG_As_long(obj4);
12551 if (PyErr_Occurred()) SWIG_fail;
12552 }
12553 if (obj5) {
12554 {
12555 arg7 = &temp6;
12556 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12557 }
12558 }
12559 {
12560 if (!wxPyCheckForApp()) SWIG_fail;
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12563
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12568 {
12569 if (temp2)
12570 delete arg2;
12571 }
12572 {
12573 if (temp3)
12574 delete arg3;
12575 }
12576 {
12577 if (arg5) delete [] arg5;
12578 }
12579 return resultobj;
12580 fail:
12581 {
12582 if (temp2)
12583 delete arg2;
12584 }
12585 {
12586 if (temp3)
12587 delete arg3;
12588 }
12589 {
12590 if (arg5) delete [] arg5;
12591 }
12592 return NULL;
12593 }
12594
12595
12596 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12597 PyObject *resultobj;
12598 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12599 wxArrayInt *arg2 = 0 ;
12600 bool temp2 = False ;
12601 PyObject * obj0 = 0 ;
12602 PyObject * obj1 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self",(char *) "selections", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12610 {
12611 if (! PySequence_Check(obj1)) {
12612 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12613 SWIG_fail;
12614 }
12615 arg2 = new wxArrayInt;
12616 temp2 = True;
12617 int i, len=PySequence_Length(obj1);
12618 for (i=0; i<len; i++) {
12619 PyObject* item = PySequence_GetItem(obj1, i);
12620 PyObject* number = PyNumber_Int(item);
12621 arg2->Add(PyInt_AS_LONG(number));
12622 Py_DECREF(item);
12623 Py_DECREF(number);
12624 }
12625 }
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 Py_INCREF(Py_None); resultobj = Py_None;
12634 {
12635 if (temp2) delete arg2;
12636 }
12637 return resultobj;
12638 fail:
12639 {
12640 if (temp2) delete arg2;
12641 }
12642 return NULL;
12643 }
12644
12645
12646 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj;
12648 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12649 PyObject *result;
12650 PyObject * obj0 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 resultobj = result;
12666 return resultobj;
12667 fail:
12668 return NULL;
12669 }
12670
12671
12672 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12673 PyObject *obj;
12674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12675 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12676 Py_INCREF(obj);
12677 return Py_BuildValue((char *)"");
12678 }
12679 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxWindow *arg1 = (wxWindow *) 0 ;
12682 wxString *arg2 = 0 ;
12683 wxString *arg3 = 0 ;
12684 int arg4 ;
12685 wxString *arg5 = (wxString *) 0 ;
12686 long arg6 = (long) wxCHOICEDLG_STYLE ;
12687 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12688 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12689 wxSingleChoiceDialog *result;
12690 bool temp2 = False ;
12691 bool temp3 = False ;
12692 wxPoint temp6 ;
12693 PyObject * obj0 = 0 ;
12694 PyObject * obj1 = 0 ;
12695 PyObject * obj2 = 0 ;
12696 PyObject * obj3 = 0 ;
12697 PyObject * obj4 = 0 ;
12698 PyObject * obj5 = 0 ;
12699 char *kwnames[] = {
12700 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12706 {
12707 arg2 = wxString_in_helper(obj1);
12708 if (arg2 == NULL) SWIG_fail;
12709 temp2 = True;
12710 }
12711 {
12712 arg3 = wxString_in_helper(obj2);
12713 if (arg3 == NULL) SWIG_fail;
12714 temp3 = True;
12715 }
12716 {
12717 arg4 = PyList_Size(obj3);
12718 arg5 = wxString_LIST_helper(obj3);
12719 if (arg5 == NULL) SWIG_fail;
12720 }
12721 if (obj4) {
12722 arg6 = (long)SWIG_As_long(obj4);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 if (obj5) {
12726 {
12727 arg7 = &temp6;
12728 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12729 }
12730 }
12731 {
12732 if (!wxPyCheckForApp()) SWIG_fail;
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
12739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12740 {
12741 if (temp2)
12742 delete arg2;
12743 }
12744 {
12745 if (temp3)
12746 delete arg3;
12747 }
12748 {
12749 if (arg5) delete [] arg5;
12750 }
12751 return resultobj;
12752 fail:
12753 {
12754 if (temp2)
12755 delete arg2;
12756 }
12757 {
12758 if (temp3)
12759 delete arg3;
12760 }
12761 {
12762 if (arg5) delete [] arg5;
12763 }
12764 return NULL;
12765 }
12766
12767
12768 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12771 int result;
12772 PyObject * obj0 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12780 {
12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
12782 result = (int)(arg1)->GetSelection();
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 resultobj = SWIG_From_int((int)result);
12788 return resultobj;
12789 fail:
12790 return NULL;
12791 }
12792
12793
12794 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12795 PyObject *resultobj;
12796 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12797 wxString result;
12798 PyObject * obj0 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 result = (arg1)->GetStringSelection();
12809
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 {
12814 #if wxUSE_UNICODE
12815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12816 #else
12817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12818 #endif
12819 }
12820 return resultobj;
12821 fail:
12822 return NULL;
12823 }
12824
12825
12826 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj;
12828 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12829 int arg2 ;
12830 PyObject * obj0 = 0 ;
12831 PyObject * obj1 = 0 ;
12832 char *kwnames[] = {
12833 (char *) "self",(char *) "sel", NULL
12834 };
12835
12836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12839 arg2 = (int)SWIG_As_int(obj1);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 (arg1)->SetSelection(arg2);
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 Py_INCREF(Py_None); resultobj = Py_None;
12849 return resultobj;
12850 fail:
12851 return NULL;
12852 }
12853
12854
12855 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
12856 PyObject *obj;
12857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12858 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12859 Py_INCREF(obj);
12860 return Py_BuildValue((char *)"");
12861 }
12862 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12863 PyObject *resultobj;
12864 wxWindow *arg1 = (wxWindow *) 0 ;
12865 wxString *arg2 = 0 ;
12866 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12867 wxString *arg3 = (wxString *) &arg3_defvalue ;
12868 wxString const &arg4_defvalue = wxPyEmptyString ;
12869 wxString *arg4 = (wxString *) &arg4_defvalue ;
12870 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12871 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12872 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12873 wxTextEntryDialog *result;
12874 bool temp2 = False ;
12875 bool temp3 = False ;
12876 bool temp4 = False ;
12877 wxPoint temp6 ;
12878 PyObject * obj0 = 0 ;
12879 PyObject * obj1 = 0 ;
12880 PyObject * obj2 = 0 ;
12881 PyObject * obj3 = 0 ;
12882 PyObject * obj4 = 0 ;
12883 PyObject * obj5 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12891 {
12892 arg2 = wxString_in_helper(obj1);
12893 if (arg2 == NULL) SWIG_fail;
12894 temp2 = True;
12895 }
12896 if (obj2) {
12897 {
12898 arg3 = wxString_in_helper(obj2);
12899 if (arg3 == NULL) SWIG_fail;
12900 temp3 = True;
12901 }
12902 }
12903 if (obj3) {
12904 {
12905 arg4 = wxString_in_helper(obj3);
12906 if (arg4 == NULL) SWIG_fail;
12907 temp4 = True;
12908 }
12909 }
12910 if (obj4) {
12911 arg5 = (long)SWIG_As_long(obj4);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 if (obj5) {
12915 {
12916 arg6 = &temp6;
12917 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12918 }
12919 }
12920 {
12921 if (!wxPyCheckForApp()) SWIG_fail;
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
12928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12929 {
12930 if (temp2)
12931 delete arg2;
12932 }
12933 {
12934 if (temp3)
12935 delete arg3;
12936 }
12937 {
12938 if (temp4)
12939 delete arg4;
12940 }
12941 return resultobj;
12942 fail:
12943 {
12944 if (temp2)
12945 delete arg2;
12946 }
12947 {
12948 if (temp3)
12949 delete arg3;
12950 }
12951 {
12952 if (temp4)
12953 delete arg4;
12954 }
12955 return NULL;
12956 }
12957
12958
12959 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12962 wxString result;
12963 PyObject * obj0 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (arg1)->GetValue();
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 {
12979 #if wxUSE_UNICODE
12980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12981 #else
12982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12983 #endif
12984 }
12985 return resultobj;
12986 fail:
12987 return NULL;
12988 }
12989
12990
12991 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj;
12993 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12994 wxString *arg2 = 0 ;
12995 bool temp2 = False ;
12996 PyObject * obj0 = 0 ;
12997 PyObject * obj1 = 0 ;
12998 char *kwnames[] = {
12999 (char *) "self",(char *) "value", NULL
13000 };
13001
13002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13005 {
13006 arg2 = wxString_in_helper(obj1);
13007 if (arg2 == NULL) SWIG_fail;
13008 temp2 = True;
13009 }
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 (arg1)->SetValue((wxString const &)*arg2);
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 Py_INCREF(Py_None); resultobj = Py_None;
13018 {
13019 if (temp2)
13020 delete arg2;
13021 }
13022 return resultobj;
13023 fail:
13024 {
13025 if (temp2)
13026 delete arg2;
13027 }
13028 return NULL;
13029 }
13030
13031
13032 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13033 PyObject *obj;
13034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13035 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13036 Py_INCREF(obj);
13037 return Py_BuildValue((char *)"");
13038 }
13039 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13040 PyObject *resultobj;
13041 wxFontData *result;
13042 char *kwnames[] = {
13043 NULL
13044 };
13045
13046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13047 {
13048 PyThreadState* __tstate = wxPyBeginAllowThreads();
13049 result = (wxFontData *)new wxFontData();
13050
13051 wxPyEndAllowThreads(__tstate);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 }
13054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13055 return resultobj;
13056 fail:
13057 return NULL;
13058 }
13059
13060
13061 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj;
13063 wxFontData *arg1 = (wxFontData *) 0 ;
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 delete arg1;
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxFontData *arg1 = (wxFontData *) 0 ;
13089 bool arg2 ;
13090 PyObject * obj0 = 0 ;
13091 PyObject * obj1 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self",(char *) "enable", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13099 arg2 = (bool)SWIG_As_bool(obj1);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 (arg1)->EnableEffects(arg2);
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 Py_INCREF(Py_None); resultobj = Py_None;
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxFontData *arg1 = (wxFontData *) 0 ;
13118 bool result;
13119 PyObject * obj0 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (bool)(arg1)->GetAllowSymbols();
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 {
13135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13136 }
13137 return resultobj;
13138 fail:
13139 return NULL;
13140 }
13141
13142
13143 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13144 PyObject *resultobj;
13145 wxFontData *arg1 = (wxFontData *) 0 ;
13146 wxColour result;
13147 PyObject * obj0 = 0 ;
13148 char *kwnames[] = {
13149 (char *) "self", NULL
13150 };
13151
13152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13155 {
13156 PyThreadState* __tstate = wxPyBeginAllowThreads();
13157 result = (arg1)->GetColour();
13158
13159 wxPyEndAllowThreads(__tstate);
13160 if (PyErr_Occurred()) SWIG_fail;
13161 }
13162 {
13163 wxColour * resultptr;
13164 resultptr = new wxColour((wxColour &) result);
13165 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13166 }
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj;
13175 wxFontData *arg1 = (wxFontData *) 0 ;
13176 wxFont result;
13177 PyObject * obj0 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "self", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13185 {
13186 PyThreadState* __tstate = wxPyBeginAllowThreads();
13187 result = (arg1)->GetChosenFont();
13188
13189 wxPyEndAllowThreads(__tstate);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
13192 {
13193 wxFont * resultptr;
13194 resultptr = new wxFont((wxFont &) result);
13195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13196 }
13197 return resultobj;
13198 fail:
13199 return NULL;
13200 }
13201
13202
13203 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13204 PyObject *resultobj;
13205 wxFontData *arg1 = (wxFontData *) 0 ;
13206 bool result;
13207 PyObject * obj0 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 result = (bool)(arg1)->GetEnableEffects();
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 {
13223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13224 }
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj;
13233 wxFontData *arg1 = (wxFontData *) 0 ;
13234 wxFont result;
13235 PyObject * obj0 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 result = (arg1)->GetInitialFont();
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 {
13251 wxFont * resultptr;
13252 resultptr = new wxFont((wxFont &) result);
13253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13254 }
13255 return resultobj;
13256 fail:
13257 return NULL;
13258 }
13259
13260
13261 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13262 PyObject *resultobj;
13263 wxFontData *arg1 = (wxFontData *) 0 ;
13264 bool result;
13265 PyObject * obj0 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13273 {
13274 PyThreadState* __tstate = wxPyBeginAllowThreads();
13275 result = (bool)(arg1)->GetShowHelp();
13276
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 {
13281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13282 }
13283 return resultobj;
13284 fail:
13285 return NULL;
13286 }
13287
13288
13289 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13290 PyObject *resultobj;
13291 wxFontData *arg1 = (wxFontData *) 0 ;
13292 bool arg2 ;
13293 PyObject * obj0 = 0 ;
13294 PyObject * obj1 = 0 ;
13295 char *kwnames[] = {
13296 (char *) "self",(char *) "allowSymbols", NULL
13297 };
13298
13299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13302 arg2 = (bool)SWIG_As_bool(obj1);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 (arg1)->SetAllowSymbols(arg2);
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 Py_INCREF(Py_None); resultobj = Py_None;
13312 return resultobj;
13313 fail:
13314 return NULL;
13315 }
13316
13317
13318 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxFontData *arg1 = (wxFontData *) 0 ;
13321 wxFont *arg2 = 0 ;
13322 PyObject * obj0 = 0 ;
13323 PyObject * obj1 = 0 ;
13324 char *kwnames[] = {
13325 (char *) "self",(char *) "font", NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13332 SWIG_POINTER_EXCEPTION | 0)) == -1)
13333 SWIG_fail;
13334 if (arg2 == NULL) {
13335 PyErr_SetString(PyExc_TypeError,"null reference");
13336 SWIG_fail;
13337 }
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 (arg1)->SetChosenFont((wxFont const &)*arg2);
13341
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 Py_INCREF(Py_None); resultobj = Py_None;
13346 return resultobj;
13347 fail:
13348 return NULL;
13349 }
13350
13351
13352 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13353 PyObject *resultobj;
13354 wxFontData *arg1 = (wxFontData *) 0 ;
13355 wxColour *arg2 = 0 ;
13356 wxColour temp2 ;
13357 PyObject * obj0 = 0 ;
13358 PyObject * obj1 = 0 ;
13359 char *kwnames[] = {
13360 (char *) "self",(char *) "colour", NULL
13361 };
13362
13363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13366 {
13367 arg2 = &temp2;
13368 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13369 }
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 (arg1)->SetColour((wxColour const &)*arg2);
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 Py_INCREF(Py_None); resultobj = Py_None;
13378 return resultobj;
13379 fail:
13380 return NULL;
13381 }
13382
13383
13384 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxFontData *arg1 = (wxFontData *) 0 ;
13387 wxFont *arg2 = 0 ;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "font", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13398 SWIG_POINTER_EXCEPTION | 0)) == -1)
13399 SWIG_fail;
13400 if (arg2 == NULL) {
13401 PyErr_SetString(PyExc_TypeError,"null reference");
13402 SWIG_fail;
13403 }
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 (arg1)->SetInitialFont((wxFont const &)*arg2);
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 Py_INCREF(Py_None); resultobj = Py_None;
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxFontData *arg1 = (wxFontData *) 0 ;
13421 int arg2 ;
13422 int arg3 ;
13423 PyObject * obj0 = 0 ;
13424 PyObject * obj1 = 0 ;
13425 PyObject * obj2 = 0 ;
13426 char *kwnames[] = {
13427 (char *) "self",(char *) "min",(char *) "max", NULL
13428 };
13429
13430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13433 arg2 = (int)SWIG_As_int(obj1);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 arg3 = (int)SWIG_As_int(obj2);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 (arg1)->SetRange(arg2,arg3);
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 Py_INCREF(Py_None); resultobj = Py_None;
13445 return resultobj;
13446 fail:
13447 return NULL;
13448 }
13449
13450
13451 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxFontData *arg1 = (wxFontData *) 0 ;
13454 bool arg2 ;
13455 PyObject * obj0 = 0 ;
13456 PyObject * obj1 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self",(char *) "showHelp", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13464 arg2 = (bool)SWIG_As_bool(obj1);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 (arg1)->SetShowHelp(arg2);
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 Py_INCREF(Py_None); resultobj = Py_None;
13474 return resultobj;
13475 fail:
13476 return NULL;
13477 }
13478
13479
13480 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13481 PyObject *obj;
13482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13483 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13484 Py_INCREF(obj);
13485 return Py_BuildValue((char *)"");
13486 }
13487 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxWindow *arg1 = (wxWindow *) 0 ;
13490 wxFontData *arg2 = 0 ;
13491 wxFontDialog *result;
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "parent",(char *) "data", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13502 SWIG_POINTER_EXCEPTION | 0)) == -1)
13503 SWIG_fail;
13504 if (arg2 == NULL) {
13505 PyErr_SetString(PyExc_TypeError,"null reference");
13506 SWIG_fail;
13507 }
13508 {
13509 if (!wxPyCheckForApp()) SWIG_fail;
13510 PyThreadState* __tstate = wxPyBeginAllowThreads();
13511 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13512
13513 wxPyEndAllowThreads(__tstate);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13517 return resultobj;
13518 fail:
13519 return NULL;
13520 }
13521
13522
13523 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13524 PyObject *resultobj;
13525 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13526 wxFontData *result;
13527 PyObject * obj0 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "self", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 {
13538 wxFontData &_result_ref = (arg1)->GetFontData();
13539 result = (wxFontData *) &_result_ref;
13540 }
13541
13542 wxPyEndAllowThreads(__tstate);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 }
13545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13546 return resultobj;
13547 fail:
13548 return NULL;
13549 }
13550
13551
13552 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13553 PyObject *obj;
13554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13555 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13556 Py_INCREF(obj);
13557 return Py_BuildValue((char *)"");
13558 }
13559 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13560 PyObject *resultobj;
13561 wxWindow *arg1 = (wxWindow *) 0 ;
13562 wxString *arg2 = 0 ;
13563 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13564 wxString *arg3 = (wxString *) &arg3_defvalue ;
13565 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13566 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13567 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13568 wxMessageDialog *result;
13569 bool temp2 = False ;
13570 bool temp3 = False ;
13571 wxPoint temp5 ;
13572 PyObject * obj0 = 0 ;
13573 PyObject * obj1 = 0 ;
13574 PyObject * obj2 = 0 ;
13575 PyObject * obj3 = 0 ;
13576 PyObject * obj4 = 0 ;
13577 char *kwnames[] = {
13578 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13579 };
13580
13581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13584 {
13585 arg2 = wxString_in_helper(obj1);
13586 if (arg2 == NULL) SWIG_fail;
13587 temp2 = True;
13588 }
13589 if (obj2) {
13590 {
13591 arg3 = wxString_in_helper(obj2);
13592 if (arg3 == NULL) SWIG_fail;
13593 temp3 = True;
13594 }
13595 }
13596 if (obj3) {
13597 arg4 = (long)SWIG_As_long(obj3);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 if (obj4) {
13601 {
13602 arg5 = &temp5;
13603 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13604 }
13605 }
13606 {
13607 if (!wxPyCheckForApp()) SWIG_fail;
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13610
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13615 {
13616 if (temp2)
13617 delete arg2;
13618 }
13619 {
13620 if (temp3)
13621 delete arg3;
13622 }
13623 return resultobj;
13624 fail:
13625 {
13626 if (temp2)
13627 delete arg2;
13628 }
13629 {
13630 if (temp3)
13631 delete arg3;
13632 }
13633 return NULL;
13634 }
13635
13636
13637 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13638 PyObject *obj;
13639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13640 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13641 Py_INCREF(obj);
13642 return Py_BuildValue((char *)"");
13643 }
13644 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13645 PyObject *resultobj;
13646 wxString *arg1 = 0 ;
13647 wxString *arg2 = 0 ;
13648 int arg3 = (int) 100 ;
13649 wxWindow *arg4 = (wxWindow *) NULL ;
13650 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13651 wxProgressDialog *result;
13652 bool temp1 = False ;
13653 bool temp2 = False ;
13654 PyObject * obj0 = 0 ;
13655 PyObject * obj1 = 0 ;
13656 PyObject * obj2 = 0 ;
13657 PyObject * obj3 = 0 ;
13658 PyObject * obj4 = 0 ;
13659 char *kwnames[] = {
13660 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13661 };
13662
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13664 {
13665 arg1 = wxString_in_helper(obj0);
13666 if (arg1 == NULL) SWIG_fail;
13667 temp1 = True;
13668 }
13669 {
13670 arg2 = wxString_in_helper(obj1);
13671 if (arg2 == NULL) SWIG_fail;
13672 temp2 = True;
13673 }
13674 if (obj2) {
13675 arg3 = (int)SWIG_As_int(obj2);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 if (obj3) {
13679 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13681 }
13682 if (obj4) {
13683 arg5 = (int)SWIG_As_int(obj4);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 {
13687 if (!wxPyCheckForApp()) SWIG_fail;
13688 PyThreadState* __tstate = wxPyBeginAllowThreads();
13689 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13690
13691 wxPyEndAllowThreads(__tstate);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 }
13694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13695 {
13696 if (temp1)
13697 delete arg1;
13698 }
13699 {
13700 if (temp2)
13701 delete arg2;
13702 }
13703 return resultobj;
13704 fail:
13705 {
13706 if (temp1)
13707 delete arg1;
13708 }
13709 {
13710 if (temp2)
13711 delete arg2;
13712 }
13713 return NULL;
13714 }
13715
13716
13717 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13718 PyObject *resultobj;
13719 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13720 int arg2 ;
13721 wxString const &arg3_defvalue = wxPyEmptyString ;
13722 wxString *arg3 = (wxString *) &arg3_defvalue ;
13723 bool result;
13724 bool temp3 = False ;
13725 PyObject * obj0 = 0 ;
13726 PyObject * obj1 = 0 ;
13727 PyObject * obj2 = 0 ;
13728 char *kwnames[] = {
13729 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13730 };
13731
13732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13735 arg2 = (int)SWIG_As_int(obj1);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 if (obj2) {
13738 {
13739 arg3 = wxString_in_helper(obj2);
13740 if (arg3 == NULL) SWIG_fail;
13741 temp3 = True;
13742 }
13743 }
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 {
13752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13753 }
13754 {
13755 if (temp3)
13756 delete arg3;
13757 }
13758 return resultobj;
13759 fail:
13760 {
13761 if (temp3)
13762 delete arg3;
13763 }
13764 return NULL;
13765 }
13766
13767
13768 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj;
13770 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13771 PyObject * obj0 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self", NULL
13774 };
13775
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 (arg1)->Resume();
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 Py_INCREF(Py_None); resultobj = Py_None;
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
13794 PyObject *obj;
13795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13796 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13797 Py_INCREF(obj);
13798 return Py_BuildValue((char *)"");
13799 }
13800 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13801 PyObject *resultobj;
13802 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13803 int arg2 = (int) 0 ;
13804 wxFindDialogEvent *result;
13805 PyObject * obj0 = 0 ;
13806 PyObject * obj1 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "commandType",(char *) "id", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13812 if (obj0) {
13813 arg1 = (wxEventType)SWIG_As_int(obj0);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 if (obj1) {
13817 arg2 = (int)SWIG_As_int(obj1);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13828 return resultobj;
13829 fail:
13830 return NULL;
13831 }
13832
13833
13834 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13837 int result;
13838 PyObject * obj0 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13846 {
13847 PyThreadState* __tstate = wxPyBeginAllowThreads();
13848 result = (int)(arg1)->GetFlags();
13849
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 resultobj = SWIG_From_int((int)result);
13854 return resultobj;
13855 fail:
13856 return NULL;
13857 }
13858
13859
13860 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj;
13862 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13863 wxString *result;
13864 PyObject * obj0 = 0 ;
13865 char *kwnames[] = {
13866 (char *) "self", NULL
13867 };
13868
13869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 {
13875 wxString const &_result_ref = (arg1)->GetFindString();
13876 result = (wxString *) &_result_ref;
13877 }
13878
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 {
13883 #if wxUSE_UNICODE
13884 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13885 #else
13886 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13887 #endif
13888 }
13889 return resultobj;
13890 fail:
13891 return NULL;
13892 }
13893
13894
13895 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj;
13897 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13898 wxString *result;
13899 PyObject * obj0 = 0 ;
13900 char *kwnames[] = {
13901 (char *) "self", NULL
13902 };
13903
13904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 {
13910 wxString const &_result_ref = (arg1)->GetReplaceString();
13911 result = (wxString *) &_result_ref;
13912 }
13913
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 {
13918 #if wxUSE_UNICODE
13919 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13920 #else
13921 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13922 #endif
13923 }
13924 return resultobj;
13925 fail:
13926 return NULL;
13927 }
13928
13929
13930 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13931 PyObject *resultobj;
13932 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13933 wxFindReplaceDialog *result;
13934 PyObject * obj0 = 0 ;
13935 char *kwnames[] = {
13936 (char *) "self", NULL
13937 };
13938
13939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
13944 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13945
13946 wxPyEndAllowThreads(__tstate);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13950 return resultobj;
13951 fail:
13952 return NULL;
13953 }
13954
13955
13956 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13957 PyObject *resultobj;
13958 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13959 int arg2 ;
13960 PyObject * obj0 = 0 ;
13961 PyObject * obj1 = 0 ;
13962 char *kwnames[] = {
13963 (char *) "self",(char *) "flags", NULL
13964 };
13965
13966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13969 arg2 = (int)SWIG_As_int(obj1);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 (arg1)->SetFlags(arg2);
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 Py_INCREF(Py_None); resultobj = Py_None;
13979 return resultobj;
13980 fail:
13981 return NULL;
13982 }
13983
13984
13985 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13986 PyObject *resultobj;
13987 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13988 wxString *arg2 = 0 ;
13989 bool temp2 = False ;
13990 PyObject * obj0 = 0 ;
13991 PyObject * obj1 = 0 ;
13992 char *kwnames[] = {
13993 (char *) "self",(char *) "str", NULL
13994 };
13995
13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13999 {
14000 arg2 = wxString_in_helper(obj1);
14001 if (arg2 == NULL) SWIG_fail;
14002 temp2 = True;
14003 }
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 (arg1)->SetFindString((wxString const &)*arg2);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 Py_INCREF(Py_None); resultobj = Py_None;
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return resultobj;
14017 fail:
14018 {
14019 if (temp2)
14020 delete arg2;
14021 }
14022 return NULL;
14023 }
14024
14025
14026 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14027 PyObject *resultobj;
14028 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14029 wxString *arg2 = 0 ;
14030 bool temp2 = False ;
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 char *kwnames[] = {
14034 (char *) "self",(char *) "str", NULL
14035 };
14036
14037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14040 {
14041 arg2 = wxString_in_helper(obj1);
14042 if (arg2 == NULL) SWIG_fail;
14043 temp2 = True;
14044 }
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 (arg1)->SetReplaceString((wxString const &)*arg2);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 {
14054 if (temp2)
14055 delete arg2;
14056 }
14057 return resultobj;
14058 fail:
14059 {
14060 if (temp2)
14061 delete arg2;
14062 }
14063 return NULL;
14064 }
14065
14066
14067 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14068 PyObject *obj;
14069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14070 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14071 Py_INCREF(obj);
14072 return Py_BuildValue((char *)"");
14073 }
14074 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj;
14076 int arg1 = (int) 0 ;
14077 wxFindReplaceData *result;
14078 PyObject * obj0 = 0 ;
14079 char *kwnames[] = {
14080 (char *) "flags", NULL
14081 };
14082
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14084 if (obj0) {
14085 arg1 = (int)SWIG_As_int(obj0);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14096 return resultobj;
14097 fail:
14098 return NULL;
14099 }
14100
14101
14102 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14103 PyObject *resultobj;
14104 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14105 PyObject * obj0 = 0 ;
14106 char *kwnames[] = {
14107 (char *) "self", NULL
14108 };
14109
14110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 delete arg1;
14116
14117 wxPyEndAllowThreads(__tstate);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 }
14120 Py_INCREF(Py_None); resultobj = Py_None;
14121 return resultobj;
14122 fail:
14123 return NULL;
14124 }
14125
14126
14127 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14128 PyObject *resultobj;
14129 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14130 wxString *result;
14131 PyObject * obj0 = 0 ;
14132 char *kwnames[] = {
14133 (char *) "self", NULL
14134 };
14135
14136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14139 {
14140 PyThreadState* __tstate = wxPyBeginAllowThreads();
14141 {
14142 wxString const &_result_ref = (arg1)->GetFindString();
14143 result = (wxString *) &_result_ref;
14144 }
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 {
14150 #if wxUSE_UNICODE
14151 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14152 #else
14153 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14154 #endif
14155 }
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14165 wxString *result;
14166 PyObject * obj0 = 0 ;
14167 char *kwnames[] = {
14168 (char *) "self", NULL
14169 };
14170
14171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14174 {
14175 PyThreadState* __tstate = wxPyBeginAllowThreads();
14176 {
14177 wxString const &_result_ref = (arg1)->GetReplaceString();
14178 result = (wxString *) &_result_ref;
14179 }
14180
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 {
14185 #if wxUSE_UNICODE
14186 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14187 #else
14188 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14189 #endif
14190 }
14191 return resultobj;
14192 fail:
14193 return NULL;
14194 }
14195
14196
14197 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14198 PyObject *resultobj;
14199 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14200 int result;
14201 PyObject * obj0 = 0 ;
14202 char *kwnames[] = {
14203 (char *) "self", NULL
14204 };
14205
14206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14209 {
14210 PyThreadState* __tstate = wxPyBeginAllowThreads();
14211 result = (int)(arg1)->GetFlags();
14212
14213 wxPyEndAllowThreads(__tstate);
14214 if (PyErr_Occurred()) SWIG_fail;
14215 }
14216 resultobj = SWIG_From_int((int)result);
14217 return resultobj;
14218 fail:
14219 return NULL;
14220 }
14221
14222
14223 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14224 PyObject *resultobj;
14225 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14226 int arg2 ;
14227 PyObject * obj0 = 0 ;
14228 PyObject * obj1 = 0 ;
14229 char *kwnames[] = {
14230 (char *) "self",(char *) "flags", NULL
14231 };
14232
14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14236 arg2 = (int)SWIG_As_int(obj1);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 (arg1)->SetFlags(arg2);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 Py_INCREF(Py_None); resultobj = Py_None;
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14255 wxString *arg2 = 0 ;
14256 bool temp2 = False ;
14257 PyObject * obj0 = 0 ;
14258 PyObject * obj1 = 0 ;
14259 char *kwnames[] = {
14260 (char *) "self",(char *) "str", NULL
14261 };
14262
14263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14266 {
14267 arg2 = wxString_in_helper(obj1);
14268 if (arg2 == NULL) SWIG_fail;
14269 temp2 = True;
14270 }
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 (arg1)->SetFindString((wxString const &)*arg2);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 Py_INCREF(Py_None); resultobj = Py_None;
14279 {
14280 if (temp2)
14281 delete arg2;
14282 }
14283 return resultobj;
14284 fail:
14285 {
14286 if (temp2)
14287 delete arg2;
14288 }
14289 return NULL;
14290 }
14291
14292
14293 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14294 PyObject *resultobj;
14295 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14296 wxString *arg2 = 0 ;
14297 bool temp2 = False ;
14298 PyObject * obj0 = 0 ;
14299 PyObject * obj1 = 0 ;
14300 char *kwnames[] = {
14301 (char *) "self",(char *) "str", NULL
14302 };
14303
14304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14307 {
14308 arg2 = wxString_in_helper(obj1);
14309 if (arg2 == NULL) SWIG_fail;
14310 temp2 = True;
14311 }
14312 {
14313 PyThreadState* __tstate = wxPyBeginAllowThreads();
14314 (arg1)->SetReplaceString((wxString const &)*arg2);
14315
14316 wxPyEndAllowThreads(__tstate);
14317 if (PyErr_Occurred()) SWIG_fail;
14318 }
14319 Py_INCREF(Py_None); resultobj = Py_None;
14320 {
14321 if (temp2)
14322 delete arg2;
14323 }
14324 return resultobj;
14325 fail:
14326 {
14327 if (temp2)
14328 delete arg2;
14329 }
14330 return NULL;
14331 }
14332
14333
14334 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14335 PyObject *obj;
14336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14337 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14338 Py_INCREF(obj);
14339 return Py_BuildValue((char *)"");
14340 }
14341 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj;
14343 wxWindow *arg1 = (wxWindow *) 0 ;
14344 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14345 wxString *arg3 = 0 ;
14346 int arg4 = (int) 0 ;
14347 wxFindReplaceDialog *result;
14348 bool temp3 = False ;
14349 PyObject * obj0 = 0 ;
14350 PyObject * obj1 = 0 ;
14351 PyObject * obj2 = 0 ;
14352 PyObject * obj3 = 0 ;
14353 char *kwnames[] = {
14354 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14355 };
14356
14357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14362 {
14363 arg3 = wxString_in_helper(obj2);
14364 if (arg3 == NULL) SWIG_fail;
14365 temp3 = True;
14366 }
14367 if (obj3) {
14368 arg4 = (int)SWIG_As_int(obj3);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 {
14372 if (!wxPyCheckForApp()) SWIG_fail;
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14380 {
14381 if (temp3)
14382 delete arg3;
14383 }
14384 return resultobj;
14385 fail:
14386 {
14387 if (temp3)
14388 delete arg3;
14389 }
14390 return NULL;
14391 }
14392
14393
14394 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj;
14396 wxFindReplaceDialog *result;
14397 char *kwnames[] = {
14398 NULL
14399 };
14400
14401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14402 {
14403 if (!wxPyCheckForApp()) SWIG_fail;
14404 PyThreadState* __tstate = wxPyBeginAllowThreads();
14405 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14406
14407 wxPyEndAllowThreads(__tstate);
14408 if (PyErr_Occurred()) SWIG_fail;
14409 }
14410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14411 return resultobj;
14412 fail:
14413 return NULL;
14414 }
14415
14416
14417 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14418 PyObject *resultobj;
14419 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14420 wxWindow *arg2 = (wxWindow *) 0 ;
14421 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14422 wxString *arg4 = 0 ;
14423 int arg5 = (int) 0 ;
14424 bool result;
14425 bool temp4 = False ;
14426 PyObject * obj0 = 0 ;
14427 PyObject * obj1 = 0 ;
14428 PyObject * obj2 = 0 ;
14429 PyObject * obj3 = 0 ;
14430 PyObject * obj4 = 0 ;
14431 char *kwnames[] = {
14432 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14433 };
14434
14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14440 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14442 {
14443 arg4 = wxString_in_helper(obj3);
14444 if (arg4 == NULL) SWIG_fail;
14445 temp4 = True;
14446 }
14447 if (obj4) {
14448 arg5 = (int)SWIG_As_int(obj4);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14454
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 {
14459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14460 }
14461 {
14462 if (temp4)
14463 delete arg4;
14464 }
14465 return resultobj;
14466 fail:
14467 {
14468 if (temp4)
14469 delete arg4;
14470 }
14471 return NULL;
14472 }
14473
14474
14475 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14478 wxFindReplaceData *result;
14479 PyObject * obj0 = 0 ;
14480 char *kwnames[] = {
14481 (char *) "self", NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 result = (wxFindReplaceData *)(arg1)->GetData();
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14495 return resultobj;
14496 fail:
14497 return NULL;
14498 }
14499
14500
14501 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14502 PyObject *resultobj;
14503 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14504 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14505 PyObject * obj0 = 0 ;
14506 PyObject * obj1 = 0 ;
14507 char *kwnames[] = {
14508 (char *) "self",(char *) "data", NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 (arg1)->SetData(arg2);
14519
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 Py_INCREF(Py_None); resultobj = Py_None;
14524 return resultobj;
14525 fail:
14526 return NULL;
14527 }
14528
14529
14530 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14531 PyObject *obj;
14532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14533 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14534 Py_INCREF(obj);
14535 return Py_BuildValue((char *)"");
14536 }
14537 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14538 PyObject *resultobj;
14539 wxWindow *arg1 = (wxWindow *) 0 ;
14540 int arg2 = (int) (int)-1 ;
14541 wxString const &arg3_defvalue = wxPyEmptyString ;
14542 wxString *arg3 = (wxString *) &arg3_defvalue ;
14543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14545 wxSize const &arg5_defvalue = wxDefaultSize ;
14546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14547 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14548 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14549 wxString *arg7 = (wxString *) &arg7_defvalue ;
14550 wxMDIParentFrame *result;
14551 bool temp3 = False ;
14552 wxPoint temp4 ;
14553 wxSize temp5 ;
14554 bool temp7 = False ;
14555 PyObject * obj0 = 0 ;
14556 PyObject * obj1 = 0 ;
14557 PyObject * obj2 = 0 ;
14558 PyObject * obj3 = 0 ;
14559 PyObject * obj4 = 0 ;
14560 PyObject * obj5 = 0 ;
14561 PyObject * obj6 = 0 ;
14562 char *kwnames[] = {
14563 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14564 };
14565
14566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14569 if (obj1) {
14570 arg2 = (int)SWIG_As_int(obj1);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 if (obj2) {
14574 {
14575 arg3 = wxString_in_helper(obj2);
14576 if (arg3 == NULL) SWIG_fail;
14577 temp3 = True;
14578 }
14579 }
14580 if (obj3) {
14581 {
14582 arg4 = &temp4;
14583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14584 }
14585 }
14586 if (obj4) {
14587 {
14588 arg5 = &temp5;
14589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14590 }
14591 }
14592 if (obj5) {
14593 arg6 = (long)SWIG_As_long(obj5);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 if (obj6) {
14597 {
14598 arg7 = wxString_in_helper(obj6);
14599 if (arg7 == NULL) SWIG_fail;
14600 temp7 = True;
14601 }
14602 }
14603 {
14604 if (!wxPyCheckForApp()) SWIG_fail;
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14607
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14612 {
14613 if (temp3)
14614 delete arg3;
14615 }
14616 {
14617 if (temp7)
14618 delete arg7;
14619 }
14620 return resultobj;
14621 fail:
14622 {
14623 if (temp3)
14624 delete arg3;
14625 }
14626 {
14627 if (temp7)
14628 delete arg7;
14629 }
14630 return NULL;
14631 }
14632
14633
14634 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj;
14636 wxMDIParentFrame *result;
14637 char *kwnames[] = {
14638 NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14642 {
14643 if (!wxPyCheckForApp()) SWIG_fail;
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14651 return resultobj;
14652 fail:
14653 return NULL;
14654 }
14655
14656
14657 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj;
14659 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14660 wxWindow *arg2 = (wxWindow *) 0 ;
14661 int arg3 = (int) (int)-1 ;
14662 wxString const &arg4_defvalue = wxPyEmptyString ;
14663 wxString *arg4 = (wxString *) &arg4_defvalue ;
14664 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14665 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14666 wxSize const &arg6_defvalue = wxDefaultSize ;
14667 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14668 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14669 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14670 wxString *arg8 = (wxString *) &arg8_defvalue ;
14671 bool result;
14672 bool temp4 = False ;
14673 wxPoint temp5 ;
14674 wxSize temp6 ;
14675 bool temp8 = False ;
14676 PyObject * obj0 = 0 ;
14677 PyObject * obj1 = 0 ;
14678 PyObject * obj2 = 0 ;
14679 PyObject * obj3 = 0 ;
14680 PyObject * obj4 = 0 ;
14681 PyObject * obj5 = 0 ;
14682 PyObject * obj6 = 0 ;
14683 PyObject * obj7 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14693 if (obj2) {
14694 arg3 = (int)SWIG_As_int(obj2);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
14697 if (obj3) {
14698 {
14699 arg4 = wxString_in_helper(obj3);
14700 if (arg4 == NULL) SWIG_fail;
14701 temp4 = True;
14702 }
14703 }
14704 if (obj4) {
14705 {
14706 arg5 = &temp5;
14707 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14708 }
14709 }
14710 if (obj5) {
14711 {
14712 arg6 = &temp6;
14713 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14714 }
14715 }
14716 if (obj6) {
14717 arg7 = (long)SWIG_As_long(obj6);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 if (obj7) {
14721 {
14722 arg8 = wxString_in_helper(obj7);
14723 if (arg8 == NULL) SWIG_fail;
14724 temp8 = True;
14725 }
14726 }
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 {
14735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14736 }
14737 {
14738 if (temp4)
14739 delete arg4;
14740 }
14741 {
14742 if (temp8)
14743 delete arg8;
14744 }
14745 return resultobj;
14746 fail:
14747 {
14748 if (temp4)
14749 delete arg4;
14750 }
14751 {
14752 if (temp8)
14753 delete arg8;
14754 }
14755 return NULL;
14756 }
14757
14758
14759 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14762 PyObject * obj0 = 0 ;
14763 char *kwnames[] = {
14764 (char *) "self", NULL
14765 };
14766
14767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 (arg1)->ActivateNext();
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 Py_INCREF(Py_None); resultobj = Py_None;
14778 return resultobj;
14779 fail:
14780 return NULL;
14781 }
14782
14783
14784 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
14785 PyObject *resultobj;
14786 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14787 PyObject * obj0 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "self", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 (arg1)->ActivatePrevious();
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 Py_INCREF(Py_None); resultobj = Py_None;
14803 return resultobj;
14804 fail:
14805 return NULL;
14806 }
14807
14808
14809 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14812 PyObject * obj0 = 0 ;
14813 char *kwnames[] = {
14814 (char *) "self", NULL
14815 };
14816
14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 (arg1)->ArrangeIcons();
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 Py_INCREF(Py_None); resultobj = Py_None;
14828 return resultobj;
14829 fail:
14830 return NULL;
14831 }
14832
14833
14834 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj;
14836 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14837 PyObject * obj0 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 (arg1)->Cascade();
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 Py_INCREF(Py_None); resultobj = Py_None;
14853 return resultobj;
14854 fail:
14855 return NULL;
14856 }
14857
14858
14859 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14862 wxMDIChildFrame *result;
14863 PyObject * obj0 = 0 ;
14864 char *kwnames[] = {
14865 (char *) "self", NULL
14866 };
14867
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 {
14879 resultobj = wxPyMake_wxObject(result, 0);
14880 }
14881 return resultobj;
14882 fail:
14883 return NULL;
14884 }
14885
14886
14887 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj;
14889 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14890 wxMDIClientWindow *result;
14891 PyObject * obj0 = 0 ;
14892 char *kwnames[] = {
14893 (char *) "self", NULL
14894 };
14895
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 resultobj = wxPyMake_wxObject(result, 0);
14908 }
14909 return resultobj;
14910 fail:
14911 return NULL;
14912 }
14913
14914
14915 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14916 PyObject *resultobj;
14917 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14918 wxWindow *result;
14919 PyObject * obj0 = 0 ;
14920 char *kwnames[] = {
14921 (char *) "self", NULL
14922 };
14923
14924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14927 {
14928 PyThreadState* __tstate = wxPyBeginAllowThreads();
14929 result = (wxWindow *)(arg1)->GetToolBar();
14930
14931 wxPyEndAllowThreads(__tstate);
14932 if (PyErr_Occurred()) SWIG_fail;
14933 }
14934 {
14935 resultobj = wxPyMake_wxObject(result, 0);
14936 }
14937 return resultobj;
14938 fail:
14939 return NULL;
14940 }
14941
14942
14943 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
14944 PyObject *resultobj;
14945 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14946 PyObject * obj0 = 0 ;
14947 char *kwnames[] = {
14948 (char *) "self", NULL
14949 };
14950
14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14954 {
14955 PyThreadState* __tstate = wxPyBeginAllowThreads();
14956 (arg1)->Tile();
14957
14958 wxPyEndAllowThreads(__tstate);
14959 if (PyErr_Occurred()) SWIG_fail;
14960 }
14961 Py_INCREF(Py_None); resultobj = Py_None;
14962 return resultobj;
14963 fail:
14964 return NULL;
14965 }
14966
14967
14968 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
14969 PyObject *obj;
14970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14971 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14972 Py_INCREF(obj);
14973 return Py_BuildValue((char *)"");
14974 }
14975 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14976 PyObject *resultobj;
14977 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14978 int arg2 = (int) (int)-1 ;
14979 wxString const &arg3_defvalue = wxPyEmptyString ;
14980 wxString *arg3 = (wxString *) &arg3_defvalue ;
14981 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14982 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14983 wxSize const &arg5_defvalue = wxDefaultSize ;
14984 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14985 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14986 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14987 wxString *arg7 = (wxString *) &arg7_defvalue ;
14988 wxMDIChildFrame *result;
14989 bool temp3 = False ;
14990 wxPoint temp4 ;
14991 wxSize temp5 ;
14992 bool temp7 = False ;
14993 PyObject * obj0 = 0 ;
14994 PyObject * obj1 = 0 ;
14995 PyObject * obj2 = 0 ;
14996 PyObject * obj3 = 0 ;
14997 PyObject * obj4 = 0 ;
14998 PyObject * obj5 = 0 ;
14999 PyObject * obj6 = 0 ;
15000 char *kwnames[] = {
15001 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15002 };
15003
15004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15007 if (obj1) {
15008 arg2 = (int)SWIG_As_int(obj1);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 if (obj2) {
15012 {
15013 arg3 = wxString_in_helper(obj2);
15014 if (arg3 == NULL) SWIG_fail;
15015 temp3 = True;
15016 }
15017 }
15018 if (obj3) {
15019 {
15020 arg4 = &temp4;
15021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15022 }
15023 }
15024 if (obj4) {
15025 {
15026 arg5 = &temp5;
15027 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15028 }
15029 }
15030 if (obj5) {
15031 arg6 = (long)SWIG_As_long(obj5);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 if (obj6) {
15035 {
15036 arg7 = wxString_in_helper(obj6);
15037 if (arg7 == NULL) SWIG_fail;
15038 temp7 = True;
15039 }
15040 }
15041 {
15042 if (!wxPyCheckForApp()) SWIG_fail;
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15050 {
15051 if (temp3)
15052 delete arg3;
15053 }
15054 {
15055 if (temp7)
15056 delete arg7;
15057 }
15058 return resultobj;
15059 fail:
15060 {
15061 if (temp3)
15062 delete arg3;
15063 }
15064 {
15065 if (temp7)
15066 delete arg7;
15067 }
15068 return NULL;
15069 }
15070
15071
15072 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15073 PyObject *resultobj;
15074 wxMDIChildFrame *result;
15075 char *kwnames[] = {
15076 NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15080 {
15081 if (!wxPyCheckForApp()) SWIG_fail;
15082 PyThreadState* __tstate = wxPyBeginAllowThreads();
15083 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15084
15085 wxPyEndAllowThreads(__tstate);
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
15088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15089 return resultobj;
15090 fail:
15091 return NULL;
15092 }
15093
15094
15095 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15096 PyObject *resultobj;
15097 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15098 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15099 int arg3 = (int) (int)-1 ;
15100 wxString const &arg4_defvalue = wxPyEmptyString ;
15101 wxString *arg4 = (wxString *) &arg4_defvalue ;
15102 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15103 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15104 wxSize const &arg6_defvalue = wxDefaultSize ;
15105 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15106 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15107 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15108 wxString *arg8 = (wxString *) &arg8_defvalue ;
15109 bool result;
15110 bool temp4 = False ;
15111 wxPoint temp5 ;
15112 wxSize temp6 ;
15113 bool temp8 = False ;
15114 PyObject * obj0 = 0 ;
15115 PyObject * obj1 = 0 ;
15116 PyObject * obj2 = 0 ;
15117 PyObject * obj3 = 0 ;
15118 PyObject * obj4 = 0 ;
15119 PyObject * obj5 = 0 ;
15120 PyObject * obj6 = 0 ;
15121 PyObject * obj7 = 0 ;
15122 char *kwnames[] = {
15123 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15124 };
15125
15126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15131 if (obj2) {
15132 arg3 = (int)SWIG_As_int(obj2);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 if (obj3) {
15136 {
15137 arg4 = wxString_in_helper(obj3);
15138 if (arg4 == NULL) SWIG_fail;
15139 temp4 = True;
15140 }
15141 }
15142 if (obj4) {
15143 {
15144 arg5 = &temp5;
15145 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15146 }
15147 }
15148 if (obj5) {
15149 {
15150 arg6 = &temp6;
15151 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15152 }
15153 }
15154 if (obj6) {
15155 arg7 = (long)SWIG_As_long(obj6);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 if (obj7) {
15159 {
15160 arg8 = wxString_in_helper(obj7);
15161 if (arg8 == NULL) SWIG_fail;
15162 temp8 = True;
15163 }
15164 }
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 {
15173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15174 }
15175 {
15176 if (temp4)
15177 delete arg4;
15178 }
15179 {
15180 if (temp8)
15181 delete arg8;
15182 }
15183 return resultobj;
15184 fail:
15185 {
15186 if (temp4)
15187 delete arg4;
15188 }
15189 {
15190 if (temp8)
15191 delete arg8;
15192 }
15193 return NULL;
15194 }
15195
15196
15197 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15198 PyObject *resultobj;
15199 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15200 PyObject * obj0 = 0 ;
15201 char *kwnames[] = {
15202 (char *) "self", NULL
15203 };
15204
15205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15208 {
15209 PyThreadState* __tstate = wxPyBeginAllowThreads();
15210 (arg1)->Activate();
15211
15212 wxPyEndAllowThreads(__tstate);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 }
15215 Py_INCREF(Py_None); resultobj = Py_None;
15216 return resultobj;
15217 fail:
15218 return NULL;
15219 }
15220
15221
15222 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15223 PyObject *resultobj;
15224 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15225 bool arg2 ;
15226 PyObject * obj0 = 0 ;
15227 PyObject * obj1 = 0 ;
15228 char *kwnames[] = {
15229 (char *) "self",(char *) "maximize", NULL
15230 };
15231
15232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15235 arg2 = (bool)SWIG_As_bool(obj1);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 (arg1)->Maximize(arg2);
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 Py_INCREF(Py_None); resultobj = Py_None;
15245 return resultobj;
15246 fail:
15247 return NULL;
15248 }
15249
15250
15251 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15254 PyObject * obj0 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 (arg1)->Restore();
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15269 Py_INCREF(Py_None); resultobj = Py_None;
15270 return resultobj;
15271 fail:
15272 return NULL;
15273 }
15274
15275
15276 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15277 PyObject *obj;
15278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15279 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15280 Py_INCREF(obj);
15281 return Py_BuildValue((char *)"");
15282 }
15283 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj;
15285 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15286 long arg2 = (long) 0 ;
15287 wxMDIClientWindow *result;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 char *kwnames[] = {
15291 (char *) "parent",(char *) "style", NULL
15292 };
15293
15294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15297 if (obj1) {
15298 arg2 = (long)SWIG_As_long(obj1);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 }
15301 {
15302 if (!wxPyCheckForApp()) SWIG_fail;
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
15309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15310 return resultobj;
15311 fail:
15312 return NULL;
15313 }
15314
15315
15316 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15317 PyObject *resultobj;
15318 wxMDIClientWindow *result;
15319 char *kwnames[] = {
15320 NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15324 {
15325 if (!wxPyCheckForApp()) SWIG_fail;
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15333 return resultobj;
15334 fail:
15335 return NULL;
15336 }
15337
15338
15339 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj;
15341 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15342 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15343 long arg3 = (long) 0 ;
15344 bool result;
15345 PyObject * obj0 = 0 ;
15346 PyObject * obj1 = 0 ;
15347 PyObject * obj2 = 0 ;
15348 char *kwnames[] = {
15349 (char *) "self",(char *) "parent",(char *) "style", NULL
15350 };
15351
15352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15357 if (obj2) {
15358 arg3 = (long)SWIG_As_long(obj2);
15359 if (PyErr_Occurred()) SWIG_fail;
15360 }
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 result = (bool)(arg1)->Create(arg2,arg3);
15364
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 {
15369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15370 }
15371 return resultobj;
15372 fail:
15373 return NULL;
15374 }
15375
15376
15377 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15378 PyObject *obj;
15379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15380 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15381 Py_INCREF(obj);
15382 return Py_BuildValue((char *)"");
15383 }
15384 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 wxWindow *arg1 = (wxWindow *) 0 ;
15387 int arg2 = (int) (int)-1 ;
15388 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15389 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15390 wxSize const &arg4_defvalue = wxDefaultSize ;
15391 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15392 long arg5 = (long) 0 ;
15393 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15394 wxString *arg6 = (wxString *) &arg6_defvalue ;
15395 wxPyWindow *result;
15396 wxPoint temp3 ;
15397 wxSize temp4 ;
15398 bool temp6 = False ;
15399 PyObject * obj0 = 0 ;
15400 PyObject * obj1 = 0 ;
15401 PyObject * obj2 = 0 ;
15402 PyObject * obj3 = 0 ;
15403 PyObject * obj4 = 0 ;
15404 PyObject * obj5 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15412 if (obj1) {
15413 arg2 = (int)SWIG_As_int(obj1);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 if (obj2) {
15417 {
15418 arg3 = &temp3;
15419 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15420 }
15421 }
15422 if (obj3) {
15423 {
15424 arg4 = &temp4;
15425 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15426 }
15427 }
15428 if (obj4) {
15429 arg5 = (long)SWIG_As_long(obj4);
15430 if (PyErr_Occurred()) SWIG_fail;
15431 }
15432 if (obj5) {
15433 {
15434 arg6 = wxString_in_helper(obj5);
15435 if (arg6 == NULL) SWIG_fail;
15436 temp6 = True;
15437 }
15438 }
15439 {
15440 if (!wxPyCheckForApp()) SWIG_fail;
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15448 {
15449 if (temp6)
15450 delete arg6;
15451 }
15452 return resultobj;
15453 fail:
15454 {
15455 if (temp6)
15456 delete arg6;
15457 }
15458 return NULL;
15459 }
15460
15461
15462 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxPyWindow *result;
15465 char *kwnames[] = {
15466 NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15470 {
15471 if (!wxPyCheckForApp()) SWIG_fail;
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (wxPyWindow *)new wxPyWindow();
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15479 return resultobj;
15480 fail:
15481 return NULL;
15482 }
15483
15484
15485 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj;
15487 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15488 PyObject *arg2 = (PyObject *) 0 ;
15489 PyObject *arg3 = (PyObject *) 0 ;
15490 PyObject * obj0 = 0 ;
15491 PyObject * obj1 = 0 ;
15492 PyObject * obj2 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self",(char *) "self",(char *) "_class", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15500 arg2 = obj1;
15501 arg3 = obj2;
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 (arg1)->_setCallbackInfo(arg2,arg3);
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 Py_INCREF(Py_None); resultobj = Py_None;
15510 return resultobj;
15511 fail:
15512 return NULL;
15513 }
15514
15515
15516 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15517 PyObject *resultobj;
15518 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15519 wxSize *arg2 = 0 ;
15520 wxSize temp2 ;
15521 PyObject * obj0 = 0 ;
15522 PyObject * obj1 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "self",(char *) "size", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15530 {
15531 arg2 = &temp2;
15532 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15533 }
15534 {
15535 PyThreadState* __tstate = wxPyBeginAllowThreads();
15536 (arg1)->SetBestSize((wxSize const &)*arg2);
15537
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 Py_INCREF(Py_None); resultobj = Py_None;
15542 return resultobj;
15543 fail:
15544 return NULL;
15545 }
15546
15547
15548 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15549 PyObject *resultobj;
15550 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15551 int arg2 ;
15552 int arg3 ;
15553 int arg4 ;
15554 int arg5 ;
15555 PyObject * obj0 = 0 ;
15556 PyObject * obj1 = 0 ;
15557 PyObject * obj2 = 0 ;
15558 PyObject * obj3 = 0 ;
15559 PyObject * obj4 = 0 ;
15560 char *kwnames[] = {
15561 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15562 };
15563
15564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15567 arg2 = (int)SWIG_As_int(obj1);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 arg3 = (int)SWIG_As_int(obj2);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 arg4 = (int)SWIG_As_int(obj3);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 arg5 = (int)SWIG_As_int(obj4);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 Py_INCREF(Py_None); resultobj = Py_None;
15583 return resultobj;
15584 fail:
15585 return NULL;
15586 }
15587
15588
15589 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15590 PyObject *resultobj;
15591 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15592 int arg2 ;
15593 int arg3 ;
15594 int arg4 ;
15595 int arg5 ;
15596 int arg6 = (int) wxSIZE_AUTO ;
15597 PyObject * obj0 = 0 ;
15598 PyObject * obj1 = 0 ;
15599 PyObject * obj2 = 0 ;
15600 PyObject * obj3 = 0 ;
15601 PyObject * obj4 = 0 ;
15602 PyObject * obj5 = 0 ;
15603 char *kwnames[] = {
15604 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15605 };
15606
15607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15610 arg2 = (int)SWIG_As_int(obj1);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 arg3 = (int)SWIG_As_int(obj2);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 arg4 = (int)SWIG_As_int(obj3);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 arg5 = (int)SWIG_As_int(obj4);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 if (obj5) {
15619 arg6 = (int)SWIG_As_int(obj5);
15620 if (PyErr_Occurred()) SWIG_fail;
15621 }
15622 {
15623 PyThreadState* __tstate = wxPyBeginAllowThreads();
15624 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15625
15626 wxPyEndAllowThreads(__tstate);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 }
15629 Py_INCREF(Py_None); resultobj = Py_None;
15630 return resultobj;
15631 fail:
15632 return NULL;
15633 }
15634
15635
15636 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15637 PyObject *resultobj;
15638 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15639 int arg2 ;
15640 int arg3 ;
15641 PyObject * obj0 = 0 ;
15642 PyObject * obj1 = 0 ;
15643 PyObject * obj2 = 0 ;
15644 char *kwnames[] = {
15645 (char *) "self",(char *) "width",(char *) "height", NULL
15646 };
15647
15648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15651 arg2 = (int)SWIG_As_int(obj1);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 arg3 = (int)SWIG_As_int(obj2);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 (arg1)->base_DoSetClientSize(arg2,arg3);
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 Py_INCREF(Py_None); resultobj = Py_None;
15663 return resultobj;
15664 fail:
15665 return NULL;
15666 }
15667
15668
15669 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj;
15671 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15672 int arg2 ;
15673 int arg3 ;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
15676 PyObject * obj2 = 0 ;
15677 char *kwnames[] = {
15678 (char *) "self",(char *) "x",(char *) "y", NULL
15679 };
15680
15681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15684 arg2 = (int)SWIG_As_int(obj1);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 arg3 = (int)SWIG_As_int(obj2);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15691
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 Py_INCREF(Py_None); resultobj = Py_None;
15696 return resultobj;
15697 fail:
15698 return NULL;
15699 }
15700
15701
15702 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15703 PyObject *resultobj;
15704 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15705 int *arg2 = (int *) 0 ;
15706 int *arg3 = (int *) 0 ;
15707 int temp2 ;
15708 int res2 = 0 ;
15709 int temp3 ;
15710 int res3 = 0 ;
15711 PyObject * obj0 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self", NULL
15714 };
15715
15716 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15717 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 Py_INCREF(Py_None); resultobj = Py_None;
15729 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15730 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15731 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15732 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15733 return resultobj;
15734 fail:
15735 return NULL;
15736 }
15737
15738
15739 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15740 PyObject *resultobj;
15741 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15742 int *arg2 = (int *) 0 ;
15743 int *arg3 = (int *) 0 ;
15744 int temp2 ;
15745 int res2 = 0 ;
15746 int temp3 ;
15747 int res3 = 0 ;
15748 PyObject * obj0 = 0 ;
15749 char *kwnames[] = {
15750 (char *) "self", NULL
15751 };
15752
15753 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15754 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 Py_INCREF(Py_None); resultobj = Py_None;
15766 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15767 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15768 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15769 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15770 return resultobj;
15771 fail:
15772 return NULL;
15773 }
15774
15775
15776 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj;
15778 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15779 int *arg2 = (int *) 0 ;
15780 int *arg3 = (int *) 0 ;
15781 int temp2 ;
15782 int res2 = 0 ;
15783 int temp3 ;
15784 int res3 = 0 ;
15785 PyObject * obj0 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "self", NULL
15788 };
15789
15790 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15791 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 Py_INCREF(Py_None); resultobj = Py_None;
15803 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15804 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15805 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15806 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15807 return resultobj;
15808 fail:
15809 return NULL;
15810 }
15811
15812
15813 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj;
15815 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15816 wxSize result;
15817 PyObject * obj0 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15825 {
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15828
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 {
15833 wxSize * resultptr;
15834 resultptr = new wxSize((wxSize &) result);
15835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15836 }
15837 return resultobj;
15838 fail:
15839 return NULL;
15840 }
15841
15842
15843 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15844 PyObject *resultobj;
15845 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15846 wxSize result;
15847 PyObject * obj0 = 0 ;
15848 char *kwnames[] = {
15849 (char *) "self", NULL
15850 };
15851
15852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15855 {
15856 PyThreadState* __tstate = wxPyBeginAllowThreads();
15857 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15858
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 {
15863 wxSize * resultptr;
15864 resultptr = new wxSize((wxSize &) result);
15865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15866 }
15867 return resultobj;
15868 fail:
15869 return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 (arg1)->base_InitDialog();
15887
15888 wxPyEndAllowThreads(__tstate);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 Py_INCREF(Py_None); resultobj = Py_None;
15892 return resultobj;
15893 fail:
15894 return NULL;
15895 }
15896
15897
15898 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15899 PyObject *resultobj;
15900 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15901 bool result;
15902 PyObject * obj0 = 0 ;
15903 char *kwnames[] = {
15904 (char *) "self", NULL
15905 };
15906
15907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 result = (bool)(arg1)->base_TransferDataToWindow();
15913
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 {
15918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15919 }
15920 return resultobj;
15921 fail:
15922 return NULL;
15923 }
15924
15925
15926 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15927 PyObject *resultobj;
15928 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15929 bool result;
15930 PyObject * obj0 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "self", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 result = (bool)(arg1)->base_TransferDataFromWindow();
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 {
15946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15947 }
15948 return resultobj;
15949 fail:
15950 return NULL;
15951 }
15952
15953
15954 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15957 bool result;
15958 PyObject * obj0 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self", NULL
15961 };
15962
15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 result = (bool)(arg1)->base_Validate();
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 {
15974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15975 }
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15985 bool result;
15986 PyObject * obj0 = 0 ;
15987 char *kwnames[] = {
15988 (char *) "self", NULL
15989 };
15990
15991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15994 {
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15997
15998 wxPyEndAllowThreads(__tstate);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 }
16001 {
16002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16003 }
16004 return resultobj;
16005 fail:
16006 return NULL;
16007 }
16008
16009
16010 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16011 PyObject *resultobj;
16012 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16013 bool result;
16014 PyObject * obj0 = 0 ;
16015 char *kwnames[] = {
16016 (char *) "self", NULL
16017 };
16018
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16025
16026 wxPyEndAllowThreads(__tstate);
16027 if (PyErr_Occurred()) SWIG_fail;
16028 }
16029 {
16030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16031 }
16032 return resultobj;
16033 fail:
16034 return NULL;
16035 }
16036
16037
16038 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj;
16040 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16041 wxSize result;
16042 PyObject * obj0 = 0 ;
16043 char *kwnames[] = {
16044 (char *) "self", NULL
16045 };
16046
16047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16050 {
16051 PyThreadState* __tstate = wxPyBeginAllowThreads();
16052 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16053
16054 wxPyEndAllowThreads(__tstate);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 }
16057 {
16058 wxSize * resultptr;
16059 resultptr = new wxSize((wxSize &) result);
16060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16061 }
16062 return resultobj;
16063 fail:
16064 return NULL;
16065 }
16066
16067
16068 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16071 wxWindow *arg2 = (wxWindow *) 0 ;
16072 PyObject * obj0 = 0 ;
16073 PyObject * obj1 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self",(char *) "child", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 (arg1)->base_AddChild(arg2);
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 Py_INCREF(Py_None); resultobj = Py_None;
16091 return resultobj;
16092 fail:
16093 return NULL;
16094 }
16095
16096
16097 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16098 PyObject *resultobj;
16099 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16100 wxWindow *arg2 = (wxWindow *) 0 ;
16101 PyObject * obj0 = 0 ;
16102 PyObject * obj1 = 0 ;
16103 char *kwnames[] = {
16104 (char *) "self",(char *) "child", NULL
16105 };
16106
16107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16110 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16112 {
16113 PyThreadState* __tstate = wxPyBeginAllowThreads();
16114 (arg1)->base_RemoveChild(arg2);
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 Py_INCREF(Py_None); resultobj = Py_None;
16120 return resultobj;
16121 fail:
16122 return NULL;
16123 }
16124
16125
16126 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj;
16128 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16129 bool result;
16130 PyObject * obj0 = 0 ;
16131 char *kwnames[] = {
16132 (char *) "self", NULL
16133 };
16134
16135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 {
16146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16147 }
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16155 PyObject *resultobj;
16156 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16157 wxColour *arg2 = 0 ;
16158 wxColour temp2 ;
16159 PyObject * obj0 = 0 ;
16160 PyObject * obj1 = 0 ;
16161 char *kwnames[] = {
16162 (char *) "self",(char *) "c", NULL
16163 };
16164
16165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16168 {
16169 arg2 = &temp2;
16170 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16171 }
16172 {
16173 PyThreadState* __tstate = wxPyBeginAllowThreads();
16174 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16175
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 Py_INCREF(Py_None); resultobj = Py_None;
16180 return resultobj;
16181 fail:
16182 return NULL;
16183 }
16184
16185
16186 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16187 PyObject *resultobj;
16188 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16189 wxVisualAttributes result;
16190 PyObject * obj0 = 0 ;
16191 char *kwnames[] = {
16192 (char *) "self", NULL
16193 };
16194
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16198 {
16199 PyThreadState* __tstate = wxPyBeginAllowThreads();
16200 result = (arg1)->base_GetDefaultAttributes();
16201
16202 wxPyEndAllowThreads(__tstate);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 {
16206 wxVisualAttributes * resultptr;
16207 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16209 }
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16217 PyObject *obj;
16218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16219 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16220 Py_INCREF(obj);
16221 return Py_BuildValue((char *)"");
16222 }
16223 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16224 PyObject *resultobj;
16225 wxWindow *arg1 = (wxWindow *) 0 ;
16226 int arg2 = (int) (int)-1 ;
16227 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16228 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16229 wxSize const &arg4_defvalue = wxDefaultSize ;
16230 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16231 long arg5 = (long) 0 ;
16232 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16233 wxString *arg6 = (wxString *) &arg6_defvalue ;
16234 wxPyPanel *result;
16235 wxPoint temp3 ;
16236 wxSize temp4 ;
16237 bool temp6 = False ;
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
16240 PyObject * obj2 = 0 ;
16241 PyObject * obj3 = 0 ;
16242 PyObject * obj4 = 0 ;
16243 PyObject * obj5 = 0 ;
16244 char *kwnames[] = {
16245 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16246 };
16247
16248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16251 if (obj1) {
16252 arg2 = (int)SWIG_As_int(obj1);
16253 if (PyErr_Occurred()) SWIG_fail;
16254 }
16255 if (obj2) {
16256 {
16257 arg3 = &temp3;
16258 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16259 }
16260 }
16261 if (obj3) {
16262 {
16263 arg4 = &temp4;
16264 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16265 }
16266 }
16267 if (obj4) {
16268 arg5 = (long)SWIG_As_long(obj4);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
16271 if (obj5) {
16272 {
16273 arg6 = wxString_in_helper(obj5);
16274 if (arg6 == NULL) SWIG_fail;
16275 temp6 = True;
16276 }
16277 }
16278 {
16279 if (!wxPyCheckForApp()) SWIG_fail;
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16287 {
16288 if (temp6)
16289 delete arg6;
16290 }
16291 return resultobj;
16292 fail:
16293 {
16294 if (temp6)
16295 delete arg6;
16296 }
16297 return NULL;
16298 }
16299
16300
16301 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj;
16303 wxPyPanel *result;
16304 char *kwnames[] = {
16305 NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16309 {
16310 if (!wxPyCheckForApp()) SWIG_fail;
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 result = (wxPyPanel *)new wxPyPanel();
16313
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16318 return resultobj;
16319 fail:
16320 return NULL;
16321 }
16322
16323
16324 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj;
16326 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16327 PyObject *arg2 = (PyObject *) 0 ;
16328 PyObject *arg3 = (PyObject *) 0 ;
16329 PyObject * obj0 = 0 ;
16330 PyObject * obj1 = 0 ;
16331 PyObject * obj2 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "self",(char *) "self",(char *) "_class", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16339 arg2 = obj1;
16340 arg3 = obj2;
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 (arg1)->_setCallbackInfo(arg2,arg3);
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 Py_INCREF(Py_None); resultobj = Py_None;
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj;
16357 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16358 wxSize *arg2 = 0 ;
16359 wxSize temp2 ;
16360 PyObject * obj0 = 0 ;
16361 PyObject * obj1 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self",(char *) "size", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16369 {
16370 arg2 = &temp2;
16371 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16372 }
16373 {
16374 PyThreadState* __tstate = wxPyBeginAllowThreads();
16375 (arg1)->SetBestSize((wxSize const &)*arg2);
16376
16377 wxPyEndAllowThreads(__tstate);
16378 if (PyErr_Occurred()) SWIG_fail;
16379 }
16380 Py_INCREF(Py_None); resultobj = Py_None;
16381 return resultobj;
16382 fail:
16383 return NULL;
16384 }
16385
16386
16387 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16388 PyObject *resultobj;
16389 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16390 int arg2 ;
16391 int arg3 ;
16392 int arg4 ;
16393 int arg5 ;
16394 PyObject * obj0 = 0 ;
16395 PyObject * obj1 = 0 ;
16396 PyObject * obj2 = 0 ;
16397 PyObject * obj3 = 0 ;
16398 PyObject * obj4 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16406 arg2 = (int)SWIG_As_int(obj1);
16407 if (PyErr_Occurred()) SWIG_fail;
16408 arg3 = (int)SWIG_As_int(obj2);
16409 if (PyErr_Occurred()) SWIG_fail;
16410 arg4 = (int)SWIG_As_int(obj3);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 arg5 = (int)SWIG_As_int(obj4);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 Py_INCREF(Py_None); resultobj = Py_None;
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16431 int arg2 ;
16432 int arg3 ;
16433 int arg4 ;
16434 int arg5 ;
16435 int arg6 = (int) wxSIZE_AUTO ;
16436 PyObject * obj0 = 0 ;
16437 PyObject * obj1 = 0 ;
16438 PyObject * obj2 = 0 ;
16439 PyObject * obj3 = 0 ;
16440 PyObject * obj4 = 0 ;
16441 PyObject * obj5 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16449 arg2 = (int)SWIG_As_int(obj1);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 arg3 = (int)SWIG_As_int(obj2);
16452 if (PyErr_Occurred()) SWIG_fail;
16453 arg4 = (int)SWIG_As_int(obj3);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 arg5 = (int)SWIG_As_int(obj4);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 if (obj5) {
16458 arg6 = (int)SWIG_As_int(obj5);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 {
16462 PyThreadState* __tstate = wxPyBeginAllowThreads();
16463 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16464
16465 wxPyEndAllowThreads(__tstate);
16466 if (PyErr_Occurred()) SWIG_fail;
16467 }
16468 Py_INCREF(Py_None); resultobj = Py_None;
16469 return resultobj;
16470 fail:
16471 return NULL;
16472 }
16473
16474
16475 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16476 PyObject *resultobj;
16477 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16478 int arg2 ;
16479 int arg3 ;
16480 PyObject * obj0 = 0 ;
16481 PyObject * obj1 = 0 ;
16482 PyObject * obj2 = 0 ;
16483 char *kwnames[] = {
16484 (char *) "self",(char *) "width",(char *) "height", NULL
16485 };
16486
16487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16490 arg2 = (int)SWIG_As_int(obj1);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 arg3 = (int)SWIG_As_int(obj2);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 {
16495 PyThreadState* __tstate = wxPyBeginAllowThreads();
16496 (arg1)->base_DoSetClientSize(arg2,arg3);
16497
16498 wxPyEndAllowThreads(__tstate);
16499 if (PyErr_Occurred()) SWIG_fail;
16500 }
16501 Py_INCREF(Py_None); resultobj = Py_None;
16502 return resultobj;
16503 fail:
16504 return NULL;
16505 }
16506
16507
16508 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16509 PyObject *resultobj;
16510 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16511 int arg2 ;
16512 int arg3 ;
16513 PyObject * obj0 = 0 ;
16514 PyObject * obj1 = 0 ;
16515 PyObject * obj2 = 0 ;
16516 char *kwnames[] = {
16517 (char *) "self",(char *) "x",(char *) "y", NULL
16518 };
16519
16520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16523 arg2 = (int)SWIG_As_int(obj1);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 arg3 = (int)SWIG_As_int(obj2);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16530
16531 wxPyEndAllowThreads(__tstate);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 Py_INCREF(Py_None); resultobj = Py_None;
16535 return resultobj;
16536 fail:
16537 return NULL;
16538 }
16539
16540
16541 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16542 PyObject *resultobj;
16543 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16544 int *arg2 = (int *) 0 ;
16545 int *arg3 = (int *) 0 ;
16546 int temp2 ;
16547 int res2 = 0 ;
16548 int temp3 ;
16549 int res3 = 0 ;
16550 PyObject * obj0 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self", NULL
16553 };
16554
16555 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16556 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 Py_INCREF(Py_None); resultobj = Py_None;
16568 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16569 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16570 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16571 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16581 int *arg2 = (int *) 0 ;
16582 int *arg3 = (int *) 0 ;
16583 int temp2 ;
16584 int res2 = 0 ;
16585 int temp3 ;
16586 int res3 = 0 ;
16587 PyObject * obj0 = 0 ;
16588 char *kwnames[] = {
16589 (char *) "self", NULL
16590 };
16591
16592 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16593 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 Py_INCREF(Py_None); resultobj = Py_None;
16605 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16606 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16607 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16608 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16609 return resultobj;
16610 fail:
16611 return NULL;
16612 }
16613
16614
16615 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16618 int *arg2 = (int *) 0 ;
16619 int *arg3 = (int *) 0 ;
16620 int temp2 ;
16621 int res2 = 0 ;
16622 int temp3 ;
16623 int res3 = 0 ;
16624 PyObject * obj0 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self", NULL
16627 };
16628
16629 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16630 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16637
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 Py_INCREF(Py_None); resultobj = Py_None;
16642 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16643 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16644 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16645 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16646 return resultobj;
16647 fail:
16648 return NULL;
16649 }
16650
16651
16652 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16653 PyObject *resultobj;
16654 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16655 wxSize result;
16656 PyObject * obj0 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "self", NULL
16659 };
16660
16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 {
16672 wxSize * resultptr;
16673 resultptr = new wxSize((wxSize &) result);
16674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16675 }
16676 return resultobj;
16677 fail:
16678 return NULL;
16679 }
16680
16681
16682 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16685 wxSize result;
16686 PyObject * obj0 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 {
16702 wxSize * resultptr;
16703 resultptr = new wxSize((wxSize &) result);
16704 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16705 }
16706 return resultobj;
16707 fail:
16708 return NULL;
16709 }
16710
16711
16712 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16713 PyObject *resultobj;
16714 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16715 PyObject * obj0 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "self", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 (arg1)->base_InitDialog();
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 Py_INCREF(Py_None); resultobj = Py_None;
16731 return resultobj;
16732 fail:
16733 return NULL;
16734 }
16735
16736
16737 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj;
16739 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16740 bool result;
16741 PyObject * obj0 = 0 ;
16742 char *kwnames[] = {
16743 (char *) "self", NULL
16744 };
16745
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 result = (bool)(arg1)->base_TransferDataToWindow();
16752
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 {
16757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16758 }
16759 return resultobj;
16760 fail:
16761 return NULL;
16762 }
16763
16764
16765 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16766 PyObject *resultobj;
16767 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16768 bool result;
16769 PyObject * obj0 = 0 ;
16770 char *kwnames[] = {
16771 (char *) "self", NULL
16772 };
16773
16774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16777 {
16778 PyThreadState* __tstate = wxPyBeginAllowThreads();
16779 result = (bool)(arg1)->base_TransferDataFromWindow();
16780
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
16784 {
16785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16786 }
16787 return resultobj;
16788 fail:
16789 return NULL;
16790 }
16791
16792
16793 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj;
16795 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16796 bool result;
16797 PyObject * obj0 = 0 ;
16798 char *kwnames[] = {
16799 (char *) "self", NULL
16800 };
16801
16802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 result = (bool)(arg1)->base_Validate();
16808
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 {
16813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16814 }
16815 return resultobj;
16816 fail:
16817 return NULL;
16818 }
16819
16820
16821 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16822 PyObject *resultobj;
16823 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16824 bool result;
16825 PyObject * obj0 = 0 ;
16826 char *kwnames[] = {
16827 (char *) "self", NULL
16828 };
16829
16830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16836
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 {
16841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16842 }
16843 return resultobj;
16844 fail:
16845 return NULL;
16846 }
16847
16848
16849 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16850 PyObject *resultobj;
16851 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16852 bool result;
16853 PyObject * obj0 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "self", NULL
16856 };
16857
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 {
16869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16870 }
16871 return resultobj;
16872 fail:
16873 return NULL;
16874 }
16875
16876
16877 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16878 PyObject *resultobj;
16879 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16880 wxSize result;
16881 PyObject * obj0 = 0 ;
16882 char *kwnames[] = {
16883 (char *) "self", NULL
16884 };
16885
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16889 {
16890 PyThreadState* __tstate = wxPyBeginAllowThreads();
16891 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16892
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 {
16897 wxSize * resultptr;
16898 resultptr = new wxSize((wxSize &) result);
16899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16900 }
16901 return resultobj;
16902 fail:
16903 return NULL;
16904 }
16905
16906
16907 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16908 PyObject *resultobj;
16909 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16910 wxWindow *arg2 = (wxWindow *) 0 ;
16911 PyObject * obj0 = 0 ;
16912 PyObject * obj1 = 0 ;
16913 char *kwnames[] = {
16914 (char *) "self",(char *) "child", NULL
16915 };
16916
16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16922 {
16923 PyThreadState* __tstate = wxPyBeginAllowThreads();
16924 (arg1)->base_AddChild(arg2);
16925
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
16929 Py_INCREF(Py_None); resultobj = Py_None;
16930 return resultobj;
16931 fail:
16932 return NULL;
16933 }
16934
16935
16936 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16937 PyObject *resultobj;
16938 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16939 wxWindow *arg2 = (wxWindow *) 0 ;
16940 PyObject * obj0 = 0 ;
16941 PyObject * obj1 = 0 ;
16942 char *kwnames[] = {
16943 (char *) "self",(char *) "child", NULL
16944 };
16945
16946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16951 {
16952 PyThreadState* __tstate = wxPyBeginAllowThreads();
16953 (arg1)->base_RemoveChild(arg2);
16954
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 Py_INCREF(Py_None); resultobj = Py_None;
16959 return resultobj;
16960 fail:
16961 return NULL;
16962 }
16963
16964
16965 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16966 PyObject *resultobj;
16967 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16968 bool result;
16969 PyObject * obj0 = 0 ;
16970 char *kwnames[] = {
16971 (char *) "self", NULL
16972 };
16973
16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16977 {
16978 PyThreadState* __tstate = wxPyBeginAllowThreads();
16979 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
16980
16981 wxPyEndAllowThreads(__tstate);
16982 if (PyErr_Occurred()) SWIG_fail;
16983 }
16984 {
16985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16986 }
16987 return resultobj;
16988 fail:
16989 return NULL;
16990 }
16991
16992
16993 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16994 PyObject *resultobj;
16995 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16996 wxColour *arg2 = 0 ;
16997 wxColour temp2 ;
16998 PyObject * obj0 = 0 ;
16999 PyObject * obj1 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self",(char *) "c", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17007 {
17008 arg2 = &temp2;
17009 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17010 }
17011 {
17012 PyThreadState* __tstate = wxPyBeginAllowThreads();
17013 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17014
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 Py_INCREF(Py_None); resultobj = Py_None;
17019 return resultobj;
17020 fail:
17021 return NULL;
17022 }
17023
17024
17025 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17026 PyObject *resultobj;
17027 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17028 wxVisualAttributes result;
17029 PyObject * obj0 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (arg1)->base_GetDefaultAttributes();
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 {
17045 wxVisualAttributes * resultptr;
17046 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17047 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17048 }
17049 return resultobj;
17050 fail:
17051 return NULL;
17052 }
17053
17054
17055 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17056 PyObject *obj;
17057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17058 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17059 Py_INCREF(obj);
17060 return Py_BuildValue((char *)"");
17061 }
17062 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxWindow *arg1 = (wxWindow *) 0 ;
17065 int arg2 = (int) (int)-1 ;
17066 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17067 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17068 wxSize const &arg4_defvalue = wxDefaultSize ;
17069 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17070 long arg5 = (long) 0 ;
17071 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17072 wxString *arg6 = (wxString *) &arg6_defvalue ;
17073 wxPyScrolledWindow *result;
17074 wxPoint temp3 ;
17075 wxSize temp4 ;
17076 bool temp6 = False ;
17077 PyObject * obj0 = 0 ;
17078 PyObject * obj1 = 0 ;
17079 PyObject * obj2 = 0 ;
17080 PyObject * obj3 = 0 ;
17081 PyObject * obj4 = 0 ;
17082 PyObject * obj5 = 0 ;
17083 char *kwnames[] = {
17084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17085 };
17086
17087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17090 if (obj1) {
17091 arg2 = (int)SWIG_As_int(obj1);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 if (obj2) {
17095 {
17096 arg3 = &temp3;
17097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17098 }
17099 }
17100 if (obj3) {
17101 {
17102 arg4 = &temp4;
17103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17104 }
17105 }
17106 if (obj4) {
17107 arg5 = (long)SWIG_As_long(obj4);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 if (obj5) {
17111 {
17112 arg6 = wxString_in_helper(obj5);
17113 if (arg6 == NULL) SWIG_fail;
17114 temp6 = True;
17115 }
17116 }
17117 {
17118 if (!wxPyCheckForApp()) SWIG_fail;
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17126 {
17127 if (temp6)
17128 delete arg6;
17129 }
17130 return resultobj;
17131 fail:
17132 {
17133 if (temp6)
17134 delete arg6;
17135 }
17136 return NULL;
17137 }
17138
17139
17140 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj;
17142 wxPyScrolledWindow *result;
17143 char *kwnames[] = {
17144 NULL
17145 };
17146
17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17148 {
17149 if (!wxPyCheckForApp()) SWIG_fail;
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17157 return resultobj;
17158 fail:
17159 return NULL;
17160 }
17161
17162
17163 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17164 PyObject *resultobj;
17165 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17166 PyObject *arg2 = (PyObject *) 0 ;
17167 PyObject *arg3 = (PyObject *) 0 ;
17168 PyObject * obj0 = 0 ;
17169 PyObject * obj1 = 0 ;
17170 PyObject * obj2 = 0 ;
17171 char *kwnames[] = {
17172 (char *) "self",(char *) "self",(char *) "_class", NULL
17173 };
17174
17175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17178 arg2 = obj1;
17179 arg3 = obj2;
17180 {
17181 PyThreadState* __tstate = wxPyBeginAllowThreads();
17182 (arg1)->_setCallbackInfo(arg2,arg3);
17183
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
17187 Py_INCREF(Py_None); resultobj = Py_None;
17188 return resultobj;
17189 fail:
17190 return NULL;
17191 }
17192
17193
17194 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17195 PyObject *resultobj;
17196 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17197 wxSize *arg2 = 0 ;
17198 wxSize temp2 ;
17199 PyObject * obj0 = 0 ;
17200 PyObject * obj1 = 0 ;
17201 char *kwnames[] = {
17202 (char *) "self",(char *) "size", NULL
17203 };
17204
17205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17208 {
17209 arg2 = &temp2;
17210 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17211 }
17212 {
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 (arg1)->SetBestSize((wxSize const &)*arg2);
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 Py_INCREF(Py_None); resultobj = Py_None;
17220 return resultobj;
17221 fail:
17222 return NULL;
17223 }
17224
17225
17226 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17229 int arg2 ;
17230 int arg3 ;
17231 int arg4 ;
17232 int arg5 ;
17233 PyObject * obj0 = 0 ;
17234 PyObject * obj1 = 0 ;
17235 PyObject * obj2 = 0 ;
17236 PyObject * obj3 = 0 ;
17237 PyObject * obj4 = 0 ;
17238 char *kwnames[] = {
17239 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17240 };
17241
17242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17245 arg2 = (int)SWIG_As_int(obj1);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 arg3 = (int)SWIG_As_int(obj2);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 arg4 = (int)SWIG_As_int(obj3);
17250 if (PyErr_Occurred()) SWIG_fail;
17251 arg5 = (int)SWIG_As_int(obj4);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 Py_INCREF(Py_None); resultobj = Py_None;
17261 return resultobj;
17262 fail:
17263 return NULL;
17264 }
17265
17266
17267 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17270 int arg2 ;
17271 int arg3 ;
17272 int arg4 ;
17273 int arg5 ;
17274 int arg6 = (int) wxSIZE_AUTO ;
17275 PyObject * obj0 = 0 ;
17276 PyObject * obj1 = 0 ;
17277 PyObject * obj2 = 0 ;
17278 PyObject * obj3 = 0 ;
17279 PyObject * obj4 = 0 ;
17280 PyObject * obj5 = 0 ;
17281 char *kwnames[] = {
17282 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17283 };
17284
17285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17288 arg2 = (int)SWIG_As_int(obj1);
17289 if (PyErr_Occurred()) SWIG_fail;
17290 arg3 = (int)SWIG_As_int(obj2);
17291 if (PyErr_Occurred()) SWIG_fail;
17292 arg4 = (int)SWIG_As_int(obj3);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 arg5 = (int)SWIG_As_int(obj4);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 if (obj5) {
17297 arg6 = (int)SWIG_As_int(obj5);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 }
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17303
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 Py_INCREF(Py_None); resultobj = Py_None;
17308 return resultobj;
17309 fail:
17310 return NULL;
17311 }
17312
17313
17314 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17315 PyObject *resultobj;
17316 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17317 int arg2 ;
17318 int arg3 ;
17319 PyObject * obj0 = 0 ;
17320 PyObject * obj1 = 0 ;
17321 PyObject * obj2 = 0 ;
17322 char *kwnames[] = {
17323 (char *) "self",(char *) "width",(char *) "height", NULL
17324 };
17325
17326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17329 arg2 = (int)SWIG_As_int(obj1);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 arg3 = (int)SWIG_As_int(obj2);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 {
17334 PyThreadState* __tstate = wxPyBeginAllowThreads();
17335 (arg1)->base_DoSetClientSize(arg2,arg3);
17336
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 Py_INCREF(Py_None); resultobj = Py_None;
17341 return resultobj;
17342 fail:
17343 return NULL;
17344 }
17345
17346
17347 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17350 int arg2 ;
17351 int arg3 ;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 PyObject * obj2 = 0 ;
17355 char *kwnames[] = {
17356 (char *) "self",(char *) "x",(char *) "y", NULL
17357 };
17358
17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17362 arg2 = (int)SWIG_As_int(obj1);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 arg3 = (int)SWIG_As_int(obj2);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 Py_INCREF(Py_None); resultobj = Py_None;
17374 return resultobj;
17375 fail:
17376 return NULL;
17377 }
17378
17379
17380 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj;
17382 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17383 int *arg2 = (int *) 0 ;
17384 int *arg3 = (int *) 0 ;
17385 int temp2 ;
17386 int res2 = 0 ;
17387 int temp3 ;
17388 int res3 = 0 ;
17389 PyObject * obj0 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self", NULL
17392 };
17393
17394 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17395 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17402
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 Py_INCREF(Py_None); resultobj = Py_None;
17407 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17408 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17409 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17410 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17411 return resultobj;
17412 fail:
17413 return NULL;
17414 }
17415
17416
17417 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj;
17419 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17420 int *arg2 = (int *) 0 ;
17421 int *arg3 = (int *) 0 ;
17422 int temp2 ;
17423 int res2 = 0 ;
17424 int temp3 ;
17425 int res3 = 0 ;
17426 PyObject * obj0 = 0 ;
17427 char *kwnames[] = {
17428 (char *) "self", NULL
17429 };
17430
17431 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17432 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 Py_INCREF(Py_None); resultobj = Py_None;
17444 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17445 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17446 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17447 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17457 int *arg2 = (int *) 0 ;
17458 int *arg3 = (int *) 0 ;
17459 int temp2 ;
17460 int res2 = 0 ;
17461 int temp3 ;
17462 int res3 = 0 ;
17463 PyObject * obj0 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self", NULL
17466 };
17467
17468 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17469 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 Py_INCREF(Py_None); resultobj = Py_None;
17481 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17482 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17483 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17484 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17485 return resultobj;
17486 fail:
17487 return NULL;
17488 }
17489
17490
17491 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17492 PyObject *resultobj;
17493 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17494 wxSize result;
17495 PyObject * obj0 = 0 ;
17496 char *kwnames[] = {
17497 (char *) "self", NULL
17498 };
17499
17500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17503 {
17504 PyThreadState* __tstate = wxPyBeginAllowThreads();
17505 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17506
17507 wxPyEndAllowThreads(__tstate);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 }
17510 {
17511 wxSize * resultptr;
17512 resultptr = new wxSize((wxSize &) result);
17513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17514 }
17515 return resultobj;
17516 fail:
17517 return NULL;
17518 }
17519
17520
17521 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17522 PyObject *resultobj;
17523 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17524 wxSize result;
17525 PyObject * obj0 = 0 ;
17526 char *kwnames[] = {
17527 (char *) "self", NULL
17528 };
17529
17530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 {
17541 wxSize * resultptr;
17542 resultptr = new wxSize((wxSize &) result);
17543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17544 }
17545 return resultobj;
17546 fail:
17547 return NULL;
17548 }
17549
17550
17551 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17552 PyObject *resultobj;
17553 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17554 PyObject * obj0 = 0 ;
17555 char *kwnames[] = {
17556 (char *) "self", NULL
17557 };
17558
17559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 (arg1)->base_InitDialog();
17565
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 Py_INCREF(Py_None); resultobj = Py_None;
17570 return resultobj;
17571 fail:
17572 return NULL;
17573 }
17574
17575
17576 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj;
17578 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17579 bool result;
17580 PyObject * obj0 = 0 ;
17581 char *kwnames[] = {
17582 (char *) "self", NULL
17583 };
17584
17585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17588 {
17589 PyThreadState* __tstate = wxPyBeginAllowThreads();
17590 result = (bool)(arg1)->base_TransferDataToWindow();
17591
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 {
17596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17597 }
17598 return resultobj;
17599 fail:
17600 return NULL;
17601 }
17602
17603
17604 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17605 PyObject *resultobj;
17606 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17607 bool result;
17608 PyObject * obj0 = 0 ;
17609 char *kwnames[] = {
17610 (char *) "self", NULL
17611 };
17612
17613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17616 {
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 result = (bool)(arg1)->base_TransferDataFromWindow();
17619
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 {
17624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17625 }
17626 return resultobj;
17627 fail:
17628 return NULL;
17629 }
17630
17631
17632 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17635 bool result;
17636 PyObject * obj0 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "self", NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17644 {
17645 PyThreadState* __tstate = wxPyBeginAllowThreads();
17646 result = (bool)(arg1)->base_Validate();
17647
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
17651 {
17652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17653 }
17654 return resultobj;
17655 fail:
17656 return NULL;
17657 }
17658
17659
17660 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17661 PyObject *resultobj;
17662 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17663 bool result;
17664 PyObject * obj0 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 {
17680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17681 }
17682 return resultobj;
17683 fail:
17684 return NULL;
17685 }
17686
17687
17688 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17689 PyObject *resultobj;
17690 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17691 bool result;
17692 PyObject * obj0 = 0 ;
17693 char *kwnames[] = {
17694 (char *) "self", NULL
17695 };
17696
17697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17700 {
17701 PyThreadState* __tstate = wxPyBeginAllowThreads();
17702 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17703
17704 wxPyEndAllowThreads(__tstate);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 }
17707 {
17708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17709 }
17710 return resultobj;
17711 fail:
17712 return NULL;
17713 }
17714
17715
17716 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17717 PyObject *resultobj;
17718 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17719 wxSize result;
17720 PyObject * obj0 = 0 ;
17721 char *kwnames[] = {
17722 (char *) "self", NULL
17723 };
17724
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17728 {
17729 PyThreadState* __tstate = wxPyBeginAllowThreads();
17730 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17731
17732 wxPyEndAllowThreads(__tstate);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 {
17736 wxSize * resultptr;
17737 resultptr = new wxSize((wxSize &) result);
17738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17739 }
17740 return resultobj;
17741 fail:
17742 return NULL;
17743 }
17744
17745
17746 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17747 PyObject *resultobj;
17748 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17749 wxWindow *arg2 = (wxWindow *) 0 ;
17750 PyObject * obj0 = 0 ;
17751 PyObject * obj1 = 0 ;
17752 char *kwnames[] = {
17753 (char *) "self",(char *) "child", NULL
17754 };
17755
17756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17761 {
17762 PyThreadState* __tstate = wxPyBeginAllowThreads();
17763 (arg1)->base_AddChild(arg2);
17764
17765 wxPyEndAllowThreads(__tstate);
17766 if (PyErr_Occurred()) SWIG_fail;
17767 }
17768 Py_INCREF(Py_None); resultobj = Py_None;
17769 return resultobj;
17770 fail:
17771 return NULL;
17772 }
17773
17774
17775 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17776 PyObject *resultobj;
17777 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17778 wxWindow *arg2 = (wxWindow *) 0 ;
17779 PyObject * obj0 = 0 ;
17780 PyObject * obj1 = 0 ;
17781 char *kwnames[] = {
17782 (char *) "self",(char *) "child", NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17790 {
17791 PyThreadState* __tstate = wxPyBeginAllowThreads();
17792 (arg1)->base_RemoveChild(arg2);
17793
17794 wxPyEndAllowThreads(__tstate);
17795 if (PyErr_Occurred()) SWIG_fail;
17796 }
17797 Py_INCREF(Py_None); resultobj = Py_None;
17798 return resultobj;
17799 fail:
17800 return NULL;
17801 }
17802
17803
17804 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17805 PyObject *resultobj;
17806 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17807 bool result;
17808 PyObject * obj0 = 0 ;
17809 char *kwnames[] = {
17810 (char *) "self", NULL
17811 };
17812
17813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17816 {
17817 PyThreadState* __tstate = wxPyBeginAllowThreads();
17818 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17819
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 {
17824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17825 }
17826 return resultobj;
17827 fail:
17828 return NULL;
17829 }
17830
17831
17832 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17833 PyObject *resultobj;
17834 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17835 wxColour *arg2 = 0 ;
17836 wxColour temp2 ;
17837 PyObject * obj0 = 0 ;
17838 PyObject * obj1 = 0 ;
17839 char *kwnames[] = {
17840 (char *) "self",(char *) "c", NULL
17841 };
17842
17843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17846 {
17847 arg2 = &temp2;
17848 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17849 }
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17853
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 Py_INCREF(Py_None); resultobj = Py_None;
17858 return resultobj;
17859 fail:
17860 return NULL;
17861 }
17862
17863
17864 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17865 PyObject *resultobj;
17866 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17867 wxVisualAttributes result;
17868 PyObject * obj0 = 0 ;
17869 char *kwnames[] = {
17870 (char *) "self", NULL
17871 };
17872
17873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 result = (arg1)->base_GetDefaultAttributes();
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 {
17884 wxVisualAttributes * resultptr;
17885 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17887 }
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
17895 PyObject *obj;
17896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17897 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17898 Py_INCREF(obj);
17899 return Py_BuildValue((char *)"");
17900 }
17901 static int _wrap_PrintoutTitleStr_set(PyObject *) {
17902 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17903 return 1;
17904 }
17905
17906
17907 static PyObject *_wrap_PrintoutTitleStr_get() {
17908 PyObject *pyobj;
17909
17910 {
17911 #if wxUSE_UNICODE
17912 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17913 #else
17914 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17915 #endif
17916 }
17917 return pyobj;
17918 }
17919
17920
17921 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
17922 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17923 return 1;
17924 }
17925
17926
17927 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17928 PyObject *pyobj;
17929
17930 {
17931 #if wxUSE_UNICODE
17932 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17933 #else
17934 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17935 #endif
17936 }
17937 return pyobj;
17938 }
17939
17940
17941 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
17942 PyObject *resultobj;
17943 wxPrintData *result;
17944
17945 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 result = (wxPrintData *)new wxPrintData();
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17954 return resultobj;
17955 fail:
17956 return NULL;
17957 }
17958
17959
17960 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
17961 PyObject *resultobj;
17962 wxPrintData *arg1 = 0 ;
17963 wxPrintData *result;
17964 PyObject * obj0 = 0 ;
17965
17966 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
17967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17968 SWIG_POINTER_EXCEPTION | 0)) == -1)
17969 SWIG_fail;
17970 if (arg1 == NULL) {
17971 PyErr_SetString(PyExc_TypeError,"null reference");
17972 SWIG_fail;
17973 }
17974 {
17975 PyThreadState* __tstate = wxPyBeginAllowThreads();
17976 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
17977
17978 wxPyEndAllowThreads(__tstate);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17982 return resultobj;
17983 fail:
17984 return NULL;
17985 }
17986
17987
17988 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
17989 int argc;
17990 PyObject *argv[2];
17991 int ii;
17992
17993 argc = PyObject_Length(args);
17994 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
17995 argv[ii] = PyTuple_GetItem(args,ii);
17996 }
17997 if (argc == 0) {
17998 return _wrap_new_PrintData__SWIG_0(self,args);
17999 }
18000 if (argc == 1) {
18001 int _v;
18002 {
18003 void *ptr;
18004 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18005 _v = 0;
18006 PyErr_Clear();
18007 } else {
18008 _v = 1;
18009 }
18010 }
18011 if (_v) {
18012 return _wrap_new_PrintData__SWIG_1(self,args);
18013 }
18014 }
18015
18016 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18017 return NULL;
18018 }
18019
18020
18021 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxPrintData *arg1 = (wxPrintData *) 0 ;
18024 PyObject * obj0 = 0 ;
18025 char *kwnames[] = {
18026 (char *) "self", NULL
18027 };
18028
18029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 delete arg1;
18035
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 Py_INCREF(Py_None); resultobj = Py_None;
18040 return resultobj;
18041 fail:
18042 return NULL;
18043 }
18044
18045
18046 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18047 PyObject *resultobj;
18048 wxPrintData *arg1 = (wxPrintData *) 0 ;
18049 int result;
18050 PyObject * obj0 = 0 ;
18051 char *kwnames[] = {
18052 (char *) "self", NULL
18053 };
18054
18055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18058 {
18059 PyThreadState* __tstate = wxPyBeginAllowThreads();
18060 result = (int)(arg1)->GetNoCopies();
18061
18062 wxPyEndAllowThreads(__tstate);
18063 if (PyErr_Occurred()) SWIG_fail;
18064 }
18065 resultobj = SWIG_From_int((int)result);
18066 return resultobj;
18067 fail:
18068 return NULL;
18069 }
18070
18071
18072 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18073 PyObject *resultobj;
18074 wxPrintData *arg1 = (wxPrintData *) 0 ;
18075 bool result;
18076 PyObject * obj0 = 0 ;
18077 char *kwnames[] = {
18078 (char *) "self", NULL
18079 };
18080
18081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18084 {
18085 PyThreadState* __tstate = wxPyBeginAllowThreads();
18086 result = (bool)(arg1)->GetCollate();
18087
18088 wxPyEndAllowThreads(__tstate);
18089 if (PyErr_Occurred()) SWIG_fail;
18090 }
18091 {
18092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18093 }
18094 return resultobj;
18095 fail:
18096 return NULL;
18097 }
18098
18099
18100 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18101 PyObject *resultobj;
18102 wxPrintData *arg1 = (wxPrintData *) 0 ;
18103 int result;
18104 PyObject * obj0 = 0 ;
18105 char *kwnames[] = {
18106 (char *) "self", NULL
18107 };
18108
18109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18112 {
18113 PyThreadState* __tstate = wxPyBeginAllowThreads();
18114 result = (int)(arg1)->GetOrientation();
18115
18116 wxPyEndAllowThreads(__tstate);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 }
18119 resultobj = SWIG_From_int((int)result);
18120 return resultobj;
18121 fail:
18122 return NULL;
18123 }
18124
18125
18126 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18127 PyObject *resultobj;
18128 wxPrintData *arg1 = (wxPrintData *) 0 ;
18129 bool result;
18130 PyObject * obj0 = 0 ;
18131 char *kwnames[] = {
18132 (char *) "self", NULL
18133 };
18134
18135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18138 {
18139 PyThreadState* __tstate = wxPyBeginAllowThreads();
18140 result = (bool)(arg1)->Ok();
18141
18142 wxPyEndAllowThreads(__tstate);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
18145 {
18146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18147 }
18148 return resultobj;
18149 fail:
18150 return NULL;
18151 }
18152
18153
18154 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18155 PyObject *resultobj;
18156 wxPrintData *arg1 = (wxPrintData *) 0 ;
18157 wxString *result;
18158 PyObject * obj0 = 0 ;
18159 char *kwnames[] = {
18160 (char *) "self", NULL
18161 };
18162
18163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18166 {
18167 PyThreadState* __tstate = wxPyBeginAllowThreads();
18168 {
18169 wxString const &_result_ref = (arg1)->GetPrinterName();
18170 result = (wxString *) &_result_ref;
18171 }
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 {
18177 #if wxUSE_UNICODE
18178 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18179 #else
18180 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18181 #endif
18182 }
18183 return resultobj;
18184 fail:
18185 return NULL;
18186 }
18187
18188
18189 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj;
18191 wxPrintData *arg1 = (wxPrintData *) 0 ;
18192 bool result;
18193 PyObject * obj0 = 0 ;
18194 char *kwnames[] = {
18195 (char *) "self", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 result = (bool)(arg1)->GetColour();
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 {
18209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18210 }
18211 return resultobj;
18212 fail:
18213 return NULL;
18214 }
18215
18216
18217 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18218 PyObject *resultobj;
18219 wxPrintData *arg1 = (wxPrintData *) 0 ;
18220 int result;
18221 PyObject * obj0 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 result = (int)(arg1)->GetDuplex();
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 resultobj = SWIG_From_int((int)result);
18237 return resultobj;
18238 fail:
18239 return NULL;
18240 }
18241
18242
18243 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18244 PyObject *resultobj;
18245 wxPrintData *arg1 = (wxPrintData *) 0 ;
18246 int result;
18247 PyObject * obj0 = 0 ;
18248 char *kwnames[] = {
18249 (char *) "self", NULL
18250 };
18251
18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 result = (int)(arg1)->GetPaperId();
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 resultobj = SWIG_From_int((int)result);
18263 return resultobj;
18264 fail:
18265 return NULL;
18266 }
18267
18268
18269 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxPrintData *arg1 = (wxPrintData *) 0 ;
18272 wxSize *result;
18273 PyObject * obj0 = 0 ;
18274 char *kwnames[] = {
18275 (char *) "self", NULL
18276 };
18277
18278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 {
18284 wxSize const &_result_ref = (arg1)->GetPaperSize();
18285 result = (wxSize *) &_result_ref;
18286 }
18287
18288 wxPyEndAllowThreads(__tstate);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18292 return resultobj;
18293 fail:
18294 return NULL;
18295 }
18296
18297
18298 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 wxPrintData *arg1 = (wxPrintData *) 0 ;
18301 int result;
18302 PyObject * obj0 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 result = (int)(arg1)->GetQuality();
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 resultobj = SWIG_From_int((int)result);
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxPrintData *arg1 = (wxPrintData *) 0 ;
18327 int arg2 ;
18328 PyObject * obj0 = 0 ;
18329 PyObject * obj1 = 0 ;
18330 char *kwnames[] = {
18331 (char *) "self",(char *) "v", NULL
18332 };
18333
18334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18337 arg2 = (int)SWIG_As_int(obj1);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 (arg1)->SetNoCopies(arg2);
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 Py_INCREF(Py_None); resultobj = Py_None;
18347 return resultobj;
18348 fail:
18349 return NULL;
18350 }
18351
18352
18353 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 wxPrintData *arg1 = (wxPrintData *) 0 ;
18356 bool arg2 ;
18357 PyObject * obj0 = 0 ;
18358 PyObject * obj1 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self",(char *) "flag", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18366 arg2 = (bool)SWIG_As_bool(obj1);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 {
18369 PyThreadState* __tstate = wxPyBeginAllowThreads();
18370 (arg1)->SetCollate(arg2);
18371
18372 wxPyEndAllowThreads(__tstate);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 }
18375 Py_INCREF(Py_None); resultobj = Py_None;
18376 return resultobj;
18377 fail:
18378 return NULL;
18379 }
18380
18381
18382 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18383 PyObject *resultobj;
18384 wxPrintData *arg1 = (wxPrintData *) 0 ;
18385 int arg2 ;
18386 PyObject * obj0 = 0 ;
18387 PyObject * obj1 = 0 ;
18388 char *kwnames[] = {
18389 (char *) "self",(char *) "orient", NULL
18390 };
18391
18392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18395 arg2 = (int)SWIG_As_int(obj1);
18396 if (PyErr_Occurred()) SWIG_fail;
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 (arg1)->SetOrientation(arg2);
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 Py_INCREF(Py_None); resultobj = Py_None;
18405 return resultobj;
18406 fail:
18407 return NULL;
18408 }
18409
18410
18411 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18412 PyObject *resultobj;
18413 wxPrintData *arg1 = (wxPrintData *) 0 ;
18414 wxString *arg2 = 0 ;
18415 bool temp2 = False ;
18416 PyObject * obj0 = 0 ;
18417 PyObject * obj1 = 0 ;
18418 char *kwnames[] = {
18419 (char *) "self",(char *) "name", NULL
18420 };
18421
18422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18425 {
18426 arg2 = wxString_in_helper(obj1);
18427 if (arg2 == NULL) SWIG_fail;
18428 temp2 = True;
18429 }
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 (arg1)->SetPrinterName((wxString const &)*arg2);
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 Py_INCREF(Py_None); resultobj = Py_None;
18438 {
18439 if (temp2)
18440 delete arg2;
18441 }
18442 return resultobj;
18443 fail:
18444 {
18445 if (temp2)
18446 delete arg2;
18447 }
18448 return NULL;
18449 }
18450
18451
18452 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18453 PyObject *resultobj;
18454 wxPrintData *arg1 = (wxPrintData *) 0 ;
18455 bool arg2 ;
18456 PyObject * obj0 = 0 ;
18457 PyObject * obj1 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self",(char *) "colour", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18465 arg2 = (bool)SWIG_As_bool(obj1);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 (arg1)->SetColour(arg2);
18470
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
18474 Py_INCREF(Py_None); resultobj = Py_None;
18475 return resultobj;
18476 fail:
18477 return NULL;
18478 }
18479
18480
18481 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18482 PyObject *resultobj;
18483 wxPrintData *arg1 = (wxPrintData *) 0 ;
18484 int arg2 ;
18485 PyObject * obj0 = 0 ;
18486 PyObject * obj1 = 0 ;
18487 char *kwnames[] = {
18488 (char *) "self",(char *) "duplex", NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18494 arg2 = (int)SWIG_As_int(obj1);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 (arg1)->SetDuplex((wxDuplexMode )arg2);
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 Py_INCREF(Py_None); resultobj = Py_None;
18504 return resultobj;
18505 fail:
18506 return NULL;
18507 }
18508
18509
18510 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 wxPrintData *arg1 = (wxPrintData *) 0 ;
18513 int arg2 ;
18514 PyObject * obj0 = 0 ;
18515 PyObject * obj1 = 0 ;
18516 char *kwnames[] = {
18517 (char *) "self",(char *) "sizeId", NULL
18518 };
18519
18520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18523 arg2 = (int)SWIG_As_int(obj1);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 (arg1)->SetPaperId((wxPaperSize )arg2);
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
18532 Py_INCREF(Py_None); resultobj = Py_None;
18533 return resultobj;
18534 fail:
18535 return NULL;
18536 }
18537
18538
18539 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18540 PyObject *resultobj;
18541 wxPrintData *arg1 = (wxPrintData *) 0 ;
18542 wxSize *arg2 = 0 ;
18543 wxSize temp2 ;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self",(char *) "sz", NULL
18548 };
18549
18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18553 {
18554 arg2 = &temp2;
18555 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18556 }
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 (arg1)->SetPaperSize((wxSize const &)*arg2);
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 Py_INCREF(Py_None); resultobj = Py_None;
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxPrintData *arg1 = (wxPrintData *) 0 ;
18574 int arg2 ;
18575 PyObject * obj0 = 0 ;
18576 PyObject * obj1 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self",(char *) "quality", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18584 arg2 = (int)SWIG_As_int(obj1);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 {
18587 PyThreadState* __tstate = wxPyBeginAllowThreads();
18588 (arg1)->SetQuality(arg2);
18589
18590 wxPyEndAllowThreads(__tstate);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 }
18593 Py_INCREF(Py_None); resultobj = Py_None;
18594 return resultobj;
18595 fail:
18596 return NULL;
18597 }
18598
18599
18600 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18601 PyObject *resultobj;
18602 wxPrintData *arg1 = (wxPrintData *) 0 ;
18603 wxString *result;
18604 PyObject * obj0 = 0 ;
18605 char *kwnames[] = {
18606 (char *) "self", NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 {
18615 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18616 result = (wxString *) &_result_ref;
18617 }
18618
18619 wxPyEndAllowThreads(__tstate);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 }
18622 {
18623 #if wxUSE_UNICODE
18624 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18625 #else
18626 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18627 #endif
18628 }
18629 return resultobj;
18630 fail:
18631 return NULL;
18632 }
18633
18634
18635 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18636 PyObject *resultobj;
18637 wxPrintData *arg1 = (wxPrintData *) 0 ;
18638 wxString *result;
18639 PyObject * obj0 = 0 ;
18640 char *kwnames[] = {
18641 (char *) "self", NULL
18642 };
18643
18644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18647 {
18648 PyThreadState* __tstate = wxPyBeginAllowThreads();
18649 {
18650 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18651 result = (wxString *) &_result_ref;
18652 }
18653
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 {
18658 #if wxUSE_UNICODE
18659 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18660 #else
18661 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18662 #endif
18663 }
18664 return resultobj;
18665 fail:
18666 return NULL;
18667 }
18668
18669
18670 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18671 PyObject *resultobj;
18672 wxPrintData *arg1 = (wxPrintData *) 0 ;
18673 wxString *result;
18674 PyObject * obj0 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 {
18685 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18686 result = (wxString *) &_result_ref;
18687 }
18688
18689 wxPyEndAllowThreads(__tstate);
18690 if (PyErr_Occurred()) SWIG_fail;
18691 }
18692 {
18693 #if wxUSE_UNICODE
18694 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18695 #else
18696 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18697 #endif
18698 }
18699 return resultobj;
18700 fail:
18701 return NULL;
18702 }
18703
18704
18705 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
18706 PyObject *resultobj;
18707 wxPrintData *arg1 = (wxPrintData *) 0 ;
18708 wxString *result;
18709 PyObject * obj0 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 {
18720 wxString const &_result_ref = (arg1)->GetFilename();
18721 result = (wxString *) &_result_ref;
18722 }
18723
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 {
18728 #if wxUSE_UNICODE
18729 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18730 #else
18731 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18732 #endif
18733 }
18734 return resultobj;
18735 fail:
18736 return NULL;
18737 }
18738
18739
18740 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
18741 PyObject *resultobj;
18742 wxPrintData *arg1 = (wxPrintData *) 0 ;
18743 wxString *result;
18744 PyObject * obj0 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 {
18755 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18756 result = (wxString *) &_result_ref;
18757 }
18758
18759 wxPyEndAllowThreads(__tstate);
18760 if (PyErr_Occurred()) SWIG_fail;
18761 }
18762 {
18763 #if wxUSE_UNICODE
18764 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18765 #else
18766 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18767 #endif
18768 }
18769 return resultobj;
18770 fail:
18771 return NULL;
18772 }
18773
18774
18775 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj;
18777 wxPrintData *arg1 = (wxPrintData *) 0 ;
18778 double result;
18779 PyObject * obj0 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (double)(arg1)->GetPrinterScaleX();
18790
18791 wxPyEndAllowThreads(__tstate);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 resultobj = SWIG_From_double((double)result);
18795 return resultobj;
18796 fail:
18797 return NULL;
18798 }
18799
18800
18801 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
18802 PyObject *resultobj;
18803 wxPrintData *arg1 = (wxPrintData *) 0 ;
18804 double result;
18805 PyObject * obj0 = 0 ;
18806 char *kwnames[] = {
18807 (char *) "self", NULL
18808 };
18809
18810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (double)(arg1)->GetPrinterScaleY();
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 resultobj = SWIG_From_double((double)result);
18821 return resultobj;
18822 fail:
18823 return NULL;
18824 }
18825
18826
18827 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
18828 PyObject *resultobj;
18829 wxPrintData *arg1 = (wxPrintData *) 0 ;
18830 long result;
18831 PyObject * obj0 = 0 ;
18832 char *kwnames[] = {
18833 (char *) "self", NULL
18834 };
18835
18836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 result = (long)(arg1)->GetPrinterTranslateX();
18842
18843 wxPyEndAllowThreads(__tstate);
18844 if (PyErr_Occurred()) SWIG_fail;
18845 }
18846 resultobj = SWIG_From_long((long)result);
18847 return resultobj;
18848 fail:
18849 return NULL;
18850 }
18851
18852
18853 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
18854 PyObject *resultobj;
18855 wxPrintData *arg1 = (wxPrintData *) 0 ;
18856 long result;
18857 PyObject * obj0 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "self", NULL
18860 };
18861
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18865 {
18866 PyThreadState* __tstate = wxPyBeginAllowThreads();
18867 result = (long)(arg1)->GetPrinterTranslateY();
18868
18869 wxPyEndAllowThreads(__tstate);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
18872 resultobj = SWIG_From_long((long)result);
18873 return resultobj;
18874 fail:
18875 return NULL;
18876 }
18877
18878
18879 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18880 PyObject *resultobj;
18881 wxPrintData *arg1 = (wxPrintData *) 0 ;
18882 int result;
18883 PyObject * obj0 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18891 {
18892 PyThreadState* __tstate = wxPyBeginAllowThreads();
18893 result = (int)(arg1)->GetPrintMode();
18894
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 resultobj = SWIG_From_int((int)result);
18899 return resultobj;
18900 fail:
18901 return NULL;
18902 }
18903
18904
18905 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxPrintData *arg1 = (wxPrintData *) 0 ;
18908 wxString *arg2 = 0 ;
18909 bool temp2 = False ;
18910 PyObject * obj0 = 0 ;
18911 PyObject * obj1 = 0 ;
18912 char *kwnames[] = {
18913 (char *) "self",(char *) "command", NULL
18914 };
18915
18916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18919 {
18920 arg2 = wxString_in_helper(obj1);
18921 if (arg2 == NULL) SWIG_fail;
18922 temp2 = True;
18923 }
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 Py_INCREF(Py_None); resultobj = Py_None;
18932 {
18933 if (temp2)
18934 delete arg2;
18935 }
18936 return resultobj;
18937 fail:
18938 {
18939 if (temp2)
18940 delete arg2;
18941 }
18942 return NULL;
18943 }
18944
18945
18946 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj;
18948 wxPrintData *arg1 = (wxPrintData *) 0 ;
18949 wxString *arg2 = 0 ;
18950 bool temp2 = False ;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "options", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18960 {
18961 arg2 = wxString_in_helper(obj1);
18962 if (arg2 == NULL) SWIG_fail;
18963 temp2 = True;
18964 }
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 Py_INCREF(Py_None); resultobj = Py_None;
18973 {
18974 if (temp2)
18975 delete arg2;
18976 }
18977 return resultobj;
18978 fail:
18979 {
18980 if (temp2)
18981 delete arg2;
18982 }
18983 return NULL;
18984 }
18985
18986
18987 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18988 PyObject *resultobj;
18989 wxPrintData *arg1 = (wxPrintData *) 0 ;
18990 wxString *arg2 = 0 ;
18991 bool temp2 = False ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "command", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19001 {
19002 arg2 = wxString_in_helper(obj1);
19003 if (arg2 == NULL) SWIG_fail;
19004 temp2 = True;
19005 }
19006 {
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
19008 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19009
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 Py_INCREF(Py_None); resultobj = Py_None;
19014 {
19015 if (temp2)
19016 delete arg2;
19017 }
19018 return resultobj;
19019 fail:
19020 {
19021 if (temp2)
19022 delete arg2;
19023 }
19024 return NULL;
19025 }
19026
19027
19028 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj;
19030 wxPrintData *arg1 = (wxPrintData *) 0 ;
19031 wxString *arg2 = 0 ;
19032 bool temp2 = False ;
19033 PyObject * obj0 = 0 ;
19034 PyObject * obj1 = 0 ;
19035 char *kwnames[] = {
19036 (char *) "self",(char *) "filename", NULL
19037 };
19038
19039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19042 {
19043 arg2 = wxString_in_helper(obj1);
19044 if (arg2 == NULL) SWIG_fail;
19045 temp2 = True;
19046 }
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
19049 (arg1)->SetFilename((wxString const &)*arg2);
19050
19051 wxPyEndAllowThreads(__tstate);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
19054 Py_INCREF(Py_None); resultobj = Py_None;
19055 {
19056 if (temp2)
19057 delete arg2;
19058 }
19059 return resultobj;
19060 fail:
19061 {
19062 if (temp2)
19063 delete arg2;
19064 }
19065 return NULL;
19066 }
19067
19068
19069 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj;
19071 wxPrintData *arg1 = (wxPrintData *) 0 ;
19072 wxString *arg2 = 0 ;
19073 bool temp2 = False ;
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "path", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19083 {
19084 arg2 = wxString_in_helper(obj1);
19085 if (arg2 == NULL) SWIG_fail;
19086 temp2 = True;
19087 }
19088 {
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
19090 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 Py_INCREF(Py_None); resultobj = Py_None;
19096 {
19097 if (temp2)
19098 delete arg2;
19099 }
19100 return resultobj;
19101 fail:
19102 {
19103 if (temp2)
19104 delete arg2;
19105 }
19106 return NULL;
19107 }
19108
19109
19110 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19111 PyObject *resultobj;
19112 wxPrintData *arg1 = (wxPrintData *) 0 ;
19113 double arg2 ;
19114 PyObject * obj0 = 0 ;
19115 PyObject * obj1 = 0 ;
19116 char *kwnames[] = {
19117 (char *) "self",(char *) "x", NULL
19118 };
19119
19120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19123 arg2 = (double)SWIG_As_double(obj1);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 {
19126 PyThreadState* __tstate = wxPyBeginAllowThreads();
19127 (arg1)->SetPrinterScaleX(arg2);
19128
19129 wxPyEndAllowThreads(__tstate);
19130 if (PyErr_Occurred()) SWIG_fail;
19131 }
19132 Py_INCREF(Py_None); resultobj = Py_None;
19133 return resultobj;
19134 fail:
19135 return NULL;
19136 }
19137
19138
19139 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19140 PyObject *resultobj;
19141 wxPrintData *arg1 = (wxPrintData *) 0 ;
19142 double arg2 ;
19143 PyObject * obj0 = 0 ;
19144 PyObject * obj1 = 0 ;
19145 char *kwnames[] = {
19146 (char *) "self",(char *) "y", NULL
19147 };
19148
19149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19152 arg2 = (double)SWIG_As_double(obj1);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 (arg1)->SetPrinterScaleY(arg2);
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 Py_INCREF(Py_None); resultobj = Py_None;
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxPrintData *arg1 = (wxPrintData *) 0 ;
19171 double arg2 ;
19172 double arg3 ;
19173 PyObject * obj0 = 0 ;
19174 PyObject * obj1 = 0 ;
19175 PyObject * obj2 = 0 ;
19176 char *kwnames[] = {
19177 (char *) "self",(char *) "x",(char *) "y", NULL
19178 };
19179
19180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19183 arg2 = (double)SWIG_As_double(obj1);
19184 if (PyErr_Occurred()) SWIG_fail;
19185 arg3 = (double)SWIG_As_double(obj2);
19186 if (PyErr_Occurred()) SWIG_fail;
19187 {
19188 PyThreadState* __tstate = wxPyBeginAllowThreads();
19189 (arg1)->SetPrinterScaling(arg2,arg3);
19190
19191 wxPyEndAllowThreads(__tstate);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
19194 Py_INCREF(Py_None); resultobj = Py_None;
19195 return resultobj;
19196 fail:
19197 return NULL;
19198 }
19199
19200
19201 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19202 PyObject *resultobj;
19203 wxPrintData *arg1 = (wxPrintData *) 0 ;
19204 long arg2 ;
19205 PyObject * obj0 = 0 ;
19206 PyObject * obj1 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self",(char *) "x", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19214 arg2 = (long)SWIG_As_long(obj1);
19215 if (PyErr_Occurred()) SWIG_fail;
19216 {
19217 PyThreadState* __tstate = wxPyBeginAllowThreads();
19218 (arg1)->SetPrinterTranslateX(arg2);
19219
19220 wxPyEndAllowThreads(__tstate);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 }
19223 Py_INCREF(Py_None); resultobj = Py_None;
19224 return resultobj;
19225 fail:
19226 return NULL;
19227 }
19228
19229
19230 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19231 PyObject *resultobj;
19232 wxPrintData *arg1 = (wxPrintData *) 0 ;
19233 long arg2 ;
19234 PyObject * obj0 = 0 ;
19235 PyObject * obj1 = 0 ;
19236 char *kwnames[] = {
19237 (char *) "self",(char *) "y", NULL
19238 };
19239
19240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19243 arg2 = (long)SWIG_As_long(obj1);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 {
19246 PyThreadState* __tstate = wxPyBeginAllowThreads();
19247 (arg1)->SetPrinterTranslateY(arg2);
19248
19249 wxPyEndAllowThreads(__tstate);
19250 if (PyErr_Occurred()) SWIG_fail;
19251 }
19252 Py_INCREF(Py_None); resultobj = Py_None;
19253 return resultobj;
19254 fail:
19255 return NULL;
19256 }
19257
19258
19259 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19260 PyObject *resultobj;
19261 wxPrintData *arg1 = (wxPrintData *) 0 ;
19262 long arg2 ;
19263 long arg3 ;
19264 PyObject * obj0 = 0 ;
19265 PyObject * obj1 = 0 ;
19266 PyObject * obj2 = 0 ;
19267 char *kwnames[] = {
19268 (char *) "self",(char *) "x",(char *) "y", NULL
19269 };
19270
19271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19274 arg2 = (long)SWIG_As_long(obj1);
19275 if (PyErr_Occurred()) SWIG_fail;
19276 arg3 = (long)SWIG_As_long(obj2);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 {
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 (arg1)->SetPrinterTranslation(arg2,arg3);
19281
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 Py_INCREF(Py_None); resultobj = Py_None;
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxPrintData *arg1 = (wxPrintData *) 0 ;
19295 int arg2 ;
19296 PyObject * obj0 = 0 ;
19297 PyObject * obj1 = 0 ;
19298 char *kwnames[] = {
19299 (char *) "self",(char *) "printMode", NULL
19300 };
19301
19302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19305 arg2 = (int)SWIG_As_int(obj1);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 (arg1)->SetPrintMode((wxPrintMode )arg2);
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 Py_INCREF(Py_None); resultobj = Py_None;
19315 return resultobj;
19316 fail:
19317 return NULL;
19318 }
19319
19320
19321 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19322 PyObject *resultobj;
19323 wxPrintData *arg1 = (wxPrintData *) 0 ;
19324 wxOutputStream *result;
19325 PyObject * obj0 = 0 ;
19326 char *kwnames[] = {
19327 (char *) "self", NULL
19328 };
19329
19330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 result = (wxOutputStream *)(arg1)->GetOutputStream();
19336
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxPrintData *arg1 = (wxPrintData *) 0 ;
19350 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19351 PyObject * obj0 = 0 ;
19352 PyObject * obj1 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self",(char *) "outputstream", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 (arg1)->SetOutputStream(arg2);
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 Py_INCREF(Py_None); resultobj = Py_None;
19370 return resultobj;
19371 fail:
19372 return NULL;
19373 }
19374
19375
19376 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19377 PyObject *obj;
19378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19379 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19380 Py_INCREF(obj);
19381 return Py_BuildValue((char *)"");
19382 }
19383 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19384 PyObject *resultobj;
19385 wxPageSetupDialogData *result;
19386
19387 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19388 {
19389 PyThreadState* __tstate = wxPyBeginAllowThreads();
19390 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19391
19392 wxPyEndAllowThreads(__tstate);
19393 if (PyErr_Occurred()) SWIG_fail;
19394 }
19395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19396 return resultobj;
19397 fail:
19398 return NULL;
19399 }
19400
19401
19402 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19403 PyObject *resultobj;
19404 wxPageSetupDialogData *arg1 = 0 ;
19405 wxPageSetupDialogData *result;
19406 PyObject * obj0 = 0 ;
19407
19408 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19410 SWIG_POINTER_EXCEPTION | 0)) == -1)
19411 SWIG_fail;
19412 if (arg1 == NULL) {
19413 PyErr_SetString(PyExc_TypeError,"null reference");
19414 SWIG_fail;
19415 }
19416 {
19417 PyThreadState* __tstate = wxPyBeginAllowThreads();
19418 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19419
19420 wxPyEndAllowThreads(__tstate);
19421 if (PyErr_Occurred()) SWIG_fail;
19422 }
19423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19424 return resultobj;
19425 fail:
19426 return NULL;
19427 }
19428
19429
19430 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19431 int argc;
19432 PyObject *argv[2];
19433 int ii;
19434
19435 argc = PyObject_Length(args);
19436 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19437 argv[ii] = PyTuple_GetItem(args,ii);
19438 }
19439 if (argc == 0) {
19440 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19441 }
19442 if (argc == 1) {
19443 int _v;
19444 {
19445 void *ptr;
19446 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19447 _v = 0;
19448 PyErr_Clear();
19449 } else {
19450 _v = 1;
19451 }
19452 }
19453 if (_v) {
19454 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19455 }
19456 }
19457
19458 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19459 return NULL;
19460 }
19461
19462
19463 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19466 PyObject * obj0 = 0 ;
19467 char *kwnames[] = {
19468 (char *) "self", NULL
19469 };
19470
19471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 delete arg1;
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 Py_INCREF(Py_None); resultobj = Py_None;
19482 return resultobj;
19483 fail:
19484 return NULL;
19485 }
19486
19487
19488 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19489 PyObject *resultobj;
19490 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19491 bool arg2 ;
19492 PyObject * obj0 = 0 ;
19493 PyObject * obj1 = 0 ;
19494 char *kwnames[] = {
19495 (char *) "self",(char *) "flag", NULL
19496 };
19497
19498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19501 arg2 = (bool)SWIG_As_bool(obj1);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 (arg1)->EnableHelp(arg2);
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 Py_INCREF(Py_None); resultobj = Py_None;
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19520 bool arg2 ;
19521 PyObject * obj0 = 0 ;
19522 PyObject * obj1 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self",(char *) "flag", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19530 arg2 = (bool)SWIG_As_bool(obj1);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 (arg1)->EnableMargins(arg2);
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 Py_INCREF(Py_None); resultobj = Py_None;
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19549 bool arg2 ;
19550 PyObject * obj0 = 0 ;
19551 PyObject * obj1 = 0 ;
19552 char *kwnames[] = {
19553 (char *) "self",(char *) "flag", NULL
19554 };
19555
19556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19559 arg2 = (bool)SWIG_As_bool(obj1);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 (arg1)->EnableOrientation(arg2);
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 Py_INCREF(Py_None); resultobj = Py_None;
19569 return resultobj;
19570 fail:
19571 return NULL;
19572 }
19573
19574
19575 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj;
19577 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19578 bool arg2 ;
19579 PyObject * obj0 = 0 ;
19580 PyObject * obj1 = 0 ;
19581 char *kwnames[] = {
19582 (char *) "self",(char *) "flag", NULL
19583 };
19584
19585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19588 arg2 = (bool)SWIG_As_bool(obj1);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 (arg1)->EnablePaper(arg2);
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 Py_INCREF(Py_None); resultobj = Py_None;
19598 return resultobj;
19599 fail:
19600 return NULL;
19601 }
19602
19603
19604 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19605 PyObject *resultobj;
19606 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19607 bool arg2 ;
19608 PyObject * obj0 = 0 ;
19609 PyObject * obj1 = 0 ;
19610 char *kwnames[] = {
19611 (char *) "self",(char *) "flag", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19617 arg2 = (bool)SWIG_As_bool(obj1);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 (arg1)->EnablePrinter(arg2);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 Py_INCREF(Py_None); resultobj = Py_None;
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19636 bool result;
19637 PyObject * obj0 = 0 ;
19638 char *kwnames[] = {
19639 (char *) "self", NULL
19640 };
19641
19642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19645 {
19646 PyThreadState* __tstate = wxPyBeginAllowThreads();
19647 result = (bool)(arg1)->GetDefaultMinMargins();
19648
19649 wxPyEndAllowThreads(__tstate);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 }
19652 {
19653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19654 }
19655 return resultobj;
19656 fail:
19657 return NULL;
19658 }
19659
19660
19661 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19662 PyObject *resultobj;
19663 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19664 bool result;
19665 PyObject * obj0 = 0 ;
19666 char *kwnames[] = {
19667 (char *) "self", NULL
19668 };
19669
19670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19673 {
19674 PyThreadState* __tstate = wxPyBeginAllowThreads();
19675 result = (bool)(arg1)->GetEnableMargins();
19676
19677 wxPyEndAllowThreads(__tstate);
19678 if (PyErr_Occurred()) SWIG_fail;
19679 }
19680 {
19681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19682 }
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19692 bool result;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 result = (bool)(arg1)->GetEnableOrientation();
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 {
19709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19710 }
19711 return resultobj;
19712 fail:
19713 return NULL;
19714 }
19715
19716
19717 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19718 PyObject *resultobj;
19719 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19720 bool result;
19721 PyObject * obj0 = 0 ;
19722 char *kwnames[] = {
19723 (char *) "self", NULL
19724 };
19725
19726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 result = (bool)(arg1)->GetEnablePaper();
19732
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 {
19737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19738 }
19739 return resultobj;
19740 fail:
19741 return NULL;
19742 }
19743
19744
19745 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19746 PyObject *resultobj;
19747 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19748 bool result;
19749 PyObject * obj0 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 result = (bool)(arg1)->GetEnablePrinter();
19760
19761 wxPyEndAllowThreads(__tstate);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 }
19764 {
19765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19766 }
19767 return resultobj;
19768 fail:
19769 return NULL;
19770 }
19771
19772
19773 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19776 bool result;
19777 PyObject * obj0 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = (bool)(arg1)->GetEnableHelp();
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 {
19793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19794 }
19795 return resultobj;
19796 fail:
19797 return NULL;
19798 }
19799
19800
19801 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19802 PyObject *resultobj;
19803 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19804 bool result;
19805 PyObject * obj0 = 0 ;
19806 char *kwnames[] = {
19807 (char *) "self", NULL
19808 };
19809
19810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = (bool)(arg1)->GetDefaultInfo();
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 {
19821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19822 }
19823 return resultobj;
19824 fail:
19825 return NULL;
19826 }
19827
19828
19829 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19832 wxPoint result;
19833 PyObject * obj0 = 0 ;
19834 char *kwnames[] = {
19835 (char *) "self", NULL
19836 };
19837
19838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 result = (arg1)->GetMarginTopLeft();
19844
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 {
19849 wxPoint * resultptr;
19850 resultptr = new wxPoint((wxPoint &) result);
19851 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19852 }
19853 return resultobj;
19854 fail:
19855 return NULL;
19856 }
19857
19858
19859 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19860 PyObject *resultobj;
19861 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19862 wxPoint result;
19863 PyObject * obj0 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self", NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19871 {
19872 PyThreadState* __tstate = wxPyBeginAllowThreads();
19873 result = (arg1)->GetMarginBottomRight();
19874
19875 wxPyEndAllowThreads(__tstate);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
19878 {
19879 wxPoint * resultptr;
19880 resultptr = new wxPoint((wxPoint &) result);
19881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19882 }
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19892 wxPoint result;
19893 PyObject * obj0 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = (arg1)->GetMinMarginTopLeft();
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 {
19909 wxPoint * resultptr;
19910 resultptr = new wxPoint((wxPoint &) result);
19911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19912 }
19913 return resultobj;
19914 fail:
19915 return NULL;
19916 }
19917
19918
19919 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19920 PyObject *resultobj;
19921 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19922 wxPoint result;
19923 PyObject * obj0 = 0 ;
19924 char *kwnames[] = {
19925 (char *) "self", NULL
19926 };
19927
19928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 result = (arg1)->GetMinMarginBottomRight();
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 {
19939 wxPoint * resultptr;
19940 resultptr = new wxPoint((wxPoint &) result);
19941 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19942 }
19943 return resultobj;
19944 fail:
19945 return NULL;
19946 }
19947
19948
19949 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19950 PyObject *resultobj;
19951 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19952 int result;
19953 PyObject * obj0 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 result = (int)(arg1)->GetPaperId();
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 resultobj = SWIG_From_int((int)result);
19969 return resultobj;
19970 fail:
19971 return NULL;
19972 }
19973
19974
19975 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj;
19977 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19978 wxSize result;
19979 PyObject * obj0 = 0 ;
19980 char *kwnames[] = {
19981 (char *) "self", NULL
19982 };
19983
19984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
19989 result = (arg1)->GetPaperSize();
19990
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 {
19995 wxSize * resultptr;
19996 resultptr = new wxSize((wxSize &) result);
19997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19998 }
19999 return resultobj;
20000 fail:
20001 return NULL;
20002 }
20003
20004
20005 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20006 PyObject *resultobj;
20007 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20008 wxPrintData *result;
20009 PyObject * obj0 = 0 ;
20010 char *kwnames[] = {
20011 (char *) "self", NULL
20012 };
20013
20014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20017 {
20018 PyThreadState* __tstate = wxPyBeginAllowThreads();
20019 {
20020 wxPrintData &_result_ref = (arg1)->GetPrintData();
20021 result = (wxPrintData *) &_result_ref;
20022 }
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20037 bool result;
20038 PyObject * obj0 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (bool)(arg1)->Ok();
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 {
20054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20055 }
20056 return resultobj;
20057 fail:
20058 return NULL;
20059 }
20060
20061
20062 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20065 bool arg2 ;
20066 PyObject * obj0 = 0 ;
20067 PyObject * obj1 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self",(char *) "flag", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20075 arg2 = (bool)SWIG_As_bool(obj1);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 (arg1)->SetDefaultInfo(arg2);
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 Py_INCREF(Py_None); resultobj = Py_None;
20085 return resultobj;
20086 fail:
20087 return NULL;
20088 }
20089
20090
20091 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20092 PyObject *resultobj;
20093 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20094 bool arg2 ;
20095 PyObject * obj0 = 0 ;
20096 PyObject * obj1 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self",(char *) "flag", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20104 arg2 = (bool)SWIG_As_bool(obj1);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 (arg1)->SetDefaultMinMargins(arg2);
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 Py_INCREF(Py_None); resultobj = Py_None;
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20123 wxPoint *arg2 = 0 ;
20124 wxPoint temp2 ;
20125 PyObject * obj0 = 0 ;
20126 PyObject * obj1 = 0 ;
20127 char *kwnames[] = {
20128 (char *) "self",(char *) "pt", NULL
20129 };
20130
20131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20134 {
20135 arg2 = &temp2;
20136 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20137 }
20138 {
20139 PyThreadState* __tstate = wxPyBeginAllowThreads();
20140 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20141
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
20145 Py_INCREF(Py_None); resultobj = Py_None;
20146 return resultobj;
20147 fail:
20148 return NULL;
20149 }
20150
20151
20152 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20153 PyObject *resultobj;
20154 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20155 wxPoint *arg2 = 0 ;
20156 wxPoint temp2 ;
20157 PyObject * obj0 = 0 ;
20158 PyObject * obj1 = 0 ;
20159 char *kwnames[] = {
20160 (char *) "self",(char *) "pt", NULL
20161 };
20162
20163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20166 {
20167 arg2 = &temp2;
20168 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20169 }
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 Py_INCREF(Py_None); resultobj = Py_None;
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20185 PyObject *resultobj;
20186 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20187 wxPoint *arg2 = 0 ;
20188 wxPoint temp2 ;
20189 PyObject * obj0 = 0 ;
20190 PyObject * obj1 = 0 ;
20191 char *kwnames[] = {
20192 (char *) "self",(char *) "pt", NULL
20193 };
20194
20195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20198 {
20199 arg2 = &temp2;
20200 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20201 }
20202 {
20203 PyThreadState* __tstate = wxPyBeginAllowThreads();
20204 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20205
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 Py_INCREF(Py_None); resultobj = Py_None;
20210 return resultobj;
20211 fail:
20212 return NULL;
20213 }
20214
20215
20216 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20217 PyObject *resultobj;
20218 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20219 wxPoint *arg2 = 0 ;
20220 wxPoint temp2 ;
20221 PyObject * obj0 = 0 ;
20222 PyObject * obj1 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self",(char *) "pt", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20230 {
20231 arg2 = &temp2;
20232 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20233 }
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 Py_INCREF(Py_None); resultobj = Py_None;
20242 return resultobj;
20243 fail:
20244 return NULL;
20245 }
20246
20247
20248 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20249 PyObject *resultobj;
20250 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20251 int arg2 ;
20252 PyObject * obj0 = 0 ;
20253 PyObject * obj1 = 0 ;
20254 char *kwnames[] = {
20255 (char *) "self",(char *) "id", NULL
20256 };
20257
20258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20261 arg2 = (int)SWIG_As_int(obj1);
20262 if (PyErr_Occurred()) SWIG_fail;
20263 {
20264 PyThreadState* __tstate = wxPyBeginAllowThreads();
20265 (arg1)->SetPaperId((wxPaperSize )arg2);
20266
20267 wxPyEndAllowThreads(__tstate);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 }
20270 Py_INCREF(Py_None); resultobj = Py_None;
20271 return resultobj;
20272 fail:
20273 return NULL;
20274 }
20275
20276
20277 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj;
20279 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20280 wxSize *arg2 = 0 ;
20281 wxSize temp2 ;
20282 PyObject * obj0 = 0 ;
20283 PyObject * obj1 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "self",(char *) "size", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20291 {
20292 arg2 = &temp2;
20293 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20294 }
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 (arg1)->SetPaperSize((wxSize const &)*arg2);
20298
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
20302 Py_INCREF(Py_None); resultobj = Py_None;
20303 return resultobj;
20304 fail:
20305 return NULL;
20306 }
20307
20308
20309 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20310 PyObject *resultobj;
20311 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20312 wxPrintData *arg2 = 0 ;
20313 PyObject * obj0 = 0 ;
20314 PyObject * obj1 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self",(char *) "printData", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20323 SWIG_POINTER_EXCEPTION | 0)) == -1)
20324 SWIG_fail;
20325 if (arg2 == NULL) {
20326 PyErr_SetString(PyExc_TypeError,"null reference");
20327 SWIG_fail;
20328 }
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 Py_INCREF(Py_None); resultobj = Py_None;
20337 return resultobj;
20338 fail:
20339 return NULL;
20340 }
20341
20342
20343 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20344 PyObject *obj;
20345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20346 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20347 Py_INCREF(obj);
20348 return Py_BuildValue((char *)"");
20349 }
20350 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20351 PyObject *resultobj;
20352 wxWindow *arg1 = (wxWindow *) 0 ;
20353 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20354 wxPageSetupDialog *result;
20355 PyObject * obj0 = 0 ;
20356 PyObject * obj1 = 0 ;
20357 char *kwnames[] = {
20358 (char *) "parent",(char *) "data", NULL
20359 };
20360
20361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20364 if (obj1) {
20365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20367 }
20368 {
20369 if (!wxPyCheckForApp()) SWIG_fail;
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20377 return resultobj;
20378 fail:
20379 return NULL;
20380 }
20381
20382
20383 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20384 PyObject *resultobj;
20385 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20386 wxPageSetupDialogData *result;
20387 PyObject * obj0 = 0 ;
20388 char *kwnames[] = {
20389 (char *) "self", NULL
20390 };
20391
20392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20395 {
20396 PyThreadState* __tstate = wxPyBeginAllowThreads();
20397 {
20398 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20399 result = (wxPageSetupDialogData *) &_result_ref;
20400 }
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20406 return resultobj;
20407 fail:
20408 return NULL;
20409 }
20410
20411
20412 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20415 int result;
20416 PyObject * obj0 = 0 ;
20417 char *kwnames[] = {
20418 (char *) "self", NULL
20419 };
20420
20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20424 {
20425 PyThreadState* __tstate = wxPyBeginAllowThreads();
20426 result = (int)(arg1)->ShowModal();
20427
20428 wxPyEndAllowThreads(__tstate);
20429 if (PyErr_Occurred()) SWIG_fail;
20430 }
20431 resultobj = SWIG_From_int((int)result);
20432 return resultobj;
20433 fail:
20434 return NULL;
20435 }
20436
20437
20438 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20439 PyObject *obj;
20440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20441 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20442 Py_INCREF(obj);
20443 return Py_BuildValue((char *)"");
20444 }
20445 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20446 PyObject *resultobj;
20447 wxPrintDialogData *result;
20448
20449 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20450 {
20451 PyThreadState* __tstate = wxPyBeginAllowThreads();
20452 result = (wxPrintDialogData *)new wxPrintDialogData();
20453
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20458 return resultobj;
20459 fail:
20460 return NULL;
20461 }
20462
20463
20464 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20465 PyObject *resultobj;
20466 wxPrintData *arg1 = 0 ;
20467 wxPrintDialogData *result;
20468 PyObject * obj0 = 0 ;
20469
20470 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20472 SWIG_POINTER_EXCEPTION | 0)) == -1)
20473 SWIG_fail;
20474 if (arg1 == NULL) {
20475 PyErr_SetString(PyExc_TypeError,"null reference");
20476 SWIG_fail;
20477 }
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20493 int argc;
20494 PyObject *argv[2];
20495 int ii;
20496
20497 argc = PyObject_Length(args);
20498 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20499 argv[ii] = PyTuple_GetItem(args,ii);
20500 }
20501 if (argc == 0) {
20502 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20503 }
20504 if (argc == 1) {
20505 int _v;
20506 {
20507 void *ptr;
20508 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20509 _v = 0;
20510 PyErr_Clear();
20511 } else {
20512 _v = 1;
20513 }
20514 }
20515 if (_v) {
20516 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20517 }
20518 }
20519
20520 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20521 return NULL;
20522 }
20523
20524
20525 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20528 PyObject * obj0 = 0 ;
20529 char *kwnames[] = {
20530 (char *) "self", NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20536 {
20537 PyThreadState* __tstate = wxPyBeginAllowThreads();
20538 delete arg1;
20539
20540 wxPyEndAllowThreads(__tstate);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 Py_INCREF(Py_None); resultobj = Py_None;
20544 return resultobj;
20545 fail:
20546 return NULL;
20547 }
20548
20549
20550 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20551 PyObject *resultobj;
20552 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20553 int result;
20554 PyObject * obj0 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self", NULL
20557 };
20558
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 resultobj = SWIG_From_int((int)result);
20570 return resultobj;
20571 fail:
20572 return NULL;
20573 }
20574
20575
20576 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20577 PyObject *resultobj;
20578 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20579 int result;
20580 PyObject * obj0 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20588 {
20589 PyThreadState* __tstate = wxPyBeginAllowThreads();
20590 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20591
20592 wxPyEndAllowThreads(__tstate);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 }
20595 resultobj = SWIG_From_int((int)result);
20596 return resultobj;
20597 fail:
20598 return NULL;
20599 }
20600
20601
20602 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20603 PyObject *resultobj;
20604 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20605 int result;
20606 PyObject * obj0 = 0 ;
20607 char *kwnames[] = {
20608 (char *) "self", NULL
20609 };
20610
20611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20617
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
20621 resultobj = SWIG_From_int((int)result);
20622 return resultobj;
20623 fail:
20624 return NULL;
20625 }
20626
20627
20628 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20629 PyObject *resultobj;
20630 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20631 int result;
20632 PyObject * obj0 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 resultobj = SWIG_From_int((int)result);
20648 return resultobj;
20649 fail:
20650 return NULL;
20651 }
20652
20653
20654 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20655 PyObject *resultobj;
20656 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20657 int result;
20658 PyObject * obj0 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20666 {
20667 PyThreadState* __tstate = wxPyBeginAllowThreads();
20668 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20669
20670 wxPyEndAllowThreads(__tstate);
20671 if (PyErr_Occurred()) SWIG_fail;
20672 }
20673 resultobj = SWIG_From_int((int)result);
20674 return resultobj;
20675 fail:
20676 return NULL;
20677 }
20678
20679
20680 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20681 PyObject *resultobj;
20682 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20683 bool result;
20684 PyObject * obj0 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
20694 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 {
20700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20701 }
20702 return resultobj;
20703 fail:
20704 return NULL;
20705 }
20706
20707
20708 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20709 PyObject *resultobj;
20710 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20711 bool result;
20712 PyObject * obj0 = 0 ;
20713 char *kwnames[] = {
20714 (char *) "self", NULL
20715 };
20716
20717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20723
20724 wxPyEndAllowThreads(__tstate);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 }
20727 {
20728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20729 }
20730 return resultobj;
20731 fail:
20732 return NULL;
20733 }
20734
20735
20736 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20737 PyObject *resultobj;
20738 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20739 bool result;
20740 PyObject * obj0 = 0 ;
20741 char *kwnames[] = {
20742 (char *) "self", NULL
20743 };
20744
20745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20748 {
20749 PyThreadState* __tstate = wxPyBeginAllowThreads();
20750 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 {
20756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20757 }
20758 return resultobj;
20759 fail:
20760 return NULL;
20761 }
20762
20763
20764 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20765 PyObject *resultobj;
20766 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20767 bool result;
20768 PyObject * obj0 = 0 ;
20769 char *kwnames[] = {
20770 (char *) "self", NULL
20771 };
20772
20773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20776 {
20777 PyThreadState* __tstate = wxPyBeginAllowThreads();
20778 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20779
20780 wxPyEndAllowThreads(__tstate);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 {
20784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20785 }
20786 return resultobj;
20787 fail:
20788 return NULL;
20789 }
20790
20791
20792 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20793 PyObject *resultobj;
20794 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20795 bool result;
20796 PyObject * obj0 = 0 ;
20797 char *kwnames[] = {
20798 (char *) "self", NULL
20799 };
20800
20801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20804 {
20805 PyThreadState* __tstate = wxPyBeginAllowThreads();
20806 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20807
20808 wxPyEndAllowThreads(__tstate);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 }
20811 {
20812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20813 }
20814 return resultobj;
20815 fail:
20816 return NULL;
20817 }
20818
20819
20820 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20821 PyObject *resultobj;
20822 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20823 int arg2 ;
20824 PyObject * obj0 = 0 ;
20825 PyObject * obj1 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self",(char *) "v", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20833 arg2 = (int)SWIG_As_int(obj1);
20834 if (PyErr_Occurred()) SWIG_fail;
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 (arg1)->SetFromPage(arg2);
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 Py_INCREF(Py_None); resultobj = Py_None;
20843 return resultobj;
20844 fail:
20845 return NULL;
20846 }
20847
20848
20849 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20850 PyObject *resultobj;
20851 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20852 int arg2 ;
20853 PyObject * obj0 = 0 ;
20854 PyObject * obj1 = 0 ;
20855 char *kwnames[] = {
20856 (char *) "self",(char *) "v", NULL
20857 };
20858
20859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20862 arg2 = (int)SWIG_As_int(obj1);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 (arg1)->SetToPage(arg2);
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 Py_INCREF(Py_None); resultobj = Py_None;
20872 return resultobj;
20873 fail:
20874 return NULL;
20875 }
20876
20877
20878 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20879 PyObject *resultobj;
20880 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20881 int arg2 ;
20882 PyObject * obj0 = 0 ;
20883 PyObject * obj1 = 0 ;
20884 char *kwnames[] = {
20885 (char *) "self",(char *) "v", NULL
20886 };
20887
20888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20891 arg2 = (int)SWIG_As_int(obj1);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 (arg1)->SetMinPage(arg2);
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 Py_INCREF(Py_None); resultobj = Py_None;
20901 return resultobj;
20902 fail:
20903 return NULL;
20904 }
20905
20906
20907 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20908 PyObject *resultobj;
20909 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20910 int arg2 ;
20911 PyObject * obj0 = 0 ;
20912 PyObject * obj1 = 0 ;
20913 char *kwnames[] = {
20914 (char *) "self",(char *) "v", NULL
20915 };
20916
20917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20920 arg2 = (int)SWIG_As_int(obj1);
20921 if (PyErr_Occurred()) SWIG_fail;
20922 {
20923 PyThreadState* __tstate = wxPyBeginAllowThreads();
20924 (arg1)->SetMaxPage(arg2);
20925
20926 wxPyEndAllowThreads(__tstate);
20927 if (PyErr_Occurred()) SWIG_fail;
20928 }
20929 Py_INCREF(Py_None); resultobj = Py_None;
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20939 int arg2 ;
20940 PyObject * obj0 = 0 ;
20941 PyObject * obj1 = 0 ;
20942 char *kwnames[] = {
20943 (char *) "self",(char *) "v", NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20949 arg2 = (int)SWIG_As_int(obj1);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 (arg1)->SetNoCopies(arg2);
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 Py_INCREF(Py_None); resultobj = Py_None;
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20968 bool arg2 ;
20969 PyObject * obj0 = 0 ;
20970 PyObject * obj1 = 0 ;
20971 char *kwnames[] = {
20972 (char *) "self",(char *) "flag", NULL
20973 };
20974
20975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20978 arg2 = (bool)SWIG_As_bool(obj1);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 {
20981 PyThreadState* __tstate = wxPyBeginAllowThreads();
20982 (arg1)->SetAllPages(arg2);
20983
20984 wxPyEndAllowThreads(__tstate);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 }
20987 Py_INCREF(Py_None); resultobj = Py_None;
20988 return resultobj;
20989 fail:
20990 return NULL;
20991 }
20992
20993
20994 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20995 PyObject *resultobj;
20996 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20997 bool arg2 ;
20998 PyObject * obj0 = 0 ;
20999 PyObject * obj1 = 0 ;
21000 char *kwnames[] = {
21001 (char *) "self",(char *) "flag", NULL
21002 };
21003
21004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21007 arg2 = (bool)SWIG_As_bool(obj1);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 {
21010 PyThreadState* __tstate = wxPyBeginAllowThreads();
21011 (arg1)->SetSelection(arg2);
21012
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 Py_INCREF(Py_None); resultobj = Py_None;
21017 return resultobj;
21018 fail:
21019 return NULL;
21020 }
21021
21022
21023 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21024 PyObject *resultobj;
21025 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21026 bool arg2 ;
21027 PyObject * obj0 = 0 ;
21028 PyObject * obj1 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self",(char *) "flag", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21036 arg2 = (bool)SWIG_As_bool(obj1);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 (arg1)->SetCollate(arg2);
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 Py_INCREF(Py_None); resultobj = Py_None;
21046 return resultobj;
21047 fail:
21048 return NULL;
21049 }
21050
21051
21052 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj;
21054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21055 bool arg2 ;
21056 PyObject * obj0 = 0 ;
21057 PyObject * obj1 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self",(char *) "flag", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21065 arg2 = (bool)SWIG_As_bool(obj1);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 (arg1)->SetPrintToFile(arg2);
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 Py_INCREF(Py_None); resultobj = Py_None;
21075 return resultobj;
21076 fail:
21077 return NULL;
21078 }
21079
21080
21081 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj;
21083 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21084 bool arg2 ;
21085 PyObject * obj0 = 0 ;
21086 PyObject * obj1 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self",(char *) "flag", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21094 arg2 = (bool)SWIG_As_bool(obj1);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 (arg1)->SetSetupDialog(arg2);
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 Py_INCREF(Py_None); resultobj = Py_None;
21104 return resultobj;
21105 fail:
21106 return NULL;
21107 }
21108
21109
21110 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj;
21112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21113 bool arg2 ;
21114 PyObject * obj0 = 0 ;
21115 PyObject * obj1 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self",(char *) "flag", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21123 arg2 = (bool)SWIG_As_bool(obj1);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 {
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 (arg1)->EnablePrintToFile(arg2);
21128
21129 wxPyEndAllowThreads(__tstate);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 }
21132 Py_INCREF(Py_None); resultobj = Py_None;
21133 return resultobj;
21134 fail:
21135 return NULL;
21136 }
21137
21138
21139 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21140 PyObject *resultobj;
21141 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21142 bool arg2 ;
21143 PyObject * obj0 = 0 ;
21144 PyObject * obj1 = 0 ;
21145 char *kwnames[] = {
21146 (char *) "self",(char *) "flag", NULL
21147 };
21148
21149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21152 arg2 = (bool)SWIG_As_bool(obj1);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 (arg1)->EnableSelection(arg2);
21157
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 Py_INCREF(Py_None); resultobj = Py_None;
21162 return resultobj;
21163 fail:
21164 return NULL;
21165 }
21166
21167
21168 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21169 PyObject *resultobj;
21170 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21171 bool arg2 ;
21172 PyObject * obj0 = 0 ;
21173 PyObject * obj1 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self",(char *) "flag", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21181 arg2 = (bool)SWIG_As_bool(obj1);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 {
21184 PyThreadState* __tstate = wxPyBeginAllowThreads();
21185 (arg1)->EnablePageNumbers(arg2);
21186
21187 wxPyEndAllowThreads(__tstate);
21188 if (PyErr_Occurred()) SWIG_fail;
21189 }
21190 Py_INCREF(Py_None); resultobj = Py_None;
21191 return resultobj;
21192 fail:
21193 return NULL;
21194 }
21195
21196
21197 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21198 PyObject *resultobj;
21199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21200 bool arg2 ;
21201 PyObject * obj0 = 0 ;
21202 PyObject * obj1 = 0 ;
21203 char *kwnames[] = {
21204 (char *) "self",(char *) "flag", NULL
21205 };
21206
21207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21210 arg2 = (bool)SWIG_As_bool(obj1);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 {
21213 PyThreadState* __tstate = wxPyBeginAllowThreads();
21214 (arg1)->EnableHelp(arg2);
21215
21216 wxPyEndAllowThreads(__tstate);
21217 if (PyErr_Occurred()) SWIG_fail;
21218 }
21219 Py_INCREF(Py_None); resultobj = Py_None;
21220 return resultobj;
21221 fail:
21222 return NULL;
21223 }
21224
21225
21226 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21227 PyObject *resultobj;
21228 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21229 bool result;
21230 PyObject * obj0 = 0 ;
21231 char *kwnames[] = {
21232 (char *) "self", NULL
21233 };
21234
21235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 {
21246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21247 }
21248 return resultobj;
21249 fail:
21250 return NULL;
21251 }
21252
21253
21254 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21255 PyObject *resultobj;
21256 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21257 bool result;
21258 PyObject * obj0 = 0 ;
21259 char *kwnames[] = {
21260 (char *) "self", NULL
21261 };
21262
21263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21266 {
21267 PyThreadState* __tstate = wxPyBeginAllowThreads();
21268 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21269
21270 wxPyEndAllowThreads(__tstate);
21271 if (PyErr_Occurred()) SWIG_fail;
21272 }
21273 {
21274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21275 }
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21285 bool result;
21286 PyObject * obj0 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21294 {
21295 PyThreadState* __tstate = wxPyBeginAllowThreads();
21296 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21297
21298 wxPyEndAllowThreads(__tstate);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 }
21301 {
21302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21303 }
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21313 bool result;
21314 PyObject * obj0 = 0 ;
21315 char *kwnames[] = {
21316 (char *) "self", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 {
21330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21331 }
21332 return resultobj;
21333 fail:
21334 return NULL;
21335 }
21336
21337
21338 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21341 bool result;
21342 PyObject * obj0 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21353
21354 wxPyEndAllowThreads(__tstate);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 {
21358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21359 }
21360 return resultobj;
21361 fail:
21362 return NULL;
21363 }
21364
21365
21366 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj;
21368 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21369 wxPrintData *result;
21370 PyObject * obj0 = 0 ;
21371 char *kwnames[] = {
21372 (char *) "self", NULL
21373 };
21374
21375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 {
21381 wxPrintData &_result_ref = (arg1)->GetPrintData();
21382 result = (wxPrintData *) &_result_ref;
21383 }
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21398 wxPrintData *arg2 = 0 ;
21399 PyObject * obj0 = 0 ;
21400 PyObject * obj1 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self",(char *) "printData", NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21409 SWIG_POINTER_EXCEPTION | 0)) == -1)
21410 SWIG_fail;
21411 if (arg2 == NULL) {
21412 PyErr_SetString(PyExc_TypeError,"null reference");
21413 SWIG_fail;
21414 }
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 Py_INCREF(Py_None); resultobj = Py_None;
21423 return resultobj;
21424 fail:
21425 return NULL;
21426 }
21427
21428
21429 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21430 PyObject *obj;
21431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21432 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21433 Py_INCREF(obj);
21434 return Py_BuildValue((char *)"");
21435 }
21436 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 wxWindow *arg1 = (wxWindow *) 0 ;
21439 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21440 wxPrintDialog *result;
21441 PyObject * obj0 = 0 ;
21442 PyObject * obj1 = 0 ;
21443 char *kwnames[] = {
21444 (char *) "parent",(char *) "data", NULL
21445 };
21446
21447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21450 if (obj1) {
21451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21453 }
21454 {
21455 if (!wxPyCheckForApp()) SWIG_fail;
21456 PyThreadState* __tstate = wxPyBeginAllowThreads();
21457 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21458
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21463 return resultobj;
21464 fail:
21465 return NULL;
21466 }
21467
21468
21469 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj;
21471 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21472 wxPrintDialogData *result;
21473 PyObject * obj0 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21481 {
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 {
21484 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21485 result = (wxPrintDialogData *) &_result_ref;
21486 }
21487
21488 wxPyEndAllowThreads(__tstate);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
21491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21492 return resultobj;
21493 fail:
21494 return NULL;
21495 }
21496
21497
21498 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj;
21500 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21501 wxDC *result;
21502 PyObject * obj0 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = (wxDC *)(arg1)->GetPrintDC();
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 {
21518 resultobj = wxPyMake_wxObject(result, 1);
21519 }
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21529 int result;
21530 PyObject * obj0 = 0 ;
21531 char *kwnames[] = {
21532 (char *) "self", NULL
21533 };
21534
21535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21538 {
21539 PyThreadState* __tstate = wxPyBeginAllowThreads();
21540 result = (int)(arg1)->ShowModal();
21541
21542 wxPyEndAllowThreads(__tstate);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 }
21545 resultobj = SWIG_From_int((int)result);
21546 return resultobj;
21547 fail:
21548 return NULL;
21549 }
21550
21551
21552 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
21553 PyObject *obj;
21554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21555 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21556 Py_INCREF(obj);
21557 return Py_BuildValue((char *)"");
21558 }
21559 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21560 PyObject *resultobj;
21561 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21562 wxPrinter *result;
21563 PyObject * obj0 = 0 ;
21564 char *kwnames[] = {
21565 (char *) "data", NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21569 if (obj0) {
21570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21572 }
21573 {
21574 if (!wxPyCheckForApp()) SWIG_fail;
21575 PyThreadState* __tstate = wxPyBeginAllowThreads();
21576 result = (wxPrinter *)new wxPrinter(arg1);
21577
21578 wxPyEndAllowThreads(__tstate);
21579 if (PyErr_Occurred()) SWIG_fail;
21580 }
21581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21582 return resultobj;
21583 fail:
21584 return NULL;
21585 }
21586
21587
21588 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21589 PyObject *resultobj;
21590 wxPrinter *arg1 = (wxPrinter *) 0 ;
21591 PyObject * obj0 = 0 ;
21592 char *kwnames[] = {
21593 (char *) "self", NULL
21594 };
21595
21596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 delete arg1;
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 Py_INCREF(Py_None); resultobj = Py_None;
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPrinter *arg1 = (wxPrinter *) 0 ;
21616 wxWindow *arg2 = (wxWindow *) 0 ;
21617 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 PyObject * obj2 = 0 ;
21621 char *kwnames[] = {
21622 (char *) "self",(char *) "parent",(char *) "printout", NULL
21623 };
21624
21625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21630 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 (arg1)->CreateAbortWindow(arg2,arg3);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 Py_INCREF(Py_None); resultobj = Py_None;
21640 return resultobj;
21641 fail:
21642 return NULL;
21643 }
21644
21645
21646 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxPrinter *arg1 = (wxPrinter *) 0 ;
21649 wxPrintDialogData *result;
21650 PyObject * obj0 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21658 {
21659 PyThreadState* __tstate = wxPyBeginAllowThreads();
21660 {
21661 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21662 result = (wxPrintDialogData *) &_result_ref;
21663 }
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21669 return resultobj;
21670 fail:
21671 return NULL;
21672 }
21673
21674
21675 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxPrinter *arg1 = (wxPrinter *) 0 ;
21678 wxWindow *arg2 = (wxWindow *) 0 ;
21679 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21680 int arg4 = (int) True ;
21681 bool result;
21682 PyObject * obj0 = 0 ;
21683 PyObject * obj1 = 0 ;
21684 PyObject * obj2 = 0 ;
21685 PyObject * obj3 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21695 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21697 if (obj3) {
21698 arg4 = (int)SWIG_As_int(obj3);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
21708 {
21709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21710 }
21711 return resultobj;
21712 fail:
21713 return NULL;
21714 }
21715
21716
21717 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21718 PyObject *resultobj;
21719 wxPrinter *arg1 = (wxPrinter *) 0 ;
21720 wxWindow *arg2 = (wxWindow *) 0 ;
21721 wxDC *result;
21722 PyObject * obj0 = 0 ;
21723 PyObject * obj1 = 0 ;
21724 char *kwnames[] = {
21725 (char *) "self",(char *) "parent", NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21733 {
21734 PyThreadState* __tstate = wxPyBeginAllowThreads();
21735 result = (wxDC *)(arg1)->PrintDialog(arg2);
21736
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
21740 {
21741 resultobj = wxPyMake_wxObject(result, 0);
21742 }
21743 return resultobj;
21744 fail:
21745 return NULL;
21746 }
21747
21748
21749 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
21750 PyObject *resultobj;
21751 wxPrinter *arg1 = (wxPrinter *) 0 ;
21752 wxWindow *arg2 = (wxWindow *) 0 ;
21753 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21754 wxString *arg4 = 0 ;
21755 bool temp4 = False ;
21756 PyObject * obj0 = 0 ;
21757 PyObject * obj1 = 0 ;
21758 PyObject * obj2 = 0 ;
21759 PyObject * obj3 = 0 ;
21760 char *kwnames[] = {
21761 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21762 };
21763
21764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21769 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21771 {
21772 arg4 = wxString_in_helper(obj3);
21773 if (arg4 == NULL) SWIG_fail;
21774 temp4 = True;
21775 }
21776 {
21777 PyThreadState* __tstate = wxPyBeginAllowThreads();
21778 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21779
21780 wxPyEndAllowThreads(__tstate);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
21783 Py_INCREF(Py_None); resultobj = Py_None;
21784 {
21785 if (temp4)
21786 delete arg4;
21787 }
21788 return resultobj;
21789 fail:
21790 {
21791 if (temp4)
21792 delete arg4;
21793 }
21794 return NULL;
21795 }
21796
21797
21798 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
21799 PyObject *resultobj;
21800 wxPrinter *arg1 = (wxPrinter *) 0 ;
21801 wxWindow *arg2 = (wxWindow *) 0 ;
21802 bool result;
21803 PyObject * obj0 = 0 ;
21804 PyObject * obj1 = 0 ;
21805 char *kwnames[] = {
21806 (char *) "self",(char *) "parent", NULL
21807 };
21808
21809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 result = (bool)(arg1)->Setup(arg2);
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 {
21822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21823 }
21824 return resultobj;
21825 fail:
21826 return NULL;
21827 }
21828
21829
21830 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
21831 PyObject *resultobj;
21832 wxPrinter *arg1 = (wxPrinter *) 0 ;
21833 bool result;
21834 PyObject * obj0 = 0 ;
21835 char *kwnames[] = {
21836 (char *) "self", NULL
21837 };
21838
21839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21842 {
21843 PyThreadState* __tstate = wxPyBeginAllowThreads();
21844 result = (bool)(arg1)->GetAbort();
21845
21846 wxPyEndAllowThreads(__tstate);
21847 if (PyErr_Occurred()) SWIG_fail;
21848 }
21849 {
21850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21851 }
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj;
21860 int result;
21861 char *kwnames[] = {
21862 NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 result = (int)wxPrinter::GetLastError();
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 resultobj = SWIG_From_int((int)result);
21874 return resultobj;
21875 fail:
21876 return NULL;
21877 }
21878
21879
21880 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
21881 PyObject *obj;
21882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21883 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21884 Py_INCREF(obj);
21885 return Py_BuildValue((char *)"");
21886 }
21887 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
21888 PyObject *resultobj;
21889 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21890 wxString *arg1 = (wxString *) &arg1_defvalue ;
21891 wxPyPrintout *result;
21892 bool temp1 = False ;
21893 PyObject * obj0 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "title", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21899 if (obj0) {
21900 {
21901 arg1 = wxString_in_helper(obj0);
21902 if (arg1 == NULL) SWIG_fail;
21903 temp1 = True;
21904 }
21905 }
21906 {
21907 if (!wxPyCheckForApp()) SWIG_fail;
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 {
21915 resultobj = wxPyMake_wxObject(result, 1);
21916 }
21917 {
21918 if (temp1)
21919 delete arg1;
21920 }
21921 return resultobj;
21922 fail:
21923 {
21924 if (temp1)
21925 delete arg1;
21926 }
21927 return NULL;
21928 }
21929
21930
21931 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21932 PyObject *resultobj;
21933 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21934 PyObject *arg2 = (PyObject *) 0 ;
21935 PyObject *arg3 = (PyObject *) 0 ;
21936 PyObject * obj0 = 0 ;
21937 PyObject * obj1 = 0 ;
21938 PyObject * obj2 = 0 ;
21939 char *kwnames[] = {
21940 (char *) "self",(char *) "self",(char *) "_class", NULL
21941 };
21942
21943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21946 arg2 = obj1;
21947 arg3 = obj2;
21948 {
21949 PyThreadState* __tstate = wxPyBeginAllowThreads();
21950 (arg1)->_setCallbackInfo(arg2,arg3);
21951
21952 wxPyEndAllowThreads(__tstate);
21953 if (PyErr_Occurred()) SWIG_fail;
21954 }
21955 Py_INCREF(Py_None); resultobj = Py_None;
21956 return resultobj;
21957 fail:
21958 return NULL;
21959 }
21960
21961
21962 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
21963 PyObject *resultobj;
21964 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21965 wxString result;
21966 PyObject * obj0 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 result = ((wxPyPrintout const *)arg1)->GetTitle();
21977
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 {
21982 #if wxUSE_UNICODE
21983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21984 #else
21985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21986 #endif
21987 }
21988 return resultobj;
21989 fail:
21990 return NULL;
21991 }
21992
21993
21994 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj;
21996 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21997 wxDC *result;
21998 PyObject * obj0 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22006 {
22007 PyThreadState* __tstate = wxPyBeginAllowThreads();
22008 result = (wxDC *)(arg1)->GetDC();
22009
22010 wxPyEndAllowThreads(__tstate);
22011 if (PyErr_Occurred()) SWIG_fail;
22012 }
22013 {
22014 resultobj = wxPyMake_wxObject(result, 0);
22015 }
22016 return resultobj;
22017 fail:
22018 return NULL;
22019 }
22020
22021
22022 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22023 PyObject *resultobj;
22024 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22025 wxDC *arg2 = (wxDC *) 0 ;
22026 PyObject * obj0 = 0 ;
22027 PyObject * obj1 = 0 ;
22028 char *kwnames[] = {
22029 (char *) "self",(char *) "dc", NULL
22030 };
22031
22032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 (arg1)->SetDC(arg2);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 Py_INCREF(Py_None); resultobj = Py_None;
22045 return resultobj;
22046 fail:
22047 return NULL;
22048 }
22049
22050
22051 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj;
22053 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22054 int arg2 ;
22055 int arg3 ;
22056 PyObject * obj0 = 0 ;
22057 PyObject * obj1 = 0 ;
22058 PyObject * obj2 = 0 ;
22059 char *kwnames[] = {
22060 (char *) "self",(char *) "w",(char *) "h", NULL
22061 };
22062
22063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22066 arg2 = (int)SWIG_As_int(obj1);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 arg3 = (int)SWIG_As_int(obj2);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 {
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 (arg1)->SetPageSizePixels(arg2,arg3);
22073
22074 wxPyEndAllowThreads(__tstate);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 }
22077 Py_INCREF(Py_None); resultobj = Py_None;
22078 return resultobj;
22079 fail:
22080 return NULL;
22081 }
22082
22083
22084 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22085 PyObject *resultobj;
22086 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22087 int *arg2 = (int *) 0 ;
22088 int *arg3 = (int *) 0 ;
22089 int temp2 ;
22090 int res2 = 0 ;
22091 int temp3 ;
22092 int res3 = 0 ;
22093 PyObject * obj0 = 0 ;
22094 char *kwnames[] = {
22095 (char *) "self", NULL
22096 };
22097
22098 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22099 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 (arg1)->GetPageSizePixels(arg2,arg3);
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 Py_INCREF(Py_None); resultobj = Py_None;
22111 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22112 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22113 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22114 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22115 return resultobj;
22116 fail:
22117 return NULL;
22118 }
22119
22120
22121 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj;
22123 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22124 int arg2 ;
22125 int arg3 ;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 PyObject * obj2 = 0 ;
22129 char *kwnames[] = {
22130 (char *) "self",(char *) "w",(char *) "h", NULL
22131 };
22132
22133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22136 arg2 = (int)SWIG_As_int(obj1);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 arg3 = (int)SWIG_As_int(obj2);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 {
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 (arg1)->SetPageSizeMM(arg2,arg3);
22143
22144 wxPyEndAllowThreads(__tstate);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 }
22147 Py_INCREF(Py_None); resultobj = Py_None;
22148 return resultobj;
22149 fail:
22150 return NULL;
22151 }
22152
22153
22154 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22155 PyObject *resultobj;
22156 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22157 int *arg2 = (int *) 0 ;
22158 int *arg3 = (int *) 0 ;
22159 int temp2 ;
22160 int res2 = 0 ;
22161 int temp3 ;
22162 int res3 = 0 ;
22163 PyObject * obj0 = 0 ;
22164 char *kwnames[] = {
22165 (char *) "self", NULL
22166 };
22167
22168 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22169 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22173 {
22174 PyThreadState* __tstate = wxPyBeginAllowThreads();
22175 (arg1)->GetPageSizeMM(arg2,arg3);
22176
22177 wxPyEndAllowThreads(__tstate);
22178 if (PyErr_Occurred()) SWIG_fail;
22179 }
22180 Py_INCREF(Py_None); resultobj = Py_None;
22181 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22182 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22183 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22184 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22185 return resultobj;
22186 fail:
22187 return NULL;
22188 }
22189
22190
22191 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22192 PyObject *resultobj;
22193 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22194 int arg2 ;
22195 int arg3 ;
22196 PyObject * obj0 = 0 ;
22197 PyObject * obj1 = 0 ;
22198 PyObject * obj2 = 0 ;
22199 char *kwnames[] = {
22200 (char *) "self",(char *) "x",(char *) "y", NULL
22201 };
22202
22203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22206 arg2 = (int)SWIG_As_int(obj1);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 arg3 = (int)SWIG_As_int(obj2);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 (arg1)->SetPPIScreen(arg2,arg3);
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 Py_INCREF(Py_None); resultobj = Py_None;
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22227 int *arg2 = (int *) 0 ;
22228 int *arg3 = (int *) 0 ;
22229 int temp2 ;
22230 int res2 = 0 ;
22231 int temp3 ;
22232 int res3 = 0 ;
22233 PyObject * obj0 = 0 ;
22234 char *kwnames[] = {
22235 (char *) "self", NULL
22236 };
22237
22238 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22239 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 (arg1)->GetPPIScreen(arg2,arg3);
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 Py_INCREF(Py_None); resultobj = Py_None;
22251 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22252 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22253 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22254 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22255 return resultobj;
22256 fail:
22257 return NULL;
22258 }
22259
22260
22261 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22262 PyObject *resultobj;
22263 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22264 int arg2 ;
22265 int arg3 ;
22266 PyObject * obj0 = 0 ;
22267 PyObject * obj1 = 0 ;
22268 PyObject * obj2 = 0 ;
22269 char *kwnames[] = {
22270 (char *) "self",(char *) "x",(char *) "y", NULL
22271 };
22272
22273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22276 arg2 = (int)SWIG_As_int(obj1);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 arg3 = (int)SWIG_As_int(obj2);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 {
22281 PyThreadState* __tstate = wxPyBeginAllowThreads();
22282 (arg1)->SetPPIPrinter(arg2,arg3);
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 Py_INCREF(Py_None); resultobj = Py_None;
22288 return resultobj;
22289 fail:
22290 return NULL;
22291 }
22292
22293
22294 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj;
22296 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22297 int *arg2 = (int *) 0 ;
22298 int *arg3 = (int *) 0 ;
22299 int temp2 ;
22300 int res2 = 0 ;
22301 int temp3 ;
22302 int res3 = 0 ;
22303 PyObject * obj0 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self", NULL
22306 };
22307
22308 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22309 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 (arg1)->GetPPIPrinter(arg2,arg3);
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 Py_INCREF(Py_None); resultobj = Py_None;
22321 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22322 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22323 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22324 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22325 return resultobj;
22326 fail:
22327 return NULL;
22328 }
22329
22330
22331 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22332 PyObject *resultobj;
22333 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22334 bool result;
22335 PyObject * obj0 = 0 ;
22336 char *kwnames[] = {
22337 (char *) "self", NULL
22338 };
22339
22340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22343 {
22344 PyThreadState* __tstate = wxPyBeginAllowThreads();
22345 result = (bool)(arg1)->IsPreview();
22346
22347 wxPyEndAllowThreads(__tstate);
22348 if (PyErr_Occurred()) SWIG_fail;
22349 }
22350 {
22351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22352 }
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj;
22361 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22362 bool arg2 ;
22363 PyObject * obj0 = 0 ;
22364 PyObject * obj1 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self",(char *) "p", NULL
22367 };
22368
22369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22372 arg2 = (bool)SWIG_As_bool(obj1);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 (arg1)->SetIsPreview(arg2);
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 Py_INCREF(Py_None); resultobj = Py_None;
22382 return resultobj;
22383 fail:
22384 return NULL;
22385 }
22386
22387
22388 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22389 PyObject *resultobj;
22390 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22391 int arg2 ;
22392 int arg3 ;
22393 bool result;
22394 PyObject * obj0 = 0 ;
22395 PyObject * obj1 = 0 ;
22396 PyObject * obj2 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22399 };
22400
22401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22404 arg2 = (int)SWIG_As_int(obj1);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 arg3 = (int)SWIG_As_int(obj2);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 {
22416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22417 }
22418 return resultobj;
22419 fail:
22420 return NULL;
22421 }
22422
22423
22424 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj;
22426 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22427 PyObject * obj0 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 (arg1)->base_OnEndDocument();
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 Py_INCREF(Py_None); resultobj = Py_None;
22443 return resultobj;
22444 fail:
22445 return NULL;
22446 }
22447
22448
22449 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22450 PyObject *resultobj;
22451 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22452 PyObject * obj0 = 0 ;
22453 char *kwnames[] = {
22454 (char *) "self", NULL
22455 };
22456
22457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 (arg1)->base_OnBeginPrinting();
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 Py_INCREF(Py_None); resultobj = Py_None;
22468 return resultobj;
22469 fail:
22470 return NULL;
22471 }
22472
22473
22474 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22475 PyObject *resultobj;
22476 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22477 PyObject * obj0 = 0 ;
22478 char *kwnames[] = {
22479 (char *) "self", NULL
22480 };
22481
22482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22485 {
22486 PyThreadState* __tstate = wxPyBeginAllowThreads();
22487 (arg1)->base_OnEndPrinting();
22488
22489 wxPyEndAllowThreads(__tstate);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 Py_INCREF(Py_None); resultobj = Py_None;
22493 return resultobj;
22494 fail:
22495 return NULL;
22496 }
22497
22498
22499 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22500 PyObject *resultobj;
22501 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22502 PyObject * obj0 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22510 {
22511 PyThreadState* __tstate = wxPyBeginAllowThreads();
22512 (arg1)->base_OnPreparePrinting();
22513
22514 wxPyEndAllowThreads(__tstate);
22515 if (PyErr_Occurred()) SWIG_fail;
22516 }
22517 Py_INCREF(Py_None); resultobj = Py_None;
22518 return resultobj;
22519 fail:
22520 return NULL;
22521 }
22522
22523
22524 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
22525 PyObject *resultobj;
22526 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22527 int arg2 ;
22528 bool result;
22529 PyObject * obj0 = 0 ;
22530 PyObject * obj1 = 0 ;
22531 char *kwnames[] = {
22532 (char *) "self",(char *) "page", NULL
22533 };
22534
22535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22538 arg2 = (int)SWIG_As_int(obj1);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 {
22541 PyThreadState* __tstate = wxPyBeginAllowThreads();
22542 result = (bool)(arg1)->base_HasPage(arg2);
22543
22544 wxPyEndAllowThreads(__tstate);
22545 if (PyErr_Occurred()) SWIG_fail;
22546 }
22547 {
22548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22549 }
22550 return resultobj;
22551 fail:
22552 return NULL;
22553 }
22554
22555
22556 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22557 PyObject *resultobj;
22558 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22559 int *arg2 = (int *) 0 ;
22560 int *arg3 = (int *) 0 ;
22561 int *arg4 = (int *) 0 ;
22562 int *arg5 = (int *) 0 ;
22563 int temp2 ;
22564 int res2 = 0 ;
22565 int temp3 ;
22566 int res3 = 0 ;
22567 int temp4 ;
22568 int res4 = 0 ;
22569 int temp5 ;
22570 int res5 = 0 ;
22571 PyObject * obj0 = 0 ;
22572 char *kwnames[] = {
22573 (char *) "self", NULL
22574 };
22575
22576 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22577 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22578 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22579 arg5 = &temp5; res5 = SWIG_NEWOBJ;
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 Py_INCREF(Py_None); resultobj = Py_None;
22591 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22592 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22593 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22594 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22595 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22596 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22597 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22598 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
22599 return resultobj;
22600 fail:
22601 return NULL;
22602 }
22603
22604
22605 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
22606 PyObject *obj;
22607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22608 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22609 Py_INCREF(obj);
22610 return Py_BuildValue((char *)"");
22611 }
22612 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22613 PyObject *resultobj;
22614 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22615 wxWindow *arg2 = (wxWindow *) 0 ;
22616 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22617 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22618 wxSize const &arg4_defvalue = wxDefaultSize ;
22619 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22620 long arg5 = (long) 0 ;
22621 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22622 wxString *arg6 = (wxString *) &arg6_defvalue ;
22623 wxPreviewCanvas *result;
22624 wxPoint temp3 ;
22625 wxSize temp4 ;
22626 bool temp6 = False ;
22627 PyObject * obj0 = 0 ;
22628 PyObject * obj1 = 0 ;
22629 PyObject * obj2 = 0 ;
22630 PyObject * obj3 = 0 ;
22631 PyObject * obj4 = 0 ;
22632 PyObject * obj5 = 0 ;
22633 char *kwnames[] = {
22634 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22635 };
22636
22637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22642 if (obj2) {
22643 {
22644 arg3 = &temp3;
22645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22646 }
22647 }
22648 if (obj3) {
22649 {
22650 arg4 = &temp4;
22651 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22652 }
22653 }
22654 if (obj4) {
22655 arg5 = (long)SWIG_As_long(obj4);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 if (obj5) {
22659 {
22660 arg6 = wxString_in_helper(obj5);
22661 if (arg6 == NULL) SWIG_fail;
22662 temp6 = True;
22663 }
22664 }
22665 {
22666 if (!wxPyCheckForApp()) SWIG_fail;
22667 PyThreadState* __tstate = wxPyBeginAllowThreads();
22668 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22669
22670 wxPyEndAllowThreads(__tstate);
22671 if (PyErr_Occurred()) SWIG_fail;
22672 }
22673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22674 {
22675 if (temp6)
22676 delete arg6;
22677 }
22678 return resultobj;
22679 fail:
22680 {
22681 if (temp6)
22682 delete arg6;
22683 }
22684 return NULL;
22685 }
22686
22687
22688 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
22689 PyObject *obj;
22690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22691 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22692 Py_INCREF(obj);
22693 return Py_BuildValue((char *)"");
22694 }
22695 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj;
22697 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22698 wxFrame *arg2 = (wxFrame *) 0 ;
22699 wxString *arg3 = 0 ;
22700 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22701 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22702 wxSize const &arg5_defvalue = wxDefaultSize ;
22703 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22704 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22705 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22706 wxString *arg7 = (wxString *) &arg7_defvalue ;
22707 wxPreviewFrame *result;
22708 bool temp3 = False ;
22709 wxPoint temp4 ;
22710 wxSize temp5 ;
22711 bool temp7 = False ;
22712 PyObject * obj0 = 0 ;
22713 PyObject * obj1 = 0 ;
22714 PyObject * obj2 = 0 ;
22715 PyObject * obj3 = 0 ;
22716 PyObject * obj4 = 0 ;
22717 PyObject * obj5 = 0 ;
22718 PyObject * obj6 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22728 {
22729 arg3 = wxString_in_helper(obj2);
22730 if (arg3 == NULL) SWIG_fail;
22731 temp3 = True;
22732 }
22733 if (obj3) {
22734 {
22735 arg4 = &temp4;
22736 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22737 }
22738 }
22739 if (obj4) {
22740 {
22741 arg5 = &temp5;
22742 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22743 }
22744 }
22745 if (obj5) {
22746 arg6 = (long)SWIG_As_long(obj5);
22747 if (PyErr_Occurred()) SWIG_fail;
22748 }
22749 if (obj6) {
22750 {
22751 arg7 = wxString_in_helper(obj6);
22752 if (arg7 == NULL) SWIG_fail;
22753 temp7 = True;
22754 }
22755 }
22756 {
22757 if (!wxPyCheckForApp()) SWIG_fail;
22758 PyThreadState* __tstate = wxPyBeginAllowThreads();
22759 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22760
22761 wxPyEndAllowThreads(__tstate);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22765 {
22766 if (temp3)
22767 delete arg3;
22768 }
22769 {
22770 if (temp7)
22771 delete arg7;
22772 }
22773 return resultobj;
22774 fail:
22775 {
22776 if (temp3)
22777 delete arg3;
22778 }
22779 {
22780 if (temp7)
22781 delete arg7;
22782 }
22783 return NULL;
22784 }
22785
22786
22787 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
22788 PyObject *resultobj;
22789 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22790 PyObject * obj0 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 (arg1)->Initialize();
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 Py_INCREF(Py_None); resultobj = Py_None;
22806 return resultobj;
22807 fail:
22808 return NULL;
22809 }
22810
22811
22812 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22813 PyObject *resultobj;
22814 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22815 PyObject * obj0 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 (arg1)->CreateControlBar();
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 Py_INCREF(Py_None); resultobj = Py_None;
22831 return resultobj;
22832 fail:
22833 return NULL;
22834 }
22835
22836
22837 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22838 PyObject *resultobj;
22839 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22840 PyObject * obj0 = 0 ;
22841 char *kwnames[] = {
22842 (char *) "self", NULL
22843 };
22844
22845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22848 {
22849 PyThreadState* __tstate = wxPyBeginAllowThreads();
22850 (arg1)->CreateCanvas();
22851
22852 wxPyEndAllowThreads(__tstate);
22853 if (PyErr_Occurred()) SWIG_fail;
22854 }
22855 Py_INCREF(Py_None); resultobj = Py_None;
22856 return resultobj;
22857 fail:
22858 return NULL;
22859 }
22860
22861
22862 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22863 PyObject *resultobj;
22864 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22865 wxPreviewControlBar *result;
22866 PyObject * obj0 = 0 ;
22867 char *kwnames[] = {
22868 (char *) "self", NULL
22869 };
22870
22871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22877
22878 wxPyEndAllowThreads(__tstate);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 }
22881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22882 return resultobj;
22883 fail:
22884 return NULL;
22885 }
22886
22887
22888 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
22889 PyObject *obj;
22890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22891 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22892 Py_INCREF(obj);
22893 return Py_BuildValue((char *)"");
22894 }
22895 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj;
22897 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22898 long arg2 ;
22899 wxWindow *arg3 = (wxWindow *) 0 ;
22900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22902 wxSize const &arg5_defvalue = wxDefaultSize ;
22903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22904 long arg6 = (long) wxTAB_TRAVERSAL ;
22905 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22906 wxString *arg7 = (wxString *) &arg7_defvalue ;
22907 wxPreviewControlBar *result;
22908 wxPoint temp4 ;
22909 wxSize temp5 ;
22910 bool temp7 = False ;
22911 PyObject * obj0 = 0 ;
22912 PyObject * obj1 = 0 ;
22913 PyObject * obj2 = 0 ;
22914 PyObject * obj3 = 0 ;
22915 PyObject * obj4 = 0 ;
22916 PyObject * obj5 = 0 ;
22917 PyObject * obj6 = 0 ;
22918 char *kwnames[] = {
22919 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22920 };
22921
22922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22925 arg2 = (long)SWIG_As_long(obj1);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22929 if (obj3) {
22930 {
22931 arg4 = &temp4;
22932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22933 }
22934 }
22935 if (obj4) {
22936 {
22937 arg5 = &temp5;
22938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22939 }
22940 }
22941 if (obj5) {
22942 arg6 = (long)SWIG_As_long(obj5);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 if (obj6) {
22946 {
22947 arg7 = wxString_in_helper(obj6);
22948 if (arg7 == NULL) SWIG_fail;
22949 temp7 = True;
22950 }
22951 }
22952 {
22953 if (!wxPyCheckForApp()) SWIG_fail;
22954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22955 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22956
22957 wxPyEndAllowThreads(__tstate);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 }
22960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22961 {
22962 if (temp7)
22963 delete arg7;
22964 }
22965 return resultobj;
22966 fail:
22967 {
22968 if (temp7)
22969 delete arg7;
22970 }
22971 return NULL;
22972 }
22973
22974
22975 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22978 int result;
22979 PyObject * obj0 = 0 ;
22980 char *kwnames[] = {
22981 (char *) "self", NULL
22982 };
22983
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22987 {
22988 PyThreadState* __tstate = wxPyBeginAllowThreads();
22989 result = (int)(arg1)->GetZoomControl();
22990
22991 wxPyEndAllowThreads(__tstate);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 }
22994 resultobj = SWIG_From_int((int)result);
22995 return resultobj;
22996 fail:
22997 return NULL;
22998 }
22999
23000
23001 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23002 PyObject *resultobj;
23003 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23004 int arg2 ;
23005 PyObject * obj0 = 0 ;
23006 PyObject * obj1 = 0 ;
23007 char *kwnames[] = {
23008 (char *) "self",(char *) "zoom", NULL
23009 };
23010
23011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23014 arg2 = (int)SWIG_As_int(obj1);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 {
23017 PyThreadState* __tstate = wxPyBeginAllowThreads();
23018 (arg1)->SetZoomControl(arg2);
23019
23020 wxPyEndAllowThreads(__tstate);
23021 if (PyErr_Occurred()) SWIG_fail;
23022 }
23023 Py_INCREF(Py_None); resultobj = Py_None;
23024 return resultobj;
23025 fail:
23026 return NULL;
23027 }
23028
23029
23030 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23031 PyObject *resultobj;
23032 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23033 wxPrintPreview *result;
23034 PyObject * obj0 = 0 ;
23035 char *kwnames[] = {
23036 (char *) "self", NULL
23037 };
23038
23039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23042 {
23043 PyThreadState* __tstate = wxPyBeginAllowThreads();
23044 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23045
23046 wxPyEndAllowThreads(__tstate);
23047 if (PyErr_Occurred()) SWIG_fail;
23048 }
23049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23050 return resultobj;
23051 fail:
23052 return NULL;
23053 }
23054
23055
23056 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23057 PyObject *resultobj;
23058 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23059 PyObject * obj0 = 0 ;
23060 char *kwnames[] = {
23061 (char *) "self", NULL
23062 };
23063
23064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 (arg1)->OnNext();
23070
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
23074 Py_INCREF(Py_None); resultobj = Py_None;
23075 return resultobj;
23076 fail:
23077 return NULL;
23078 }
23079
23080
23081 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj;
23083 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23084 PyObject * obj0 = 0 ;
23085 char *kwnames[] = {
23086 (char *) "self", NULL
23087 };
23088
23089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 (arg1)->OnPrevious();
23095
23096 wxPyEndAllowThreads(__tstate);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 }
23099 Py_INCREF(Py_None); resultobj = Py_None;
23100 return resultobj;
23101 fail:
23102 return NULL;
23103 }
23104
23105
23106 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23107 PyObject *resultobj;
23108 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23109 PyObject * obj0 = 0 ;
23110 char *kwnames[] = {
23111 (char *) "self", NULL
23112 };
23113
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23117 {
23118 PyThreadState* __tstate = wxPyBeginAllowThreads();
23119 (arg1)->OnFirst();
23120
23121 wxPyEndAllowThreads(__tstate);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 }
23124 Py_INCREF(Py_None); resultobj = Py_None;
23125 return resultobj;
23126 fail:
23127 return NULL;
23128 }
23129
23130
23131 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23132 PyObject *resultobj;
23133 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23134 PyObject * obj0 = 0 ;
23135 char *kwnames[] = {
23136 (char *) "self", NULL
23137 };
23138
23139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 (arg1)->OnLast();
23145
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 Py_INCREF(Py_None); resultobj = Py_None;
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23157 PyObject *resultobj;
23158 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23159 PyObject * obj0 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 (arg1)->OnGoto();
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 Py_INCREF(Py_None); resultobj = Py_None;
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23182 PyObject *obj;
23183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23184 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23185 Py_INCREF(obj);
23186 return Py_BuildValue((char *)"");
23187 }
23188 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23189 PyObject *resultobj;
23190 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23191 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23192 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23193 wxPrintPreview *result;
23194 PyObject * obj0 = 0 ;
23195 PyObject * obj1 = 0 ;
23196 PyObject * obj2 = 0 ;
23197
23198 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23203 if (obj2) {
23204 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23206 }
23207 {
23208 if (!wxPyCheckForApp()) SWIG_fail;
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23211
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23223 PyObject *resultobj;
23224 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23225 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23226 wxPrintData *arg3 = (wxPrintData *) 0 ;
23227 wxPrintPreview *result;
23228 PyObject * obj0 = 0 ;
23229 PyObject * obj1 = 0 ;
23230 PyObject * obj2 = 0 ;
23231
23232 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23237 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23239 {
23240 if (!wxPyCheckForApp()) SWIG_fail;
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23255 int argc;
23256 PyObject *argv[4];
23257 int ii;
23258
23259 argc = PyObject_Length(args);
23260 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23261 argv[ii] = PyTuple_GetItem(args,ii);
23262 }
23263 if ((argc >= 2) && (argc <= 3)) {
23264 int _v;
23265 {
23266 void *ptr;
23267 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23268 _v = 0;
23269 PyErr_Clear();
23270 } else {
23271 _v = 1;
23272 }
23273 }
23274 if (_v) {
23275 {
23276 void *ptr;
23277 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23278 _v = 0;
23279 PyErr_Clear();
23280 } else {
23281 _v = 1;
23282 }
23283 }
23284 if (_v) {
23285 if (argc <= 2) {
23286 return _wrap_new_PrintPreview__SWIG_0(self,args);
23287 }
23288 {
23289 void *ptr;
23290 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23291 _v = 0;
23292 PyErr_Clear();
23293 } else {
23294 _v = 1;
23295 }
23296 }
23297 if (_v) {
23298 return _wrap_new_PrintPreview__SWIG_0(self,args);
23299 }
23300 }
23301 }
23302 }
23303 if (argc == 3) {
23304 int _v;
23305 {
23306 void *ptr;
23307 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23308 _v = 0;
23309 PyErr_Clear();
23310 } else {
23311 _v = 1;
23312 }
23313 }
23314 if (_v) {
23315 {
23316 void *ptr;
23317 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23318 _v = 0;
23319 PyErr_Clear();
23320 } else {
23321 _v = 1;
23322 }
23323 }
23324 if (_v) {
23325 {
23326 void *ptr;
23327 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23328 _v = 0;
23329 PyErr_Clear();
23330 } else {
23331 _v = 1;
23332 }
23333 }
23334 if (_v) {
23335 return _wrap_new_PrintPreview__SWIG_1(self,args);
23336 }
23337 }
23338 }
23339 }
23340
23341 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23342 return NULL;
23343 }
23344
23345
23346 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23347 PyObject *resultobj;
23348 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23349 int arg2 ;
23350 bool result;
23351 PyObject * obj0 = 0 ;
23352 PyObject * obj1 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "self",(char *) "pageNum", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23360 arg2 = (int)SWIG_As_int(obj1);
23361 if (PyErr_Occurred()) SWIG_fail;
23362 {
23363 PyThreadState* __tstate = wxPyBeginAllowThreads();
23364 result = (bool)(arg1)->SetCurrentPage(arg2);
23365
23366 wxPyEndAllowThreads(__tstate);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 {
23370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23371 }
23372 return resultobj;
23373 fail:
23374 return NULL;
23375 }
23376
23377
23378 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23379 PyObject *resultobj;
23380 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23381 int result;
23382 PyObject * obj0 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 result = (int)(arg1)->GetCurrentPage();
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 resultobj = SWIG_From_int((int)result);
23398 return resultobj;
23399 fail:
23400 return NULL;
23401 }
23402
23403
23404 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj;
23406 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23407 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23408 PyObject * obj0 = 0 ;
23409 PyObject * obj1 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self",(char *) "printout", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 (arg1)->SetPrintout(arg2);
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
23425 }
23426 Py_INCREF(Py_None); resultobj = Py_None;
23427 return resultobj;
23428 fail:
23429 return NULL;
23430 }
23431
23432
23433 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj;
23435 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23436 wxPyPrintout *result;
23437 PyObject * obj0 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 result = (wxPyPrintout *)(arg1)->GetPrintout();
23448
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
23452 {
23453 resultobj = wxPyMake_wxObject(result, 0);
23454 }
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj;
23463 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23464 wxPyPrintout *result;
23465 PyObject * obj0 = 0 ;
23466 char *kwnames[] = {
23467 (char *) "self", NULL
23468 };
23469
23470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 {
23481 resultobj = wxPyMake_wxObject(result, 0);
23482 }
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj;
23491 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23492 wxFrame *arg2 = (wxFrame *) 0 ;
23493 PyObject * obj0 = 0 ;
23494 PyObject * obj1 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "frame", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 (arg1)->SetFrame(arg2);
23507
23508 wxPyEndAllowThreads(__tstate);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
23511 Py_INCREF(Py_None); resultobj = Py_None;
23512 return resultobj;
23513 fail:
23514 return NULL;
23515 }
23516
23517
23518 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23519 PyObject *resultobj;
23520 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23521 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23522 PyObject * obj0 = 0 ;
23523 PyObject * obj1 = 0 ;
23524 char *kwnames[] = {
23525 (char *) "self",(char *) "canvas", NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 (arg1)->SetCanvas(arg2);
23536
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 Py_INCREF(Py_None); resultobj = Py_None;
23541 return resultobj;
23542 fail:
23543 return NULL;
23544 }
23545
23546
23547 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23548 PyObject *resultobj;
23549 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23550 wxFrame *result;
23551 PyObject * obj0 = 0 ;
23552 char *kwnames[] = {
23553 (char *) "self", NULL
23554 };
23555
23556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 result = (wxFrame *)(arg1)->GetFrame();
23562
23563 wxPyEndAllowThreads(__tstate);
23564 if (PyErr_Occurred()) SWIG_fail;
23565 }
23566 {
23567 resultobj = wxPyMake_wxObject(result, 0);
23568 }
23569 return resultobj;
23570 fail:
23571 return NULL;
23572 }
23573
23574
23575 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23576 PyObject *resultobj;
23577 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23578 wxPreviewCanvas *result;
23579 PyObject * obj0 = 0 ;
23580 char *kwnames[] = {
23581 (char *) "self", NULL
23582 };
23583
23584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj;
23603 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23604 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23605 wxDC *arg3 = 0 ;
23606 bool result;
23607 PyObject * obj0 = 0 ;
23608 PyObject * obj1 = 0 ;
23609 PyObject * obj2 = 0 ;
23610 char *kwnames[] = {
23611 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23612 };
23613
23614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23619 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23620 SWIG_POINTER_EXCEPTION | 0)) == -1)
23621 SWIG_fail;
23622 if (arg3 == NULL) {
23623 PyErr_SetString(PyExc_TypeError,"null reference");
23624 SWIG_fail;
23625 }
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 {
23634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23635 }
23636 return resultobj;
23637 fail:
23638 return NULL;
23639 }
23640
23641
23642 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23643 PyObject *resultobj;
23644 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23645 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23646 wxDC *arg3 = 0 ;
23647 bool result;
23648 PyObject * obj0 = 0 ;
23649 PyObject * obj1 = 0 ;
23650 PyObject * obj2 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23660 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23661 SWIG_POINTER_EXCEPTION | 0)) == -1)
23662 SWIG_fail;
23663 if (arg3 == NULL) {
23664 PyErr_SetString(PyExc_TypeError,"null reference");
23665 SWIG_fail;
23666 }
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 {
23675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23676 }
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23686 int arg2 ;
23687 bool result;
23688 PyObject * obj0 = 0 ;
23689 PyObject * obj1 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self",(char *) "pageNum", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23697 arg2 = (int)SWIG_As_int(obj1);
23698 if (PyErr_Occurred()) SWIG_fail;
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 result = (bool)(arg1)->RenderPage(arg2);
23702
23703 wxPyEndAllowThreads(__tstate);
23704 if (PyErr_Occurred()) SWIG_fail;
23705 }
23706 {
23707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23708 }
23709 return resultobj;
23710 fail:
23711 return NULL;
23712 }
23713
23714
23715 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
23716 PyObject *resultobj;
23717 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23718 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self",(char *) "canvas", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 (arg1)->AdjustScrollbars(arg2);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 Py_INCREF(Py_None); resultobj = Py_None;
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23747 wxPrintDialogData *result;
23748 PyObject * obj0 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 {
23759 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23760 result = (wxPrintDialogData *) &_result_ref;
23761 }
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23767 return resultobj;
23768 fail:
23769 return NULL;
23770 }
23771
23772
23773 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23776 int arg2 ;
23777 PyObject * obj0 = 0 ;
23778 PyObject * obj1 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self",(char *) "percent", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23786 arg2 = (int)SWIG_As_int(obj1);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 (arg1)->SetZoom(arg2);
23791
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 Py_INCREF(Py_None); resultobj = Py_None;
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
23803 PyObject *resultobj;
23804 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23805 int result;
23806 PyObject * obj0 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 result = (int)(arg1)->GetZoom();
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 resultobj = SWIG_From_int((int)result);
23822 return resultobj;
23823 fail:
23824 return NULL;
23825 }
23826
23827
23828 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23831 int result;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (int)(arg1)->GetMaxPage();
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 resultobj = SWIG_From_int((int)result);
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj;
23856 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23857 int result;
23858 PyObject * obj0 = 0 ;
23859 char *kwnames[] = {
23860 (char *) "self", NULL
23861 };
23862
23863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23866 {
23867 PyThreadState* __tstate = wxPyBeginAllowThreads();
23868 result = (int)(arg1)->GetMinPage();
23869
23870 wxPyEndAllowThreads(__tstate);
23871 if (PyErr_Occurred()) SWIG_fail;
23872 }
23873 resultobj = SWIG_From_int((int)result);
23874 return resultobj;
23875 fail:
23876 return NULL;
23877 }
23878
23879
23880 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23881 PyObject *resultobj;
23882 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23883 bool result;
23884 PyObject * obj0 = 0 ;
23885 char *kwnames[] = {
23886 (char *) "self", NULL
23887 };
23888
23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 result = (bool)(arg1)->Ok();
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 {
23900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23901 }
23902 return resultobj;
23903 fail:
23904 return NULL;
23905 }
23906
23907
23908 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
23909 PyObject *resultobj;
23910 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23911 bool arg2 ;
23912 PyObject * obj0 = 0 ;
23913 PyObject * obj1 = 0 ;
23914 char *kwnames[] = {
23915 (char *) "self",(char *) "ok", NULL
23916 };
23917
23918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23921 arg2 = (bool)SWIG_As_bool(obj1);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 (arg1)->SetOk(arg2);
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 Py_INCREF(Py_None); resultobj = Py_None;
23931 return resultobj;
23932 fail:
23933 return NULL;
23934 }
23935
23936
23937 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
23938 PyObject *resultobj;
23939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23940 bool arg2 ;
23941 bool result;
23942 PyObject * obj0 = 0 ;
23943 PyObject * obj1 = 0 ;
23944 char *kwnames[] = {
23945 (char *) "self",(char *) "interactive", NULL
23946 };
23947
23948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23951 arg2 = (bool)SWIG_As_bool(obj1);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 result = (bool)(arg1)->Print(arg2);
23956
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 {
23961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23962 }
23963 return resultobj;
23964 fail:
23965 return NULL;
23966 }
23967
23968
23969 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj;
23971 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23972 PyObject * obj0 = 0 ;
23973 char *kwnames[] = {
23974 (char *) "self", NULL
23975 };
23976
23977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 (arg1)->DetermineScaling();
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 Py_INCREF(Py_None); resultobj = Py_None;
23988 return resultobj;
23989 fail:
23990 return NULL;
23991 }
23992
23993
23994 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
23995 PyObject *obj;
23996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23997 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23998 Py_INCREF(obj);
23999 return Py_BuildValue((char *)"");
24000 }
24001 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24002 PyObject *resultobj;
24003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24004 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24005 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24006 wxPyPrintPreview *result;
24007 PyObject * obj0 = 0 ;
24008 PyObject * obj1 = 0 ;
24009 PyObject * obj2 = 0 ;
24010
24011 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24016 if (obj2) {
24017 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24019 }
24020 {
24021 if (!wxPyCheckForApp()) SWIG_fail;
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24036 PyObject *resultobj;
24037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24038 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24039 wxPrintData *arg3 = (wxPrintData *) 0 ;
24040 wxPyPrintPreview *result;
24041 PyObject * obj0 = 0 ;
24042 PyObject * obj1 = 0 ;
24043 PyObject * obj2 = 0 ;
24044
24045 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24050 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24052 {
24053 if (!wxPyCheckForApp()) SWIG_fail;
24054 PyThreadState* __tstate = wxPyBeginAllowThreads();
24055 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24056
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
24060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24061 return resultobj;
24062 fail:
24063 return NULL;
24064 }
24065
24066
24067 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24068 int argc;
24069 PyObject *argv[4];
24070 int ii;
24071
24072 argc = PyObject_Length(args);
24073 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24074 argv[ii] = PyTuple_GetItem(args,ii);
24075 }
24076 if ((argc >= 2) && (argc <= 3)) {
24077 int _v;
24078 {
24079 void *ptr;
24080 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24081 _v = 0;
24082 PyErr_Clear();
24083 } else {
24084 _v = 1;
24085 }
24086 }
24087 if (_v) {
24088 {
24089 void *ptr;
24090 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24091 _v = 0;
24092 PyErr_Clear();
24093 } else {
24094 _v = 1;
24095 }
24096 }
24097 if (_v) {
24098 if (argc <= 2) {
24099 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24100 }
24101 {
24102 void *ptr;
24103 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24104 _v = 0;
24105 PyErr_Clear();
24106 } else {
24107 _v = 1;
24108 }
24109 }
24110 if (_v) {
24111 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24112 }
24113 }
24114 }
24115 }
24116 if (argc == 3) {
24117 int _v;
24118 {
24119 void *ptr;
24120 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24121 _v = 0;
24122 PyErr_Clear();
24123 } else {
24124 _v = 1;
24125 }
24126 }
24127 if (_v) {
24128 {
24129 void *ptr;
24130 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24131 _v = 0;
24132 PyErr_Clear();
24133 } else {
24134 _v = 1;
24135 }
24136 }
24137 if (_v) {
24138 {
24139 void *ptr;
24140 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24141 _v = 0;
24142 PyErr_Clear();
24143 } else {
24144 _v = 1;
24145 }
24146 }
24147 if (_v) {
24148 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24149 }
24150 }
24151 }
24152 }
24153
24154 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24162 PyObject *arg2 = (PyObject *) 0 ;
24163 PyObject *arg3 = (PyObject *) 0 ;
24164 PyObject * obj0 = 0 ;
24165 PyObject * obj1 = 0 ;
24166 PyObject * obj2 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "self",(char *) "_class", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 arg2 = obj1;
24175 arg3 = obj2;
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 (arg1)->_setCallbackInfo(arg2,arg3);
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 Py_INCREF(Py_None); resultobj = Py_None;
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24193 int arg2 ;
24194 bool result;
24195 PyObject * obj0 = 0 ;
24196 PyObject * obj1 = 0 ;
24197 char *kwnames[] = {
24198 (char *) "self",(char *) "pageNum", NULL
24199 };
24200
24201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24204 arg2 = (int)SWIG_As_int(obj1);
24205 if (PyErr_Occurred()) SWIG_fail;
24206 {
24207 PyThreadState* __tstate = wxPyBeginAllowThreads();
24208 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24209
24210 wxPyEndAllowThreads(__tstate);
24211 if (PyErr_Occurred()) SWIG_fail;
24212 }
24213 {
24214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24215 }
24216 return resultobj;
24217 fail:
24218 return NULL;
24219 }
24220
24221
24222 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24223 PyObject *resultobj;
24224 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24225 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24226 wxDC *arg3 = 0 ;
24227 bool result;
24228 PyObject * obj0 = 0 ;
24229 PyObject * obj1 = 0 ;
24230 PyObject * obj2 = 0 ;
24231 char *kwnames[] = {
24232 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24233 };
24234
24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24240 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24241 SWIG_POINTER_EXCEPTION | 0)) == -1)
24242 SWIG_fail;
24243 if (arg3 == NULL) {
24244 PyErr_SetString(PyExc_TypeError,"null reference");
24245 SWIG_fail;
24246 }
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 {
24255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24256 }
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj;
24265 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24266 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24267 wxDC *arg3 = 0 ;
24268 bool result;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 PyObject * obj2 = 0 ;
24272 char *kwnames[] = {
24273 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24274 };
24275
24276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24281 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24282 SWIG_POINTER_EXCEPTION | 0)) == -1)
24283 SWIG_fail;
24284 if (arg3 == NULL) {
24285 PyErr_SetString(PyExc_TypeError,"null reference");
24286 SWIG_fail;
24287 }
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 {
24296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24297 }
24298 return resultobj;
24299 fail:
24300 return NULL;
24301 }
24302
24303
24304 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24307 int arg2 ;
24308 bool result;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 char *kwnames[] = {
24312 (char *) "self",(char *) "pageNum", NULL
24313 };
24314
24315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24318 arg2 = (int)SWIG_As_int(obj1);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 {
24321 PyThreadState* __tstate = wxPyBeginAllowThreads();
24322 result = (bool)(arg1)->base_RenderPage(arg2);
24323
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 {
24328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24329 }
24330 return resultobj;
24331 fail:
24332 return NULL;
24333 }
24334
24335
24336 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24337 PyObject *resultobj;
24338 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24339 int arg2 ;
24340 PyObject * obj0 = 0 ;
24341 PyObject * obj1 = 0 ;
24342 char *kwnames[] = {
24343 (char *) "self",(char *) "percent", NULL
24344 };
24345
24346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24349 arg2 = (int)SWIG_As_int(obj1);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 (arg1)->base_SetZoom(arg2);
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 Py_INCREF(Py_None); resultobj = Py_None;
24359 return resultobj;
24360 fail:
24361 return NULL;
24362 }
24363
24364
24365 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj;
24367 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24368 bool arg2 ;
24369 bool result;
24370 PyObject * obj0 = 0 ;
24371 PyObject * obj1 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self",(char *) "interactive", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24379 arg2 = (bool)SWIG_As_bool(obj1);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 result = (bool)(arg1)->base_Print(arg2);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 {
24389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24390 }
24391 return resultobj;
24392 fail:
24393 return NULL;
24394 }
24395
24396
24397 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24398 PyObject *resultobj;
24399 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24400 PyObject * obj0 = 0 ;
24401 char *kwnames[] = {
24402 (char *) "self", NULL
24403 };
24404
24405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 (arg1)->base_DetermineScaling();
24411
24412 wxPyEndAllowThreads(__tstate);
24413 if (PyErr_Occurred()) SWIG_fail;
24414 }
24415 Py_INCREF(Py_None); resultobj = Py_None;
24416 return resultobj;
24417 fail:
24418 return NULL;
24419 }
24420
24421
24422 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24423 PyObject *obj;
24424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24425 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24426 Py_INCREF(obj);
24427 return Py_BuildValue((char *)"");
24428 }
24429 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24432 wxFrame *arg2 = (wxFrame *) 0 ;
24433 wxString *arg3 = 0 ;
24434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24436 wxSize const &arg5_defvalue = wxDefaultSize ;
24437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24438 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24439 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24440 wxString *arg7 = (wxString *) &arg7_defvalue ;
24441 wxPyPreviewFrame *result;
24442 bool temp3 = False ;
24443 wxPoint temp4 ;
24444 wxSize temp5 ;
24445 bool temp7 = False ;
24446 PyObject * obj0 = 0 ;
24447 PyObject * obj1 = 0 ;
24448 PyObject * obj2 = 0 ;
24449 PyObject * obj3 = 0 ;
24450 PyObject * obj4 = 0 ;
24451 PyObject * obj5 = 0 ;
24452 PyObject * obj6 = 0 ;
24453 char *kwnames[] = {
24454 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24455 };
24456
24457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24462 {
24463 arg3 = wxString_in_helper(obj2);
24464 if (arg3 == NULL) SWIG_fail;
24465 temp3 = True;
24466 }
24467 if (obj3) {
24468 {
24469 arg4 = &temp4;
24470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24471 }
24472 }
24473 if (obj4) {
24474 {
24475 arg5 = &temp5;
24476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24477 }
24478 }
24479 if (obj5) {
24480 arg6 = (long)SWIG_As_long(obj5);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 if (obj6) {
24484 {
24485 arg7 = wxString_in_helper(obj6);
24486 if (arg7 == NULL) SWIG_fail;
24487 temp7 = True;
24488 }
24489 }
24490 {
24491 if (!wxPyCheckForApp()) SWIG_fail;
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24494
24495 wxPyEndAllowThreads(__tstate);
24496 if (PyErr_Occurred()) SWIG_fail;
24497 }
24498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24499 {
24500 if (temp3)
24501 delete arg3;
24502 }
24503 {
24504 if (temp7)
24505 delete arg7;
24506 }
24507 return resultobj;
24508 fail:
24509 {
24510 if (temp3)
24511 delete arg3;
24512 }
24513 {
24514 if (temp7)
24515 delete arg7;
24516 }
24517 return NULL;
24518 }
24519
24520
24521 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24522 PyObject *resultobj;
24523 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24524 PyObject *arg2 = (PyObject *) 0 ;
24525 PyObject *arg3 = (PyObject *) 0 ;
24526 PyObject * obj0 = 0 ;
24527 PyObject * obj1 = 0 ;
24528 PyObject * obj2 = 0 ;
24529 char *kwnames[] = {
24530 (char *) "self",(char *) "self",(char *) "_class", NULL
24531 };
24532
24533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24536 arg2 = obj1;
24537 arg3 = obj2;
24538 {
24539 PyThreadState* __tstate = wxPyBeginAllowThreads();
24540 (arg1)->_setCallbackInfo(arg2,arg3);
24541
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 Py_INCREF(Py_None); resultobj = Py_None;
24546 return resultobj;
24547 fail:
24548 return NULL;
24549 }
24550
24551
24552 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24555 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24556 PyObject * obj0 = 0 ;
24557 PyObject * obj1 = 0 ;
24558 char *kwnames[] = {
24559 (char *) "self",(char *) "canvas", NULL
24560 };
24561
24562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->SetPreviewCanvas(arg2);
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 Py_INCREF(Py_None); resultobj = Py_None;
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24584 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24585 PyObject * obj0 = 0 ;
24586 PyObject * obj1 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "bar", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 (arg1)->SetControlBar(arg2);
24599
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 Py_INCREF(Py_None); resultobj = Py_None;
24604 return resultobj;
24605 fail:
24606 return NULL;
24607 }
24608
24609
24610 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
24611 PyObject *resultobj;
24612 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24613 PyObject * obj0 = 0 ;
24614 char *kwnames[] = {
24615 (char *) "self", NULL
24616 };
24617
24618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 (arg1)->base_Initialize();
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
24628 Py_INCREF(Py_None); resultobj = Py_None;
24629 return resultobj;
24630 fail:
24631 return NULL;
24632 }
24633
24634
24635 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24636 PyObject *resultobj;
24637 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24638 PyObject * obj0 = 0 ;
24639 char *kwnames[] = {
24640 (char *) "self", NULL
24641 };
24642
24643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 (arg1)->base_CreateCanvas();
24649
24650 wxPyEndAllowThreads(__tstate);
24651 if (PyErr_Occurred()) SWIG_fail;
24652 }
24653 Py_INCREF(Py_None); resultobj = Py_None;
24654 return resultobj;
24655 fail:
24656 return NULL;
24657 }
24658
24659
24660 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24661 PyObject *resultobj;
24662 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24663 PyObject * obj0 = 0 ;
24664 char *kwnames[] = {
24665 (char *) "self", NULL
24666 };
24667
24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24671 {
24672 PyThreadState* __tstate = wxPyBeginAllowThreads();
24673 (arg1)->base_CreateControlBar();
24674
24675 wxPyEndAllowThreads(__tstate);
24676 if (PyErr_Occurred()) SWIG_fail;
24677 }
24678 Py_INCREF(Py_None); resultobj = Py_None;
24679 return resultobj;
24680 fail:
24681 return NULL;
24682 }
24683
24684
24685 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
24686 PyObject *obj;
24687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24688 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24689 Py_INCREF(obj);
24690 return Py_BuildValue((char *)"");
24691 }
24692 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24693 PyObject *resultobj;
24694 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24695 long arg2 ;
24696 wxWindow *arg3 = (wxWindow *) 0 ;
24697 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24698 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24699 wxSize const &arg5_defvalue = wxDefaultSize ;
24700 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24701 long arg6 = (long) 0 ;
24702 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24703 wxString *arg7 = (wxString *) &arg7_defvalue ;
24704 wxPyPreviewControlBar *result;
24705 wxPoint temp4 ;
24706 wxSize temp5 ;
24707 bool temp7 = False ;
24708 PyObject * obj0 = 0 ;
24709 PyObject * obj1 = 0 ;
24710 PyObject * obj2 = 0 ;
24711 PyObject * obj3 = 0 ;
24712 PyObject * obj4 = 0 ;
24713 PyObject * obj5 = 0 ;
24714 PyObject * obj6 = 0 ;
24715 char *kwnames[] = {
24716 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24717 };
24718
24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24722 arg2 = (long)SWIG_As_long(obj1);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24726 if (obj3) {
24727 {
24728 arg4 = &temp4;
24729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24730 }
24731 }
24732 if (obj4) {
24733 {
24734 arg5 = &temp5;
24735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24736 }
24737 }
24738 if (obj5) {
24739 arg6 = (long)SWIG_As_long(obj5);
24740 if (PyErr_Occurred()) SWIG_fail;
24741 }
24742 if (obj6) {
24743 {
24744 arg7 = wxString_in_helper(obj6);
24745 if (arg7 == NULL) SWIG_fail;
24746 temp7 = True;
24747 }
24748 }
24749 {
24750 if (!wxPyCheckForApp()) SWIG_fail;
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24758 {
24759 if (temp7)
24760 delete arg7;
24761 }
24762 return resultobj;
24763 fail:
24764 {
24765 if (temp7)
24766 delete arg7;
24767 }
24768 return NULL;
24769 }
24770
24771
24772 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24773 PyObject *resultobj;
24774 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24775 PyObject *arg2 = (PyObject *) 0 ;
24776 PyObject *arg3 = (PyObject *) 0 ;
24777 PyObject * obj0 = 0 ;
24778 PyObject * obj1 = 0 ;
24779 PyObject * obj2 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self",(char *) "self",(char *) "_class", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24787 arg2 = obj1;
24788 arg3 = obj2;
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 (arg1)->_setCallbackInfo(arg2,arg3);
24792
24793 wxPyEndAllowThreads(__tstate);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 Py_INCREF(Py_None); resultobj = Py_None;
24797 return resultobj;
24798 fail:
24799 return NULL;
24800 }
24801
24802
24803 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24804 PyObject *resultobj;
24805 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24806 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24807 PyObject * obj0 = 0 ;
24808 PyObject * obj1 = 0 ;
24809 char *kwnames[] = {
24810 (char *) "self",(char *) "preview", NULL
24811 };
24812
24813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 (arg1)->SetPrintPreview(arg2);
24821
24822 wxPyEndAllowThreads(__tstate);
24823 if (PyErr_Occurred()) SWIG_fail;
24824 }
24825 Py_INCREF(Py_None); resultobj = Py_None;
24826 return resultobj;
24827 fail:
24828 return NULL;
24829 }
24830
24831
24832 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
24833 PyObject *resultobj;
24834 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24835 PyObject * obj0 = 0 ;
24836 char *kwnames[] = {
24837 (char *) "self", NULL
24838 };
24839
24840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 (arg1)->base_CreateButtons();
24846
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 Py_INCREF(Py_None); resultobj = Py_None;
24851 return resultobj;
24852 fail:
24853 return NULL;
24854 }
24855
24856
24857 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24860 int arg2 ;
24861 PyObject * obj0 = 0 ;
24862 PyObject * obj1 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self",(char *) "zoom", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24870 arg2 = (int)SWIG_As_int(obj1);
24871 if (PyErr_Occurred()) SWIG_fail;
24872 {
24873 PyThreadState* __tstate = wxPyBeginAllowThreads();
24874 (arg1)->base_SetZoomControl(arg2);
24875
24876 wxPyEndAllowThreads(__tstate);
24877 if (PyErr_Occurred()) SWIG_fail;
24878 }
24879 Py_INCREF(Py_None); resultobj = Py_None;
24880 return resultobj;
24881 fail:
24882 return NULL;
24883 }
24884
24885
24886 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
24887 PyObject *obj;
24888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24889 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24890 Py_INCREF(obj);
24891 return Py_BuildValue((char *)"");
24892 }
24893 static PyMethodDef SwigMethods[] = {
24894 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
24895 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
24896 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24897 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24898 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
24899 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
24900 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24901 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24902 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24903 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
24904 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
24905 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
24906 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
24907 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
24908 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
24909 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
24910 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
24911 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
24912 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
24913 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
24914 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
24915 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
24916 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
24917 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
24918 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24919 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24920 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24921 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24922 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
24923 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
24924 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
24925 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
24926 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
24927 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
24928 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
24929 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
24930 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24931 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24932 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
24933 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24934 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24935 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24936 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24937 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
24938 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
24939 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
24940 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
24941 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
24942 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
24943 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24944 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24945 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
24946 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24947 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24948 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24949 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24950 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24951 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24952 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24953 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24954 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
24955 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24956 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24957 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24958 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24959 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24960 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24961 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24962 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24963 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
24964 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
24965 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
24966 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
24967 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24968 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24969 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24970 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24971 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24972 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24973 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
24974 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24975 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
24976 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
24977 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
24978 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24979 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24980 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24981 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
24982 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24983 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24984 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24985 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
24986 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24987 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24988 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24989 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
24990 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
24991 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24992 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24993 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24994 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24995 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24996 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24997 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24998 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24999 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25000 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25001 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25002 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25003 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25004 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25005 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25006 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25007 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25008 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25009 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25010 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25011 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25012 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25013 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25014 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25015 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25016 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25017 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25018 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25019 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25020 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25021 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25022 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25023 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25024 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25025 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25026 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25027 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25028 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25029 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25030 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25031 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25032 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25033 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25034 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25035 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25036 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25037 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25038 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25039 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25040 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25041 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25042 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25043 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25044 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25045 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25046 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25047 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25048 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25049 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25050 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25051 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25052 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25053 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25054 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25055 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25056 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25057 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25058 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25059 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25060 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25061 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25062 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25063 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25064 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25065 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25066 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25067 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25068 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25069 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25070 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25071 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25072 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25073 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25074 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25075 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25076 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25077 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25078 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25079 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25080 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25081 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25082 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25083 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25084 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25085 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25086 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25087 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25088 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25089 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25090 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25091 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25092 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25093 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25094 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25095 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25096 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25097 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25098 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25099 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25100 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25101 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25102 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25103 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25104 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25105 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25106 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25107 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25108 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25109 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25110 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25111 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25112 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25113 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25114 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25115 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25116 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25117 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25118 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25119 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25120 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25121 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25122 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25123 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25124 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25125 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25126 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25127 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25128 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25129 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25130 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25131 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25132 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25133 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25134 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25135 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25136 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25137 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25138 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25139 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25140 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25141 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25142 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25143 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25144 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25145 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25146 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25147 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25148 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25149 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25150 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25151 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25152 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25153 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25154 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25155 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25156 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25157 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25158 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25159 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25160 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25161 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25162 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25163 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25164 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25165 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25166 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25167 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25168 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25169 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25170 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25171 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25172 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25173 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25174 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25175 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25176 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25177 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25178 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25179 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25180 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25181 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25182 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25183 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25184 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25185 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25186 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25187 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25188 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25189 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25190 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25191 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25192 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25193 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25194 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25195 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25196 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25197 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25198 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25199 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25200 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25201 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25202 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25203 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25204 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25205 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25206 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25207 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25208 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25209 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25210 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25211 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25212 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25213 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25214 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25215 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25216 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25217 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25218 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25219 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25220 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25221 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25222 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25223 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25224 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25225 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25226 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25227 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25228 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25229 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25230 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25231 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25232 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25233 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25234 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25235 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25236 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25237 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25238 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25239 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25240 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25241 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25242 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25243 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25244 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25245 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25246 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25247 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25248 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25249 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25250 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25251 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25252 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25253 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25254 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25255 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25256 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25257 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25258 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25259 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25260 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25261 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25262 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25263 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25264 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25265 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25266 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25267 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25268 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25269 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25274 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25275 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25276 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25278 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25286 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25289 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25290 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25291 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25293 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25294 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25297 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25298 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25299 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25300 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25307 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25308 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25314 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25315 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25319 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25323 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25324 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25325 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25334 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25338 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25340 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25346 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25349 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25350 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25355 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25358 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25363 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25364 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25375 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25376 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25389 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25421 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25422 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25453 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25457 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25458 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25491 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25496 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25507 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25530 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25532 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25538 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25548 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25549 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25572 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25573 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25582 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25590 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25596 { NULL, NULL, 0, NULL }
25597 };
25598
25599
25600 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25601
25602 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25603 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25604 }
25605 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25606 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25607 }
25608 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25609 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25610 }
25611 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25612 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25613 }
25614 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25615 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25616 }
25617 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25618 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25619 }
25620 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25621 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25622 }
25623 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25624 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25625 }
25626 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25627 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25628 }
25629 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25630 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25631 }
25632 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25633 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25634 }
25635 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25636 return (void *)((wxEvent *) ((wxPyEvent *) x));
25637 }
25638 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25639 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25640 }
25641 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25642 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25643 }
25644 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25645 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25646 }
25647 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25648 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25649 }
25650 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25651 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25652 }
25653 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25654 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25655 }
25656 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25657 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25658 }
25659 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25660 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25661 }
25662 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25663 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25664 }
25665 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25666 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25667 }
25668 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25669 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25670 }
25671 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25672 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25673 }
25674 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25675 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25676 }
25677 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25678 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25679 }
25680 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25681 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25682 }
25683 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25684 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25685 }
25686 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25687 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25688 }
25689 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25690 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25691 }
25692 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25693 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25694 }
25695 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25696 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25697 }
25698 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25699 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25700 }
25701 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25702 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25703 }
25704 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25705 return (void *)((wxEvent *) ((wxShowEvent *) x));
25706 }
25707 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25708 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25709 }
25710 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25711 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25712 }
25713 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25714 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25715 }
25716 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25717 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25718 }
25719 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25720 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25721 }
25722 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25723 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25724 }
25725 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25726 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25727 }
25728 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25729 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25730 }
25731 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25732 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25733 }
25734 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25735 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25736 }
25737 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25738 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25739 }
25740 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25741 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25742 }
25743 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25744 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25745 }
25746 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25747 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25748 }
25749 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25750 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25751 }
25752 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25753 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25754 }
25755 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25756 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25757 }
25758 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25759 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25760 }
25761 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25762 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25763 }
25764 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25765 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25766 }
25767 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25768 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25769 }
25770 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25771 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25772 }
25773 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25774 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25775 }
25776 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25777 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25778 }
25779 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25780 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25781 }
25782 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25783 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25784 }
25785 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25786 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25787 }
25788 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25789 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25790 }
25791 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25792 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25793 }
25794 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25795 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25796 }
25797 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25798 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25799 }
25800 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25801 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25802 }
25803 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25804 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25805 }
25806 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25807 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25808 }
25809 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25810 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25811 }
25812 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25813 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25814 }
25815 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25816 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25817 }
25818 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25819 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25820 }
25821 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25822 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25823 }
25824 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25825 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25826 }
25827 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25828 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25829 }
25830 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25831 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25832 }
25833 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25834 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25835 }
25836 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25837 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25838 }
25839 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25840 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25841 }
25842 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25843 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25844 }
25845 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25846 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25847 }
25848 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25849 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25850 }
25851 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25852 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25853 }
25854 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25855 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25856 }
25857 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25858 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25859 }
25860 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25861 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25862 }
25863 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25865 }
25866 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25868 }
25869 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25870 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25871 }
25872 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25873 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25874 }
25875 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25876 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25877 }
25878 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25879 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25880 }
25881 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25882 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25883 }
25884 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25885 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25886 }
25887 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25888 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25889 }
25890 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25891 return (void *)((wxFrame *) ((wxTipWindow *) x));
25892 }
25893 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25894 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25895 }
25896 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25897 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25898 }
25899 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25900 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25901 }
25902 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25903 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25904 }
25905 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25906 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25907 }
25908 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25909 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25910 }
25911 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25912 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25913 }
25914 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25916 }
25917 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25919 }
25920 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25921 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25922 }
25923 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25924 return (void *)((wxObject *) ((wxSizerItem *) x));
25925 }
25926 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25927 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25928 }
25929 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25930 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25931 }
25932 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25933 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25934 }
25935 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25936 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25937 }
25938 static void *_p_wxSizerTo_p_wxObject(void *x) {
25939 return (void *)((wxObject *) ((wxSizer *) x));
25940 }
25941 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25942 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25943 }
25944 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25945 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25946 }
25947 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25949 }
25950 static void *_p_wxEventTo_p_wxObject(void *x) {
25951 return (void *)((wxObject *) ((wxEvent *) x));
25952 }
25953 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25954 return (void *)((wxObject *) ((wxFontData *) x));
25955 }
25956 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25957 return (void *)((wxObject *) ((wxPrintData *) x));
25958 }
25959 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25960 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25961 }
25962 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25963 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25964 }
25965 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25966 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25967 }
25968 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25969 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25970 }
25971 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25972 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25973 }
25974 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25976 }
25977 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25978 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25979 }
25980 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25981 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25982 }
25983 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25984 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25985 }
25986 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25987 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25988 }
25989 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25990 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25991 }
25992 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25993 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25994 }
25995 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25997 }
25998 static void *_p_wxControlTo_p_wxObject(void *x) {
25999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26000 }
26001 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26002 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26003 }
26004 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26005 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26006 }
26007 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26008 return (void *)((wxObject *) ((wxFSFile *) x));
26009 }
26010 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26011 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26012 }
26013 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26014 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26015 }
26016 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26018 }
26019 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26020 return (void *)((wxObject *) ((wxColourData *) x));
26021 }
26022 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26023 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26024 }
26025 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26027 }
26028 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26030 }
26031 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26033 }
26034 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26036 }
26037 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26039 }
26040 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26042 }
26043 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26045 }
26046 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26048 }
26049 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26051 }
26052 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26054 }
26055 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26056 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26057 }
26058 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26059 return (void *)((wxObject *) ((wxPrinter *) x));
26060 }
26061 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26062 return (void *)((wxObject *) ((wxMenuItem *) x));
26063 }
26064 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26065 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26066 }
26067 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26068 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26069 }
26070 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26071 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26072 }
26073 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26074 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26075 }
26076 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26077 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26078 }
26079 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26080 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26081 }
26082 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26083 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26084 }
26085 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26086 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26087 }
26088 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26089 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26090 }
26091 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26092 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26093 }
26094 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26095 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26096 }
26097 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26098 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26099 }
26100 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26101 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26102 }
26103 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26104 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26105 }
26106 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26107 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26108 }
26109 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26110 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26111 }
26112 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26113 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26114 }
26115 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26116 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26117 }
26118 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26119 return (void *)((wxObject *) ((wxImageHandler *) x));
26120 }
26121 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26122 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26123 }
26124 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26125 return (void *)((wxObject *) ((wxEvtHandler *) x));
26126 }
26127 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26128 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26129 }
26130 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26132 }
26133 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26135 }
26136 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26137 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26138 }
26139 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26141 }
26142 static void *_p_wxImageTo_p_wxObject(void *x) {
26143 return (void *)((wxObject *) ((wxImage *) x));
26144 }
26145 static void *_p_wxFrameTo_p_wxObject(void *x) {
26146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26147 }
26148 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26149 return (void *)((wxObject *) ((wxPyPrintout *) x));
26150 }
26151 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26152 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26153 }
26154 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26155 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26156 }
26157 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26159 }
26160 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26162 }
26163 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26164 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26165 }
26166 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26167 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26168 }
26169 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26170 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26171 }
26172 static void *_p_wxWindowTo_p_wxObject(void *x) {
26173 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26174 }
26175 static void *_p_wxMenuTo_p_wxObject(void *x) {
26176 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26177 }
26178 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26180 }
26181 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26183 }
26184 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26186 }
26187 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26189 }
26190 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26192 }
26193 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26195 }
26196 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26198 }
26199 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26201 }
26202 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26204 }
26205 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26207 }
26208 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26210 }
26211 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26213 }
26214 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26216 }
26217 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26218 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26219 }
26220 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26221 return (void *)((wxObject *) ((wxPrintPreview *) x));
26222 }
26223 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26224 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26225 }
26226 static void *_p_wxPanelTo_p_wxObject(void *x) {
26227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26228 }
26229 static void *_p_wxDialogTo_p_wxObject(void *x) {
26230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26231 }
26232 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26234 }
26235 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26237 }
26238 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26240 }
26241 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26243 }
26244 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26246 }
26247 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26248 return (void *)((wxObject *) ((wxFileSystem *) x));
26249 }
26250 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26251 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26252 }
26253 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26254 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26255 }
26256 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26257 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26258 }
26259 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26260 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26261 }
26262 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26263 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26264 }
26265 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26266 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26267 }
26268 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26270 }
26271 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26272 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26273 }
26274 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26276 }
26277 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26279 }
26280 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26281 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26282 }
26283 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26284 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26285 }
26286 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26287 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26288 }
26289 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26291 }
26292 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26293 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26294 }
26295 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26296 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26297 }
26298 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26299 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26300 }
26301 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26302 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26303 }
26304 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26305 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26306 }
26307 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26308 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26309 }
26310 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26311 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26312 }
26313 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26314 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26315 }
26316 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26317 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26318 }
26319 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26320 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26321 }
26322 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26323 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26324 }
26325 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26326 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26327 }
26328 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26329 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26330 }
26331 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26332 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26333 }
26334 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26335 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26336 }
26337 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26338 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26339 }
26340 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26341 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26342 }
26343 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
26344 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
26345 }
26346 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26347 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26348 }
26349 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26350 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26351 }
26352 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26353 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26354 }
26355 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26356 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26357 }
26358 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26359 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26360 }
26361 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26362 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26363 }
26364 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26365 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26366 }
26367 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26368 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26369 }
26370 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26371 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26372 }
26373 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26374 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26375 }
26376 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26377 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26378 }
26379 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26380 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26381 }
26382 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26383 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26384 }
26385 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26386 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26387 }
26388 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26389 return (void *)((wxWindow *) ((wxMenuBar *) x));
26390 }
26391 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26392 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26393 }
26394 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26395 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26396 }
26397 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26398 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26399 }
26400 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26401 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26402 }
26403 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26404 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26405 }
26406 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26407 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26408 }
26409 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26410 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26411 }
26412 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26413 return (void *)((wxWindow *) ((wxPanel *) x));
26414 }
26415 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26416 return (void *)((wxWindow *) ((wxStatusBar *) x));
26417 }
26418 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26419 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26420 }
26421 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26422 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26423 }
26424 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26425 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26426 }
26427 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26428 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26429 }
26430 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26431 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26432 }
26433 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26434 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26435 }
26436 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26437 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26438 }
26439 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26440 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26441 }
26442 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26443 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26444 }
26445 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26446 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26447 }
26448 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26449 return (void *)((wxWindow *) ((wxSashWindow *) x));
26450 }
26451 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26452 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26453 }
26454 static void *_p_wxControlTo_p_wxWindow(void *x) {
26455 return (void *)((wxWindow *) ((wxControl *) x));
26456 }
26457 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26458 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26459 }
26460 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26461 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26462 }
26463 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26464 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26465 }
26466 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26467 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26468 }
26469 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26470 return (void *)((wxWindow *) ((wxPyWindow *) x));
26471 }
26472 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26473 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26474 }
26475 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26476 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26477 }
26478 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26479 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26480 }
26481 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26482 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26483 }
26484 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26485 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26486 }
26487 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26488 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26489 }
26490 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26491 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26492 }
26493 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26494 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26495 }
26496 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26497 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26498 }
26499 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26500 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26501 }
26502 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26503 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26504 }
26505 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26506 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26507 }
26508 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26509 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26510 }
26511 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26512 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26513 }
26514 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26515 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26516 }
26517 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26518 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26519 }
26520 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26521 return (void *)((wxDialog *) ((wxColourDialog *) x));
26522 }
26523 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26524 return (void *)((wxDialog *) ((wxDirDialog *) x));
26525 }
26526 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26527 return (void *)((wxDialog *) ((wxFontDialog *) x));
26528 }
26529 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26530 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26531 }
26532 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26533 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26534 }
26535 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26536 return (void *)((wxDialog *) ((wxFileDialog *) x));
26537 }
26538 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26539 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26540 }
26541 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26542 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26543 }
26544 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26545 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26546 }
26547 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26548 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26549 }
26550 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26551 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26552 }
26553 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26554 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26555 }
26556 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26557 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26558 }
26559 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26560 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26561 }
26562 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26563 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26564 }
26565 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26566 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26567 }
26568 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26569 return (void *)((wxPanel *) ((wxPyPanel *) x));
26570 }
26571 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26572 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26573 }
26574 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26575 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26576 }
26577 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26578 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26579 }
26580 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26581 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26582 }
26583 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26584 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26585 }
26586 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26587 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26588 }
26589 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26590 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26591 }
26592 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26593 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26594 }
26595 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26596 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26597 }
26598 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26599 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26600 }
26601 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26602 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26603 }
26604 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26605 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26606 }
26607 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26608 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26609 }
26610 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26611 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26612 }
26613 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26614 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26615 }
26616 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26617 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26618 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26619 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26620 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26621 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26622 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26623 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26624 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26625 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26626 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26627 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26628 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26629 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26630 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26631 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26632 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26633 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26634 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26635 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26636 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26637 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26638 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26639 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26640 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26641 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26642 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26643 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26644 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26645 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26646 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26647 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26648 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26649 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26650 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26651 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26652 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26653 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26654 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26655 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26656 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26657 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26658 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26659 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26660 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26661 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26662 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26663 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26664 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26665 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26666 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26667 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26668 static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26669 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26670 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26671 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26672 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26673 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26674 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26675 static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26676 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26677 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26678 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26679 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26680 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26681 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26682 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26683 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26684 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26685 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26686 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26687 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26688 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26689 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26690 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26691 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26692 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26693 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26694 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26695 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26696 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26697 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26698 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26699 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26700 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26701 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26702
26703 static swig_type_info *swig_types_initial[] = {
26704 _swigt__p_wxQueryLayoutInfoEvent,
26705 _swigt__p_wxPreviewFrame,
26706 _swigt__p_wxPyPreviewFrame,
26707 _swigt__p_wxPyPanel,
26708 _swigt__p_wxMenu,
26709 _swigt__p_wxFontData,
26710 _swigt__p_wxEvent,
26711 _swigt__p_wxPrintData,
26712 _swigt__p_wxTaskBarIcon,
26713 _swigt__p_wxIconBundle,
26714 _swigt__p_wxLayoutAlgorithm,
26715 _swigt__p_wxFindDialogEvent,
26716 _swigt__p_wxPreviewCanvas,
26717 _swigt__p_wxFont,
26718 _swigt__p_wxSplitterEvent,
26719 _swigt__p_wxRegion,
26720 _swigt__p_wxFindReplaceData,
26721 _swigt__p_int,
26722 _swigt__p_wxSize,
26723 _swigt__p_wxDC,
26724 _swigt__p_wxIcon,
26725 _swigt__p_wxVisualAttributes,
26726 _swigt__p_wxMDIChildFrame,
26727 _swigt__p_wxColourData,
26728 _swigt__p_wxNotifyEvent,
26729 _swigt__p_wxPyWindow,
26730 _swigt__p_wxSplashScreen,
26731 _swigt__p_wxFindReplaceDialog,
26732 _swigt__p_wxProgressDialog,
26733 _swigt__p_wxMessageDialog,
26734 _swigt__p_wxTextEntryDialog,
26735 _swigt__p_wxSingleChoiceDialog,
26736 _swigt__p_wxMultiChoiceDialog,
26737 _swigt__p_wxFileDialog,
26738 _swigt__p_wxPrinter,
26739 _swigt__p_wxArrayInt,
26740 _swigt__p_wxEvtHandler,
26741 _swigt__p_wxCalculateLayoutEvent,
26742 _swigt__p_wxPyHtmlListBox,
26743 _swigt__p_wxPyVListBox,
26744 _swigt__p_wxRect,
26745 _swigt__p_char,
26746 _swigt__p_wxMiniFrame,
26747 _swigt__p_wxFrame,
26748 _swigt__p_wxPyPrintout,
26749 _swigt__p_wxTaskBarIconEvent,
26750 _swigt__p_wxScrollWinEvent,
26751 _swigt__p_wxStatusBar,
26752 _swigt__p_wxMDIParentFrame,
26753 _swigt__p_wxPoint,
26754 _swigt__p_wxObject,
26755 _swigt__p_wxOutputStream,
26756 _swigt__p_wxPyScrolledWindow,
26757 _swigt__p_wxMDIClientWindow,
26758 _swigt__p_wxTipWindow,
26759 _swigt__p_wxPyPopupTransientWindow,
26760 _swigt__p_wxSashLayoutWindow,
26761 _swigt__p_wxSplitterWindow,
26762 _swigt__p_wxSplashScreenWindow,
26763 _swigt__p_wxPyVScrolledWindow,
26764 _swigt__p_wxPopupWindow,
26765 _swigt__p_wxSashWindow,
26766 _swigt__p_wxTopLevelWindow,
26767 _swigt__p_wxWindow,
26768 _swigt__p_wxScrolledWindow,
26769 _swigt__p_wxMenuBar,
26770 _swigt__p_wxPrintPreview,
26771 _swigt__p_wxSashEvent,
26772 _swigt__p_wxString,
26773 _swigt__p_wxPyPrintPreview,
26774 _swigt__p_wxFontDialog,
26775 _swigt__p_wxDirDialog,
26776 _swigt__p_wxColourDialog,
26777 _swigt__p_wxDialog,
26778 _swigt__p_wxPanel,
26779 _swigt__p_wxPageSetupDialog,
26780 _swigt__p_wxPrintDialog,
26781 _swigt__p_wxFileSystem,
26782 _swigt__p_wxBitmap,
26783 _swigt__p_wxCommandEvent,
26784 _swigt__p_wxPreviewControlBar,
26785 _swigt__p_wxPyPreviewControlBar,
26786 _swigt__p_wxColour,
26787 _swigt__p_wxToolBar,
26788 _swigt__p_wxPageSetupDialogData,
26789 _swigt__p_wxPrintDialogData,
26790 0
26791 };
26792
26793
26794 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26795
26796 static swig_const_info swig_const_table[] = {
26797 {0, 0, 0, 0.0, 0, 0}};
26798
26799 #ifdef __cplusplus
26800 }
26801 #endif
26802
26803 #ifdef __cplusplus
26804 extern "C"
26805 #endif
26806 SWIGEXPORT(void) SWIG_init(void) {
26807 static PyObject *SWIG_globals = 0;
26808 static int typeinit = 0;
26809 PyObject *m, *d;
26810 int i;
26811 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26812 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26813 d = PyModule_GetDict(m);
26814
26815 if (!typeinit) {
26816 for (i = 0; swig_types_initial[i]; i++) {
26817 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26818 }
26819 typeinit = 1;
26820 }
26821 SWIG_InstallConstants(d,swig_const_table);
26822
26823 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26824 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26825 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26826 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26827 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26828 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
26829 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
26830 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
26831 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
26832 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
26833 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
26834 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
26835 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
26836 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
26837 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
26838 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
26839 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
26840 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
26841 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
26842 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
26843 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
26844 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
26845 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
26846 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
26847 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
26848 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
26849 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
26850 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
26851 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
26852 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
26853 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
26854 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
26855 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
26856 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
26857 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
26858 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
26859 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
26860 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
26861 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
26862 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
26863 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
26864 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
26865 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
26866 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
26867 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
26868 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
26869 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
26870 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26871 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
26872 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
26873 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
26874 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
26875 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
26876 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
26877 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
26878 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
26879 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
26880 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
26881 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
26882 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
26883 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
26884 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
26885 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26886 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26887 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26888 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26889 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26890 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26891 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
26892 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
26893 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
26894 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
26895 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
26896 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
26897 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
26898 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
26899 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
26900 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
26901 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
26902 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
26903 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
26904 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
26905 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
26906 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26907 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
26908 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
26909 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
26910 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
26911 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
26912 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
26913 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
26914 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
26915 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
26916 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
26917 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
26918 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26919 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26920 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26921
26922 // Map renamed classes back to their common name for OOR
26923 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26924 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26925 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26926
26927 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26928 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26929 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26930 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26931 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26932 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26933 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26934 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26935 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26936 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26937 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26938 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26939 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26940 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
26941 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
26942 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
26943 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
26944 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
26945 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
26946 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
26947 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
26948 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26949 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26950 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26951 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26952 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26953 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
26954 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
26955 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
26956 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
26957 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
26958 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
26959 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
26960 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
26961 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26962 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26963 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
26964 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
26965 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
26966 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
26967 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
26968 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
26969 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
26970 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
26971 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
26972 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
26973 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
26974 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
26975 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
26976 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
26977 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
26978 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
26979 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
26980 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
26981 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
26982 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
26983 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
26984 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
26985 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
26986 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
26987
26988 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26989
26990 }
26991