]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
todos, cleanups, detabified
[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 if (!PyTuple_Check(target)) {
556 o2 = target;
557 target = PyTuple_New(1);
558 PyTuple_SetItem(target, 0, o2);
559 }
560 o3 = PyTuple_New(1);
561 PyTuple_SetItem(o3, 0, o);
562
563 o2 = target;
564 target = PySequence_Concat(o2, o3);
565 Py_DECREF(o2);
566 Py_DECREF(o3);
567 }
568 return target;
569 }
570
571
572
573 // See my_fragments.i
574 SWIGSTATICINLINE(int)
575 SWIG_AsVal_double(PyObject *obj, double* val)
576 {
577 if (PyNumber_Check(obj)) {
578 if (val) *val = PyFloat_AsDouble(obj);
579 return 1;
580 }
581 else {
582 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
583 obj->ob_type->tp_name);
584 PyErr_SetObject(PyExc_TypeError, errmsg);
585 Py_DECREF(errmsg);
586 }
587 return 0;
588 }
589
590
591 SWIGSTATICINLINE(double)
592 SWIG_As_double(PyObject* obj)
593 {
594 double v;
595 if (!SWIG_AsVal_double(obj, &v)) {
596 /*
597 this is needed to make valgrind/purify happier. the other
598 solution is throw an exception, but since this code should work
599 with plain C ....
600 */
601 memset((void*)&v, 0, sizeof(double));
602 }
603 return v;
604 }
605
606
607 SWIGSTATICINLINE(int)
608 SWIG_Check_double(PyObject* obj)
609 {
610 return SWIG_AsVal_double(obj, (double*)0);
611 }
612
613 static const wxString wxPyFrameNameStr(wxFrameNameStr);
614 static const wxString wxPyDialogNameStr(wxDialogNameStr);
615 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
616 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
617
618
619 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
620 wxRect r;
621 self->GetFieldRect(i, r);
622 return r;
623 }
624 static const wxString wxPySplitterNameStr(wxT("splitter"));
625 static const wxString wxPySashNameStr(wxT("sashWindow"));
626 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
627
628 #include <wx/popupwin.h>
629
630
631 class wxPopupWindow : public wxWindow {
632 public:
633 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
634 wxPopupWindow() { wxPyRaiseNotImplemented(); }
635 };
636
637 class wxPyPopupTransientWindow : public wxPopupWindow
638 {
639 public:
640 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
641 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
642 };
643
644
645 #include <wx/tipwin.h>
646
647 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
648 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
649 }
650
651 #include <wx/tipwin.h>
652
653
654 #include <wx/vscroll.h>
655
656
657 class wxPyVScrolledWindow : public wxVScrolledWindow
658 {
659 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
660 public:
661 wxPyVScrolledWindow() : wxVScrolledWindow() {}
662
663 wxPyVScrolledWindow(wxWindow *parent,
664 wxWindowID id = wxID_ANY,
665 const wxPoint& pos = wxDefaultPosition,
666 const wxSize& size = wxDefaultSize,
667 long style = 0,
668 const wxString& name = wxPyPanelNameStr)
669 : wxVScrolledWindow(parent, id, pos, size, style, name)
670 {}
671
672 // Overridable virtuals
673
674 // this function must be overridden in the derived class and it should
675 // return the height of the given line in pixels
676 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
677
678
679 // this function doesn't have to be overridden but it may be useful to do
680 // it if calculating the lines heights is a relatively expensive operation
681 // as it gives the user code a possibility to calculate several of them at
682 // once
683 //
684 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
685 // shouldn't rely on the latter being called for all lines in the interval
686 // specified here. It is also possible that OnGetLineHeight() will be
687 // called for the lines outside of this interval, so this is really just a
688 // hint, not a promise.
689 //
690 // finally note that lineMin is inclusive, while lineMax is exclusive, as
691 // usual
692 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
693
694
695 // when the number of lines changes, we try to estimate the total height
696 // of all lines which is a rather expensive operation in terms of lines
697 // access, so if the user code may estimate the average height
698 // better/faster than we do, it should override this function to implement
699 // its own logic
700 //
701 // this function should return the best guess for the total height it may
702 // make
703 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
704
705
706 // Also expose some other interesting protected methods
707
708
709 // find the index of the line we need to show at the top of the window such
710 // that the last (fully or partially) visible line is the given one
711 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
712 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
713
714 // get the total height of the lines between lineMin (inclusive) and
715 // lineMax (exclusive)
716 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
717 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
718
719
720 PYPRIVATE;
721 };
722
723 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
724
725 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
726 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
727 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
728
729
730 // See my_fragments.i
731 SWIGSTATICINLINE(int)
732 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
733 {
734 long v = 0;
735 if (SWIG_AsVal_long(obj, &v) && v < 0) {
736 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
737 return 0;
738 }
739 else if (val)
740 *val = (unsigned long)v;
741 return 1;
742 }
743
744
745 SWIGSTATICINLINE(unsigned long)
746 SWIG_As_unsigned_SS_long(PyObject* obj)
747 {
748 unsigned long v;
749 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
750 /*
751 this is needed to make valgrind/purify happier. the other
752 solution is throw an exception, but since this code should work
753 with plain C ....
754 */
755 memset((void*)&v, 0, sizeof(unsigned long));
756 }
757 return v;
758 }
759
760
761 SWIGSTATICINLINE(int)
762 SWIG_Check_unsigned_SS_long(PyObject* obj)
763 {
764 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
765 }
766
767
768 SWIGSTATICINLINE(PyObject* )
769 SWIG_From_unsigned_SS_long(unsigned long value)
770 {
771 return (value > LONG_MAX) ?
772 PyLong_FromUnsignedLong(value)
773 : PyInt_FromLong(swig_numeric_cast(value,long));
774 }
775
776
777 #include <wx/vlbox.h>
778
779 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
780
781 class wxPyVListBox : public wxVListBox
782 {
783 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
784 public:
785 wxPyVListBox() : wxVListBox() {}
786
787 wxPyVListBox(wxWindow *parent,
788 wxWindowID id = wxID_ANY,
789 const wxPoint& pos = wxDefaultPosition,
790 const wxSize& size = wxDefaultSize,
791 long style = 0,
792 const wxString& name = wxPyVListBoxNameStr)
793 : wxVListBox(parent, id, pos, size, style, name)
794 {}
795
796 // Overridable virtuals
797
798 // the derived class must implement this function to actually draw the item
799 // with the given index on the provided DC
800 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
801 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
802
803
804 // the derived class must implement this method to return the height of the
805 // specified item
806 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
807 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
808
809
810 // this method may be used to draw separators between the lines; note that
811 // the rectangle may be modified, typically to deflate it a bit before
812 // passing to OnDrawItem()
813 //
814 // the base class version doesn't do anything
815 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
816 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
817
818
819 // this method is used to draw the items background and, maybe, a border
820 // around it
821 //
822 // the base class version implements a reasonable default behaviour which
823 // consists in drawing the selected item with the standard background
824 // colour and drawing a border around the item if it is either selected or
825 // current
826 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
827 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
828
829
830 PYPRIVATE;
831 };
832
833 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
834
835 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
836 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
837 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
838 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
839
840
841 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
842 unsigned long cookie = 0;
843 int selected = self->GetFirstSelected(cookie);
844 bool blocked = wxPyBeginBlockThreads();
845 PyObject* tup = PyTuple_New(2);
846 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
847 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
848 wxPyEndBlockThreads(blocked);
849 return tup;
850 }
851 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
852 int selected = self->GetNextSelected(cookie);
853 bool blocked = wxPyBeginBlockThreads();
854 PyObject* tup = PyTuple_New(2);
855 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
856 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
857 wxPyEndBlockThreads(blocked);
858 return tup;
859 }
860
861 #include <wx/htmllbox.h>
862
863
864 class wxPyHtmlListBox : public wxHtmlListBox
865 {
866 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
867 public:
868 wxPyHtmlListBox() : wxHtmlListBox() {}
869
870 wxPyHtmlListBox(wxWindow *parent,
871 wxWindowID id = wxID_ANY,
872 const wxPoint& pos = wxDefaultPosition,
873 const wxSize& size = wxDefaultSize,
874 long style = 0,
875 const wxString& name = wxPyVListBoxNameStr)
876 : wxHtmlListBox(parent, id, pos, size, style, name)
877 {}
878
879 // Overridable virtuals
880
881 // this method must be implemented in the derived class and should return
882 // the body (i.e. without <html>) of the HTML for the given item
883 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
884
885 // this function may be overridden to decorate HTML returned by OnGetItem()
886 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
887
888 // TODO:
889 // // this method allows to customize the selection appearance: it may be used
890 // // to specify the colour of the text which normally has the given colour
891 // // colFg when it is inside the selection
892 // //
893 // // by default, the original colour is not used at all and all text has the
894 // // same (default for this system) colour inside selection
895 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
896
897 // // this is the same as GetSelectedTextColour() but allows to customize the
898 // // background colour -- this is even more rarely used as you can change it
899 // // globally using SetSelectionBackground()
900 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
901
902
903 PYPRIVATE;
904 };
905
906
907 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
908
909 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
910 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
911
912
913
914
915
916 #ifdef __WXMAC__
917 // implement dummy classes and such for wxMac
918
919 class wxTaskBarIcon : public wxEvtHandler
920 {
921 public:
922 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
923 };
924
925
926 class wxTaskBarIconEvent : public wxEvent
927 {
928 public:
929 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
930 { wxPyRaiseNotImplemented(); }
931 virtual wxEvent* Clone() const { return NULL; }
932 };
933
934 enum {
935 wxEVT_TASKBAR_MOVE = 0,
936 wxEVT_TASKBAR_LEFT_DOWN = 0,
937 wxEVT_TASKBAR_LEFT_UP = 0,
938 wxEVT_TASKBAR_RIGHT_DOWN = 0,
939 wxEVT_TASKBAR_RIGHT_UP = 0,
940 wxEVT_TASKBAR_LEFT_DCLICK = 0,
941 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
942 };
943
944
945 #else
946 // // Otherwise make a class that can virtualize CreatePopupMenu
947 // class wxPyTaskBarIcon : public wxTaskBarIcon
948 // {
949 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
950 // public:
951 // wxPyTaskBarIcon() : wxTaskBarIcon()
952 // {}
953
954 // wxMenu* CreatePopupMenu() {
955 // wxMenu *rval = NULL;
956 // bool found;
957 // bool blocked = wxPyBeginBlockThreads();
958 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
959 // PyObject* ro;
960 // wxMenu* ptr;
961 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
962 // if (ro) {
963 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
964 // rval = ptr;
965 // Py_DECREF(ro);
966 // }
967 // }
968 // wxPyEndBlockThreads(blocked);
969 // if (! found)
970 // rval = wxTaskBarIcon::CreatePopupMenu();
971 // return rval;
972 // }
973
974 // PYPRIVATE;
975 // };
976
977 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
978
979 #endif
980
981 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
982
983
984
985 }
986 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
987 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
988 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
989 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
990 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
991 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
992 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
993 wxArrayString arr;
994 self->GetFilenames(arr);
995 return wxArrayString2PyList_helper(arr);
996 }
997 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
998 wxArrayString arr;
999 self->GetPaths(arr);
1000 return wxArrayString2PyList_helper(arr);
1001 }
1002 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1003 return wxArrayInt2PyList_helper(self->GetSelections());
1004 }
1005 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1006 return new wxSingleChoiceDialog(parent, message, caption,
1007 choices, choices_array, NULL, style, pos);
1008 }
1009
1010 #include <wx/mdi.h>
1011
1012 // C++ version of Python aware wxWindow
1013 class wxPyWindow : public wxWindow
1014 {
1015 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1016 public:
1017 wxPyWindow() : wxWindow() {}
1018 wxPyWindow(wxWindow* parent, const wxWindowID id,
1019 const wxPoint& pos = wxDefaultPosition,
1020 const wxSize& size = wxDefaultSize,
1021 long style = 0,
1022 const wxString& name = wxPyPanelNameStr)
1023 : wxWindow(parent, id, pos, size, style, name) {}
1024
1025 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1026
1027 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1028 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1029 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1030 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1031
1032 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1033 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1034 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1035
1036 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1037 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1038
1039 DEC_PYCALLBACK__(InitDialog);
1040 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1041 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1042 DEC_PYCALLBACK_BOOL_(Validate);
1043
1044 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1045 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1046 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1047
1048 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1049 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1050
1051 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1052 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1053 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1054
1055 PYPRIVATE;
1056 };
1057
1058 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1059
1060 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1061 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1062 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1063 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1064
1065 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1066 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1067 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1068
1069 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1070 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1071
1072 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1073 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1074 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1075 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1076
1077 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1078 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1079 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1080
1081 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1082 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1083
1084 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1085 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1086 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1087
1088
1089 // C++ version of Python aware wxPanel
1090 class wxPyPanel : public wxPanel
1091 {
1092 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1093 public:
1094 wxPyPanel() : wxPanel() {}
1095 wxPyPanel(wxWindow* parent, const wxWindowID id,
1096 const wxPoint& pos = wxDefaultPosition,
1097 const wxSize& size = wxDefaultSize,
1098 long style = 0,
1099 const wxString& name = wxPyPanelNameStr)
1100 : wxPanel(parent, id, pos, size, style, name) {}
1101
1102 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1103
1104
1105 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1106 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1107 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1108 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1109
1110 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1111 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1112 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1113
1114 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1115 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1116
1117 DEC_PYCALLBACK__(InitDialog);
1118 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1119 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1120 DEC_PYCALLBACK_BOOL_(Validate);
1121
1122 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1123 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1124 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1125
1126 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1127 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1128
1129 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1130 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1131 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1132
1133 PYPRIVATE;
1134 };
1135
1136 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1137
1138 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1139 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1140 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1141 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1142
1143 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1144 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1145 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1146
1147 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1148 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1149
1150 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1151 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1152 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1153 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1154
1155 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1156 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1157 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1158
1159 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1160 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1161
1162 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1163 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1164 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1165
1166
1167 // C++ version of Python aware wxScrolledWindow
1168 class wxPyScrolledWindow : public wxScrolledWindow
1169 {
1170 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1171 public:
1172 wxPyScrolledWindow() : wxScrolledWindow() {}
1173 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1174 const wxPoint& pos = wxDefaultPosition,
1175 const wxSize& size = wxDefaultSize,
1176 long style = 0,
1177 const wxString& name = wxPyPanelNameStr)
1178 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1179
1180 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1181
1182 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1183 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1184 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1185 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1186
1187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1189 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1190
1191 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1192 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1193
1194 DEC_PYCALLBACK__(InitDialog);
1195 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1196 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1197 DEC_PYCALLBACK_BOOL_(Validate);
1198
1199 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1200 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1201 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1202
1203 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1204 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1205
1206 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1207 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1208 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1209
1210 PYPRIVATE;
1211 };
1212
1213 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1214
1215 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1216 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1217 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1218 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1219
1220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1222 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1223
1224 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1225 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1226
1227 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1228 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1229 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1230 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1231
1232 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1233 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1234 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1235
1236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1237 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1238
1239 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1240 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1241 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1242
1243
1244
1245 #include "wx/wxPython/printfw.h"
1246
1247
1248 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1249 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1250
1251
1252
1253 // Since this one would be tough and ugly to do with the Macros...
1254 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1255 bool hadErr = False;
1256 bool found;
1257
1258 bool blocked = wxPyBeginBlockThreads();
1259 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1260 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1261 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1262 PyObject* val;
1263
1264 val = PyTuple_GetItem(result, 0);
1265 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1266 else hadErr = True;
1267
1268 val = PyTuple_GetItem(result, 1);
1269 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1270 else hadErr = True;
1271
1272 val = PyTuple_GetItem(result, 2);
1273 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1274 else hadErr = True;
1275
1276 val = PyTuple_GetItem(result, 3);
1277 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1278 else hadErr = True;
1279 }
1280 else
1281 hadErr = True;
1282
1283 if (hadErr) {
1284 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1285 PyErr_Print();
1286 }
1287 Py_DECREF(result);
1288 }
1289 wxPyEndBlockThreads(blocked);
1290 if (! found)
1291 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1292 }
1293
1294 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1295 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1296 }
1297
1298
1299 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1300 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1301 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1302 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1303 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1304 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1305 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1306
1307
1308
1309
1310
1311 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1312 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1313 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1314
1315
1316 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1317 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1318 bool rval=False; \
1319 bool found; \
1320 bool blocked = wxPyBeginBlockThreads(); \
1321 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1322 PyObject* win = wxPyMake_wxObject(a,false); \
1323 PyObject* dc = wxPyMake_wxObject(&b,false); \
1324 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1325 Py_DECREF(win); \
1326 Py_DECREF(dc); \
1327 } \
1328 wxPyEndBlockThreads(blocked); \
1329 if (! found) \
1330 rval = PCLASS::CBNAME(a, b); \
1331 return rval; \
1332 } \
1333 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1334 return PCLASS::CBNAME(a, b); \
1335 }
1336
1337
1338
1339
1340 class wxPyPrintPreview : public wxPrintPreview
1341 {
1342 DECLARE_CLASS(wxPyPrintPreview)
1343 public:
1344 wxPyPrintPreview(wxPyPrintout* printout,
1345 wxPyPrintout* printoutForPrinting,
1346 wxPrintDialogData* data=NULL)
1347 : wxPrintPreview(printout, printoutForPrinting, data)
1348 {}
1349 wxPyPrintPreview(wxPyPrintout* printout,
1350 wxPyPrintout* printoutForPrinting,
1351 wxPrintData* data=NULL)
1352 : wxPrintPreview(printout, printoutForPrinting, data)
1353 {}
1354
1355 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1356 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1357 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1358 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1359 DEC_PYCALLBACK_VOID_INT(SetZoom);
1360 DEC_PYCALLBACK_BOOL_BOOL(Print);
1361 DEC_PYCALLBACK_VOID_(DetermineScaling);
1362
1363 PYPRIVATE;
1364 };
1365
1366 // Stupid renamed classes... Fix this in 2.5...
1367 #if defined(__WXMSW__)
1368 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1369 #elif defined(__WXMAC__)
1370 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1371 #else
1372 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1373 #endif
1374
1375 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1376 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1377 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1378 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1379 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1380 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1381 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1382
1383
1384 class wxPyPreviewFrame : public wxPreviewFrame
1385 {
1386 DECLARE_CLASS(wxPyPreviewFrame);
1387 public:
1388 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1389 const wxString& title,
1390 const wxPoint& pos = wxDefaultPosition,
1391 const wxSize& size = wxDefaultSize,
1392 long style = wxDEFAULT_FRAME_STYLE,
1393 const wxString& name = wxPyFrameNameStr)
1394 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1395 {}
1396
1397 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1398 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1399
1400 DEC_PYCALLBACK_VOID_(Initialize);
1401 DEC_PYCALLBACK_VOID_(CreateCanvas);
1402 DEC_PYCALLBACK_VOID_(CreateControlBar);
1403
1404 PYPRIVATE;
1405 };
1406
1407 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1408
1409 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1410 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1411 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1412
1413
1414 class wxPyPreviewControlBar : public wxPreviewControlBar
1415 {
1416 DECLARE_CLASS(wxPyPreviewControlBar);
1417 public:
1418 wxPyPreviewControlBar(wxPrintPreview *preview,
1419 long buttons,
1420 wxWindow *parent,
1421 const wxPoint& pos = wxDefaultPosition,
1422 const wxSize& size = wxDefaultSize,
1423 long style = 0,
1424 const wxString& name = wxPyPanelNameStr)
1425 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1426 {}
1427
1428 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1429
1430 DEC_PYCALLBACK_VOID_(CreateButtons);
1431 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1432
1433 PYPRIVATE;
1434 };
1435
1436 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1437 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1438 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1439
1440 #ifdef __cplusplus
1441 extern "C" {
1442 #endif
1443 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1444 PyObject *resultobj;
1445 wxWindow *arg1 = (wxWindow *) 0 ;
1446 int arg2 = (int) (int)-1 ;
1447 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1448 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1449 wxSize const &arg4_defvalue = wxDefaultSize ;
1450 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1451 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1452 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1453 wxString *arg6 = (wxString *) &arg6_defvalue ;
1454 wxPanel *result;
1455 wxPoint temp3 ;
1456 wxSize temp4 ;
1457 bool temp6 = False ;
1458 PyObject * obj0 = 0 ;
1459 PyObject * obj1 = 0 ;
1460 PyObject * obj2 = 0 ;
1461 PyObject * obj3 = 0 ;
1462 PyObject * obj4 = 0 ;
1463 PyObject * obj5 = 0 ;
1464 char *kwnames[] = {
1465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1466 };
1467
1468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1471 if (obj1) {
1472 arg2 = (int)SWIG_As_int(obj1);
1473 if (PyErr_Occurred()) SWIG_fail;
1474 }
1475 if (obj2) {
1476 {
1477 arg3 = &temp3;
1478 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1479 }
1480 }
1481 if (obj3) {
1482 {
1483 arg4 = &temp4;
1484 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1485 }
1486 }
1487 if (obj4) {
1488 arg5 = (long)SWIG_As_long(obj4);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 if (obj5) {
1492 {
1493 arg6 = wxString_in_helper(obj5);
1494 if (arg6 == NULL) SWIG_fail;
1495 temp6 = True;
1496 }
1497 }
1498 {
1499 if (!wxPyCheckForApp()) SWIG_fail;
1500 PyThreadState* __tstate = wxPyBeginAllowThreads();
1501 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1502
1503 wxPyEndAllowThreads(__tstate);
1504 if (PyErr_Occurred()) SWIG_fail;
1505 }
1506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1507 {
1508 if (temp6)
1509 delete arg6;
1510 }
1511 return resultobj;
1512 fail:
1513 {
1514 if (temp6)
1515 delete arg6;
1516 }
1517 return NULL;
1518 }
1519
1520
1521 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1522 PyObject *resultobj;
1523 wxPanel *result;
1524 char *kwnames[] = {
1525 NULL
1526 };
1527
1528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1529 {
1530 if (!wxPyCheckForApp()) SWIG_fail;
1531 PyThreadState* __tstate = wxPyBeginAllowThreads();
1532 result = (wxPanel *)new wxPanel();
1533
1534 wxPyEndAllowThreads(__tstate);
1535 if (PyErr_Occurred()) SWIG_fail;
1536 }
1537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1538 return resultobj;
1539 fail:
1540 return NULL;
1541 }
1542
1543
1544 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1545 PyObject *resultobj;
1546 wxPanel *arg1 = (wxPanel *) 0 ;
1547 wxWindow *arg2 = (wxWindow *) 0 ;
1548 int arg3 = (int) (int)-1 ;
1549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1551 wxSize const &arg5_defvalue = wxDefaultSize ;
1552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1553 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1554 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1555 wxString *arg7 = (wxString *) &arg7_defvalue ;
1556 bool result;
1557 wxPoint temp4 ;
1558 wxSize temp5 ;
1559 bool temp7 = False ;
1560 PyObject * obj0 = 0 ;
1561 PyObject * obj1 = 0 ;
1562 PyObject * obj2 = 0 ;
1563 PyObject * obj3 = 0 ;
1564 PyObject * obj4 = 0 ;
1565 PyObject * obj5 = 0 ;
1566 PyObject * obj6 = 0 ;
1567 char *kwnames[] = {
1568 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1569 };
1570
1571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1574 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1576 if (obj2) {
1577 arg3 = (int)SWIG_As_int(obj2);
1578 if (PyErr_Occurred()) SWIG_fail;
1579 }
1580 if (obj3) {
1581 {
1582 arg4 = &temp4;
1583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1584 }
1585 }
1586 if (obj4) {
1587 {
1588 arg5 = &temp5;
1589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1590 }
1591 }
1592 if (obj5) {
1593 arg6 = (long)SWIG_As_long(obj5);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 }
1596 if (obj6) {
1597 {
1598 arg7 = wxString_in_helper(obj6);
1599 if (arg7 == NULL) SWIG_fail;
1600 temp7 = True;
1601 }
1602 }
1603 {
1604 PyThreadState* __tstate = wxPyBeginAllowThreads();
1605 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1606
1607 wxPyEndAllowThreads(__tstate);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 {
1611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1612 }
1613 {
1614 if (temp7)
1615 delete arg7;
1616 }
1617 return resultobj;
1618 fail:
1619 {
1620 if (temp7)
1621 delete arg7;
1622 }
1623 return NULL;
1624 }
1625
1626
1627 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1628 PyObject *resultobj;
1629 wxPanel *arg1 = (wxPanel *) 0 ;
1630 PyObject * obj0 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "self", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 (arg1)->InitDialog();
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 Py_INCREF(Py_None); resultobj = Py_None;
1646 return resultobj;
1647 fail:
1648 return NULL;
1649 }
1650
1651
1652 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1653 PyObject *resultobj;
1654 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1655 wxVisualAttributes result;
1656 PyObject * obj0 = 0 ;
1657 char *kwnames[] = {
1658 (char *) "variant", NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1662 if (obj0) {
1663 arg1 = (int)SWIG_As_int(obj0);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 if (!wxPyCheckForApp()) SWIG_fail;
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 {
1675 wxVisualAttributes * resultptr;
1676 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1678 }
1679 return resultobj;
1680 fail:
1681 return NULL;
1682 }
1683
1684
1685 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1686 PyObject *obj;
1687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1688 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1689 Py_INCREF(obj);
1690 return Py_BuildValue((char *)"");
1691 }
1692 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1693 PyObject *resultobj;
1694 wxWindow *arg1 = (wxWindow *) 0 ;
1695 int arg2 = (int) (int)-1 ;
1696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1698 wxSize const &arg4_defvalue = wxDefaultSize ;
1699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1700 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1701 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1702 wxString *arg6 = (wxString *) &arg6_defvalue ;
1703 wxScrolledWindow *result;
1704 wxPoint temp3 ;
1705 wxSize temp4 ;
1706 bool temp6 = False ;
1707 PyObject * obj0 = 0 ;
1708 PyObject * obj1 = 0 ;
1709 PyObject * obj2 = 0 ;
1710 PyObject * obj3 = 0 ;
1711 PyObject * obj4 = 0 ;
1712 PyObject * obj5 = 0 ;
1713 char *kwnames[] = {
1714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1715 };
1716
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1720 if (obj1) {
1721 arg2 = (int)SWIG_As_int(obj1);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
1724 if (obj2) {
1725 {
1726 arg3 = &temp3;
1727 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1728 }
1729 }
1730 if (obj3) {
1731 {
1732 arg4 = &temp4;
1733 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1734 }
1735 }
1736 if (obj4) {
1737 arg5 = (long)SWIG_As_long(obj4);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 }
1740 if (obj5) {
1741 {
1742 arg6 = wxString_in_helper(obj5);
1743 if (arg6 == NULL) SWIG_fail;
1744 temp6 = True;
1745 }
1746 }
1747 {
1748 if (!wxPyCheckForApp()) SWIG_fail;
1749 PyThreadState* __tstate = wxPyBeginAllowThreads();
1750 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1751
1752 wxPyEndAllowThreads(__tstate);
1753 if (PyErr_Occurred()) SWIG_fail;
1754 }
1755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1756 {
1757 if (temp6)
1758 delete arg6;
1759 }
1760 return resultobj;
1761 fail:
1762 {
1763 if (temp6)
1764 delete arg6;
1765 }
1766 return NULL;
1767 }
1768
1769
1770 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1771 PyObject *resultobj;
1772 wxScrolledWindow *result;
1773 char *kwnames[] = {
1774 NULL
1775 };
1776
1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1778 {
1779 if (!wxPyCheckForApp()) SWIG_fail;
1780 PyThreadState* __tstate = wxPyBeginAllowThreads();
1781 result = (wxScrolledWindow *)new wxScrolledWindow();
1782
1783 wxPyEndAllowThreads(__tstate);
1784 if (PyErr_Occurred()) SWIG_fail;
1785 }
1786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1787 return resultobj;
1788 fail:
1789 return NULL;
1790 }
1791
1792
1793 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1794 PyObject *resultobj;
1795 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1796 wxWindow *arg2 = (wxWindow *) 0 ;
1797 int arg3 = (int) (int)-1 ;
1798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1800 wxSize const &arg5_defvalue = wxDefaultSize ;
1801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1802 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1803 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1804 wxString *arg7 = (wxString *) &arg7_defvalue ;
1805 bool result;
1806 wxPoint temp4 ;
1807 wxSize temp5 ;
1808 bool temp7 = False ;
1809 PyObject * obj0 = 0 ;
1810 PyObject * obj1 = 0 ;
1811 PyObject * obj2 = 0 ;
1812 PyObject * obj3 = 0 ;
1813 PyObject * obj4 = 0 ;
1814 PyObject * obj5 = 0 ;
1815 PyObject * obj6 = 0 ;
1816 char *kwnames[] = {
1817 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1818 };
1819
1820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1825 if (obj2) {
1826 arg3 = (int)SWIG_As_int(obj2);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 if (obj3) {
1830 {
1831 arg4 = &temp4;
1832 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1833 }
1834 }
1835 if (obj4) {
1836 {
1837 arg5 = &temp5;
1838 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1839 }
1840 }
1841 if (obj5) {
1842 arg6 = (long)SWIG_As_long(obj5);
1843 if (PyErr_Occurred()) SWIG_fail;
1844 }
1845 if (obj6) {
1846 {
1847 arg7 = wxString_in_helper(obj6);
1848 if (arg7 == NULL) SWIG_fail;
1849 temp7 = True;
1850 }
1851 }
1852 {
1853 PyThreadState* __tstate = wxPyBeginAllowThreads();
1854 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1855
1856 wxPyEndAllowThreads(__tstate);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 }
1859 {
1860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1861 }
1862 {
1863 if (temp7)
1864 delete arg7;
1865 }
1866 return resultobj;
1867 fail:
1868 {
1869 if (temp7)
1870 delete arg7;
1871 }
1872 return NULL;
1873 }
1874
1875
1876 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1877 PyObject *resultobj;
1878 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1879 int arg2 ;
1880 int arg3 ;
1881 int arg4 ;
1882 int arg5 ;
1883 int arg6 = (int) 0 ;
1884 int arg7 = (int) 0 ;
1885 bool arg8 = (bool) False ;
1886 PyObject * obj0 = 0 ;
1887 PyObject * obj1 = 0 ;
1888 PyObject * obj2 = 0 ;
1889 PyObject * obj3 = 0 ;
1890 PyObject * obj4 = 0 ;
1891 PyObject * obj5 = 0 ;
1892 PyObject * obj6 = 0 ;
1893 PyObject * obj7 = 0 ;
1894 char *kwnames[] = {
1895 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1901 arg2 = (int)SWIG_As_int(obj1);
1902 if (PyErr_Occurred()) SWIG_fail;
1903 arg3 = (int)SWIG_As_int(obj2);
1904 if (PyErr_Occurred()) SWIG_fail;
1905 arg4 = (int)SWIG_As_int(obj3);
1906 if (PyErr_Occurred()) SWIG_fail;
1907 arg5 = (int)SWIG_As_int(obj4);
1908 if (PyErr_Occurred()) SWIG_fail;
1909 if (obj5) {
1910 arg6 = (int)SWIG_As_int(obj5);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 if (obj6) {
1914 arg7 = (int)SWIG_As_int(obj6);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
1917 if (obj7) {
1918 arg8 = (bool)SWIG_As_bool(obj7);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 {
1922 PyThreadState* __tstate = wxPyBeginAllowThreads();
1923 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1924
1925 wxPyEndAllowThreads(__tstate);
1926 if (PyErr_Occurred()) SWIG_fail;
1927 }
1928 Py_INCREF(Py_None); resultobj = Py_None;
1929 return resultobj;
1930 fail:
1931 return NULL;
1932 }
1933
1934
1935 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1936 PyObject *resultobj;
1937 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1938 int arg2 ;
1939 int arg3 ;
1940 PyObject * obj0 = 0 ;
1941 PyObject * obj1 = 0 ;
1942 PyObject * obj2 = 0 ;
1943 char *kwnames[] = {
1944 (char *) "self",(char *) "x",(char *) "y", NULL
1945 };
1946
1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1950 arg2 = (int)SWIG_As_int(obj1);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 arg3 = (int)SWIG_As_int(obj2);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 (arg1)->Scroll(arg2,arg3);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 }
1961 Py_INCREF(Py_None); resultobj = Py_None;
1962 return resultobj;
1963 fail:
1964 return NULL;
1965 }
1966
1967
1968 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1971 int arg2 ;
1972 int result;
1973 PyObject * obj0 = 0 ;
1974 PyObject * obj1 = 0 ;
1975 char *kwnames[] = {
1976 (char *) "self",(char *) "orient", NULL
1977 };
1978
1979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1982 arg2 = (int)SWIG_As_int(obj1);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 {
1985 PyThreadState* __tstate = wxPyBeginAllowThreads();
1986 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1987
1988 wxPyEndAllowThreads(__tstate);
1989 if (PyErr_Occurred()) SWIG_fail;
1990 }
1991 resultobj = SWIG_From_int((int)result);
1992 return resultobj;
1993 fail:
1994 return NULL;
1995 }
1996
1997
1998 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1999 PyObject *resultobj;
2000 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2001 int arg2 ;
2002 int arg3 ;
2003 PyObject * obj0 = 0 ;
2004 PyObject * obj1 = 0 ;
2005 PyObject * obj2 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2013 arg2 = (int)SWIG_As_int(obj1);
2014 if (PyErr_Occurred()) SWIG_fail;
2015 arg3 = (int)SWIG_As_int(obj2);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 (arg1)->SetScrollPageSize(arg2,arg3);
2020
2021 wxPyEndAllowThreads(__tstate);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 Py_INCREF(Py_None); resultobj = Py_None;
2025 return resultobj;
2026 fail:
2027 return NULL;
2028 }
2029
2030
2031 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2034 int arg2 ;
2035 int arg3 ;
2036 PyObject * obj0 = 0 ;
2037 PyObject * obj1 = 0 ;
2038 PyObject * obj2 = 0 ;
2039 char *kwnames[] = {
2040 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2041 };
2042
2043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2046 arg2 = (int)SWIG_As_int(obj1);
2047 if (PyErr_Occurred()) SWIG_fail;
2048 arg3 = (int)SWIG_As_int(obj2);
2049 if (PyErr_Occurred()) SWIG_fail;
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
2052 (arg1)->SetScrollRate(arg2,arg3);
2053
2054 wxPyEndAllowThreads(__tstate);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 }
2057 Py_INCREF(Py_None); resultobj = Py_None;
2058 return resultobj;
2059 fail:
2060 return NULL;
2061 }
2062
2063
2064 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2065 PyObject *resultobj;
2066 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2067 int *arg2 = (int *) 0 ;
2068 int *arg3 = (int *) 0 ;
2069 int temp2 ;
2070 int res2 = 0 ;
2071 int temp3 ;
2072 int res3 = 0 ;
2073 PyObject * obj0 = 0 ;
2074 char *kwnames[] = {
2075 (char *) "self", NULL
2076 };
2077
2078 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2079 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2083 {
2084 PyThreadState* __tstate = wxPyBeginAllowThreads();
2085 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2086
2087 wxPyEndAllowThreads(__tstate);
2088 if (PyErr_Occurred()) SWIG_fail;
2089 }
2090 Py_INCREF(Py_None); resultobj = Py_None;
2091 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2092 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2093 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2094 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2095 return resultobj;
2096 fail:
2097 return NULL;
2098 }
2099
2100
2101 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2102 PyObject *resultobj;
2103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2104 bool arg2 ;
2105 bool arg3 ;
2106 PyObject * obj0 = 0 ;
2107 PyObject * obj1 = 0 ;
2108 PyObject * obj2 = 0 ;
2109 char *kwnames[] = {
2110 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2111 };
2112
2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2116 arg2 = (bool)SWIG_As_bool(obj1);
2117 if (PyErr_Occurred()) SWIG_fail;
2118 arg3 = (bool)SWIG_As_bool(obj2);
2119 if (PyErr_Occurred()) SWIG_fail;
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 (arg1)->EnableScrolling(arg2,arg3);
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 Py_INCREF(Py_None); resultobj = Py_None;
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2135 PyObject *resultobj;
2136 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2137 int *arg2 = (int *) 0 ;
2138 int *arg3 = (int *) 0 ;
2139 int temp2 ;
2140 int res2 = 0 ;
2141 int temp3 ;
2142 int res3 = 0 ;
2143 PyObject * obj0 = 0 ;
2144 char *kwnames[] = {
2145 (char *) "self", NULL
2146 };
2147
2148 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2149 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2153 {
2154 PyThreadState* __tstate = wxPyBeginAllowThreads();
2155 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2156
2157 wxPyEndAllowThreads(__tstate);
2158 if (PyErr_Occurred()) SWIG_fail;
2159 }
2160 Py_INCREF(Py_None); resultobj = Py_None;
2161 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2162 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2163 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2164 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2165 return resultobj;
2166 fail:
2167 return NULL;
2168 }
2169
2170
2171 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2172 PyObject *resultobj;
2173 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2174 double arg2 ;
2175 double arg3 ;
2176 PyObject * obj0 = 0 ;
2177 PyObject * obj1 = 0 ;
2178 PyObject * obj2 = 0 ;
2179 char *kwnames[] = {
2180 (char *) "self",(char *) "xs",(char *) "ys", NULL
2181 };
2182
2183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2186 arg2 = (double)SWIG_As_double(obj1);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 arg3 = (double)SWIG_As_double(obj2);
2189 if (PyErr_Occurred()) SWIG_fail;
2190 {
2191 PyThreadState* __tstate = wxPyBeginAllowThreads();
2192 (arg1)->SetScale(arg2,arg3);
2193
2194 wxPyEndAllowThreads(__tstate);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 }
2197 Py_INCREF(Py_None); resultobj = Py_None;
2198 return resultobj;
2199 fail:
2200 return NULL;
2201 }
2202
2203
2204 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2205 PyObject *resultobj;
2206 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2207 double result;
2208 PyObject * obj0 = 0 ;
2209 char *kwnames[] = {
2210 (char *) "self", NULL
2211 };
2212
2213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2216 {
2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
2218 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2219
2220 wxPyEndAllowThreads(__tstate);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 }
2223 resultobj = SWIG_From_double((double)result);
2224 return resultobj;
2225 fail:
2226 return NULL;
2227 }
2228
2229
2230 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2233 double result;
2234 PyObject * obj0 = 0 ;
2235 char *kwnames[] = {
2236 (char *) "self", NULL
2237 };
2238
2239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2242 {
2243 PyThreadState* __tstate = wxPyBeginAllowThreads();
2244 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2245
2246 wxPyEndAllowThreads(__tstate);
2247 if (PyErr_Occurred()) SWIG_fail;
2248 }
2249 resultobj = SWIG_From_double((double)result);
2250 return resultobj;
2251 fail:
2252 return NULL;
2253 }
2254
2255
2256 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2257 PyObject *resultobj;
2258 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2259 wxPoint *arg2 = 0 ;
2260 wxPoint result;
2261 wxPoint temp2 ;
2262 PyObject * obj0 = 0 ;
2263 PyObject * obj1 = 0 ;
2264
2265 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2268 {
2269 arg2 = &temp2;
2270 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2271 }
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) SWIG_fail;
2278 }
2279 {
2280 wxPoint * resultptr;
2281 resultptr = new wxPoint((wxPoint &) result);
2282 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2283 }
2284 return resultobj;
2285 fail:
2286 return NULL;
2287 }
2288
2289
2290 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2291 PyObject *resultobj;
2292 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2293 int arg2 ;
2294 int arg3 ;
2295 int *arg4 = (int *) 0 ;
2296 int *arg5 = (int *) 0 ;
2297 int temp4 ;
2298 int res4 = 0 ;
2299 int temp5 ;
2300 int res5 = 0 ;
2301 PyObject * obj0 = 0 ;
2302 PyObject * obj1 = 0 ;
2303 PyObject * obj2 = 0 ;
2304
2305 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2306 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2307 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2310 arg2 = (int)SWIG_As_int(obj1);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 arg3 = (int)SWIG_As_int(obj2);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 {
2315 PyThreadState* __tstate = wxPyBeginAllowThreads();
2316 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2317
2318 wxPyEndAllowThreads(__tstate);
2319 if (PyErr_Occurred()) SWIG_fail;
2320 }
2321 Py_INCREF(Py_None); resultobj = Py_None;
2322 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2323 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2324 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2325 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2326 return resultobj;
2327 fail:
2328 return NULL;
2329 }
2330
2331
2332 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2333 int argc;
2334 PyObject *argv[4];
2335 int ii;
2336
2337 argc = PyObject_Length(args);
2338 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2339 argv[ii] = PyTuple_GetItem(args,ii);
2340 }
2341 if (argc == 2) {
2342 int _v;
2343 {
2344 void *ptr;
2345 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2346 _v = 0;
2347 PyErr_Clear();
2348 } else {
2349 _v = 1;
2350 }
2351 }
2352 if (_v) {
2353 {
2354 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2355 }
2356 if (_v) {
2357 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2358 }
2359 }
2360 }
2361 if (argc == 3) {
2362 int _v;
2363 {
2364 void *ptr;
2365 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2366 _v = 0;
2367 PyErr_Clear();
2368 } else {
2369 _v = 1;
2370 }
2371 }
2372 if (_v) {
2373 _v = SWIG_Check_int(argv[1]);
2374 if (_v) {
2375 _v = SWIG_Check_int(argv[2]);
2376 if (_v) {
2377 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2378 }
2379 }
2380 }
2381 }
2382
2383 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2384 return NULL;
2385 }
2386
2387
2388 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2389 PyObject *resultobj;
2390 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2391 wxPoint *arg2 = 0 ;
2392 wxPoint result;
2393 wxPoint temp2 ;
2394 PyObject * obj0 = 0 ;
2395 PyObject * obj1 = 0 ;
2396
2397 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2400 {
2401 arg2 = &temp2;
2402 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2403 }
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 {
2412 wxPoint * resultptr;
2413 resultptr = new wxPoint((wxPoint &) result);
2414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2415 }
2416 return resultobj;
2417 fail:
2418 return NULL;
2419 }
2420
2421
2422 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2423 PyObject *resultobj;
2424 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2425 int arg2 ;
2426 int arg3 ;
2427 int *arg4 = (int *) 0 ;
2428 int *arg5 = (int *) 0 ;
2429 int temp4 ;
2430 int res4 = 0 ;
2431 int temp5 ;
2432 int res5 = 0 ;
2433 PyObject * obj0 = 0 ;
2434 PyObject * obj1 = 0 ;
2435 PyObject * obj2 = 0 ;
2436
2437 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2438 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2439 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2442 arg2 = (int)SWIG_As_int(obj1);
2443 if (PyErr_Occurred()) SWIG_fail;
2444 arg3 = (int)SWIG_As_int(obj2);
2445 if (PyErr_Occurred()) SWIG_fail;
2446 {
2447 PyThreadState* __tstate = wxPyBeginAllowThreads();
2448 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2449
2450 wxPyEndAllowThreads(__tstate);
2451 if (PyErr_Occurred()) SWIG_fail;
2452 }
2453 Py_INCREF(Py_None); resultobj = Py_None;
2454 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2455 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2456 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2457 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2458 return resultobj;
2459 fail:
2460 return NULL;
2461 }
2462
2463
2464 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2465 int argc;
2466 PyObject *argv[4];
2467 int ii;
2468
2469 argc = PyObject_Length(args);
2470 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2471 argv[ii] = PyTuple_GetItem(args,ii);
2472 }
2473 if (argc == 2) {
2474 int _v;
2475 {
2476 void *ptr;
2477 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2478 _v = 0;
2479 PyErr_Clear();
2480 } else {
2481 _v = 1;
2482 }
2483 }
2484 if (_v) {
2485 {
2486 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2487 }
2488 if (_v) {
2489 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2490 }
2491 }
2492 }
2493 if (argc == 3) {
2494 int _v;
2495 {
2496 void *ptr;
2497 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2498 _v = 0;
2499 PyErr_Clear();
2500 } else {
2501 _v = 1;
2502 }
2503 }
2504 if (_v) {
2505 _v = SWIG_Check_int(argv[1]);
2506 if (_v) {
2507 _v = SWIG_Check_int(argv[2]);
2508 if (_v) {
2509 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2510 }
2511 }
2512 }
2513 }
2514
2515 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2516 return NULL;
2517 }
2518
2519
2520 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2521 PyObject *resultobj;
2522 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2523 PyObject * obj0 = 0 ;
2524 char *kwnames[] = {
2525 (char *) "self", NULL
2526 };
2527
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2531 {
2532 PyThreadState* __tstate = wxPyBeginAllowThreads();
2533 (arg1)->AdjustScrollbars();
2534
2535 wxPyEndAllowThreads(__tstate);
2536 if (PyErr_Occurred()) SWIG_fail;
2537 }
2538 Py_INCREF(Py_None); resultobj = Py_None;
2539 return resultobj;
2540 fail:
2541 return NULL;
2542 }
2543
2544
2545 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2546 PyObject *resultobj;
2547 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2548 wxScrollWinEvent *arg2 = 0 ;
2549 int result;
2550 PyObject * obj0 = 0 ;
2551 PyObject * obj1 = 0 ;
2552 char *kwnames[] = {
2553 (char *) "self",(char *) "event", NULL
2554 };
2555
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2560 SWIG_POINTER_EXCEPTION | 0)) == -1)
2561 SWIG_fail;
2562 if (arg2 == NULL) {
2563 PyErr_SetString(PyExc_TypeError,"null reference");
2564 SWIG_fail;
2565 }
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 result = (int)(arg1)->CalcScrollInc(*arg2);
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 resultobj = SWIG_From_int((int)result);
2574 return resultobj;
2575 fail:
2576 return NULL;
2577 }
2578
2579
2580 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2583 wxWindow *arg2 = (wxWindow *) 0 ;
2584 PyObject * obj0 = 0 ;
2585 PyObject * obj1 = 0 ;
2586 char *kwnames[] = {
2587 (char *) "self",(char *) "target", NULL
2588 };
2589
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2595 {
2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
2597 (arg1)->SetTargetWindow(arg2);
2598
2599 wxPyEndAllowThreads(__tstate);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 Py_INCREF(Py_None); resultobj = Py_None;
2603 return resultobj;
2604 fail:
2605 return NULL;
2606 }
2607
2608
2609 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2610 PyObject *resultobj;
2611 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2612 wxWindow *result;
2613 PyObject * obj0 = 0 ;
2614 char *kwnames[] = {
2615 (char *) "self", NULL
2616 };
2617
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 {
2629 resultobj = wxPyMake_wxObject(result, 0);
2630 }
2631 return resultobj;
2632 fail:
2633 return NULL;
2634 }
2635
2636
2637 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2640 wxRect *arg2 = 0 ;
2641 wxRect temp2 ;
2642 PyObject * obj0 = 0 ;
2643 PyObject * obj1 = 0 ;
2644 char *kwnames[] = {
2645 (char *) "self",(char *) "rect", NULL
2646 };
2647
2648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2651 {
2652 arg2 = &temp2;
2653 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2654 }
2655 {
2656 PyThreadState* __tstate = wxPyBeginAllowThreads();
2657 (arg1)->SetTargetRect((wxRect const &)*arg2);
2658
2659 wxPyEndAllowThreads(__tstate);
2660 if (PyErr_Occurred()) SWIG_fail;
2661 }
2662 Py_INCREF(Py_None); resultobj = Py_None;
2663 return resultobj;
2664 fail:
2665 return NULL;
2666 }
2667
2668
2669 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2670 PyObject *resultobj;
2671 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2672 wxRect result;
2673 PyObject * obj0 = 0 ;
2674 char *kwnames[] = {
2675 (char *) "self", NULL
2676 };
2677
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2681 {
2682 PyThreadState* __tstate = wxPyBeginAllowThreads();
2683 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2684
2685 wxPyEndAllowThreads(__tstate);
2686 if (PyErr_Occurred()) SWIG_fail;
2687 }
2688 {
2689 wxRect * resultptr;
2690 resultptr = new wxRect((wxRect &) result);
2691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2692 }
2693 return resultobj;
2694 fail:
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2700 PyObject *resultobj;
2701 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2702 wxDC *arg2 = 0 ;
2703 PyObject * obj0 = 0 ;
2704 PyObject * obj1 = 0 ;
2705 char *kwnames[] = {
2706 (char *) "self",(char *) "dc", NULL
2707 };
2708
2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2713 SWIG_POINTER_EXCEPTION | 0)) == -1)
2714 SWIG_fail;
2715 if (arg2 == NULL) {
2716 PyErr_SetString(PyExc_TypeError,"null reference");
2717 SWIG_fail;
2718 }
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 (arg1)->DoPrepareDC(*arg2);
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 Py_INCREF(Py_None); resultobj = Py_None;
2727 return resultobj;
2728 fail:
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2736 wxVisualAttributes result;
2737 PyObject * obj0 = 0 ;
2738 char *kwnames[] = {
2739 (char *) "variant", NULL
2740 };
2741
2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2743 if (obj0) {
2744 arg1 = (int)SWIG_As_int(obj0);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 }
2747 {
2748 if (!wxPyCheckForApp()) SWIG_fail;
2749 PyThreadState* __tstate = wxPyBeginAllowThreads();
2750 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2751
2752 wxPyEndAllowThreads(__tstate);
2753 if (PyErr_Occurred()) SWIG_fail;
2754 }
2755 {
2756 wxVisualAttributes * resultptr;
2757 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2759 }
2760 return resultobj;
2761 fail:
2762 return NULL;
2763 }
2764
2765
2766 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2767 PyObject *obj;
2768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2769 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2770 Py_INCREF(obj);
2771 return Py_BuildValue((char *)"");
2772 }
2773 static int _wrap_FrameNameStr_set(PyObject *) {
2774 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2775 return 1;
2776 }
2777
2778
2779 static PyObject *_wrap_FrameNameStr_get() {
2780 PyObject *pyobj;
2781
2782 {
2783 #if wxUSE_UNICODE
2784 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2785 #else
2786 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2787 #endif
2788 }
2789 return pyobj;
2790 }
2791
2792
2793 static int _wrap_DialogNameStr_set(PyObject *) {
2794 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2795 return 1;
2796 }
2797
2798
2799 static PyObject *_wrap_DialogNameStr_get() {
2800 PyObject *pyobj;
2801
2802 {
2803 #if wxUSE_UNICODE
2804 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2805 #else
2806 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2807 #endif
2808 }
2809 return pyobj;
2810 }
2811
2812
2813 static int _wrap_StatusLineNameStr_set(PyObject *) {
2814 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2815 return 1;
2816 }
2817
2818
2819 static PyObject *_wrap_StatusLineNameStr_get() {
2820 PyObject *pyobj;
2821
2822 {
2823 #if wxUSE_UNICODE
2824 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2825 #else
2826 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2827 #endif
2828 }
2829 return pyobj;
2830 }
2831
2832
2833 static int _wrap_ToolBarNameStr_set(PyObject *) {
2834 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2835 return 1;
2836 }
2837
2838
2839 static PyObject *_wrap_ToolBarNameStr_get() {
2840 PyObject *pyobj;
2841
2842 {
2843 #if wxUSE_UNICODE
2844 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2845 #else
2846 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2847 #endif
2848 }
2849 return pyobj;
2850 }
2851
2852
2853 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2854 PyObject *resultobj;
2855 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2856 bool arg2 = (bool) True ;
2857 PyObject * obj0 = 0 ;
2858 PyObject * obj1 = 0 ;
2859 char *kwnames[] = {
2860 (char *) "self",(char *) "maximize", NULL
2861 };
2862
2863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2866 if (obj1) {
2867 arg2 = (bool)SWIG_As_bool(obj1);
2868 if (PyErr_Occurred()) SWIG_fail;
2869 }
2870 {
2871 PyThreadState* __tstate = wxPyBeginAllowThreads();
2872 (arg1)->Maximize(arg2);
2873
2874 wxPyEndAllowThreads(__tstate);
2875 if (PyErr_Occurred()) SWIG_fail;
2876 }
2877 Py_INCREF(Py_None); resultobj = Py_None;
2878 return resultobj;
2879 fail:
2880 return NULL;
2881 }
2882
2883
2884 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2885 PyObject *resultobj;
2886 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2887 PyObject * obj0 = 0 ;
2888 char *kwnames[] = {
2889 (char *) "self", NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2895 {
2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
2897 (arg1)->Restore();
2898
2899 wxPyEndAllowThreads(__tstate);
2900 if (PyErr_Occurred()) SWIG_fail;
2901 }
2902 Py_INCREF(Py_None); resultobj = Py_None;
2903 return resultobj;
2904 fail:
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2912 bool arg2 = (bool) True ;
2913 PyObject * obj0 = 0 ;
2914 PyObject * obj1 = 0 ;
2915 char *kwnames[] = {
2916 (char *) "self",(char *) "iconize", NULL
2917 };
2918
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2922 if (obj1) {
2923 arg2 = (bool)SWIG_As_bool(obj1);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 }
2926 {
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 (arg1)->Iconize(arg2);
2929
2930 wxPyEndAllowThreads(__tstate);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 Py_INCREF(Py_None); resultobj = Py_None;
2934 return resultobj;
2935 fail:
2936 return NULL;
2937 }
2938
2939
2940 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2941 PyObject *resultobj;
2942 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2943 bool result;
2944 PyObject * obj0 = 0 ;
2945 char *kwnames[] = {
2946 (char *) "self", NULL
2947 };
2948
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 {
2960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2961 }
2962 return resultobj;
2963 fail:
2964 return NULL;
2965 }
2966
2967
2968 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2971 bool result;
2972 PyObject * obj0 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 {
2988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2989 }
2990 return resultobj;
2991 fail:
2992 return NULL;
2993 }
2994
2995
2996 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2997 PyObject *resultobj;
2998 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2999 wxIcon result;
3000 PyObject * obj0 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3008 {
3009 PyThreadState* __tstate = wxPyBeginAllowThreads();
3010 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3011
3012 wxPyEndAllowThreads(__tstate);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 {
3016 wxIcon * resultptr;
3017 resultptr = new wxIcon((wxIcon &) result);
3018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3019 }
3020 return resultobj;
3021 fail:
3022 return NULL;
3023 }
3024
3025
3026 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3027 PyObject *resultobj;
3028 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3029 wxIcon *arg2 = 0 ;
3030 PyObject * obj0 = 0 ;
3031 PyObject * obj1 = 0 ;
3032 char *kwnames[] = {
3033 (char *) "self",(char *) "icon", NULL
3034 };
3035
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3040 SWIG_POINTER_EXCEPTION | 0)) == -1)
3041 SWIG_fail;
3042 if (arg2 == NULL) {
3043 PyErr_SetString(PyExc_TypeError,"null reference");
3044 SWIG_fail;
3045 }
3046 {
3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
3048 (arg1)->SetIcon((wxIcon const &)*arg2);
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 Py_INCREF(Py_None); resultobj = Py_None;
3054 return resultobj;
3055 fail:
3056 return NULL;
3057 }
3058
3059
3060 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3061 PyObject *resultobj;
3062 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3063 wxIconBundle *arg2 = 0 ;
3064 PyObject * obj0 = 0 ;
3065 PyObject * obj1 = 0 ;
3066 char *kwnames[] = {
3067 (char *) "self",(char *) "icons", NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3074 SWIG_POINTER_EXCEPTION | 0)) == -1)
3075 SWIG_fail;
3076 if (arg2 == NULL) {
3077 PyErr_SetString(PyExc_TypeError,"null reference");
3078 SWIG_fail;
3079 }
3080 {
3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
3082 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3083
3084 wxPyEndAllowThreads(__tstate);
3085 if (PyErr_Occurred()) SWIG_fail;
3086 }
3087 Py_INCREF(Py_None); resultobj = Py_None;
3088 return resultobj;
3089 fail:
3090 return NULL;
3091 }
3092
3093
3094 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3095 PyObject *resultobj;
3096 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3097 bool arg2 ;
3098 long arg3 = (long) wxFULLSCREEN_ALL ;
3099 bool result;
3100 PyObject * obj0 = 0 ;
3101 PyObject * obj1 = 0 ;
3102 PyObject * obj2 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self",(char *) "show",(char *) "style", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3110 arg2 = (bool)SWIG_As_bool(obj1);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 if (obj2) {
3113 arg3 = (long)SWIG_As_long(obj2);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 {
3124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3125 }
3126 return resultobj;
3127 fail:
3128 return NULL;
3129 }
3130
3131
3132 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3133 PyObject *resultobj;
3134 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3135 bool result;
3136 PyObject * obj0 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3144 {
3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
3146 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3147
3148 wxPyEndAllowThreads(__tstate);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 {
3152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3153 }
3154 return resultobj;
3155 fail:
3156 return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3161 PyObject *resultobj;
3162 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3163 wxString *arg2 = 0 ;
3164 bool temp2 = False ;
3165 PyObject * obj0 = 0 ;
3166 PyObject * obj1 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self",(char *) "title", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3174 {
3175 arg2 = wxString_in_helper(obj1);
3176 if (arg2 == NULL) SWIG_fail;
3177 temp2 = True;
3178 }
3179 {
3180 PyThreadState* __tstate = wxPyBeginAllowThreads();
3181 (arg1)->SetTitle((wxString const &)*arg2);
3182
3183 wxPyEndAllowThreads(__tstate);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 Py_INCREF(Py_None); resultobj = Py_None;
3187 {
3188 if (temp2)
3189 delete arg2;
3190 }
3191 return resultobj;
3192 fail:
3193 {
3194 if (temp2)
3195 delete arg2;
3196 }
3197 return NULL;
3198 }
3199
3200
3201 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3202 PyObject *resultobj;
3203 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3204 wxString result;
3205 PyObject * obj0 = 0 ;
3206 char *kwnames[] = {
3207 (char *) "self", NULL
3208 };
3209
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 {
3221 #if wxUSE_UNICODE
3222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3223 #else
3224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3225 #endif
3226 }
3227 return resultobj;
3228 fail:
3229 return NULL;
3230 }
3231
3232
3233 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3234 PyObject *resultobj;
3235 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3236 wxRegion *arg2 = 0 ;
3237 bool result;
3238 PyObject * obj0 = 0 ;
3239 PyObject * obj1 = 0 ;
3240 char *kwnames[] = {
3241 (char *) "self",(char *) "region", NULL
3242 };
3243
3244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3248 SWIG_POINTER_EXCEPTION | 0)) == -1)
3249 SWIG_fail;
3250 if (arg2 == NULL) {
3251 PyErr_SetString(PyExc_TypeError,"null reference");
3252 SWIG_fail;
3253 }
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 {
3262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3263 }
3264 return resultobj;
3265 fail:
3266 return NULL;
3267 }
3268
3269
3270 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3271 PyObject *resultobj;
3272 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3273 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "self",(char *) "flags", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3283 if (obj1) {
3284 arg2 = (int)SWIG_As_int(obj1);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 {
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 (arg1)->RequestUserAttention(arg2);
3290
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 Py_INCREF(Py_None); resultobj = Py_None;
3295 return resultobj;
3296 fail:
3297 return NULL;
3298 }
3299
3300
3301 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3302 PyObject *resultobj;
3303 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3304 bool arg2 ;
3305 PyObject * obj0 = 0 ;
3306 PyObject * obj1 = 0 ;
3307 char *kwnames[] = {
3308 (char *) "self",(char *) "on", NULL
3309 };
3310
3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3314 arg2 = (bool)SWIG_As_bool(obj1);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 (arg1)->MacSetMetalAppearance(arg2);
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 Py_INCREF(Py_None); resultobj = Py_None;
3324 return resultobj;
3325 fail:
3326 return NULL;
3327 }
3328
3329
3330 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3333 bool result;
3334 PyObject * obj0 = 0 ;
3335 char *kwnames[] = {
3336 (char *) "self", NULL
3337 };
3338
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 {
3350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3351 }
3352 return resultobj;
3353 fail:
3354 return NULL;
3355 }
3356
3357
3358 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3359 PyObject *obj;
3360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3361 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3362 Py_INCREF(obj);
3363 return Py_BuildValue((char *)"");
3364 }
3365 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxWindow *arg1 = (wxWindow *) 0 ;
3368 int arg2 = (int) (int)-1 ;
3369 wxString const &arg3_defvalue = wxPyEmptyString ;
3370 wxString *arg3 = (wxString *) &arg3_defvalue ;
3371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3373 wxSize const &arg5_defvalue = wxDefaultSize ;
3374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3375 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3376 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3377 wxString *arg7 = (wxString *) &arg7_defvalue ;
3378 wxFrame *result;
3379 bool temp3 = False ;
3380 wxPoint temp4 ;
3381 wxSize temp5 ;
3382 bool temp7 = False ;
3383 PyObject * obj0 = 0 ;
3384 PyObject * obj1 = 0 ;
3385 PyObject * obj2 = 0 ;
3386 PyObject * obj3 = 0 ;
3387 PyObject * obj4 = 0 ;
3388 PyObject * obj5 = 0 ;
3389 PyObject * obj6 = 0 ;
3390 char *kwnames[] = {
3391 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3392 };
3393
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3397 if (obj1) {
3398 arg2 = (int)SWIG_As_int(obj1);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 }
3401 if (obj2) {
3402 {
3403 arg3 = wxString_in_helper(obj2);
3404 if (arg3 == NULL) SWIG_fail;
3405 temp3 = True;
3406 }
3407 }
3408 if (obj3) {
3409 {
3410 arg4 = &temp4;
3411 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3412 }
3413 }
3414 if (obj4) {
3415 {
3416 arg5 = &temp5;
3417 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3418 }
3419 }
3420 if (obj5) {
3421 arg6 = (long)SWIG_As_long(obj5);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 if (obj6) {
3425 {
3426 arg7 = wxString_in_helper(obj6);
3427 if (arg7 == NULL) SWIG_fail;
3428 temp7 = True;
3429 }
3430 }
3431 {
3432 if (!wxPyCheckForApp()) SWIG_fail;
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3435
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3440 {
3441 if (temp3)
3442 delete arg3;
3443 }
3444 {
3445 if (temp7)
3446 delete arg7;
3447 }
3448 return resultobj;
3449 fail:
3450 {
3451 if (temp3)
3452 delete arg3;
3453 }
3454 {
3455 if (temp7)
3456 delete arg7;
3457 }
3458 return NULL;
3459 }
3460
3461
3462 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3463 PyObject *resultobj;
3464 wxFrame *result;
3465 char *kwnames[] = {
3466 NULL
3467 };
3468
3469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3470 {
3471 if (!wxPyCheckForApp()) SWIG_fail;
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 result = (wxFrame *)new wxFrame();
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxFrame *arg1 = (wxFrame *) 0 ;
3488 wxWindow *arg2 = (wxWindow *) 0 ;
3489 int arg3 = (int) (int)-1 ;
3490 wxString const &arg4_defvalue = wxPyEmptyString ;
3491 wxString *arg4 = (wxString *) &arg4_defvalue ;
3492 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3493 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3494 wxSize const &arg6_defvalue = wxDefaultSize ;
3495 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3496 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3497 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3498 wxString *arg8 = (wxString *) &arg8_defvalue ;
3499 bool result;
3500 bool temp4 = False ;
3501 wxPoint temp5 ;
3502 wxSize temp6 ;
3503 bool temp8 = False ;
3504 PyObject * obj0 = 0 ;
3505 PyObject * obj1 = 0 ;
3506 PyObject * obj2 = 0 ;
3507 PyObject * obj3 = 0 ;
3508 PyObject * obj4 = 0 ;
3509 PyObject * obj5 = 0 ;
3510 PyObject * obj6 = 0 ;
3511 PyObject * obj7 = 0 ;
3512 char *kwnames[] = {
3513 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3514 };
3515
3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3521 if (obj2) {
3522 arg3 = (int)SWIG_As_int(obj2);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 if (obj3) {
3526 {
3527 arg4 = wxString_in_helper(obj3);
3528 if (arg4 == NULL) SWIG_fail;
3529 temp4 = True;
3530 }
3531 }
3532 if (obj4) {
3533 {
3534 arg5 = &temp5;
3535 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3536 }
3537 }
3538 if (obj5) {
3539 {
3540 arg6 = &temp6;
3541 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3542 }
3543 }
3544 if (obj6) {
3545 arg7 = (long)SWIG_As_long(obj6);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 if (obj7) {
3549 {
3550 arg8 = wxString_in_helper(obj7);
3551 if (arg8 == NULL) SWIG_fail;
3552 temp8 = True;
3553 }
3554 }
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 {
3563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3564 }
3565 {
3566 if (temp4)
3567 delete arg4;
3568 }
3569 {
3570 if (temp8)
3571 delete arg8;
3572 }
3573 return resultobj;
3574 fail:
3575 {
3576 if (temp4)
3577 delete arg4;
3578 }
3579 {
3580 if (temp8)
3581 delete arg8;
3582 }
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxFrame *arg1 = (wxFrame *) 0 ;
3590 wxPoint result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 {
3607 wxPoint * resultptr;
3608 resultptr = new wxPoint((wxPoint &) result);
3609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3610 }
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxFrame *arg1 = (wxFrame *) 0 ;
3620 PyObject * obj0 = 0 ;
3621 char *kwnames[] = {
3622 (char *) "self", NULL
3623 };
3624
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 (arg1)->SendSizeEvent();
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 Py_INCREF(Py_None); resultobj = Py_None;
3636 return resultobj;
3637 fail:
3638 return NULL;
3639 }
3640
3641
3642 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3643 PyObject *resultobj;
3644 wxFrame *arg1 = (wxFrame *) 0 ;
3645 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 char *kwnames[] = {
3649 (char *) "self",(char *) "menubar", NULL
3650 };
3651
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 (arg1)->SetMenuBar(arg2);
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 Py_INCREF(Py_None); resultobj = Py_None;
3665 return resultobj;
3666 fail:
3667 return NULL;
3668 }
3669
3670
3671 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3672 PyObject *resultobj;
3673 wxFrame *arg1 = (wxFrame *) 0 ;
3674 wxMenuBar *result;
3675 PyObject * obj0 = 0 ;
3676 char *kwnames[] = {
3677 (char *) "self", NULL
3678 };
3679
3680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3683 {
3684 PyThreadState* __tstate = wxPyBeginAllowThreads();
3685 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3686
3687 wxPyEndAllowThreads(__tstate);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
3690 {
3691 resultobj = wxPyMake_wxObject(result, 0);
3692 }
3693 return resultobj;
3694 fail:
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxFrame *arg1 = (wxFrame *) 0 ;
3702 int arg2 ;
3703 bool result;
3704 PyObject * obj0 = 0 ;
3705 PyObject * obj1 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self",(char *) "winid", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3713 arg2 = (int)SWIG_As_int(obj1);
3714 if (PyErr_Occurred()) SWIG_fail;
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 result = (bool)(arg1)->ProcessCommand(arg2);
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 {
3723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3724 }
3725 return resultobj;
3726 fail:
3727 return NULL;
3728 }
3729
3730
3731 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3732 PyObject *resultobj;
3733 wxFrame *arg1 = (wxFrame *) 0 ;
3734 int arg2 = (int) 1 ;
3735 long arg3 = (long) wxST_SIZEGRIP ;
3736 int arg4 = (int) 0 ;
3737 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3738 wxString *arg5 = (wxString *) &arg5_defvalue ;
3739 wxStatusBar *result;
3740 bool temp5 = False ;
3741 PyObject * obj0 = 0 ;
3742 PyObject * obj1 = 0 ;
3743 PyObject * obj2 = 0 ;
3744 PyObject * obj3 = 0 ;
3745 PyObject * obj4 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3753 if (obj1) {
3754 arg2 = (int)SWIG_As_int(obj1);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 if (obj2) {
3758 arg3 = (long)SWIG_As_long(obj2);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
3761 if (obj3) {
3762 arg4 = (int)SWIG_As_int(obj3);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 if (obj4) {
3766 {
3767 arg5 = wxString_in_helper(obj4);
3768 if (arg5 == NULL) SWIG_fail;
3769 temp5 = True;
3770 }
3771 }
3772 {
3773 PyThreadState* __tstate = wxPyBeginAllowThreads();
3774 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3775
3776 wxPyEndAllowThreads(__tstate);
3777 if (PyErr_Occurred()) SWIG_fail;
3778 }
3779 {
3780 resultobj = wxPyMake_wxObject(result, 0);
3781 }
3782 {
3783 if (temp5)
3784 delete arg5;
3785 }
3786 return resultobj;
3787 fail:
3788 {
3789 if (temp5)
3790 delete arg5;
3791 }
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxFrame *arg1 = (wxFrame *) 0 ;
3799 wxStatusBar *result;
3800 PyObject * obj0 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
3815 {
3816 resultobj = wxPyMake_wxObject(result, 0);
3817 }
3818 return resultobj;
3819 fail:
3820 return NULL;
3821 }
3822
3823
3824 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3825 PyObject *resultobj;
3826 wxFrame *arg1 = (wxFrame *) 0 ;
3827 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3828 PyObject * obj0 = 0 ;
3829 PyObject * obj1 = 0 ;
3830 char *kwnames[] = {
3831 (char *) "self",(char *) "statBar", NULL
3832 };
3833
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 (arg1)->SetStatusBar(arg2);
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 }
3846 Py_INCREF(Py_None); resultobj = Py_None;
3847 return resultobj;
3848 fail:
3849 return NULL;
3850 }
3851
3852
3853 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3854 PyObject *resultobj;
3855 wxFrame *arg1 = (wxFrame *) 0 ;
3856 wxString *arg2 = 0 ;
3857 int arg3 = (int) 0 ;
3858 bool temp2 = False ;
3859 PyObject * obj0 = 0 ;
3860 PyObject * obj1 = 0 ;
3861 PyObject * obj2 = 0 ;
3862 char *kwnames[] = {
3863 (char *) "self",(char *) "text",(char *) "number", NULL
3864 };
3865
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3869 {
3870 arg2 = wxString_in_helper(obj1);
3871 if (arg2 == NULL) SWIG_fail;
3872 temp2 = True;
3873 }
3874 if (obj2) {
3875 arg3 = (int)SWIG_As_int(obj2);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 {
3887 if (temp2)
3888 delete arg2;
3889 }
3890 return resultobj;
3891 fail:
3892 {
3893 if (temp2)
3894 delete arg2;
3895 }
3896 return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj;
3902 wxFrame *arg1 = (wxFrame *) 0 ;
3903 int arg2 ;
3904 int *arg3 = (int *) 0 ;
3905 PyObject * obj0 = 0 ;
3906 PyObject * obj1 = 0 ;
3907 char *kwnames[] = {
3908 (char *) "self",(char *) "widths", NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3914 {
3915 arg2 = PyList_Size(obj1);
3916 arg3 = int_LIST_helper(obj1);
3917 if (arg3 == NULL) SWIG_fail;
3918 }
3919 {
3920 PyThreadState* __tstate = wxPyBeginAllowThreads();
3921 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3922
3923 wxPyEndAllowThreads(__tstate);
3924 if (PyErr_Occurred()) SWIG_fail;
3925 }
3926 Py_INCREF(Py_None); resultobj = Py_None;
3927 {
3928 if (arg3) delete [] arg3;
3929 }
3930 return resultobj;
3931 fail:
3932 {
3933 if (arg3) delete [] arg3;
3934 }
3935 return NULL;
3936 }
3937
3938
3939 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 wxFrame *arg1 = (wxFrame *) 0 ;
3942 wxString *arg2 = 0 ;
3943 int arg3 = (int) 0 ;
3944 bool temp2 = False ;
3945 PyObject * obj0 = 0 ;
3946 PyObject * obj1 = 0 ;
3947 PyObject * obj2 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self",(char *) "text",(char *) "number", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3955 {
3956 arg2 = wxString_in_helper(obj1);
3957 if (arg2 == NULL) SWIG_fail;
3958 temp2 = True;
3959 }
3960 if (obj2) {
3961 arg3 = (int)SWIG_As_int(obj2);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 {
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3967
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 Py_INCREF(Py_None); resultobj = Py_None;
3972 {
3973 if (temp2)
3974 delete arg2;
3975 }
3976 return resultobj;
3977 fail:
3978 {
3979 if (temp2)
3980 delete arg2;
3981 }
3982 return NULL;
3983 }
3984
3985
3986 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3987 PyObject *resultobj;
3988 wxFrame *arg1 = (wxFrame *) 0 ;
3989 int arg2 = (int) 0 ;
3990 PyObject * obj0 = 0 ;
3991 PyObject * obj1 = 0 ;
3992 char *kwnames[] = {
3993 (char *) "self",(char *) "number", NULL
3994 };
3995
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3999 if (obj1) {
4000 arg2 = (int)SWIG_As_int(obj1);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 }
4003 {
4004 PyThreadState* __tstate = wxPyBeginAllowThreads();
4005 (arg1)->PopStatusText(arg2);
4006
4007 wxPyEndAllowThreads(__tstate);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4010 Py_INCREF(Py_None); resultobj = Py_None;
4011 return resultobj;
4012 fail:
4013 return NULL;
4014 }
4015
4016
4017 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4018 PyObject *resultobj;
4019 wxFrame *arg1 = (wxFrame *) 0 ;
4020 int arg2 ;
4021 PyObject * obj0 = 0 ;
4022 PyObject * obj1 = 0 ;
4023 char *kwnames[] = {
4024 (char *) "self",(char *) "n", NULL
4025 };
4026
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4030 arg2 = (int)SWIG_As_int(obj1);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 (arg1)->SetStatusBarPane(arg2);
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 Py_INCREF(Py_None); resultobj = Py_None;
4040 return resultobj;
4041 fail:
4042 return NULL;
4043 }
4044
4045
4046 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4047 PyObject *resultobj;
4048 wxFrame *arg1 = (wxFrame *) 0 ;
4049 int result;
4050 PyObject * obj0 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 resultobj = SWIG_From_int((int)result);
4066 return resultobj;
4067 fail:
4068 return NULL;
4069 }
4070
4071
4072 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj;
4074 wxFrame *arg1 = (wxFrame *) 0 ;
4075 long arg2 = (long) -1 ;
4076 int arg3 = (int) -1 ;
4077 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4078 wxString *arg4 = (wxString *) &arg4_defvalue ;
4079 wxToolBar *result;
4080 bool temp4 = False ;
4081 PyObject * obj0 = 0 ;
4082 PyObject * obj1 = 0 ;
4083 PyObject * obj2 = 0 ;
4084 PyObject * obj3 = 0 ;
4085 char *kwnames[] = {
4086 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4087 };
4088
4089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4092 if (obj1) {
4093 arg2 = (long)SWIG_As_long(obj1);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 if (obj2) {
4097 arg3 = (int)SWIG_As_int(obj2);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 if (obj3) {
4101 {
4102 arg4 = wxString_in_helper(obj3);
4103 if (arg4 == NULL) SWIG_fail;
4104 temp4 = True;
4105 }
4106 }
4107 {
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4110
4111 wxPyEndAllowThreads(__tstate);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 {
4115 resultobj = wxPyMake_wxObject(result, 0);
4116 }
4117 {
4118 if (temp4)
4119 delete arg4;
4120 }
4121 return resultobj;
4122 fail:
4123 {
4124 if (temp4)
4125 delete arg4;
4126 }
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxFrame *arg1 = (wxFrame *) 0 ;
4134 wxToolBar *result;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 {
4151 resultobj = wxPyMake_wxObject(result, 0);
4152 }
4153 return resultobj;
4154 fail:
4155 return NULL;
4156 }
4157
4158
4159 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4160 PyObject *resultobj;
4161 wxFrame *arg1 = (wxFrame *) 0 ;
4162 wxToolBar *arg2 = (wxToolBar *) 0 ;
4163 PyObject * obj0 = 0 ;
4164 PyObject * obj1 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "self",(char *) "toolbar", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 (arg1)->SetToolBar(arg2);
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 Py_INCREF(Py_None); resultobj = Py_None;
4182 return resultobj;
4183 fail:
4184 return NULL;
4185 }
4186
4187
4188 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 wxFrame *arg1 = (wxFrame *) 0 ;
4191 wxString *arg2 = 0 ;
4192 bool arg3 ;
4193 bool temp2 = False ;
4194 PyObject * obj0 = 0 ;
4195 PyObject * obj1 = 0 ;
4196 PyObject * obj2 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "self",(char *) "text",(char *) "show", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4204 {
4205 arg2 = wxString_in_helper(obj1);
4206 if (arg2 == NULL) SWIG_fail;
4207 temp2 = True;
4208 }
4209 arg3 = (bool)SWIG_As_bool(obj2);
4210 if (PyErr_Occurred()) SWIG_fail;
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 Py_INCREF(Py_None); resultobj = Py_None;
4219 {
4220 if (temp2)
4221 delete arg2;
4222 }
4223 return resultobj;
4224 fail:
4225 {
4226 if (temp2)
4227 delete arg2;
4228 }
4229 return NULL;
4230 }
4231
4232
4233 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4234 PyObject *resultobj;
4235 wxFrame *arg1 = (wxFrame *) 0 ;
4236 wxMenu *arg2 = (wxMenu *) NULL ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239 char *kwnames[] = {
4240 (char *) "self",(char *) "menu", NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4246 if (obj1) {
4247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4249 }
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->DoMenuUpdates(arg2);
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 Py_INCREF(Py_None); resultobj = Py_None;
4258 return resultobj;
4259 fail:
4260 return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4267 wxVisualAttributes result;
4268 PyObject * obj0 = 0 ;
4269 char *kwnames[] = {
4270 (char *) "variant", NULL
4271 };
4272
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4274 if (obj0) {
4275 arg1 = (int)SWIG_As_int(obj0);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 }
4278 {
4279 if (!wxPyCheckForApp()) SWIG_fail;
4280 PyThreadState* __tstate = wxPyBeginAllowThreads();
4281 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4282
4283 wxPyEndAllowThreads(__tstate);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 }
4286 {
4287 wxVisualAttributes * resultptr;
4288 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4289 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4290 }
4291 return resultobj;
4292 fail:
4293 return NULL;
4294 }
4295
4296
4297 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4298 PyObject *obj;
4299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4300 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4301 Py_INCREF(obj);
4302 return Py_BuildValue((char *)"");
4303 }
4304 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxWindow *arg1 = (wxWindow *) 0 ;
4307 int arg2 = (int) (int)-1 ;
4308 wxString const &arg3_defvalue = wxPyEmptyString ;
4309 wxString *arg3 = (wxString *) &arg3_defvalue ;
4310 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4311 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4312 wxSize const &arg5_defvalue = wxDefaultSize ;
4313 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4314 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4315 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4316 wxString *arg7 = (wxString *) &arg7_defvalue ;
4317 wxDialog *result;
4318 bool temp3 = False ;
4319 wxPoint temp4 ;
4320 wxSize temp5 ;
4321 bool temp7 = False ;
4322 PyObject * obj0 = 0 ;
4323 PyObject * obj1 = 0 ;
4324 PyObject * obj2 = 0 ;
4325 PyObject * obj3 = 0 ;
4326 PyObject * obj4 = 0 ;
4327 PyObject * obj5 = 0 ;
4328 PyObject * obj6 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4336 if (obj1) {
4337 arg2 = (int)SWIG_As_int(obj1);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 if (obj2) {
4341 {
4342 arg3 = wxString_in_helper(obj2);
4343 if (arg3 == NULL) SWIG_fail;
4344 temp3 = True;
4345 }
4346 }
4347 if (obj3) {
4348 {
4349 arg4 = &temp4;
4350 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4351 }
4352 }
4353 if (obj4) {
4354 {
4355 arg5 = &temp5;
4356 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4357 }
4358 }
4359 if (obj5) {
4360 arg6 = (long)SWIG_As_long(obj5);
4361 if (PyErr_Occurred()) SWIG_fail;
4362 }
4363 if (obj6) {
4364 {
4365 arg7 = wxString_in_helper(obj6);
4366 if (arg7 == NULL) SWIG_fail;
4367 temp7 = True;
4368 }
4369 }
4370 {
4371 if (!wxPyCheckForApp()) SWIG_fail;
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4374
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4379 {
4380 if (temp3)
4381 delete arg3;
4382 }
4383 {
4384 if (temp7)
4385 delete arg7;
4386 }
4387 return resultobj;
4388 fail:
4389 {
4390 if (temp3)
4391 delete arg3;
4392 }
4393 {
4394 if (temp7)
4395 delete arg7;
4396 }
4397 return NULL;
4398 }
4399
4400
4401 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxDialog *result;
4404 char *kwnames[] = {
4405 NULL
4406 };
4407
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4409 {
4410 if (!wxPyCheckForApp()) SWIG_fail;
4411 PyThreadState* __tstate = wxPyBeginAllowThreads();
4412 result = (wxDialog *)new wxDialog();
4413
4414 wxPyEndAllowThreads(__tstate);
4415 if (PyErr_Occurred()) SWIG_fail;
4416 }
4417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4418 return resultobj;
4419 fail:
4420 return NULL;
4421 }
4422
4423
4424 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4425 PyObject *resultobj;
4426 wxDialog *arg1 = (wxDialog *) 0 ;
4427 wxWindow *arg2 = (wxWindow *) 0 ;
4428 int arg3 = (int) (int)-1 ;
4429 wxString const &arg4_defvalue = wxPyEmptyString ;
4430 wxString *arg4 = (wxString *) &arg4_defvalue ;
4431 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4432 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4433 wxSize const &arg6_defvalue = wxDefaultSize ;
4434 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4435 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4436 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4437 wxString *arg8 = (wxString *) &arg8_defvalue ;
4438 bool result;
4439 bool temp4 = False ;
4440 wxPoint temp5 ;
4441 wxSize temp6 ;
4442 bool temp8 = False ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 PyObject * obj3 = 0 ;
4447 PyObject * obj4 = 0 ;
4448 PyObject * obj5 = 0 ;
4449 PyObject * obj6 = 0 ;
4450 PyObject * obj7 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4460 if (obj2) {
4461 arg3 = (int)SWIG_As_int(obj2);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 if (obj3) {
4465 {
4466 arg4 = wxString_in_helper(obj3);
4467 if (arg4 == NULL) SWIG_fail;
4468 temp4 = True;
4469 }
4470 }
4471 if (obj4) {
4472 {
4473 arg5 = &temp5;
4474 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4475 }
4476 }
4477 if (obj5) {
4478 {
4479 arg6 = &temp6;
4480 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4481 }
4482 }
4483 if (obj6) {
4484 arg7 = (long)SWIG_As_long(obj6);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 if (obj7) {
4488 {
4489 arg8 = wxString_in_helper(obj7);
4490 if (arg8 == NULL) SWIG_fail;
4491 temp8 = True;
4492 }
4493 }
4494 {
4495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4496 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4497
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 {
4502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4503 }
4504 {
4505 if (temp4)
4506 delete arg4;
4507 }
4508 {
4509 if (temp8)
4510 delete arg8;
4511 }
4512 return resultobj;
4513 fail:
4514 {
4515 if (temp4)
4516 delete arg4;
4517 }
4518 {
4519 if (temp8)
4520 delete arg8;
4521 }
4522 return NULL;
4523 }
4524
4525
4526 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxDialog *arg1 = (wxDialog *) 0 ;
4529 int arg2 ;
4530 PyObject * obj0 = 0 ;
4531 PyObject * obj1 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self",(char *) "returnCode", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4539 arg2 = (int)SWIG_As_int(obj1);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 (arg1)->SetReturnCode(arg2);
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 Py_INCREF(Py_None); resultobj = Py_None;
4549 return resultobj;
4550 fail:
4551 return NULL;
4552 }
4553
4554
4555 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxDialog *arg1 = (wxDialog *) 0 ;
4558 int result;
4559 PyObject * obj0 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self", NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4567 {
4568 PyThreadState* __tstate = wxPyBeginAllowThreads();
4569 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4570
4571 wxPyEndAllowThreads(__tstate);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 }
4574 resultobj = SWIG_From_int((int)result);
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxDialog *arg1 = (wxDialog *) 0 ;
4584 wxString *arg2 = 0 ;
4585 wxSizer *result;
4586 bool temp2 = False ;
4587 PyObject * obj0 = 0 ;
4588 PyObject * obj1 = 0 ;
4589 char *kwnames[] = {
4590 (char *) "self",(char *) "message", NULL
4591 };
4592
4593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4596 {
4597 arg2 = wxString_in_helper(obj1);
4598 if (arg2 == NULL) SWIG_fail;
4599 temp2 = True;
4600 }
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 {
4609 resultobj = wxPyMake_wxSizer(result, 0);
4610 }
4611 {
4612 if (temp2)
4613 delete arg2;
4614 }
4615 return resultobj;
4616 fail:
4617 {
4618 if (temp2)
4619 delete arg2;
4620 }
4621 return NULL;
4622 }
4623
4624
4625 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4626 PyObject *resultobj;
4627 wxDialog *arg1 = (wxDialog *) 0 ;
4628 long arg2 ;
4629 wxSizer *result;
4630 PyObject * obj0 = 0 ;
4631 PyObject * obj1 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "flags", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4639 arg2 = (long)SWIG_As_long(obj1);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 {
4649 resultobj = wxPyMake_wxSizer(result, 0);
4650 }
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj;
4659 wxDialog *arg1 = (wxDialog *) 0 ;
4660 bool result;
4661 PyObject * obj0 = 0 ;
4662 char *kwnames[] = {
4663 (char *) "self", NULL
4664 };
4665
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 result = (bool)((wxDialog const *)arg1)->IsModal();
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 {
4677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4678 }
4679 return resultobj;
4680 fail:
4681 return NULL;
4682 }
4683
4684
4685 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4686 PyObject *resultobj;
4687 wxDialog *arg1 = (wxDialog *) 0 ;
4688 int result;
4689 PyObject * obj0 = 0 ;
4690 char *kwnames[] = {
4691 (char *) "self", NULL
4692 };
4693
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 result = (int)(arg1)->ShowModal();
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 resultobj = SWIG_From_int((int)result);
4705 return resultobj;
4706 fail:
4707 return NULL;
4708 }
4709
4710
4711 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4712 PyObject *resultobj;
4713 wxDialog *arg1 = (wxDialog *) 0 ;
4714 int arg2 ;
4715 PyObject * obj0 = 0 ;
4716 PyObject * obj1 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self",(char *) "retCode", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4724 arg2 = (int)SWIG_As_int(obj1);
4725 if (PyErr_Occurred()) SWIG_fail;
4726 {
4727 PyThreadState* __tstate = wxPyBeginAllowThreads();
4728 (arg1)->EndModal(arg2);
4729
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 Py_INCREF(Py_None); resultobj = Py_None;
4734 return resultobj;
4735 fail:
4736 return NULL;
4737 }
4738
4739
4740 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4741 PyObject *resultobj;
4742 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4743 wxVisualAttributes result;
4744 PyObject * obj0 = 0 ;
4745 char *kwnames[] = {
4746 (char *) "variant", NULL
4747 };
4748
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4750 if (obj0) {
4751 arg1 = (int)SWIG_As_int(obj0);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 {
4755 if (!wxPyCheckForApp()) SWIG_fail;
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 {
4763 wxVisualAttributes * resultptr;
4764 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4766 }
4767 return resultobj;
4768 fail:
4769 return NULL;
4770 }
4771
4772
4773 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4774 PyObject *obj;
4775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4776 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4777 Py_INCREF(obj);
4778 return Py_BuildValue((char *)"");
4779 }
4780 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4781 PyObject *resultobj;
4782 wxWindow *arg1 = (wxWindow *) 0 ;
4783 int arg2 = (int) (int)-1 ;
4784 wxString const &arg3_defvalue = wxPyEmptyString ;
4785 wxString *arg3 = (wxString *) &arg3_defvalue ;
4786 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4787 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4788 wxSize const &arg5_defvalue = wxDefaultSize ;
4789 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4790 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4791 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4792 wxString *arg7 = (wxString *) &arg7_defvalue ;
4793 wxMiniFrame *result;
4794 bool temp3 = False ;
4795 wxPoint temp4 ;
4796 wxSize temp5 ;
4797 bool temp7 = False ;
4798 PyObject * obj0 = 0 ;
4799 PyObject * obj1 = 0 ;
4800 PyObject * obj2 = 0 ;
4801 PyObject * obj3 = 0 ;
4802 PyObject * obj4 = 0 ;
4803 PyObject * obj5 = 0 ;
4804 PyObject * obj6 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4812 if (obj1) {
4813 arg2 = (int)SWIG_As_int(obj1);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 if (obj2) {
4817 {
4818 arg3 = wxString_in_helper(obj2);
4819 if (arg3 == NULL) SWIG_fail;
4820 temp3 = True;
4821 }
4822 }
4823 if (obj3) {
4824 {
4825 arg4 = &temp4;
4826 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4827 }
4828 }
4829 if (obj4) {
4830 {
4831 arg5 = &temp5;
4832 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4833 }
4834 }
4835 if (obj5) {
4836 arg6 = (long)SWIG_As_long(obj5);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 if (obj6) {
4840 {
4841 arg7 = wxString_in_helper(obj6);
4842 if (arg7 == NULL) SWIG_fail;
4843 temp7 = True;
4844 }
4845 }
4846 {
4847 if (!wxPyCheckForApp()) SWIG_fail;
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4855 {
4856 if (temp3)
4857 delete arg3;
4858 }
4859 {
4860 if (temp7)
4861 delete arg7;
4862 }
4863 return resultobj;
4864 fail:
4865 {
4866 if (temp3)
4867 delete arg3;
4868 }
4869 {
4870 if (temp7)
4871 delete arg7;
4872 }
4873 return NULL;
4874 }
4875
4876
4877 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4878 PyObject *resultobj;
4879 wxMiniFrame *result;
4880 char *kwnames[] = {
4881 NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4885 {
4886 if (!wxPyCheckForApp()) SWIG_fail;
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 result = (wxMiniFrame *)new wxMiniFrame();
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4894 return resultobj;
4895 fail:
4896 return NULL;
4897 }
4898
4899
4900 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4901 PyObject *resultobj;
4902 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4903 wxWindow *arg2 = (wxWindow *) 0 ;
4904 int arg3 = (int) (int)-1 ;
4905 wxString const &arg4_defvalue = wxPyEmptyString ;
4906 wxString *arg4 = (wxString *) &arg4_defvalue ;
4907 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4908 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4909 wxSize const &arg6_defvalue = wxDefaultSize ;
4910 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4911 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4912 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4913 wxString *arg8 = (wxString *) &arg8_defvalue ;
4914 bool result;
4915 bool temp4 = False ;
4916 wxPoint temp5 ;
4917 wxSize temp6 ;
4918 bool temp8 = False ;
4919 PyObject * obj0 = 0 ;
4920 PyObject * obj1 = 0 ;
4921 PyObject * obj2 = 0 ;
4922 PyObject * obj3 = 0 ;
4923 PyObject * obj4 = 0 ;
4924 PyObject * obj5 = 0 ;
4925 PyObject * obj6 = 0 ;
4926 PyObject * obj7 = 0 ;
4927 char *kwnames[] = {
4928 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4929 };
4930
4931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4936 if (obj2) {
4937 arg3 = (int)SWIG_As_int(obj2);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 }
4940 if (obj3) {
4941 {
4942 arg4 = wxString_in_helper(obj3);
4943 if (arg4 == NULL) SWIG_fail;
4944 temp4 = True;
4945 }
4946 }
4947 if (obj4) {
4948 {
4949 arg5 = &temp5;
4950 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4951 }
4952 }
4953 if (obj5) {
4954 {
4955 arg6 = &temp6;
4956 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4957 }
4958 }
4959 if (obj6) {
4960 arg7 = (long)SWIG_As_long(obj6);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 if (obj7) {
4964 {
4965 arg8 = wxString_in_helper(obj7);
4966 if (arg8 == NULL) SWIG_fail;
4967 temp8 = True;
4968 }
4969 }
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 {
4978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4979 }
4980 {
4981 if (temp4)
4982 delete arg4;
4983 }
4984 {
4985 if (temp8)
4986 delete arg8;
4987 }
4988 return resultobj;
4989 fail:
4990 {
4991 if (temp4)
4992 delete arg4;
4993 }
4994 {
4995 if (temp8)
4996 delete arg8;
4997 }
4998 return NULL;
4999 }
5000
5001
5002 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
5003 PyObject *obj;
5004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5005 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
5006 Py_INCREF(obj);
5007 return Py_BuildValue((char *)"");
5008 }
5009 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj;
5011 wxBitmap *arg1 = 0 ;
5012 wxWindow *arg2 = (wxWindow *) 0 ;
5013 int arg3 ;
5014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5016 wxSize const &arg5_defvalue = wxDefaultSize ;
5017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5018 long arg6 = (long) wxNO_BORDER ;
5019 wxSplashScreenWindow *result;
5020 wxPoint temp4 ;
5021 wxSize temp5 ;
5022 PyObject * obj0 = 0 ;
5023 PyObject * obj1 = 0 ;
5024 PyObject * obj2 = 0 ;
5025 PyObject * obj3 = 0 ;
5026 PyObject * obj4 = 0 ;
5027 PyObject * obj5 = 0 ;
5028 char *kwnames[] = {
5029 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5030 };
5031
5032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5034 SWIG_POINTER_EXCEPTION | 0)) == -1)
5035 SWIG_fail;
5036 if (arg1 == NULL) {
5037 PyErr_SetString(PyExc_TypeError,"null reference");
5038 SWIG_fail;
5039 }
5040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5042 arg3 = (int)SWIG_As_int(obj2);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 if (obj3) {
5045 {
5046 arg4 = &temp4;
5047 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5048 }
5049 }
5050 if (obj4) {
5051 {
5052 arg5 = &temp5;
5053 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5054 }
5055 }
5056 if (obj5) {
5057 arg6 = (long)SWIG_As_long(obj5);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 {
5061 if (!wxPyCheckForApp()) SWIG_fail;
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5069 return resultobj;
5070 fail:
5071 return NULL;
5072 }
5073
5074
5075 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5078 wxBitmap *arg2 = 0 ;
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 char *kwnames[] = {
5082 (char *) "self",(char *) "bitmap", NULL
5083 };
5084
5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5089 SWIG_POINTER_EXCEPTION | 0)) == -1)
5090 SWIG_fail;
5091 if (arg2 == NULL) {
5092 PyErr_SetString(PyExc_TypeError,"null reference");
5093 SWIG_fail;
5094 }
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5098
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 Py_INCREF(Py_None); resultobj = Py_None;
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5110 PyObject *resultobj;
5111 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5112 wxBitmap *result;
5113 PyObject * obj0 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "self", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 {
5124 wxBitmap &_result_ref = (arg1)->GetBitmap();
5125 result = (wxBitmap *) &_result_ref;
5126 }
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 {
5132 wxBitmap* resultptr = new wxBitmap(*result);
5133 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5134 }
5135 return resultobj;
5136 fail:
5137 return NULL;
5138 }
5139
5140
5141 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5142 PyObject *obj;
5143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5144 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5145 Py_INCREF(obj);
5146 return Py_BuildValue((char *)"");
5147 }
5148 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj;
5150 wxBitmap *arg1 = 0 ;
5151 long arg2 ;
5152 int arg3 ;
5153 wxWindow *arg4 = (wxWindow *) 0 ;
5154 int arg5 = (int) -1 ;
5155 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5156 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5157 wxSize const &arg7_defvalue = wxDefaultSize ;
5158 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5159 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5160 wxSplashScreen *result;
5161 wxPoint temp6 ;
5162 wxSize temp7 ;
5163 PyObject * obj0 = 0 ;
5164 PyObject * obj1 = 0 ;
5165 PyObject * obj2 = 0 ;
5166 PyObject * obj3 = 0 ;
5167 PyObject * obj4 = 0 ;
5168 PyObject * obj5 = 0 ;
5169 PyObject * obj6 = 0 ;
5170 PyObject * obj7 = 0 ;
5171 char *kwnames[] = {
5172 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5173 };
5174
5175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5177 SWIG_POINTER_EXCEPTION | 0)) == -1)
5178 SWIG_fail;
5179 if (arg1 == NULL) {
5180 PyErr_SetString(PyExc_TypeError,"null reference");
5181 SWIG_fail;
5182 }
5183 arg2 = (long)SWIG_As_long(obj1);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 arg3 = (int)SWIG_As_int(obj2);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5189 if (obj4) {
5190 arg5 = (int)SWIG_As_int(obj4);
5191 if (PyErr_Occurred()) SWIG_fail;
5192 }
5193 if (obj5) {
5194 {
5195 arg6 = &temp6;
5196 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5197 }
5198 }
5199 if (obj6) {
5200 {
5201 arg7 = &temp7;
5202 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5203 }
5204 }
5205 if (obj7) {
5206 arg8 = (long)SWIG_As_long(obj7);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 {
5210 if (!wxPyCheckForApp()) SWIG_fail;
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5227 long result;
5228 PyObject * obj0 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_From_long((long)result);
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5253 wxSplashScreenWindow *result;
5254 PyObject * obj0 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "self", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5270 return resultobj;
5271 fail:
5272 return NULL;
5273 }
5274
5275
5276 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5277 PyObject *resultobj;
5278 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5279 int result;
5280 PyObject * obj0 = 0 ;
5281 char *kwnames[] = {
5282 (char *) "self", NULL
5283 };
5284
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5288 {
5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
5290 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5291
5292 wxPyEndAllowThreads(__tstate);
5293 if (PyErr_Occurred()) SWIG_fail;
5294 }
5295 resultobj = SWIG_From_int((int)result);
5296 return resultobj;
5297 fail:
5298 return NULL;
5299 }
5300
5301
5302 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5303 PyObject *obj;
5304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5305 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5306 Py_INCREF(obj);
5307 return Py_BuildValue((char *)"");
5308 }
5309 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj;
5311 wxWindow *arg1 = (wxWindow *) 0 ;
5312 int arg2 = (int) -1 ;
5313 long arg3 = (long) wxST_SIZEGRIP ;
5314 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5315 wxString *arg4 = (wxString *) &arg4_defvalue ;
5316 wxStatusBar *result;
5317 bool temp4 = False ;
5318 PyObject * obj0 = 0 ;
5319 PyObject * obj1 = 0 ;
5320 PyObject * obj2 = 0 ;
5321 PyObject * obj3 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5329 if (obj1) {
5330 arg2 = (int)SWIG_As_int(obj1);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 if (obj2) {
5334 arg3 = (long)SWIG_As_long(obj2);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 if (obj3) {
5338 {
5339 arg4 = wxString_in_helper(obj3);
5340 if (arg4 == NULL) SWIG_fail;
5341 temp4 = True;
5342 }
5343 }
5344 {
5345 if (!wxPyCheckForApp()) SWIG_fail;
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5353 {
5354 if (temp4)
5355 delete arg4;
5356 }
5357 return resultobj;
5358 fail:
5359 {
5360 if (temp4)
5361 delete arg4;
5362 }
5363 return NULL;
5364 }
5365
5366
5367 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxStatusBar *result;
5370 char *kwnames[] = {
5371 NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5375 {
5376 if (!wxPyCheckForApp()) SWIG_fail;
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 result = (wxStatusBar *)new wxStatusBar();
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5393 wxWindow *arg2 = (wxWindow *) 0 ;
5394 int arg3 = (int) -1 ;
5395 long arg4 = (long) wxST_SIZEGRIP ;
5396 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5397 wxString *arg5 = (wxString *) &arg5_defvalue ;
5398 bool result;
5399 bool temp5 = False ;
5400 PyObject * obj0 = 0 ;
5401 PyObject * obj1 = 0 ;
5402 PyObject * obj2 = 0 ;
5403 PyObject * obj3 = 0 ;
5404 PyObject * obj4 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5414 if (obj2) {
5415 arg3 = (int)SWIG_As_int(obj2);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 if (obj3) {
5419 arg4 = (long)SWIG_As_long(obj3);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 if (obj4) {
5423 {
5424 arg5 = wxString_in_helper(obj4);
5425 if (arg5 == NULL) SWIG_fail;
5426 temp5 = True;
5427 }
5428 }
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5432
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 {
5437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5438 }
5439 {
5440 if (temp5)
5441 delete arg5;
5442 }
5443 return resultobj;
5444 fail:
5445 {
5446 if (temp5)
5447 delete arg5;
5448 }
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5456 int arg2 = (int) 1 ;
5457 PyObject * obj0 = 0 ;
5458 PyObject * obj1 = 0 ;
5459 char *kwnames[] = {
5460 (char *) "self",(char *) "number", NULL
5461 };
5462
5463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5466 if (obj1) {
5467 arg2 = (int)SWIG_As_int(obj1);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 (arg1)->SetFieldsCount(arg2);
5473
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 Py_INCREF(Py_None); resultobj = Py_None;
5478 return resultobj;
5479 fail:
5480 return NULL;
5481 }
5482
5483
5484 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5485 PyObject *resultobj;
5486 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5487 int result;
5488 PyObject * obj0 = 0 ;
5489 char *kwnames[] = {
5490 (char *) "self", NULL
5491 };
5492
5493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 resultobj = SWIG_From_int((int)result);
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5513 wxString *arg2 = 0 ;
5514 int arg3 = (int) 0 ;
5515 bool temp2 = False ;
5516 PyObject * obj0 = 0 ;
5517 PyObject * obj1 = 0 ;
5518 PyObject * obj2 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "self",(char *) "text",(char *) "number", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5526 {
5527 arg2 = wxString_in_helper(obj1);
5528 if (arg2 == NULL) SWIG_fail;
5529 temp2 = True;
5530 }
5531 if (obj2) {
5532 arg3 = (int)SWIG_As_int(obj2);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5538
5539 wxPyEndAllowThreads(__tstate);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 }
5542 Py_INCREF(Py_None); resultobj = Py_None;
5543 {
5544 if (temp2)
5545 delete arg2;
5546 }
5547 return resultobj;
5548 fail:
5549 {
5550 if (temp2)
5551 delete arg2;
5552 }
5553 return NULL;
5554 }
5555
5556
5557 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5558 PyObject *resultobj;
5559 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5560 int arg2 = (int) 0 ;
5561 wxString result;
5562 PyObject * obj0 = 0 ;
5563 PyObject * obj1 = 0 ;
5564 char *kwnames[] = {
5565 (char *) "self",(char *) "number", NULL
5566 };
5567
5568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5571 if (obj1) {
5572 arg2 = (int)SWIG_As_int(obj1);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 {
5576 PyThreadState* __tstate = wxPyBeginAllowThreads();
5577 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5578
5579 wxPyEndAllowThreads(__tstate);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 }
5582 {
5583 #if wxUSE_UNICODE
5584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5585 #else
5586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5587 #endif
5588 }
5589 return resultobj;
5590 fail:
5591 return NULL;
5592 }
5593
5594
5595 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5596 PyObject *resultobj;
5597 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5598 wxString *arg2 = 0 ;
5599 int arg3 = (int) 0 ;
5600 bool temp2 = False ;
5601 PyObject * obj0 = 0 ;
5602 PyObject * obj1 = 0 ;
5603 PyObject * obj2 = 0 ;
5604 char *kwnames[] = {
5605 (char *) "self",(char *) "text",(char *) "number", NULL
5606 };
5607
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 {
5612 arg2 = wxString_in_helper(obj1);
5613 if (arg2 == NULL) SWIG_fail;
5614 temp2 = True;
5615 }
5616 if (obj2) {
5617 arg3 = (int)SWIG_As_int(obj2);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 Py_INCREF(Py_None); resultobj = Py_None;
5628 {
5629 if (temp2)
5630 delete arg2;
5631 }
5632 return resultobj;
5633 fail:
5634 {
5635 if (temp2)
5636 delete arg2;
5637 }
5638 return NULL;
5639 }
5640
5641
5642 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5643 PyObject *resultobj;
5644 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5645 int arg2 = (int) 0 ;
5646 PyObject * obj0 = 0 ;
5647 PyObject * obj1 = 0 ;
5648 char *kwnames[] = {
5649 (char *) "self",(char *) "number", NULL
5650 };
5651
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5655 if (obj1) {
5656 arg2 = (int)SWIG_As_int(obj1);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 (arg1)->PopStatusText(arg2);
5662
5663 wxPyEndAllowThreads(__tstate);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 Py_INCREF(Py_None); resultobj = Py_None;
5667 return resultobj;
5668 fail:
5669 return NULL;
5670 }
5671
5672
5673 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5674 PyObject *resultobj;
5675 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5676 int arg2 ;
5677 int *arg3 = (int *) 0 ;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 char *kwnames[] = {
5681 (char *) "self",(char *) "widths", NULL
5682 };
5683
5684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5687 {
5688 arg2 = PyList_Size(obj1);
5689 arg3 = int_LIST_helper(obj1);
5690 if (arg3 == NULL) SWIG_fail;
5691 }
5692 {
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5695
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
5699 Py_INCREF(Py_None); resultobj = Py_None;
5700 {
5701 if (arg3) delete [] arg3;
5702 }
5703 return resultobj;
5704 fail:
5705 {
5706 if (arg3) delete [] arg3;
5707 }
5708 return NULL;
5709 }
5710
5711
5712 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj;
5714 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5715 int arg2 ;
5716 int *arg3 = (int *) 0 ;
5717 PyObject * obj0 = 0 ;
5718 PyObject * obj1 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self",(char *) "styles", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5726 {
5727 arg2 = PyList_Size(obj1);
5728 arg3 = int_LIST_helper(obj1);
5729 if (arg3 == NULL) SWIG_fail;
5730 }
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 Py_INCREF(Py_None); resultobj = Py_None;
5739 {
5740 if (arg3) delete [] arg3;
5741 }
5742 return resultobj;
5743 fail:
5744 {
5745 if (arg3) delete [] arg3;
5746 }
5747 return NULL;
5748 }
5749
5750
5751 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5754 int arg2 ;
5755 wxRect result;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "i", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5765 arg2 = (int)SWIG_As_int(obj1);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 {
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 result = wxStatusBar_GetFieldRect(arg1,arg2);
5770
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
5774 {
5775 wxRect * resultptr;
5776 resultptr = new wxRect((wxRect &) result);
5777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5778 }
5779 return resultobj;
5780 fail:
5781 return NULL;
5782 }
5783
5784
5785 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5786 PyObject *resultobj;
5787 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5788 int arg2 ;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self",(char *) "height", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5798 arg2 = (int)SWIG_As_int(obj1);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 (arg1)->SetMinHeight(arg2);
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 Py_INCREF(Py_None); resultobj = Py_None;
5808 return resultobj;
5809 fail:
5810 return NULL;
5811 }
5812
5813
5814 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5815 PyObject *resultobj;
5816 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5817 int result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5826 {
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5829
5830 wxPyEndAllowThreads(__tstate);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 resultobj = SWIG_From_int((int)result);
5834 return resultobj;
5835 fail:
5836 return NULL;
5837 }
5838
5839
5840 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5841 PyObject *resultobj;
5842 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5843 int result;
5844 PyObject * obj0 = 0 ;
5845 char *kwnames[] = {
5846 (char *) "self", NULL
5847 };
5848
5849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 resultobj = SWIG_From_int((int)result);
5860 return resultobj;
5861 fail:
5862 return NULL;
5863 }
5864
5865
5866 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5869 wxVisualAttributes result;
5870 PyObject * obj0 = 0 ;
5871 char *kwnames[] = {
5872 (char *) "variant", NULL
5873 };
5874
5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5876 if (obj0) {
5877 arg1 = (int)SWIG_As_int(obj0);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 {
5881 if (!wxPyCheckForApp()) SWIG_fail;
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 {
5889 wxVisualAttributes * resultptr;
5890 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5891 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5892 }
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5900 PyObject *obj;
5901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5902 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5903 Py_INCREF(obj);
5904 return Py_BuildValue((char *)"");
5905 }
5906 static int _wrap_SplitterNameStr_set(PyObject *) {
5907 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5908 return 1;
5909 }
5910
5911
5912 static PyObject *_wrap_SplitterNameStr_get() {
5913 PyObject *pyobj;
5914
5915 {
5916 #if wxUSE_UNICODE
5917 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5918 #else
5919 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5920 #endif
5921 }
5922 return pyobj;
5923 }
5924
5925
5926 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj;
5928 wxWindow *arg1 = (wxWindow *) 0 ;
5929 int arg2 = (int) -1 ;
5930 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5931 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5932 wxSize const &arg4_defvalue = wxDefaultSize ;
5933 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5934 long arg5 = (long) wxSP_3D ;
5935 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5936 wxString *arg6 = (wxString *) &arg6_defvalue ;
5937 wxSplitterWindow *result;
5938 wxPoint temp3 ;
5939 wxSize temp4 ;
5940 bool temp6 = False ;
5941 PyObject * obj0 = 0 ;
5942 PyObject * obj1 = 0 ;
5943 PyObject * obj2 = 0 ;
5944 PyObject * obj3 = 0 ;
5945 PyObject * obj4 = 0 ;
5946 PyObject * obj5 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5954 if (obj1) {
5955 arg2 = (int)SWIG_As_int(obj1);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 if (obj2) {
5959 {
5960 arg3 = &temp3;
5961 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5962 }
5963 }
5964 if (obj3) {
5965 {
5966 arg4 = &temp4;
5967 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5968 }
5969 }
5970 if (obj4) {
5971 arg5 = (long)SWIG_As_long(obj4);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 if (obj5) {
5975 {
5976 arg6 = wxString_in_helper(obj5);
5977 if (arg6 == NULL) SWIG_fail;
5978 temp6 = True;
5979 }
5980 }
5981 {
5982 if (!wxPyCheckForApp()) SWIG_fail;
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5990 {
5991 if (temp6)
5992 delete arg6;
5993 }
5994 return resultobj;
5995 fail:
5996 {
5997 if (temp6)
5998 delete arg6;
5999 }
6000 return NULL;
6001 }
6002
6003
6004 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj;
6006 wxSplitterWindow *result;
6007 char *kwnames[] = {
6008 NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
6012 {
6013 if (!wxPyCheckForApp()) SWIG_fail;
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 result = (wxSplitterWindow *)new wxSplitterWindow();
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj;
6029 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6030 wxWindow *arg2 = (wxWindow *) 0 ;
6031 int arg3 = (int) -1 ;
6032 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6033 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6034 wxSize const &arg5_defvalue = wxDefaultSize ;
6035 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6036 long arg6 = (long) wxSP_3D ;
6037 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6038 wxString *arg7 = (wxString *) &arg7_defvalue ;
6039 bool result;
6040 wxPoint temp4 ;
6041 wxSize temp5 ;
6042 bool temp7 = False ;
6043 PyObject * obj0 = 0 ;
6044 PyObject * obj1 = 0 ;
6045 PyObject * obj2 = 0 ;
6046 PyObject * obj3 = 0 ;
6047 PyObject * obj4 = 0 ;
6048 PyObject * obj5 = 0 ;
6049 PyObject * obj6 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6059 if (obj2) {
6060 arg3 = (int)SWIG_As_int(obj2);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 if (obj3) {
6064 {
6065 arg4 = &temp4;
6066 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6067 }
6068 }
6069 if (obj4) {
6070 {
6071 arg5 = &temp5;
6072 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6073 }
6074 }
6075 if (obj5) {
6076 arg6 = (long)SWIG_As_long(obj5);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 if (obj6) {
6080 {
6081 arg7 = wxString_in_helper(obj6);
6082 if (arg7 == NULL) SWIG_fail;
6083 temp7 = True;
6084 }
6085 }
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 {
6094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6095 }
6096 {
6097 if (temp7)
6098 delete arg7;
6099 }
6100 return resultobj;
6101 fail:
6102 {
6103 if (temp7)
6104 delete arg7;
6105 }
6106 return NULL;
6107 }
6108
6109
6110 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6111 PyObject *resultobj;
6112 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6113 wxWindow *result;
6114 PyObject * obj0 = 0 ;
6115 char *kwnames[] = {
6116 (char *) "self", NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6125
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 {
6130 resultobj = wxPyMake_wxObject(result, 0);
6131 }
6132 return resultobj;
6133 fail:
6134 return NULL;
6135 }
6136
6137
6138 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6141 wxWindow *result;
6142 PyObject * obj0 = 0 ;
6143 char *kwnames[] = {
6144 (char *) "self", NULL
6145 };
6146
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6153
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 {
6158 resultobj = wxPyMake_wxObject(result, 0);
6159 }
6160 return resultobj;
6161 fail:
6162 return NULL;
6163 }
6164
6165
6166 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6167 PyObject *resultobj;
6168 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6169 int arg2 ;
6170 PyObject * obj0 = 0 ;
6171 PyObject * obj1 = 0 ;
6172 char *kwnames[] = {
6173 (char *) "self",(char *) "mode", NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6179 arg2 = (int)SWIG_As_int(obj1);
6180 if (PyErr_Occurred()) SWIG_fail;
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 (arg1)->SetSplitMode(arg2);
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 Py_INCREF(Py_None); resultobj = Py_None;
6189 return resultobj;
6190 fail:
6191 return NULL;
6192 }
6193
6194
6195 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6198 int result;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6210
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 resultobj = SWIG_From_int((int)result);
6215 return resultobj;
6216 fail:
6217 return NULL;
6218 }
6219
6220
6221 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6224 wxWindow *arg2 = (wxWindow *) 0 ;
6225 PyObject * obj0 = 0 ;
6226 PyObject * obj1 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self",(char *) "window", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 (arg1)->Initialize(arg2);
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 Py_INCREF(Py_None); resultobj = Py_None;
6244 return resultobj;
6245 fail:
6246 return NULL;
6247 }
6248
6249
6250 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj;
6252 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6253 wxWindow *arg2 = (wxWindow *) 0 ;
6254 wxWindow *arg3 = (wxWindow *) 0 ;
6255 int arg4 = (int) 0 ;
6256 bool result;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 PyObject * obj2 = 0 ;
6260 PyObject * obj3 = 0 ;
6261 char *kwnames[] = {
6262 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6272 if (obj3) {
6273 arg4 = (int)SWIG_As_int(obj3);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 {
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 {
6284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6285 }
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6295 wxWindow *arg2 = (wxWindow *) 0 ;
6296 wxWindow *arg3 = (wxWindow *) 0 ;
6297 int arg4 = (int) 0 ;
6298 bool result;
6299 PyObject * obj0 = 0 ;
6300 PyObject * obj1 = 0 ;
6301 PyObject * obj2 = 0 ;
6302 PyObject * obj3 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6312 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6314 if (obj3) {
6315 arg4 = (int)SWIG_As_int(obj3);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 {
6326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6327 }
6328 return resultobj;
6329 fail:
6330 return NULL;
6331 }
6332
6333
6334 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6337 wxWindow *arg2 = (wxWindow *) NULL ;
6338 bool result;
6339 PyObject * obj0 = 0 ;
6340 PyObject * obj1 = 0 ;
6341 char *kwnames[] = {
6342 (char *) "self",(char *) "toRemove", NULL
6343 };
6344
6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6348 if (obj1) {
6349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6351 }
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 result = (bool)(arg1)->Unsplit(arg2);
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 {
6360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6361 }
6362 return resultobj;
6363 fail:
6364 return NULL;
6365 }
6366
6367
6368 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj;
6370 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6371 wxWindow *arg2 = (wxWindow *) 0 ;
6372 wxWindow *arg3 = (wxWindow *) 0 ;
6373 bool result;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 PyObject * obj2 = 0 ;
6377 char *kwnames[] = {
6378 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6379 };
6380
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6386 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 {
6396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6397 }
6398 return resultobj;
6399 fail:
6400 return NULL;
6401 }
6402
6403
6404 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj;
6406 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6407 PyObject * obj0 = 0 ;
6408 char *kwnames[] = {
6409 (char *) "self", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 (arg1)->UpdateSize();
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 Py_INCREF(Py_None); resultobj = Py_None;
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6432 bool result;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 {
6449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6450 }
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6460 int arg2 ;
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self",(char *) "width", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6470 arg2 = (int)SWIG_As_int(obj1);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 (arg1)->SetSashSize(arg2);
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 Py_INCREF(Py_None); resultobj = Py_None;
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6489 int arg2 ;
6490 PyObject * obj0 = 0 ;
6491 PyObject * obj1 = 0 ;
6492 char *kwnames[] = {
6493 (char *) "self",(char *) "width", NULL
6494 };
6495
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6499 arg2 = (int)SWIG_As_int(obj1);
6500 if (PyErr_Occurred()) SWIG_fail;
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 (arg1)->SetBorderSize(arg2);
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 Py_INCREF(Py_None); resultobj = Py_None;
6509 return resultobj;
6510 fail:
6511 return NULL;
6512 }
6513
6514
6515 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj;
6517 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6518 int result;
6519 PyObject * obj0 = 0 ;
6520 char *kwnames[] = {
6521 (char *) "self", NULL
6522 };
6523
6524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6527 {
6528 PyThreadState* __tstate = wxPyBeginAllowThreads();
6529 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6530
6531 wxPyEndAllowThreads(__tstate);
6532 if (PyErr_Occurred()) SWIG_fail;
6533 }
6534 resultobj = SWIG_From_int((int)result);
6535 return resultobj;
6536 fail:
6537 return NULL;
6538 }
6539
6540
6541 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6544 int result;
6545 PyObject * obj0 = 0 ;
6546 char *kwnames[] = {
6547 (char *) "self", NULL
6548 };
6549
6550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6556
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
6560 resultobj = SWIG_From_int((int)result);
6561 return resultobj;
6562 fail:
6563 return NULL;
6564 }
6565
6566
6567 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6568 PyObject *resultobj;
6569 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6570 int arg2 ;
6571 bool arg3 = (bool) True ;
6572 PyObject * obj0 = 0 ;
6573 PyObject * obj1 = 0 ;
6574 PyObject * obj2 = 0 ;
6575 char *kwnames[] = {
6576 (char *) "self",(char *) "position",(char *) "redraw", NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6582 arg2 = (int)SWIG_As_int(obj1);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 if (obj2) {
6585 arg3 = (bool)SWIG_As_bool(obj2);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 (arg1)->SetSashPosition(arg2,arg3);
6591
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 Py_INCREF(Py_None); resultobj = Py_None;
6596 return resultobj;
6597 fail:
6598 return NULL;
6599 }
6600
6601
6602 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6603 PyObject *resultobj;
6604 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6605 int result;
6606 PyObject * obj0 = 0 ;
6607 char *kwnames[] = {
6608 (char *) "self", NULL
6609 };
6610
6611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 resultobj = SWIG_From_int((int)result);
6622 return resultobj;
6623 fail:
6624 return NULL;
6625 }
6626
6627
6628 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6629 PyObject *resultobj;
6630 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6631 int arg2 ;
6632 PyObject * obj0 = 0 ;
6633 PyObject * obj1 = 0 ;
6634 char *kwnames[] = {
6635 (char *) "self",(char *) "min", NULL
6636 };
6637
6638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6641 arg2 = (int)SWIG_As_int(obj1);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 (arg1)->SetMinimumPaneSize(arg2);
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 Py_INCREF(Py_None); resultobj = Py_None;
6651 return resultobj;
6652 fail:
6653 return NULL;
6654 }
6655
6656
6657 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6658 PyObject *resultobj;
6659 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6660 int result;
6661 PyObject * obj0 = 0 ;
6662 char *kwnames[] = {
6663 (char *) "self", NULL
6664 };
6665
6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 resultobj = SWIG_From_int((int)result);
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj;
6685 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6686 int arg2 ;
6687 int arg3 ;
6688 int arg4 = (int) 5 ;
6689 bool result;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 PyObject * obj2 = 0 ;
6693 PyObject * obj3 = 0 ;
6694 char *kwnames[] = {
6695 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6696 };
6697
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6701 arg2 = (int)SWIG_As_int(obj1);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 arg3 = (int)SWIG_As_int(obj2);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 if (obj3) {
6706 arg4 = (int)SWIG_As_int(obj3);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 {
6717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6718 }
6719 return resultobj;
6720 fail:
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6728 PyObject * obj0 = 0 ;
6729 char *kwnames[] = {
6730 (char *) "self", NULL
6731 };
6732
6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 (arg1)->SizeWindows();
6739
6740 wxPyEndAllowThreads(__tstate);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
6743 Py_INCREF(Py_None); resultobj = Py_None;
6744 return resultobj;
6745 fail:
6746 return NULL;
6747 }
6748
6749
6750 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6751 PyObject *resultobj;
6752 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6753 bool arg2 ;
6754 PyObject * obj0 = 0 ;
6755 PyObject * obj1 = 0 ;
6756 char *kwnames[] = {
6757 (char *) "self",(char *) "needUpdating", NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6763 arg2 = (bool)SWIG_As_bool(obj1);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 {
6766 PyThreadState* __tstate = wxPyBeginAllowThreads();
6767 (arg1)->SetNeedUpdating(arg2);
6768
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 Py_INCREF(Py_None); resultobj = Py_None;
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6782 bool result;
6783 PyObject * obj0 = 0 ;
6784 char *kwnames[] = {
6785 (char *) "self", NULL
6786 };
6787
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 {
6799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6800 }
6801 return resultobj;
6802 fail:
6803 return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6810 wxVisualAttributes result;
6811 PyObject * obj0 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "variant", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6817 if (obj0) {
6818 arg1 = (int)SWIG_As_int(obj0);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 {
6822 if (!wxPyCheckForApp()) SWIG_fail;
6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6825
6826 wxPyEndAllowThreads(__tstate);
6827 if (PyErr_Occurred()) SWIG_fail;
6828 }
6829 {
6830 wxVisualAttributes * resultptr;
6831 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6833 }
6834 return resultobj;
6835 fail:
6836 return NULL;
6837 }
6838
6839
6840 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6841 PyObject *obj;
6842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6843 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6844 Py_INCREF(obj);
6845 return Py_BuildValue((char *)"");
6846 }
6847 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6850 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6851 wxSplitterEvent *result;
6852 PyObject * obj0 = 0 ;
6853 PyObject * obj1 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "type",(char *) "splitter", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6859 if (obj0) {
6860 arg1 = (wxEventType)SWIG_As_int(obj0);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 if (obj1) {
6864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6866 }
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6875 return resultobj;
6876 fail:
6877 return NULL;
6878 }
6879
6880
6881 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6884 int arg2 ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "pos", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6894 arg2 = (int)SWIG_As_int(obj1);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 (arg1)->SetSashPosition(arg2);
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 Py_INCREF(Py_None); resultobj = Py_None;
6904 return resultobj;
6905 fail:
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6913 int result;
6914 PyObject * obj0 = 0 ;
6915 char *kwnames[] = {
6916 (char *) "self", NULL
6917 };
6918
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6925
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 resultobj = SWIG_From_int((int)result);
6930 return resultobj;
6931 fail:
6932 return NULL;
6933 }
6934
6935
6936 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj;
6938 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6939 wxWindow *result;
6940 PyObject * obj0 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 {
6956 resultobj = wxPyMake_wxObject(result, 0);
6957 }
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6967 int result;
6968 PyObject * obj0 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 resultobj = SWIG_From_int((int)result);
6984 return resultobj;
6985 fail:
6986 return NULL;
6987 }
6988
6989
6990 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6991 PyObject *resultobj;
6992 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6993 int result;
6994 PyObject * obj0 = 0 ;
6995 char *kwnames[] = {
6996 (char *) "self", NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
7000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 result = (int)((wxSplitterEvent const *)arg1)->GetY();
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = SWIG_From_int((int)result);
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
7017 PyObject *obj;
7018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7019 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7020 Py_INCREF(obj);
7021 return Py_BuildValue((char *)"");
7022 }
7023 static int _wrap_SashNameStr_set(PyObject *) {
7024 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7025 return 1;
7026 }
7027
7028
7029 static PyObject *_wrap_SashNameStr_get() {
7030 PyObject *pyobj;
7031
7032 {
7033 #if wxUSE_UNICODE
7034 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7035 #else
7036 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7037 #endif
7038 }
7039 return pyobj;
7040 }
7041
7042
7043 static int _wrap_SashLayoutNameStr_set(PyObject *) {
7044 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7045 return 1;
7046 }
7047
7048
7049 static PyObject *_wrap_SashLayoutNameStr_get() {
7050 PyObject *pyobj;
7051
7052 {
7053 #if wxUSE_UNICODE
7054 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7055 #else
7056 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7057 #endif
7058 }
7059 return pyobj;
7060 }
7061
7062
7063 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj;
7065 wxWindow *arg1 = (wxWindow *) 0 ;
7066 int arg2 = (int) -1 ;
7067 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7068 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7069 wxSize const &arg4_defvalue = wxDefaultSize ;
7070 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7071 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7072 wxString const &arg6_defvalue = wxPySashNameStr ;
7073 wxString *arg6 = (wxString *) &arg6_defvalue ;
7074 wxSashWindow *result;
7075 wxPoint temp3 ;
7076 wxSize temp4 ;
7077 bool temp6 = False ;
7078 PyObject * obj0 = 0 ;
7079 PyObject * obj1 = 0 ;
7080 PyObject * obj2 = 0 ;
7081 PyObject * obj3 = 0 ;
7082 PyObject * obj4 = 0 ;
7083 PyObject * obj5 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7091 if (obj1) {
7092 arg2 = (int)SWIG_As_int(obj1);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 if (obj2) {
7096 {
7097 arg3 = &temp3;
7098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7099 }
7100 }
7101 if (obj3) {
7102 {
7103 arg4 = &temp4;
7104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7105 }
7106 }
7107 if (obj4) {
7108 arg5 = (long)SWIG_As_long(obj4);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 if (obj5) {
7112 {
7113 arg6 = wxString_in_helper(obj5);
7114 if (arg6 == NULL) SWIG_fail;
7115 temp6 = True;
7116 }
7117 }
7118 {
7119 if (!wxPyCheckForApp()) SWIG_fail;
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7127 {
7128 if (temp6)
7129 delete arg6;
7130 }
7131 return resultobj;
7132 fail:
7133 {
7134 if (temp6)
7135 delete arg6;
7136 }
7137 return NULL;
7138 }
7139
7140
7141 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj;
7143 wxSashWindow *result;
7144 char *kwnames[] = {
7145 NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7149 {
7150 if (!wxPyCheckForApp()) SWIG_fail;
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 result = (wxSashWindow *)new wxSashWindow();
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7158 return resultobj;
7159 fail:
7160 return NULL;
7161 }
7162
7163
7164 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7167 wxWindow *arg2 = (wxWindow *) 0 ;
7168 int arg3 = (int) -1 ;
7169 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7170 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7171 wxSize const &arg5_defvalue = wxDefaultSize ;
7172 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7173 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7174 wxString const &arg7_defvalue = wxPySashNameStr ;
7175 wxString *arg7 = (wxString *) &arg7_defvalue ;
7176 bool result;
7177 wxPoint temp4 ;
7178 wxSize temp5 ;
7179 bool temp7 = False ;
7180 PyObject * obj0 = 0 ;
7181 PyObject * obj1 = 0 ;
7182 PyObject * obj2 = 0 ;
7183 PyObject * obj3 = 0 ;
7184 PyObject * obj4 = 0 ;
7185 PyObject * obj5 = 0 ;
7186 PyObject * obj6 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7196 if (obj2) {
7197 arg3 = (int)SWIG_As_int(obj2);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 if (obj3) {
7201 {
7202 arg4 = &temp4;
7203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7204 }
7205 }
7206 if (obj4) {
7207 {
7208 arg5 = &temp5;
7209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7210 }
7211 }
7212 if (obj5) {
7213 arg6 = (long)SWIG_As_long(obj5);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 if (obj6) {
7217 {
7218 arg7 = wxString_in_helper(obj6);
7219 if (arg7 == NULL) SWIG_fail;
7220 temp7 = True;
7221 }
7222 }
7223 {
7224 PyThreadState* __tstate = wxPyBeginAllowThreads();
7225 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7226
7227 wxPyEndAllowThreads(__tstate);
7228 if (PyErr_Occurred()) SWIG_fail;
7229 }
7230 {
7231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7232 }
7233 {
7234 if (temp7)
7235 delete arg7;
7236 }
7237 return resultobj;
7238 fail:
7239 {
7240 if (temp7)
7241 delete arg7;
7242 }
7243 return NULL;
7244 }
7245
7246
7247 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7250 int arg2 ;
7251 bool arg3 ;
7252 PyObject * obj0 = 0 ;
7253 PyObject * obj1 = 0 ;
7254 PyObject * obj2 = 0 ;
7255 char *kwnames[] = {
7256 (char *) "self",(char *) "edge",(char *) "sash", NULL
7257 };
7258
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7262 arg2 = (int)SWIG_As_int(obj1);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 arg3 = (bool)SWIG_As_bool(obj2);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 Py_INCREF(Py_None); resultobj = Py_None;
7274 return resultobj;
7275 fail:
7276 return NULL;
7277 }
7278
7279
7280 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj;
7282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7283 int arg2 ;
7284 bool result;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 char *kwnames[] = {
7288 (char *) "self",(char *) "edge", NULL
7289 };
7290
7291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7294 arg2 = (int)SWIG_As_int(obj1);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 {
7304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7305 }
7306 return resultobj;
7307 fail:
7308 return NULL;
7309 }
7310
7311
7312 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7313 PyObject *resultobj;
7314 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7315 int arg2 ;
7316 bool arg3 ;
7317 PyObject * obj0 = 0 ;
7318 PyObject * obj1 = 0 ;
7319 PyObject * obj2 = 0 ;
7320 char *kwnames[] = {
7321 (char *) "self",(char *) "edge",(char *) "border", NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7327 arg2 = (int)SWIG_As_int(obj1);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 arg3 = (bool)SWIG_As_bool(obj2);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7334
7335 wxPyEndAllowThreads(__tstate);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 }
7338 Py_INCREF(Py_None); resultobj = Py_None;
7339 return resultobj;
7340 fail:
7341 return NULL;
7342 }
7343
7344
7345 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7348 int arg2 ;
7349 bool result;
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self",(char *) "edge", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7359 arg2 = (int)SWIG_As_int(obj1);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 {
7369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7370 }
7371 return resultobj;
7372 fail:
7373 return NULL;
7374 }
7375
7376
7377 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj;
7379 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7380 int arg2 ;
7381 int result;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj1 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self",(char *) "edge", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7391 arg2 = (int)SWIG_As_int(obj1);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7396
7397 wxPyEndAllowThreads(__tstate);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 resultobj = SWIG_From_int((int)result);
7401 return resultobj;
7402 fail:
7403 return NULL;
7404 }
7405
7406
7407 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7410 int arg2 ;
7411 PyObject * obj0 = 0 ;
7412 PyObject * obj1 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "self",(char *) "width", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7420 arg2 = (int)SWIG_As_int(obj1);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 (arg1)->SetDefaultBorderSize(arg2);
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 Py_INCREF(Py_None); resultobj = Py_None;
7430 return resultobj;
7431 fail:
7432 return NULL;
7433 }
7434
7435
7436 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7437 PyObject *resultobj;
7438 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7439 int result;
7440 PyObject * obj0 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "self", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 resultobj = SWIG_From_int((int)result);
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7465 int arg2 ;
7466 PyObject * obj0 = 0 ;
7467 PyObject * obj1 = 0 ;
7468 char *kwnames[] = {
7469 (char *) "self",(char *) "width", NULL
7470 };
7471
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7475 arg2 = (int)SWIG_As_int(obj1);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 {
7478 PyThreadState* __tstate = wxPyBeginAllowThreads();
7479 (arg1)->SetExtraBorderSize(arg2);
7480
7481 wxPyEndAllowThreads(__tstate);
7482 if (PyErr_Occurred()) SWIG_fail;
7483 }
7484 Py_INCREF(Py_None); resultobj = Py_None;
7485 return resultobj;
7486 fail:
7487 return NULL;
7488 }
7489
7490
7491 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7492 PyObject *resultobj;
7493 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7494 int result;
7495 PyObject * obj0 = 0 ;
7496 char *kwnames[] = {
7497 (char *) "self", NULL
7498 };
7499
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 resultobj = SWIG_From_int((int)result);
7511 return resultobj;
7512 fail:
7513 return NULL;
7514 }
7515
7516
7517 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7518 PyObject *resultobj;
7519 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7520 int arg2 ;
7521 PyObject * obj0 = 0 ;
7522 PyObject * obj1 = 0 ;
7523 char *kwnames[] = {
7524 (char *) "self",(char *) "min", NULL
7525 };
7526
7527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7530 arg2 = (int)SWIG_As_int(obj1);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 (arg1)->SetMinimumSizeX(arg2);
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 Py_INCREF(Py_None); resultobj = Py_None;
7540 return resultobj;
7541 fail:
7542 return NULL;
7543 }
7544
7545
7546 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7549 int arg2 ;
7550 PyObject * obj0 = 0 ;
7551 PyObject * obj1 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "self",(char *) "min", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7559 arg2 = (int)SWIG_As_int(obj1);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 (arg1)->SetMinimumSizeY(arg2);
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 Py_INCREF(Py_None); resultobj = Py_None;
7569 return resultobj;
7570 fail:
7571 return NULL;
7572 }
7573
7574
7575 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj;
7577 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7578 int result;
7579 PyObject * obj0 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "self", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 resultobj = SWIG_From_int((int)result);
7595 return resultobj;
7596 fail:
7597 return NULL;
7598 }
7599
7600
7601 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7602 PyObject *resultobj;
7603 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7604 int result;
7605 PyObject * obj0 = 0 ;
7606 char *kwnames[] = {
7607 (char *) "self", NULL
7608 };
7609
7610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7613 {
7614 PyThreadState* __tstate = wxPyBeginAllowThreads();
7615 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7616
7617 wxPyEndAllowThreads(__tstate);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 }
7620 resultobj = SWIG_From_int((int)result);
7621 return resultobj;
7622 fail:
7623 return NULL;
7624 }
7625
7626
7627 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7628 PyObject *resultobj;
7629 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7630 int arg2 ;
7631 PyObject * obj0 = 0 ;
7632 PyObject * obj1 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "max", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7640 arg2 = (int)SWIG_As_int(obj1);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 (arg1)->SetMaximumSizeX(arg2);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 Py_INCREF(Py_None); resultobj = Py_None;
7650 return resultobj;
7651 fail:
7652 return NULL;
7653 }
7654
7655
7656 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj;
7658 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7659 int arg2 ;
7660 PyObject * obj0 = 0 ;
7661 PyObject * obj1 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "self",(char *) "max", NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7669 arg2 = (int)SWIG_As_int(obj1);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 (arg1)->SetMaximumSizeY(arg2);
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 Py_INCREF(Py_None); resultobj = Py_None;
7679 return resultobj;
7680 fail:
7681 return NULL;
7682 }
7683
7684
7685 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj;
7687 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7688 int result;
7689 PyObject * obj0 = 0 ;
7690 char *kwnames[] = {
7691 (char *) "self", NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 resultobj = SWIG_From_int((int)result);
7705 return resultobj;
7706 fail:
7707 return NULL;
7708 }
7709
7710
7711 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj;
7713 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7714 int result;
7715 PyObject * obj0 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7726
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 resultobj = SWIG_From_int((int)result);
7731 return resultobj;
7732 fail:
7733 return NULL;
7734 }
7735
7736
7737 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj;
7739 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7740 int arg2 ;
7741 int arg3 ;
7742 int arg4 = (int) 2 ;
7743 int result;
7744 PyObject * obj0 = 0 ;
7745 PyObject * obj1 = 0 ;
7746 PyObject * obj2 = 0 ;
7747 PyObject * obj3 = 0 ;
7748 char *kwnames[] = {
7749 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7755 arg2 = (int)SWIG_As_int(obj1);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 arg3 = (int)SWIG_As_int(obj2);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 if (obj3) {
7760 arg4 = (int)SWIG_As_int(obj3);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 resultobj = SWIG_From_int((int)result);
7771 return resultobj;
7772 fail:
7773 return NULL;
7774 }
7775
7776
7777 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj;
7779 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7780 PyObject * obj0 = 0 ;
7781 char *kwnames[] = {
7782 (char *) "self", NULL
7783 };
7784
7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 (arg1)->SizeWindows();
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 Py_INCREF(Py_None); resultobj = Py_None;
7796 return resultobj;
7797 fail:
7798 return NULL;
7799 }
7800
7801
7802 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7803 PyObject *obj;
7804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7805 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7806 Py_INCREF(obj);
7807 return Py_BuildValue((char *)"");
7808 }
7809 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj;
7811 int arg1 = (int) 0 ;
7812 int arg2 = (int) wxSASH_NONE ;
7813 wxSashEvent *result;
7814 PyObject * obj0 = 0 ;
7815 PyObject * obj1 = 0 ;
7816 char *kwnames[] = {
7817 (char *) "id",(char *) "edge", NULL
7818 };
7819
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7821 if (obj0) {
7822 arg1 = (int)SWIG_As_int(obj0);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 if (obj1) {
7826 arg2 = (int)SWIG_As_int(obj1);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7832
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7837 return resultobj;
7838 fail:
7839 return NULL;
7840 }
7841
7842
7843 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7844 PyObject *resultobj;
7845 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7846 int arg2 ;
7847 PyObject * obj0 = 0 ;
7848 PyObject * obj1 = 0 ;
7849 char *kwnames[] = {
7850 (char *) "self",(char *) "edge", NULL
7851 };
7852
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7856 arg2 = (int)SWIG_As_int(obj1);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 {
7859 PyThreadState* __tstate = wxPyBeginAllowThreads();
7860 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7861
7862 wxPyEndAllowThreads(__tstate);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 }
7865 Py_INCREF(Py_None); resultobj = Py_None;
7866 return resultobj;
7867 fail:
7868 return NULL;
7869 }
7870
7871
7872 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj;
7874 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7875 int result;
7876 PyObject * obj0 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 resultobj = SWIG_From_int((int)result);
7892 return resultobj;
7893 fail:
7894 return NULL;
7895 }
7896
7897
7898 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj;
7900 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7901 wxRect *arg2 = 0 ;
7902 wxRect temp2 ;
7903 PyObject * obj0 = 0 ;
7904 PyObject * obj1 = 0 ;
7905 char *kwnames[] = {
7906 (char *) "self",(char *) "rect", NULL
7907 };
7908
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7912 {
7913 arg2 = &temp2;
7914 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7915 }
7916 {
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 (arg1)->SetDragRect((wxRect const &)*arg2);
7919
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 Py_INCREF(Py_None); resultobj = Py_None;
7924 return resultobj;
7925 fail:
7926 return NULL;
7927 }
7928
7929
7930 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj;
7932 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7933 wxRect result;
7934 PyObject * obj0 = 0 ;
7935 char *kwnames[] = {
7936 (char *) "self", NULL
7937 };
7938
7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 result = ((wxSashEvent const *)arg1)->GetDragRect();
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 {
7950 wxRect * resultptr;
7951 resultptr = new wxRect((wxRect &) result);
7952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7953 }
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7963 int arg2 ;
7964 PyObject * obj0 = 0 ;
7965 PyObject * obj1 = 0 ;
7966 char *kwnames[] = {
7967 (char *) "self",(char *) "status", NULL
7968 };
7969
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7973 arg2 = (int)SWIG_As_int(obj1);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 Py_INCREF(Py_None); resultobj = Py_None;
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj;
7991 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7992 int result;
7993 PyObject * obj0 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 }
8008 resultobj = SWIG_From_int((int)result);
8009 return resultobj;
8010 fail:
8011 return NULL;
8012 }
8013
8014
8015 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
8016 PyObject *obj;
8017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8018 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8019 Py_INCREF(obj);
8020 return Py_BuildValue((char *)"");
8021 }
8022 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 int arg1 = (int) 0 ;
8025 wxQueryLayoutInfoEvent *result;
8026 PyObject * obj0 = 0 ;
8027 char *kwnames[] = {
8028 (char *) "id", NULL
8029 };
8030
8031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8032 if (obj0) {
8033 arg1 = (int)SWIG_As_int(obj0);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8044 return resultobj;
8045 fail:
8046 return NULL;
8047 }
8048
8049
8050 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8053 int arg2 ;
8054 PyObject * obj0 = 0 ;
8055 PyObject * obj1 = 0 ;
8056 char *kwnames[] = {
8057 (char *) "self",(char *) "length", NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8063 arg2 = (int)SWIG_As_int(obj1);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->SetRequestedLength(arg2);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8082 int result;
8083 PyObject * obj0 = 0 ;
8084 char *kwnames[] = {
8085 (char *) "self", NULL
8086 };
8087
8088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 resultobj = SWIG_From_int((int)result);
8099 return resultobj;
8100 fail:
8101 return NULL;
8102 }
8103
8104
8105 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8108 int arg2 ;
8109 PyObject * obj0 = 0 ;
8110 PyObject * obj1 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self",(char *) "flags", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8118 arg2 = (int)SWIG_As_int(obj1);
8119 if (PyErr_Occurred()) SWIG_fail;
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 (arg1)->SetFlags(arg2);
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 Py_INCREF(Py_None); resultobj = Py_None;
8128 return resultobj;
8129 fail:
8130 return NULL;
8131 }
8132
8133
8134 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8135 PyObject *resultobj;
8136 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8137 int result;
8138 PyObject * obj0 = 0 ;
8139 char *kwnames[] = {
8140 (char *) "self", NULL
8141 };
8142
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8146 {
8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8148 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8149
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 }
8153 resultobj = SWIG_From_int((int)result);
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj;
8162 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8163 wxSize *arg2 = 0 ;
8164 wxSize temp2 ;
8165 PyObject * obj0 = 0 ;
8166 PyObject * obj1 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "self",(char *) "size", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8174 {
8175 arg2 = &temp2;
8176 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8177 }
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 (arg1)->SetSize((wxSize const &)*arg2);
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 Py_INCREF(Py_None); resultobj = Py_None;
8186 return resultobj;
8187 fail:
8188 return NULL;
8189 }
8190
8191
8192 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8195 wxSize result;
8196 PyObject * obj0 = 0 ;
8197 char *kwnames[] = {
8198 (char *) "self", NULL
8199 };
8200
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8204 {
8205 PyThreadState* __tstate = wxPyBeginAllowThreads();
8206 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8207
8208 wxPyEndAllowThreads(__tstate);
8209 if (PyErr_Occurred()) SWIG_fail;
8210 }
8211 {
8212 wxSize * resultptr;
8213 resultptr = new wxSize((wxSize &) result);
8214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8215 }
8216 return resultobj;
8217 fail:
8218 return NULL;
8219 }
8220
8221
8222 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8223 PyObject *resultobj;
8224 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8225 int arg2 ;
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self",(char *) "orient", NULL
8230 };
8231
8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8235 arg2 = (int)SWIG_As_int(obj1);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 Py_INCREF(Py_None); resultobj = Py_None;
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8254 int result;
8255 PyObject * obj0 = 0 ;
8256 char *kwnames[] = {
8257 (char *) "self", NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 resultobj = SWIG_From_int((int)result);
8271 return resultobj;
8272 fail:
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8280 int arg2 ;
8281 PyObject * obj0 = 0 ;
8282 PyObject * obj1 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "self",(char *) "align", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8290 arg2 = (int)SWIG_As_int(obj1);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 Py_INCREF(Py_None); resultobj = Py_None;
8300 return resultobj;
8301 fail:
8302 return NULL;
8303 }
8304
8305
8306 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj;
8308 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8309 int result;
8310 PyObject * obj0 = 0 ;
8311 char *kwnames[] = {
8312 (char *) "self", NULL
8313 };
8314
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8318 {
8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
8320 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) SWIG_fail;
8324 }
8325 resultobj = SWIG_From_int((int)result);
8326 return resultobj;
8327 fail:
8328 return NULL;
8329 }
8330
8331
8332 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8333 PyObject *obj;
8334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8335 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8336 Py_INCREF(obj);
8337 return Py_BuildValue((char *)"");
8338 }
8339 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 int arg1 = (int) 0 ;
8342 wxCalculateLayoutEvent *result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "id", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8349 if (obj0) {
8350 arg1 = (int)SWIG_As_int(obj0);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8361 return resultobj;
8362 fail:
8363 return NULL;
8364 }
8365
8366
8367 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj;
8369 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8370 int arg2 ;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 char *kwnames[] = {
8374 (char *) "self",(char *) "flags", NULL
8375 };
8376
8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8380 arg2 = (int)SWIG_As_int(obj1);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 (arg1)->SetFlags(arg2);
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 Py_INCREF(Py_None); resultobj = Py_None;
8390 return resultobj;
8391 fail:
8392 return NULL;
8393 }
8394
8395
8396 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8397 PyObject *resultobj;
8398 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8399 int result;
8400 PyObject * obj0 = 0 ;
8401 char *kwnames[] = {
8402 (char *) "self", NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8411
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 resultobj = SWIG_From_int((int)result);
8416 return resultobj;
8417 fail:
8418 return NULL;
8419 }
8420
8421
8422 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj;
8424 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8425 wxRect *arg2 = 0 ;
8426 wxRect temp2 ;
8427 PyObject * obj0 = 0 ;
8428 PyObject * obj1 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "self",(char *) "rect", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8436 {
8437 arg2 = &temp2;
8438 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8439 }
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 (arg1)->SetRect((wxRect const &)*arg2);
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 Py_INCREF(Py_None); resultobj = Py_None;
8448 return resultobj;
8449 fail:
8450 return NULL;
8451 }
8452
8453
8454 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8455 PyObject *resultobj;
8456 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8457 wxRect result;
8458 PyObject * obj0 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 {
8474 wxRect * resultptr;
8475 resultptr = new wxRect((wxRect &) result);
8476 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8477 }
8478 return resultobj;
8479 fail:
8480 return NULL;
8481 }
8482
8483
8484 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8485 PyObject *obj;
8486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8487 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8488 Py_INCREF(obj);
8489 return Py_BuildValue((char *)"");
8490 }
8491 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxWindow *arg1 = (wxWindow *) 0 ;
8494 int arg2 = (int) -1 ;
8495 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8496 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8497 wxSize const &arg4_defvalue = wxDefaultSize ;
8498 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8499 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8500 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8501 wxString *arg6 = (wxString *) &arg6_defvalue ;
8502 wxSashLayoutWindow *result;
8503 wxPoint temp3 ;
8504 wxSize temp4 ;
8505 bool temp6 = False ;
8506 PyObject * obj0 = 0 ;
8507 PyObject * obj1 = 0 ;
8508 PyObject * obj2 = 0 ;
8509 PyObject * obj3 = 0 ;
8510 PyObject * obj4 = 0 ;
8511 PyObject * obj5 = 0 ;
8512 char *kwnames[] = {
8513 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8514 };
8515
8516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8519 if (obj1) {
8520 arg2 = (int)SWIG_As_int(obj1);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 if (obj2) {
8524 {
8525 arg3 = &temp3;
8526 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8527 }
8528 }
8529 if (obj3) {
8530 {
8531 arg4 = &temp4;
8532 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8533 }
8534 }
8535 if (obj4) {
8536 arg5 = (long)SWIG_As_long(obj4);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 if (obj5) {
8540 {
8541 arg6 = wxString_in_helper(obj5);
8542 if (arg6 == NULL) SWIG_fail;
8543 temp6 = True;
8544 }
8545 }
8546 {
8547 if (!wxPyCheckForApp()) SWIG_fail;
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8555 {
8556 if (temp6)
8557 delete arg6;
8558 }
8559 return resultobj;
8560 fail:
8561 {
8562 if (temp6)
8563 delete arg6;
8564 }
8565 return NULL;
8566 }
8567
8568
8569 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj;
8571 wxSashLayoutWindow *result;
8572 char *kwnames[] = {
8573 NULL
8574 };
8575
8576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8577 {
8578 if (!wxPyCheckForApp()) SWIG_fail;
8579 PyThreadState* __tstate = wxPyBeginAllowThreads();
8580 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8581
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8586 return resultobj;
8587 fail:
8588 return NULL;
8589 }
8590
8591
8592 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8593 PyObject *resultobj;
8594 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8595 wxWindow *arg2 = (wxWindow *) 0 ;
8596 int arg3 = (int) -1 ;
8597 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8598 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8599 wxSize const &arg5_defvalue = wxDefaultSize ;
8600 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8601 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8602 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8603 wxString *arg7 = (wxString *) &arg7_defvalue ;
8604 bool result;
8605 wxPoint temp4 ;
8606 wxSize temp5 ;
8607 bool temp7 = False ;
8608 PyObject * obj0 = 0 ;
8609 PyObject * obj1 = 0 ;
8610 PyObject * obj2 = 0 ;
8611 PyObject * obj3 = 0 ;
8612 PyObject * obj4 = 0 ;
8613 PyObject * obj5 = 0 ;
8614 PyObject * obj6 = 0 ;
8615 char *kwnames[] = {
8616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8617 };
8618
8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8624 if (obj2) {
8625 arg3 = (int)SWIG_As_int(obj2);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 if (obj3) {
8629 {
8630 arg4 = &temp4;
8631 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8632 }
8633 }
8634 if (obj4) {
8635 {
8636 arg5 = &temp5;
8637 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8638 }
8639 }
8640 if (obj5) {
8641 arg6 = (long)SWIG_As_long(obj5);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 if (obj6) {
8645 {
8646 arg7 = wxString_in_helper(obj6);
8647 if (arg7 == NULL) SWIG_fail;
8648 temp7 = True;
8649 }
8650 }
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 {
8659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8660 }
8661 {
8662 if (temp7)
8663 delete arg7;
8664 }
8665 return resultobj;
8666 fail:
8667 {
8668 if (temp7)
8669 delete arg7;
8670 }
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8678 int result;
8679 PyObject * obj0 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (int)(arg1)->GetAlignment();
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 resultobj = SWIG_From_int((int)result);
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8704 int result;
8705 PyObject * obj0 = 0 ;
8706 char *kwnames[] = {
8707 (char *) "self", NULL
8708 };
8709
8710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 result = (int)(arg1)->GetOrientation();
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 resultobj = SWIG_From_int((int)result);
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8730 int arg2 ;
8731 PyObject * obj0 = 0 ;
8732 PyObject * obj1 = 0 ;
8733 char *kwnames[] = {
8734 (char *) "self",(char *) "alignment", NULL
8735 };
8736
8737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8740 arg2 = (int)SWIG_As_int(obj1);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 {
8743 PyThreadState* __tstate = wxPyBeginAllowThreads();
8744 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8745
8746 wxPyEndAllowThreads(__tstate);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 Py_INCREF(Py_None); resultobj = Py_None;
8750 return resultobj;
8751 fail:
8752 return NULL;
8753 }
8754
8755
8756 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8757 PyObject *resultobj;
8758 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8759 wxSize *arg2 = 0 ;
8760 wxSize temp2 ;
8761 PyObject * obj0 = 0 ;
8762 PyObject * obj1 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "self",(char *) "size", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8770 {
8771 arg2 = &temp2;
8772 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8773 }
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 Py_INCREF(Py_None); resultobj = Py_None;
8782 return resultobj;
8783 fail:
8784 return NULL;
8785 }
8786
8787
8788 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8789 PyObject *resultobj;
8790 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8791 int arg2 ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self",(char *) "orientation", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8801 arg2 = (int)SWIG_As_int(obj1);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 {
8804 PyThreadState* __tstate = wxPyBeginAllowThreads();
8805 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8806
8807 wxPyEndAllowThreads(__tstate);
8808 if (PyErr_Occurred()) SWIG_fail;
8809 }
8810 Py_INCREF(Py_None); resultobj = Py_None;
8811 return resultobj;
8812 fail:
8813 return NULL;
8814 }
8815
8816
8817 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8818 PyObject *obj;
8819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8820 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8821 Py_INCREF(obj);
8822 return Py_BuildValue((char *)"");
8823 }
8824 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8825 PyObject *resultobj;
8826 wxLayoutAlgorithm *result;
8827 char *kwnames[] = {
8828 NULL
8829 };
8830
8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8847 PyObject *resultobj;
8848 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8849 PyObject * obj0 = 0 ;
8850 char *kwnames[] = {
8851 (char *) "self", NULL
8852 };
8853
8854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8859 delete arg1;
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 Py_INCREF(Py_None); resultobj = Py_None;
8865 return resultobj;
8866 fail:
8867 return NULL;
8868 }
8869
8870
8871 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8872 PyObject *resultobj;
8873 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8874 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8875 wxRect *arg3 = (wxRect *) NULL ;
8876 bool result;
8877 PyObject * obj0 = 0 ;
8878 PyObject * obj1 = 0 ;
8879 PyObject * obj2 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "self",(char *) "frame",(char *) "rect", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8889 if (obj2) {
8890 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 {
8901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8902 }
8903 return resultobj;
8904 fail:
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8912 wxFrame *arg2 = (wxFrame *) 0 ;
8913 wxWindow *arg3 = (wxWindow *) NULL ;
8914 bool result;
8915 PyObject * obj0 = 0 ;
8916 PyObject * obj1 = 0 ;
8917 PyObject * obj2 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8927 if (obj2) {
8928 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8930 }
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 {
8939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8940 }
8941 return resultobj;
8942 fail:
8943 return NULL;
8944 }
8945
8946
8947 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8950 wxWindow *arg2 = (wxWindow *) 0 ;
8951 wxWindow *arg3 = (wxWindow *) NULL ;
8952 bool result;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 PyObject * obj2 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8965 if (obj2) {
8966 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8968 }
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 {
8977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8978 }
8979 return resultobj;
8980 fail:
8981 return NULL;
8982 }
8983
8984
8985 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8986 PyObject *obj;
8987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8988 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8989 Py_INCREF(obj);
8990 return Py_BuildValue((char *)"");
8991 }
8992 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8993 PyObject *resultobj;
8994 wxWindow *arg1 = (wxWindow *) 0 ;
8995 int arg2 = (int) wxBORDER_NONE ;
8996 wxPopupWindow *result;
8997 PyObject * obj0 = 0 ;
8998 PyObject * obj1 = 0 ;
8999 char *kwnames[] = {
9000 (char *) "parent",(char *) "flags", NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
9004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9006 if (obj1) {
9007 arg2 = (int)SWIG_As_int(obj1);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
9010 {
9011 PyThreadState* __tstate = wxPyBeginAllowThreads();
9012 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
9013
9014 wxPyEndAllowThreads(__tstate);
9015 if (PyErr_Occurred()) SWIG_fail;
9016 }
9017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9018 return resultobj;
9019 fail:
9020 return NULL;
9021 }
9022
9023
9024 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9025 PyObject *resultobj;
9026 wxPopupWindow *result;
9027 char *kwnames[] = {
9028 NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9032 {
9033 PyThreadState* __tstate = wxPyBeginAllowThreads();
9034 result = (wxPopupWindow *)new wxPopupWindow();
9035
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9040 return resultobj;
9041 fail:
9042 return NULL;
9043 }
9044
9045
9046 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9047 PyObject *obj;
9048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9049 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9050 Py_INCREF(obj);
9051 return Py_BuildValue((char *)"");
9052 }
9053 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9054 PyObject *resultobj;
9055 wxWindow *arg1 = (wxWindow *) 0 ;
9056 int arg2 = (int) wxBORDER_NONE ;
9057 wxPyPopupTransientWindow *result;
9058 PyObject * obj0 = 0 ;
9059 PyObject * obj1 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "parent",(char *) "style", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9067 if (obj1) {
9068 arg2 = (int)SWIG_As_int(obj1);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9079 return resultobj;
9080 fail:
9081 return NULL;
9082 }
9083
9084
9085 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxPyPopupTransientWindow *result;
9088 char *kwnames[] = {
9089 NULL
9090 };
9091
9092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9101 return resultobj;
9102 fail:
9103 return NULL;
9104 }
9105
9106
9107 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9108 PyObject *obj;
9109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9110 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9111 Py_INCREF(obj);
9112 return Py_BuildValue((char *)"");
9113 }
9114 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9115 PyObject *resultobj;
9116 wxWindow *arg1 = (wxWindow *) 0 ;
9117 wxString *arg2 = 0 ;
9118 int arg3 = (int) 100 ;
9119 wxRect *arg4 = (wxRect *) NULL ;
9120 wxTipWindow *result;
9121 bool temp2 = False ;
9122 PyObject * obj0 = 0 ;
9123 PyObject * obj1 = 0 ;
9124 PyObject * obj2 = 0 ;
9125 PyObject * obj3 = 0 ;
9126 char *kwnames[] = {
9127 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9128 };
9129
9130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9133 {
9134 arg2 = wxString_in_helper(obj1);
9135 if (arg2 == NULL) SWIG_fail;
9136 temp2 = True;
9137 }
9138 if (obj2) {
9139 arg3 = (int)SWIG_As_int(obj2);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 if (obj3) {
9143 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9145 }
9146 {
9147 if (!wxPyCheckForApp()) SWIG_fail;
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9150
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9155 {
9156 if (temp2)
9157 delete arg2;
9158 }
9159 return resultobj;
9160 fail:
9161 {
9162 if (temp2)
9163 delete arg2;
9164 }
9165 return NULL;
9166 }
9167
9168
9169 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9170 PyObject *resultobj;
9171 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9172 wxRect *arg2 = 0 ;
9173 wxRect temp2 ;
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self",(char *) "rectBound", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9183 {
9184 arg2 = &temp2;
9185 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9186 }
9187 {
9188 PyThreadState* __tstate = wxPyBeginAllowThreads();
9189 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9190
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 Py_INCREF(Py_None); resultobj = Py_None;
9195 return resultobj;
9196 fail:
9197 return NULL;
9198 }
9199
9200
9201 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj;
9203 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9204 PyObject * obj0 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 (arg1)->Close();
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 Py_INCREF(Py_None); resultobj = Py_None;
9220 return resultobj;
9221 fail:
9222 return NULL;
9223 }
9224
9225
9226 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9227 PyObject *obj;
9228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9229 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9230 Py_INCREF(obj);
9231 return Py_BuildValue((char *)"");
9232 }
9233 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9234 PyObject *resultobj;
9235 wxWindow *arg1 = (wxWindow *) 0 ;
9236 int arg2 = (int) wxID_ANY ;
9237 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9238 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9239 wxSize const &arg4_defvalue = wxDefaultSize ;
9240 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9241 long arg5 = (long) 0 ;
9242 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9243 wxString *arg6 = (wxString *) &arg6_defvalue ;
9244 wxPyVScrolledWindow *result;
9245 wxPoint temp3 ;
9246 wxSize temp4 ;
9247 bool temp6 = False ;
9248 PyObject * obj0 = 0 ;
9249 PyObject * obj1 = 0 ;
9250 PyObject * obj2 = 0 ;
9251 PyObject * obj3 = 0 ;
9252 PyObject * obj4 = 0 ;
9253 PyObject * obj5 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9261 if (obj1) {
9262 arg2 = (int)SWIG_As_int(obj1);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 if (obj2) {
9266 {
9267 arg3 = &temp3;
9268 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9269 }
9270 }
9271 if (obj3) {
9272 {
9273 arg4 = &temp4;
9274 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9275 }
9276 }
9277 if (obj4) {
9278 arg5 = (long)SWIG_As_long(obj4);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 if (obj5) {
9282 {
9283 arg6 = wxString_in_helper(obj5);
9284 if (arg6 == NULL) SWIG_fail;
9285 temp6 = True;
9286 }
9287 }
9288 {
9289 if (!wxPyCheckForApp()) SWIG_fail;
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9297 {
9298 if (temp6)
9299 delete arg6;
9300 }
9301 return resultobj;
9302 fail:
9303 {
9304 if (temp6)
9305 delete arg6;
9306 }
9307 return NULL;
9308 }
9309
9310
9311 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9312 PyObject *resultobj;
9313 wxPyVScrolledWindow *result;
9314 char *kwnames[] = {
9315 NULL
9316 };
9317
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9319 {
9320 if (!wxPyCheckForApp()) SWIG_fail;
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9328 return resultobj;
9329 fail:
9330 return NULL;
9331 }
9332
9333
9334 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj;
9336 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9337 PyObject *arg2 = (PyObject *) 0 ;
9338 PyObject *arg3 = (PyObject *) 0 ;
9339 PyObject * obj0 = 0 ;
9340 PyObject * obj1 = 0 ;
9341 PyObject * obj2 = 0 ;
9342 char *kwnames[] = {
9343 (char *) "self",(char *) "self",(char *) "_class", NULL
9344 };
9345
9346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9349 arg2 = obj1;
9350 arg3 = obj2;
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 (arg1)->_setCallbackInfo(arg2,arg3);
9354
9355 wxPyEndAllowThreads(__tstate);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
9358 Py_INCREF(Py_None); resultobj = Py_None;
9359 return resultobj;
9360 fail:
9361 return NULL;
9362 }
9363
9364
9365 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9366 PyObject *resultobj;
9367 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9368 wxWindow *arg2 = (wxWindow *) 0 ;
9369 int arg3 = (int) wxID_ANY ;
9370 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9371 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9372 wxSize const &arg5_defvalue = wxDefaultSize ;
9373 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9374 long arg6 = (long) 0 ;
9375 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9376 wxString *arg7 = (wxString *) &arg7_defvalue ;
9377 bool result;
9378 wxPoint temp4 ;
9379 wxSize temp5 ;
9380 bool temp7 = False ;
9381 PyObject * obj0 = 0 ;
9382 PyObject * obj1 = 0 ;
9383 PyObject * obj2 = 0 ;
9384 PyObject * obj3 = 0 ;
9385 PyObject * obj4 = 0 ;
9386 PyObject * obj5 = 0 ;
9387 PyObject * obj6 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9397 if (obj2) {
9398 arg3 = (int)SWIG_As_int(obj2);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 if (obj3) {
9402 {
9403 arg4 = &temp4;
9404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9405 }
9406 }
9407 if (obj4) {
9408 {
9409 arg5 = &temp5;
9410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9411 }
9412 }
9413 if (obj5) {
9414 arg6 = (long)SWIG_As_long(obj5);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 if (obj6) {
9418 {
9419 arg7 = wxString_in_helper(obj6);
9420 if (arg7 == NULL) SWIG_fail;
9421 temp7 = True;
9422 }
9423 }
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 {
9432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9433 }
9434 {
9435 if (temp7)
9436 delete arg7;
9437 }
9438 return resultobj;
9439 fail:
9440 {
9441 if (temp7)
9442 delete arg7;
9443 }
9444 return NULL;
9445 }
9446
9447
9448 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9449 PyObject *resultobj;
9450 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9451 size_t arg2 ;
9452 PyObject * obj0 = 0 ;
9453 PyObject * obj1 = 0 ;
9454 char *kwnames[] = {
9455 (char *) "self",(char *) "count", NULL
9456 };
9457
9458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9461 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 (arg1)->SetLineCount(arg2);
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 Py_INCREF(Py_None); resultobj = Py_None;
9471 return resultobj;
9472 fail:
9473 return NULL;
9474 }
9475
9476
9477 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9480 size_t arg2 ;
9481 bool result;
9482 PyObject * obj0 = 0 ;
9483 PyObject * obj1 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "self",(char *) "line", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9491 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (bool)(arg1)->ScrollToLine(arg2);
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 {
9501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9502 }
9503 return resultobj;
9504 fail:
9505 return NULL;
9506 }
9507
9508
9509 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9510 PyObject *resultobj;
9511 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9512 int arg2 ;
9513 bool result;
9514 PyObject * obj0 = 0 ;
9515 PyObject * obj1 = 0 ;
9516 char *kwnames[] = {
9517 (char *) "self",(char *) "lines", NULL
9518 };
9519
9520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9523 arg2 = (int)SWIG_As_int(obj1);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 {
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
9527 result = (bool)(arg1)->ScrollLines(arg2);
9528
9529 wxPyEndAllowThreads(__tstate);
9530 if (PyErr_Occurred()) SWIG_fail;
9531 }
9532 {
9533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9534 }
9535 return resultobj;
9536 fail:
9537 return NULL;
9538 }
9539
9540
9541 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9542 PyObject *resultobj;
9543 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9544 int arg2 ;
9545 bool result;
9546 PyObject * obj0 = 0 ;
9547 PyObject * obj1 = 0 ;
9548 char *kwnames[] = {
9549 (char *) "self",(char *) "pages", NULL
9550 };
9551
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9555 arg2 = (int)SWIG_As_int(obj1);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 result = (bool)(arg1)->ScrollPages(arg2);
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 {
9565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9566 }
9567 return resultobj;
9568 fail:
9569 return NULL;
9570 }
9571
9572
9573 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9574 PyObject *resultobj;
9575 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9576 size_t arg2 ;
9577 PyObject * obj0 = 0 ;
9578 PyObject * obj1 = 0 ;
9579 char *kwnames[] = {
9580 (char *) "self",(char *) "line", NULL
9581 };
9582
9583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9586 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 {
9589 PyThreadState* __tstate = wxPyBeginAllowThreads();
9590 (arg1)->RefreshLine(arg2);
9591
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 Py_INCREF(Py_None); resultobj = Py_None;
9596 return resultobj;
9597 fail:
9598 return NULL;
9599 }
9600
9601
9602 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9603 PyObject *resultobj;
9604 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9605 size_t arg2 ;
9606 size_t arg3 ;
9607 PyObject * obj0 = 0 ;
9608 PyObject * obj1 = 0 ;
9609 PyObject * obj2 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self",(char *) "from",(char *) "to", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9617 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 (arg1)->RefreshLines(arg2,arg3);
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 Py_INCREF(Py_None); resultobj = Py_None;
9629 return resultobj;
9630 fail:
9631 return NULL;
9632 }
9633
9634
9635 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9636 PyObject *resultobj;
9637 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9638 int arg2 ;
9639 int arg3 ;
9640 int result;
9641 PyObject * obj0 = 0 ;
9642 PyObject * obj1 = 0 ;
9643 PyObject * obj2 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "self",(char *) "x",(char *) "y", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9651 arg2 = (int)SWIG_As_int(obj1);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 arg3 = (int)SWIG_As_int(obj2);
9654 if (PyErr_Occurred()) SWIG_fail;
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 resultobj = SWIG_From_int((int)result);
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9672 wxPoint *arg2 = 0 ;
9673 int result;
9674 wxPoint temp2 ;
9675 PyObject * obj0 = 0 ;
9676 PyObject * obj1 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "self",(char *) "pt", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9684 {
9685 arg2 = &temp2;
9686 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9687 }
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
9695 resultobj = SWIG_From_int((int)result);
9696 return resultobj;
9697 fail:
9698 return NULL;
9699 }
9700
9701
9702 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9703 PyObject *resultobj;
9704 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9705 PyObject * obj0 = 0 ;
9706 char *kwnames[] = {
9707 (char *) "self", NULL
9708 };
9709
9710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 (arg1)->RefreshAll();
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 Py_INCREF(Py_None); resultobj = Py_None;
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9730 size_t result;
9731 PyObject * obj0 = 0 ;
9732 char *kwnames[] = {
9733 (char *) "self", NULL
9734 };
9735
9736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9747 return resultobj;
9748 fail:
9749 return NULL;
9750 }
9751
9752
9753 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9756 size_t result;
9757 PyObject * obj0 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9773 return resultobj;
9774 fail:
9775 return NULL;
9776 }
9777
9778
9779 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9780 PyObject *resultobj;
9781 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9782 size_t result;
9783 PyObject * obj0 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9808 size_t arg2 ;
9809 bool result;
9810 PyObject * obj0 = 0 ;
9811 PyObject * obj1 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self",(char *) "line", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 {
9829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9830 }
9831 return resultobj;
9832 fail:
9833 return NULL;
9834 }
9835
9836
9837 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9838 PyObject *obj;
9839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9840 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9841 Py_INCREF(obj);
9842 return Py_BuildValue((char *)"");
9843 }
9844 static int _wrap_VListBoxNameStr_set(PyObject *) {
9845 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9846 return 1;
9847 }
9848
9849
9850 static PyObject *_wrap_VListBoxNameStr_get() {
9851 PyObject *pyobj;
9852
9853 {
9854 #if wxUSE_UNICODE
9855 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9856 #else
9857 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9858 #endif
9859 }
9860 return pyobj;
9861 }
9862
9863
9864 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj;
9866 wxWindow *arg1 = (wxWindow *) 0 ;
9867 int arg2 = (int) wxID_ANY ;
9868 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9869 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9870 wxSize const &arg4_defvalue = wxDefaultSize ;
9871 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9872 long arg5 = (long) 0 ;
9873 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9874 wxString *arg6 = (wxString *) &arg6_defvalue ;
9875 wxPyVListBox *result;
9876 wxPoint temp3 ;
9877 wxSize temp4 ;
9878 bool temp6 = False ;
9879 PyObject * obj0 = 0 ;
9880 PyObject * obj1 = 0 ;
9881 PyObject * obj2 = 0 ;
9882 PyObject * obj3 = 0 ;
9883 PyObject * obj4 = 0 ;
9884 PyObject * obj5 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9892 if (obj1) {
9893 arg2 = (int)SWIG_As_int(obj1);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 if (obj2) {
9897 {
9898 arg3 = &temp3;
9899 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9900 }
9901 }
9902 if (obj3) {
9903 {
9904 arg4 = &temp4;
9905 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9906 }
9907 }
9908 if (obj4) {
9909 arg5 = (long)SWIG_As_long(obj4);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 if (obj5) {
9913 {
9914 arg6 = wxString_in_helper(obj5);
9915 if (arg6 == NULL) SWIG_fail;
9916 temp6 = True;
9917 }
9918 }
9919 {
9920 if (!wxPyCheckForApp()) SWIG_fail;
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9928 {
9929 if (temp6)
9930 delete arg6;
9931 }
9932 return resultobj;
9933 fail:
9934 {
9935 if (temp6)
9936 delete arg6;
9937 }
9938 return NULL;
9939 }
9940
9941
9942 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxPyVListBox *result;
9945 char *kwnames[] = {
9946 NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9950 {
9951 if (!wxPyCheckForApp()) SWIG_fail;
9952 PyThreadState* __tstate = wxPyBeginAllowThreads();
9953 result = (wxPyVListBox *)new wxPyVListBox();
9954
9955 wxPyEndAllowThreads(__tstate);
9956 if (PyErr_Occurred()) SWIG_fail;
9957 }
9958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9959 return resultobj;
9960 fail:
9961 return NULL;
9962 }
9963
9964
9965 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9966 PyObject *resultobj;
9967 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9968 PyObject *arg2 = (PyObject *) 0 ;
9969 PyObject *arg3 = (PyObject *) 0 ;
9970 PyObject * obj0 = 0 ;
9971 PyObject * obj1 = 0 ;
9972 PyObject * obj2 = 0 ;
9973 char *kwnames[] = {
9974 (char *) "self",(char *) "self",(char *) "_class", NULL
9975 };
9976
9977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9980 arg2 = obj1;
9981 arg3 = obj2;
9982 {
9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
9984 (arg1)->_setCallbackInfo(arg2,arg3);
9985
9986 wxPyEndAllowThreads(__tstate);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 }
9989 Py_INCREF(Py_None); resultobj = Py_None;
9990 return resultobj;
9991 fail:
9992 return NULL;
9993 }
9994
9995
9996 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9997 PyObject *resultobj;
9998 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9999 wxWindow *arg2 = (wxWindow *) 0 ;
10000 int arg3 = (int) wxID_ANY ;
10001 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10002 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10003 wxSize const &arg5_defvalue = wxDefaultSize ;
10004 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10005 long arg6 = (long) 0 ;
10006 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10007 wxString *arg7 = (wxString *) &arg7_defvalue ;
10008 bool result;
10009 wxPoint temp4 ;
10010 wxSize temp5 ;
10011 bool temp7 = False ;
10012 PyObject * obj0 = 0 ;
10013 PyObject * obj1 = 0 ;
10014 PyObject * obj2 = 0 ;
10015 PyObject * obj3 = 0 ;
10016 PyObject * obj4 = 0 ;
10017 PyObject * obj5 = 0 ;
10018 PyObject * obj6 = 0 ;
10019 char *kwnames[] = {
10020 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10021 };
10022
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10028 if (obj2) {
10029 arg3 = (int)SWIG_As_int(obj2);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 if (obj3) {
10033 {
10034 arg4 = &temp4;
10035 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10036 }
10037 }
10038 if (obj4) {
10039 {
10040 arg5 = &temp5;
10041 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10042 }
10043 }
10044 if (obj5) {
10045 arg6 = (long)SWIG_As_long(obj5);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 if (obj6) {
10049 {
10050 arg7 = wxString_in_helper(obj6);
10051 if (arg7 == NULL) SWIG_fail;
10052 temp7 = True;
10053 }
10054 }
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
10057 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 {
10063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10064 }
10065 {
10066 if (temp7)
10067 delete arg7;
10068 }
10069 return resultobj;
10070 fail:
10071 {
10072 if (temp7)
10073 delete arg7;
10074 }
10075 return NULL;
10076 }
10077
10078
10079 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj;
10081 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10082 size_t result;
10083 PyObject * obj0 = 0 ;
10084 char *kwnames[] = {
10085 (char *) "self", NULL
10086 };
10087
10088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10091 {
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
10093 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10094
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10099 return resultobj;
10100 fail:
10101 return NULL;
10102 }
10103
10104
10105 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj;
10107 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10108 bool result;
10109 PyObject * obj0 = 0 ;
10110 char *kwnames[] = {
10111 (char *) "self", NULL
10112 };
10113
10114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10117 {
10118 PyThreadState* __tstate = wxPyBeginAllowThreads();
10119 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10120
10121 wxPyEndAllowThreads(__tstate);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 }
10124 {
10125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10126 }
10127 return resultobj;
10128 fail:
10129 return NULL;
10130 }
10131
10132
10133 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj;
10135 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10136 int result;
10137 PyObject * obj0 = 0 ;
10138 char *kwnames[] = {
10139 (char *) "self", NULL
10140 };
10141
10142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = SWIG_From_int((int)result);
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10162 size_t arg2 ;
10163 bool result;
10164 PyObject * obj0 = 0 ;
10165 PyObject * obj1 = 0 ;
10166 char *kwnames[] = {
10167 (char *) "self",(char *) "item", NULL
10168 };
10169
10170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10173 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 {
10183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10184 }
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10194 size_t arg2 ;
10195 bool result;
10196 PyObject * obj0 = 0 ;
10197 PyObject * obj1 = 0 ;
10198 char *kwnames[] = {
10199 (char *) "self",(char *) "item", NULL
10200 };
10201
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10205 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10210
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 {
10215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10216 }
10217 return resultobj;
10218 fail:
10219 return NULL;
10220 }
10221
10222
10223 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10224 PyObject *resultobj;
10225 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10226 size_t result;
10227 PyObject * obj0 = 0 ;
10228 char *kwnames[] = {
10229 (char *) "self", NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10243 return resultobj;
10244 fail:
10245 return NULL;
10246 }
10247
10248
10249 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10250 PyObject *resultobj;
10251 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10252 PyObject *result;
10253 PyObject * obj0 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 resultobj = result;
10269 return resultobj;
10270 fail:
10271 return NULL;
10272 }
10273
10274
10275 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10276 PyObject *resultobj;
10277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10278 unsigned long arg2 ;
10279 PyObject *result;
10280 PyObject * obj0 = 0 ;
10281 PyObject * obj1 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "self",(char *) "cookie", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10289 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 resultobj = result;
10299 return resultobj;
10300 fail:
10301 return NULL;
10302 }
10303
10304
10305 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10306 PyObject *resultobj;
10307 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10308 wxPoint result;
10309 PyObject * obj0 = 0 ;
10310 char *kwnames[] = {
10311 (char *) "self", NULL
10312 };
10313
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 result = ((wxPyVListBox const *)arg1)->GetMargins();
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 {
10325 wxPoint * resultptr;
10326 resultptr = new wxPoint((wxPoint &) result);
10327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10328 }
10329 return resultobj;
10330 fail:
10331 return NULL;
10332 }
10333
10334
10335 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10336 PyObject *resultobj;
10337 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10338 wxColour *result;
10339 PyObject * obj0 = 0 ;
10340 char *kwnames[] = {
10341 (char *) "self", NULL
10342 };
10343
10344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 {
10350 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10351 result = (wxColour *) &_result_ref;
10352 }
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10358 return resultobj;
10359 fail:
10360 return NULL;
10361 }
10362
10363
10364 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj;
10366 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10367 size_t arg2 ;
10368 PyObject * obj0 = 0 ;
10369 PyObject * obj1 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self",(char *) "count", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10377 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->SetItemCount(arg2);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10396 PyObject * obj0 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 (arg1)->Clear();
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 Py_INCREF(Py_None); resultobj = Py_None;
10412 return resultobj;
10413 fail:
10414 return NULL;
10415 }
10416
10417
10418 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10421 int arg2 ;
10422 PyObject * obj0 = 0 ;
10423 PyObject * obj1 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self",(char *) "selection", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10431 arg2 = (int)SWIG_As_int(obj1);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 (arg1)->SetSelection(arg2);
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 Py_INCREF(Py_None); resultobj = Py_None;
10441 return resultobj;
10442 fail:
10443 return NULL;
10444 }
10445
10446
10447 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10450 size_t arg2 ;
10451 bool arg3 = (bool) True ;
10452 bool result;
10453 PyObject * obj0 = 0 ;
10454 PyObject * obj1 = 0 ;
10455 PyObject * obj2 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self",(char *) "item",(char *) "select", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10463 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 if (obj2) {
10466 arg3 = (bool)SWIG_As_bool(obj2);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 result = (bool)(arg1)->Select(arg2,arg3);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 {
10477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10478 }
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10486 PyObject *resultobj;
10487 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10488 size_t arg2 ;
10489 size_t arg3 ;
10490 bool result;
10491 PyObject * obj0 = 0 ;
10492 PyObject * obj1 = 0 ;
10493 PyObject * obj2 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self",(char *) "from",(char *) "to", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10501 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 result = (bool)(arg1)->SelectRange(arg2,arg3);
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 {
10513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10514 }
10515 return resultobj;
10516 fail:
10517 return NULL;
10518 }
10519
10520
10521 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10524 size_t arg2 ;
10525 PyObject * obj0 = 0 ;
10526 PyObject * obj1 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "self",(char *) "item", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10534 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 (arg1)->Toggle(arg2);
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 Py_INCREF(Py_None); resultobj = Py_None;
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj;
10552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10553 bool result;
10554 PyObject * obj0 = 0 ;
10555 char *kwnames[] = {
10556 (char *) "self", NULL
10557 };
10558
10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 result = (bool)(arg1)->SelectAll();
10565
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 {
10570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10571 }
10572 return resultobj;
10573 fail:
10574 return NULL;
10575 }
10576
10577
10578 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10579 PyObject *resultobj;
10580 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10581 bool result;
10582 PyObject * obj0 = 0 ;
10583 char *kwnames[] = {
10584 (char *) "self", NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (bool)(arg1)->DeselectAll();
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 {
10598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10599 }
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10609 wxPoint *arg2 = 0 ;
10610 wxPoint temp2 ;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "pt", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10620 {
10621 arg2 = &temp2;
10622 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10623 }
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 (arg1)->SetMargins((wxPoint const &)*arg2);
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 Py_INCREF(Py_None); resultobj = Py_None;
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10641 int arg2 ;
10642 int arg3 ;
10643 PyObject * obj0 = 0 ;
10644 PyObject * obj1 = 0 ;
10645 PyObject * obj2 = 0 ;
10646 char *kwnames[] = {
10647 (char *) "self",(char *) "x",(char *) "y", NULL
10648 };
10649
10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10653 arg2 = (int)SWIG_As_int(obj1);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 arg3 = (int)SWIG_As_int(obj2);
10656 if (PyErr_Occurred()) SWIG_fail;
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 (arg1)->SetMargins(arg2,arg3);
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 Py_INCREF(Py_None); resultobj = Py_None;
10665 return resultobj;
10666 fail:
10667 return NULL;
10668 }
10669
10670
10671 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10672 PyObject *resultobj;
10673 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10674 wxColour *arg2 = 0 ;
10675 wxColour temp2 ;
10676 PyObject * obj0 = 0 ;
10677 PyObject * obj1 = 0 ;
10678 char *kwnames[] = {
10679 (char *) "self",(char *) "col", NULL
10680 };
10681
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10685 {
10686 arg2 = &temp2;
10687 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10688 }
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10692
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 Py_INCREF(Py_None); resultobj = Py_None;
10697 return resultobj;
10698 fail:
10699 return NULL;
10700 }
10701
10702
10703 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10704 PyObject *obj;
10705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10706 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10707 Py_INCREF(obj);
10708 return Py_BuildValue((char *)"");
10709 }
10710 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10711 PyObject *resultobj;
10712 wxWindow *arg1 = (wxWindow *) 0 ;
10713 int arg2 = (int) wxID_ANY ;
10714 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10715 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10716 wxSize const &arg4_defvalue = wxDefaultSize ;
10717 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10718 long arg5 = (long) 0 ;
10719 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10720 wxString *arg6 = (wxString *) &arg6_defvalue ;
10721 wxPyHtmlListBox *result;
10722 wxPoint temp3 ;
10723 wxSize temp4 ;
10724 bool temp6 = False ;
10725 PyObject * obj0 = 0 ;
10726 PyObject * obj1 = 0 ;
10727 PyObject * obj2 = 0 ;
10728 PyObject * obj3 = 0 ;
10729 PyObject * obj4 = 0 ;
10730 PyObject * obj5 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10738 if (obj1) {
10739 arg2 = (int)SWIG_As_int(obj1);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 if (obj2) {
10743 {
10744 arg3 = &temp3;
10745 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10746 }
10747 }
10748 if (obj3) {
10749 {
10750 arg4 = &temp4;
10751 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10752 }
10753 }
10754 if (obj4) {
10755 arg5 = (long)SWIG_As_long(obj4);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 if (obj5) {
10759 {
10760 arg6 = wxString_in_helper(obj5);
10761 if (arg6 == NULL) SWIG_fail;
10762 temp6 = True;
10763 }
10764 }
10765 {
10766 if (!wxPyCheckForApp()) SWIG_fail;
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10774 {
10775 if (temp6)
10776 delete arg6;
10777 }
10778 return resultobj;
10779 fail:
10780 {
10781 if (temp6)
10782 delete arg6;
10783 }
10784 return NULL;
10785 }
10786
10787
10788 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj;
10790 wxPyHtmlListBox *result;
10791 char *kwnames[] = {
10792 NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10796 {
10797 if (!wxPyCheckForApp()) SWIG_fail;
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10800
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10805 return resultobj;
10806 fail:
10807 return NULL;
10808 }
10809
10810
10811 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10812 PyObject *resultobj;
10813 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10814 PyObject *arg2 = (PyObject *) 0 ;
10815 PyObject *arg3 = (PyObject *) 0 ;
10816 PyObject * obj0 = 0 ;
10817 PyObject * obj1 = 0 ;
10818 PyObject * obj2 = 0 ;
10819 char *kwnames[] = {
10820 (char *) "self",(char *) "self",(char *) "_class", NULL
10821 };
10822
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10826 arg2 = obj1;
10827 arg3 = obj2;
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 (arg1)->_setCallbackInfo(arg2,arg3);
10831
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 }
10835 Py_INCREF(Py_None); resultobj = Py_None;
10836 return resultobj;
10837 fail:
10838 return NULL;
10839 }
10840
10841
10842 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10845 wxWindow *arg2 = (wxWindow *) 0 ;
10846 int arg3 = (int) wxID_ANY ;
10847 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10848 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10849 wxSize const &arg5_defvalue = wxDefaultSize ;
10850 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10851 long arg6 = (long) 0 ;
10852 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10853 wxString *arg7 = (wxString *) &arg7_defvalue ;
10854 bool result;
10855 wxPoint temp4 ;
10856 wxSize temp5 ;
10857 bool temp7 = False ;
10858 PyObject * obj0 = 0 ;
10859 PyObject * obj1 = 0 ;
10860 PyObject * obj2 = 0 ;
10861 PyObject * obj3 = 0 ;
10862 PyObject * obj4 = 0 ;
10863 PyObject * obj5 = 0 ;
10864 PyObject * obj6 = 0 ;
10865 char *kwnames[] = {
10866 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10867 };
10868
10869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10874 if (obj2) {
10875 arg3 = (int)SWIG_As_int(obj2);
10876 if (PyErr_Occurred()) SWIG_fail;
10877 }
10878 if (obj3) {
10879 {
10880 arg4 = &temp4;
10881 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10882 }
10883 }
10884 if (obj4) {
10885 {
10886 arg5 = &temp5;
10887 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10888 }
10889 }
10890 if (obj5) {
10891 arg6 = (long)SWIG_As_long(obj5);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
10894 if (obj6) {
10895 {
10896 arg7 = wxString_in_helper(obj6);
10897 if (arg7 == NULL) SWIG_fail;
10898 temp7 = True;
10899 }
10900 }
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
10908 {
10909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10910 }
10911 {
10912 if (temp7)
10913 delete arg7;
10914 }
10915 return resultobj;
10916 fail:
10917 {
10918 if (temp7)
10919 delete arg7;
10920 }
10921 return NULL;
10922 }
10923
10924
10925 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj;
10927 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10928 PyObject * obj0 = 0 ;
10929 char *kwnames[] = {
10930 (char *) "self", NULL
10931 };
10932
10933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10936 {
10937 PyThreadState* __tstate = wxPyBeginAllowThreads();
10938 (arg1)->RefreshAll();
10939
10940 wxPyEndAllowThreads(__tstate);
10941 if (PyErr_Occurred()) SWIG_fail;
10942 }
10943 Py_INCREF(Py_None); resultobj = Py_None;
10944 return resultobj;
10945 fail:
10946 return NULL;
10947 }
10948
10949
10950 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10951 PyObject *resultobj;
10952 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10953 size_t arg2 ;
10954 PyObject * obj0 = 0 ;
10955 PyObject * obj1 = 0 ;
10956 char *kwnames[] = {
10957 (char *) "self",(char *) "count", NULL
10958 };
10959
10960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10963 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 {
10966 PyThreadState* __tstate = wxPyBeginAllowThreads();
10967 (arg1)->SetItemCount(arg2);
10968
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 Py_INCREF(Py_None); resultobj = Py_None;
10973 return resultobj;
10974 fail:
10975 return NULL;
10976 }
10977
10978
10979 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
10980 PyObject *resultobj;
10981 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10982 wxFileSystem *result;
10983 PyObject * obj0 = 0 ;
10984 char *kwnames[] = {
10985 (char *) "self", NULL
10986 };
10987
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10991 {
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 {
10994 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10995 result = (wxFileSystem *) &_result_ref;
10996 }
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11002 return resultobj;
11003 fail:
11004 return NULL;
11005 }
11006
11007
11008 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11009 PyObject *obj;
11010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11011 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11012 Py_INCREF(obj);
11013 return Py_BuildValue((char *)"");
11014 }
11015 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj;
11017 wxTaskBarIcon *result;
11018 char *kwnames[] = {
11019 NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11023 {
11024 if (!wxPyCheckForApp()) SWIG_fail;
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (wxTaskBarIcon *)new wxTaskBarIcon();
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj;
11040 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11041 PyObject * obj0 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
11047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 delete arg1;
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 Py_INCREF(Py_None); resultobj = Py_None;
11057 return resultobj;
11058 fail:
11059 return NULL;
11060 }
11061
11062
11063 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11064 PyObject *resultobj;
11065 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11066 PyObject * obj0 = 0 ;
11067 char *kwnames[] = {
11068 (char *) "self", NULL
11069 };
11070
11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 wxTaskBarIcon_Destroy(arg1);
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 Py_INCREF(Py_None); resultobj = Py_None;
11082 return resultobj;
11083 fail:
11084 return NULL;
11085 }
11086
11087
11088 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11089 PyObject *obj;
11090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11091 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11092 Py_INCREF(obj);
11093 return Py_BuildValue((char *)"");
11094 }
11095 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11096 PyObject *resultobj;
11097 wxEventType arg1 ;
11098 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11099 wxTaskBarIconEvent *result;
11100 PyObject * obj0 = 0 ;
11101 PyObject * obj1 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "evtType",(char *) "tbIcon", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11107 arg1 = (wxEventType)SWIG_As_int(obj0);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11119 return resultobj;
11120 fail:
11121 return NULL;
11122 }
11123
11124
11125 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11126 PyObject *obj;
11127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11128 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11129 Py_INCREF(obj);
11130 return Py_BuildValue((char *)"");
11131 }
11132 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11133 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11134 return 1;
11135 }
11136
11137
11138 static PyObject *_wrap_FileSelectorPromptStr_get() {
11139 PyObject *pyobj;
11140
11141 {
11142 #if wxUSE_UNICODE
11143 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11144 #else
11145 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11146 #endif
11147 }
11148 return pyobj;
11149 }
11150
11151
11152 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11153 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11154 return 1;
11155 }
11156
11157
11158 static PyObject *_wrap_DirSelectorPromptStr_get() {
11159 PyObject *pyobj;
11160
11161 {
11162 #if wxUSE_UNICODE
11163 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11164 #else
11165 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11166 #endif
11167 }
11168 return pyobj;
11169 }
11170
11171
11172 static int _wrap_DirDialogNameStr_set(PyObject *) {
11173 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11174 return 1;
11175 }
11176
11177
11178 static PyObject *_wrap_DirDialogNameStr_get() {
11179 PyObject *pyobj;
11180
11181 {
11182 #if wxUSE_UNICODE
11183 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11184 #else
11185 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11186 #endif
11187 }
11188 return pyobj;
11189 }
11190
11191
11192 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11193 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11194 return 1;
11195 }
11196
11197
11198 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11199 PyObject *pyobj;
11200
11201 {
11202 #if wxUSE_UNICODE
11203 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11204 #else
11205 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11206 #endif
11207 }
11208 return pyobj;
11209 }
11210
11211
11212 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11213 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11214 return 1;
11215 }
11216
11217
11218 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11219 PyObject *pyobj;
11220
11221 {
11222 #if wxUSE_UNICODE
11223 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11224 #else
11225 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11226 #endif
11227 }
11228 return pyobj;
11229 }
11230
11231
11232 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11233 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11234 return 1;
11235 }
11236
11237
11238 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11239 PyObject *pyobj;
11240
11241 {
11242 #if wxUSE_UNICODE
11243 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11244 #else
11245 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11246 #endif
11247 }
11248 return pyobj;
11249 }
11250
11251
11252 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxColourData *result;
11255 char *kwnames[] = {
11256 NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 result = (wxColourData *)new wxColourData();
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxColourData *arg1 = (wxColourData *) 0 ;
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 delete arg1;
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 Py_INCREF(Py_None); resultobj = Py_None;
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxColourData *arg1 = (wxColourData *) 0 ;
11302 bool result;
11303 PyObject * obj0 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (bool)(arg1)->GetChooseFull();
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 {
11319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11320 }
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj;
11329 wxColourData *arg1 = (wxColourData *) 0 ;
11330 wxColour result;
11331 PyObject * obj0 = 0 ;
11332 char *kwnames[] = {
11333 (char *) "self", NULL
11334 };
11335
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 result = (arg1)->GetColour();
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 {
11347 wxColour * resultptr;
11348 resultptr = new wxColour((wxColour &) result);
11349 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11350 }
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxColourData *arg1 = (wxColourData *) 0 ;
11360 int arg2 ;
11361 wxColour result;
11362 PyObject * obj0 = 0 ;
11363 PyObject * obj1 = 0 ;
11364 char *kwnames[] = {
11365 (char *) "self",(char *) "i", NULL
11366 };
11367
11368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11371 arg2 = (int)SWIG_As_int(obj1);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 result = (arg1)->GetCustomColour(arg2);
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 {
11381 wxColour * resultptr;
11382 resultptr = new wxColour((wxColour &) result);
11383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11384 }
11385 return resultobj;
11386 fail:
11387 return NULL;
11388 }
11389
11390
11391 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj;
11393 wxColourData *arg1 = (wxColourData *) 0 ;
11394 int arg2 ;
11395 PyObject * obj0 = 0 ;
11396 PyObject * obj1 = 0 ;
11397 char *kwnames[] = {
11398 (char *) "self",(char *) "flag", NULL
11399 };
11400
11401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11404 arg2 = (int)SWIG_As_int(obj1);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 (arg1)->SetChooseFull(arg2);
11409
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 Py_INCREF(Py_None); resultobj = Py_None;
11414 return resultobj;
11415 fail:
11416 return NULL;
11417 }
11418
11419
11420 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11421 PyObject *resultobj;
11422 wxColourData *arg1 = (wxColourData *) 0 ;
11423 wxColour *arg2 = 0 ;
11424 wxColour temp2 ;
11425 PyObject * obj0 = 0 ;
11426 PyObject * obj1 = 0 ;
11427 char *kwnames[] = {
11428 (char *) "self",(char *) "colour", NULL
11429 };
11430
11431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11434 {
11435 arg2 = &temp2;
11436 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11437 }
11438 {
11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
11440 (arg1)->SetColour((wxColour const &)*arg2);
11441
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 Py_INCREF(Py_None); resultobj = Py_None;
11446 return resultobj;
11447 fail:
11448 return NULL;
11449 }
11450
11451
11452 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11453 PyObject *resultobj;
11454 wxColourData *arg1 = (wxColourData *) 0 ;
11455 int arg2 ;
11456 wxColour *arg3 = 0 ;
11457 wxColour temp3 ;
11458 PyObject * obj0 = 0 ;
11459 PyObject * obj1 = 0 ;
11460 PyObject * obj2 = 0 ;
11461 char *kwnames[] = {
11462 (char *) "self",(char *) "i",(char *) "colour", NULL
11463 };
11464
11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11468 arg2 = (int)SWIG_As_int(obj1);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 {
11471 arg3 = &temp3;
11472 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11473 }
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 Py_INCREF(Py_None); resultobj = Py_None;
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11489 PyObject *obj;
11490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11491 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11492 Py_INCREF(obj);
11493 return Py_BuildValue((char *)"");
11494 }
11495 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11496 PyObject *resultobj;
11497 wxWindow *arg1 = (wxWindow *) 0 ;
11498 wxColourData *arg2 = (wxColourData *) NULL ;
11499 wxColourDialog *result;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 char *kwnames[] = {
11503 (char *) "parent",(char *) "data", NULL
11504 };
11505
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11509 if (obj1) {
11510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11512 }
11513 {
11514 if (!wxPyCheckForApp()) SWIG_fail;
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11517
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11522 return resultobj;
11523 fail:
11524 return NULL;
11525 }
11526
11527
11528 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11529 PyObject *resultobj;
11530 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11531 wxColourData *result;
11532 PyObject * obj0 = 0 ;
11533 char *kwnames[] = {
11534 (char *) "self", NULL
11535 };
11536
11537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 {
11543 wxColourData &_result_ref = (arg1)->GetColourData();
11544 result = (wxColourData *) &_result_ref;
11545 }
11546
11547 wxPyEndAllowThreads(__tstate);
11548 if (PyErr_Occurred()) SWIG_fail;
11549 }
11550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11551 return resultobj;
11552 fail:
11553 return NULL;
11554 }
11555
11556
11557 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11558 PyObject *obj;
11559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11561 Py_INCREF(obj);
11562 return Py_BuildValue((char *)"");
11563 }
11564 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11565 PyObject *resultobj;
11566 wxWindow *arg1 = (wxWindow *) 0 ;
11567 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11568 wxString *arg2 = (wxString *) &arg2_defvalue ;
11569 wxString const &arg3_defvalue = wxPyEmptyString ;
11570 wxString *arg3 = (wxString *) &arg3_defvalue ;
11571 long arg4 = (long) 0 ;
11572 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11573 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11574 wxSize const &arg6_defvalue = wxDefaultSize ;
11575 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11576 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11577 wxString *arg7 = (wxString *) &arg7_defvalue ;
11578 wxDirDialog *result;
11579 bool temp2 = False ;
11580 bool temp3 = False ;
11581 wxPoint temp5 ;
11582 wxSize temp6 ;
11583 bool temp7 = False ;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 PyObject * obj2 = 0 ;
11587 PyObject * obj3 = 0 ;
11588 PyObject * obj4 = 0 ;
11589 PyObject * obj5 = 0 ;
11590 PyObject * obj6 = 0 ;
11591 char *kwnames[] = {
11592 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11593 };
11594
11595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11598 if (obj1) {
11599 {
11600 arg2 = wxString_in_helper(obj1);
11601 if (arg2 == NULL) SWIG_fail;
11602 temp2 = True;
11603 }
11604 }
11605 if (obj2) {
11606 {
11607 arg3 = wxString_in_helper(obj2);
11608 if (arg3 == NULL) SWIG_fail;
11609 temp3 = True;
11610 }
11611 }
11612 if (obj3) {
11613 arg4 = (long)SWIG_As_long(obj3);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 if (obj4) {
11617 {
11618 arg5 = &temp5;
11619 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11620 }
11621 }
11622 if (obj5) {
11623 {
11624 arg6 = &temp6;
11625 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11626 }
11627 }
11628 if (obj6) {
11629 {
11630 arg7 = wxString_in_helper(obj6);
11631 if (arg7 == NULL) SWIG_fail;
11632 temp7 = True;
11633 }
11634 }
11635 {
11636 if (!wxPyCheckForApp()) SWIG_fail;
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11639
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11644 {
11645 if (temp2)
11646 delete arg2;
11647 }
11648 {
11649 if (temp3)
11650 delete arg3;
11651 }
11652 {
11653 if (temp7)
11654 delete arg7;
11655 }
11656 return resultobj;
11657 fail:
11658 {
11659 if (temp2)
11660 delete arg2;
11661 }
11662 {
11663 if (temp3)
11664 delete arg3;
11665 }
11666 {
11667 if (temp7)
11668 delete arg7;
11669 }
11670 return NULL;
11671 }
11672
11673
11674 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11675 PyObject *resultobj;
11676 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11677 wxString result;
11678 PyObject * obj0 = 0 ;
11679 char *kwnames[] = {
11680 (char *) "self", NULL
11681 };
11682
11683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 result = (arg1)->GetPath();
11689
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 {
11694 #if wxUSE_UNICODE
11695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11696 #else
11697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11698 #endif
11699 }
11700 return resultobj;
11701 fail:
11702 return NULL;
11703 }
11704
11705
11706 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11707 PyObject *resultobj;
11708 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11709 wxString result;
11710 PyObject * obj0 = 0 ;
11711 char *kwnames[] = {
11712 (char *) "self", NULL
11713 };
11714
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 result = (arg1)->GetMessage();
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 {
11726 #if wxUSE_UNICODE
11727 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11728 #else
11729 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11730 #endif
11731 }
11732 return resultobj;
11733 fail:
11734 return NULL;
11735 }
11736
11737
11738 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11739 PyObject *resultobj;
11740 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11741 long result;
11742 PyObject * obj0 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11750 {
11751 PyThreadState* __tstate = wxPyBeginAllowThreads();
11752 result = (long)(arg1)->GetStyle();
11753
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
11757 resultobj = SWIG_From_long((long)result);
11758 return resultobj;
11759 fail:
11760 return NULL;
11761 }
11762
11763
11764 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11765 PyObject *resultobj;
11766 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11767 wxString *arg2 = 0 ;
11768 bool temp2 = False ;
11769 PyObject * obj0 = 0 ;
11770 PyObject * obj1 = 0 ;
11771 char *kwnames[] = {
11772 (char *) "self",(char *) "message", NULL
11773 };
11774
11775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11778 {
11779 arg2 = wxString_in_helper(obj1);
11780 if (arg2 == NULL) SWIG_fail;
11781 temp2 = True;
11782 }
11783 {
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 (arg1)->SetMessage((wxString const &)*arg2);
11786
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) SWIG_fail;
11789 }
11790 Py_INCREF(Py_None); resultobj = Py_None;
11791 {
11792 if (temp2)
11793 delete arg2;
11794 }
11795 return resultobj;
11796 fail:
11797 {
11798 if (temp2)
11799 delete arg2;
11800 }
11801 return NULL;
11802 }
11803
11804
11805 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj;
11807 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11808 wxString *arg2 = 0 ;
11809 bool temp2 = False ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj1 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "self",(char *) "path", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11819 {
11820 arg2 = wxString_in_helper(obj1);
11821 if (arg2 == NULL) SWIG_fail;
11822 temp2 = True;
11823 }
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 (arg1)->SetPath((wxString const &)*arg2);
11827
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 Py_INCREF(Py_None); resultobj = Py_None;
11832 {
11833 if (temp2)
11834 delete arg2;
11835 }
11836 return resultobj;
11837 fail:
11838 {
11839 if (temp2)
11840 delete arg2;
11841 }
11842 return NULL;
11843 }
11844
11845
11846 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
11847 PyObject *obj;
11848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11849 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11850 Py_INCREF(obj);
11851 return Py_BuildValue((char *)"");
11852 }
11853 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11854 PyObject *resultobj;
11855 wxWindow *arg1 = (wxWindow *) 0 ;
11856 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11857 wxString *arg2 = (wxString *) &arg2_defvalue ;
11858 wxString const &arg3_defvalue = wxPyEmptyString ;
11859 wxString *arg3 = (wxString *) &arg3_defvalue ;
11860 wxString const &arg4_defvalue = wxPyEmptyString ;
11861 wxString *arg4 = (wxString *) &arg4_defvalue ;
11862 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11863 wxString *arg5 = (wxString *) &arg5_defvalue ;
11864 long arg6 = (long) 0 ;
11865 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11866 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11867 wxFileDialog *result;
11868 bool temp2 = False ;
11869 bool temp3 = False ;
11870 bool temp4 = False ;
11871 bool temp5 = False ;
11872 wxPoint temp7 ;
11873 PyObject * obj0 = 0 ;
11874 PyObject * obj1 = 0 ;
11875 PyObject * obj2 = 0 ;
11876 PyObject * obj3 = 0 ;
11877 PyObject * obj4 = 0 ;
11878 PyObject * obj5 = 0 ;
11879 PyObject * obj6 = 0 ;
11880 char *kwnames[] = {
11881 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11882 };
11883
11884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11887 if (obj1) {
11888 {
11889 arg2 = wxString_in_helper(obj1);
11890 if (arg2 == NULL) SWIG_fail;
11891 temp2 = True;
11892 }
11893 }
11894 if (obj2) {
11895 {
11896 arg3 = wxString_in_helper(obj2);
11897 if (arg3 == NULL) SWIG_fail;
11898 temp3 = True;
11899 }
11900 }
11901 if (obj3) {
11902 {
11903 arg4 = wxString_in_helper(obj3);
11904 if (arg4 == NULL) SWIG_fail;
11905 temp4 = True;
11906 }
11907 }
11908 if (obj4) {
11909 {
11910 arg5 = wxString_in_helper(obj4);
11911 if (arg5 == NULL) SWIG_fail;
11912 temp5 = True;
11913 }
11914 }
11915 if (obj5) {
11916 arg6 = (long)SWIG_As_long(obj5);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 if (obj6) {
11920 {
11921 arg7 = &temp7;
11922 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11923 }
11924 }
11925 {
11926 if (!wxPyCheckForApp()) SWIG_fail;
11927 PyThreadState* __tstate = wxPyBeginAllowThreads();
11928 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11929
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
11933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11934 {
11935 if (temp2)
11936 delete arg2;
11937 }
11938 {
11939 if (temp3)
11940 delete arg3;
11941 }
11942 {
11943 if (temp4)
11944 delete arg4;
11945 }
11946 {
11947 if (temp5)
11948 delete arg5;
11949 }
11950 return resultobj;
11951 fail:
11952 {
11953 if (temp2)
11954 delete arg2;
11955 }
11956 {
11957 if (temp3)
11958 delete arg3;
11959 }
11960 {
11961 if (temp4)
11962 delete arg4;
11963 }
11964 {
11965 if (temp5)
11966 delete arg5;
11967 }
11968 return NULL;
11969 }
11970
11971
11972 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11973 PyObject *resultobj;
11974 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11975 wxString *arg2 = 0 ;
11976 bool temp2 = False ;
11977 PyObject * obj0 = 0 ;
11978 PyObject * obj1 = 0 ;
11979 char *kwnames[] = {
11980 (char *) "self",(char *) "message", NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11986 {
11987 arg2 = wxString_in_helper(obj1);
11988 if (arg2 == NULL) SWIG_fail;
11989 temp2 = True;
11990 }
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 (arg1)->SetMessage((wxString const &)*arg2);
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 Py_INCREF(Py_None); resultobj = Py_None;
11999 {
12000 if (temp2)
12001 delete arg2;
12002 }
12003 return resultobj;
12004 fail:
12005 {
12006 if (temp2)
12007 delete arg2;
12008 }
12009 return NULL;
12010 }
12011
12012
12013 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj;
12015 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12016 wxString *arg2 = 0 ;
12017 bool temp2 = False ;
12018 PyObject * obj0 = 0 ;
12019 PyObject * obj1 = 0 ;
12020 char *kwnames[] = {
12021 (char *) "self",(char *) "path", NULL
12022 };
12023
12024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12027 {
12028 arg2 = wxString_in_helper(obj1);
12029 if (arg2 == NULL) SWIG_fail;
12030 temp2 = True;
12031 }
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 (arg1)->SetPath((wxString const &)*arg2);
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 Py_INCREF(Py_None); resultobj = Py_None;
12040 {
12041 if (temp2)
12042 delete arg2;
12043 }
12044 return resultobj;
12045 fail:
12046 {
12047 if (temp2)
12048 delete arg2;
12049 }
12050 return NULL;
12051 }
12052
12053
12054 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12057 wxString *arg2 = 0 ;
12058 bool temp2 = False ;
12059 PyObject * obj0 = 0 ;
12060 PyObject * obj1 = 0 ;
12061 char *kwnames[] = {
12062 (char *) "self",(char *) "dir", NULL
12063 };
12064
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12068 {
12069 arg2 = wxString_in_helper(obj1);
12070 if (arg2 == NULL) SWIG_fail;
12071 temp2 = True;
12072 }
12073 {
12074 PyThreadState* __tstate = wxPyBeginAllowThreads();
12075 (arg1)->SetDirectory((wxString const &)*arg2);
12076
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 Py_INCREF(Py_None); resultobj = Py_None;
12081 {
12082 if (temp2)
12083 delete arg2;
12084 }
12085 return resultobj;
12086 fail:
12087 {
12088 if (temp2)
12089 delete arg2;
12090 }
12091 return NULL;
12092 }
12093
12094
12095 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12096 PyObject *resultobj;
12097 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12098 wxString *arg2 = 0 ;
12099 bool temp2 = False ;
12100 PyObject * obj0 = 0 ;
12101 PyObject * obj1 = 0 ;
12102 char *kwnames[] = {
12103 (char *) "self",(char *) "name", NULL
12104 };
12105
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12109 {
12110 arg2 = wxString_in_helper(obj1);
12111 if (arg2 == NULL) SWIG_fail;
12112 temp2 = True;
12113 }
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 (arg1)->SetFilename((wxString const &)*arg2);
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 Py_INCREF(Py_None); resultobj = Py_None;
12122 {
12123 if (temp2)
12124 delete arg2;
12125 }
12126 return resultobj;
12127 fail:
12128 {
12129 if (temp2)
12130 delete arg2;
12131 }
12132 return NULL;
12133 }
12134
12135
12136 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj;
12138 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12139 wxString *arg2 = 0 ;
12140 bool temp2 = False ;
12141 PyObject * obj0 = 0 ;
12142 PyObject * obj1 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self",(char *) "wildCard", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12150 {
12151 arg2 = wxString_in_helper(obj1);
12152 if (arg2 == NULL) SWIG_fail;
12153 temp2 = True;
12154 }
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 (arg1)->SetWildcard((wxString const &)*arg2);
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 Py_INCREF(Py_None); resultobj = Py_None;
12163 {
12164 if (temp2)
12165 delete arg2;
12166 }
12167 return resultobj;
12168 fail:
12169 {
12170 if (temp2)
12171 delete arg2;
12172 }
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12180 long arg2 ;
12181 PyObject * obj0 = 0 ;
12182 PyObject * obj1 = 0 ;
12183 char *kwnames[] = {
12184 (char *) "self",(char *) "style", NULL
12185 };
12186
12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12190 arg2 = (long)SWIG_As_long(obj1);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 (arg1)->SetStyle(arg2);
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 Py_INCREF(Py_None); resultobj = Py_None;
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12209 int arg2 ;
12210 PyObject * obj0 = 0 ;
12211 PyObject * obj1 = 0 ;
12212 char *kwnames[] = {
12213 (char *) "self",(char *) "filterIndex", NULL
12214 };
12215
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12219 arg2 = (int)SWIG_As_int(obj1);
12220 if (PyErr_Occurred()) SWIG_fail;
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 (arg1)->SetFilterIndex(arg2);
12224
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 Py_INCREF(Py_None); resultobj = Py_None;
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12236 PyObject *resultobj;
12237 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12238 wxString result;
12239 PyObject * obj0 = 0 ;
12240 char *kwnames[] = {
12241 (char *) "self", NULL
12242 };
12243
12244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = ((wxFileDialog const *)arg1)->GetMessage();
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 {
12255 #if wxUSE_UNICODE
12256 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12257 #else
12258 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12259 #endif
12260 }
12261 return resultobj;
12262 fail:
12263 return NULL;
12264 }
12265
12266
12267 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12270 wxString result;
12271 PyObject * obj0 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = ((wxFileDialog const *)arg1)->GetPath();
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 {
12287 #if wxUSE_UNICODE
12288 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12289 #else
12290 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12291 #endif
12292 }
12293 return resultobj;
12294 fail:
12295 return NULL;
12296 }
12297
12298
12299 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12300 PyObject *resultobj;
12301 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12302 wxString result;
12303 PyObject * obj0 = 0 ;
12304 char *kwnames[] = {
12305 (char *) "self", NULL
12306 };
12307
12308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 result = ((wxFileDialog const *)arg1)->GetDirectory();
12314
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 {
12319 #if wxUSE_UNICODE
12320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12321 #else
12322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12323 #endif
12324 }
12325 return resultobj;
12326 fail:
12327 return NULL;
12328 }
12329
12330
12331 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12332 PyObject *resultobj;
12333 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12334 wxString result;
12335 PyObject * obj0 = 0 ;
12336 char *kwnames[] = {
12337 (char *) "self", NULL
12338 };
12339
12340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 result = ((wxFileDialog const *)arg1)->GetFilename();
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 {
12351 #if wxUSE_UNICODE
12352 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12353 #else
12354 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12355 #endif
12356 }
12357 return resultobj;
12358 fail:
12359 return NULL;
12360 }
12361
12362
12363 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12364 PyObject *resultobj;
12365 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12366 wxString result;
12367 PyObject * obj0 = 0 ;
12368 char *kwnames[] = {
12369 (char *) "self", NULL
12370 };
12371
12372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 result = ((wxFileDialog const *)arg1)->GetWildcard();
12378
12379 wxPyEndAllowThreads(__tstate);
12380 if (PyErr_Occurred()) SWIG_fail;
12381 }
12382 {
12383 #if wxUSE_UNICODE
12384 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12385 #else
12386 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12387 #endif
12388 }
12389 return resultobj;
12390 fail:
12391 return NULL;
12392 }
12393
12394
12395 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12396 PyObject *resultobj;
12397 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12398 long result;
12399 PyObject * obj0 = 0 ;
12400 char *kwnames[] = {
12401 (char *) "self", NULL
12402 };
12403
12404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12407 {
12408 PyThreadState* __tstate = wxPyBeginAllowThreads();
12409 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12410
12411 wxPyEndAllowThreads(__tstate);
12412 if (PyErr_Occurred()) SWIG_fail;
12413 }
12414 resultobj = SWIG_From_long((long)result);
12415 return resultobj;
12416 fail:
12417 return NULL;
12418 }
12419
12420
12421 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12422 PyObject *resultobj;
12423 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12424 int result;
12425 PyObject * obj0 = 0 ;
12426 char *kwnames[] = {
12427 (char *) "self", NULL
12428 };
12429
12430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12433 {
12434 PyThreadState* __tstate = wxPyBeginAllowThreads();
12435 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12436
12437 wxPyEndAllowThreads(__tstate);
12438 if (PyErr_Occurred()) SWIG_fail;
12439 }
12440 resultobj = SWIG_From_int((int)result);
12441 return resultobj;
12442 fail:
12443 return NULL;
12444 }
12445
12446
12447 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj;
12449 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12450 PyObject *result;
12451 PyObject * obj0 = 0 ;
12452 char *kwnames[] = {
12453 (char *) "self", NULL
12454 };
12455
12456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12459 {
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12462
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 resultobj = result;
12467 return resultobj;
12468 fail:
12469 return NULL;
12470 }
12471
12472
12473 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj;
12475 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12476 PyObject *result;
12477 PyObject * obj0 = 0 ;
12478 char *kwnames[] = {
12479 (char *) "self", NULL
12480 };
12481
12482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = result;
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12500 PyObject *obj;
12501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12502 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12503 Py_INCREF(obj);
12504 return Py_BuildValue((char *)"");
12505 }
12506 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj;
12508 wxWindow *arg1 = (wxWindow *) 0 ;
12509 wxString *arg2 = 0 ;
12510 wxString *arg3 = 0 ;
12511 int arg4 = (int) 0 ;
12512 wxString *arg5 = (wxString *) NULL ;
12513 long arg6 = (long) wxCHOICEDLG_STYLE ;
12514 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12515 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12516 wxMultiChoiceDialog *result;
12517 bool temp2 = False ;
12518 bool temp3 = False ;
12519 wxPoint temp6 ;
12520 PyObject * obj0 = 0 ;
12521 PyObject * obj1 = 0 ;
12522 PyObject * obj2 = 0 ;
12523 PyObject * obj3 = 0 ;
12524 PyObject * obj4 = 0 ;
12525 PyObject * obj5 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12528 };
12529
12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12533 {
12534 arg2 = wxString_in_helper(obj1);
12535 if (arg2 == NULL) SWIG_fail;
12536 temp2 = True;
12537 }
12538 {
12539 arg3 = wxString_in_helper(obj2);
12540 if (arg3 == NULL) SWIG_fail;
12541 temp3 = True;
12542 }
12543 if (obj3) {
12544 {
12545 arg4 = PyList_Size(obj3);
12546 arg5 = wxString_LIST_helper(obj3);
12547 if (arg5 == NULL) SWIG_fail;
12548 }
12549 }
12550 if (obj4) {
12551 arg6 = (long)SWIG_As_long(obj4);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 if (obj5) {
12555 {
12556 arg7 = &temp6;
12557 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12558 }
12559 }
12560 {
12561 if (!wxPyCheckForApp()) SWIG_fail;
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12564
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12569 {
12570 if (temp2)
12571 delete arg2;
12572 }
12573 {
12574 if (temp3)
12575 delete arg3;
12576 }
12577 {
12578 if (arg5) delete [] arg5;
12579 }
12580 return resultobj;
12581 fail:
12582 {
12583 if (temp2)
12584 delete arg2;
12585 }
12586 {
12587 if (temp3)
12588 delete arg3;
12589 }
12590 {
12591 if (arg5) delete [] arg5;
12592 }
12593 return NULL;
12594 }
12595
12596
12597 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj;
12599 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12600 wxArrayInt *arg2 = 0 ;
12601 bool temp2 = False ;
12602 PyObject * obj0 = 0 ;
12603 PyObject * obj1 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "self",(char *) "selections", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12611 {
12612 if (! PySequence_Check(obj1)) {
12613 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12614 SWIG_fail;
12615 }
12616 arg2 = new wxArrayInt;
12617 temp2 = True;
12618 int i, len=PySequence_Length(obj1);
12619 for (i=0; i<len; i++) {
12620 PyObject* item = PySequence_GetItem(obj1, i);
12621 PyObject* number = PyNumber_Int(item);
12622 arg2->Add(PyInt_AS_LONG(number));
12623 Py_DECREF(item);
12624 Py_DECREF(number);
12625 }
12626 }
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12630
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 Py_INCREF(Py_None); resultobj = Py_None;
12635 {
12636 if (temp2) delete arg2;
12637 }
12638 return resultobj;
12639 fail:
12640 {
12641 if (temp2) delete arg2;
12642 }
12643 return NULL;
12644 }
12645
12646
12647 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12650 PyObject *result;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 resultobj = result;
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12674 PyObject *obj;
12675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12676 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12677 Py_INCREF(obj);
12678 return Py_BuildValue((char *)"");
12679 }
12680 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj;
12682 wxWindow *arg1 = (wxWindow *) 0 ;
12683 wxString *arg2 = 0 ;
12684 wxString *arg3 = 0 ;
12685 int arg4 ;
12686 wxString *arg5 = (wxString *) 0 ;
12687 long arg6 = (long) wxCHOICEDLG_STYLE ;
12688 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12689 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12690 wxSingleChoiceDialog *result;
12691 bool temp2 = False ;
12692 bool temp3 = False ;
12693 wxPoint temp6 ;
12694 PyObject * obj0 = 0 ;
12695 PyObject * obj1 = 0 ;
12696 PyObject * obj2 = 0 ;
12697 PyObject * obj3 = 0 ;
12698 PyObject * obj4 = 0 ;
12699 PyObject * obj5 = 0 ;
12700 char *kwnames[] = {
12701 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12707 {
12708 arg2 = wxString_in_helper(obj1);
12709 if (arg2 == NULL) SWIG_fail;
12710 temp2 = True;
12711 }
12712 {
12713 arg3 = wxString_in_helper(obj2);
12714 if (arg3 == NULL) SWIG_fail;
12715 temp3 = True;
12716 }
12717 {
12718 arg4 = PyList_Size(obj3);
12719 arg5 = wxString_LIST_helper(obj3);
12720 if (arg5 == NULL) SWIG_fail;
12721 }
12722 if (obj4) {
12723 arg6 = (long)SWIG_As_long(obj4);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 if (obj5) {
12727 {
12728 arg7 = &temp6;
12729 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12730 }
12731 }
12732 {
12733 if (!wxPyCheckForApp()) SWIG_fail;
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12741 {
12742 if (temp2)
12743 delete arg2;
12744 }
12745 {
12746 if (temp3)
12747 delete arg3;
12748 }
12749 {
12750 if (arg5) delete [] arg5;
12751 }
12752 return resultobj;
12753 fail:
12754 {
12755 if (temp2)
12756 delete arg2;
12757 }
12758 {
12759 if (temp3)
12760 delete arg3;
12761 }
12762 {
12763 if (arg5) delete [] arg5;
12764 }
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12772 int result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 result = (int)(arg1)->GetSelection();
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 resultobj = SWIG_From_int((int)result);
12789 return resultobj;
12790 fail:
12791 return NULL;
12792 }
12793
12794
12795 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12798 wxString result;
12799 PyObject * obj0 = 0 ;
12800 char *kwnames[] = {
12801 (char *) "self", NULL
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 result = (arg1)->GetStringSelection();
12810
12811 wxPyEndAllowThreads(__tstate);
12812 if (PyErr_Occurred()) SWIG_fail;
12813 }
12814 {
12815 #if wxUSE_UNICODE
12816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12817 #else
12818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12819 #endif
12820 }
12821 return resultobj;
12822 fail:
12823 return NULL;
12824 }
12825
12826
12827 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12828 PyObject *resultobj;
12829 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12830 int arg2 ;
12831 PyObject * obj0 = 0 ;
12832 PyObject * obj1 = 0 ;
12833 char *kwnames[] = {
12834 (char *) "self",(char *) "sel", NULL
12835 };
12836
12837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12840 arg2 = (int)SWIG_As_int(obj1);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 (arg1)->SetSelection(arg2);
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 Py_INCREF(Py_None); resultobj = Py_None;
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
12857 PyObject *obj;
12858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12859 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12860 Py_INCREF(obj);
12861 return Py_BuildValue((char *)"");
12862 }
12863 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12864 PyObject *resultobj;
12865 wxWindow *arg1 = (wxWindow *) 0 ;
12866 wxString *arg2 = 0 ;
12867 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12868 wxString *arg3 = (wxString *) &arg3_defvalue ;
12869 wxString const &arg4_defvalue = wxPyEmptyString ;
12870 wxString *arg4 = (wxString *) &arg4_defvalue ;
12871 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12872 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12873 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12874 wxTextEntryDialog *result;
12875 bool temp2 = False ;
12876 bool temp3 = False ;
12877 bool temp4 = False ;
12878 wxPoint temp6 ;
12879 PyObject * obj0 = 0 ;
12880 PyObject * obj1 = 0 ;
12881 PyObject * obj2 = 0 ;
12882 PyObject * obj3 = 0 ;
12883 PyObject * obj4 = 0 ;
12884 PyObject * obj5 = 0 ;
12885 char *kwnames[] = {
12886 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12887 };
12888
12889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12892 {
12893 arg2 = wxString_in_helper(obj1);
12894 if (arg2 == NULL) SWIG_fail;
12895 temp2 = True;
12896 }
12897 if (obj2) {
12898 {
12899 arg3 = wxString_in_helper(obj2);
12900 if (arg3 == NULL) SWIG_fail;
12901 temp3 = True;
12902 }
12903 }
12904 if (obj3) {
12905 {
12906 arg4 = wxString_in_helper(obj3);
12907 if (arg4 == NULL) SWIG_fail;
12908 temp4 = True;
12909 }
12910 }
12911 if (obj4) {
12912 arg5 = (long)SWIG_As_long(obj4);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 if (obj5) {
12916 {
12917 arg6 = &temp6;
12918 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12919 }
12920 }
12921 {
12922 if (!wxPyCheckForApp()) SWIG_fail;
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12925
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12930 {
12931 if (temp2)
12932 delete arg2;
12933 }
12934 {
12935 if (temp3)
12936 delete arg3;
12937 }
12938 {
12939 if (temp4)
12940 delete arg4;
12941 }
12942 return resultobj;
12943 fail:
12944 {
12945 if (temp2)
12946 delete arg2;
12947 }
12948 {
12949 if (temp3)
12950 delete arg3;
12951 }
12952 {
12953 if (temp4)
12954 delete arg4;
12955 }
12956 return NULL;
12957 }
12958
12959
12960 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12961 PyObject *resultobj;
12962 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12963 wxString result;
12964 PyObject * obj0 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 result = (arg1)->GetValue();
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 {
12980 #if wxUSE_UNICODE
12981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12982 #else
12983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12984 #endif
12985 }
12986 return resultobj;
12987 fail:
12988 return NULL;
12989 }
12990
12991
12992 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12995 wxString *arg2 = 0 ;
12996 bool temp2 = False ;
12997 PyObject * obj0 = 0 ;
12998 PyObject * obj1 = 0 ;
12999 char *kwnames[] = {
13000 (char *) "self",(char *) "value", NULL
13001 };
13002
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13006 {
13007 arg2 = wxString_in_helper(obj1);
13008 if (arg2 == NULL) SWIG_fail;
13009 temp2 = True;
13010 }
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 (arg1)->SetValue((wxString const &)*arg2);
13014
13015 wxPyEndAllowThreads(__tstate);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
13018 Py_INCREF(Py_None); resultobj = Py_None;
13019 {
13020 if (temp2)
13021 delete arg2;
13022 }
13023 return resultobj;
13024 fail:
13025 {
13026 if (temp2)
13027 delete arg2;
13028 }
13029 return NULL;
13030 }
13031
13032
13033 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13034 PyObject *obj;
13035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13036 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13037 Py_INCREF(obj);
13038 return Py_BuildValue((char *)"");
13039 }
13040 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj;
13042 wxFontData *result;
13043 char *kwnames[] = {
13044 NULL
13045 };
13046
13047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 result = (wxFontData *)new wxFontData();
13051
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13056 return resultobj;
13057 fail:
13058 return NULL;
13059 }
13060
13061
13062 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13063 PyObject *resultobj;
13064 wxFontData *arg1 = (wxFontData *) 0 ;
13065 PyObject * obj0 = 0 ;
13066 char *kwnames[] = {
13067 (char *) "self", NULL
13068 };
13069
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 delete arg1;
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 return resultobj;
13082 fail:
13083 return NULL;
13084 }
13085
13086
13087 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj;
13089 wxFontData *arg1 = (wxFontData *) 0 ;
13090 bool arg2 ;
13091 PyObject * obj0 = 0 ;
13092 PyObject * obj1 = 0 ;
13093 char *kwnames[] = {
13094 (char *) "self",(char *) "enable", NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13100 arg2 = (bool)SWIG_As_bool(obj1);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 {
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 (arg1)->EnableEffects(arg2);
13105
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 Py_INCREF(Py_None); resultobj = Py_None;
13110 return resultobj;
13111 fail:
13112 return NULL;
13113 }
13114
13115
13116 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj;
13118 wxFontData *arg1 = (wxFontData *) 0 ;
13119 bool result;
13120 PyObject * obj0 = 0 ;
13121 char *kwnames[] = {
13122 (char *) "self", NULL
13123 };
13124
13125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 result = (bool)(arg1)->GetAllowSymbols();
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 }
13135 {
13136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13137 }
13138 return resultobj;
13139 fail:
13140 return NULL;
13141 }
13142
13143
13144 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj;
13146 wxFontData *arg1 = (wxFontData *) 0 ;
13147 wxColour result;
13148 PyObject * obj0 = 0 ;
13149 char *kwnames[] = {
13150 (char *) "self", NULL
13151 };
13152
13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13156 {
13157 PyThreadState* __tstate = wxPyBeginAllowThreads();
13158 result = (arg1)->GetColour();
13159
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 {
13164 wxColour * resultptr;
13165 resultptr = new wxColour((wxColour &) result);
13166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13167 }
13168 return resultobj;
13169 fail:
13170 return NULL;
13171 }
13172
13173
13174 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13175 PyObject *resultobj;
13176 wxFontData *arg1 = (wxFontData *) 0 ;
13177 wxFont result;
13178 PyObject * obj0 = 0 ;
13179 char *kwnames[] = {
13180 (char *) "self", NULL
13181 };
13182
13183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13186 {
13187 PyThreadState* __tstate = wxPyBeginAllowThreads();
13188 result = (arg1)->GetChosenFont();
13189
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 {
13194 wxFont * resultptr;
13195 resultptr = new wxFont((wxFont &) result);
13196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13197 }
13198 return resultobj;
13199 fail:
13200 return NULL;
13201 }
13202
13203
13204 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxFontData *arg1 = (wxFontData *) 0 ;
13207 bool result;
13208 PyObject * obj0 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (bool)(arg1)->GetEnableEffects();
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 {
13224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13225 }
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxFontData *arg1 = (wxFontData *) 0 ;
13235 wxFont result;
13236 PyObject * obj0 = 0 ;
13237 char *kwnames[] = {
13238 (char *) "self", NULL
13239 };
13240
13241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 result = (arg1)->GetInitialFont();
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 {
13252 wxFont * resultptr;
13253 resultptr = new wxFont((wxFont &) result);
13254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13255 }
13256 return resultobj;
13257 fail:
13258 return NULL;
13259 }
13260
13261
13262 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxFontData *arg1 = (wxFontData *) 0 ;
13265 bool result;
13266 PyObject * obj0 = 0 ;
13267 char *kwnames[] = {
13268 (char *) "self", NULL
13269 };
13270
13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 result = (bool)(arg1)->GetShowHelp();
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 {
13282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13283 }
13284 return resultobj;
13285 fail:
13286 return NULL;
13287 }
13288
13289
13290 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13291 PyObject *resultobj;
13292 wxFontData *arg1 = (wxFontData *) 0 ;
13293 bool arg2 ;
13294 PyObject * obj0 = 0 ;
13295 PyObject * obj1 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "self",(char *) "allowSymbols", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13303 arg2 = (bool)SWIG_As_bool(obj1);
13304 if (PyErr_Occurred()) SWIG_fail;
13305 {
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 (arg1)->SetAllowSymbols(arg2);
13308
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 Py_INCREF(Py_None); resultobj = Py_None;
13313 return resultobj;
13314 fail:
13315 return NULL;
13316 }
13317
13318
13319 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13320 PyObject *resultobj;
13321 wxFontData *arg1 = (wxFontData *) 0 ;
13322 wxFont *arg2 = 0 ;
13323 PyObject * obj0 = 0 ;
13324 PyObject * obj1 = 0 ;
13325 char *kwnames[] = {
13326 (char *) "self",(char *) "font", NULL
13327 };
13328
13329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13333 SWIG_POINTER_EXCEPTION | 0)) == -1)
13334 SWIG_fail;
13335 if (arg2 == NULL) {
13336 PyErr_SetString(PyExc_TypeError,"null reference");
13337 SWIG_fail;
13338 }
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 (arg1)->SetChosenFont((wxFont const &)*arg2);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 Py_INCREF(Py_None); resultobj = Py_None;
13347 return resultobj;
13348 fail:
13349 return NULL;
13350 }
13351
13352
13353 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13354 PyObject *resultobj;
13355 wxFontData *arg1 = (wxFontData *) 0 ;
13356 wxColour *arg2 = 0 ;
13357 wxColour temp2 ;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self",(char *) "colour", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13367 {
13368 arg2 = &temp2;
13369 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13370 }
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 (arg1)->SetColour((wxColour const &)*arg2);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 Py_INCREF(Py_None); resultobj = Py_None;
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxFontData *arg1 = (wxFontData *) 0 ;
13388 wxFont *arg2 = 0 ;
13389 PyObject * obj0 = 0 ;
13390 PyObject * obj1 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self",(char *) "font", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13399 SWIG_POINTER_EXCEPTION | 0)) == -1)
13400 SWIG_fail;
13401 if (arg2 == NULL) {
13402 PyErr_SetString(PyExc_TypeError,"null reference");
13403 SWIG_fail;
13404 }
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 (arg1)->SetInitialFont((wxFont const &)*arg2);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 Py_INCREF(Py_None); resultobj = Py_None;
13413 return resultobj;
13414 fail:
13415 return NULL;
13416 }
13417
13418
13419 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxFontData *arg1 = (wxFontData *) 0 ;
13422 int arg2 ;
13423 int arg3 ;
13424 PyObject * obj0 = 0 ;
13425 PyObject * obj1 = 0 ;
13426 PyObject * obj2 = 0 ;
13427 char *kwnames[] = {
13428 (char *) "self",(char *) "min",(char *) "max", NULL
13429 };
13430
13431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13434 arg2 = (int)SWIG_As_int(obj1);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 arg3 = (int)SWIG_As_int(obj2);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 (arg1)->SetRange(arg2,arg3);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 Py_INCREF(Py_None); resultobj = Py_None;
13446 return resultobj;
13447 fail:
13448 return NULL;
13449 }
13450
13451
13452 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxFontData *arg1 = (wxFontData *) 0 ;
13455 bool arg2 ;
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 char *kwnames[] = {
13459 (char *) "self",(char *) "showHelp", NULL
13460 };
13461
13462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13465 arg2 = (bool)SWIG_As_bool(obj1);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 {
13468 PyThreadState* __tstate = wxPyBeginAllowThreads();
13469 (arg1)->SetShowHelp(arg2);
13470
13471 wxPyEndAllowThreads(__tstate);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 }
13474 Py_INCREF(Py_None); resultobj = Py_None;
13475 return resultobj;
13476 fail:
13477 return NULL;
13478 }
13479
13480
13481 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13482 PyObject *obj;
13483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13484 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13485 Py_INCREF(obj);
13486 return Py_BuildValue((char *)"");
13487 }
13488 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13489 PyObject *resultobj;
13490 wxWindow *arg1 = (wxWindow *) 0 ;
13491 wxFontData *arg2 = 0 ;
13492 wxFontDialog *result;
13493 PyObject * obj0 = 0 ;
13494 PyObject * obj1 = 0 ;
13495 char *kwnames[] = {
13496 (char *) "parent",(char *) "data", NULL
13497 };
13498
13499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13503 SWIG_POINTER_EXCEPTION | 0)) == -1)
13504 SWIG_fail;
13505 if (arg2 == NULL) {
13506 PyErr_SetString(PyExc_TypeError,"null reference");
13507 SWIG_fail;
13508 }
13509 {
13510 if (!wxPyCheckForApp()) SWIG_fail;
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13513
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13518 return resultobj;
13519 fail:
13520 return NULL;
13521 }
13522
13523
13524 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13525 PyObject *resultobj;
13526 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13527 wxFontData *result;
13528 PyObject * obj0 = 0 ;
13529 char *kwnames[] = {
13530 (char *) "self", NULL
13531 };
13532
13533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 {
13539 wxFontData &_result_ref = (arg1)->GetFontData();
13540 result = (wxFontData *) &_result_ref;
13541 }
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13547 return resultobj;
13548 fail:
13549 return NULL;
13550 }
13551
13552
13553 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13554 PyObject *obj;
13555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13556 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13557 Py_INCREF(obj);
13558 return Py_BuildValue((char *)"");
13559 }
13560 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13561 PyObject *resultobj;
13562 wxWindow *arg1 = (wxWindow *) 0 ;
13563 wxString *arg2 = 0 ;
13564 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13565 wxString *arg3 = (wxString *) &arg3_defvalue ;
13566 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13567 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13568 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13569 wxMessageDialog *result;
13570 bool temp2 = False ;
13571 bool temp3 = False ;
13572 wxPoint temp5 ;
13573 PyObject * obj0 = 0 ;
13574 PyObject * obj1 = 0 ;
13575 PyObject * obj2 = 0 ;
13576 PyObject * obj3 = 0 ;
13577 PyObject * obj4 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13585 {
13586 arg2 = wxString_in_helper(obj1);
13587 if (arg2 == NULL) SWIG_fail;
13588 temp2 = True;
13589 }
13590 if (obj2) {
13591 {
13592 arg3 = wxString_in_helper(obj2);
13593 if (arg3 == NULL) SWIG_fail;
13594 temp3 = True;
13595 }
13596 }
13597 if (obj3) {
13598 arg4 = (long)SWIG_As_long(obj3);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
13601 if (obj4) {
13602 {
13603 arg5 = &temp5;
13604 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13605 }
13606 }
13607 {
13608 if (!wxPyCheckForApp()) SWIG_fail;
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13616 {
13617 if (temp2)
13618 delete arg2;
13619 }
13620 {
13621 if (temp3)
13622 delete arg3;
13623 }
13624 return resultobj;
13625 fail:
13626 {
13627 if (temp2)
13628 delete arg2;
13629 }
13630 {
13631 if (temp3)
13632 delete arg3;
13633 }
13634 return NULL;
13635 }
13636
13637
13638 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13639 PyObject *obj;
13640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13641 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13642 Py_INCREF(obj);
13643 return Py_BuildValue((char *)"");
13644 }
13645 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj;
13647 wxString *arg1 = 0 ;
13648 wxString *arg2 = 0 ;
13649 int arg3 = (int) 100 ;
13650 wxWindow *arg4 = (wxWindow *) NULL ;
13651 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13652 wxProgressDialog *result;
13653 bool temp1 = False ;
13654 bool temp2 = False ;
13655 PyObject * obj0 = 0 ;
13656 PyObject * obj1 = 0 ;
13657 PyObject * obj2 = 0 ;
13658 PyObject * obj3 = 0 ;
13659 PyObject * obj4 = 0 ;
13660 char *kwnames[] = {
13661 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13662 };
13663
13664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13665 {
13666 arg1 = wxString_in_helper(obj0);
13667 if (arg1 == NULL) SWIG_fail;
13668 temp1 = True;
13669 }
13670 {
13671 arg2 = wxString_in_helper(obj1);
13672 if (arg2 == NULL) SWIG_fail;
13673 temp2 = True;
13674 }
13675 if (obj2) {
13676 arg3 = (int)SWIG_As_int(obj2);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 if (obj3) {
13680 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13682 }
13683 if (obj4) {
13684 arg5 = (int)SWIG_As_int(obj4);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 }
13687 {
13688 if (!wxPyCheckForApp()) SWIG_fail;
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13691
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13696 {
13697 if (temp1)
13698 delete arg1;
13699 }
13700 {
13701 if (temp2)
13702 delete arg2;
13703 }
13704 return resultobj;
13705 fail:
13706 {
13707 if (temp1)
13708 delete arg1;
13709 }
13710 {
13711 if (temp2)
13712 delete arg2;
13713 }
13714 return NULL;
13715 }
13716
13717
13718 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13719 PyObject *resultobj;
13720 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13721 int arg2 ;
13722 wxString const &arg3_defvalue = wxPyEmptyString ;
13723 wxString *arg3 = (wxString *) &arg3_defvalue ;
13724 bool result;
13725 bool temp3 = False ;
13726 PyObject * obj0 = 0 ;
13727 PyObject * obj1 = 0 ;
13728 PyObject * obj2 = 0 ;
13729 char *kwnames[] = {
13730 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13731 };
13732
13733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13736 arg2 = (int)SWIG_As_int(obj1);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 if (obj2) {
13739 {
13740 arg3 = wxString_in_helper(obj2);
13741 if (arg3 == NULL) SWIG_fail;
13742 temp3 = True;
13743 }
13744 }
13745 {
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13748
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 {
13753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13754 }
13755 {
13756 if (temp3)
13757 delete arg3;
13758 }
13759 return resultobj;
13760 fail:
13761 {
13762 if (temp3)
13763 delete arg3;
13764 }
13765 return NULL;
13766 }
13767
13768
13769 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj;
13771 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13772 PyObject * obj0 = 0 ;
13773 char *kwnames[] = {
13774 (char *) "self", NULL
13775 };
13776
13777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 (arg1)->Resume();
13783
13784 wxPyEndAllowThreads(__tstate);
13785 if (PyErr_Occurred()) SWIG_fail;
13786 }
13787 Py_INCREF(Py_None); resultobj = Py_None;
13788 return resultobj;
13789 fail:
13790 return NULL;
13791 }
13792
13793
13794 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
13795 PyObject *obj;
13796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13797 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13798 Py_INCREF(obj);
13799 return Py_BuildValue((char *)"");
13800 }
13801 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13804 int arg2 = (int) 0 ;
13805 wxFindDialogEvent *result;
13806 PyObject * obj0 = 0 ;
13807 PyObject * obj1 = 0 ;
13808 char *kwnames[] = {
13809 (char *) "commandType",(char *) "id", NULL
13810 };
13811
13812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13813 if (obj0) {
13814 arg1 = (wxEventType)SWIG_As_int(obj0);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 if (obj1) {
13818 arg2 = (int)SWIG_As_int(obj1);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13829 return resultobj;
13830 fail:
13831 return NULL;
13832 }
13833
13834
13835 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13836 PyObject *resultobj;
13837 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13838 int result;
13839 PyObject * obj0 = 0 ;
13840 char *kwnames[] = {
13841 (char *) "self", NULL
13842 };
13843
13844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13847 {
13848 PyThreadState* __tstate = wxPyBeginAllowThreads();
13849 result = (int)(arg1)->GetFlags();
13850
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 resultobj = SWIG_From_int((int)result);
13855 return resultobj;
13856 fail:
13857 return NULL;
13858 }
13859
13860
13861 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj;
13863 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13864 wxString *result;
13865 PyObject * obj0 = 0 ;
13866 char *kwnames[] = {
13867 (char *) "self", NULL
13868 };
13869
13870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13873 {
13874 PyThreadState* __tstate = wxPyBeginAllowThreads();
13875 {
13876 wxString const &_result_ref = (arg1)->GetFindString();
13877 result = (wxString *) &_result_ref;
13878 }
13879
13880 wxPyEndAllowThreads(__tstate);
13881 if (PyErr_Occurred()) SWIG_fail;
13882 }
13883 {
13884 #if wxUSE_UNICODE
13885 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13886 #else
13887 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13888 #endif
13889 }
13890 return resultobj;
13891 fail:
13892 return NULL;
13893 }
13894
13895
13896 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13897 PyObject *resultobj;
13898 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13899 wxString *result;
13900 PyObject * obj0 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 {
13911 wxString const &_result_ref = (arg1)->GetReplaceString();
13912 result = (wxString *) &_result_ref;
13913 }
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 {
13919 #if wxUSE_UNICODE
13920 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13921 #else
13922 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13923 #endif
13924 }
13925 return resultobj;
13926 fail:
13927 return NULL;
13928 }
13929
13930
13931 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13932 PyObject *resultobj;
13933 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13934 wxFindReplaceDialog *result;
13935 PyObject * obj0 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13951 return resultobj;
13952 fail:
13953 return NULL;
13954 }
13955
13956
13957 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj;
13959 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13960 int arg2 ;
13961 PyObject * obj0 = 0 ;
13962 PyObject * obj1 = 0 ;
13963 char *kwnames[] = {
13964 (char *) "self",(char *) "flags", NULL
13965 };
13966
13967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13970 arg2 = (int)SWIG_As_int(obj1);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 (arg1)->SetFlags(arg2);
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 Py_INCREF(Py_None); resultobj = Py_None;
13980 return resultobj;
13981 fail:
13982 return NULL;
13983 }
13984
13985
13986 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13987 PyObject *resultobj;
13988 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13989 wxString *arg2 = 0 ;
13990 bool temp2 = False ;
13991 PyObject * obj0 = 0 ;
13992 PyObject * obj1 = 0 ;
13993 char *kwnames[] = {
13994 (char *) "self",(char *) "str", NULL
13995 };
13996
13997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14000 {
14001 arg2 = wxString_in_helper(obj1);
14002 if (arg2 == NULL) SWIG_fail;
14003 temp2 = True;
14004 }
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 (arg1)->SetFindString((wxString const &)*arg2);
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 Py_INCREF(Py_None); resultobj = Py_None;
14013 {
14014 if (temp2)
14015 delete arg2;
14016 }
14017 return resultobj;
14018 fail:
14019 {
14020 if (temp2)
14021 delete arg2;
14022 }
14023 return NULL;
14024 }
14025
14026
14027 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14028 PyObject *resultobj;
14029 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14030 wxString *arg2 = 0 ;
14031 bool temp2 = False ;
14032 PyObject * obj0 = 0 ;
14033 PyObject * obj1 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self",(char *) "str", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14041 {
14042 arg2 = wxString_in_helper(obj1);
14043 if (arg2 == NULL) SWIG_fail;
14044 temp2 = True;
14045 }
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 (arg1)->SetReplaceString((wxString const &)*arg2);
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 Py_INCREF(Py_None); resultobj = Py_None;
14054 {
14055 if (temp2)
14056 delete arg2;
14057 }
14058 return resultobj;
14059 fail:
14060 {
14061 if (temp2)
14062 delete arg2;
14063 }
14064 return NULL;
14065 }
14066
14067
14068 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14069 PyObject *obj;
14070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14071 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14072 Py_INCREF(obj);
14073 return Py_BuildValue((char *)"");
14074 }
14075 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14076 PyObject *resultobj;
14077 int arg1 = (int) 0 ;
14078 wxFindReplaceData *result;
14079 PyObject * obj0 = 0 ;
14080 char *kwnames[] = {
14081 (char *) "flags", NULL
14082 };
14083
14084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14085 if (obj0) {
14086 arg1 = (int)SWIG_As_int(obj0);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14097 return resultobj;
14098 fail:
14099 return NULL;
14100 }
14101
14102
14103 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14104 PyObject *resultobj;
14105 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14106 PyObject * obj0 = 0 ;
14107 char *kwnames[] = {
14108 (char *) "self", NULL
14109 };
14110
14111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
14116 delete arg1;
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 Py_INCREF(Py_None); resultobj = Py_None;
14122 return resultobj;
14123 fail:
14124 return NULL;
14125 }
14126
14127
14128 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14129 PyObject *resultobj;
14130 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14131 wxString *result;
14132 PyObject * obj0 = 0 ;
14133 char *kwnames[] = {
14134 (char *) "self", NULL
14135 };
14136
14137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 {
14143 wxString const &_result_ref = (arg1)->GetFindString();
14144 result = (wxString *) &_result_ref;
14145 }
14146
14147 wxPyEndAllowThreads(__tstate);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
14150 {
14151 #if wxUSE_UNICODE
14152 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14153 #else
14154 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14155 #endif
14156 }
14157 return resultobj;
14158 fail:
14159 return NULL;
14160 }
14161
14162
14163 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14164 PyObject *resultobj;
14165 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14166 wxString *result;
14167 PyObject * obj0 = 0 ;
14168 char *kwnames[] = {
14169 (char *) "self", NULL
14170 };
14171
14172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 {
14178 wxString const &_result_ref = (arg1)->GetReplaceString();
14179 result = (wxString *) &_result_ref;
14180 }
14181
14182 wxPyEndAllowThreads(__tstate);
14183 if (PyErr_Occurred()) SWIG_fail;
14184 }
14185 {
14186 #if wxUSE_UNICODE
14187 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14188 #else
14189 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14190 #endif
14191 }
14192 return resultobj;
14193 fail:
14194 return NULL;
14195 }
14196
14197
14198 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14199 PyObject *resultobj;
14200 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14201 int result;
14202 PyObject * obj0 = 0 ;
14203 char *kwnames[] = {
14204 (char *) "self", NULL
14205 };
14206
14207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 result = (int)(arg1)->GetFlags();
14213
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 resultobj = SWIG_From_int((int)result);
14218 return resultobj;
14219 fail:
14220 return NULL;
14221 }
14222
14223
14224 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14225 PyObject *resultobj;
14226 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14227 int arg2 ;
14228 PyObject * obj0 = 0 ;
14229 PyObject * obj1 = 0 ;
14230 char *kwnames[] = {
14231 (char *) "self",(char *) "flags", NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14237 arg2 = (int)SWIG_As_int(obj1);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 (arg1)->SetFlags(arg2);
14242
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 Py_INCREF(Py_None); resultobj = Py_None;
14247 return resultobj;
14248 fail:
14249 return NULL;
14250 }
14251
14252
14253 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14254 PyObject *resultobj;
14255 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14256 wxString *arg2 = 0 ;
14257 bool temp2 = False ;
14258 PyObject * obj0 = 0 ;
14259 PyObject * obj1 = 0 ;
14260 char *kwnames[] = {
14261 (char *) "self",(char *) "str", NULL
14262 };
14263
14264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14267 {
14268 arg2 = wxString_in_helper(obj1);
14269 if (arg2 == NULL) SWIG_fail;
14270 temp2 = True;
14271 }
14272 {
14273 PyThreadState* __tstate = wxPyBeginAllowThreads();
14274 (arg1)->SetFindString((wxString const &)*arg2);
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 Py_INCREF(Py_None); resultobj = Py_None;
14280 {
14281 if (temp2)
14282 delete arg2;
14283 }
14284 return resultobj;
14285 fail:
14286 {
14287 if (temp2)
14288 delete arg2;
14289 }
14290 return NULL;
14291 }
14292
14293
14294 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14295 PyObject *resultobj;
14296 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14297 wxString *arg2 = 0 ;
14298 bool temp2 = False ;
14299 PyObject * obj0 = 0 ;
14300 PyObject * obj1 = 0 ;
14301 char *kwnames[] = {
14302 (char *) "self",(char *) "str", NULL
14303 };
14304
14305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14308 {
14309 arg2 = wxString_in_helper(obj1);
14310 if (arg2 == NULL) SWIG_fail;
14311 temp2 = True;
14312 }
14313 {
14314 PyThreadState* __tstate = wxPyBeginAllowThreads();
14315 (arg1)->SetReplaceString((wxString const &)*arg2);
14316
14317 wxPyEndAllowThreads(__tstate);
14318 if (PyErr_Occurred()) SWIG_fail;
14319 }
14320 Py_INCREF(Py_None); resultobj = Py_None;
14321 {
14322 if (temp2)
14323 delete arg2;
14324 }
14325 return resultobj;
14326 fail:
14327 {
14328 if (temp2)
14329 delete arg2;
14330 }
14331 return NULL;
14332 }
14333
14334
14335 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14336 PyObject *obj;
14337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14338 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14339 Py_INCREF(obj);
14340 return Py_BuildValue((char *)"");
14341 }
14342 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxWindow *arg1 = (wxWindow *) 0 ;
14345 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14346 wxString *arg3 = 0 ;
14347 int arg4 = (int) 0 ;
14348 wxFindReplaceDialog *result;
14349 bool temp3 = False ;
14350 PyObject * obj0 = 0 ;
14351 PyObject * obj1 = 0 ;
14352 PyObject * obj2 = 0 ;
14353 PyObject * obj3 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14363 {
14364 arg3 = wxString_in_helper(obj2);
14365 if (arg3 == NULL) SWIG_fail;
14366 temp3 = True;
14367 }
14368 if (obj3) {
14369 arg4 = (int)SWIG_As_int(obj3);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 {
14373 if (!wxPyCheckForApp()) SWIG_fail;
14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
14375 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14376
14377 wxPyEndAllowThreads(__tstate);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
14380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14381 {
14382 if (temp3)
14383 delete arg3;
14384 }
14385 return resultobj;
14386 fail:
14387 {
14388 if (temp3)
14389 delete arg3;
14390 }
14391 return NULL;
14392 }
14393
14394
14395 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14396 PyObject *resultobj;
14397 wxFindReplaceDialog *result;
14398 char *kwnames[] = {
14399 NULL
14400 };
14401
14402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14403 {
14404 if (!wxPyCheckForApp()) SWIG_fail;
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14412 return resultobj;
14413 fail:
14414 return NULL;
14415 }
14416
14417
14418 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj;
14420 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14421 wxWindow *arg2 = (wxWindow *) 0 ;
14422 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14423 wxString *arg4 = 0 ;
14424 int arg5 = (int) 0 ;
14425 bool result;
14426 bool temp4 = False ;
14427 PyObject * obj0 = 0 ;
14428 PyObject * obj1 = 0 ;
14429 PyObject * obj2 = 0 ;
14430 PyObject * obj3 = 0 ;
14431 PyObject * obj4 = 0 ;
14432 char *kwnames[] = {
14433 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14434 };
14435
14436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14441 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14443 {
14444 arg4 = wxString_in_helper(obj3);
14445 if (arg4 == NULL) SWIG_fail;
14446 temp4 = True;
14447 }
14448 if (obj4) {
14449 arg5 = (int)SWIG_As_int(obj4);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14461 }
14462 {
14463 if (temp4)
14464 delete arg4;
14465 }
14466 return resultobj;
14467 fail:
14468 {
14469 if (temp4)
14470 delete arg4;
14471 }
14472 return NULL;
14473 }
14474
14475
14476 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj;
14478 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14479 wxFindReplaceData *result;
14480 PyObject * obj0 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14488 {
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = (wxFindReplaceData *)(arg1)->GetData();
14491
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14496 return resultobj;
14497 fail:
14498 return NULL;
14499 }
14500
14501
14502 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14503 PyObject *resultobj;
14504 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14505 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14506 PyObject * obj0 = 0 ;
14507 PyObject * obj1 = 0 ;
14508 char *kwnames[] = {
14509 (char *) "self",(char *) "data", NULL
14510 };
14511
14512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 (arg1)->SetData(arg2);
14520
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) SWIG_fail;
14523 }
14524 Py_INCREF(Py_None); resultobj = Py_None;
14525 return resultobj;
14526 fail:
14527 return NULL;
14528 }
14529
14530
14531 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14532 PyObject *obj;
14533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14534 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14535 Py_INCREF(obj);
14536 return Py_BuildValue((char *)"");
14537 }
14538 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14539 PyObject *resultobj;
14540 wxWindow *arg1 = (wxWindow *) 0 ;
14541 int arg2 = (int) (int)-1 ;
14542 wxString const &arg3_defvalue = wxPyEmptyString ;
14543 wxString *arg3 = (wxString *) &arg3_defvalue ;
14544 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14545 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14546 wxSize const &arg5_defvalue = wxDefaultSize ;
14547 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14548 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14549 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14550 wxString *arg7 = (wxString *) &arg7_defvalue ;
14551 wxMDIParentFrame *result;
14552 bool temp3 = False ;
14553 wxPoint temp4 ;
14554 wxSize temp5 ;
14555 bool temp7 = False ;
14556 PyObject * obj0 = 0 ;
14557 PyObject * obj1 = 0 ;
14558 PyObject * obj2 = 0 ;
14559 PyObject * obj3 = 0 ;
14560 PyObject * obj4 = 0 ;
14561 PyObject * obj5 = 0 ;
14562 PyObject * obj6 = 0 ;
14563 char *kwnames[] = {
14564 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14565 };
14566
14567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14570 if (obj1) {
14571 arg2 = (int)SWIG_As_int(obj1);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 if (obj2) {
14575 {
14576 arg3 = wxString_in_helper(obj2);
14577 if (arg3 == NULL) SWIG_fail;
14578 temp3 = True;
14579 }
14580 }
14581 if (obj3) {
14582 {
14583 arg4 = &temp4;
14584 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14585 }
14586 }
14587 if (obj4) {
14588 {
14589 arg5 = &temp5;
14590 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14591 }
14592 }
14593 if (obj5) {
14594 arg6 = (long)SWIG_As_long(obj5);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
14597 if (obj6) {
14598 {
14599 arg7 = wxString_in_helper(obj6);
14600 if (arg7 == NULL) SWIG_fail;
14601 temp7 = True;
14602 }
14603 }
14604 {
14605 if (!wxPyCheckForApp()) SWIG_fail;
14606 PyThreadState* __tstate = wxPyBeginAllowThreads();
14607 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14608
14609 wxPyEndAllowThreads(__tstate);
14610 if (PyErr_Occurred()) SWIG_fail;
14611 }
14612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14613 {
14614 if (temp3)
14615 delete arg3;
14616 }
14617 {
14618 if (temp7)
14619 delete arg7;
14620 }
14621 return resultobj;
14622 fail:
14623 {
14624 if (temp3)
14625 delete arg3;
14626 }
14627 {
14628 if (temp7)
14629 delete arg7;
14630 }
14631 return NULL;
14632 }
14633
14634
14635 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14636 PyObject *resultobj;
14637 wxMDIParentFrame *result;
14638 char *kwnames[] = {
14639 NULL
14640 };
14641
14642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14643 {
14644 if (!wxPyCheckForApp()) SWIG_fail;
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14652 return resultobj;
14653 fail:
14654 return NULL;
14655 }
14656
14657
14658 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj;
14660 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14661 wxWindow *arg2 = (wxWindow *) 0 ;
14662 int arg3 = (int) (int)-1 ;
14663 wxString const &arg4_defvalue = wxPyEmptyString ;
14664 wxString *arg4 = (wxString *) &arg4_defvalue ;
14665 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14666 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14667 wxSize const &arg6_defvalue = wxDefaultSize ;
14668 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14669 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14670 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14671 wxString *arg8 = (wxString *) &arg8_defvalue ;
14672 bool result;
14673 bool temp4 = False ;
14674 wxPoint temp5 ;
14675 wxSize temp6 ;
14676 bool temp8 = False ;
14677 PyObject * obj0 = 0 ;
14678 PyObject * obj1 = 0 ;
14679 PyObject * obj2 = 0 ;
14680 PyObject * obj3 = 0 ;
14681 PyObject * obj4 = 0 ;
14682 PyObject * obj5 = 0 ;
14683 PyObject * obj6 = 0 ;
14684 PyObject * obj7 = 0 ;
14685 char *kwnames[] = {
14686 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14694 if (obj2) {
14695 arg3 = (int)SWIG_As_int(obj2);
14696 if (PyErr_Occurred()) SWIG_fail;
14697 }
14698 if (obj3) {
14699 {
14700 arg4 = wxString_in_helper(obj3);
14701 if (arg4 == NULL) SWIG_fail;
14702 temp4 = True;
14703 }
14704 }
14705 if (obj4) {
14706 {
14707 arg5 = &temp5;
14708 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14709 }
14710 }
14711 if (obj5) {
14712 {
14713 arg6 = &temp6;
14714 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14715 }
14716 }
14717 if (obj6) {
14718 arg7 = (long)SWIG_As_long(obj6);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 if (obj7) {
14722 {
14723 arg8 = wxString_in_helper(obj7);
14724 if (arg8 == NULL) SWIG_fail;
14725 temp8 = True;
14726 }
14727 }
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 {
14736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14737 }
14738 {
14739 if (temp4)
14740 delete arg4;
14741 }
14742 {
14743 if (temp8)
14744 delete arg8;
14745 }
14746 return resultobj;
14747 fail:
14748 {
14749 if (temp4)
14750 delete arg4;
14751 }
14752 {
14753 if (temp8)
14754 delete arg8;
14755 }
14756 return NULL;
14757 }
14758
14759
14760 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj;
14762 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14763 PyObject * obj0 = 0 ;
14764 char *kwnames[] = {
14765 (char *) "self", NULL
14766 };
14767
14768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14771 {
14772 PyThreadState* __tstate = wxPyBeginAllowThreads();
14773 (arg1)->ActivateNext();
14774
14775 wxPyEndAllowThreads(__tstate);
14776 if (PyErr_Occurred()) SWIG_fail;
14777 }
14778 Py_INCREF(Py_None); resultobj = Py_None;
14779 return resultobj;
14780 fail:
14781 return NULL;
14782 }
14783
14784
14785 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
14786 PyObject *resultobj;
14787 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14788 PyObject * obj0 = 0 ;
14789 char *kwnames[] = {
14790 (char *) "self", NULL
14791 };
14792
14793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 (arg1)->ActivatePrevious();
14799
14800 wxPyEndAllowThreads(__tstate);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 Py_INCREF(Py_None); resultobj = Py_None;
14804 return resultobj;
14805 fail:
14806 return NULL;
14807 }
14808
14809
14810 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
14811 PyObject *resultobj;
14812 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14813 PyObject * obj0 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 (arg1)->ArrangeIcons();
14824
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 Py_INCREF(Py_None); resultobj = Py_None;
14829 return resultobj;
14830 fail:
14831 return NULL;
14832 }
14833
14834
14835 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14838 PyObject * obj0 = 0 ;
14839 char *kwnames[] = {
14840 (char *) "self", NULL
14841 };
14842
14843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14846 {
14847 PyThreadState* __tstate = wxPyBeginAllowThreads();
14848 (arg1)->Cascade();
14849
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 Py_INCREF(Py_None); resultobj = Py_None;
14854 return resultobj;
14855 fail:
14856 return NULL;
14857 }
14858
14859
14860 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj;
14862 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14863 wxMDIChildFrame *result;
14864 PyObject * obj0 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14872 {
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14875
14876 wxPyEndAllowThreads(__tstate);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 }
14879 {
14880 resultobj = wxPyMake_wxObject(result, 0);
14881 }
14882 return resultobj;
14883 fail:
14884 return NULL;
14885 }
14886
14887
14888 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14889 PyObject *resultobj;
14890 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14891 wxMDIClientWindow *result;
14892 PyObject * obj0 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 {
14908 resultobj = wxPyMake_wxObject(result, 0);
14909 }
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj;
14918 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14919 wxWindow *result;
14920 PyObject * obj0 = 0 ;
14921 char *kwnames[] = {
14922 (char *) "self", NULL
14923 };
14924
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14928 {
14929 PyThreadState* __tstate = wxPyBeginAllowThreads();
14930 result = (wxWindow *)(arg1)->GetToolBar();
14931
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 {
14936 resultobj = wxPyMake_wxObject(result, 0);
14937 }
14938 return resultobj;
14939 fail:
14940 return NULL;
14941 }
14942
14943
14944 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj;
14946 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14947 PyObject * obj0 = 0 ;
14948 char *kwnames[] = {
14949 (char *) "self", NULL
14950 };
14951
14952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14955 {
14956 PyThreadState* __tstate = wxPyBeginAllowThreads();
14957 (arg1)->Tile();
14958
14959 wxPyEndAllowThreads(__tstate);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 }
14962 Py_INCREF(Py_None); resultobj = Py_None;
14963 return resultobj;
14964 fail:
14965 return NULL;
14966 }
14967
14968
14969 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
14970 PyObject *obj;
14971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14972 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14973 Py_INCREF(obj);
14974 return Py_BuildValue((char *)"");
14975 }
14976 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14977 PyObject *resultobj;
14978 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14979 int arg2 = (int) (int)-1 ;
14980 wxString const &arg3_defvalue = wxPyEmptyString ;
14981 wxString *arg3 = (wxString *) &arg3_defvalue ;
14982 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14983 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14984 wxSize const &arg5_defvalue = wxDefaultSize ;
14985 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14986 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14987 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14988 wxString *arg7 = (wxString *) &arg7_defvalue ;
14989 wxMDIChildFrame *result;
14990 bool temp3 = False ;
14991 wxPoint temp4 ;
14992 wxSize temp5 ;
14993 bool temp7 = False ;
14994 PyObject * obj0 = 0 ;
14995 PyObject * obj1 = 0 ;
14996 PyObject * obj2 = 0 ;
14997 PyObject * obj3 = 0 ;
14998 PyObject * obj4 = 0 ;
14999 PyObject * obj5 = 0 ;
15000 PyObject * obj6 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15008 if (obj1) {
15009 arg2 = (int)SWIG_As_int(obj1);
15010 if (PyErr_Occurred()) SWIG_fail;
15011 }
15012 if (obj2) {
15013 {
15014 arg3 = wxString_in_helper(obj2);
15015 if (arg3 == NULL) SWIG_fail;
15016 temp3 = True;
15017 }
15018 }
15019 if (obj3) {
15020 {
15021 arg4 = &temp4;
15022 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15023 }
15024 }
15025 if (obj4) {
15026 {
15027 arg5 = &temp5;
15028 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15029 }
15030 }
15031 if (obj5) {
15032 arg6 = (long)SWIG_As_long(obj5);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 if (obj6) {
15036 {
15037 arg7 = wxString_in_helper(obj6);
15038 if (arg7 == NULL) SWIG_fail;
15039 temp7 = True;
15040 }
15041 }
15042 {
15043 if (!wxPyCheckForApp()) SWIG_fail;
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15051 {
15052 if (temp3)
15053 delete arg3;
15054 }
15055 {
15056 if (temp7)
15057 delete arg7;
15058 }
15059 return resultobj;
15060 fail:
15061 {
15062 if (temp3)
15063 delete arg3;
15064 }
15065 {
15066 if (temp7)
15067 delete arg7;
15068 }
15069 return NULL;
15070 }
15071
15072
15073 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxMDIChildFrame *result;
15076 char *kwnames[] = {
15077 NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15081 {
15082 if (!wxPyCheckForApp()) SWIG_fail;
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj;
15098 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15099 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15100 int arg3 = (int) (int)-1 ;
15101 wxString const &arg4_defvalue = wxPyEmptyString ;
15102 wxString *arg4 = (wxString *) &arg4_defvalue ;
15103 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15104 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15105 wxSize const &arg6_defvalue = wxDefaultSize ;
15106 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15107 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15108 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15109 wxString *arg8 = (wxString *) &arg8_defvalue ;
15110 bool result;
15111 bool temp4 = False ;
15112 wxPoint temp5 ;
15113 wxSize temp6 ;
15114 bool temp8 = False ;
15115 PyObject * obj0 = 0 ;
15116 PyObject * obj1 = 0 ;
15117 PyObject * obj2 = 0 ;
15118 PyObject * obj3 = 0 ;
15119 PyObject * obj4 = 0 ;
15120 PyObject * obj5 = 0 ;
15121 PyObject * obj6 = 0 ;
15122 PyObject * obj7 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15132 if (obj2) {
15133 arg3 = (int)SWIG_As_int(obj2);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 if (obj3) {
15137 {
15138 arg4 = wxString_in_helper(obj3);
15139 if (arg4 == NULL) SWIG_fail;
15140 temp4 = True;
15141 }
15142 }
15143 if (obj4) {
15144 {
15145 arg5 = &temp5;
15146 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15147 }
15148 }
15149 if (obj5) {
15150 {
15151 arg6 = &temp6;
15152 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15153 }
15154 }
15155 if (obj6) {
15156 arg7 = (long)SWIG_As_long(obj6);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 if (obj7) {
15160 {
15161 arg8 = wxString_in_helper(obj7);
15162 if (arg8 == NULL) SWIG_fail;
15163 temp8 = True;
15164 }
15165 }
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15169
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 {
15174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15175 }
15176 {
15177 if (temp4)
15178 delete arg4;
15179 }
15180 {
15181 if (temp8)
15182 delete arg8;
15183 }
15184 return resultobj;
15185 fail:
15186 {
15187 if (temp4)
15188 delete arg4;
15189 }
15190 {
15191 if (temp8)
15192 delete arg8;
15193 }
15194 return NULL;
15195 }
15196
15197
15198 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15199 PyObject *resultobj;
15200 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15201 PyObject * obj0 = 0 ;
15202 char *kwnames[] = {
15203 (char *) "self", NULL
15204 };
15205
15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 (arg1)->Activate();
15212
15213 wxPyEndAllowThreads(__tstate);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 }
15216 Py_INCREF(Py_None); resultobj = Py_None;
15217 return resultobj;
15218 fail:
15219 return NULL;
15220 }
15221
15222
15223 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15224 PyObject *resultobj;
15225 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15226 bool arg2 ;
15227 PyObject * obj0 = 0 ;
15228 PyObject * obj1 = 0 ;
15229 char *kwnames[] = {
15230 (char *) "self",(char *) "maximize", NULL
15231 };
15232
15233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15236 arg2 = (bool)SWIG_As_bool(obj1);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 (arg1)->Maximize(arg2);
15241
15242 wxPyEndAllowThreads(__tstate);
15243 if (PyErr_Occurred()) SWIG_fail;
15244 }
15245 Py_INCREF(Py_None); resultobj = Py_None;
15246 return resultobj;
15247 fail:
15248 return NULL;
15249 }
15250
15251
15252 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15253 PyObject *resultobj;
15254 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15255 PyObject * obj0 = 0 ;
15256 char *kwnames[] = {
15257 (char *) "self", NULL
15258 };
15259
15260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15263 {
15264 PyThreadState* __tstate = wxPyBeginAllowThreads();
15265 (arg1)->Restore();
15266
15267 wxPyEndAllowThreads(__tstate);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
15270 Py_INCREF(Py_None); resultobj = Py_None;
15271 return resultobj;
15272 fail:
15273 return NULL;
15274 }
15275
15276
15277 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15278 PyObject *obj;
15279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15280 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15281 Py_INCREF(obj);
15282 return Py_BuildValue((char *)"");
15283 }
15284 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15287 long arg2 = (long) 0 ;
15288 wxMDIClientWindow *result;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 char *kwnames[] = {
15292 (char *) "parent",(char *) "style", NULL
15293 };
15294
15295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15298 if (obj1) {
15299 arg2 = (long)SWIG_As_long(obj1);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 {
15303 if (!wxPyCheckForApp()) SWIG_fail;
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15311 return resultobj;
15312 fail:
15313 return NULL;
15314 }
15315
15316
15317 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15318 PyObject *resultobj;
15319 wxMDIClientWindow *result;
15320 char *kwnames[] = {
15321 NULL
15322 };
15323
15324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15325 {
15326 if (!wxPyCheckForApp()) SWIG_fail;
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15334 return resultobj;
15335 fail:
15336 return NULL;
15337 }
15338
15339
15340 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj;
15342 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15343 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15344 long arg3 = (long) 0 ;
15345 bool result;
15346 PyObject * obj0 = 0 ;
15347 PyObject * obj1 = 0 ;
15348 PyObject * obj2 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "self",(char *) "parent",(char *) "style", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15358 if (obj2) {
15359 arg3 = (long)SWIG_As_long(obj2);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 result = (bool)(arg1)->Create(arg2,arg3);
15365
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 {
15370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15371 }
15372 return resultobj;
15373 fail:
15374 return NULL;
15375 }
15376
15377
15378 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15379 PyObject *obj;
15380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15381 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15382 Py_INCREF(obj);
15383 return Py_BuildValue((char *)"");
15384 }
15385 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15386 PyObject *resultobj;
15387 wxWindow *arg1 = (wxWindow *) 0 ;
15388 int arg2 = (int) (int)-1 ;
15389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15391 wxSize const &arg4_defvalue = wxDefaultSize ;
15392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15393 long arg5 = (long) 0 ;
15394 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15395 wxString *arg6 = (wxString *) &arg6_defvalue ;
15396 wxPyWindow *result;
15397 wxPoint temp3 ;
15398 wxSize temp4 ;
15399 bool temp6 = False ;
15400 PyObject * obj0 = 0 ;
15401 PyObject * obj1 = 0 ;
15402 PyObject * obj2 = 0 ;
15403 PyObject * obj3 = 0 ;
15404 PyObject * obj4 = 0 ;
15405 PyObject * obj5 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15413 if (obj1) {
15414 arg2 = (int)SWIG_As_int(obj1);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 if (obj2) {
15418 {
15419 arg3 = &temp3;
15420 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15421 }
15422 }
15423 if (obj3) {
15424 {
15425 arg4 = &temp4;
15426 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15427 }
15428 }
15429 if (obj4) {
15430 arg5 = (long)SWIG_As_long(obj4);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 if (obj5) {
15434 {
15435 arg6 = wxString_in_helper(obj5);
15436 if (arg6 == NULL) SWIG_fail;
15437 temp6 = True;
15438 }
15439 }
15440 {
15441 if (!wxPyCheckForApp()) SWIG_fail;
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15449 {
15450 if (temp6)
15451 delete arg6;
15452 }
15453 return resultobj;
15454 fail:
15455 {
15456 if (temp6)
15457 delete arg6;
15458 }
15459 return NULL;
15460 }
15461
15462
15463 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15464 PyObject *resultobj;
15465 wxPyWindow *result;
15466 char *kwnames[] = {
15467 NULL
15468 };
15469
15470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15471 {
15472 if (!wxPyCheckForApp()) SWIG_fail;
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 result = (wxPyWindow *)new wxPyWindow();
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
15479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15480 return resultobj;
15481 fail:
15482 return NULL;
15483 }
15484
15485
15486 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15487 PyObject *resultobj;
15488 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15489 PyObject *arg2 = (PyObject *) 0 ;
15490 PyObject *arg3 = (PyObject *) 0 ;
15491 PyObject * obj0 = 0 ;
15492 PyObject * obj1 = 0 ;
15493 PyObject * obj2 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "self",(char *) "self",(char *) "_class", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15501 arg2 = obj1;
15502 arg3 = obj2;
15503 {
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 (arg1)->_setCallbackInfo(arg2,arg3);
15506
15507 wxPyEndAllowThreads(__tstate);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 Py_INCREF(Py_None); resultobj = Py_None;
15511 return resultobj;
15512 fail:
15513 return NULL;
15514 }
15515
15516
15517 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj;
15519 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15520 wxSize *arg2 = 0 ;
15521 wxSize temp2 ;
15522 PyObject * obj0 = 0 ;
15523 PyObject * obj1 = 0 ;
15524 char *kwnames[] = {
15525 (char *) "self",(char *) "size", NULL
15526 };
15527
15528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15531 {
15532 arg2 = &temp2;
15533 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15534 }
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 (arg1)->SetBestSize((wxSize const &)*arg2);
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 Py_INCREF(Py_None); resultobj = Py_None;
15543 return resultobj;
15544 fail:
15545 return NULL;
15546 }
15547
15548
15549 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj;
15551 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15552 int arg2 ;
15553 int arg3 ;
15554 int arg4 ;
15555 int arg5 ;
15556 PyObject * obj0 = 0 ;
15557 PyObject * obj1 = 0 ;
15558 PyObject * obj2 = 0 ;
15559 PyObject * obj3 = 0 ;
15560 PyObject * obj4 = 0 ;
15561 char *kwnames[] = {
15562 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15563 };
15564
15565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15568 arg2 = (int)SWIG_As_int(obj1);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 arg3 = (int)SWIG_As_int(obj2);
15571 if (PyErr_Occurred()) SWIG_fail;
15572 arg4 = (int)SWIG_As_int(obj3);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 arg5 = (int)SWIG_As_int(obj4);
15575 if (PyErr_Occurred()) SWIG_fail;
15576 {
15577 PyThreadState* __tstate = wxPyBeginAllowThreads();
15578 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15579
15580 wxPyEndAllowThreads(__tstate);
15581 if (PyErr_Occurred()) SWIG_fail;
15582 }
15583 Py_INCREF(Py_None); resultobj = Py_None;
15584 return resultobj;
15585 fail:
15586 return NULL;
15587 }
15588
15589
15590 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15591 PyObject *resultobj;
15592 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15593 int arg2 ;
15594 int arg3 ;
15595 int arg4 ;
15596 int arg5 ;
15597 int arg6 = (int) wxSIZE_AUTO ;
15598 PyObject * obj0 = 0 ;
15599 PyObject * obj1 = 0 ;
15600 PyObject * obj2 = 0 ;
15601 PyObject * obj3 = 0 ;
15602 PyObject * obj4 = 0 ;
15603 PyObject * obj5 = 0 ;
15604 char *kwnames[] = {
15605 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15606 };
15607
15608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15611 arg2 = (int)SWIG_As_int(obj1);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 arg3 = (int)SWIG_As_int(obj2);
15614 if (PyErr_Occurred()) SWIG_fail;
15615 arg4 = (int)SWIG_As_int(obj3);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 arg5 = (int)SWIG_As_int(obj4);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 if (obj5) {
15620 arg6 = (int)SWIG_As_int(obj5);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 Py_INCREF(Py_None); resultobj = Py_None;
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15640 int arg2 ;
15641 int arg3 ;
15642 PyObject * obj0 = 0 ;
15643 PyObject * obj1 = 0 ;
15644 PyObject * obj2 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "self",(char *) "width",(char *) "height", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15652 arg2 = (int)SWIG_As_int(obj1);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 arg3 = (int)SWIG_As_int(obj2);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 (arg1)->base_DoSetClientSize(arg2,arg3);
15659
15660 wxPyEndAllowThreads(__tstate);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 Py_INCREF(Py_None); resultobj = Py_None;
15664 return resultobj;
15665 fail:
15666 return NULL;
15667 }
15668
15669
15670 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15671 PyObject *resultobj;
15672 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15673 int arg2 ;
15674 int arg3 ;
15675 PyObject * obj0 = 0 ;
15676 PyObject * obj1 = 0 ;
15677 PyObject * obj2 = 0 ;
15678 char *kwnames[] = {
15679 (char *) "self",(char *) "x",(char *) "y", NULL
15680 };
15681
15682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15685 arg2 = (int)SWIG_As_int(obj1);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 arg3 = (int)SWIG_As_int(obj2);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 Py_INCREF(Py_None); resultobj = Py_None;
15697 return resultobj;
15698 fail:
15699 return NULL;
15700 }
15701
15702
15703 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15706 int *arg2 = (int *) 0 ;
15707 int *arg3 = (int *) 0 ;
15708 int temp2 ;
15709 int res2 = 0 ;
15710 int temp3 ;
15711 int res3 = 0 ;
15712 PyObject * obj0 = 0 ;
15713 char *kwnames[] = {
15714 (char *) "self", NULL
15715 };
15716
15717 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15718 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 Py_INCREF(Py_None); resultobj = Py_None;
15730 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15731 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15732 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15733 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15734 return resultobj;
15735 fail:
15736 return NULL;
15737 }
15738
15739
15740 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15741 PyObject *resultobj;
15742 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15743 int *arg2 = (int *) 0 ;
15744 int *arg3 = (int *) 0 ;
15745 int temp2 ;
15746 int res2 = 0 ;
15747 int temp3 ;
15748 int res3 = 0 ;
15749 PyObject * obj0 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self", NULL
15752 };
15753
15754 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15755 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15759 {
15760 PyThreadState* __tstate = wxPyBeginAllowThreads();
15761 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15762
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 Py_INCREF(Py_None); resultobj = Py_None;
15767 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15768 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15769 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15770 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15771 return resultobj;
15772 fail:
15773 return NULL;
15774 }
15775
15776
15777 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj;
15779 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15780 int *arg2 = (int *) 0 ;
15781 int *arg3 = (int *) 0 ;
15782 int temp2 ;
15783 int res2 = 0 ;
15784 int temp3 ;
15785 int res3 = 0 ;
15786 PyObject * obj0 = 0 ;
15787 char *kwnames[] = {
15788 (char *) "self", NULL
15789 };
15790
15791 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15792 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15803 Py_INCREF(Py_None); resultobj = Py_None;
15804 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15805 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15806 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15807 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15808 return resultobj;
15809 fail:
15810 return NULL;
15811 }
15812
15813
15814 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj;
15816 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15817 wxSize result;
15818 PyObject * obj0 = 0 ;
15819 char *kwnames[] = {
15820 (char *) "self", NULL
15821 };
15822
15823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15829
15830 wxPyEndAllowThreads(__tstate);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 {
15834 wxSize * resultptr;
15835 resultptr = new wxSize((wxSize &) result);
15836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15837 }
15838 return resultobj;
15839 fail:
15840 return NULL;
15841 }
15842
15843
15844 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15847 wxSize result;
15848 PyObject * obj0 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 {
15864 wxSize * resultptr;
15865 resultptr = new wxSize((wxSize &) result);
15866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15867 }
15868 return resultobj;
15869 fail:
15870 return NULL;
15871 }
15872
15873
15874 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15875 PyObject *resultobj;
15876 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15877 PyObject * obj0 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 (arg1)->base_InitDialog();
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 Py_INCREF(Py_None); resultobj = Py_None;
15893 return resultobj;
15894 fail:
15895 return NULL;
15896 }
15897
15898
15899 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj;
15901 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15902 bool result;
15903 PyObject * obj0 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = (bool)(arg1)->base_TransferDataToWindow();
15914
15915 wxPyEndAllowThreads(__tstate);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 {
15919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15920 }
15921 return resultobj;
15922 fail:
15923 return NULL;
15924 }
15925
15926
15927 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj;
15929 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15930 bool result;
15931 PyObject * obj0 = 0 ;
15932 char *kwnames[] = {
15933 (char *) "self", NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15939 {
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 result = (bool)(arg1)->base_TransferDataFromWindow();
15942
15943 wxPyEndAllowThreads(__tstate);
15944 if (PyErr_Occurred()) SWIG_fail;
15945 }
15946 {
15947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15948 }
15949 return resultobj;
15950 fail:
15951 return NULL;
15952 }
15953
15954
15955 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
15956 PyObject *resultobj;
15957 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15958 bool result;
15959 PyObject * obj0 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 result = (bool)(arg1)->base_Validate();
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 {
15975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15976 }
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15986 bool result;
15987 PyObject * obj0 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 {
16003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16004 }
16005 return resultobj;
16006 fail:
16007 return NULL;
16008 }
16009
16010
16011 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16012 PyObject *resultobj;
16013 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16014 bool result;
16015 PyObject * obj0 = 0 ;
16016 char *kwnames[] = {
16017 (char *) "self", NULL
16018 };
16019
16020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16023 {
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16026
16027 wxPyEndAllowThreads(__tstate);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 {
16031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16032 }
16033 return resultobj;
16034 fail:
16035 return NULL;
16036 }
16037
16038
16039 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16040 PyObject *resultobj;
16041 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16042 wxSize result;
16043 PyObject * obj0 = 0 ;
16044 char *kwnames[] = {
16045 (char *) "self", NULL
16046 };
16047
16048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16054
16055 wxPyEndAllowThreads(__tstate);
16056 if (PyErr_Occurred()) SWIG_fail;
16057 }
16058 {
16059 wxSize * resultptr;
16060 resultptr = new wxSize((wxSize &) result);
16061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16062 }
16063 return resultobj;
16064 fail:
16065 return NULL;
16066 }
16067
16068
16069 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16070 PyObject *resultobj;
16071 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16072 wxWindow *arg2 = (wxWindow *) 0 ;
16073 PyObject * obj0 = 0 ;
16074 PyObject * obj1 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self",(char *) "child", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16084 {
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 (arg1)->base_AddChild(arg2);
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 Py_INCREF(Py_None); resultobj = Py_None;
16092 return resultobj;
16093 fail:
16094 return NULL;
16095 }
16096
16097
16098 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16099 PyObject *resultobj;
16100 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16101 wxWindow *arg2 = (wxWindow *) 0 ;
16102 PyObject * obj0 = 0 ;
16103 PyObject * obj1 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self",(char *) "child", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
16115 (arg1)->base_RemoveChild(arg2);
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 Py_INCREF(Py_None); resultobj = Py_None;
16121 return resultobj;
16122 fail:
16123 return NULL;
16124 }
16125
16126
16127 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16130 bool result;
16131 PyObject * obj0 = 0 ;
16132 char *kwnames[] = {
16133 (char *) "self", NULL
16134 };
16135
16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 {
16147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16148 }
16149 return resultobj;
16150 fail:
16151 return NULL;
16152 }
16153
16154
16155 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16156 PyObject *resultobj;
16157 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16158 wxColour *arg2 = 0 ;
16159 wxColour temp2 ;
16160 PyObject * obj0 = 0 ;
16161 PyObject * obj1 = 0 ;
16162 char *kwnames[] = {
16163 (char *) "self",(char *) "c", NULL
16164 };
16165
16166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16169 {
16170 arg2 = &temp2;
16171 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16172 }
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 Py_INCREF(Py_None); resultobj = Py_None;
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16190 wxVisualAttributes result;
16191 PyObject * obj0 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (arg1)->base_GetDefaultAttributes();
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 {
16207 wxVisualAttributes * resultptr;
16208 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16210 }
16211 return resultobj;
16212 fail:
16213 return NULL;
16214 }
16215
16216
16217 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16218 PyObject *obj;
16219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16220 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16221 Py_INCREF(obj);
16222 return Py_BuildValue((char *)"");
16223 }
16224 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj;
16226 wxWindow *arg1 = (wxWindow *) 0 ;
16227 int arg2 = (int) (int)-1 ;
16228 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16229 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16230 wxSize const &arg4_defvalue = wxDefaultSize ;
16231 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16232 long arg5 = (long) 0 ;
16233 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16234 wxString *arg6 = (wxString *) &arg6_defvalue ;
16235 wxPyPanel *result;
16236 wxPoint temp3 ;
16237 wxSize temp4 ;
16238 bool temp6 = False ;
16239 PyObject * obj0 = 0 ;
16240 PyObject * obj1 = 0 ;
16241 PyObject * obj2 = 0 ;
16242 PyObject * obj3 = 0 ;
16243 PyObject * obj4 = 0 ;
16244 PyObject * obj5 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16252 if (obj1) {
16253 arg2 = (int)SWIG_As_int(obj1);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 if (obj2) {
16257 {
16258 arg3 = &temp3;
16259 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16260 }
16261 }
16262 if (obj3) {
16263 {
16264 arg4 = &temp4;
16265 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16266 }
16267 }
16268 if (obj4) {
16269 arg5 = (long)SWIG_As_long(obj4);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 }
16272 if (obj5) {
16273 {
16274 arg6 = wxString_in_helper(obj5);
16275 if (arg6 == NULL) SWIG_fail;
16276 temp6 = True;
16277 }
16278 }
16279 {
16280 if (!wxPyCheckForApp()) SWIG_fail;
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16283
16284 wxPyEndAllowThreads(__tstate);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 }
16287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16288 {
16289 if (temp6)
16290 delete arg6;
16291 }
16292 return resultobj;
16293 fail:
16294 {
16295 if (temp6)
16296 delete arg6;
16297 }
16298 return NULL;
16299 }
16300
16301
16302 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16303 PyObject *resultobj;
16304 wxPyPanel *result;
16305 char *kwnames[] = {
16306 NULL
16307 };
16308
16309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16310 {
16311 if (!wxPyCheckForApp()) SWIG_fail;
16312 PyThreadState* __tstate = wxPyBeginAllowThreads();
16313 result = (wxPyPanel *)new wxPyPanel();
16314
16315 wxPyEndAllowThreads(__tstate);
16316 if (PyErr_Occurred()) SWIG_fail;
16317 }
16318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16319 return resultobj;
16320 fail:
16321 return NULL;
16322 }
16323
16324
16325 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16326 PyObject *resultobj;
16327 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16328 PyObject *arg2 = (PyObject *) 0 ;
16329 PyObject *arg3 = (PyObject *) 0 ;
16330 PyObject * obj0 = 0 ;
16331 PyObject * obj1 = 0 ;
16332 PyObject * obj2 = 0 ;
16333 char *kwnames[] = {
16334 (char *) "self",(char *) "self",(char *) "_class", NULL
16335 };
16336
16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16340 arg2 = obj1;
16341 arg3 = obj2;
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 (arg1)->_setCallbackInfo(arg2,arg3);
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 Py_INCREF(Py_None); resultobj = Py_None;
16350 return resultobj;
16351 fail:
16352 return NULL;
16353 }
16354
16355
16356 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16359 wxSize *arg2 = 0 ;
16360 wxSize temp2 ;
16361 PyObject * obj0 = 0 ;
16362 PyObject * obj1 = 0 ;
16363 char *kwnames[] = {
16364 (char *) "self",(char *) "size", NULL
16365 };
16366
16367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16370 {
16371 arg2 = &temp2;
16372 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16373 }
16374 {
16375 PyThreadState* __tstate = wxPyBeginAllowThreads();
16376 (arg1)->SetBestSize((wxSize const &)*arg2);
16377
16378 wxPyEndAllowThreads(__tstate);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 }
16381 Py_INCREF(Py_None); resultobj = Py_None;
16382 return resultobj;
16383 fail:
16384 return NULL;
16385 }
16386
16387
16388 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16389 PyObject *resultobj;
16390 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16391 int arg2 ;
16392 int arg3 ;
16393 int arg4 ;
16394 int arg5 ;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 PyObject * obj2 = 0 ;
16398 PyObject * obj3 = 0 ;
16399 PyObject * obj4 = 0 ;
16400 char *kwnames[] = {
16401 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16402 };
16403
16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16407 arg2 = (int)SWIG_As_int(obj1);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 arg3 = (int)SWIG_As_int(obj2);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 arg4 = (int)SWIG_As_int(obj3);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 arg5 = (int)SWIG_As_int(obj4);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16418
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 Py_INCREF(Py_None); resultobj = Py_None;
16423 return resultobj;
16424 fail:
16425 return NULL;
16426 }
16427
16428
16429 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16430 PyObject *resultobj;
16431 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16432 int arg2 ;
16433 int arg3 ;
16434 int arg4 ;
16435 int arg5 ;
16436 int arg6 = (int) wxSIZE_AUTO ;
16437 PyObject * obj0 = 0 ;
16438 PyObject * obj1 = 0 ;
16439 PyObject * obj2 = 0 ;
16440 PyObject * obj3 = 0 ;
16441 PyObject * obj4 = 0 ;
16442 PyObject * obj5 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16450 arg2 = (int)SWIG_As_int(obj1);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 arg3 = (int)SWIG_As_int(obj2);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 arg4 = (int)SWIG_As_int(obj3);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 arg5 = (int)SWIG_As_int(obj4);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 if (obj5) {
16459 arg6 = (int)SWIG_As_int(obj5);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 }
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 Py_INCREF(Py_None); resultobj = Py_None;
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16479 int arg2 ;
16480 int arg3 ;
16481 PyObject * obj0 = 0 ;
16482 PyObject * obj1 = 0 ;
16483 PyObject * obj2 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self",(char *) "width",(char *) "height", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16491 arg2 = (int)SWIG_As_int(obj1);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 arg3 = (int)SWIG_As_int(obj2);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 {
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 (arg1)->base_DoSetClientSize(arg2,arg3);
16498
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 Py_INCREF(Py_None); resultobj = Py_None;
16503 return resultobj;
16504 fail:
16505 return NULL;
16506 }
16507
16508
16509 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16510 PyObject *resultobj;
16511 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16512 int arg2 ;
16513 int arg3 ;
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 PyObject * obj2 = 0 ;
16517 char *kwnames[] = {
16518 (char *) "self",(char *) "x",(char *) "y", NULL
16519 };
16520
16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16524 arg2 = (int)SWIG_As_int(obj1);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 arg3 = (int)SWIG_As_int(obj2);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16545 int *arg2 = (int *) 0 ;
16546 int *arg3 = (int *) 0 ;
16547 int temp2 ;
16548 int res2 = 0 ;
16549 int temp3 ;
16550 int res3 = 0 ;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16557 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16564
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 Py_INCREF(Py_None); resultobj = Py_None;
16569 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16570 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16571 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16572 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16573 return resultobj;
16574 fail:
16575 return NULL;
16576 }
16577
16578
16579 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj;
16581 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16582 int *arg2 = (int *) 0 ;
16583 int *arg3 = (int *) 0 ;
16584 int temp2 ;
16585 int res2 = 0 ;
16586 int temp3 ;
16587 int res3 = 0 ;
16588 PyObject * obj0 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self", NULL
16591 };
16592
16593 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16594 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 Py_INCREF(Py_None); resultobj = Py_None;
16606 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16607 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16608 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16609 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16619 int *arg2 = (int *) 0 ;
16620 int *arg3 = (int *) 0 ;
16621 int temp2 ;
16622 int res2 = 0 ;
16623 int temp3 ;
16624 int res3 = 0 ;
16625 PyObject * obj0 = 0 ;
16626 char *kwnames[] = {
16627 (char *) "self", NULL
16628 };
16629
16630 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16631 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16638
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 Py_INCREF(Py_None); resultobj = Py_None;
16643 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16644 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16645 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16646 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16656 wxSize result;
16657 PyObject * obj0 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 {
16673 wxSize * resultptr;
16674 resultptr = new wxSize((wxSize &) result);
16675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16676 }
16677 return resultobj;
16678 fail:
16679 return NULL;
16680 }
16681
16682
16683 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16684 PyObject *resultobj;
16685 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16686 wxSize result;
16687 PyObject * obj0 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "self", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 {
16703 wxSize * resultptr;
16704 resultptr = new wxSize((wxSize &) result);
16705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16706 }
16707 return resultobj;
16708 fail:
16709 return NULL;
16710 }
16711
16712
16713 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16716 PyObject * obj0 = 0 ;
16717 char *kwnames[] = {
16718 (char *) "self", NULL
16719 };
16720
16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16724 {
16725 PyThreadState* __tstate = wxPyBeginAllowThreads();
16726 (arg1)->base_InitDialog();
16727
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 Py_INCREF(Py_None); resultobj = Py_None;
16732 return resultobj;
16733 fail:
16734 return NULL;
16735 }
16736
16737
16738 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj;
16740 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16741 bool result;
16742 PyObject * obj0 = 0 ;
16743 char *kwnames[] = {
16744 (char *) "self", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16750 {
16751 PyThreadState* __tstate = wxPyBeginAllowThreads();
16752 result = (bool)(arg1)->base_TransferDataToWindow();
16753
16754 wxPyEndAllowThreads(__tstate);
16755 if (PyErr_Occurred()) SWIG_fail;
16756 }
16757 {
16758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16759 }
16760 return resultobj;
16761 fail:
16762 return NULL;
16763 }
16764
16765
16766 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj;
16768 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16769 bool result;
16770 PyObject * obj0 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "self", NULL
16773 };
16774
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16778 {
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 result = (bool)(arg1)->base_TransferDataFromWindow();
16781
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 {
16786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16787 }
16788 return resultobj;
16789 fail:
16790 return NULL;
16791 }
16792
16793
16794 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj;
16796 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16797 bool result;
16798 PyObject * obj0 = 0 ;
16799 char *kwnames[] = {
16800 (char *) "self", NULL
16801 };
16802
16803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = (bool)(arg1)->base_Validate();
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16815 }
16816 return resultobj;
16817 fail:
16818 return NULL;
16819 }
16820
16821
16822 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16823 PyObject *resultobj;
16824 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16825 bool result;
16826 PyObject * obj0 = 0 ;
16827 char *kwnames[] = {
16828 (char *) "self", NULL
16829 };
16830
16831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16834 {
16835 PyThreadState* __tstate = wxPyBeginAllowThreads();
16836 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16837
16838 wxPyEndAllowThreads(__tstate);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
16841 {
16842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16843 }
16844 return resultobj;
16845 fail:
16846 return NULL;
16847 }
16848
16849
16850 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj;
16852 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16853 bool result;
16854 PyObject * obj0 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 {
16870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16871 }
16872 return resultobj;
16873 fail:
16874 return NULL;
16875 }
16876
16877
16878 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16879 PyObject *resultobj;
16880 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16881 wxSize result;
16882 PyObject * obj0 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "self", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 {
16898 wxSize * resultptr;
16899 resultptr = new wxSize((wxSize &) result);
16900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16901 }
16902 return resultobj;
16903 fail:
16904 return NULL;
16905 }
16906
16907
16908 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj;
16910 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16911 wxWindow *arg2 = (wxWindow *) 0 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self",(char *) "child", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 (arg1)->base_AddChild(arg2);
16926
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 Py_INCREF(Py_None); resultobj = Py_None;
16931 return resultobj;
16932 fail:
16933 return NULL;
16934 }
16935
16936
16937 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj;
16939 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16940 wxWindow *arg2 = (wxWindow *) 0 ;
16941 PyObject * obj0 = 0 ;
16942 PyObject * obj1 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self",(char *) "child", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 (arg1)->base_RemoveChild(arg2);
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 Py_INCREF(Py_None); resultobj = Py_None;
16960 return resultobj;
16961 fail:
16962 return NULL;
16963 }
16964
16965
16966 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16967 PyObject *resultobj;
16968 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16969 bool result;
16970 PyObject * obj0 = 0 ;
16971 char *kwnames[] = {
16972 (char *) "self", NULL
16973 };
16974
16975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 {
16986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16987 }
16988 return resultobj;
16989 fail:
16990 return NULL;
16991 }
16992
16993
16994 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16995 PyObject *resultobj;
16996 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16997 wxColour *arg2 = 0 ;
16998 wxColour temp2 ;
16999 PyObject * obj0 = 0 ;
17000 PyObject * obj1 = 0 ;
17001 char *kwnames[] = {
17002 (char *) "self",(char *) "c", NULL
17003 };
17004
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17008 {
17009 arg2 = &temp2;
17010 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17011 }
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17015
17016 wxPyEndAllowThreads(__tstate);
17017 if (PyErr_Occurred()) SWIG_fail;
17018 }
17019 Py_INCREF(Py_None); resultobj = Py_None;
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17029 wxVisualAttributes result;
17030 PyObject * obj0 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self", NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 result = (arg1)->base_GetDefaultAttributes();
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 {
17046 wxVisualAttributes * resultptr;
17047 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17049 }
17050 return resultobj;
17051 fail:
17052 return NULL;
17053 }
17054
17055
17056 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17057 PyObject *obj;
17058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17059 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17060 Py_INCREF(obj);
17061 return Py_BuildValue((char *)"");
17062 }
17063 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj;
17065 wxWindow *arg1 = (wxWindow *) 0 ;
17066 int arg2 = (int) (int)-1 ;
17067 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17068 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17069 wxSize const &arg4_defvalue = wxDefaultSize ;
17070 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17071 long arg5 = (long) 0 ;
17072 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17073 wxString *arg6 = (wxString *) &arg6_defvalue ;
17074 wxPyScrolledWindow *result;
17075 wxPoint temp3 ;
17076 wxSize temp4 ;
17077 bool temp6 = False ;
17078 PyObject * obj0 = 0 ;
17079 PyObject * obj1 = 0 ;
17080 PyObject * obj2 = 0 ;
17081 PyObject * obj3 = 0 ;
17082 PyObject * obj4 = 0 ;
17083 PyObject * obj5 = 0 ;
17084 char *kwnames[] = {
17085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17086 };
17087
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17091 if (obj1) {
17092 arg2 = (int)SWIG_As_int(obj1);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 if (obj2) {
17096 {
17097 arg3 = &temp3;
17098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17099 }
17100 }
17101 if (obj3) {
17102 {
17103 arg4 = &temp4;
17104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17105 }
17106 }
17107 if (obj4) {
17108 arg5 = (long)SWIG_As_long(obj4);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 if (obj5) {
17112 {
17113 arg6 = wxString_in_helper(obj5);
17114 if (arg6 == NULL) SWIG_fail;
17115 temp6 = True;
17116 }
17117 }
17118 {
17119 if (!wxPyCheckForApp()) SWIG_fail;
17120 PyThreadState* __tstate = wxPyBeginAllowThreads();
17121 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17122
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17127 {
17128 if (temp6)
17129 delete arg6;
17130 }
17131 return resultobj;
17132 fail:
17133 {
17134 if (temp6)
17135 delete arg6;
17136 }
17137 return NULL;
17138 }
17139
17140
17141 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17142 PyObject *resultobj;
17143 wxPyScrolledWindow *result;
17144 char *kwnames[] = {
17145 NULL
17146 };
17147
17148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17149 {
17150 if (!wxPyCheckForApp()) SWIG_fail;
17151 PyThreadState* __tstate = wxPyBeginAllowThreads();
17152 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17153
17154 wxPyEndAllowThreads(__tstate);
17155 if (PyErr_Occurred()) SWIG_fail;
17156 }
17157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17158 return resultobj;
17159 fail:
17160 return NULL;
17161 }
17162
17163
17164 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17165 PyObject *resultobj;
17166 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17167 PyObject *arg2 = (PyObject *) 0 ;
17168 PyObject *arg3 = (PyObject *) 0 ;
17169 PyObject * obj0 = 0 ;
17170 PyObject * obj1 = 0 ;
17171 PyObject * obj2 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "self",(char *) "self",(char *) "_class", NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17179 arg2 = obj1;
17180 arg3 = obj2;
17181 {
17182 PyThreadState* __tstate = wxPyBeginAllowThreads();
17183 (arg1)->_setCallbackInfo(arg2,arg3);
17184
17185 wxPyEndAllowThreads(__tstate);
17186 if (PyErr_Occurred()) SWIG_fail;
17187 }
17188 Py_INCREF(Py_None); resultobj = Py_None;
17189 return resultobj;
17190 fail:
17191 return NULL;
17192 }
17193
17194
17195 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj;
17197 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17198 wxSize *arg2 = 0 ;
17199 wxSize temp2 ;
17200 PyObject * obj0 = 0 ;
17201 PyObject * obj1 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self",(char *) "size", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17209 {
17210 arg2 = &temp2;
17211 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17212 }
17213 {
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 (arg1)->SetBestSize((wxSize const &)*arg2);
17216
17217 wxPyEndAllowThreads(__tstate);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 }
17220 Py_INCREF(Py_None); resultobj = Py_None;
17221 return resultobj;
17222 fail:
17223 return NULL;
17224 }
17225
17226
17227 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17228 PyObject *resultobj;
17229 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17230 int arg2 ;
17231 int arg3 ;
17232 int arg4 ;
17233 int arg5 ;
17234 PyObject * obj0 = 0 ;
17235 PyObject * obj1 = 0 ;
17236 PyObject * obj2 = 0 ;
17237 PyObject * obj3 = 0 ;
17238 PyObject * obj4 = 0 ;
17239 char *kwnames[] = {
17240 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17241 };
17242
17243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17246 arg2 = (int)SWIG_As_int(obj1);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 arg3 = (int)SWIG_As_int(obj2);
17249 if (PyErr_Occurred()) SWIG_fail;
17250 arg4 = (int)SWIG_As_int(obj3);
17251 if (PyErr_Occurred()) SWIG_fail;
17252 arg5 = (int)SWIG_As_int(obj4);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 Py_INCREF(Py_None); resultobj = Py_None;
17262 return resultobj;
17263 fail:
17264 return NULL;
17265 }
17266
17267
17268 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17269 PyObject *resultobj;
17270 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17271 int arg2 ;
17272 int arg3 ;
17273 int arg4 ;
17274 int arg5 ;
17275 int arg6 = (int) wxSIZE_AUTO ;
17276 PyObject * obj0 = 0 ;
17277 PyObject * obj1 = 0 ;
17278 PyObject * obj2 = 0 ;
17279 PyObject * obj3 = 0 ;
17280 PyObject * obj4 = 0 ;
17281 PyObject * obj5 = 0 ;
17282 char *kwnames[] = {
17283 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17284 };
17285
17286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17289 arg2 = (int)SWIG_As_int(obj1);
17290 if (PyErr_Occurred()) SWIG_fail;
17291 arg3 = (int)SWIG_As_int(obj2);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 arg4 = (int)SWIG_As_int(obj3);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 arg5 = (int)SWIG_As_int(obj4);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 if (obj5) {
17298 arg6 = (int)SWIG_As_int(obj5);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 {
17302 PyThreadState* __tstate = wxPyBeginAllowThreads();
17303 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17304
17305 wxPyEndAllowThreads(__tstate);
17306 if (PyErr_Occurred()) SWIG_fail;
17307 }
17308 Py_INCREF(Py_None); resultobj = Py_None;
17309 return resultobj;
17310 fail:
17311 return NULL;
17312 }
17313
17314
17315 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17316 PyObject *resultobj;
17317 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17318 int arg2 ;
17319 int arg3 ;
17320 PyObject * obj0 = 0 ;
17321 PyObject * obj1 = 0 ;
17322 PyObject * obj2 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self",(char *) "width",(char *) "height", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17330 arg2 = (int)SWIG_As_int(obj1);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 arg3 = (int)SWIG_As_int(obj2);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 (arg1)->base_DoSetClientSize(arg2,arg3);
17337
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 Py_INCREF(Py_None); resultobj = Py_None;
17342 return resultobj;
17343 fail:
17344 return NULL;
17345 }
17346
17347
17348 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj;
17350 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17351 int arg2 ;
17352 int arg3 ;
17353 PyObject * obj0 = 0 ;
17354 PyObject * obj1 = 0 ;
17355 PyObject * obj2 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "x",(char *) "y", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17363 arg2 = (int)SWIG_As_int(obj1);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 arg3 = (int)SWIG_As_int(obj2);
17366 if (PyErr_Occurred()) SWIG_fail;
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 Py_INCREF(Py_None); resultobj = Py_None;
17375 return resultobj;
17376 fail:
17377 return NULL;
17378 }
17379
17380
17381 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17382 PyObject *resultobj;
17383 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17384 int *arg2 = (int *) 0 ;
17385 int *arg3 = (int *) 0 ;
17386 int temp2 ;
17387 int res2 = 0 ;
17388 int temp3 ;
17389 int res3 = 0 ;
17390 PyObject * obj0 = 0 ;
17391 char *kwnames[] = {
17392 (char *) "self", NULL
17393 };
17394
17395 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17396 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 Py_INCREF(Py_None); resultobj = Py_None;
17408 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17409 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17410 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17411 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17412 return resultobj;
17413 fail:
17414 return NULL;
17415 }
17416
17417
17418 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17419 PyObject *resultobj;
17420 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17421 int *arg2 = (int *) 0 ;
17422 int *arg3 = (int *) 0 ;
17423 int temp2 ;
17424 int res2 = 0 ;
17425 int temp3 ;
17426 int res3 = 0 ;
17427 PyObject * obj0 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self", NULL
17430 };
17431
17432 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17433 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17440
17441 wxPyEndAllowThreads(__tstate);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 }
17444 Py_INCREF(Py_None); resultobj = Py_None;
17445 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17446 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17447 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17448 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17449 return resultobj;
17450 fail:
17451 return NULL;
17452 }
17453
17454
17455 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17458 int *arg2 = (int *) 0 ;
17459 int *arg3 = (int *) 0 ;
17460 int temp2 ;
17461 int res2 = 0 ;
17462 int temp3 ;
17463 int res3 = 0 ;
17464 PyObject * obj0 = 0 ;
17465 char *kwnames[] = {
17466 (char *) "self", NULL
17467 };
17468
17469 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17470 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17474 {
17475 PyThreadState* __tstate = wxPyBeginAllowThreads();
17476 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17477
17478 wxPyEndAllowThreads(__tstate);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 }
17481 Py_INCREF(Py_None); resultobj = Py_None;
17482 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17483 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17484 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17485 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17486 return resultobj;
17487 fail:
17488 return NULL;
17489 }
17490
17491
17492 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17493 PyObject *resultobj;
17494 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17495 wxSize result;
17496 PyObject * obj0 = 0 ;
17497 char *kwnames[] = {
17498 (char *) "self", NULL
17499 };
17500
17501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17507
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 {
17512 wxSize * resultptr;
17513 resultptr = new wxSize((wxSize &) result);
17514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17515 }
17516 return resultobj;
17517 fail:
17518 return NULL;
17519 }
17520
17521
17522 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17523 PyObject *resultobj;
17524 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17525 wxSize result;
17526 PyObject * obj0 = 0 ;
17527 char *kwnames[] = {
17528 (char *) "self", NULL
17529 };
17530
17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17537
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
17541 {
17542 wxSize * resultptr;
17543 resultptr = new wxSize((wxSize &) result);
17544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17545 }
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj;
17554 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17555 PyObject * obj0 = 0 ;
17556 char *kwnames[] = {
17557 (char *) "self", NULL
17558 };
17559
17560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 (arg1)->base_InitDialog();
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 Py_INCREF(Py_None); resultobj = Py_None;
17571 return resultobj;
17572 fail:
17573 return NULL;
17574 }
17575
17576
17577 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17578 PyObject *resultobj;
17579 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17580 bool result;
17581 PyObject * obj0 = 0 ;
17582 char *kwnames[] = {
17583 (char *) "self", NULL
17584 };
17585
17586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 result = (bool)(arg1)->base_TransferDataToWindow();
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 {
17597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17598 }
17599 return resultobj;
17600 fail:
17601 return NULL;
17602 }
17603
17604
17605 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17606 PyObject *resultobj;
17607 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17608 bool result;
17609 PyObject * obj0 = 0 ;
17610 char *kwnames[] = {
17611 (char *) "self", NULL
17612 };
17613
17614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17617 {
17618 PyThreadState* __tstate = wxPyBeginAllowThreads();
17619 result = (bool)(arg1)->base_TransferDataFromWindow();
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 {
17625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17626 }
17627 return resultobj;
17628 fail:
17629 return NULL;
17630 }
17631
17632
17633 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj;
17635 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17636 bool result;
17637 PyObject * obj0 = 0 ;
17638 char *kwnames[] = {
17639 (char *) "self", NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17645 {
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 result = (bool)(arg1)->base_Validate();
17648
17649 wxPyEndAllowThreads(__tstate);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
17652 {
17653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17654 }
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17664 bool result;
17665 PyObject * obj0 = 0 ;
17666 char *kwnames[] = {
17667 (char *) "self", NULL
17668 };
17669
17670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17676
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 {
17681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17682 }
17683 return resultobj;
17684 fail:
17685 return NULL;
17686 }
17687
17688
17689 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17690 PyObject *resultobj;
17691 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17692 bool result;
17693 PyObject * obj0 = 0 ;
17694 char *kwnames[] = {
17695 (char *) "self", NULL
17696 };
17697
17698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17704
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 {
17709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17710 }
17711 return resultobj;
17712 fail:
17713 return NULL;
17714 }
17715
17716
17717 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17718 PyObject *resultobj;
17719 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17720 wxSize result;
17721 PyObject * obj0 = 0 ;
17722 char *kwnames[] = {
17723 (char *) "self", NULL
17724 };
17725
17726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17729 {
17730 PyThreadState* __tstate = wxPyBeginAllowThreads();
17731 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 {
17737 wxSize * resultptr;
17738 resultptr = new wxSize((wxSize &) result);
17739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17740 }
17741 return resultobj;
17742 fail:
17743 return NULL;
17744 }
17745
17746
17747 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17748 PyObject *resultobj;
17749 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17750 wxWindow *arg2 = (wxWindow *) 0 ;
17751 PyObject * obj0 = 0 ;
17752 PyObject * obj1 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self",(char *) "child", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 (arg1)->base_AddChild(arg2);
17765
17766 wxPyEndAllowThreads(__tstate);
17767 if (PyErr_Occurred()) SWIG_fail;
17768 }
17769 Py_INCREF(Py_None); resultobj = Py_None;
17770 return resultobj;
17771 fail:
17772 return NULL;
17773 }
17774
17775
17776 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17777 PyObject *resultobj;
17778 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17779 wxWindow *arg2 = (wxWindow *) 0 ;
17780 PyObject * obj0 = 0 ;
17781 PyObject * obj1 = 0 ;
17782 char *kwnames[] = {
17783 (char *) "self",(char *) "child", NULL
17784 };
17785
17786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 (arg1)->base_RemoveChild(arg2);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 Py_INCREF(Py_None); resultobj = Py_None;
17799 return resultobj;
17800 fail:
17801 return NULL;
17802 }
17803
17804
17805 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17806 PyObject *resultobj;
17807 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17808 bool result;
17809 PyObject * obj0 = 0 ;
17810 char *kwnames[] = {
17811 (char *) "self", NULL
17812 };
17813
17814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17820
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 {
17825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17826 }
17827 return resultobj;
17828 fail:
17829 return NULL;
17830 }
17831
17832
17833 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17836 wxColour *arg2 = 0 ;
17837 wxColour temp2 ;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 char *kwnames[] = {
17841 (char *) "self",(char *) "c", NULL
17842 };
17843
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17847 {
17848 arg2 = &temp2;
17849 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17850 }
17851 {
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17854
17855 wxPyEndAllowThreads(__tstate);
17856 if (PyErr_Occurred()) SWIG_fail;
17857 }
17858 Py_INCREF(Py_None); resultobj = Py_None;
17859 return resultobj;
17860 fail:
17861 return NULL;
17862 }
17863
17864
17865 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17866 PyObject *resultobj;
17867 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17868 wxVisualAttributes result;
17869 PyObject * obj0 = 0 ;
17870 char *kwnames[] = {
17871 (char *) "self", NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 result = (arg1)->base_GetDefaultAttributes();
17880
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
17884 {
17885 wxVisualAttributes * resultptr;
17886 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17888 }
17889 return resultobj;
17890 fail:
17891 return NULL;
17892 }
17893
17894
17895 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
17896 PyObject *obj;
17897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17898 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17899 Py_INCREF(obj);
17900 return Py_BuildValue((char *)"");
17901 }
17902 static int _wrap_PrintoutTitleStr_set(PyObject *) {
17903 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17904 return 1;
17905 }
17906
17907
17908 static PyObject *_wrap_PrintoutTitleStr_get() {
17909 PyObject *pyobj;
17910
17911 {
17912 #if wxUSE_UNICODE
17913 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17914 #else
17915 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17916 #endif
17917 }
17918 return pyobj;
17919 }
17920
17921
17922 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
17923 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17924 return 1;
17925 }
17926
17927
17928 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17929 PyObject *pyobj;
17930
17931 {
17932 #if wxUSE_UNICODE
17933 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17934 #else
17935 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17936 #endif
17937 }
17938 return pyobj;
17939 }
17940
17941
17942 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
17943 PyObject *resultobj;
17944 wxPrintData *result;
17945
17946 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
17947 {
17948 PyThreadState* __tstate = wxPyBeginAllowThreads();
17949 result = (wxPrintData *)new wxPrintData();
17950
17951 wxPyEndAllowThreads(__tstate);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
17954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17955 return resultobj;
17956 fail:
17957 return NULL;
17958 }
17959
17960
17961 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
17962 PyObject *resultobj;
17963 wxPrintData *arg1 = 0 ;
17964 wxPrintData *result;
17965 PyObject * obj0 = 0 ;
17966
17967 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
17968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17969 SWIG_POINTER_EXCEPTION | 0)) == -1)
17970 SWIG_fail;
17971 if (arg1 == NULL) {
17972 PyErr_SetString(PyExc_TypeError,"null reference");
17973 SWIG_fail;
17974 }
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17983 return resultobj;
17984 fail:
17985 return NULL;
17986 }
17987
17988
17989 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
17990 int argc;
17991 PyObject *argv[2];
17992 int ii;
17993
17994 argc = PyObject_Length(args);
17995 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
17996 argv[ii] = PyTuple_GetItem(args,ii);
17997 }
17998 if (argc == 0) {
17999 return _wrap_new_PrintData__SWIG_0(self,args);
18000 }
18001 if (argc == 1) {
18002 int _v;
18003 {
18004 void *ptr;
18005 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18006 _v = 0;
18007 PyErr_Clear();
18008 } else {
18009 _v = 1;
18010 }
18011 }
18012 if (_v) {
18013 return _wrap_new_PrintData__SWIG_1(self,args);
18014 }
18015 }
18016
18017 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18018 return NULL;
18019 }
18020
18021
18022 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18023 PyObject *resultobj;
18024 wxPrintData *arg1 = (wxPrintData *) 0 ;
18025 PyObject * obj0 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 delete arg1;
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 Py_INCREF(Py_None); resultobj = Py_None;
18041 return resultobj;
18042 fail:
18043 return NULL;
18044 }
18045
18046
18047 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj;
18049 wxPrintData *arg1 = (wxPrintData *) 0 ;
18050 int result;
18051 PyObject * obj0 = 0 ;
18052 char *kwnames[] = {
18053 (char *) "self", NULL
18054 };
18055
18056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18059 {
18060 PyThreadState* __tstate = wxPyBeginAllowThreads();
18061 result = (int)(arg1)->GetNoCopies();
18062
18063 wxPyEndAllowThreads(__tstate);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 resultobj = SWIG_From_int((int)result);
18067 return resultobj;
18068 fail:
18069 return NULL;
18070 }
18071
18072
18073 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18074 PyObject *resultobj;
18075 wxPrintData *arg1 = (wxPrintData *) 0 ;
18076 bool result;
18077 PyObject * obj0 = 0 ;
18078 char *kwnames[] = {
18079 (char *) "self", NULL
18080 };
18081
18082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 result = (bool)(arg1)->GetCollate();
18088
18089 wxPyEndAllowThreads(__tstate);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 {
18093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18094 }
18095 return resultobj;
18096 fail:
18097 return NULL;
18098 }
18099
18100
18101 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18102 PyObject *resultobj;
18103 wxPrintData *arg1 = (wxPrintData *) 0 ;
18104 int result;
18105 PyObject * obj0 = 0 ;
18106 char *kwnames[] = {
18107 (char *) "self", NULL
18108 };
18109
18110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (int)(arg1)->GetOrientation();
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 resultobj = SWIG_From_int((int)result);
18121 return resultobj;
18122 fail:
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj;
18129 wxPrintData *arg1 = (wxPrintData *) 0 ;
18130 bool result;
18131 PyObject * obj0 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "self", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18139 {
18140 PyThreadState* __tstate = wxPyBeginAllowThreads();
18141 result = (bool)(arg1)->Ok();
18142
18143 wxPyEndAllowThreads(__tstate);
18144 if (PyErr_Occurred()) SWIG_fail;
18145 }
18146 {
18147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18148 }
18149 return resultobj;
18150 fail:
18151 return NULL;
18152 }
18153
18154
18155 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18156 PyObject *resultobj;
18157 wxPrintData *arg1 = (wxPrintData *) 0 ;
18158 wxString *result;
18159 PyObject * obj0 = 0 ;
18160 char *kwnames[] = {
18161 (char *) "self", NULL
18162 };
18163
18164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18167 {
18168 PyThreadState* __tstate = wxPyBeginAllowThreads();
18169 {
18170 wxString const &_result_ref = (arg1)->GetPrinterName();
18171 result = (wxString *) &_result_ref;
18172 }
18173
18174 wxPyEndAllowThreads(__tstate);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 }
18177 {
18178 #if wxUSE_UNICODE
18179 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18180 #else
18181 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18182 #endif
18183 }
18184 return resultobj;
18185 fail:
18186 return NULL;
18187 }
18188
18189
18190 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18191 PyObject *resultobj;
18192 wxPrintData *arg1 = (wxPrintData *) 0 ;
18193 bool result;
18194 PyObject * obj0 = 0 ;
18195 char *kwnames[] = {
18196 (char *) "self", NULL
18197 };
18198
18199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 result = (bool)(arg1)->GetColour();
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 {
18210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18211 }
18212 return resultobj;
18213 fail:
18214 return NULL;
18215 }
18216
18217
18218 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18219 PyObject *resultobj;
18220 wxPrintData *arg1 = (wxPrintData *) 0 ;
18221 int result;
18222 PyObject * obj0 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 result = (int)(arg1)->GetDuplex();
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 resultobj = SWIG_From_int((int)result);
18238 return resultobj;
18239 fail:
18240 return NULL;
18241 }
18242
18243
18244 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj;
18246 wxPrintData *arg1 = (wxPrintData *) 0 ;
18247 int result;
18248 PyObject * obj0 = 0 ;
18249 char *kwnames[] = {
18250 (char *) "self", NULL
18251 };
18252
18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (int)(arg1)->GetPaperId();
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 resultobj = SWIG_From_int((int)result);
18264 return resultobj;
18265 fail:
18266 return NULL;
18267 }
18268
18269
18270 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj;
18272 wxPrintData *arg1 = (wxPrintData *) 0 ;
18273 wxSize *result;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 {
18285 wxSize const &_result_ref = (arg1)->GetPaperSize();
18286 result = (wxSize *) &_result_ref;
18287 }
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18293 return resultobj;
18294 fail:
18295 return NULL;
18296 }
18297
18298
18299 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18300 PyObject *resultobj;
18301 wxPrintData *arg1 = (wxPrintData *) 0 ;
18302 int result;
18303 PyObject * obj0 = 0 ;
18304 char *kwnames[] = {
18305 (char *) "self", NULL
18306 };
18307
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18311 {
18312 PyThreadState* __tstate = wxPyBeginAllowThreads();
18313 result = (int)(arg1)->GetQuality();
18314
18315 wxPyEndAllowThreads(__tstate);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 }
18318 resultobj = SWIG_From_int((int)result);
18319 return resultobj;
18320 fail:
18321 return NULL;
18322 }
18323
18324
18325 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18326 PyObject *resultobj;
18327 wxPrintData *arg1 = (wxPrintData *) 0 ;
18328 int arg2 ;
18329 PyObject * obj0 = 0 ;
18330 PyObject * obj1 = 0 ;
18331 char *kwnames[] = {
18332 (char *) "self",(char *) "v", NULL
18333 };
18334
18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18338 arg2 = (int)SWIG_As_int(obj1);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 (arg1)->SetNoCopies(arg2);
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 Py_INCREF(Py_None); resultobj = Py_None;
18348 return resultobj;
18349 fail:
18350 return NULL;
18351 }
18352
18353
18354 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18355 PyObject *resultobj;
18356 wxPrintData *arg1 = (wxPrintData *) 0 ;
18357 bool arg2 ;
18358 PyObject * obj0 = 0 ;
18359 PyObject * obj1 = 0 ;
18360 char *kwnames[] = {
18361 (char *) "self",(char *) "flag", NULL
18362 };
18363
18364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18367 arg2 = (bool)SWIG_As_bool(obj1);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 (arg1)->SetCollate(arg2);
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 Py_INCREF(Py_None); resultobj = Py_None;
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj;
18385 wxPrintData *arg1 = (wxPrintData *) 0 ;
18386 int arg2 ;
18387 PyObject * obj0 = 0 ;
18388 PyObject * obj1 = 0 ;
18389 char *kwnames[] = {
18390 (char *) "self",(char *) "orient", NULL
18391 };
18392
18393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18396 arg2 = (int)SWIG_As_int(obj1);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 {
18399 PyThreadState* __tstate = wxPyBeginAllowThreads();
18400 (arg1)->SetOrientation(arg2);
18401
18402 wxPyEndAllowThreads(__tstate);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 }
18405 Py_INCREF(Py_None); resultobj = Py_None;
18406 return resultobj;
18407 fail:
18408 return NULL;
18409 }
18410
18411
18412 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18413 PyObject *resultobj;
18414 wxPrintData *arg1 = (wxPrintData *) 0 ;
18415 wxString *arg2 = 0 ;
18416 bool temp2 = False ;
18417 PyObject * obj0 = 0 ;
18418 PyObject * obj1 = 0 ;
18419 char *kwnames[] = {
18420 (char *) "self",(char *) "name", NULL
18421 };
18422
18423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18426 {
18427 arg2 = wxString_in_helper(obj1);
18428 if (arg2 == NULL) SWIG_fail;
18429 temp2 = True;
18430 }
18431 {
18432 PyThreadState* __tstate = wxPyBeginAllowThreads();
18433 (arg1)->SetPrinterName((wxString const &)*arg2);
18434
18435 wxPyEndAllowThreads(__tstate);
18436 if (PyErr_Occurred()) SWIG_fail;
18437 }
18438 Py_INCREF(Py_None); resultobj = Py_None;
18439 {
18440 if (temp2)
18441 delete arg2;
18442 }
18443 return resultobj;
18444 fail:
18445 {
18446 if (temp2)
18447 delete arg2;
18448 }
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxPrintData *arg1 = (wxPrintData *) 0 ;
18456 bool arg2 ;
18457 PyObject * obj0 = 0 ;
18458 PyObject * obj1 = 0 ;
18459 char *kwnames[] = {
18460 (char *) "self",(char *) "colour", NULL
18461 };
18462
18463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18466 arg2 = (bool)SWIG_As_bool(obj1);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 (arg1)->SetColour(arg2);
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 Py_INCREF(Py_None); resultobj = Py_None;
18476 return resultobj;
18477 fail:
18478 return NULL;
18479 }
18480
18481
18482 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxPrintData *arg1 = (wxPrintData *) 0 ;
18485 int arg2 ;
18486 PyObject * obj0 = 0 ;
18487 PyObject * obj1 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self",(char *) "duplex", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18495 arg2 = (int)SWIG_As_int(obj1);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 {
18498 PyThreadState* __tstate = wxPyBeginAllowThreads();
18499 (arg1)->SetDuplex((wxDuplexMode )arg2);
18500
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 Py_INCREF(Py_None); resultobj = Py_None;
18505 return resultobj;
18506 fail:
18507 return NULL;
18508 }
18509
18510
18511 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj;
18513 wxPrintData *arg1 = (wxPrintData *) 0 ;
18514 int arg2 ;
18515 PyObject * obj0 = 0 ;
18516 PyObject * obj1 = 0 ;
18517 char *kwnames[] = {
18518 (char *) "self",(char *) "sizeId", NULL
18519 };
18520
18521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18524 arg2 = (int)SWIG_As_int(obj1);
18525 if (PyErr_Occurred()) SWIG_fail;
18526 {
18527 PyThreadState* __tstate = wxPyBeginAllowThreads();
18528 (arg1)->SetPaperId((wxPaperSize )arg2);
18529
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 Py_INCREF(Py_None); resultobj = Py_None;
18534 return resultobj;
18535 fail:
18536 return NULL;
18537 }
18538
18539
18540 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18541 PyObject *resultobj;
18542 wxPrintData *arg1 = (wxPrintData *) 0 ;
18543 wxSize *arg2 = 0 ;
18544 wxSize temp2 ;
18545 PyObject * obj0 = 0 ;
18546 PyObject * obj1 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self",(char *) "sz", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18554 {
18555 arg2 = &temp2;
18556 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18557 }
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 (arg1)->SetPaperSize((wxSize const &)*arg2);
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 Py_INCREF(Py_None); resultobj = Py_None;
18566 return resultobj;
18567 fail:
18568 return NULL;
18569 }
18570
18571
18572 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 wxPrintData *arg1 = (wxPrintData *) 0 ;
18575 int arg2 ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj1 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "self",(char *) "quality", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18585 arg2 = (int)SWIG_As_int(obj1);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 (arg1)->SetQuality(arg2);
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 Py_INCREF(Py_None); resultobj = Py_None;
18595 return resultobj;
18596 fail:
18597 return NULL;
18598 }
18599
18600
18601 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxPrintData *arg1 = (wxPrintData *) 0 ;
18604 wxString *result;
18605 PyObject * obj0 = 0 ;
18606 char *kwnames[] = {
18607 (char *) "self", NULL
18608 };
18609
18610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18613 {
18614 PyThreadState* __tstate = wxPyBeginAllowThreads();
18615 {
18616 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18617 result = (wxString *) &_result_ref;
18618 }
18619
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 {
18624 #if wxUSE_UNICODE
18625 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18626 #else
18627 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18628 #endif
18629 }
18630 return resultobj;
18631 fail:
18632 return NULL;
18633 }
18634
18635
18636 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18637 PyObject *resultobj;
18638 wxPrintData *arg1 = (wxPrintData *) 0 ;
18639 wxString *result;
18640 PyObject * obj0 = 0 ;
18641 char *kwnames[] = {
18642 (char *) "self", NULL
18643 };
18644
18645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 {
18651 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18652 result = (wxString *) &_result_ref;
18653 }
18654
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 {
18659 #if wxUSE_UNICODE
18660 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18661 #else
18662 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18663 #endif
18664 }
18665 return resultobj;
18666 fail:
18667 return NULL;
18668 }
18669
18670
18671 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18672 PyObject *resultobj;
18673 wxPrintData *arg1 = (wxPrintData *) 0 ;
18674 wxString *result;
18675 PyObject * obj0 = 0 ;
18676 char *kwnames[] = {
18677 (char *) "self", NULL
18678 };
18679
18680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 {
18686 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18687 result = (wxString *) &_result_ref;
18688 }
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 {
18694 #if wxUSE_UNICODE
18695 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18696 #else
18697 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18698 #endif
18699 }
18700 return resultobj;
18701 fail:
18702 return NULL;
18703 }
18704
18705
18706 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
18707 PyObject *resultobj;
18708 wxPrintData *arg1 = (wxPrintData *) 0 ;
18709 wxString *result;
18710 PyObject * obj0 = 0 ;
18711 char *kwnames[] = {
18712 (char *) "self", NULL
18713 };
18714
18715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 {
18721 wxString const &_result_ref = (arg1)->GetFilename();
18722 result = (wxString *) &_result_ref;
18723 }
18724
18725 wxPyEndAllowThreads(__tstate);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 {
18729 #if wxUSE_UNICODE
18730 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18731 #else
18732 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18733 #endif
18734 }
18735 return resultobj;
18736 fail:
18737 return NULL;
18738 }
18739
18740
18741 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj;
18743 wxPrintData *arg1 = (wxPrintData *) 0 ;
18744 wxString *result;
18745 PyObject * obj0 = 0 ;
18746 char *kwnames[] = {
18747 (char *) "self", NULL
18748 };
18749
18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 {
18756 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18757 result = (wxString *) &_result_ref;
18758 }
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 {
18764 #if wxUSE_UNICODE
18765 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18766 #else
18767 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18768 #endif
18769 }
18770 return resultobj;
18771 fail:
18772 return NULL;
18773 }
18774
18775
18776 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
18777 PyObject *resultobj;
18778 wxPrintData *arg1 = (wxPrintData *) 0 ;
18779 double result;
18780 PyObject * obj0 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18788 {
18789 PyThreadState* __tstate = wxPyBeginAllowThreads();
18790 result = (double)(arg1)->GetPrinterScaleX();
18791
18792 wxPyEndAllowThreads(__tstate);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 }
18795 resultobj = SWIG_From_double((double)result);
18796 return resultobj;
18797 fail:
18798 return NULL;
18799 }
18800
18801
18802 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
18803 PyObject *resultobj;
18804 wxPrintData *arg1 = (wxPrintData *) 0 ;
18805 double result;
18806 PyObject * obj0 = 0 ;
18807 char *kwnames[] = {
18808 (char *) "self", NULL
18809 };
18810
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 result = (double)(arg1)->GetPrinterScaleY();
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = SWIG_From_double((double)result);
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj;
18830 wxPrintData *arg1 = (wxPrintData *) 0 ;
18831 long result;
18832 PyObject * obj0 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 result = (long)(arg1)->GetPrinterTranslateX();
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 resultobj = SWIG_From_long((long)result);
18848 return resultobj;
18849 fail:
18850 return NULL;
18851 }
18852
18853
18854 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj;
18856 wxPrintData *arg1 = (wxPrintData *) 0 ;
18857 long result;
18858 PyObject * obj0 = 0 ;
18859 char *kwnames[] = {
18860 (char *) "self", NULL
18861 };
18862
18863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 result = (long)(arg1)->GetPrinterTranslateY();
18869
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 resultobj = SWIG_From_long((long)result);
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj;
18882 wxPrintData *arg1 = (wxPrintData *) 0 ;
18883 int result;
18884 PyObject * obj0 = 0 ;
18885 char *kwnames[] = {
18886 (char *) "self", NULL
18887 };
18888
18889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18892 {
18893 PyThreadState* __tstate = wxPyBeginAllowThreads();
18894 result = (int)(arg1)->GetPrintMode();
18895
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 resultobj = SWIG_From_int((int)result);
18900 return resultobj;
18901 fail:
18902 return NULL;
18903 }
18904
18905
18906 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18907 PyObject *resultobj;
18908 wxPrintData *arg1 = (wxPrintData *) 0 ;
18909 wxString *arg2 = 0 ;
18910 bool temp2 = False ;
18911 PyObject * obj0 = 0 ;
18912 PyObject * obj1 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self",(char *) "command", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18920 {
18921 arg2 = wxString_in_helper(obj1);
18922 if (arg2 == NULL) SWIG_fail;
18923 temp2 = True;
18924 }
18925 {
18926 PyThreadState* __tstate = wxPyBeginAllowThreads();
18927 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18928
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 Py_INCREF(Py_None); resultobj = Py_None;
18933 {
18934 if (temp2)
18935 delete arg2;
18936 }
18937 return resultobj;
18938 fail:
18939 {
18940 if (temp2)
18941 delete arg2;
18942 }
18943 return NULL;
18944 }
18945
18946
18947 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj;
18949 wxPrintData *arg1 = (wxPrintData *) 0 ;
18950 wxString *arg2 = 0 ;
18951 bool temp2 = False ;
18952 PyObject * obj0 = 0 ;
18953 PyObject * obj1 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self",(char *) "options", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18961 {
18962 arg2 = wxString_in_helper(obj1);
18963 if (arg2 == NULL) SWIG_fail;
18964 temp2 = True;
18965 }
18966 {
18967 PyThreadState* __tstate = wxPyBeginAllowThreads();
18968 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18969
18970 wxPyEndAllowThreads(__tstate);
18971 if (PyErr_Occurred()) SWIG_fail;
18972 }
18973 Py_INCREF(Py_None); resultobj = Py_None;
18974 {
18975 if (temp2)
18976 delete arg2;
18977 }
18978 return resultobj;
18979 fail:
18980 {
18981 if (temp2)
18982 delete arg2;
18983 }
18984 return NULL;
18985 }
18986
18987
18988 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18989 PyObject *resultobj;
18990 wxPrintData *arg1 = (wxPrintData *) 0 ;
18991 wxString *arg2 = 0 ;
18992 bool temp2 = False ;
18993 PyObject * obj0 = 0 ;
18994 PyObject * obj1 = 0 ;
18995 char *kwnames[] = {
18996 (char *) "self",(char *) "command", NULL
18997 };
18998
18999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19002 {
19003 arg2 = wxString_in_helper(obj1);
19004 if (arg2 == NULL) SWIG_fail;
19005 temp2 = True;
19006 }
19007 {
19008 PyThreadState* __tstate = wxPyBeginAllowThreads();
19009 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19010
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 Py_INCREF(Py_None); resultobj = Py_None;
19015 {
19016 if (temp2)
19017 delete arg2;
19018 }
19019 return resultobj;
19020 fail:
19021 {
19022 if (temp2)
19023 delete arg2;
19024 }
19025 return NULL;
19026 }
19027
19028
19029 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19030 PyObject *resultobj;
19031 wxPrintData *arg1 = (wxPrintData *) 0 ;
19032 wxString *arg2 = 0 ;
19033 bool temp2 = False ;
19034 PyObject * obj0 = 0 ;
19035 PyObject * obj1 = 0 ;
19036 char *kwnames[] = {
19037 (char *) "self",(char *) "filename", NULL
19038 };
19039
19040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19043 {
19044 arg2 = wxString_in_helper(obj1);
19045 if (arg2 == NULL) SWIG_fail;
19046 temp2 = True;
19047 }
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 (arg1)->SetFilename((wxString const &)*arg2);
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 Py_INCREF(Py_None); resultobj = Py_None;
19056 {
19057 if (temp2)
19058 delete arg2;
19059 }
19060 return resultobj;
19061 fail:
19062 {
19063 if (temp2)
19064 delete arg2;
19065 }
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxPrintData *arg1 = (wxPrintData *) 0 ;
19073 wxString *arg2 = 0 ;
19074 bool temp2 = False ;
19075 PyObject * obj0 = 0 ;
19076 PyObject * obj1 = 0 ;
19077 char *kwnames[] = {
19078 (char *) "self",(char *) "path", NULL
19079 };
19080
19081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19084 {
19085 arg2 = wxString_in_helper(obj1);
19086 if (arg2 == NULL) SWIG_fail;
19087 temp2 = True;
19088 }
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 Py_INCREF(Py_None); resultobj = Py_None;
19097 {
19098 if (temp2)
19099 delete arg2;
19100 }
19101 return resultobj;
19102 fail:
19103 {
19104 if (temp2)
19105 delete arg2;
19106 }
19107 return NULL;
19108 }
19109
19110
19111 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19112 PyObject *resultobj;
19113 wxPrintData *arg1 = (wxPrintData *) 0 ;
19114 double arg2 ;
19115 PyObject * obj0 = 0 ;
19116 PyObject * obj1 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self",(char *) "x", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19124 arg2 = (double)SWIG_As_double(obj1);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 (arg1)->SetPrinterScaleX(arg2);
19129
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 Py_INCREF(Py_None); resultobj = Py_None;
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxPrintData *arg1 = (wxPrintData *) 0 ;
19143 double arg2 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "y", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19153 arg2 = (double)SWIG_As_double(obj1);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 (arg1)->SetPrinterScaleY(arg2);
19158
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 Py_INCREF(Py_None); resultobj = Py_None;
19163 return resultobj;
19164 fail:
19165 return NULL;
19166 }
19167
19168
19169 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 wxPrintData *arg1 = (wxPrintData *) 0 ;
19172 double arg2 ;
19173 double arg3 ;
19174 PyObject * obj0 = 0 ;
19175 PyObject * obj1 = 0 ;
19176 PyObject * obj2 = 0 ;
19177 char *kwnames[] = {
19178 (char *) "self",(char *) "x",(char *) "y", NULL
19179 };
19180
19181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19184 arg2 = (double)SWIG_As_double(obj1);
19185 if (PyErr_Occurred()) SWIG_fail;
19186 arg3 = (double)SWIG_As_double(obj2);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 {
19189 PyThreadState* __tstate = wxPyBeginAllowThreads();
19190 (arg1)->SetPrinterScaling(arg2,arg3);
19191
19192 wxPyEndAllowThreads(__tstate);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 Py_INCREF(Py_None); resultobj = Py_None;
19196 return resultobj;
19197 fail:
19198 return NULL;
19199 }
19200
19201
19202 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19203 PyObject *resultobj;
19204 wxPrintData *arg1 = (wxPrintData *) 0 ;
19205 long arg2 ;
19206 PyObject * obj0 = 0 ;
19207 PyObject * obj1 = 0 ;
19208 char *kwnames[] = {
19209 (char *) "self",(char *) "x", NULL
19210 };
19211
19212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19215 arg2 = (long)SWIG_As_long(obj1);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 {
19218 PyThreadState* __tstate = wxPyBeginAllowThreads();
19219 (arg1)->SetPrinterTranslateX(arg2);
19220
19221 wxPyEndAllowThreads(__tstate);
19222 if (PyErr_Occurred()) SWIG_fail;
19223 }
19224 Py_INCREF(Py_None); resultobj = Py_None;
19225 return resultobj;
19226 fail:
19227 return NULL;
19228 }
19229
19230
19231 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19232 PyObject *resultobj;
19233 wxPrintData *arg1 = (wxPrintData *) 0 ;
19234 long arg2 ;
19235 PyObject * obj0 = 0 ;
19236 PyObject * obj1 = 0 ;
19237 char *kwnames[] = {
19238 (char *) "self",(char *) "y", NULL
19239 };
19240
19241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19244 arg2 = (long)SWIG_As_long(obj1);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 {
19247 PyThreadState* __tstate = wxPyBeginAllowThreads();
19248 (arg1)->SetPrinterTranslateY(arg2);
19249
19250 wxPyEndAllowThreads(__tstate);
19251 if (PyErr_Occurred()) SWIG_fail;
19252 }
19253 Py_INCREF(Py_None); resultobj = Py_None;
19254 return resultobj;
19255 fail:
19256 return NULL;
19257 }
19258
19259
19260 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19261 PyObject *resultobj;
19262 wxPrintData *arg1 = (wxPrintData *) 0 ;
19263 long arg2 ;
19264 long arg3 ;
19265 PyObject * obj0 = 0 ;
19266 PyObject * obj1 = 0 ;
19267 PyObject * obj2 = 0 ;
19268 char *kwnames[] = {
19269 (char *) "self",(char *) "x",(char *) "y", NULL
19270 };
19271
19272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19275 arg2 = (long)SWIG_As_long(obj1);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 arg3 = (long)SWIG_As_long(obj2);
19278 if (PyErr_Occurred()) SWIG_fail;
19279 {
19280 PyThreadState* __tstate = wxPyBeginAllowThreads();
19281 (arg1)->SetPrinterTranslation(arg2,arg3);
19282
19283 wxPyEndAllowThreads(__tstate);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 }
19286 Py_INCREF(Py_None); resultobj = Py_None;
19287 return resultobj;
19288 fail:
19289 return NULL;
19290 }
19291
19292
19293 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19294 PyObject *resultobj;
19295 wxPrintData *arg1 = (wxPrintData *) 0 ;
19296 int arg2 ;
19297 PyObject * obj0 = 0 ;
19298 PyObject * obj1 = 0 ;
19299 char *kwnames[] = {
19300 (char *) "self",(char *) "printMode", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19306 arg2 = (int)SWIG_As_int(obj1);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 (arg1)->SetPrintMode((wxPrintMode )arg2);
19311
19312 wxPyEndAllowThreads(__tstate);
19313 if (PyErr_Occurred()) SWIG_fail;
19314 }
19315 Py_INCREF(Py_None); resultobj = Py_None;
19316 return resultobj;
19317 fail:
19318 return NULL;
19319 }
19320
19321
19322 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19323 PyObject *resultobj;
19324 wxPrintData *arg1 = (wxPrintData *) 0 ;
19325 wxOutputStream *result;
19326 PyObject * obj0 = 0 ;
19327 char *kwnames[] = {
19328 (char *) "self", NULL
19329 };
19330
19331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 result = (wxOutputStream *)(arg1)->GetOutputStream();
19337
19338 wxPyEndAllowThreads(__tstate);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 }
19341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19342 return resultobj;
19343 fail:
19344 return NULL;
19345 }
19346
19347
19348 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19349 PyObject *resultobj;
19350 wxPrintData *arg1 = (wxPrintData *) 0 ;
19351 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19352 PyObject * obj0 = 0 ;
19353 PyObject * obj1 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self",(char *) "outputstream", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 (arg1)->SetOutputStream(arg2);
19366
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 Py_INCREF(Py_None); resultobj = Py_None;
19371 return resultobj;
19372 fail:
19373 return NULL;
19374 }
19375
19376
19377 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19378 PyObject *obj;
19379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19380 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19381 Py_INCREF(obj);
19382 return Py_BuildValue((char *)"");
19383 }
19384 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19385 PyObject *resultobj;
19386 wxPageSetupDialogData *result;
19387
19388 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19392
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19397 return resultobj;
19398 fail:
19399 return NULL;
19400 }
19401
19402
19403 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19404 PyObject *resultobj;
19405 wxPageSetupDialogData *arg1 = 0 ;
19406 wxPageSetupDialogData *result;
19407 PyObject * obj0 = 0 ;
19408
19409 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19411 SWIG_POINTER_EXCEPTION | 0)) == -1)
19412 SWIG_fail;
19413 if (arg1 == NULL) {
19414 PyErr_SetString(PyExc_TypeError,"null reference");
19415 SWIG_fail;
19416 }
19417 {
19418 PyThreadState* __tstate = wxPyBeginAllowThreads();
19419 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19420
19421 wxPyEndAllowThreads(__tstate);
19422 if (PyErr_Occurred()) SWIG_fail;
19423 }
19424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19425 return resultobj;
19426 fail:
19427 return NULL;
19428 }
19429
19430
19431 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19432 int argc;
19433 PyObject *argv[2];
19434 int ii;
19435
19436 argc = PyObject_Length(args);
19437 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19438 argv[ii] = PyTuple_GetItem(args,ii);
19439 }
19440 if (argc == 0) {
19441 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19442 }
19443 if (argc == 1) {
19444 int _v;
19445 {
19446 void *ptr;
19447 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19448 _v = 0;
19449 PyErr_Clear();
19450 } else {
19451 _v = 1;
19452 }
19453 }
19454 if (_v) {
19455 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19456 }
19457 }
19458
19459 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19460 return NULL;
19461 }
19462
19463
19464 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19465 PyObject *resultobj;
19466 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19467 PyObject * obj0 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 delete arg1;
19478
19479 wxPyEndAllowThreads(__tstate);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 Py_INCREF(Py_None); resultobj = Py_None;
19483 return resultobj;
19484 fail:
19485 return NULL;
19486 }
19487
19488
19489 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19490 PyObject *resultobj;
19491 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19492 bool arg2 ;
19493 PyObject * obj0 = 0 ;
19494 PyObject * obj1 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self",(char *) "flag", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19502 arg2 = (bool)SWIG_As_bool(obj1);
19503 if (PyErr_Occurred()) SWIG_fail;
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 (arg1)->EnableHelp(arg2);
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 Py_INCREF(Py_None); resultobj = Py_None;
19512 return resultobj;
19513 fail:
19514 return NULL;
19515 }
19516
19517
19518 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj;
19520 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19521 bool arg2 ;
19522 PyObject * obj0 = 0 ;
19523 PyObject * obj1 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self",(char *) "flag", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19531 arg2 = (bool)SWIG_As_bool(obj1);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 (arg1)->EnableMargins(arg2);
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 Py_INCREF(Py_None); resultobj = Py_None;
19541 return resultobj;
19542 fail:
19543 return NULL;
19544 }
19545
19546
19547 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19550 bool arg2 ;
19551 PyObject * obj0 = 0 ;
19552 PyObject * obj1 = 0 ;
19553 char *kwnames[] = {
19554 (char *) "self",(char *) "flag", NULL
19555 };
19556
19557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19560 arg2 = (bool)SWIG_As_bool(obj1);
19561 if (PyErr_Occurred()) SWIG_fail;
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 (arg1)->EnableOrientation(arg2);
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 Py_INCREF(Py_None); resultobj = Py_None;
19570 return resultobj;
19571 fail:
19572 return NULL;
19573 }
19574
19575
19576 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj;
19578 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19579 bool arg2 ;
19580 PyObject * obj0 = 0 ;
19581 PyObject * obj1 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self",(char *) "flag", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19589 arg2 = (bool)SWIG_As_bool(obj1);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 (arg1)->EnablePaper(arg2);
19594
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 Py_INCREF(Py_None); resultobj = Py_None;
19599 return resultobj;
19600 fail:
19601 return NULL;
19602 }
19603
19604
19605 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19606 PyObject *resultobj;
19607 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19608 bool arg2 ;
19609 PyObject * obj0 = 0 ;
19610 PyObject * obj1 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self",(char *) "flag", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19618 arg2 = (bool)SWIG_As_bool(obj1);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 (arg1)->EnablePrinter(arg2);
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 Py_INCREF(Py_None); resultobj = Py_None;
19628 return resultobj;
19629 fail:
19630 return NULL;
19631 }
19632
19633
19634 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19635 PyObject *resultobj;
19636 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19637 bool result;
19638 PyObject * obj0 = 0 ;
19639 char *kwnames[] = {
19640 (char *) "self", NULL
19641 };
19642
19643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 result = (bool)(arg1)->GetDefaultMinMargins();
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 {
19654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19655 }
19656 return resultobj;
19657 fail:
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19665 bool result;
19666 PyObject * obj0 = 0 ;
19667 char *kwnames[] = {
19668 (char *) "self", NULL
19669 };
19670
19671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 result = (bool)(arg1)->GetEnableMargins();
19677
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 {
19682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19683 }
19684 return resultobj;
19685 fail:
19686 return NULL;
19687 }
19688
19689
19690 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19693 bool result;
19694 PyObject * obj0 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 result = (bool)(arg1)->GetEnableOrientation();
19705
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 {
19710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19711 }
19712 return resultobj;
19713 fail:
19714 return NULL;
19715 }
19716
19717
19718 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19719 PyObject *resultobj;
19720 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19721 bool result;
19722 PyObject * obj0 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 result = (bool)(arg1)->GetEnablePaper();
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 {
19738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19739 }
19740 return resultobj;
19741 fail:
19742 return NULL;
19743 }
19744
19745
19746 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19749 bool result;
19750 PyObject * obj0 = 0 ;
19751 char *kwnames[] = {
19752 (char *) "self", NULL
19753 };
19754
19755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 result = (bool)(arg1)->GetEnablePrinter();
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 {
19766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19767 }
19768 return resultobj;
19769 fail:
19770 return NULL;
19771 }
19772
19773
19774 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19777 bool result;
19778 PyObject * obj0 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (bool)(arg1)->GetEnableHelp();
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 {
19794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19795 }
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19805 bool result;
19806 PyObject * obj0 = 0 ;
19807 char *kwnames[] = {
19808 (char *) "self", NULL
19809 };
19810
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (bool)(arg1)->GetDefaultInfo();
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 {
19822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19823 }
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19833 wxPoint result;
19834 PyObject * obj0 = 0 ;
19835 char *kwnames[] = {
19836 (char *) "self", NULL
19837 };
19838
19839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 result = (arg1)->GetMarginTopLeft();
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 {
19850 wxPoint * resultptr;
19851 resultptr = new wxPoint((wxPoint &) result);
19852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19853 }
19854 return resultobj;
19855 fail:
19856 return NULL;
19857 }
19858
19859
19860 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19861 PyObject *resultobj;
19862 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19863 wxPoint result;
19864 PyObject * obj0 = 0 ;
19865 char *kwnames[] = {
19866 (char *) "self", NULL
19867 };
19868
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 result = (arg1)->GetMarginBottomRight();
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 {
19880 wxPoint * resultptr;
19881 resultptr = new wxPoint((wxPoint &) result);
19882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19883 }
19884 return resultobj;
19885 fail:
19886 return NULL;
19887 }
19888
19889
19890 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19891 PyObject *resultobj;
19892 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19893 wxPoint result;
19894 PyObject * obj0 = 0 ;
19895 char *kwnames[] = {
19896 (char *) "self", NULL
19897 };
19898
19899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 result = (arg1)->GetMinMarginTopLeft();
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 {
19910 wxPoint * resultptr;
19911 resultptr = new wxPoint((wxPoint &) result);
19912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19913 }
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19923 wxPoint result;
19924 PyObject * obj0 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 result = (arg1)->GetMinMarginBottomRight();
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 {
19940 wxPoint * resultptr;
19941 resultptr = new wxPoint((wxPoint &) result);
19942 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19943 }
19944 return resultobj;
19945 fail:
19946 return NULL;
19947 }
19948
19949
19950 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj;
19952 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19953 int result;
19954 PyObject * obj0 = 0 ;
19955 char *kwnames[] = {
19956 (char *) "self", NULL
19957 };
19958
19959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 result = (int)(arg1)->GetPaperId();
19965
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 resultobj = SWIG_From_int((int)result);
19970 return resultobj;
19971 fail:
19972 return NULL;
19973 }
19974
19975
19976 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19977 PyObject *resultobj;
19978 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19979 wxSize result;
19980 PyObject * obj0 = 0 ;
19981 char *kwnames[] = {
19982 (char *) "self", NULL
19983 };
19984
19985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19988 {
19989 PyThreadState* __tstate = wxPyBeginAllowThreads();
19990 result = (arg1)->GetPaperSize();
19991
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 {
19996 wxSize * resultptr;
19997 resultptr = new wxSize((wxSize &) result);
19998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19999 }
20000 return resultobj;
20001 fail:
20002 return NULL;
20003 }
20004
20005
20006 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20007 PyObject *resultobj;
20008 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20009 wxPrintData *result;
20010 PyObject * obj0 = 0 ;
20011 char *kwnames[] = {
20012 (char *) "self", NULL
20013 };
20014
20015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 {
20021 wxPrintData &_result_ref = (arg1)->GetPrintData();
20022 result = (wxPrintData *) &_result_ref;
20023 }
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20029 return resultobj;
20030 fail:
20031 return NULL;
20032 }
20033
20034
20035 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20038 bool result;
20039 PyObject * obj0 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 result = (bool)(arg1)->Ok();
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 {
20055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20056 }
20057 return resultobj;
20058 fail:
20059 return NULL;
20060 }
20061
20062
20063 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20066 bool arg2 ;
20067 PyObject * obj0 = 0 ;
20068 PyObject * obj1 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self",(char *) "flag", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20076 arg2 = (bool)SWIG_As_bool(obj1);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->SetDefaultInfo(arg2);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20095 bool arg2 ;
20096 PyObject * obj0 = 0 ;
20097 PyObject * obj1 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self",(char *) "flag", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20105 arg2 = (bool)SWIG_As_bool(obj1);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 (arg1)->SetDefaultMinMargins(arg2);
20110
20111 wxPyEndAllowThreads(__tstate);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 Py_INCREF(Py_None); resultobj = Py_None;
20115 return resultobj;
20116 fail:
20117 return NULL;
20118 }
20119
20120
20121 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj;
20123 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20124 wxPoint *arg2 = 0 ;
20125 wxPoint temp2 ;
20126 PyObject * obj0 = 0 ;
20127 PyObject * obj1 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self",(char *) "pt", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20135 {
20136 arg2 = &temp2;
20137 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20138 }
20139 {
20140 PyThreadState* __tstate = wxPyBeginAllowThreads();
20141 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20142
20143 wxPyEndAllowThreads(__tstate);
20144 if (PyErr_Occurred()) SWIG_fail;
20145 }
20146 Py_INCREF(Py_None); resultobj = Py_None;
20147 return resultobj;
20148 fail:
20149 return NULL;
20150 }
20151
20152
20153 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20154 PyObject *resultobj;
20155 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20156 wxPoint *arg2 = 0 ;
20157 wxPoint temp2 ;
20158 PyObject * obj0 = 0 ;
20159 PyObject * obj1 = 0 ;
20160 char *kwnames[] = {
20161 (char *) "self",(char *) "pt", NULL
20162 };
20163
20164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20167 {
20168 arg2 = &temp2;
20169 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20170 }
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 Py_INCREF(Py_None); resultobj = Py_None;
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj;
20187 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20188 wxPoint *arg2 = 0 ;
20189 wxPoint temp2 ;
20190 PyObject * obj0 = 0 ;
20191 PyObject * obj1 = 0 ;
20192 char *kwnames[] = {
20193 (char *) "self",(char *) "pt", NULL
20194 };
20195
20196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20199 {
20200 arg2 = &temp2;
20201 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20202 }
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 Py_INCREF(Py_None); resultobj = Py_None;
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20220 wxPoint *arg2 = 0 ;
20221 wxPoint temp2 ;
20222 PyObject * obj0 = 0 ;
20223 PyObject * obj1 = 0 ;
20224 char *kwnames[] = {
20225 (char *) "self",(char *) "pt", NULL
20226 };
20227
20228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20231 {
20232 arg2 = &temp2;
20233 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20234 }
20235 {
20236 PyThreadState* __tstate = wxPyBeginAllowThreads();
20237 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20238
20239 wxPyEndAllowThreads(__tstate);
20240 if (PyErr_Occurred()) SWIG_fail;
20241 }
20242 Py_INCREF(Py_None); resultobj = Py_None;
20243 return resultobj;
20244 fail:
20245 return NULL;
20246 }
20247
20248
20249 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20250 PyObject *resultobj;
20251 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20252 int arg2 ;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self",(char *) "id", NULL
20257 };
20258
20259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20262 arg2 = (int)SWIG_As_int(obj1);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 (arg1)->SetPaperId((wxPaperSize )arg2);
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 Py_INCREF(Py_None); resultobj = Py_None;
20272 return resultobj;
20273 fail:
20274 return NULL;
20275 }
20276
20277
20278 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20279 PyObject *resultobj;
20280 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20281 wxSize *arg2 = 0 ;
20282 wxSize temp2 ;
20283 PyObject * obj0 = 0 ;
20284 PyObject * obj1 = 0 ;
20285 char *kwnames[] = {
20286 (char *) "self",(char *) "size", NULL
20287 };
20288
20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20292 {
20293 arg2 = &temp2;
20294 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20295 }
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 (arg1)->SetPaperSize((wxSize const &)*arg2);
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 Py_INCREF(Py_None); resultobj = Py_None;
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20313 wxPrintData *arg2 = 0 ;
20314 PyObject * obj0 = 0 ;
20315 PyObject * obj1 = 0 ;
20316 char *kwnames[] = {
20317 (char *) "self",(char *) "printData", NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20324 SWIG_POINTER_EXCEPTION | 0)) == -1)
20325 SWIG_fail;
20326 if (arg2 == NULL) {
20327 PyErr_SetString(PyExc_TypeError,"null reference");
20328 SWIG_fail;
20329 }
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 Py_INCREF(Py_None); resultobj = Py_None;
20338 return resultobj;
20339 fail:
20340 return NULL;
20341 }
20342
20343
20344 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20345 PyObject *obj;
20346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20347 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20348 Py_INCREF(obj);
20349 return Py_BuildValue((char *)"");
20350 }
20351 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20352 PyObject *resultobj;
20353 wxWindow *arg1 = (wxWindow *) 0 ;
20354 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20355 wxPageSetupDialog *result;
20356 PyObject * obj0 = 0 ;
20357 PyObject * obj1 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "parent",(char *) "data", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20365 if (obj1) {
20366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20368 }
20369 {
20370 if (!wxPyCheckForApp()) SWIG_fail;
20371 PyThreadState* __tstate = wxPyBeginAllowThreads();
20372 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20373
20374 wxPyEndAllowThreads(__tstate);
20375 if (PyErr_Occurred()) SWIG_fail;
20376 }
20377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20378 return resultobj;
20379 fail:
20380 return NULL;
20381 }
20382
20383
20384 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20385 PyObject *resultobj;
20386 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20387 wxPageSetupDialogData *result;
20388 PyObject * obj0 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "self", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 {
20399 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20400 result = (wxPageSetupDialogData *) &_result_ref;
20401 }
20402
20403 wxPyEndAllowThreads(__tstate);
20404 if (PyErr_Occurred()) SWIG_fail;
20405 }
20406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20407 return resultobj;
20408 fail:
20409 return NULL;
20410 }
20411
20412
20413 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20414 PyObject *resultobj;
20415 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20416 int result;
20417 PyObject * obj0 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = (int)(arg1)->ShowModal();
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 resultobj = SWIG_From_int((int)result);
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20440 PyObject *obj;
20441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20442 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20443 Py_INCREF(obj);
20444 return Py_BuildValue((char *)"");
20445 }
20446 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20447 PyObject *resultobj;
20448 wxPrintDialogData *result;
20449
20450 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = (wxPrintDialogData *)new wxPrintDialogData();
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20459 return resultobj;
20460 fail:
20461 return NULL;
20462 }
20463
20464
20465 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20466 PyObject *resultobj;
20467 wxPrintData *arg1 = 0 ;
20468 wxPrintDialogData *result;
20469 PyObject * obj0 = 0 ;
20470
20471 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20473 SWIG_POINTER_EXCEPTION | 0)) == -1)
20474 SWIG_fail;
20475 if (arg1 == NULL) {
20476 PyErr_SetString(PyExc_TypeError,"null reference");
20477 SWIG_fail;
20478 }
20479 {
20480 PyThreadState* __tstate = wxPyBeginAllowThreads();
20481 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20482
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
20486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20487 return resultobj;
20488 fail:
20489 return NULL;
20490 }
20491
20492
20493 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20494 int argc;
20495 PyObject *argv[2];
20496 int ii;
20497
20498 argc = PyObject_Length(args);
20499 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20500 argv[ii] = PyTuple_GetItem(args,ii);
20501 }
20502 if (argc == 0) {
20503 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20504 }
20505 if (argc == 1) {
20506 int _v;
20507 {
20508 void *ptr;
20509 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20510 _v = 0;
20511 PyErr_Clear();
20512 } else {
20513 _v = 1;
20514 }
20515 }
20516 if (_v) {
20517 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20518 }
20519 }
20520
20521 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20522 return NULL;
20523 }
20524
20525
20526 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20527 PyObject *resultobj;
20528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20529 PyObject * obj0 = 0 ;
20530 char *kwnames[] = {
20531 (char *) "self", NULL
20532 };
20533
20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
20539 delete arg1;
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 Py_INCREF(Py_None); resultobj = Py_None;
20545 return resultobj;
20546 fail:
20547 return NULL;
20548 }
20549
20550
20551 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20552 PyObject *resultobj;
20553 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20554 int result;
20555 PyObject * obj0 = 0 ;
20556 char *kwnames[] = {
20557 (char *) "self", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20563 {
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20566
20567 wxPyEndAllowThreads(__tstate);
20568 if (PyErr_Occurred()) SWIG_fail;
20569 }
20570 resultobj = SWIG_From_int((int)result);
20571 return resultobj;
20572 fail:
20573 return NULL;
20574 }
20575
20576
20577 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20578 PyObject *resultobj;
20579 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20580 int result;
20581 PyObject * obj0 = 0 ;
20582 char *kwnames[] = {
20583 (char *) "self", NULL
20584 };
20585
20586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20589 {
20590 PyThreadState* __tstate = wxPyBeginAllowThreads();
20591 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20592
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 resultobj = SWIG_From_int((int)result);
20597 return resultobj;
20598 fail:
20599 return NULL;
20600 }
20601
20602
20603 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20606 int result;
20607 PyObject * obj0 = 0 ;
20608 char *kwnames[] = {
20609 (char *) "self", NULL
20610 };
20611
20612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 resultobj = SWIG_From_int((int)result);
20623 return resultobj;
20624 fail:
20625 return NULL;
20626 }
20627
20628
20629 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj;
20631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20632 int result;
20633 PyObject * obj0 = 0 ;
20634 char *kwnames[] = {
20635 (char *) "self", NULL
20636 };
20637
20638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20641 {
20642 PyThreadState* __tstate = wxPyBeginAllowThreads();
20643 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20644
20645 wxPyEndAllowThreads(__tstate);
20646 if (PyErr_Occurred()) SWIG_fail;
20647 }
20648 resultobj = SWIG_From_int((int)result);
20649 return resultobj;
20650 fail:
20651 return NULL;
20652 }
20653
20654
20655 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20658 int result;
20659 PyObject * obj0 = 0 ;
20660 char *kwnames[] = {
20661 (char *) "self", NULL
20662 };
20663
20664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20670
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 resultobj = SWIG_From_int((int)result);
20675 return resultobj;
20676 fail:
20677 return NULL;
20678 }
20679
20680
20681 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20682 PyObject *resultobj;
20683 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20684 bool result;
20685 PyObject * obj0 = 0 ;
20686 char *kwnames[] = {
20687 (char *) "self", NULL
20688 };
20689
20690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
20700 {
20701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20702 }
20703 return resultobj;
20704 fail:
20705 return NULL;
20706 }
20707
20708
20709 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20710 PyObject *resultobj;
20711 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20712 bool result;
20713 PyObject * obj0 = 0 ;
20714 char *kwnames[] = {
20715 (char *) "self", NULL
20716 };
20717
20718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 {
20729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20730 }
20731 return resultobj;
20732 fail:
20733 return NULL;
20734 }
20735
20736
20737 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20738 PyObject *resultobj;
20739 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20740 bool result;
20741 PyObject * obj0 = 0 ;
20742 char *kwnames[] = {
20743 (char *) "self", NULL
20744 };
20745
20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20752
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 {
20757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20758 }
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20766 PyObject *resultobj;
20767 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20768 bool result;
20769 PyObject * obj0 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 {
20785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20786 }
20787 return resultobj;
20788 fail:
20789 return NULL;
20790 }
20791
20792
20793 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20794 PyObject *resultobj;
20795 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20796 bool result;
20797 PyObject * obj0 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 {
20813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20814 }
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20824 int arg2 ;
20825 PyObject * obj0 = 0 ;
20826 PyObject * obj1 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "self",(char *) "v", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20834 arg2 = (int)SWIG_As_int(obj1);
20835 if (PyErr_Occurred()) SWIG_fail;
20836 {
20837 PyThreadState* __tstate = wxPyBeginAllowThreads();
20838 (arg1)->SetFromPage(arg2);
20839
20840 wxPyEndAllowThreads(__tstate);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 Py_INCREF(Py_None); resultobj = Py_None;
20844 return resultobj;
20845 fail:
20846 return NULL;
20847 }
20848
20849
20850 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20851 PyObject *resultobj;
20852 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20853 int arg2 ;
20854 PyObject * obj0 = 0 ;
20855 PyObject * obj1 = 0 ;
20856 char *kwnames[] = {
20857 (char *) "self",(char *) "v", NULL
20858 };
20859
20860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20863 arg2 = (int)SWIG_As_int(obj1);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 (arg1)->SetToPage(arg2);
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 Py_INCREF(Py_None); resultobj = Py_None;
20873 return resultobj;
20874 fail:
20875 return NULL;
20876 }
20877
20878
20879 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20880 PyObject *resultobj;
20881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20882 int arg2 ;
20883 PyObject * obj0 = 0 ;
20884 PyObject * obj1 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self",(char *) "v", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20892 arg2 = (int)SWIG_As_int(obj1);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 {
20895 PyThreadState* __tstate = wxPyBeginAllowThreads();
20896 (arg1)->SetMinPage(arg2);
20897
20898 wxPyEndAllowThreads(__tstate);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 Py_INCREF(Py_None); resultobj = Py_None;
20902 return resultobj;
20903 fail:
20904 return NULL;
20905 }
20906
20907
20908 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20909 PyObject *resultobj;
20910 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20911 int arg2 ;
20912 PyObject * obj0 = 0 ;
20913 PyObject * obj1 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self",(char *) "v", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20921 arg2 = (int)SWIG_As_int(obj1);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 {
20924 PyThreadState* __tstate = wxPyBeginAllowThreads();
20925 (arg1)->SetMaxPage(arg2);
20926
20927 wxPyEndAllowThreads(__tstate);
20928 if (PyErr_Occurred()) SWIG_fail;
20929 }
20930 Py_INCREF(Py_None); resultobj = Py_None;
20931 return resultobj;
20932 fail:
20933 return NULL;
20934 }
20935
20936
20937 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20938 PyObject *resultobj;
20939 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20940 int arg2 ;
20941 PyObject * obj0 = 0 ;
20942 PyObject * obj1 = 0 ;
20943 char *kwnames[] = {
20944 (char *) "self",(char *) "v", NULL
20945 };
20946
20947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20950 arg2 = (int)SWIG_As_int(obj1);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 {
20953 PyThreadState* __tstate = wxPyBeginAllowThreads();
20954 (arg1)->SetNoCopies(arg2);
20955
20956 wxPyEndAllowThreads(__tstate);
20957 if (PyErr_Occurred()) SWIG_fail;
20958 }
20959 Py_INCREF(Py_None); resultobj = Py_None;
20960 return resultobj;
20961 fail:
20962 return NULL;
20963 }
20964
20965
20966 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20967 PyObject *resultobj;
20968 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20969 bool arg2 ;
20970 PyObject * obj0 = 0 ;
20971 PyObject * obj1 = 0 ;
20972 char *kwnames[] = {
20973 (char *) "self",(char *) "flag", NULL
20974 };
20975
20976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20979 arg2 = (bool)SWIG_As_bool(obj1);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 (arg1)->SetAllPages(arg2);
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 Py_INCREF(Py_None); resultobj = Py_None;
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20996 PyObject *resultobj;
20997 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20998 bool arg2 ;
20999 PyObject * obj0 = 0 ;
21000 PyObject * obj1 = 0 ;
21001 char *kwnames[] = {
21002 (char *) "self",(char *) "flag", NULL
21003 };
21004
21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21008 arg2 = (bool)SWIG_As_bool(obj1);
21009 if (PyErr_Occurred()) SWIG_fail;
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 (arg1)->SetSelection(arg2);
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 Py_INCREF(Py_None); resultobj = Py_None;
21018 return resultobj;
21019 fail:
21020 return NULL;
21021 }
21022
21023
21024 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21025 PyObject *resultobj;
21026 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21027 bool arg2 ;
21028 PyObject * obj0 = 0 ;
21029 PyObject * obj1 = 0 ;
21030 char *kwnames[] = {
21031 (char *) "self",(char *) "flag", NULL
21032 };
21033
21034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21037 arg2 = (bool)SWIG_As_bool(obj1);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 (arg1)->SetCollate(arg2);
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 Py_INCREF(Py_None); resultobj = Py_None;
21047 return resultobj;
21048 fail:
21049 return NULL;
21050 }
21051
21052
21053 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj;
21055 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21056 bool arg2 ;
21057 PyObject * obj0 = 0 ;
21058 PyObject * obj1 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self",(char *) "flag", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21066 arg2 = (bool)SWIG_As_bool(obj1);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 (arg1)->SetPrintToFile(arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 Py_INCREF(Py_None); resultobj = Py_None;
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21085 bool arg2 ;
21086 PyObject * obj0 = 0 ;
21087 PyObject * obj1 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self",(char *) "flag", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21095 arg2 = (bool)SWIG_As_bool(obj1);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 {
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 (arg1)->SetSetupDialog(arg2);
21100
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 Py_INCREF(Py_None); resultobj = Py_None;
21105 return resultobj;
21106 fail:
21107 return NULL;
21108 }
21109
21110
21111 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21114 bool arg2 ;
21115 PyObject * obj0 = 0 ;
21116 PyObject * obj1 = 0 ;
21117 char *kwnames[] = {
21118 (char *) "self",(char *) "flag", NULL
21119 };
21120
21121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21124 arg2 = (bool)SWIG_As_bool(obj1);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 {
21127 PyThreadState* __tstate = wxPyBeginAllowThreads();
21128 (arg1)->EnablePrintToFile(arg2);
21129
21130 wxPyEndAllowThreads(__tstate);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 Py_INCREF(Py_None); resultobj = Py_None;
21134 return resultobj;
21135 fail:
21136 return NULL;
21137 }
21138
21139
21140 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21141 PyObject *resultobj;
21142 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21143 bool arg2 ;
21144 PyObject * obj0 = 0 ;
21145 PyObject * obj1 = 0 ;
21146 char *kwnames[] = {
21147 (char *) "self",(char *) "flag", NULL
21148 };
21149
21150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21153 arg2 = (bool)SWIG_As_bool(obj1);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 (arg1)->EnableSelection(arg2);
21158
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 Py_INCREF(Py_None); resultobj = Py_None;
21163 return resultobj;
21164 fail:
21165 return NULL;
21166 }
21167
21168
21169 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21170 PyObject *resultobj;
21171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21172 bool arg2 ;
21173 PyObject * obj0 = 0 ;
21174 PyObject * obj1 = 0 ;
21175 char *kwnames[] = {
21176 (char *) "self",(char *) "flag", NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21182 arg2 = (bool)SWIG_As_bool(obj1);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 {
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 (arg1)->EnablePageNumbers(arg2);
21187
21188 wxPyEndAllowThreads(__tstate);
21189 if (PyErr_Occurred()) SWIG_fail;
21190 }
21191 Py_INCREF(Py_None); resultobj = Py_None;
21192 return resultobj;
21193 fail:
21194 return NULL;
21195 }
21196
21197
21198 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21199 PyObject *resultobj;
21200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21201 bool arg2 ;
21202 PyObject * obj0 = 0 ;
21203 PyObject * obj1 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self",(char *) "flag", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21211 arg2 = (bool)SWIG_As_bool(obj1);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 (arg1)->EnableHelp(arg2);
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 Py_INCREF(Py_None); resultobj = Py_None;
21221 return resultobj;
21222 fail:
21223 return NULL;
21224 }
21225
21226
21227 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21230 bool result;
21231 PyObject * obj0 = 0 ;
21232 char *kwnames[] = {
21233 (char *) "self", NULL
21234 };
21235
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 {
21247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21248 }
21249 return resultobj;
21250 fail:
21251 return NULL;
21252 }
21253
21254
21255 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21256 PyObject *resultobj;
21257 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21258 bool result;
21259 PyObject * obj0 = 0 ;
21260 char *kwnames[] = {
21261 (char *) "self", NULL
21262 };
21263
21264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21267 {
21268 PyThreadState* __tstate = wxPyBeginAllowThreads();
21269 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 {
21275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21276 }
21277 return resultobj;
21278 fail:
21279 return NULL;
21280 }
21281
21282
21283 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21284 PyObject *resultobj;
21285 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21286 bool result;
21287 PyObject * obj0 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21295 {
21296 PyThreadState* __tstate = wxPyBeginAllowThreads();
21297 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21298
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 {
21303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21304 }
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21314 bool result;
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 {
21331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21332 }
21333 return resultobj;
21334 fail:
21335 return NULL;
21336 }
21337
21338
21339 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21340 PyObject *resultobj;
21341 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21342 bool result;
21343 PyObject * obj0 = 0 ;
21344 char *kwnames[] = {
21345 (char *) "self", NULL
21346 };
21347
21348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 {
21359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21360 }
21361 return resultobj;
21362 fail:
21363 return NULL;
21364 }
21365
21366
21367 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj;
21369 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21370 wxPrintData *result;
21371 PyObject * obj0 = 0 ;
21372 char *kwnames[] = {
21373 (char *) "self", NULL
21374 };
21375
21376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21379 {
21380 PyThreadState* __tstate = wxPyBeginAllowThreads();
21381 {
21382 wxPrintData &_result_ref = (arg1)->GetPrintData();
21383 result = (wxPrintData *) &_result_ref;
21384 }
21385
21386 wxPyEndAllowThreads(__tstate);
21387 if (PyErr_Occurred()) SWIG_fail;
21388 }
21389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21390 return resultobj;
21391 fail:
21392 return NULL;
21393 }
21394
21395
21396 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21397 PyObject *resultobj;
21398 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21399 wxPrintData *arg2 = 0 ;
21400 PyObject * obj0 = 0 ;
21401 PyObject * obj1 = 0 ;
21402 char *kwnames[] = {
21403 (char *) "self",(char *) "printData", NULL
21404 };
21405
21406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21410 SWIG_POINTER_EXCEPTION | 0)) == -1)
21411 SWIG_fail;
21412 if (arg2 == NULL) {
21413 PyErr_SetString(PyExc_TypeError,"null reference");
21414 SWIG_fail;
21415 }
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21419
21420 wxPyEndAllowThreads(__tstate);
21421 if (PyErr_Occurred()) SWIG_fail;
21422 }
21423 Py_INCREF(Py_None); resultobj = Py_None;
21424 return resultobj;
21425 fail:
21426 return NULL;
21427 }
21428
21429
21430 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21431 PyObject *obj;
21432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21433 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21434 Py_INCREF(obj);
21435 return Py_BuildValue((char *)"");
21436 }
21437 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj;
21439 wxWindow *arg1 = (wxWindow *) 0 ;
21440 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21441 wxPrintDialog *result;
21442 PyObject * obj0 = 0 ;
21443 PyObject * obj1 = 0 ;
21444 char *kwnames[] = {
21445 (char *) "parent",(char *) "data", NULL
21446 };
21447
21448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21451 if (obj1) {
21452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21454 }
21455 {
21456 if (!wxPyCheckForApp()) SWIG_fail;
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21459
21460 wxPyEndAllowThreads(__tstate);
21461 if (PyErr_Occurred()) SWIG_fail;
21462 }
21463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21473 wxPrintDialogData *result;
21474 PyObject * obj0 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 {
21485 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21486 result = (wxPrintDialogData *) &_result_ref;
21487 }
21488
21489 wxPyEndAllowThreads(__tstate);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 }
21492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21493 return resultobj;
21494 fail:
21495 return NULL;
21496 }
21497
21498
21499 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
21500 PyObject *resultobj;
21501 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21502 wxDC *result;
21503 PyObject * obj0 = 0 ;
21504 char *kwnames[] = {
21505 (char *) "self", NULL
21506 };
21507
21508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 result = (wxDC *)(arg1)->GetPrintDC();
21514
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519 resultobj = wxPyMake_wxObject(result, 1);
21520 }
21521 return resultobj;
21522 fail:
21523 return NULL;
21524 }
21525
21526
21527 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21528 PyObject *resultobj;
21529 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21530 int result;
21531 PyObject * obj0 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21539 {
21540 PyThreadState* __tstate = wxPyBeginAllowThreads();
21541 result = (int)(arg1)->ShowModal();
21542
21543 wxPyEndAllowThreads(__tstate);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
21546 resultobj = SWIG_From_int((int)result);
21547 return resultobj;
21548 fail:
21549 return NULL;
21550 }
21551
21552
21553 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
21554 PyObject *obj;
21555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21556 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21557 Py_INCREF(obj);
21558 return Py_BuildValue((char *)"");
21559 }
21560 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21561 PyObject *resultobj;
21562 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21563 wxPrinter *result;
21564 PyObject * obj0 = 0 ;
21565 char *kwnames[] = {
21566 (char *) "data", NULL
21567 };
21568
21569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21570 if (obj0) {
21571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21573 }
21574 {
21575 if (!wxPyCheckForApp()) SWIG_fail;
21576 PyThreadState* __tstate = wxPyBeginAllowThreads();
21577 result = (wxPrinter *)new wxPrinter(arg1);
21578
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21583 return resultobj;
21584 fail:
21585 return NULL;
21586 }
21587
21588
21589 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21590 PyObject *resultobj;
21591 wxPrinter *arg1 = (wxPrinter *) 0 ;
21592 PyObject * obj0 = 0 ;
21593 char *kwnames[] = {
21594 (char *) "self", NULL
21595 };
21596
21597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21600 {
21601 PyThreadState* __tstate = wxPyBeginAllowThreads();
21602 delete arg1;
21603
21604 wxPyEndAllowThreads(__tstate);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 }
21607 Py_INCREF(Py_None); resultobj = Py_None;
21608 return resultobj;
21609 fail:
21610 return NULL;
21611 }
21612
21613
21614 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21615 PyObject *resultobj;
21616 wxPrinter *arg1 = (wxPrinter *) 0 ;
21617 wxWindow *arg2 = (wxWindow *) 0 ;
21618 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21619 PyObject * obj0 = 0 ;
21620 PyObject * obj1 = 0 ;
21621 PyObject * obj2 = 0 ;
21622 char *kwnames[] = {
21623 (char *) "self",(char *) "parent",(char *) "printout", NULL
21624 };
21625
21626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21631 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 (arg1)->CreateAbortWindow(arg2,arg3);
21636
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 Py_INCREF(Py_None); resultobj = Py_None;
21641 return resultobj;
21642 fail:
21643 return NULL;
21644 }
21645
21646
21647 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj;
21649 wxPrinter *arg1 = (wxPrinter *) 0 ;
21650 wxPrintDialogData *result;
21651 PyObject * obj0 = 0 ;
21652 char *kwnames[] = {
21653 (char *) "self", NULL
21654 };
21655
21656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 {
21662 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21663 result = (wxPrintDialogData *) &_result_ref;
21664 }
21665
21666 wxPyEndAllowThreads(__tstate);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
21669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21670 return resultobj;
21671 fail:
21672 return NULL;
21673 }
21674
21675
21676 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21677 PyObject *resultobj;
21678 wxPrinter *arg1 = (wxPrinter *) 0 ;
21679 wxWindow *arg2 = (wxWindow *) 0 ;
21680 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21681 int arg4 = (int) True ;
21682 bool result;
21683 PyObject * obj0 = 0 ;
21684 PyObject * obj1 = 0 ;
21685 PyObject * obj2 = 0 ;
21686 PyObject * obj3 = 0 ;
21687 char *kwnames[] = {
21688 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21689 };
21690
21691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21696 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21698 if (obj3) {
21699 arg4 = (int)SWIG_As_int(obj3);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 {
21710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21711 }
21712 return resultobj;
21713 fail:
21714 return NULL;
21715 }
21716
21717
21718 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21719 PyObject *resultobj;
21720 wxPrinter *arg1 = (wxPrinter *) 0 ;
21721 wxWindow *arg2 = (wxWindow *) 0 ;
21722 wxDC *result;
21723 PyObject * obj0 = 0 ;
21724 PyObject * obj1 = 0 ;
21725 char *kwnames[] = {
21726 (char *) "self",(char *) "parent", NULL
21727 };
21728
21729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21734 {
21735 PyThreadState* __tstate = wxPyBeginAllowThreads();
21736 result = (wxDC *)(arg1)->PrintDialog(arg2);
21737
21738 wxPyEndAllowThreads(__tstate);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
21741 {
21742 resultobj = wxPyMake_wxObject(result, 0);
21743 }
21744 return resultobj;
21745 fail:
21746 return NULL;
21747 }
21748
21749
21750 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
21751 PyObject *resultobj;
21752 wxPrinter *arg1 = (wxPrinter *) 0 ;
21753 wxWindow *arg2 = (wxWindow *) 0 ;
21754 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21755 wxString *arg4 = 0 ;
21756 bool temp4 = False ;
21757 PyObject * obj0 = 0 ;
21758 PyObject * obj1 = 0 ;
21759 PyObject * obj2 = 0 ;
21760 PyObject * obj3 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21768 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21770 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21772 {
21773 arg4 = wxString_in_helper(obj3);
21774 if (arg4 == NULL) SWIG_fail;
21775 temp4 = True;
21776 }
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21780
21781 wxPyEndAllowThreads(__tstate);
21782 if (PyErr_Occurred()) SWIG_fail;
21783 }
21784 Py_INCREF(Py_None); resultobj = Py_None;
21785 {
21786 if (temp4)
21787 delete arg4;
21788 }
21789 return resultobj;
21790 fail:
21791 {
21792 if (temp4)
21793 delete arg4;
21794 }
21795 return NULL;
21796 }
21797
21798
21799 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
21800 PyObject *resultobj;
21801 wxPrinter *arg1 = (wxPrinter *) 0 ;
21802 wxWindow *arg2 = (wxWindow *) 0 ;
21803 bool result;
21804 PyObject * obj0 = 0 ;
21805 PyObject * obj1 = 0 ;
21806 char *kwnames[] = {
21807 (char *) "self",(char *) "parent", NULL
21808 };
21809
21810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 result = (bool)(arg1)->Setup(arg2);
21818
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 {
21823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21824 }
21825 return resultobj;
21826 fail:
21827 return NULL;
21828 }
21829
21830
21831 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
21832 PyObject *resultobj;
21833 wxPrinter *arg1 = (wxPrinter *) 0 ;
21834 bool result;
21835 PyObject * obj0 = 0 ;
21836 char *kwnames[] = {
21837 (char *) "self", NULL
21838 };
21839
21840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21843 {
21844 PyThreadState* __tstate = wxPyBeginAllowThreads();
21845 result = (bool)(arg1)->GetAbort();
21846
21847 wxPyEndAllowThreads(__tstate);
21848 if (PyErr_Occurred()) SWIG_fail;
21849 }
21850 {
21851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21852 }
21853 return resultobj;
21854 fail:
21855 return NULL;
21856 }
21857
21858
21859 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj;
21861 int result;
21862 char *kwnames[] = {
21863 NULL
21864 };
21865
21866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 result = (int)wxPrinter::GetLastError();
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 resultobj = SWIG_From_int((int)result);
21875 return resultobj;
21876 fail:
21877 return NULL;
21878 }
21879
21880
21881 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
21882 PyObject *obj;
21883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21884 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21885 Py_INCREF(obj);
21886 return Py_BuildValue((char *)"");
21887 }
21888 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21891 wxString *arg1 = (wxString *) &arg1_defvalue ;
21892 wxPyPrintout *result;
21893 bool temp1 = False ;
21894 PyObject * obj0 = 0 ;
21895 char *kwnames[] = {
21896 (char *) "title", NULL
21897 };
21898
21899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21900 if (obj0) {
21901 {
21902 arg1 = wxString_in_helper(obj0);
21903 if (arg1 == NULL) SWIG_fail;
21904 temp1 = True;
21905 }
21906 }
21907 {
21908 if (!wxPyCheckForApp()) SWIG_fail;
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 {
21916 resultobj = wxPyMake_wxObject(result, 1);
21917 }
21918 {
21919 if (temp1)
21920 delete arg1;
21921 }
21922 return resultobj;
21923 fail:
21924 {
21925 if (temp1)
21926 delete arg1;
21927 }
21928 return NULL;
21929 }
21930
21931
21932 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21933 PyObject *resultobj;
21934 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21935 PyObject *arg2 = (PyObject *) 0 ;
21936 PyObject *arg3 = (PyObject *) 0 ;
21937 PyObject * obj0 = 0 ;
21938 PyObject * obj1 = 0 ;
21939 PyObject * obj2 = 0 ;
21940 char *kwnames[] = {
21941 (char *) "self",(char *) "self",(char *) "_class", NULL
21942 };
21943
21944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21947 arg2 = obj1;
21948 arg3 = obj2;
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 (arg1)->_setCallbackInfo(arg2,arg3);
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 Py_INCREF(Py_None); resultobj = Py_None;
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21966 wxString result;
21967 PyObject * obj0 = 0 ;
21968 char *kwnames[] = {
21969 (char *) "self", NULL
21970 };
21971
21972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = ((wxPyPrintout const *)arg1)->GetTitle();
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 {
21983 #if wxUSE_UNICODE
21984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21985 #else
21986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21987 #endif
21988 }
21989 return resultobj;
21990 fail:
21991 return NULL;
21992 }
21993
21994
21995 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
21996 PyObject *resultobj;
21997 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21998 wxDC *result;
21999 PyObject * obj0 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "self", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22007 {
22008 PyThreadState* __tstate = wxPyBeginAllowThreads();
22009 result = (wxDC *)(arg1)->GetDC();
22010
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 {
22015 resultobj = wxPyMake_wxObject(result, 0);
22016 }
22017 return resultobj;
22018 fail:
22019 return NULL;
22020 }
22021
22022
22023 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22024 PyObject *resultobj;
22025 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22026 wxDC *arg2 = (wxDC *) 0 ;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self",(char *) "dc", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22038 {
22039 PyThreadState* __tstate = wxPyBeginAllowThreads();
22040 (arg1)->SetDC(arg2);
22041
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 Py_INCREF(Py_None); resultobj = Py_None;
22046 return resultobj;
22047 fail:
22048 return NULL;
22049 }
22050
22051
22052 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22055 int arg2 ;
22056 int arg3 ;
22057 PyObject * obj0 = 0 ;
22058 PyObject * obj1 = 0 ;
22059 PyObject * obj2 = 0 ;
22060 char *kwnames[] = {
22061 (char *) "self",(char *) "w",(char *) "h", NULL
22062 };
22063
22064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22067 arg2 = (int)SWIG_As_int(obj1);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 arg3 = (int)SWIG_As_int(obj2);
22070 if (PyErr_Occurred()) SWIG_fail;
22071 {
22072 PyThreadState* __tstate = wxPyBeginAllowThreads();
22073 (arg1)->SetPageSizePixels(arg2,arg3);
22074
22075 wxPyEndAllowThreads(__tstate);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
22078 Py_INCREF(Py_None); resultobj = Py_None;
22079 return resultobj;
22080 fail:
22081 return NULL;
22082 }
22083
22084
22085 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22086 PyObject *resultobj;
22087 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22088 int *arg2 = (int *) 0 ;
22089 int *arg3 = (int *) 0 ;
22090 int temp2 ;
22091 int res2 = 0 ;
22092 int temp3 ;
22093 int res3 = 0 ;
22094 PyObject * obj0 = 0 ;
22095 char *kwnames[] = {
22096 (char *) "self", NULL
22097 };
22098
22099 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22100 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22104 {
22105 PyThreadState* __tstate = wxPyBeginAllowThreads();
22106 (arg1)->GetPageSizePixels(arg2,arg3);
22107
22108 wxPyEndAllowThreads(__tstate);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 Py_INCREF(Py_None); resultobj = Py_None;
22112 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22113 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22114 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22115 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22116 return resultobj;
22117 fail:
22118 return NULL;
22119 }
22120
22121
22122 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22123 PyObject *resultobj;
22124 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22125 int arg2 ;
22126 int arg3 ;
22127 PyObject * obj0 = 0 ;
22128 PyObject * obj1 = 0 ;
22129 PyObject * obj2 = 0 ;
22130 char *kwnames[] = {
22131 (char *) "self",(char *) "w",(char *) "h", NULL
22132 };
22133
22134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22137 arg2 = (int)SWIG_As_int(obj1);
22138 if (PyErr_Occurred()) SWIG_fail;
22139 arg3 = (int)SWIG_As_int(obj2);
22140 if (PyErr_Occurred()) SWIG_fail;
22141 {
22142 PyThreadState* __tstate = wxPyBeginAllowThreads();
22143 (arg1)->SetPageSizeMM(arg2,arg3);
22144
22145 wxPyEndAllowThreads(__tstate);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
22148 Py_INCREF(Py_None); resultobj = Py_None;
22149 return resultobj;
22150 fail:
22151 return NULL;
22152 }
22153
22154
22155 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj;
22157 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22158 int *arg2 = (int *) 0 ;
22159 int *arg3 = (int *) 0 ;
22160 int temp2 ;
22161 int res2 = 0 ;
22162 int temp3 ;
22163 int res3 = 0 ;
22164 PyObject * obj0 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self", NULL
22167 };
22168
22169 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22170 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22174 {
22175 PyThreadState* __tstate = wxPyBeginAllowThreads();
22176 (arg1)->GetPageSizeMM(arg2,arg3);
22177
22178 wxPyEndAllowThreads(__tstate);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 Py_INCREF(Py_None); resultobj = Py_None;
22182 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22183 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22184 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22185 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22186 return resultobj;
22187 fail:
22188 return NULL;
22189 }
22190
22191
22192 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22193 PyObject *resultobj;
22194 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22195 int arg2 ;
22196 int arg3 ;
22197 PyObject * obj0 = 0 ;
22198 PyObject * obj1 = 0 ;
22199 PyObject * obj2 = 0 ;
22200 char *kwnames[] = {
22201 (char *) "self",(char *) "x",(char *) "y", NULL
22202 };
22203
22204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22207 arg2 = (int)SWIG_As_int(obj1);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 arg3 = (int)SWIG_As_int(obj2);
22210 if (PyErr_Occurred()) SWIG_fail;
22211 {
22212 PyThreadState* __tstate = wxPyBeginAllowThreads();
22213 (arg1)->SetPPIScreen(arg2,arg3);
22214
22215 wxPyEndAllowThreads(__tstate);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 }
22218 Py_INCREF(Py_None); resultobj = Py_None;
22219 return resultobj;
22220 fail:
22221 return NULL;
22222 }
22223
22224
22225 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22226 PyObject *resultobj;
22227 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22228 int *arg2 = (int *) 0 ;
22229 int *arg3 = (int *) 0 ;
22230 int temp2 ;
22231 int res2 = 0 ;
22232 int temp3 ;
22233 int res3 = 0 ;
22234 PyObject * obj0 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self", NULL
22237 };
22238
22239 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22240 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 (arg1)->GetPPIScreen(arg2,arg3);
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 Py_INCREF(Py_None); resultobj = Py_None;
22252 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22253 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22254 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22255 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22256 return resultobj;
22257 fail:
22258 return NULL;
22259 }
22260
22261
22262 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22263 PyObject *resultobj;
22264 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22265 int arg2 ;
22266 int arg3 ;
22267 PyObject * obj0 = 0 ;
22268 PyObject * obj1 = 0 ;
22269 PyObject * obj2 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self",(char *) "x",(char *) "y", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22277 arg2 = (int)SWIG_As_int(obj1);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 arg3 = (int)SWIG_As_int(obj2);
22280 if (PyErr_Occurred()) SWIG_fail;
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 (arg1)->SetPPIPrinter(arg2,arg3);
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 Py_INCREF(Py_None); resultobj = Py_None;
22289 return resultobj;
22290 fail:
22291 return NULL;
22292 }
22293
22294
22295 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj;
22297 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22298 int *arg2 = (int *) 0 ;
22299 int *arg3 = (int *) 0 ;
22300 int temp2 ;
22301 int res2 = 0 ;
22302 int temp3 ;
22303 int res3 = 0 ;
22304 PyObject * obj0 = 0 ;
22305 char *kwnames[] = {
22306 (char *) "self", NULL
22307 };
22308
22309 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22310 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 (arg1)->GetPPIPrinter(arg2,arg3);
22317
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 Py_INCREF(Py_None); resultobj = Py_None;
22322 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22323 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22324 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22325 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22326 return resultobj;
22327 fail:
22328 return NULL;
22329 }
22330
22331
22332 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22333 PyObject *resultobj;
22334 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22335 bool result;
22336 PyObject * obj0 = 0 ;
22337 char *kwnames[] = {
22338 (char *) "self", NULL
22339 };
22340
22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 result = (bool)(arg1)->IsPreview();
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 {
22352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22353 }
22354 return resultobj;
22355 fail:
22356 return NULL;
22357 }
22358
22359
22360 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22361 PyObject *resultobj;
22362 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22363 bool arg2 ;
22364 PyObject * obj0 = 0 ;
22365 PyObject * obj1 = 0 ;
22366 char *kwnames[] = {
22367 (char *) "self",(char *) "p", NULL
22368 };
22369
22370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22373 arg2 = (bool)SWIG_As_bool(obj1);
22374 if (PyErr_Occurred()) SWIG_fail;
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 (arg1)->SetIsPreview(arg2);
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 Py_INCREF(Py_None); resultobj = Py_None;
22383 return resultobj;
22384 fail:
22385 return NULL;
22386 }
22387
22388
22389 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22390 PyObject *resultobj;
22391 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22392 int arg2 ;
22393 int arg3 ;
22394 bool result;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 PyObject * obj2 = 0 ;
22398 char *kwnames[] = {
22399 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22400 };
22401
22402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22405 arg2 = (int)SWIG_As_int(obj1);
22406 if (PyErr_Occurred()) SWIG_fail;
22407 arg3 = (int)SWIG_As_int(obj2);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 {
22410 PyThreadState* __tstate = wxPyBeginAllowThreads();
22411 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22412
22413 wxPyEndAllowThreads(__tstate);
22414 if (PyErr_Occurred()) SWIG_fail;
22415 }
22416 {
22417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22418 }
22419 return resultobj;
22420 fail:
22421 return NULL;
22422 }
22423
22424
22425 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22426 PyObject *resultobj;
22427 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22428 PyObject * obj0 = 0 ;
22429 char *kwnames[] = {
22430 (char *) "self", NULL
22431 };
22432
22433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 (arg1)->base_OnEndDocument();
22439
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 Py_INCREF(Py_None); resultobj = Py_None;
22444 return resultobj;
22445 fail:
22446 return NULL;
22447 }
22448
22449
22450 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22451 PyObject *resultobj;
22452 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22453 PyObject * obj0 = 0 ;
22454 char *kwnames[] = {
22455 (char *) "self", NULL
22456 };
22457
22458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 (arg1)->base_OnBeginPrinting();
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 Py_INCREF(Py_None); resultobj = Py_None;
22469 return resultobj;
22470 fail:
22471 return NULL;
22472 }
22473
22474
22475 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22476 PyObject *resultobj;
22477 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22478 PyObject * obj0 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 (arg1)->base_OnEndPrinting();
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 Py_INCREF(Py_None); resultobj = Py_None;
22494 return resultobj;
22495 fail:
22496 return NULL;
22497 }
22498
22499
22500 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj;
22502 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22503 PyObject * obj0 = 0 ;
22504 char *kwnames[] = {
22505 (char *) "self", NULL
22506 };
22507
22508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22511 {
22512 PyThreadState* __tstate = wxPyBeginAllowThreads();
22513 (arg1)->base_OnPreparePrinting();
22514
22515 wxPyEndAllowThreads(__tstate);
22516 if (PyErr_Occurred()) SWIG_fail;
22517 }
22518 Py_INCREF(Py_None); resultobj = Py_None;
22519 return resultobj;
22520 fail:
22521 return NULL;
22522 }
22523
22524
22525 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
22526 PyObject *resultobj;
22527 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22528 int arg2 ;
22529 bool result;
22530 PyObject * obj0 = 0 ;
22531 PyObject * obj1 = 0 ;
22532 char *kwnames[] = {
22533 (char *) "self",(char *) "page", NULL
22534 };
22535
22536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22539 arg2 = (int)SWIG_As_int(obj1);
22540 if (PyErr_Occurred()) SWIG_fail;
22541 {
22542 PyThreadState* __tstate = wxPyBeginAllowThreads();
22543 result = (bool)(arg1)->base_HasPage(arg2);
22544
22545 wxPyEndAllowThreads(__tstate);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 {
22549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22550 }
22551 return resultobj;
22552 fail:
22553 return NULL;
22554 }
22555
22556
22557 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22558 PyObject *resultobj;
22559 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22560 int *arg2 = (int *) 0 ;
22561 int *arg3 = (int *) 0 ;
22562 int *arg4 = (int *) 0 ;
22563 int *arg5 = (int *) 0 ;
22564 int temp2 ;
22565 int res2 = 0 ;
22566 int temp3 ;
22567 int res3 = 0 ;
22568 int temp4 ;
22569 int res4 = 0 ;
22570 int temp5 ;
22571 int res5 = 0 ;
22572 PyObject * obj0 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self", NULL
22575 };
22576
22577 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22578 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22579 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22580 arg5 = &temp5; res5 = SWIG_NEWOBJ;
22581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 Py_INCREF(Py_None); resultobj = Py_None;
22592 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22593 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22594 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22595 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22596 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22597 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22598 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22599 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
22600 return resultobj;
22601 fail:
22602 return NULL;
22603 }
22604
22605
22606 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
22607 PyObject *obj;
22608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22609 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22610 Py_INCREF(obj);
22611 return Py_BuildValue((char *)"");
22612 }
22613 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22614 PyObject *resultobj;
22615 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22616 wxWindow *arg2 = (wxWindow *) 0 ;
22617 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22618 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22619 wxSize const &arg4_defvalue = wxDefaultSize ;
22620 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22621 long arg5 = (long) 0 ;
22622 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22623 wxString *arg6 = (wxString *) &arg6_defvalue ;
22624 wxPreviewCanvas *result;
22625 wxPoint temp3 ;
22626 wxSize temp4 ;
22627 bool temp6 = False ;
22628 PyObject * obj0 = 0 ;
22629 PyObject * obj1 = 0 ;
22630 PyObject * obj2 = 0 ;
22631 PyObject * obj3 = 0 ;
22632 PyObject * obj4 = 0 ;
22633 PyObject * obj5 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22643 if (obj2) {
22644 {
22645 arg3 = &temp3;
22646 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22647 }
22648 }
22649 if (obj3) {
22650 {
22651 arg4 = &temp4;
22652 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22653 }
22654 }
22655 if (obj4) {
22656 arg5 = (long)SWIG_As_long(obj4);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 if (obj5) {
22660 {
22661 arg6 = wxString_in_helper(obj5);
22662 if (arg6 == NULL) SWIG_fail;
22663 temp6 = True;
22664 }
22665 }
22666 {
22667 if (!wxPyCheckForApp()) SWIG_fail;
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22675 {
22676 if (temp6)
22677 delete arg6;
22678 }
22679 return resultobj;
22680 fail:
22681 {
22682 if (temp6)
22683 delete arg6;
22684 }
22685 return NULL;
22686 }
22687
22688
22689 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
22690 PyObject *obj;
22691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22692 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22693 Py_INCREF(obj);
22694 return Py_BuildValue((char *)"");
22695 }
22696 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22697 PyObject *resultobj;
22698 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22699 wxFrame *arg2 = (wxFrame *) 0 ;
22700 wxString *arg3 = 0 ;
22701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22703 wxSize const &arg5_defvalue = wxDefaultSize ;
22704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22705 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22706 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22707 wxString *arg7 = (wxString *) &arg7_defvalue ;
22708 wxPreviewFrame *result;
22709 bool temp3 = False ;
22710 wxPoint temp4 ;
22711 wxSize temp5 ;
22712 bool temp7 = False ;
22713 PyObject * obj0 = 0 ;
22714 PyObject * obj1 = 0 ;
22715 PyObject * obj2 = 0 ;
22716 PyObject * obj3 = 0 ;
22717 PyObject * obj4 = 0 ;
22718 PyObject * obj5 = 0 ;
22719 PyObject * obj6 = 0 ;
22720 char *kwnames[] = {
22721 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22729 {
22730 arg3 = wxString_in_helper(obj2);
22731 if (arg3 == NULL) SWIG_fail;
22732 temp3 = True;
22733 }
22734 if (obj3) {
22735 {
22736 arg4 = &temp4;
22737 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22738 }
22739 }
22740 if (obj4) {
22741 {
22742 arg5 = &temp5;
22743 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22744 }
22745 }
22746 if (obj5) {
22747 arg6 = (long)SWIG_As_long(obj5);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 if (obj6) {
22751 {
22752 arg7 = wxString_in_helper(obj6);
22753 if (arg7 == NULL) SWIG_fail;
22754 temp7 = True;
22755 }
22756 }
22757 {
22758 if (!wxPyCheckForApp()) SWIG_fail;
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22761
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22766 {
22767 if (temp3)
22768 delete arg3;
22769 }
22770 {
22771 if (temp7)
22772 delete arg7;
22773 }
22774 return resultobj;
22775 fail:
22776 {
22777 if (temp3)
22778 delete arg3;
22779 }
22780 {
22781 if (temp7)
22782 delete arg7;
22783 }
22784 return NULL;
22785 }
22786
22787
22788 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
22789 PyObject *resultobj;
22790 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22791 PyObject * obj0 = 0 ;
22792 char *kwnames[] = {
22793 (char *) "self", NULL
22794 };
22795
22796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 (arg1)->Initialize();
22802
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 Py_INCREF(Py_None); resultobj = Py_None;
22807 return resultobj;
22808 fail:
22809 return NULL;
22810 }
22811
22812
22813 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22814 PyObject *resultobj;
22815 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22816 PyObject * obj0 = 0 ;
22817 char *kwnames[] = {
22818 (char *) "self", NULL
22819 };
22820
22821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22824 {
22825 PyThreadState* __tstate = wxPyBeginAllowThreads();
22826 (arg1)->CreateControlBar();
22827
22828 wxPyEndAllowThreads(__tstate);
22829 if (PyErr_Occurred()) SWIG_fail;
22830 }
22831 Py_INCREF(Py_None); resultobj = Py_None;
22832 return resultobj;
22833 fail:
22834 return NULL;
22835 }
22836
22837
22838 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22839 PyObject *resultobj;
22840 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22841 PyObject * obj0 = 0 ;
22842 char *kwnames[] = {
22843 (char *) "self", NULL
22844 };
22845
22846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22849 {
22850 PyThreadState* __tstate = wxPyBeginAllowThreads();
22851 (arg1)->CreateCanvas();
22852
22853 wxPyEndAllowThreads(__tstate);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 }
22856 Py_INCREF(Py_None); resultobj = Py_None;
22857 return resultobj;
22858 fail:
22859 return NULL;
22860 }
22861
22862
22863 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22864 PyObject *resultobj;
22865 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22866 wxPreviewControlBar *result;
22867 PyObject * obj0 = 0 ;
22868 char *kwnames[] = {
22869 (char *) "self", NULL
22870 };
22871
22872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22878
22879 wxPyEndAllowThreads(__tstate);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 }
22882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22883 return resultobj;
22884 fail:
22885 return NULL;
22886 }
22887
22888
22889 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
22890 PyObject *obj;
22891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22892 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22893 Py_INCREF(obj);
22894 return Py_BuildValue((char *)"");
22895 }
22896 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj;
22898 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22899 long arg2 ;
22900 wxWindow *arg3 = (wxWindow *) 0 ;
22901 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22902 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22903 wxSize const &arg5_defvalue = wxDefaultSize ;
22904 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22905 long arg6 = (long) wxTAB_TRAVERSAL ;
22906 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22907 wxString *arg7 = (wxString *) &arg7_defvalue ;
22908 wxPreviewControlBar *result;
22909 wxPoint temp4 ;
22910 wxSize temp5 ;
22911 bool temp7 = False ;
22912 PyObject * obj0 = 0 ;
22913 PyObject * obj1 = 0 ;
22914 PyObject * obj2 = 0 ;
22915 PyObject * obj3 = 0 ;
22916 PyObject * obj4 = 0 ;
22917 PyObject * obj5 = 0 ;
22918 PyObject * obj6 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22926 arg2 = (long)SWIG_As_long(obj1);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22930 if (obj3) {
22931 {
22932 arg4 = &temp4;
22933 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22934 }
22935 }
22936 if (obj4) {
22937 {
22938 arg5 = &temp5;
22939 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22940 }
22941 }
22942 if (obj5) {
22943 arg6 = (long)SWIG_As_long(obj5);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 if (obj6) {
22947 {
22948 arg7 = wxString_in_helper(obj6);
22949 if (arg7 == NULL) SWIG_fail;
22950 temp7 = True;
22951 }
22952 }
22953 {
22954 if (!wxPyCheckForApp()) SWIG_fail;
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22962 {
22963 if (temp7)
22964 delete arg7;
22965 }
22966 return resultobj;
22967 fail:
22968 {
22969 if (temp7)
22970 delete arg7;
22971 }
22972 return NULL;
22973 }
22974
22975
22976 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22977 PyObject *resultobj;
22978 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22979 int result;
22980 PyObject * obj0 = 0 ;
22981 char *kwnames[] = {
22982 (char *) "self", NULL
22983 };
22984
22985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22988 {
22989 PyThreadState* __tstate = wxPyBeginAllowThreads();
22990 result = (int)(arg1)->GetZoomControl();
22991
22992 wxPyEndAllowThreads(__tstate);
22993 if (PyErr_Occurred()) SWIG_fail;
22994 }
22995 resultobj = SWIG_From_int((int)result);
22996 return resultobj;
22997 fail:
22998 return NULL;
22999 }
23000
23001
23002 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23003 PyObject *resultobj;
23004 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23005 int arg2 ;
23006 PyObject * obj0 = 0 ;
23007 PyObject * obj1 = 0 ;
23008 char *kwnames[] = {
23009 (char *) "self",(char *) "zoom", NULL
23010 };
23011
23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23015 arg2 = (int)SWIG_As_int(obj1);
23016 if (PyErr_Occurred()) SWIG_fail;
23017 {
23018 PyThreadState* __tstate = wxPyBeginAllowThreads();
23019 (arg1)->SetZoomControl(arg2);
23020
23021 wxPyEndAllowThreads(__tstate);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 }
23024 Py_INCREF(Py_None); resultobj = Py_None;
23025 return resultobj;
23026 fail:
23027 return NULL;
23028 }
23029
23030
23031 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23032 PyObject *resultobj;
23033 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23034 wxPrintPreview *result;
23035 PyObject * obj0 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "self", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23043 {
23044 PyThreadState* __tstate = wxPyBeginAllowThreads();
23045 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23046
23047 wxPyEndAllowThreads(__tstate);
23048 if (PyErr_Occurred()) SWIG_fail;
23049 }
23050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23051 return resultobj;
23052 fail:
23053 return NULL;
23054 }
23055
23056
23057 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23058 PyObject *resultobj;
23059 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23060 PyObject * obj0 = 0 ;
23061 char *kwnames[] = {
23062 (char *) "self", NULL
23063 };
23064
23065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23068 {
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 (arg1)->OnNext();
23071
23072 wxPyEndAllowThreads(__tstate);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 }
23075 Py_INCREF(Py_None); resultobj = Py_None;
23076 return resultobj;
23077 fail:
23078 return NULL;
23079 }
23080
23081
23082 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23083 PyObject *resultobj;
23084 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23085 PyObject * obj0 = 0 ;
23086 char *kwnames[] = {
23087 (char *) "self", NULL
23088 };
23089
23090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23093 {
23094 PyThreadState* __tstate = wxPyBeginAllowThreads();
23095 (arg1)->OnPrevious();
23096
23097 wxPyEndAllowThreads(__tstate);
23098 if (PyErr_Occurred()) SWIG_fail;
23099 }
23100 Py_INCREF(Py_None); resultobj = Py_None;
23101 return resultobj;
23102 fail:
23103 return NULL;
23104 }
23105
23106
23107 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23108 PyObject *resultobj;
23109 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23110 PyObject * obj0 = 0 ;
23111 char *kwnames[] = {
23112 (char *) "self", NULL
23113 };
23114
23115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 (arg1)->OnFirst();
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 Py_INCREF(Py_None); resultobj = Py_None;
23126 return resultobj;
23127 fail:
23128 return NULL;
23129 }
23130
23131
23132 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23133 PyObject *resultobj;
23134 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23135 PyObject * obj0 = 0 ;
23136 char *kwnames[] = {
23137 (char *) "self", NULL
23138 };
23139
23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23143 {
23144 PyThreadState* __tstate = wxPyBeginAllowThreads();
23145 (arg1)->OnLast();
23146
23147 wxPyEndAllowThreads(__tstate);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
23150 Py_INCREF(Py_None); resultobj = Py_None;
23151 return resultobj;
23152 fail:
23153 return NULL;
23154 }
23155
23156
23157 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23158 PyObject *resultobj;
23159 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23160 PyObject * obj0 = 0 ;
23161 char *kwnames[] = {
23162 (char *) "self", NULL
23163 };
23164
23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 (arg1)->OnGoto();
23171
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 Py_INCREF(Py_None); resultobj = Py_None;
23176 return resultobj;
23177 fail:
23178 return NULL;
23179 }
23180
23181
23182 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23183 PyObject *obj;
23184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23185 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23186 Py_INCREF(obj);
23187 return Py_BuildValue((char *)"");
23188 }
23189 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23190 PyObject *resultobj;
23191 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23192 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23193 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23194 wxPrintPreview *result;
23195 PyObject * obj0 = 0 ;
23196 PyObject * obj1 = 0 ;
23197 PyObject * obj2 = 0 ;
23198
23199 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23204 if (obj2) {
23205 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23207 }
23208 {
23209 if (!wxPyCheckForApp()) SWIG_fail;
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23217 return resultobj;
23218 fail:
23219 return NULL;
23220 }
23221
23222
23223 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23224 PyObject *resultobj;
23225 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23226 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23227 wxPrintData *arg3 = (wxPrintData *) 0 ;
23228 wxPrintPreview *result;
23229 PyObject * obj0 = 0 ;
23230 PyObject * obj1 = 0 ;
23231 PyObject * obj2 = 0 ;
23232
23233 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23238 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23240 {
23241 if (!wxPyCheckForApp()) SWIG_fail;
23242 PyThreadState* __tstate = wxPyBeginAllowThreads();
23243 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23244
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23249 return resultobj;
23250 fail:
23251 return NULL;
23252 }
23253
23254
23255 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23256 int argc;
23257 PyObject *argv[4];
23258 int ii;
23259
23260 argc = PyObject_Length(args);
23261 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23262 argv[ii] = PyTuple_GetItem(args,ii);
23263 }
23264 if ((argc >= 2) && (argc <= 3)) {
23265 int _v;
23266 {
23267 void *ptr;
23268 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23269 _v = 0;
23270 PyErr_Clear();
23271 } else {
23272 _v = 1;
23273 }
23274 }
23275 if (_v) {
23276 {
23277 void *ptr;
23278 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23279 _v = 0;
23280 PyErr_Clear();
23281 } else {
23282 _v = 1;
23283 }
23284 }
23285 if (_v) {
23286 if (argc <= 2) {
23287 return _wrap_new_PrintPreview__SWIG_0(self,args);
23288 }
23289 {
23290 void *ptr;
23291 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23292 _v = 0;
23293 PyErr_Clear();
23294 } else {
23295 _v = 1;
23296 }
23297 }
23298 if (_v) {
23299 return _wrap_new_PrintPreview__SWIG_0(self,args);
23300 }
23301 }
23302 }
23303 }
23304 if (argc == 3) {
23305 int _v;
23306 {
23307 void *ptr;
23308 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23309 _v = 0;
23310 PyErr_Clear();
23311 } else {
23312 _v = 1;
23313 }
23314 }
23315 if (_v) {
23316 {
23317 void *ptr;
23318 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23319 _v = 0;
23320 PyErr_Clear();
23321 } else {
23322 _v = 1;
23323 }
23324 }
23325 if (_v) {
23326 {
23327 void *ptr;
23328 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23329 _v = 0;
23330 PyErr_Clear();
23331 } else {
23332 _v = 1;
23333 }
23334 }
23335 if (_v) {
23336 return _wrap_new_PrintPreview__SWIG_1(self,args);
23337 }
23338 }
23339 }
23340 }
23341
23342 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23343 return NULL;
23344 }
23345
23346
23347 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23348 PyObject *resultobj;
23349 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23350 int arg2 ;
23351 bool result;
23352 PyObject * obj0 = 0 ;
23353 PyObject * obj1 = 0 ;
23354 char *kwnames[] = {
23355 (char *) "self",(char *) "pageNum", NULL
23356 };
23357
23358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23361 arg2 = (int)SWIG_As_int(obj1);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 result = (bool)(arg1)->SetCurrentPage(arg2);
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 {
23371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23372 }
23373 return resultobj;
23374 fail:
23375 return NULL;
23376 }
23377
23378
23379 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23380 PyObject *resultobj;
23381 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23382 int result;
23383 PyObject * obj0 = 0 ;
23384 char *kwnames[] = {
23385 (char *) "self", NULL
23386 };
23387
23388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 result = (int)(arg1)->GetCurrentPage();
23394
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 resultobj = SWIG_From_int((int)result);
23399 return resultobj;
23400 fail:
23401 return NULL;
23402 }
23403
23404
23405 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23406 PyObject *resultobj;
23407 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23408 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23409 PyObject * obj0 = 0 ;
23410 PyObject * obj1 = 0 ;
23411 char *kwnames[] = {
23412 (char *) "self",(char *) "printout", NULL
23413 };
23414
23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23420 {
23421 PyThreadState* __tstate = wxPyBeginAllowThreads();
23422 (arg1)->SetPrintout(arg2);
23423
23424 wxPyEndAllowThreads(__tstate);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 }
23427 Py_INCREF(Py_None); resultobj = Py_None;
23428 return resultobj;
23429 fail:
23430 return NULL;
23431 }
23432
23433
23434 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23435 PyObject *resultobj;
23436 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23437 wxPyPrintout *result;
23438 PyObject * obj0 = 0 ;
23439 char *kwnames[] = {
23440 (char *) "self", NULL
23441 };
23442
23443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23446 {
23447 PyThreadState* __tstate = wxPyBeginAllowThreads();
23448 result = (wxPyPrintout *)(arg1)->GetPrintout();
23449
23450 wxPyEndAllowThreads(__tstate);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 }
23453 {
23454 resultobj = wxPyMake_wxObject(result, 0);
23455 }
23456 return resultobj;
23457 fail:
23458 return NULL;
23459 }
23460
23461
23462 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23463 PyObject *resultobj;
23464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23465 wxPyPrintout *result;
23466 PyObject * obj0 = 0 ;
23467 char *kwnames[] = {
23468 (char *) "self", NULL
23469 };
23470
23471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23474 {
23475 PyThreadState* __tstate = wxPyBeginAllowThreads();
23476 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23477
23478 wxPyEndAllowThreads(__tstate);
23479 if (PyErr_Occurred()) SWIG_fail;
23480 }
23481 {
23482 resultobj = wxPyMake_wxObject(result, 0);
23483 }
23484 return resultobj;
23485 fail:
23486 return NULL;
23487 }
23488
23489
23490 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23491 PyObject *resultobj;
23492 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23493 wxFrame *arg2 = (wxFrame *) 0 ;
23494 PyObject * obj0 = 0 ;
23495 PyObject * obj1 = 0 ;
23496 char *kwnames[] = {
23497 (char *) "self",(char *) "frame", NULL
23498 };
23499
23500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23505 {
23506 PyThreadState* __tstate = wxPyBeginAllowThreads();
23507 (arg1)->SetFrame(arg2);
23508
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 Py_INCREF(Py_None); resultobj = Py_None;
23513 return resultobj;
23514 fail:
23515 return NULL;
23516 }
23517
23518
23519 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23520 PyObject *resultobj;
23521 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23522 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23523 PyObject * obj0 = 0 ;
23524 PyObject * obj1 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "self",(char *) "canvas", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23534 {
23535 PyThreadState* __tstate = wxPyBeginAllowThreads();
23536 (arg1)->SetCanvas(arg2);
23537
23538 wxPyEndAllowThreads(__tstate);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 }
23541 Py_INCREF(Py_None); resultobj = Py_None;
23542 return resultobj;
23543 fail:
23544 return NULL;
23545 }
23546
23547
23548 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23549 PyObject *resultobj;
23550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23551 wxFrame *result;
23552 PyObject * obj0 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23560 {
23561 PyThreadState* __tstate = wxPyBeginAllowThreads();
23562 result = (wxFrame *)(arg1)->GetFrame();
23563
23564 wxPyEndAllowThreads(__tstate);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 {
23568 resultobj = wxPyMake_wxObject(result, 0);
23569 }
23570 return resultobj;
23571 fail:
23572 return NULL;
23573 }
23574
23575
23576 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23577 PyObject *resultobj;
23578 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23579 wxPreviewCanvas *result;
23580 PyObject * obj0 = 0 ;
23581 char *kwnames[] = {
23582 (char *) "self", NULL
23583 };
23584
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23588 {
23589 PyThreadState* __tstate = wxPyBeginAllowThreads();
23590 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23591
23592 wxPyEndAllowThreads(__tstate);
23593 if (PyErr_Occurred()) SWIG_fail;
23594 }
23595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23596 return resultobj;
23597 fail:
23598 return NULL;
23599 }
23600
23601
23602 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23603 PyObject *resultobj;
23604 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23605 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23606 wxDC *arg3 = 0 ;
23607 bool result;
23608 PyObject * obj0 = 0 ;
23609 PyObject * obj1 = 0 ;
23610 PyObject * obj2 = 0 ;
23611 char *kwnames[] = {
23612 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23613 };
23614
23615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23620 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23621 SWIG_POINTER_EXCEPTION | 0)) == -1)
23622 SWIG_fail;
23623 if (arg3 == NULL) {
23624 PyErr_SetString(PyExc_TypeError,"null reference");
23625 SWIG_fail;
23626 }
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23630
23631 wxPyEndAllowThreads(__tstate);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 }
23634 {
23635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23636 }
23637 return resultobj;
23638 fail:
23639 return NULL;
23640 }
23641
23642
23643 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23644 PyObject *resultobj;
23645 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23646 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23647 wxDC *arg3 = 0 ;
23648 bool result;
23649 PyObject * obj0 = 0 ;
23650 PyObject * obj1 = 0 ;
23651 PyObject * obj2 = 0 ;
23652 char *kwnames[] = {
23653 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23654 };
23655
23656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23661 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23662 SWIG_POINTER_EXCEPTION | 0)) == -1)
23663 SWIG_fail;
23664 if (arg3 == NULL) {
23665 PyErr_SetString(PyExc_TypeError,"null reference");
23666 SWIG_fail;
23667 }
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23671
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 {
23676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23677 }
23678 return resultobj;
23679 fail:
23680 return NULL;
23681 }
23682
23683
23684 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23685 PyObject *resultobj;
23686 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23687 int arg2 ;
23688 bool result;
23689 PyObject * obj0 = 0 ;
23690 PyObject * obj1 = 0 ;
23691 char *kwnames[] = {
23692 (char *) "self",(char *) "pageNum", NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23698 arg2 = (int)SWIG_As_int(obj1);
23699 if (PyErr_Occurred()) SWIG_fail;
23700 {
23701 PyThreadState* __tstate = wxPyBeginAllowThreads();
23702 result = (bool)(arg1)->RenderPage(arg2);
23703
23704 wxPyEndAllowThreads(__tstate);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 {
23708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23709 }
23710 return resultobj;
23711 fail:
23712 return NULL;
23713 }
23714
23715
23716 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23719 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23720 PyObject * obj0 = 0 ;
23721 PyObject * obj1 = 0 ;
23722 char *kwnames[] = {
23723 (char *) "self",(char *) "canvas", NULL
23724 };
23725
23726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 (arg1)->AdjustScrollbars(arg2);
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 Py_INCREF(Py_None); resultobj = Py_None;
23739 return resultobj;
23740 fail:
23741 return NULL;
23742 }
23743
23744
23745 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23746 PyObject *resultobj;
23747 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23748 wxPrintDialogData *result;
23749 PyObject * obj0 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 {
23760 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23761 result = (wxPrintDialogData *) &_result_ref;
23762 }
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23768 return resultobj;
23769 fail:
23770 return NULL;
23771 }
23772
23773
23774 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
23775 PyObject *resultobj;
23776 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23777 int arg2 ;
23778 PyObject * obj0 = 0 ;
23779 PyObject * obj1 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "self",(char *) "percent", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23787 arg2 = (int)SWIG_As_int(obj1);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 (arg1)->SetZoom(arg2);
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 Py_INCREF(Py_None); resultobj = Py_None;
23797 return resultobj;
23798 fail:
23799 return NULL;
23800 }
23801
23802
23803 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj;
23805 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23806 int result;
23807 PyObject * obj0 = 0 ;
23808 char *kwnames[] = {
23809 (char *) "self", NULL
23810 };
23811
23812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 result = (int)(arg1)->GetZoom();
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 resultobj = SWIG_From_int((int)result);
23823 return resultobj;
23824 fail:
23825 return NULL;
23826 }
23827
23828
23829 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23830 PyObject *resultobj;
23831 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23832 int result;
23833 PyObject * obj0 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 result = (int)(arg1)->GetMaxPage();
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 resultobj = SWIG_From_int((int)result);
23849 return resultobj;
23850 fail:
23851 return NULL;
23852 }
23853
23854
23855 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23856 PyObject *resultobj;
23857 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23858 int result;
23859 PyObject * obj0 = 0 ;
23860 char *kwnames[] = {
23861 (char *) "self", NULL
23862 };
23863
23864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23867 {
23868 PyThreadState* __tstate = wxPyBeginAllowThreads();
23869 result = (int)(arg1)->GetMinPage();
23870
23871 wxPyEndAllowThreads(__tstate);
23872 if (PyErr_Occurred()) SWIG_fail;
23873 }
23874 resultobj = SWIG_From_int((int)result);
23875 return resultobj;
23876 fail:
23877 return NULL;
23878 }
23879
23880
23881 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23884 bool result;
23885 PyObject * obj0 = 0 ;
23886 char *kwnames[] = {
23887 (char *) "self", NULL
23888 };
23889
23890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 result = (bool)(arg1)->Ok();
23896
23897 wxPyEndAllowThreads(__tstate);
23898 if (PyErr_Occurred()) SWIG_fail;
23899 }
23900 {
23901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23902 }
23903 return resultobj;
23904 fail:
23905 return NULL;
23906 }
23907
23908
23909 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
23910 PyObject *resultobj;
23911 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23912 bool arg2 ;
23913 PyObject * obj0 = 0 ;
23914 PyObject * obj1 = 0 ;
23915 char *kwnames[] = {
23916 (char *) "self",(char *) "ok", NULL
23917 };
23918
23919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23922 arg2 = (bool)SWIG_As_bool(obj1);
23923 if (PyErr_Occurred()) SWIG_fail;
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 (arg1)->SetOk(arg2);
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 Py_INCREF(Py_None); resultobj = Py_None;
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
23939 PyObject *resultobj;
23940 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23941 bool arg2 ;
23942 bool result;
23943 PyObject * obj0 = 0 ;
23944 PyObject * obj1 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self",(char *) "interactive", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23952 arg2 = (bool)SWIG_As_bool(obj1);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 result = (bool)(arg1)->Print(arg2);
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 {
23962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23963 }
23964 return resultobj;
23965 fail:
23966 return NULL;
23967 }
23968
23969
23970 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
23971 PyObject *resultobj;
23972 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23973 PyObject * obj0 = 0 ;
23974 char *kwnames[] = {
23975 (char *) "self", NULL
23976 };
23977
23978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 (arg1)->DetermineScaling();
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 Py_INCREF(Py_None); resultobj = Py_None;
23989 return resultobj;
23990 fail:
23991 return NULL;
23992 }
23993
23994
23995 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
23996 PyObject *obj;
23997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23998 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23999 Py_INCREF(obj);
24000 return Py_BuildValue((char *)"");
24001 }
24002 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24003 PyObject *resultobj;
24004 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24005 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24006 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24007 wxPyPrintPreview *result;
24008 PyObject * obj0 = 0 ;
24009 PyObject * obj1 = 0 ;
24010 PyObject * obj2 = 0 ;
24011
24012 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24017 if (obj2) {
24018 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24020 }
24021 {
24022 if (!wxPyCheckForApp()) SWIG_fail;
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24030 return resultobj;
24031 fail:
24032 return NULL;
24033 }
24034
24035
24036 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24037 PyObject *resultobj;
24038 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24039 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24040 wxPrintData *arg3 = (wxPrintData *) 0 ;
24041 wxPyPrintPreview *result;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj1 = 0 ;
24044 PyObject * obj2 = 0 ;
24045
24046 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24051 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24053 {
24054 if (!wxPyCheckForApp()) SWIG_fail;
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24057
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
24061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24062 return resultobj;
24063 fail:
24064 return NULL;
24065 }
24066
24067
24068 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24069 int argc;
24070 PyObject *argv[4];
24071 int ii;
24072
24073 argc = PyObject_Length(args);
24074 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24075 argv[ii] = PyTuple_GetItem(args,ii);
24076 }
24077 if ((argc >= 2) && (argc <= 3)) {
24078 int _v;
24079 {
24080 void *ptr;
24081 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24082 _v = 0;
24083 PyErr_Clear();
24084 } else {
24085 _v = 1;
24086 }
24087 }
24088 if (_v) {
24089 {
24090 void *ptr;
24091 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24092 _v = 0;
24093 PyErr_Clear();
24094 } else {
24095 _v = 1;
24096 }
24097 }
24098 if (_v) {
24099 if (argc <= 2) {
24100 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24101 }
24102 {
24103 void *ptr;
24104 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24105 _v = 0;
24106 PyErr_Clear();
24107 } else {
24108 _v = 1;
24109 }
24110 }
24111 if (_v) {
24112 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24113 }
24114 }
24115 }
24116 }
24117 if (argc == 3) {
24118 int _v;
24119 {
24120 void *ptr;
24121 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24122 _v = 0;
24123 PyErr_Clear();
24124 } else {
24125 _v = 1;
24126 }
24127 }
24128 if (_v) {
24129 {
24130 void *ptr;
24131 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24132 _v = 0;
24133 PyErr_Clear();
24134 } else {
24135 _v = 1;
24136 }
24137 }
24138 if (_v) {
24139 {
24140 void *ptr;
24141 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24142 _v = 0;
24143 PyErr_Clear();
24144 } else {
24145 _v = 1;
24146 }
24147 }
24148 if (_v) {
24149 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24150 }
24151 }
24152 }
24153 }
24154
24155 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24156 return NULL;
24157 }
24158
24159
24160 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24161 PyObject *resultobj;
24162 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24163 PyObject *arg2 = (PyObject *) 0 ;
24164 PyObject *arg3 = (PyObject *) 0 ;
24165 PyObject * obj0 = 0 ;
24166 PyObject * obj1 = 0 ;
24167 PyObject * obj2 = 0 ;
24168 char *kwnames[] = {
24169 (char *) "self",(char *) "self",(char *) "_class", NULL
24170 };
24171
24172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24175 arg2 = obj1;
24176 arg3 = obj2;
24177 {
24178 PyThreadState* __tstate = wxPyBeginAllowThreads();
24179 (arg1)->_setCallbackInfo(arg2,arg3);
24180
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 Py_INCREF(Py_None); resultobj = Py_None;
24185 return resultobj;
24186 fail:
24187 return NULL;
24188 }
24189
24190
24191 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24192 PyObject *resultobj;
24193 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24194 int arg2 ;
24195 bool result;
24196 PyObject * obj0 = 0 ;
24197 PyObject * obj1 = 0 ;
24198 char *kwnames[] = {
24199 (char *) "self",(char *) "pageNum", NULL
24200 };
24201
24202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24205 arg2 = (int)SWIG_As_int(obj1);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 {
24215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24216 }
24217 return resultobj;
24218 fail:
24219 return NULL;
24220 }
24221
24222
24223 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24224 PyObject *resultobj;
24225 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24226 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24227 wxDC *arg3 = 0 ;
24228 bool result;
24229 PyObject * obj0 = 0 ;
24230 PyObject * obj1 = 0 ;
24231 PyObject * obj2 = 0 ;
24232 char *kwnames[] = {
24233 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24234 };
24235
24236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24241 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24242 SWIG_POINTER_EXCEPTION | 0)) == -1)
24243 SWIG_fail;
24244 if (arg3 == NULL) {
24245 PyErr_SetString(PyExc_TypeError,"null reference");
24246 SWIG_fail;
24247 }
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 {
24256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24257 }
24258 return resultobj;
24259 fail:
24260 return NULL;
24261 }
24262
24263
24264 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj;
24266 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24267 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24268 wxDC *arg3 = 0 ;
24269 bool result;
24270 PyObject * obj0 = 0 ;
24271 PyObject * obj1 = 0 ;
24272 PyObject * obj2 = 0 ;
24273 char *kwnames[] = {
24274 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24275 };
24276
24277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24282 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24283 SWIG_POINTER_EXCEPTION | 0)) == -1)
24284 SWIG_fail;
24285 if (arg3 == NULL) {
24286 PyErr_SetString(PyExc_TypeError,"null reference");
24287 SWIG_fail;
24288 }
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 {
24297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24298 }
24299 return resultobj;
24300 fail:
24301 return NULL;
24302 }
24303
24304
24305 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24306 PyObject *resultobj;
24307 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24308 int arg2 ;
24309 bool result;
24310 PyObject * obj0 = 0 ;
24311 PyObject * obj1 = 0 ;
24312 char *kwnames[] = {
24313 (char *) "self",(char *) "pageNum", NULL
24314 };
24315
24316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24319 arg2 = (int)SWIG_As_int(obj1);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 result = (bool)(arg1)->base_RenderPage(arg2);
24324
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
24328 {
24329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24330 }
24331 return resultobj;
24332 fail:
24333 return NULL;
24334 }
24335
24336
24337 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24338 PyObject *resultobj;
24339 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24340 int arg2 ;
24341 PyObject * obj0 = 0 ;
24342 PyObject * obj1 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self",(char *) "percent", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24350 arg2 = (int)SWIG_As_int(obj1);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 (arg1)->base_SetZoom(arg2);
24355
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 Py_INCREF(Py_None); resultobj = Py_None;
24360 return resultobj;
24361 fail:
24362 return NULL;
24363 }
24364
24365
24366 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj;
24368 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24369 bool arg2 ;
24370 bool result;
24371 PyObject * obj0 = 0 ;
24372 PyObject * obj1 = 0 ;
24373 char *kwnames[] = {
24374 (char *) "self",(char *) "interactive", NULL
24375 };
24376
24377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24380 arg2 = (bool)SWIG_As_bool(obj1);
24381 if (PyErr_Occurred()) SWIG_fail;
24382 {
24383 PyThreadState* __tstate = wxPyBeginAllowThreads();
24384 result = (bool)(arg1)->base_Print(arg2);
24385
24386 wxPyEndAllowThreads(__tstate);
24387 if (PyErr_Occurred()) SWIG_fail;
24388 }
24389 {
24390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24391 }
24392 return resultobj;
24393 fail:
24394 return NULL;
24395 }
24396
24397
24398 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24399 PyObject *resultobj;
24400 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24401 PyObject * obj0 = 0 ;
24402 char *kwnames[] = {
24403 (char *) "self", NULL
24404 };
24405
24406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 (arg1)->base_DetermineScaling();
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 Py_INCREF(Py_None); resultobj = Py_None;
24417 return resultobj;
24418 fail:
24419 return NULL;
24420 }
24421
24422
24423 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24424 PyObject *obj;
24425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24426 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24427 Py_INCREF(obj);
24428 return Py_BuildValue((char *)"");
24429 }
24430 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24433 wxFrame *arg2 = (wxFrame *) 0 ;
24434 wxString *arg3 = 0 ;
24435 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24436 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24437 wxSize const &arg5_defvalue = wxDefaultSize ;
24438 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24439 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24440 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24441 wxString *arg7 = (wxString *) &arg7_defvalue ;
24442 wxPyPreviewFrame *result;
24443 bool temp3 = False ;
24444 wxPoint temp4 ;
24445 wxSize temp5 ;
24446 bool temp7 = False ;
24447 PyObject * obj0 = 0 ;
24448 PyObject * obj1 = 0 ;
24449 PyObject * obj2 = 0 ;
24450 PyObject * obj3 = 0 ;
24451 PyObject * obj4 = 0 ;
24452 PyObject * obj5 = 0 ;
24453 PyObject * obj6 = 0 ;
24454 char *kwnames[] = {
24455 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24456 };
24457
24458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24463 {
24464 arg3 = wxString_in_helper(obj2);
24465 if (arg3 == NULL) SWIG_fail;
24466 temp3 = True;
24467 }
24468 if (obj3) {
24469 {
24470 arg4 = &temp4;
24471 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24472 }
24473 }
24474 if (obj4) {
24475 {
24476 arg5 = &temp5;
24477 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24478 }
24479 }
24480 if (obj5) {
24481 arg6 = (long)SWIG_As_long(obj5);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 if (obj6) {
24485 {
24486 arg7 = wxString_in_helper(obj6);
24487 if (arg7 == NULL) SWIG_fail;
24488 temp7 = True;
24489 }
24490 }
24491 {
24492 if (!wxPyCheckForApp()) SWIG_fail;
24493 PyThreadState* __tstate = wxPyBeginAllowThreads();
24494 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24495
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24500 {
24501 if (temp3)
24502 delete arg3;
24503 }
24504 {
24505 if (temp7)
24506 delete arg7;
24507 }
24508 return resultobj;
24509 fail:
24510 {
24511 if (temp3)
24512 delete arg3;
24513 }
24514 {
24515 if (temp7)
24516 delete arg7;
24517 }
24518 return NULL;
24519 }
24520
24521
24522 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24523 PyObject *resultobj;
24524 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24525 PyObject *arg2 = (PyObject *) 0 ;
24526 PyObject *arg3 = (PyObject *) 0 ;
24527 PyObject * obj0 = 0 ;
24528 PyObject * obj1 = 0 ;
24529 PyObject * obj2 = 0 ;
24530 char *kwnames[] = {
24531 (char *) "self",(char *) "self",(char *) "_class", NULL
24532 };
24533
24534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24537 arg2 = obj1;
24538 arg3 = obj2;
24539 {
24540 PyThreadState* __tstate = wxPyBeginAllowThreads();
24541 (arg1)->_setCallbackInfo(arg2,arg3);
24542
24543 wxPyEndAllowThreads(__tstate);
24544 if (PyErr_Occurred()) SWIG_fail;
24545 }
24546 Py_INCREF(Py_None); resultobj = Py_None;
24547 return resultobj;
24548 fail:
24549 return NULL;
24550 }
24551
24552
24553 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24554 PyObject *resultobj;
24555 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24556 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24557 PyObject * obj0 = 0 ;
24558 PyObject * obj1 = 0 ;
24559 char *kwnames[] = {
24560 (char *) "self",(char *) "canvas", NULL
24561 };
24562
24563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24568 {
24569 PyThreadState* __tstate = wxPyBeginAllowThreads();
24570 (arg1)->SetPreviewCanvas(arg2);
24571
24572 wxPyEndAllowThreads(__tstate);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 }
24575 Py_INCREF(Py_None); resultobj = Py_None;
24576 return resultobj;
24577 fail:
24578 return NULL;
24579 }
24580
24581
24582 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24583 PyObject *resultobj;
24584 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24585 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24586 PyObject * obj0 = 0 ;
24587 PyObject * obj1 = 0 ;
24588 char *kwnames[] = {
24589 (char *) "self",(char *) "bar", NULL
24590 };
24591
24592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24597 {
24598 PyThreadState* __tstate = wxPyBeginAllowThreads();
24599 (arg1)->SetControlBar(arg2);
24600
24601 wxPyEndAllowThreads(__tstate);
24602 if (PyErr_Occurred()) SWIG_fail;
24603 }
24604 Py_INCREF(Py_None); resultobj = Py_None;
24605 return resultobj;
24606 fail:
24607 return NULL;
24608 }
24609
24610
24611 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
24612 PyObject *resultobj;
24613 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24614 PyObject * obj0 = 0 ;
24615 char *kwnames[] = {
24616 (char *) "self", NULL
24617 };
24618
24619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 (arg1)->base_Initialize();
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 Py_INCREF(Py_None); resultobj = Py_None;
24630 return resultobj;
24631 fail:
24632 return NULL;
24633 }
24634
24635
24636 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24637 PyObject *resultobj;
24638 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24639 PyObject * obj0 = 0 ;
24640 char *kwnames[] = {
24641 (char *) "self", NULL
24642 };
24643
24644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24647 {
24648 PyThreadState* __tstate = wxPyBeginAllowThreads();
24649 (arg1)->base_CreateCanvas();
24650
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 Py_INCREF(Py_None); resultobj = Py_None;
24655 return resultobj;
24656 fail:
24657 return NULL;
24658 }
24659
24660
24661 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24662 PyObject *resultobj;
24663 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24664 PyObject * obj0 = 0 ;
24665 char *kwnames[] = {
24666 (char *) "self", NULL
24667 };
24668
24669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 (arg1)->base_CreateControlBar();
24675
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
24679 Py_INCREF(Py_None); resultobj = Py_None;
24680 return resultobj;
24681 fail:
24682 return NULL;
24683 }
24684
24685
24686 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
24687 PyObject *obj;
24688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24689 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24690 Py_INCREF(obj);
24691 return Py_BuildValue((char *)"");
24692 }
24693 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24694 PyObject *resultobj;
24695 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24696 long arg2 ;
24697 wxWindow *arg3 = (wxWindow *) 0 ;
24698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24700 wxSize const &arg5_defvalue = wxDefaultSize ;
24701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24702 long arg6 = (long) 0 ;
24703 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24704 wxString *arg7 = (wxString *) &arg7_defvalue ;
24705 wxPyPreviewControlBar *result;
24706 wxPoint temp4 ;
24707 wxSize temp5 ;
24708 bool temp7 = False ;
24709 PyObject * obj0 = 0 ;
24710 PyObject * obj1 = 0 ;
24711 PyObject * obj2 = 0 ;
24712 PyObject * obj3 = 0 ;
24713 PyObject * obj4 = 0 ;
24714 PyObject * obj5 = 0 ;
24715 PyObject * obj6 = 0 ;
24716 char *kwnames[] = {
24717 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24718 };
24719
24720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24723 arg2 = (long)SWIG_As_long(obj1);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24727 if (obj3) {
24728 {
24729 arg4 = &temp4;
24730 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24731 }
24732 }
24733 if (obj4) {
24734 {
24735 arg5 = &temp5;
24736 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24737 }
24738 }
24739 if (obj5) {
24740 arg6 = (long)SWIG_As_long(obj5);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
24743 if (obj6) {
24744 {
24745 arg7 = wxString_in_helper(obj6);
24746 if (arg7 == NULL) SWIG_fail;
24747 temp7 = True;
24748 }
24749 }
24750 {
24751 if (!wxPyCheckForApp()) SWIG_fail;
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24754
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24759 {
24760 if (temp7)
24761 delete arg7;
24762 }
24763 return resultobj;
24764 fail:
24765 {
24766 if (temp7)
24767 delete arg7;
24768 }
24769 return NULL;
24770 }
24771
24772
24773 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24774 PyObject *resultobj;
24775 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24776 PyObject *arg2 = (PyObject *) 0 ;
24777 PyObject *arg3 = (PyObject *) 0 ;
24778 PyObject * obj0 = 0 ;
24779 PyObject * obj1 = 0 ;
24780 PyObject * obj2 = 0 ;
24781 char *kwnames[] = {
24782 (char *) "self",(char *) "self",(char *) "_class", NULL
24783 };
24784
24785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24788 arg2 = obj1;
24789 arg3 = obj2;
24790 {
24791 PyThreadState* __tstate = wxPyBeginAllowThreads();
24792 (arg1)->_setCallbackInfo(arg2,arg3);
24793
24794 wxPyEndAllowThreads(__tstate);
24795 if (PyErr_Occurred()) SWIG_fail;
24796 }
24797 Py_INCREF(Py_None); resultobj = Py_None;
24798 return resultobj;
24799 fail:
24800 return NULL;
24801 }
24802
24803
24804 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24805 PyObject *resultobj;
24806 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24807 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24808 PyObject * obj0 = 0 ;
24809 PyObject * obj1 = 0 ;
24810 char *kwnames[] = {
24811 (char *) "self",(char *) "preview", NULL
24812 };
24813
24814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24819 {
24820 PyThreadState* __tstate = wxPyBeginAllowThreads();
24821 (arg1)->SetPrintPreview(arg2);
24822
24823 wxPyEndAllowThreads(__tstate);
24824 if (PyErr_Occurred()) SWIG_fail;
24825 }
24826 Py_INCREF(Py_None); resultobj = Py_None;
24827 return resultobj;
24828 fail:
24829 return NULL;
24830 }
24831
24832
24833 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
24834 PyObject *resultobj;
24835 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24836 PyObject * obj0 = 0 ;
24837 char *kwnames[] = {
24838 (char *) "self", NULL
24839 };
24840
24841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24844 {
24845 PyThreadState* __tstate = wxPyBeginAllowThreads();
24846 (arg1)->base_CreateButtons();
24847
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
24851 Py_INCREF(Py_None); resultobj = Py_None;
24852 return resultobj;
24853 fail:
24854 return NULL;
24855 }
24856
24857
24858 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24861 int arg2 ;
24862 PyObject * obj0 = 0 ;
24863 PyObject * obj1 = 0 ;
24864 char *kwnames[] = {
24865 (char *) "self",(char *) "zoom", NULL
24866 };
24867
24868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24871 arg2 = (int)SWIG_As_int(obj1);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 (arg1)->base_SetZoomControl(arg2);
24876
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
24880 Py_INCREF(Py_None); resultobj = Py_None;
24881 return resultobj;
24882 fail:
24883 return NULL;
24884 }
24885
24886
24887 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
24888 PyObject *obj;
24889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24890 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24891 Py_INCREF(obj);
24892 return Py_BuildValue((char *)"");
24893 }
24894 static PyMethodDef SwigMethods[] = {
24895 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
24896 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
24897 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24898 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24899 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
24900 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
24901 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24902 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24903 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24904 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
24905 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
24906 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
24907 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
24908 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
24909 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
24910 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
24911 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
24912 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
24913 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
24914 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
24915 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
24916 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
24917 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
24918 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
24919 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24920 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24921 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24922 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24923 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
24924 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
24925 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
24926 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
24927 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
24928 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
24929 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
24930 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
24931 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24932 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24933 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
24934 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24935 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24936 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24937 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24938 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
24939 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
24940 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
24941 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
24942 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
24943 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
24944 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24945 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24946 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
24947 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24948 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24949 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24950 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24951 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24952 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24953 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24954 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24955 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
24956 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24957 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24958 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24959 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24960 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24961 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24962 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24963 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24964 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
24965 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
24966 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
24967 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
24968 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24969 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24970 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24971 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24972 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24973 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24974 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
24975 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24976 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
24977 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
24978 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
24979 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24980 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24981 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24982 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
24983 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24984 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24985 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24986 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
24987 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24988 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24989 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24990 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
24991 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
24992 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24993 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24994 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24995 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24996 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24997 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24998 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24999 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25000 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25001 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25002 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25003 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25004 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25005 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25006 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25007 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25008 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25009 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25010 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25011 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25012 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25013 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25014 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25015 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25016 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25017 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25018 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25019 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25020 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25021 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25022 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25023 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25024 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25025 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25026 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25027 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25028 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25029 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25030 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25031 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25032 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25033 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25034 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25035 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25036 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25037 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25038 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25039 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25040 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25041 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25042 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25043 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25044 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25045 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25046 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25047 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25048 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25049 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25050 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25051 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25052 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25053 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25054 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25055 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25056 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25057 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25058 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25059 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25060 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25061 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25062 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25063 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25064 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25065 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25066 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25067 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25068 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25069 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25070 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25071 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25072 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25073 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25074 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25075 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25076 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25077 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25078 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25079 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25080 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25081 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25082 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25083 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25084 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25085 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25086 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25087 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25088 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25089 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25090 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25091 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25092 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25093 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25094 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25095 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25096 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25097 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25098 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25099 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25100 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25101 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25102 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25103 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25104 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25105 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25106 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25107 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25108 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25109 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25110 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25111 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25112 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25113 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25114 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25115 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25116 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25117 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25118 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25119 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25120 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25121 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25122 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25123 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25124 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25125 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25126 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25127 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25128 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25129 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25130 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25131 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25132 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25133 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25134 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25135 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25136 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25137 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25138 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25139 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25140 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25141 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25142 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25143 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25144 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25145 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25146 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25147 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25148 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25149 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25150 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25151 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25152 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25153 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25154 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25155 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25156 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25157 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25158 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25159 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25160 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25161 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25162 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25163 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25164 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25165 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25166 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25167 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25168 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25169 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25170 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25171 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25172 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25173 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25174 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25175 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25176 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25177 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25178 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25179 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25180 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25181 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25182 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25183 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25184 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25185 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25186 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25187 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25188 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25189 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25190 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25191 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25192 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25193 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25194 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25195 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25196 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25197 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25198 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25199 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25200 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25201 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25202 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25203 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25204 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25205 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25206 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25207 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25208 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25209 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25210 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25211 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25212 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25213 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25214 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25215 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25216 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25217 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25218 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25219 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25220 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25221 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25222 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25223 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25224 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25225 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25226 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25227 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25228 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25229 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25230 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25231 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25232 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25233 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25234 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25235 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25236 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25237 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25238 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25239 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25240 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25241 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25242 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25243 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25244 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25245 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25246 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25247 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25248 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25249 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25250 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25251 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25252 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25253 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25254 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25255 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25256 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25257 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25258 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25259 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25260 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25261 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25262 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25263 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25264 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25265 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25266 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25267 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25268 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25269 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25274 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25275 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25276 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25278 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25287 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25289 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25290 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25291 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25294 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25297 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25298 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25299 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25300 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25307 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25308 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25314 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25315 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25319 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25323 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25324 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25325 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25334 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25338 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25340 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25346 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25349 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25350 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25355 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25358 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25363 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25364 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25376 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25377 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25389 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25422 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25423 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25454 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25458 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25459 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25492 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25497 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25508 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25531 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25533 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25539 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25549 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25550 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25573 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25574 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25583 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25591 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25597 { NULL, NULL, 0, NULL }
25598 };
25599
25600
25601 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25602
25603 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25604 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25605 }
25606 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25607 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25608 }
25609 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25610 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25611 }
25612 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25613 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25614 }
25615 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25616 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25617 }
25618 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25619 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25620 }
25621 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25622 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25623 }
25624 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25625 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25626 }
25627 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25628 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25629 }
25630 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25631 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25632 }
25633 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25634 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25635 }
25636 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25637 return (void *)((wxEvent *) ((wxPyEvent *) x));
25638 }
25639 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25640 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25641 }
25642 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25643 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25644 }
25645 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25646 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25647 }
25648 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25649 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25650 }
25651 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25652 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25653 }
25654 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25655 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25656 }
25657 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25658 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25659 }
25660 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25661 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25662 }
25663 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25664 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25665 }
25666 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25667 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25668 }
25669 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25670 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25671 }
25672 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25673 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25674 }
25675 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25676 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25677 }
25678 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25679 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25680 }
25681 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25682 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25683 }
25684 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25685 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25686 }
25687 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25688 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25689 }
25690 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25691 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25692 }
25693 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25694 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25695 }
25696 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25697 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25698 }
25699 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25700 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25701 }
25702 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25703 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25704 }
25705 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25706 return (void *)((wxEvent *) ((wxShowEvent *) x));
25707 }
25708 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25709 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25710 }
25711 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25712 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25713 }
25714 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25715 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25716 }
25717 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25718 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25719 }
25720 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25721 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25722 }
25723 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25724 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25725 }
25726 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25727 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25728 }
25729 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25730 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25731 }
25732 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25733 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25734 }
25735 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25736 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25737 }
25738 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25739 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25740 }
25741 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25742 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25743 }
25744 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25745 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25746 }
25747 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25748 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25749 }
25750 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25751 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25752 }
25753 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25754 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25755 }
25756 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25757 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25758 }
25759 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25760 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25761 }
25762 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25763 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25764 }
25765 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25766 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25767 }
25768 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25769 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25770 }
25771 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25772 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25773 }
25774 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25775 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25776 }
25777 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25778 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25779 }
25780 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25781 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25782 }
25783 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25784 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25785 }
25786 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25787 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25788 }
25789 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25790 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25791 }
25792 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25793 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25794 }
25795 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25796 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25797 }
25798 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25799 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25800 }
25801 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25802 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25803 }
25804 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25805 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25806 }
25807 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25808 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25809 }
25810 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25811 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25812 }
25813 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25814 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25815 }
25816 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25817 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25818 }
25819 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25820 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25821 }
25822 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25823 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25824 }
25825 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25826 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25827 }
25828 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25829 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25830 }
25831 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25832 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25833 }
25834 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25835 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25836 }
25837 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25838 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25839 }
25840 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25841 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25842 }
25843 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25844 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25845 }
25846 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25847 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25848 }
25849 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25850 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25851 }
25852 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25853 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25854 }
25855 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25856 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25857 }
25858 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25859 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25860 }
25861 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25862 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25863 }
25864 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25865 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25866 }
25867 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25868 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25869 }
25870 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25872 }
25873 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25875 }
25876 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25877 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25878 }
25879 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25880 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25881 }
25882 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25883 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25884 }
25885 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25886 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25887 }
25888 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25889 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25890 }
25891 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25892 return (void *)((wxFrame *) ((wxTipWindow *) x));
25893 }
25894 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25895 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25896 }
25897 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25898 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25899 }
25900 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25901 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25902 }
25903 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25904 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25905 }
25906 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25907 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25908 }
25909 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25910 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25911 }
25912 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25913 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25914 }
25915 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25917 }
25918 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25920 }
25921 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25922 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25923 }
25924 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25925 return (void *)((wxObject *) ((wxSizerItem *) x));
25926 }
25927 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25929 }
25930 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25931 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25932 }
25933 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25934 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25935 }
25936 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25937 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25938 }
25939 static void *_p_wxSizerTo_p_wxObject(void *x) {
25940 return (void *)((wxObject *) ((wxSizer *) x));
25941 }
25942 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25943 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25944 }
25945 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25946 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25947 }
25948 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25950 }
25951 static void *_p_wxEventTo_p_wxObject(void *x) {
25952 return (void *)((wxObject *) ((wxEvent *) x));
25953 }
25954 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25955 return (void *)((wxObject *) ((wxFontData *) x));
25956 }
25957 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25958 return (void *)((wxObject *) ((wxPrintData *) x));
25959 }
25960 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25961 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25962 }
25963 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25964 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25965 }
25966 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25967 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25968 }
25969 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25970 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25971 }
25972 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25973 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25974 }
25975 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25976 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25977 }
25978 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25979 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25980 }
25981 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25982 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25983 }
25984 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25985 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25986 }
25987 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25988 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25989 }
25990 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25991 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25992 }
25993 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25994 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25995 }
25996 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25998 }
25999 static void *_p_wxControlTo_p_wxObject(void *x) {
26000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26001 }
26002 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26003 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26004 }
26005 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26006 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26007 }
26008 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26009 return (void *)((wxObject *) ((wxFSFile *) x));
26010 }
26011 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26012 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26013 }
26014 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26015 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26016 }
26017 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26019 }
26020 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26021 return (void *)((wxObject *) ((wxColourData *) x));
26022 }
26023 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26024 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26025 }
26026 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26027 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26028 }
26029 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26031 }
26032 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26034 }
26035 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26037 }
26038 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26040 }
26041 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26043 }
26044 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26046 }
26047 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26049 }
26050 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26052 }
26053 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26055 }
26056 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26057 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26058 }
26059 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26060 return (void *)((wxObject *) ((wxPrinter *) x));
26061 }
26062 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26063 return (void *)((wxObject *) ((wxMenuItem *) x));
26064 }
26065 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26066 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26067 }
26068 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26069 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26070 }
26071 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26072 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26073 }
26074 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26075 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26076 }
26077 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26078 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26079 }
26080 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26081 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26082 }
26083 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26084 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26085 }
26086 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26087 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26088 }
26089 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26090 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26091 }
26092 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26093 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26094 }
26095 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26096 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26097 }
26098 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26099 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26100 }
26101 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26102 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26103 }
26104 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26105 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26106 }
26107 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26108 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26109 }
26110 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26111 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26112 }
26113 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26114 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26115 }
26116 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26117 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26118 }
26119 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26120 return (void *)((wxObject *) ((wxImageHandler *) x));
26121 }
26122 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26123 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26124 }
26125 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26126 return (void *)((wxObject *) ((wxEvtHandler *) x));
26127 }
26128 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26129 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26130 }
26131 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26133 }
26134 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26136 }
26137 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26138 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26139 }
26140 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26142 }
26143 static void *_p_wxImageTo_p_wxObject(void *x) {
26144 return (void *)((wxObject *) ((wxImage *) x));
26145 }
26146 static void *_p_wxFrameTo_p_wxObject(void *x) {
26147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26148 }
26149 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26150 return (void *)((wxObject *) ((wxPyPrintout *) x));
26151 }
26152 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26153 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26154 }
26155 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26156 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26157 }
26158 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26160 }
26161 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26163 }
26164 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26165 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26166 }
26167 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26168 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26169 }
26170 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26171 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26172 }
26173 static void *_p_wxWindowTo_p_wxObject(void *x) {
26174 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26175 }
26176 static void *_p_wxMenuTo_p_wxObject(void *x) {
26177 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26178 }
26179 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26181 }
26182 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26184 }
26185 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26187 }
26188 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26190 }
26191 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26193 }
26194 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26196 }
26197 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26199 }
26200 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26202 }
26203 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26205 }
26206 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26208 }
26209 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26211 }
26212 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26214 }
26215 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26217 }
26218 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26219 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26220 }
26221 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26222 return (void *)((wxObject *) ((wxPrintPreview *) x));
26223 }
26224 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26225 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26226 }
26227 static void *_p_wxPanelTo_p_wxObject(void *x) {
26228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26229 }
26230 static void *_p_wxDialogTo_p_wxObject(void *x) {
26231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26232 }
26233 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26235 }
26236 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26238 }
26239 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26241 }
26242 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26244 }
26245 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26247 }
26248 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26249 return (void *)((wxObject *) ((wxFileSystem *) x));
26250 }
26251 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26252 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26253 }
26254 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26255 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26256 }
26257 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26258 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26259 }
26260 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26261 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26262 }
26263 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26264 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26265 }
26266 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26267 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26268 }
26269 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26270 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26271 }
26272 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26273 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26274 }
26275 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26277 }
26278 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26280 }
26281 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26282 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26283 }
26284 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26285 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26286 }
26287 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26288 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26289 }
26290 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26292 }
26293 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26294 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26295 }
26296 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26297 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26298 }
26299 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26300 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26301 }
26302 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26303 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26304 }
26305 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26306 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26307 }
26308 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26309 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26310 }
26311 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26312 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26313 }
26314 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26315 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26316 }
26317 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26318 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26319 }
26320 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26321 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26322 }
26323 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26324 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26325 }
26326 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26327 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26328 }
26329 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26330 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26331 }
26332 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26333 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26334 }
26335 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26336 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26337 }
26338 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26339 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26340 }
26341 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26342 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26343 }
26344 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
26345 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
26346 }
26347 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26348 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26349 }
26350 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26351 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26352 }
26353 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26354 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26355 }
26356 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26357 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26358 }
26359 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26360 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26361 }
26362 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26363 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26364 }
26365 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26366 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26367 }
26368 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26369 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26370 }
26371 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26372 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26373 }
26374 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26375 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26376 }
26377 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26378 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26379 }
26380 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26381 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26382 }
26383 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26384 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26385 }
26386 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26387 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26388 }
26389 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26390 return (void *)((wxWindow *) ((wxMenuBar *) x));
26391 }
26392 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26393 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26394 }
26395 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26396 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26397 }
26398 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26399 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26400 }
26401 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26402 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26403 }
26404 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26405 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26406 }
26407 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26408 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26409 }
26410 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26411 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26412 }
26413 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26414 return (void *)((wxWindow *) ((wxPanel *) x));
26415 }
26416 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26417 return (void *)((wxWindow *) ((wxStatusBar *) x));
26418 }
26419 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26420 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26421 }
26422 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26423 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26424 }
26425 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26426 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26427 }
26428 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26429 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26430 }
26431 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26432 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26433 }
26434 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26435 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26436 }
26437 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26438 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26439 }
26440 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26441 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26442 }
26443 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26444 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26445 }
26446 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26447 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26448 }
26449 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26450 return (void *)((wxWindow *) ((wxSashWindow *) x));
26451 }
26452 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26453 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26454 }
26455 static void *_p_wxControlTo_p_wxWindow(void *x) {
26456 return (void *)((wxWindow *) ((wxControl *) x));
26457 }
26458 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26459 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26460 }
26461 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26462 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26463 }
26464 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26465 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26466 }
26467 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26468 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26469 }
26470 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26471 return (void *)((wxWindow *) ((wxPyWindow *) x));
26472 }
26473 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26474 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26475 }
26476 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26477 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26478 }
26479 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26480 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26481 }
26482 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26483 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26484 }
26485 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26486 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26487 }
26488 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26489 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26490 }
26491 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26492 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26493 }
26494 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26495 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26496 }
26497 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26498 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26499 }
26500 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26501 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26502 }
26503 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26504 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26505 }
26506 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26507 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26508 }
26509 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26510 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26511 }
26512 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26513 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26514 }
26515 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26516 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26517 }
26518 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26519 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26520 }
26521 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26522 return (void *)((wxDialog *) ((wxColourDialog *) x));
26523 }
26524 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26525 return (void *)((wxDialog *) ((wxDirDialog *) x));
26526 }
26527 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26528 return (void *)((wxDialog *) ((wxFontDialog *) x));
26529 }
26530 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26531 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26532 }
26533 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26534 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26535 }
26536 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26537 return (void *)((wxDialog *) ((wxFileDialog *) x));
26538 }
26539 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26540 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26541 }
26542 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26543 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26544 }
26545 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26546 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26547 }
26548 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26549 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26550 }
26551 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26552 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26553 }
26554 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26555 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26556 }
26557 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26558 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26559 }
26560 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26561 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26562 }
26563 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26564 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26565 }
26566 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26567 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26568 }
26569 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26570 return (void *)((wxPanel *) ((wxPyPanel *) x));
26571 }
26572 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26573 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26574 }
26575 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26576 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26577 }
26578 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26579 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26580 }
26581 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26582 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26583 }
26584 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26585 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26586 }
26587 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26588 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26589 }
26590 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26591 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26592 }
26593 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26594 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26595 }
26596 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26597 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26598 }
26599 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26600 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26601 }
26602 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26603 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26604 }
26605 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26606 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26607 }
26608 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26609 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26610 }
26611 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26612 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26613 }
26614 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26615 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26616 }
26617 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}};
26618 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}};
26619 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}};
26620 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}};
26621 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}};
26622 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}};
26623 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}};
26624 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}};
26625 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}};
26626 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}};
26627 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}};
26628 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}};
26629 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}};
26630 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}};
26631 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}};
26632 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}};
26633 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}};
26634 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}};
26635 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}};
26636 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}};
26637 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}};
26638 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}};
26639 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}};
26640 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}};
26641 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}};
26642 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}};
26643 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}};
26644 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}};
26645 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}};
26646 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}};
26647 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}};
26648 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}};
26649 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}};
26650 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}};
26651 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}};
26652 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}};
26653 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}};
26654 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}};
26655 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}};
26656 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}};
26657 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}};
26658 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}};
26659 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}};
26660 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}};
26661 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}};
26662 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}};
26663 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}};
26664 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}};
26665 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}};
26666 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}};
26667 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}};
26668 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}};
26669 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}};
26670 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}};
26671 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}};
26672 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}};
26673 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}};
26674 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}};
26675 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}};
26676 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}};
26677 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}};
26678 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}};
26679 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}};
26680 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}};
26681 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}};
26682 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}};
26683 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}};
26684 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}};
26685 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}};
26686 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}};
26687 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}};
26688 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}};
26689 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}};
26690 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}};
26691 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}};
26692 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}};
26693 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}};
26694 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}};
26695 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}};
26696 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}};
26697 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}};
26698 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}};
26699 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}};
26700 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}};
26701 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}};
26702 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}};
26703
26704 static swig_type_info *swig_types_initial[] = {
26705 _swigt__p_wxQueryLayoutInfoEvent,
26706 _swigt__p_wxPreviewFrame,
26707 _swigt__p_wxPyPreviewFrame,
26708 _swigt__p_wxPyPanel,
26709 _swigt__p_wxMenu,
26710 _swigt__p_wxFontData,
26711 _swigt__p_wxEvent,
26712 _swigt__p_wxPrintData,
26713 _swigt__p_wxTaskBarIcon,
26714 _swigt__p_wxIconBundle,
26715 _swigt__p_wxLayoutAlgorithm,
26716 _swigt__p_wxFindDialogEvent,
26717 _swigt__p_wxPreviewCanvas,
26718 _swigt__p_wxFont,
26719 _swigt__p_wxSplitterEvent,
26720 _swigt__p_wxRegion,
26721 _swigt__p_wxFindReplaceData,
26722 _swigt__p_int,
26723 _swigt__p_wxSize,
26724 _swigt__p_wxDC,
26725 _swigt__p_wxIcon,
26726 _swigt__p_wxVisualAttributes,
26727 _swigt__p_wxMDIChildFrame,
26728 _swigt__p_wxColourData,
26729 _swigt__p_wxNotifyEvent,
26730 _swigt__p_wxPyWindow,
26731 _swigt__p_wxSplashScreen,
26732 _swigt__p_wxFindReplaceDialog,
26733 _swigt__p_wxProgressDialog,
26734 _swigt__p_wxMessageDialog,
26735 _swigt__p_wxTextEntryDialog,
26736 _swigt__p_wxSingleChoiceDialog,
26737 _swigt__p_wxMultiChoiceDialog,
26738 _swigt__p_wxFileDialog,
26739 _swigt__p_wxPrinter,
26740 _swigt__p_wxArrayInt,
26741 _swigt__p_wxEvtHandler,
26742 _swigt__p_wxCalculateLayoutEvent,
26743 _swigt__p_wxPyHtmlListBox,
26744 _swigt__p_wxPyVListBox,
26745 _swigt__p_wxRect,
26746 _swigt__p_char,
26747 _swigt__p_wxMiniFrame,
26748 _swigt__p_wxFrame,
26749 _swigt__p_wxPyPrintout,
26750 _swigt__p_wxTaskBarIconEvent,
26751 _swigt__p_wxScrollWinEvent,
26752 _swigt__p_wxStatusBar,
26753 _swigt__p_wxMDIParentFrame,
26754 _swigt__p_wxPoint,
26755 _swigt__p_wxObject,
26756 _swigt__p_wxOutputStream,
26757 _swigt__p_wxPyScrolledWindow,
26758 _swigt__p_wxMDIClientWindow,
26759 _swigt__p_wxTipWindow,
26760 _swigt__p_wxPyPopupTransientWindow,
26761 _swigt__p_wxSashLayoutWindow,
26762 _swigt__p_wxSplitterWindow,
26763 _swigt__p_wxSplashScreenWindow,
26764 _swigt__p_wxPyVScrolledWindow,
26765 _swigt__p_wxPopupWindow,
26766 _swigt__p_wxSashWindow,
26767 _swigt__p_wxTopLevelWindow,
26768 _swigt__p_wxWindow,
26769 _swigt__p_wxScrolledWindow,
26770 _swigt__p_wxMenuBar,
26771 _swigt__p_wxPrintPreview,
26772 _swigt__p_wxSashEvent,
26773 _swigt__p_wxString,
26774 _swigt__p_wxPyPrintPreview,
26775 _swigt__p_wxFontDialog,
26776 _swigt__p_wxDirDialog,
26777 _swigt__p_wxColourDialog,
26778 _swigt__p_wxDialog,
26779 _swigt__p_wxPanel,
26780 _swigt__p_wxPageSetupDialog,
26781 _swigt__p_wxPrintDialog,
26782 _swigt__p_wxFileSystem,
26783 _swigt__p_wxBitmap,
26784 _swigt__p_wxCommandEvent,
26785 _swigt__p_wxPreviewControlBar,
26786 _swigt__p_wxPyPreviewControlBar,
26787 _swigt__p_wxColour,
26788 _swigt__p_wxToolBar,
26789 _swigt__p_wxPageSetupDialogData,
26790 _swigt__p_wxPrintDialogData,
26791 0
26792 };
26793
26794
26795 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26796
26797 static swig_const_info swig_const_table[] = {
26798 {0, 0, 0, 0.0, 0, 0}};
26799
26800 #ifdef __cplusplus
26801 }
26802 #endif
26803
26804 #ifdef __cplusplus
26805 extern "C"
26806 #endif
26807 SWIGEXPORT(void) SWIG_init(void) {
26808 static PyObject *SWIG_globals = 0;
26809 static int typeinit = 0;
26810 PyObject *m, *d;
26811 int i;
26812 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26813 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26814 d = PyModule_GetDict(m);
26815
26816 if (!typeinit) {
26817 for (i = 0; swig_types_initial[i]; i++) {
26818 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26819 }
26820 typeinit = 1;
26821 }
26822 SWIG_InstallConstants(d,swig_const_table);
26823
26824 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26825 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26826 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26827 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26828 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26829 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
26830 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
26831 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
26832 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
26833 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
26834 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
26835 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
26836 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
26837 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
26838 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
26839 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
26840 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
26841 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
26842 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
26843 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
26844 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
26845 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
26846 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
26847 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
26848 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
26849 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
26850 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
26851 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
26852 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
26853 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
26854 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
26855 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
26856 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
26857 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
26858 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
26859 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
26860 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
26861 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
26862 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
26863 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
26864 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
26865 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
26866 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
26867 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
26868 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
26869 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
26870 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
26871 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26872 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
26873 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
26874 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
26875 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
26876 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
26877 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
26878 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
26879 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
26880 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
26881 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
26882 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
26883 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
26884 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
26885 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
26886 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26887 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26888 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26889 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26890 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26891 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26892 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
26893 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
26894 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
26895 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
26896 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
26897 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
26898 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
26899 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
26900 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
26901 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
26902 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
26903 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
26904 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
26905 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
26906 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
26907 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26908 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
26909 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
26910 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
26911 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
26912 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
26913 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
26914 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
26915 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
26916 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
26917 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
26918 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
26919 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26920 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26921 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26922
26923 // Map renamed classes back to their common name for OOR
26924 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26925 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26926 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26927
26928 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26929 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26930 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26931 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26932 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26933 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26934 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26935 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26936 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26937 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26938 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26939 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26940 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26941 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
26942 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
26943 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
26944 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
26945 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
26946 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
26947 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
26948 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
26949 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26950 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26951 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26952 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26953 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26954 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
26955 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
26956 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
26957 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
26958 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
26959 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
26960 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
26961 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
26962 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26963 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26964 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
26965 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
26966 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
26967 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
26968 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
26969 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
26970 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
26971 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
26972 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
26973 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
26974 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
26975 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
26976 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
26977 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
26978 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
26979 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
26980 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
26981 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
26982 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
26983 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
26984 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
26985 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
26986 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
26987 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
26988
26989 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26990
26991 }
26992