]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _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_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow 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 wxPyPopupTransientWindow : public wxPopupTransientWindow
632 {
633 public:
634 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
635 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
636 : wxPopupTransientWindow(parent, style) {}
637
638 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
639 DEC_PYCALLBACK__(OnDismiss);
640 DEC_PYCALLBACK_BOOL_(CanDismiss);
641 PYPRIVATE;
642 };
643
644
645 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
646 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
647 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
648
649
650 #include <wx/tipwin.h>
651
652 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
653 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
654 }
655
656 #include <wx/tipwin.h>
657
658
659 #include <wx/vscroll.h>
660
661
662 class wxPyVScrolledWindow : public wxVScrolledWindow
663 {
664 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
665 public:
666 wxPyVScrolledWindow() : wxVScrolledWindow() {}
667
668 wxPyVScrolledWindow(wxWindow *parent,
669 wxWindowID id = wxID_ANY,
670 const wxPoint& pos = wxDefaultPosition,
671 const wxSize& size = wxDefaultSize,
672 long style = 0,
673 const wxString& name = wxPyPanelNameStr)
674 : wxVScrolledWindow(parent, id, pos, size, style, name)
675 {}
676
677 // Overridable virtuals
678
679 // this function must be overridden in the derived class and it should
680 // return the height of the given line in pixels
681 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
682
683
684 // this function doesn't have to be overridden but it may be useful to do
685 // it if calculating the lines heights is a relatively expensive operation
686 // as it gives the user code a possibility to calculate several of them at
687 // once
688 //
689 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
690 // shouldn't rely on the latter being called for all lines in the interval
691 // specified here. It is also possible that OnGetLineHeight() will be
692 // called for the lines outside of this interval, so this is really just a
693 // hint, not a promise.
694 //
695 // finally note that lineMin is inclusive, while lineMax is exclusive, as
696 // usual
697 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
698
699
700 // when the number of lines changes, we try to estimate the total height
701 // of all lines which is a rather expensive operation in terms of lines
702 // access, so if the user code may estimate the average height
703 // better/faster than we do, it should override this function to implement
704 // its own logic
705 //
706 // this function should return the best guess for the total height it may
707 // make
708 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
709
710
711 // Also expose some other interesting protected methods
712
713
714 // find the index of the line we need to show at the top of the window such
715 // that the last (fully or partially) visible line is the given one
716 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
717 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
718
719 // get the total height of the lines between lineMin (inclusive) and
720 // lineMax (exclusive)
721 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
722 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
723
724
725 PYPRIVATE;
726 };
727
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
729
730 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
731 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
732 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
733
734
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
738 {
739 long v = 0;
740 if (SWIG_AsVal_long(obj, &v) && v < 0) {
741 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
742 return 0;
743 }
744 else if (val)
745 *val = (unsigned long)v;
746 return 1;
747 }
748
749
750 SWIGSTATICINLINE(unsigned long)
751 SWIG_As_unsigned_SS_long(PyObject* obj)
752 {
753 unsigned long v;
754 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
755 /*
756 this is needed to make valgrind/purify happier. the other
757 solution is throw an exception, but since this code should work
758 with plain C ....
759 */
760 memset((void*)&v, 0, sizeof(unsigned long));
761 }
762 return v;
763 }
764
765
766 SWIGSTATICINLINE(int)
767 SWIG_Check_unsigned_SS_long(PyObject* obj)
768 {
769 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
770 }
771
772
773 SWIGSTATICINLINE(PyObject* )
774 SWIG_From_unsigned_SS_long(unsigned long value)
775 {
776 return (value > LONG_MAX) ?
777 PyLong_FromUnsignedLong(value)
778 : PyInt_FromLong(swig_numeric_cast(value,long));
779 }
780
781
782 #include <wx/vlbox.h>
783
784 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
785
786 class wxPyVListBox : public wxVListBox
787 {
788 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
789 public:
790 wxPyVListBox() : wxVListBox() {}
791
792 wxPyVListBox(wxWindow *parent,
793 wxWindowID id = wxID_ANY,
794 const wxPoint& pos = wxDefaultPosition,
795 const wxSize& size = wxDefaultSize,
796 long style = 0,
797 const wxString& name = wxPyVListBoxNameStr)
798 : wxVListBox(parent, id, pos, size, style, name)
799 {}
800
801 // Overridable virtuals
802
803 // the derived class must implement this function to actually draw the item
804 // with the given index on the provided DC
805 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
806 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
807
808
809 // the derived class must implement this method to return the height of the
810 // specified item
811 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
812 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
813
814
815 // this method may be used to draw separators between the lines; note that
816 // the rectangle may be modified, typically to deflate it a bit before
817 // passing to OnDrawItem()
818 //
819 // the base class version doesn't do anything
820 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
821 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
822
823
824 // this method is used to draw the items background and, maybe, a border
825 // around it
826 //
827 // the base class version implements a reasonable default behaviour which
828 // consists in drawing the selected item with the standard background
829 // colour and drawing a border around the item if it is either selected or
830 // current
831 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
832 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
833
834
835 PYPRIVATE;
836 };
837
838 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
839
840 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
841 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
842 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
843 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
844
845
846 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
847 unsigned long cookie = 0;
848 int selected = self->GetFirstSelected(cookie);
849 bool blocked = wxPyBeginBlockThreads();
850 PyObject* tup = PyTuple_New(2);
851 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
852 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
853 wxPyEndBlockThreads(blocked);
854 return tup;
855 }
856 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
857 int selected = self->GetNextSelected(cookie);
858 bool blocked = wxPyBeginBlockThreads();
859 PyObject* tup = PyTuple_New(2);
860 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
861 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
862 wxPyEndBlockThreads(blocked);
863 return tup;
864 }
865
866 #include <wx/htmllbox.h>
867
868
869 class wxPyHtmlListBox : public wxHtmlListBox
870 {
871 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
872 public:
873 wxPyHtmlListBox() : wxHtmlListBox() {}
874
875 wxPyHtmlListBox(wxWindow *parent,
876 wxWindowID id = wxID_ANY,
877 const wxPoint& pos = wxDefaultPosition,
878 const wxSize& size = wxDefaultSize,
879 long style = 0,
880 const wxString& name = wxPyVListBoxNameStr)
881 : wxHtmlListBox(parent, id, pos, size, style, name)
882 {}
883
884 // Overridable virtuals
885
886 // this method must be implemented in the derived class and should return
887 // the body (i.e. without <html>) of the HTML for the given item
888 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
889
890 // this function may be overridden to decorate HTML returned by OnGetItem()
891 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
892
893 // TODO:
894 // // this method allows to customize the selection appearance: it may be used
895 // // to specify the colour of the text which normally has the given colour
896 // // colFg when it is inside the selection
897 // //
898 // // by default, the original colour is not used at all and all text has the
899 // // same (default for this system) colour inside selection
900 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
901
902 // // this is the same as GetSelectedTextColour() but allows to customize the
903 // // background colour -- this is even more rarely used as you can change it
904 // // globally using SetSelectionBackground()
905 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
906
907
908 PYPRIVATE;
909 };
910
911
912 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
913
914 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
915 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
916
917
918
919
920
921 #ifdef __WXMAC__
922 // implement dummy classes and such for wxMac
923
924 class wxTaskBarIcon : public wxEvtHandler
925 {
926 public:
927 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
928 };
929
930
931 class wxTaskBarIconEvent : public wxEvent
932 {
933 public:
934 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
935 { wxPyRaiseNotImplemented(); }
936 virtual wxEvent* Clone() const { return NULL; }
937 };
938
939 enum {
940 wxEVT_TASKBAR_MOVE = 0,
941 wxEVT_TASKBAR_LEFT_DOWN = 0,
942 wxEVT_TASKBAR_LEFT_UP = 0,
943 wxEVT_TASKBAR_RIGHT_DOWN = 0,
944 wxEVT_TASKBAR_RIGHT_UP = 0,
945 wxEVT_TASKBAR_LEFT_DCLICK = 0,
946 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
947 };
948
949
950 #else
951 // // Otherwise make a class that can virtualize CreatePopupMenu
952 // class wxPyTaskBarIcon : public wxTaskBarIcon
953 // {
954 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
955 // public:
956 // wxPyTaskBarIcon() : wxTaskBarIcon()
957 // {}
958
959 // wxMenu* CreatePopupMenu() {
960 // wxMenu *rval = NULL;
961 // bool found;
962 // bool blocked = wxPyBeginBlockThreads();
963 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
964 // PyObject* ro;
965 // wxMenu* ptr;
966 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
967 // if (ro) {
968 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
969 // rval = ptr;
970 // Py_DECREF(ro);
971 // }
972 // }
973 // wxPyEndBlockThreads(blocked);
974 // if (! found)
975 // rval = wxTaskBarIcon::CreatePopupMenu();
976 // return rval;
977 // }
978
979 // PYPRIVATE;
980 // };
981
982 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
983
984 #endif
985
986 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
987
988 self->RemoveIcon();
989
990 }
991 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
992 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
993 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
994 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
995 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
996 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
997 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
998 wxArrayString arr;
999 self->GetFilenames(arr);
1000 return wxArrayString2PyList_helper(arr);
1001 }
1002 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1003 wxArrayString arr;
1004 self->GetPaths(arr);
1005 return wxArrayString2PyList_helper(arr);
1006 }
1007 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1008 return wxArrayInt2PyList_helper(self->GetSelections());
1009 }
1010 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1011 return new wxSingleChoiceDialog(parent, message, caption,
1012 choices, choices_array, NULL, style, pos);
1013 }
1014
1015 #include <wx/mdi.h>
1016
1017 // C++ version of Python aware wxWindow
1018 class wxPyWindow : public wxWindow
1019 {
1020 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1021 public:
1022 wxPyWindow() : wxWindow() {}
1023 wxPyWindow(wxWindow* parent, const wxWindowID id,
1024 const wxPoint& pos = wxDefaultPosition,
1025 const wxSize& size = wxDefaultSize,
1026 long style = 0,
1027 const wxString& name = wxPyPanelNameStr)
1028 : wxWindow(parent, id, pos, size, style, name) {}
1029
1030 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1031
1032 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1033 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1034 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1035 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1036
1037 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1039 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1040
1041 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1042 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1043
1044 DEC_PYCALLBACK__(InitDialog);
1045 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1046 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1047 DEC_PYCALLBACK_BOOL_(Validate);
1048
1049 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1050 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1051 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1052
1053 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1054 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1055
1056 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1057 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1058 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1059
1060 PYPRIVATE;
1061 };
1062
1063 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1064
1065 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1066 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1067 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1068 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1069
1070 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1072 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1073
1074 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1075 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1076
1077 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1078 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1080 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1081
1082 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1084 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1085
1086 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1087 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1088
1089 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1090 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1091 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1092
1093
1094 // C++ version of Python aware wxPanel
1095 class wxPyPanel : public wxPanel
1096 {
1097 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1098 public:
1099 wxPyPanel() : wxPanel() {}
1100 wxPyPanel(wxWindow* parent, const wxWindowID id,
1101 const wxPoint& pos = wxDefaultPosition,
1102 const wxSize& size = wxDefaultSize,
1103 long style = 0,
1104 const wxString& name = wxPyPanelNameStr)
1105 : wxPanel(parent, id, pos, size, style, name) {}
1106
1107 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1108
1109
1110 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1111 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1112 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1113 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1114
1115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1118
1119 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1120 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1121
1122 DEC_PYCALLBACK__(InitDialog);
1123 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1124 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1125 DEC_PYCALLBACK_BOOL_(Validate);
1126
1127 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1128 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1129 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1130
1131 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1132 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1133
1134 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1135 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1136 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1137
1138 PYPRIVATE;
1139 };
1140
1141 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1142
1143 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1144 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1145 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1146 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1147
1148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1151
1152 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1153 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1154
1155 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1156 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1158 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1159
1160 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1162 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1163
1164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1166
1167 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1168 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1169 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1170
1171
1172 // C++ version of Python aware wxScrolledWindow
1173 class wxPyScrolledWindow : public wxScrolledWindow
1174 {
1175 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1176 public:
1177 wxPyScrolledWindow() : wxScrolledWindow() {}
1178 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1179 const wxPoint& pos = wxDefaultPosition,
1180 const wxSize& size = wxDefaultSize,
1181 long style = 0,
1182 const wxString& name = wxPyPanelNameStr)
1183 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1184
1185 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1186
1187 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1188 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1189 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1190 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1191
1192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1195
1196 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1197 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1198
1199 DEC_PYCALLBACK__(InitDialog);
1200 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1201 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1202 DEC_PYCALLBACK_BOOL_(Validate);
1203
1204 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1205 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1206 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1207
1208 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1209 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1210
1211 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1212 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1213 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1214
1215 PYPRIVATE;
1216 };
1217
1218 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1219
1220 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1221 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1222 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1223 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1224
1225 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1228
1229 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1230 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1231
1232 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1233 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1235 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1236
1237 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1239 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1240
1241 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1243
1244 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1245 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1246 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1247
1248
1249
1250 #include "wx/wxPython/printfw.h"
1251
1252
1253 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1254 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1255
1256
1257
1258 // Since this one would be tough and ugly to do with the Macros...
1259 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1260 bool hadErr = False;
1261 bool found;
1262
1263 bool blocked = wxPyBeginBlockThreads();
1264 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1265 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1266 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1267 PyObject* val;
1268
1269 val = PyTuple_GetItem(result, 0);
1270 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1271 else hadErr = True;
1272
1273 val = PyTuple_GetItem(result, 1);
1274 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1275 else hadErr = True;
1276
1277 val = PyTuple_GetItem(result, 2);
1278 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1279 else hadErr = True;
1280
1281 val = PyTuple_GetItem(result, 3);
1282 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1283 else hadErr = True;
1284 }
1285 else
1286 hadErr = True;
1287
1288 if (hadErr) {
1289 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1290 PyErr_Print();
1291 }
1292 Py_DECREF(result);
1293 }
1294 wxPyEndBlockThreads(blocked);
1295 if (! found)
1296 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1297 }
1298
1299 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1300 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1301 }
1302
1303
1304 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1305 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1306 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1307 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1308 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1309 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1310 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1311
1312
1313
1314
1315
1316 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1317 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1318 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1319
1320
1321 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1322 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1323 bool rval=False; \
1324 bool found; \
1325 bool blocked = wxPyBeginBlockThreads(); \
1326 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1327 PyObject* win = wxPyMake_wxObject(a,false); \
1328 PyObject* dc = wxPyMake_wxObject(&b,false); \
1329 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1330 Py_DECREF(win); \
1331 Py_DECREF(dc); \
1332 } \
1333 wxPyEndBlockThreads(blocked); \
1334 if (! found) \
1335 rval = PCLASS::CBNAME(a, b); \
1336 return rval; \
1337 } \
1338 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1339 return PCLASS::CBNAME(a, b); \
1340 }
1341
1342
1343
1344
1345 class wxPyPrintPreview : public wxPrintPreview
1346 {
1347 DECLARE_CLASS(wxPyPrintPreview)
1348 public:
1349 wxPyPrintPreview(wxPyPrintout* printout,
1350 wxPyPrintout* printoutForPrinting,
1351 wxPrintDialogData* data=NULL)
1352 : wxPrintPreview(printout, printoutForPrinting, data)
1353 {}
1354 wxPyPrintPreview(wxPyPrintout* printout,
1355 wxPyPrintout* printoutForPrinting,
1356 wxPrintData* data=NULL)
1357 : wxPrintPreview(printout, printoutForPrinting, data)
1358 {}
1359
1360 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1361 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1362 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1363 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1364 DEC_PYCALLBACK_VOID_INT(SetZoom);
1365 DEC_PYCALLBACK_BOOL_BOOL(Print);
1366 DEC_PYCALLBACK_VOID_(DetermineScaling);
1367
1368 PYPRIVATE;
1369 };
1370
1371 // Stupid renamed classes... Fix this in 2.5...
1372 #if defined(__WXMSW__)
1373 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1374 #elif defined(__WXMAC__)
1375 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1376 #else
1377 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1378 #endif
1379
1380 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1381 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1382 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1383 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1384 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1385 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1386 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1387
1388
1389 class wxPyPreviewFrame : public wxPreviewFrame
1390 {
1391 DECLARE_CLASS(wxPyPreviewFrame);
1392 public:
1393 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1394 const wxString& title,
1395 const wxPoint& pos = wxDefaultPosition,
1396 const wxSize& size = wxDefaultSize,
1397 long style = wxDEFAULT_FRAME_STYLE,
1398 const wxString& name = wxPyFrameNameStr)
1399 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1400 {}
1401
1402 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1403 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1404
1405 DEC_PYCALLBACK_VOID_(Initialize);
1406 DEC_PYCALLBACK_VOID_(CreateCanvas);
1407 DEC_PYCALLBACK_VOID_(CreateControlBar);
1408
1409 PYPRIVATE;
1410 };
1411
1412 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1413
1414 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1415 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1416 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1417
1418
1419 class wxPyPreviewControlBar : public wxPreviewControlBar
1420 {
1421 DECLARE_CLASS(wxPyPreviewControlBar);
1422 public:
1423 wxPyPreviewControlBar(wxPrintPreview *preview,
1424 long buttons,
1425 wxWindow *parent,
1426 const wxPoint& pos = wxDefaultPosition,
1427 const wxSize& size = wxDefaultSize,
1428 long style = 0,
1429 const wxString& name = wxPyPanelNameStr)
1430 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1431 {}
1432
1433 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1434
1435 DEC_PYCALLBACK_VOID_(CreateButtons);
1436 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1437
1438 PYPRIVATE;
1439 };
1440
1441 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1442 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1443 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1444
1445 #ifdef __cplusplus
1446 extern "C" {
1447 #endif
1448 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxWindow *arg1 = (wxWindow *) 0 ;
1451 int arg2 = (int) (int)-1 ;
1452 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1453 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1454 wxSize const &arg4_defvalue = wxDefaultSize ;
1455 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1456 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1457 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1458 wxString *arg6 = (wxString *) &arg6_defvalue ;
1459 wxPanel *result;
1460 wxPoint temp3 ;
1461 wxSize temp4 ;
1462 bool temp6 = False ;
1463 PyObject * obj0 = 0 ;
1464 PyObject * obj1 = 0 ;
1465 PyObject * obj2 = 0 ;
1466 PyObject * obj3 = 0 ;
1467 PyObject * obj4 = 0 ;
1468 PyObject * obj5 = 0 ;
1469 char *kwnames[] = {
1470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1471 };
1472
1473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1476 if (obj1) {
1477 arg2 = (int)SWIG_As_int(obj1);
1478 if (PyErr_Occurred()) SWIG_fail;
1479 }
1480 if (obj2) {
1481 {
1482 arg3 = &temp3;
1483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1484 }
1485 }
1486 if (obj3) {
1487 {
1488 arg4 = &temp4;
1489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1490 }
1491 }
1492 if (obj4) {
1493 arg5 = (long)SWIG_As_long(obj4);
1494 if (PyErr_Occurred()) SWIG_fail;
1495 }
1496 if (obj5) {
1497 {
1498 arg6 = wxString_in_helper(obj5);
1499 if (arg6 == NULL) SWIG_fail;
1500 temp6 = True;
1501 }
1502 }
1503 {
1504 if (!wxPyCheckForApp()) SWIG_fail;
1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
1506 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1507
1508 wxPyEndAllowThreads(__tstate);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1512 {
1513 if (temp6)
1514 delete arg6;
1515 }
1516 return resultobj;
1517 fail:
1518 {
1519 if (temp6)
1520 delete arg6;
1521 }
1522 return NULL;
1523 }
1524
1525
1526 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1527 PyObject *resultobj;
1528 wxPanel *result;
1529 char *kwnames[] = {
1530 NULL
1531 };
1532
1533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1534 {
1535 if (!wxPyCheckForApp()) SWIG_fail;
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 result = (wxPanel *)new wxPanel();
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) SWIG_fail;
1541 }
1542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1543 return resultobj;
1544 fail:
1545 return NULL;
1546 }
1547
1548
1549 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1550 PyObject *resultobj;
1551 wxPanel *arg1 = (wxPanel *) 0 ;
1552 wxWindow *arg2 = (wxWindow *) 0 ;
1553 int arg3 = (int) (int)-1 ;
1554 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1555 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1556 wxSize const &arg5_defvalue = wxDefaultSize ;
1557 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1558 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1559 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1560 wxString *arg7 = (wxString *) &arg7_defvalue ;
1561 bool result;
1562 wxPoint temp4 ;
1563 wxSize temp5 ;
1564 bool temp7 = False ;
1565 PyObject * obj0 = 0 ;
1566 PyObject * obj1 = 0 ;
1567 PyObject * obj2 = 0 ;
1568 PyObject * obj3 = 0 ;
1569 PyObject * obj4 = 0 ;
1570 PyObject * obj5 = 0 ;
1571 PyObject * obj6 = 0 ;
1572 char *kwnames[] = {
1573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1574 };
1575
1576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1581 if (obj2) {
1582 arg3 = (int)SWIG_As_int(obj2);
1583 if (PyErr_Occurred()) SWIG_fail;
1584 }
1585 if (obj3) {
1586 {
1587 arg4 = &temp4;
1588 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1589 }
1590 }
1591 if (obj4) {
1592 {
1593 arg5 = &temp5;
1594 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1595 }
1596 }
1597 if (obj5) {
1598 arg6 = (long)SWIG_As_long(obj5);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 if (obj6) {
1602 {
1603 arg7 = wxString_in_helper(obj6);
1604 if (arg7 == NULL) SWIG_fail;
1605 temp7 = True;
1606 }
1607 }
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 {
1616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1617 }
1618 {
1619 if (temp7)
1620 delete arg7;
1621 }
1622 return resultobj;
1623 fail:
1624 {
1625 if (temp7)
1626 delete arg7;
1627 }
1628 return NULL;
1629 }
1630
1631
1632 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1633 PyObject *resultobj;
1634 wxPanel *arg1 = (wxPanel *) 0 ;
1635 PyObject * obj0 = 0 ;
1636 char *kwnames[] = {
1637 (char *) "self", NULL
1638 };
1639
1640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 (arg1)->InitDialog();
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 Py_INCREF(Py_None); resultobj = Py_None;
1651 return resultobj;
1652 fail:
1653 return NULL;
1654 }
1655
1656
1657 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1658 PyObject *resultobj;
1659 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1660 wxVisualAttributes result;
1661 PyObject * obj0 = 0 ;
1662 char *kwnames[] = {
1663 (char *) "variant", NULL
1664 };
1665
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1667 if (obj0) {
1668 arg1 = (int)SWIG_As_int(obj0);
1669 if (PyErr_Occurred()) SWIG_fail;
1670 }
1671 {
1672 if (!wxPyCheckForApp()) SWIG_fail;
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) SWIG_fail;
1678 }
1679 {
1680 wxVisualAttributes * resultptr;
1681 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1683 }
1684 return resultobj;
1685 fail:
1686 return NULL;
1687 }
1688
1689
1690 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1691 PyObject *obj;
1692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1694 Py_INCREF(obj);
1695 return Py_BuildValue((char *)"");
1696 }
1697 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1698 PyObject *resultobj;
1699 wxWindow *arg1 = (wxWindow *) 0 ;
1700 int arg2 = (int) (int)-1 ;
1701 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1702 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1703 wxSize const &arg4_defvalue = wxDefaultSize ;
1704 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1705 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1706 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1707 wxString *arg6 = (wxString *) &arg6_defvalue ;
1708 wxScrolledWindow *result;
1709 wxPoint temp3 ;
1710 wxSize temp4 ;
1711 bool temp6 = False ;
1712 PyObject * obj0 = 0 ;
1713 PyObject * obj1 = 0 ;
1714 PyObject * obj2 = 0 ;
1715 PyObject * obj3 = 0 ;
1716 PyObject * obj4 = 0 ;
1717 PyObject * obj5 = 0 ;
1718 char *kwnames[] = {
1719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1725 if (obj1) {
1726 arg2 = (int)SWIG_As_int(obj1);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 if (obj2) {
1730 {
1731 arg3 = &temp3;
1732 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1733 }
1734 }
1735 if (obj3) {
1736 {
1737 arg4 = &temp4;
1738 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1739 }
1740 }
1741 if (obj4) {
1742 arg5 = (long)SWIG_As_long(obj4);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 }
1745 if (obj5) {
1746 {
1747 arg6 = wxString_in_helper(obj5);
1748 if (arg6 == NULL) SWIG_fail;
1749 temp6 = True;
1750 }
1751 }
1752 {
1753 if (!wxPyCheckForApp()) SWIG_fail;
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1761 {
1762 if (temp6)
1763 delete arg6;
1764 }
1765 return resultobj;
1766 fail:
1767 {
1768 if (temp6)
1769 delete arg6;
1770 }
1771 return NULL;
1772 }
1773
1774
1775 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1776 PyObject *resultobj;
1777 wxScrolledWindow *result;
1778 char *kwnames[] = {
1779 NULL
1780 };
1781
1782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1783 {
1784 if (!wxPyCheckForApp()) SWIG_fail;
1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
1786 result = (wxScrolledWindow *)new wxScrolledWindow();
1787
1788 wxPyEndAllowThreads(__tstate);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 }
1791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1792 return resultobj;
1793 fail:
1794 return NULL;
1795 }
1796
1797
1798 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1799 PyObject *resultobj;
1800 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1801 wxWindow *arg2 = (wxWindow *) 0 ;
1802 int arg3 = (int) (int)-1 ;
1803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1805 wxSize const &arg5_defvalue = wxDefaultSize ;
1806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1807 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1808 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1809 wxString *arg7 = (wxString *) &arg7_defvalue ;
1810 bool result;
1811 wxPoint temp4 ;
1812 wxSize temp5 ;
1813 bool temp7 = False ;
1814 PyObject * obj0 = 0 ;
1815 PyObject * obj1 = 0 ;
1816 PyObject * obj2 = 0 ;
1817 PyObject * obj3 = 0 ;
1818 PyObject * obj4 = 0 ;
1819 PyObject * obj5 = 0 ;
1820 PyObject * obj6 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1830 if (obj2) {
1831 arg3 = (int)SWIG_As_int(obj2);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 }
1834 if (obj3) {
1835 {
1836 arg4 = &temp4;
1837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1838 }
1839 }
1840 if (obj4) {
1841 {
1842 arg5 = &temp5;
1843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1844 }
1845 }
1846 if (obj5) {
1847 arg6 = (long)SWIG_As_long(obj5);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
1850 if (obj6) {
1851 {
1852 arg7 = wxString_in_helper(obj6);
1853 if (arg7 == NULL) SWIG_fail;
1854 temp7 = True;
1855 }
1856 }
1857 {
1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
1859 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1860
1861 wxPyEndAllowThreads(__tstate);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 }
1864 {
1865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1866 }
1867 {
1868 if (temp7)
1869 delete arg7;
1870 }
1871 return resultobj;
1872 fail:
1873 {
1874 if (temp7)
1875 delete arg7;
1876 }
1877 return NULL;
1878 }
1879
1880
1881 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1882 PyObject *resultobj;
1883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1884 int arg2 ;
1885 int arg3 ;
1886 int arg4 ;
1887 int arg5 ;
1888 int arg6 = (int) 0 ;
1889 int arg7 = (int) 0 ;
1890 bool arg8 = (bool) False ;
1891 PyObject * obj0 = 0 ;
1892 PyObject * obj1 = 0 ;
1893 PyObject * obj2 = 0 ;
1894 PyObject * obj3 = 0 ;
1895 PyObject * obj4 = 0 ;
1896 PyObject * obj5 = 0 ;
1897 PyObject * obj6 = 0 ;
1898 PyObject * obj7 = 0 ;
1899 char *kwnames[] = {
1900 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1901 };
1902
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1906 arg2 = (int)SWIG_As_int(obj1);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 arg3 = (int)SWIG_As_int(obj2);
1909 if (PyErr_Occurred()) SWIG_fail;
1910 arg4 = (int)SWIG_As_int(obj3);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 arg5 = (int)SWIG_As_int(obj4);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 if (obj5) {
1915 arg6 = (int)SWIG_As_int(obj5);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 }
1918 if (obj6) {
1919 arg7 = (int)SWIG_As_int(obj6);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 }
1922 if (obj7) {
1923 arg8 = (bool)SWIG_As_bool(obj7);
1924 if (PyErr_Occurred()) SWIG_fail;
1925 }
1926 {
1927 PyThreadState* __tstate = wxPyBeginAllowThreads();
1928 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1929
1930 wxPyEndAllowThreads(__tstate);
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 Py_INCREF(Py_None); resultobj = Py_None;
1934 return resultobj;
1935 fail:
1936 return NULL;
1937 }
1938
1939
1940 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1943 int arg2 ;
1944 int arg3 ;
1945 PyObject * obj0 = 0 ;
1946 PyObject * obj1 = 0 ;
1947 PyObject * obj2 = 0 ;
1948 char *kwnames[] = {
1949 (char *) "self",(char *) "x",(char *) "y", NULL
1950 };
1951
1952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1955 arg2 = (int)SWIG_As_int(obj1);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 arg3 = (int)SWIG_As_int(obj2);
1958 if (PyErr_Occurred()) SWIG_fail;
1959 {
1960 PyThreadState* __tstate = wxPyBeginAllowThreads();
1961 (arg1)->Scroll(arg2,arg3);
1962
1963 wxPyEndAllowThreads(__tstate);
1964 if (PyErr_Occurred()) SWIG_fail;
1965 }
1966 Py_INCREF(Py_None); resultobj = Py_None;
1967 return resultobj;
1968 fail:
1969 return NULL;
1970 }
1971
1972
1973 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1974 PyObject *resultobj;
1975 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1976 int arg2 ;
1977 int result;
1978 PyObject * obj0 = 0 ;
1979 PyObject * obj1 = 0 ;
1980 char *kwnames[] = {
1981 (char *) "self",(char *) "orient", NULL
1982 };
1983
1984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1987 arg2 = (int)SWIG_As_int(obj1);
1988 if (PyErr_Occurred()) SWIG_fail;
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 resultobj = SWIG_From_int((int)result);
1997 return resultobj;
1998 fail:
1999 return NULL;
2000 }
2001
2002
2003 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2006 int arg2 ;
2007 int arg3 ;
2008 PyObject * obj0 = 0 ;
2009 PyObject * obj1 = 0 ;
2010 PyObject * obj2 = 0 ;
2011 char *kwnames[] = {
2012 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2018 arg2 = (int)SWIG_As_int(obj1);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 arg3 = (int)SWIG_As_int(obj2);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 (arg1)->SetScrollPageSize(arg2,arg3);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 Py_INCREF(Py_None); resultobj = Py_None;
2030 return resultobj;
2031 fail:
2032 return NULL;
2033 }
2034
2035
2036 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2037 PyObject *resultobj;
2038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2039 int arg2 ;
2040 int arg3 ;
2041 PyObject * obj0 = 0 ;
2042 PyObject * obj1 = 0 ;
2043 PyObject * obj2 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2051 arg2 = (int)SWIG_As_int(obj1);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 arg3 = (int)SWIG_As_int(obj2);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 (arg1)->SetScrollRate(arg2,arg3);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 Py_INCREF(Py_None); resultobj = Py_None;
2063 return resultobj;
2064 fail:
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2072 int *arg2 = (int *) 0 ;
2073 int *arg3 = (int *) 0 ;
2074 int temp2 ;
2075 int res2 = 0 ;
2076 int temp3 ;
2077 int res3 = 0 ;
2078 PyObject * obj0 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self", NULL
2081 };
2082
2083 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2084 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 Py_INCREF(Py_None); resultobj = Py_None;
2096 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2097 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2098 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2099 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2100 return resultobj;
2101 fail:
2102 return NULL;
2103 }
2104
2105
2106 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2107 PyObject *resultobj;
2108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2109 bool arg2 ;
2110 bool arg3 ;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113 PyObject * obj2 = 0 ;
2114 char *kwnames[] = {
2115 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2116 };
2117
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2121 arg2 = (bool)SWIG_As_bool(obj1);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 arg3 = (bool)SWIG_As_bool(obj2);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 (arg1)->EnableScrolling(arg2,arg3);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 Py_INCREF(Py_None); resultobj = Py_None;
2133 return resultobj;
2134 fail:
2135 return NULL;
2136 }
2137
2138
2139 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2140 PyObject *resultobj;
2141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2142 int *arg2 = (int *) 0 ;
2143 int *arg3 = (int *) 0 ;
2144 int temp2 ;
2145 int res2 = 0 ;
2146 int temp3 ;
2147 int res3 = 0 ;
2148 PyObject * obj0 = 0 ;
2149 char *kwnames[] = {
2150 (char *) "self", NULL
2151 };
2152
2153 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2154 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 Py_INCREF(Py_None); resultobj = Py_None;
2166 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2167 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2168 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2169 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2170 return resultobj;
2171 fail:
2172 return NULL;
2173 }
2174
2175
2176 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2177 PyObject *resultobj;
2178 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2179 double arg2 ;
2180 double arg3 ;
2181 PyObject * obj0 = 0 ;
2182 PyObject * obj1 = 0 ;
2183 PyObject * obj2 = 0 ;
2184 char *kwnames[] = {
2185 (char *) "self",(char *) "xs",(char *) "ys", NULL
2186 };
2187
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2191 arg2 = (double)SWIG_As_double(obj1);
2192 if (PyErr_Occurred()) SWIG_fail;
2193 arg3 = (double)SWIG_As_double(obj2);
2194 if (PyErr_Occurred()) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 (arg1)->SetScale(arg2,arg3);
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 Py_INCREF(Py_None); resultobj = Py_None;
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2212 double result;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 resultobj = SWIG_From_double((double)result);
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2236 PyObject *resultobj;
2237 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2238 double result;
2239 PyObject * obj0 = 0 ;
2240 char *kwnames[] = {
2241 (char *) "self", NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2247 {
2248 PyThreadState* __tstate = wxPyBeginAllowThreads();
2249 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2250
2251 wxPyEndAllowThreads(__tstate);
2252 if (PyErr_Occurred()) SWIG_fail;
2253 }
2254 resultobj = SWIG_From_double((double)result);
2255 return resultobj;
2256 fail:
2257 return NULL;
2258 }
2259
2260
2261 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2262 PyObject *resultobj;
2263 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2264 wxPoint *arg2 = 0 ;
2265 wxPoint result;
2266 wxPoint temp2 ;
2267 PyObject * obj0 = 0 ;
2268 PyObject * obj1 = 0 ;
2269
2270 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2273 {
2274 arg2 = &temp2;
2275 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2276 }
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 {
2285 wxPoint * resultptr;
2286 resultptr = new wxPoint((wxPoint &) result);
2287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2288 }
2289 return resultobj;
2290 fail:
2291 return NULL;
2292 }
2293
2294
2295 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2296 PyObject *resultobj;
2297 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2298 int arg2 ;
2299 int arg3 ;
2300 int *arg4 = (int *) 0 ;
2301 int *arg5 = (int *) 0 ;
2302 int temp4 ;
2303 int res4 = 0 ;
2304 int temp5 ;
2305 int res5 = 0 ;
2306 PyObject * obj0 = 0 ;
2307 PyObject * obj1 = 0 ;
2308 PyObject * obj2 = 0 ;
2309
2310 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2311 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2312 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2315 arg2 = (int)SWIG_As_int(obj1);
2316 if (PyErr_Occurred()) SWIG_fail;
2317 arg3 = (int)SWIG_As_int(obj2);
2318 if (PyErr_Occurred()) SWIG_fail;
2319 {
2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
2321 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 }
2326 Py_INCREF(Py_None); resultobj = Py_None;
2327 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2328 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2329 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2330 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2331 return resultobj;
2332 fail:
2333 return NULL;
2334 }
2335
2336
2337 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2338 int argc;
2339 PyObject *argv[4];
2340 int ii;
2341
2342 argc = PyObject_Length(args);
2343 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2344 argv[ii] = PyTuple_GetItem(args,ii);
2345 }
2346 if (argc == 2) {
2347 int _v;
2348 {
2349 void *ptr;
2350 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2351 _v = 0;
2352 PyErr_Clear();
2353 } else {
2354 _v = 1;
2355 }
2356 }
2357 if (_v) {
2358 {
2359 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2360 }
2361 if (_v) {
2362 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2363 }
2364 }
2365 }
2366 if (argc == 3) {
2367 int _v;
2368 {
2369 void *ptr;
2370 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2371 _v = 0;
2372 PyErr_Clear();
2373 } else {
2374 _v = 1;
2375 }
2376 }
2377 if (_v) {
2378 _v = SWIG_Check_int(argv[1]);
2379 if (_v) {
2380 _v = SWIG_Check_int(argv[2]);
2381 if (_v) {
2382 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2383 }
2384 }
2385 }
2386 }
2387
2388 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2389 return NULL;
2390 }
2391
2392
2393 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2394 PyObject *resultobj;
2395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2396 wxPoint *arg2 = 0 ;
2397 wxPoint result;
2398 wxPoint temp2 ;
2399 PyObject * obj0 = 0 ;
2400 PyObject * obj1 = 0 ;
2401
2402 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2405 {
2406 arg2 = &temp2;
2407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2408 }
2409 {
2410 PyThreadState* __tstate = wxPyBeginAllowThreads();
2411 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2412
2413 wxPyEndAllowThreads(__tstate);
2414 if (PyErr_Occurred()) SWIG_fail;
2415 }
2416 {
2417 wxPoint * resultptr;
2418 resultptr = new wxPoint((wxPoint &) result);
2419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2420 }
2421 return resultobj;
2422 fail:
2423 return NULL;
2424 }
2425
2426
2427 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2428 PyObject *resultobj;
2429 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2430 int arg2 ;
2431 int arg3 ;
2432 int *arg4 = (int *) 0 ;
2433 int *arg5 = (int *) 0 ;
2434 int temp4 ;
2435 int res4 = 0 ;
2436 int temp5 ;
2437 int res5 = 0 ;
2438 PyObject * obj0 = 0 ;
2439 PyObject * obj1 = 0 ;
2440 PyObject * obj2 = 0 ;
2441
2442 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2443 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2444 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2447 arg2 = (int)SWIG_As_int(obj1);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 arg3 = (int)SWIG_As_int(obj2);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 Py_INCREF(Py_None); resultobj = Py_None;
2459 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2460 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2461 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2462 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2463 return resultobj;
2464 fail:
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2470 int argc;
2471 PyObject *argv[4];
2472 int ii;
2473
2474 argc = PyObject_Length(args);
2475 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2476 argv[ii] = PyTuple_GetItem(args,ii);
2477 }
2478 if (argc == 2) {
2479 int _v;
2480 {
2481 void *ptr;
2482 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2483 _v = 0;
2484 PyErr_Clear();
2485 } else {
2486 _v = 1;
2487 }
2488 }
2489 if (_v) {
2490 {
2491 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2492 }
2493 if (_v) {
2494 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2495 }
2496 }
2497 }
2498 if (argc == 3) {
2499 int _v;
2500 {
2501 void *ptr;
2502 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2503 _v = 0;
2504 PyErr_Clear();
2505 } else {
2506 _v = 1;
2507 }
2508 }
2509 if (_v) {
2510 _v = SWIG_Check_int(argv[1]);
2511 if (_v) {
2512 _v = SWIG_Check_int(argv[2]);
2513 if (_v) {
2514 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2515 }
2516 }
2517 }
2518 }
2519
2520 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2521 return NULL;
2522 }
2523
2524
2525 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2526 PyObject *resultobj;
2527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2528 PyObject * obj0 = 0 ;
2529 char *kwnames[] = {
2530 (char *) "self", NULL
2531 };
2532
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2536 {
2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
2538 (arg1)->AdjustScrollbars();
2539
2540 wxPyEndAllowThreads(__tstate);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 }
2543 Py_INCREF(Py_None); resultobj = Py_None;
2544 return resultobj;
2545 fail:
2546 return NULL;
2547 }
2548
2549
2550 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2551 PyObject *resultobj;
2552 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2553 wxScrollWinEvent *arg2 = 0 ;
2554 int result;
2555 PyObject * obj0 = 0 ;
2556 PyObject * obj1 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self",(char *) "event", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2565 SWIG_POINTER_EXCEPTION | 0)) == -1)
2566 SWIG_fail;
2567 if (arg2 == NULL) {
2568 PyErr_SetString(PyExc_TypeError,"null reference");
2569 SWIG_fail;
2570 }
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 result = (int)(arg1)->CalcScrollInc(*arg2);
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 resultobj = SWIG_From_int((int)result);
2579 return resultobj;
2580 fail:
2581 return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2588 wxWindow *arg2 = (wxWindow *) 0 ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "self",(char *) "target", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2600 {
2601 PyThreadState* __tstate = wxPyBeginAllowThreads();
2602 (arg1)->SetTargetWindow(arg2);
2603
2604 wxPyEndAllowThreads(__tstate);
2605 if (PyErr_Occurred()) SWIG_fail;
2606 }
2607 Py_INCREF(Py_None); resultobj = Py_None;
2608 return resultobj;
2609 fail:
2610 return NULL;
2611 }
2612
2613
2614 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2615 PyObject *resultobj;
2616 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2617 wxWindow *result;
2618 PyObject * obj0 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "self", NULL
2621 };
2622
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2626 {
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
2628 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 }
2633 {
2634 resultobj = wxPyMake_wxObject(result, 0);
2635 }
2636 return resultobj;
2637 fail:
2638 return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2645 wxDC *arg2 = 0 ;
2646 PyObject * obj0 = 0 ;
2647 PyObject * obj1 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "self",(char *) "dc", NULL
2650 };
2651
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2656 SWIG_POINTER_EXCEPTION | 0)) == -1)
2657 SWIG_fail;
2658 if (arg2 == NULL) {
2659 PyErr_SetString(PyExc_TypeError,"null reference");
2660 SWIG_fail;
2661 }
2662 {
2663 PyThreadState* __tstate = wxPyBeginAllowThreads();
2664 (arg1)->DoPrepareDC(*arg2);
2665
2666 wxPyEndAllowThreads(__tstate);
2667 if (PyErr_Occurred()) SWIG_fail;
2668 }
2669 Py_INCREF(Py_None); resultobj = Py_None;
2670 return resultobj;
2671 fail:
2672 return NULL;
2673 }
2674
2675
2676 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2677 PyObject *resultobj;
2678 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2679 wxVisualAttributes result;
2680 PyObject * obj0 = 0 ;
2681 char *kwnames[] = {
2682 (char *) "variant", NULL
2683 };
2684
2685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2686 if (obj0) {
2687 arg1 = (int)SWIG_As_int(obj0);
2688 if (PyErr_Occurred()) SWIG_fail;
2689 }
2690 {
2691 if (!wxPyCheckForApp()) SWIG_fail;
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 {
2699 wxVisualAttributes * resultptr;
2700 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2702 }
2703 return resultobj;
2704 fail:
2705 return NULL;
2706 }
2707
2708
2709 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2710 PyObject *obj;
2711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2712 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2713 Py_INCREF(obj);
2714 return Py_BuildValue((char *)"");
2715 }
2716 static int _wrap_FrameNameStr_set(PyObject *) {
2717 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2718 return 1;
2719 }
2720
2721
2722 static PyObject *_wrap_FrameNameStr_get() {
2723 PyObject *pyobj;
2724
2725 {
2726 #if wxUSE_UNICODE
2727 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2728 #else
2729 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2730 #endif
2731 }
2732 return pyobj;
2733 }
2734
2735
2736 static int _wrap_DialogNameStr_set(PyObject *) {
2737 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2738 return 1;
2739 }
2740
2741
2742 static PyObject *_wrap_DialogNameStr_get() {
2743 PyObject *pyobj;
2744
2745 {
2746 #if wxUSE_UNICODE
2747 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2748 #else
2749 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2750 #endif
2751 }
2752 return pyobj;
2753 }
2754
2755
2756 static int _wrap_StatusLineNameStr_set(PyObject *) {
2757 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2758 return 1;
2759 }
2760
2761
2762 static PyObject *_wrap_StatusLineNameStr_get() {
2763 PyObject *pyobj;
2764
2765 {
2766 #if wxUSE_UNICODE
2767 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2768 #else
2769 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2770 #endif
2771 }
2772 return pyobj;
2773 }
2774
2775
2776 static int _wrap_ToolBarNameStr_set(PyObject *) {
2777 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2778 return 1;
2779 }
2780
2781
2782 static PyObject *_wrap_ToolBarNameStr_get() {
2783 PyObject *pyobj;
2784
2785 {
2786 #if wxUSE_UNICODE
2787 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2788 #else
2789 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2790 #endif
2791 }
2792 return pyobj;
2793 }
2794
2795
2796 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2797 PyObject *resultobj;
2798 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2799 bool arg2 = (bool) True ;
2800 PyObject * obj0 = 0 ;
2801 PyObject * obj1 = 0 ;
2802 char *kwnames[] = {
2803 (char *) "self",(char *) "maximize", NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2809 if (obj1) {
2810 arg2 = (bool)SWIG_As_bool(obj1);
2811 if (PyErr_Occurred()) SWIG_fail;
2812 }
2813 {
2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
2815 (arg1)->Maximize(arg2);
2816
2817 wxPyEndAllowThreads(__tstate);
2818 if (PyErr_Occurred()) SWIG_fail;
2819 }
2820 Py_INCREF(Py_None); resultobj = Py_None;
2821 return resultobj;
2822 fail:
2823 return NULL;
2824 }
2825
2826
2827 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2828 PyObject *resultobj;
2829 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2830 PyObject * obj0 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "self", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 (arg1)->Restore();
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 Py_INCREF(Py_None); resultobj = Py_None;
2846 return resultobj;
2847 fail:
2848 return NULL;
2849 }
2850
2851
2852 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2855 bool arg2 = (bool) True ;
2856 PyObject * obj0 = 0 ;
2857 PyObject * obj1 = 0 ;
2858 char *kwnames[] = {
2859 (char *) "self",(char *) "iconize", NULL
2860 };
2861
2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2865 if (obj1) {
2866 arg2 = (bool)SWIG_As_bool(obj1);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2869 {
2870 PyThreadState* __tstate = wxPyBeginAllowThreads();
2871 (arg1)->Iconize(arg2);
2872
2873 wxPyEndAllowThreads(__tstate);
2874 if (PyErr_Occurred()) SWIG_fail;
2875 }
2876 Py_INCREF(Py_None); resultobj = Py_None;
2877 return resultobj;
2878 fail:
2879 return NULL;
2880 }
2881
2882
2883 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2884 PyObject *resultobj;
2885 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2886 bool result;
2887 PyObject * obj0 = 0 ;
2888 char *kwnames[] = {
2889 (char *) "self", NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",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 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2898
2899 wxPyEndAllowThreads(__tstate);
2900 if (PyErr_Occurred()) SWIG_fail;
2901 }
2902 {
2903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2904 }
2905 return resultobj;
2906 fail:
2907 return NULL;
2908 }
2909
2910
2911 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2912 PyObject *resultobj;
2913 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2914 bool result;
2915 PyObject * obj0 = 0 ;
2916 char *kwnames[] = {
2917 (char *) "self", NULL
2918 };
2919
2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2923 {
2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
2925 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2926
2927 wxPyEndAllowThreads(__tstate);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 {
2931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2932 }
2933 return resultobj;
2934 fail:
2935 return NULL;
2936 }
2937
2938
2939 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2940 PyObject *resultobj;
2941 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2942 wxIcon result;
2943 PyObject * obj0 = 0 ;
2944 char *kwnames[] = {
2945 (char *) "self", NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2951 {
2952 PyThreadState* __tstate = wxPyBeginAllowThreads();
2953 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2954
2955 wxPyEndAllowThreads(__tstate);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 {
2959 wxIcon * resultptr;
2960 resultptr = new wxIcon((wxIcon &) result);
2961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2962 }
2963 return resultobj;
2964 fail:
2965 return NULL;
2966 }
2967
2968
2969 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2970 PyObject *resultobj;
2971 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2972 wxIcon *arg2 = 0 ;
2973 PyObject * obj0 = 0 ;
2974 PyObject * obj1 = 0 ;
2975 char *kwnames[] = {
2976 (char *) "self",(char *) "icon", NULL
2977 };
2978
2979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2983 SWIG_POINTER_EXCEPTION | 0)) == -1)
2984 SWIG_fail;
2985 if (arg2 == NULL) {
2986 PyErr_SetString(PyExc_TypeError,"null reference");
2987 SWIG_fail;
2988 }
2989 {
2990 PyThreadState* __tstate = wxPyBeginAllowThreads();
2991 (arg1)->SetIcon((wxIcon const &)*arg2);
2992
2993 wxPyEndAllowThreads(__tstate);
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 Py_INCREF(Py_None); resultobj = Py_None;
2997 return resultobj;
2998 fail:
2999 return NULL;
3000 }
3001
3002
3003 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3004 PyObject *resultobj;
3005 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3006 wxIconBundle *arg2 = 0 ;
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj1 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self",(char *) "icons", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3017 SWIG_POINTER_EXCEPTION | 0)) == -1)
3018 SWIG_fail;
3019 if (arg2 == NULL) {
3020 PyErr_SetString(PyExc_TypeError,"null reference");
3021 SWIG_fail;
3022 }
3023 {
3024 PyThreadState* __tstate = wxPyBeginAllowThreads();
3025 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3026
3027 wxPyEndAllowThreads(__tstate);
3028 if (PyErr_Occurred()) SWIG_fail;
3029 }
3030 Py_INCREF(Py_None); resultobj = Py_None;
3031 return resultobj;
3032 fail:
3033 return NULL;
3034 }
3035
3036
3037 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3038 PyObject *resultobj;
3039 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3040 bool arg2 ;
3041 long arg3 = (long) wxFULLSCREEN_ALL ;
3042 bool result;
3043 PyObject * obj0 = 0 ;
3044 PyObject * obj1 = 0 ;
3045 PyObject * obj2 = 0 ;
3046 char *kwnames[] = {
3047 (char *) "self",(char *) "show",(char *) "style", NULL
3048 };
3049
3050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3053 arg2 = (bool)SWIG_As_bool(obj1);
3054 if (PyErr_Occurred()) SWIG_fail;
3055 if (obj2) {
3056 arg3 = (long)SWIG_As_long(obj2);
3057 if (PyErr_Occurred()) SWIG_fail;
3058 }
3059 {
3060 PyThreadState* __tstate = wxPyBeginAllowThreads();
3061 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3062
3063 wxPyEndAllowThreads(__tstate);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 }
3066 {
3067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3068 }
3069 return resultobj;
3070 fail:
3071 return NULL;
3072 }
3073
3074
3075 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3076 PyObject *resultobj;
3077 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3078 bool result;
3079 PyObject * obj0 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "self", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3087 {
3088 PyThreadState* __tstate = wxPyBeginAllowThreads();
3089 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3090
3091 wxPyEndAllowThreads(__tstate);
3092 if (PyErr_Occurred()) SWIG_fail;
3093 }
3094 {
3095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3096 }
3097 return resultobj;
3098 fail:
3099 return NULL;
3100 }
3101
3102
3103 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj;
3105 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3106 wxString *arg2 = 0 ;
3107 bool temp2 = False ;
3108 PyObject * obj0 = 0 ;
3109 PyObject * obj1 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self",(char *) "title", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3117 {
3118 arg2 = wxString_in_helper(obj1);
3119 if (arg2 == NULL) SWIG_fail;
3120 temp2 = True;
3121 }
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 (arg1)->SetTitle((wxString const &)*arg2);
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 Py_INCREF(Py_None); resultobj = Py_None;
3130 {
3131 if (temp2)
3132 delete arg2;
3133 }
3134 return resultobj;
3135 fail:
3136 {
3137 if (temp2)
3138 delete arg2;
3139 }
3140 return NULL;
3141 }
3142
3143
3144 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3145 PyObject *resultobj;
3146 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3147 wxString result;
3148 PyObject * obj0 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 {
3164 #if wxUSE_UNICODE
3165 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3166 #else
3167 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3168 #endif
3169 }
3170 return resultobj;
3171 fail:
3172 return NULL;
3173 }
3174
3175
3176 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3177 PyObject *resultobj;
3178 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3179 wxRegion *arg2 = 0 ;
3180 bool result;
3181 PyObject * obj0 = 0 ;
3182 PyObject * obj1 = 0 ;
3183 char *kwnames[] = {
3184 (char *) "self",(char *) "region", NULL
3185 };
3186
3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3191 SWIG_POINTER_EXCEPTION | 0)) == -1)
3192 SWIG_fail;
3193 if (arg2 == NULL) {
3194 PyErr_SetString(PyExc_TypeError,"null reference");
3195 SWIG_fail;
3196 }
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3200
3201 wxPyEndAllowThreads(__tstate);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 }
3204 {
3205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3206 }
3207 return resultobj;
3208 fail:
3209 return NULL;
3210 }
3211
3212
3213 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3214 PyObject *resultobj;
3215 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3216 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3217 PyObject * obj0 = 0 ;
3218 PyObject * obj1 = 0 ;
3219 char *kwnames[] = {
3220 (char *) "self",(char *) "flags", NULL
3221 };
3222
3223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3226 if (obj1) {
3227 arg2 = (int)SWIG_As_int(obj1);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 {
3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
3232 (arg1)->RequestUserAttention(arg2);
3233
3234 wxPyEndAllowThreads(__tstate);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 Py_INCREF(Py_None); resultobj = Py_None;
3238 return resultobj;
3239 fail:
3240 return NULL;
3241 }
3242
3243
3244 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3245 PyObject *obj;
3246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3247 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3248 Py_INCREF(obj);
3249 return Py_BuildValue((char *)"");
3250 }
3251 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 wxWindow *arg1 = (wxWindow *) 0 ;
3254 int arg2 = (int) (int)-1 ;
3255 wxString const &arg3_defvalue = wxPyEmptyString ;
3256 wxString *arg3 = (wxString *) &arg3_defvalue ;
3257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3259 wxSize const &arg5_defvalue = wxDefaultSize ;
3260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3261 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3262 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3263 wxString *arg7 = (wxString *) &arg7_defvalue ;
3264 wxFrame *result;
3265 bool temp3 = False ;
3266 wxPoint temp4 ;
3267 wxSize temp5 ;
3268 bool temp7 = False ;
3269 PyObject * obj0 = 0 ;
3270 PyObject * obj1 = 0 ;
3271 PyObject * obj2 = 0 ;
3272 PyObject * obj3 = 0 ;
3273 PyObject * obj4 = 0 ;
3274 PyObject * obj5 = 0 ;
3275 PyObject * obj6 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
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 if (obj2) {
3288 {
3289 arg3 = wxString_in_helper(obj2);
3290 if (arg3 == NULL) SWIG_fail;
3291 temp3 = True;
3292 }
3293 }
3294 if (obj3) {
3295 {
3296 arg4 = &temp4;
3297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3298 }
3299 }
3300 if (obj4) {
3301 {
3302 arg5 = &temp5;
3303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3304 }
3305 }
3306 if (obj5) {
3307 arg6 = (long)SWIG_As_long(obj5);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
3310 if (obj6) {
3311 {
3312 arg7 = wxString_in_helper(obj6);
3313 if (arg7 == NULL) SWIG_fail;
3314 temp7 = True;
3315 }
3316 }
3317 {
3318 if (!wxPyCheckForApp()) SWIG_fail;
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3326 {
3327 if (temp3)
3328 delete arg3;
3329 }
3330 {
3331 if (temp7)
3332 delete arg7;
3333 }
3334 return resultobj;
3335 fail:
3336 {
3337 if (temp3)
3338 delete arg3;
3339 }
3340 {
3341 if (temp7)
3342 delete arg7;
3343 }
3344 return NULL;
3345 }
3346
3347
3348 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3349 PyObject *resultobj;
3350 wxFrame *result;
3351 char *kwnames[] = {
3352 NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3356 {
3357 if (!wxPyCheckForApp()) SWIG_fail;
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 result = (wxFrame *)new wxFrame();
3360
3361 wxPyEndAllowThreads(__tstate);
3362 if (PyErr_Occurred()) SWIG_fail;
3363 }
3364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3365 return resultobj;
3366 fail:
3367 return NULL;
3368 }
3369
3370
3371 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3372 PyObject *resultobj;
3373 wxFrame *arg1 = (wxFrame *) 0 ;
3374 wxWindow *arg2 = (wxWindow *) 0 ;
3375 int arg3 = (int) (int)-1 ;
3376 wxString const &arg4_defvalue = wxPyEmptyString ;
3377 wxString *arg4 = (wxString *) &arg4_defvalue ;
3378 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3379 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3380 wxSize const &arg6_defvalue = wxDefaultSize ;
3381 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3382 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3383 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3384 wxString *arg8 = (wxString *) &arg8_defvalue ;
3385 bool result;
3386 bool temp4 = False ;
3387 wxPoint temp5 ;
3388 wxSize temp6 ;
3389 bool temp8 = False ;
3390 PyObject * obj0 = 0 ;
3391 PyObject * obj1 = 0 ;
3392 PyObject * obj2 = 0 ;
3393 PyObject * obj3 = 0 ;
3394 PyObject * obj4 = 0 ;
3395 PyObject * obj5 = 0 ;
3396 PyObject * obj6 = 0 ;
3397 PyObject * obj7 = 0 ;
3398 char *kwnames[] = {
3399 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3400 };
3401
3402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3407 if (obj2) {
3408 arg3 = (int)SWIG_As_int(obj2);
3409 if (PyErr_Occurred()) SWIG_fail;
3410 }
3411 if (obj3) {
3412 {
3413 arg4 = wxString_in_helper(obj3);
3414 if (arg4 == NULL) SWIG_fail;
3415 temp4 = True;
3416 }
3417 }
3418 if (obj4) {
3419 {
3420 arg5 = &temp5;
3421 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3422 }
3423 }
3424 if (obj5) {
3425 {
3426 arg6 = &temp6;
3427 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3428 }
3429 }
3430 if (obj6) {
3431 arg7 = (long)SWIG_As_long(obj6);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 if (obj7) {
3435 {
3436 arg8 = wxString_in_helper(obj7);
3437 if (arg8 == NULL) SWIG_fail;
3438 temp8 = True;
3439 }
3440 }
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 {
3449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3450 }
3451 {
3452 if (temp4)
3453 delete arg4;
3454 }
3455 {
3456 if (temp8)
3457 delete arg8;
3458 }
3459 return resultobj;
3460 fail:
3461 {
3462 if (temp4)
3463 delete arg4;
3464 }
3465 {
3466 if (temp8)
3467 delete arg8;
3468 }
3469 return NULL;
3470 }
3471
3472
3473 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxFrame *arg1 = (wxFrame *) 0 ;
3476 wxPoint result;
3477 PyObject * obj0 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "self", NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3485 {
3486 PyThreadState* __tstate = wxPyBeginAllowThreads();
3487 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3488
3489 wxPyEndAllowThreads(__tstate);
3490 if (PyErr_Occurred()) SWIG_fail;
3491 }
3492 {
3493 wxPoint * resultptr;
3494 resultptr = new wxPoint((wxPoint &) result);
3495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3496 }
3497 return resultobj;
3498 fail:
3499 return NULL;
3500 }
3501
3502
3503 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3504 PyObject *resultobj;
3505 wxFrame *arg1 = (wxFrame *) 0 ;
3506 PyObject * obj0 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "self", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 (arg1)->SendSizeEvent();
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 Py_INCREF(Py_None); resultobj = Py_None;
3522 return resultobj;
3523 fail:
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxFrame *arg1 = (wxFrame *) 0 ;
3531 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3532 PyObject * obj0 = 0 ;
3533 PyObject * obj1 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self",(char *) "menubar", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 (arg1)->SetMenuBar(arg2);
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 Py_INCREF(Py_None); resultobj = Py_None;
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxFrame *arg1 = (wxFrame *) 0 ;
3560 wxMenuBar *result;
3561 PyObject * obj0 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 {
3577 resultobj = wxPyMake_wxObject(result, 0);
3578 }
3579 return resultobj;
3580 fail:
3581 return NULL;
3582 }
3583
3584
3585 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3586 PyObject *resultobj;
3587 wxFrame *arg1 = (wxFrame *) 0 ;
3588 int arg2 ;
3589 bool result;
3590 PyObject * obj0 = 0 ;
3591 PyObject * obj1 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self",(char *) "winid", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3599 arg2 = (int)SWIG_As_int(obj1);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3603 result = (bool)(arg1)->ProcessCommand(arg2);
3604
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 {
3609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3610 }
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxFrame *arg1 = (wxFrame *) 0 ;
3620 int arg2 = (int) 1 ;
3621 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3622 int arg4 = (int) 0 ;
3623 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3624 wxString *arg5 = (wxString *) &arg5_defvalue ;
3625 wxStatusBar *result;
3626 bool temp5 = False ;
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 PyObject * obj2 = 0 ;
3630 PyObject * obj3 = 0 ;
3631 PyObject * obj4 = 0 ;
3632 char *kwnames[] = {
3633 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3634 };
3635
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3639 if (obj1) {
3640 arg2 = (int)SWIG_As_int(obj1);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
3643 if (obj2) {
3644 arg3 = (long)SWIG_As_long(obj2);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 if (obj3) {
3648 arg4 = (int)SWIG_As_int(obj3);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 if (obj4) {
3652 {
3653 arg5 = wxString_in_helper(obj4);
3654 if (arg5 == NULL) SWIG_fail;
3655 temp5 = True;
3656 }
3657 }
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 {
3666 resultobj = wxPyMake_wxObject(result, 0);
3667 }
3668 {
3669 if (temp5)
3670 delete arg5;
3671 }
3672 return resultobj;
3673 fail:
3674 {
3675 if (temp5)
3676 delete arg5;
3677 }
3678 return NULL;
3679 }
3680
3681
3682 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3683 PyObject *resultobj;
3684 wxFrame *arg1 = (wxFrame *) 0 ;
3685 wxStatusBar *result;
3686 PyObject * obj0 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 {
3702 resultobj = wxPyMake_wxObject(result, 0);
3703 }
3704 return resultobj;
3705 fail:
3706 return NULL;
3707 }
3708
3709
3710 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxFrame *arg1 = (wxFrame *) 0 ;
3713 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3714 PyObject * obj0 = 0 ;
3715 PyObject * obj1 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self",(char *) "statBar", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3725 {
3726 PyThreadState* __tstate = wxPyBeginAllowThreads();
3727 (arg1)->SetStatusBar(arg2);
3728
3729 wxPyEndAllowThreads(__tstate);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
3732 Py_INCREF(Py_None); resultobj = Py_None;
3733 return resultobj;
3734 fail:
3735 return NULL;
3736 }
3737
3738
3739 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3740 PyObject *resultobj;
3741 wxFrame *arg1 = (wxFrame *) 0 ;
3742 wxString *arg2 = 0 ;
3743 int arg3 = (int) 0 ;
3744 bool temp2 = False ;
3745 PyObject * obj0 = 0 ;
3746 PyObject * obj1 = 0 ;
3747 PyObject * obj2 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "self",(char *) "text",(char *) "number", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3755 {
3756 arg2 = wxString_in_helper(obj1);
3757 if (arg2 == NULL) SWIG_fail;
3758 temp2 = True;
3759 }
3760 if (obj2) {
3761 arg3 = (int)SWIG_As_int(obj2);
3762 if (PyErr_Occurred()) SWIG_fail;
3763 }
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 Py_INCREF(Py_None); resultobj = Py_None;
3772 {
3773 if (temp2)
3774 delete arg2;
3775 }
3776 return resultobj;
3777 fail:
3778 {
3779 if (temp2)
3780 delete arg2;
3781 }
3782 return NULL;
3783 }
3784
3785
3786 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3787 PyObject *resultobj;
3788 wxFrame *arg1 = (wxFrame *) 0 ;
3789 int arg2 ;
3790 int *arg3 = (int *) 0 ;
3791 PyObject * obj0 = 0 ;
3792 PyObject * obj1 = 0 ;
3793 char *kwnames[] = {
3794 (char *) "self",(char *) "widths", NULL
3795 };
3796
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3800 {
3801 arg2 = PyList_Size(obj1);
3802 arg3 = int_LIST_helper(obj1);
3803 if (arg3 == NULL) SWIG_fail;
3804 }
3805 {
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
3807 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3808
3809 wxPyEndAllowThreads(__tstate);
3810 if (PyErr_Occurred()) SWIG_fail;
3811 }
3812 Py_INCREF(Py_None); resultobj = Py_None;
3813 {
3814 if (arg3) delete [] arg3;
3815 }
3816 return resultobj;
3817 fail:
3818 {
3819 if (arg3) delete [] arg3;
3820 }
3821 return NULL;
3822 }
3823
3824
3825 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj;
3827 wxFrame *arg1 = (wxFrame *) 0 ;
3828 wxString *arg2 = 0 ;
3829 int arg3 = (int) 0 ;
3830 bool temp2 = False ;
3831 PyObject * obj0 = 0 ;
3832 PyObject * obj1 = 0 ;
3833 PyObject * obj2 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self",(char *) "text",(char *) "number", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3841 {
3842 arg2 = wxString_in_helper(obj1);
3843 if (arg2 == NULL) SWIG_fail;
3844 temp2 = True;
3845 }
3846 if (obj2) {
3847 arg3 = (int)SWIG_As_int(obj2);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 }
3857 Py_INCREF(Py_None); resultobj = Py_None;
3858 {
3859 if (temp2)
3860 delete arg2;
3861 }
3862 return resultobj;
3863 fail:
3864 {
3865 if (temp2)
3866 delete arg2;
3867 }
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxFrame *arg1 = (wxFrame *) 0 ;
3875 int arg2 = (int) 0 ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
3878 char *kwnames[] = {
3879 (char *) "self",(char *) "number", NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3885 if (obj1) {
3886 arg2 = (int)SWIG_As_int(obj1);
3887 if (PyErr_Occurred()) SWIG_fail;
3888 }
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 (arg1)->PopStatusText(arg2);
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 Py_INCREF(Py_None); resultobj = Py_None;
3897 return resultobj;
3898 fail:
3899 return NULL;
3900 }
3901
3902
3903 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 wxFrame *arg1 = (wxFrame *) 0 ;
3906 int arg2 ;
3907 PyObject * obj0 = 0 ;
3908 PyObject * obj1 = 0 ;
3909 char *kwnames[] = {
3910 (char *) "self",(char *) "n", NULL
3911 };
3912
3913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3916 arg2 = (int)SWIG_As_int(obj1);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 (arg1)->SetStatusBarPane(arg2);
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 Py_INCREF(Py_None); resultobj = Py_None;
3926 return resultobj;
3927 fail:
3928 return NULL;
3929 }
3930
3931
3932 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3933 PyObject *resultobj;
3934 wxFrame *arg1 = (wxFrame *) 0 ;
3935 int result;
3936 PyObject * obj0 = 0 ;
3937 char *kwnames[] = {
3938 (char *) "self", NULL
3939 };
3940
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3947
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 resultobj = SWIG_From_int((int)result);
3952 return resultobj;
3953 fail:
3954 return NULL;
3955 }
3956
3957
3958 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj;
3960 wxFrame *arg1 = (wxFrame *) 0 ;
3961 long arg2 = (long) -1 ;
3962 int arg3 = (int) -1 ;
3963 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3964 wxString *arg4 = (wxString *) &arg4_defvalue ;
3965 wxToolBar *result;
3966 bool temp4 = False ;
3967 PyObject * obj0 = 0 ;
3968 PyObject * obj1 = 0 ;
3969 PyObject * obj2 = 0 ;
3970 PyObject * obj3 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3978 if (obj1) {
3979 arg2 = (long)SWIG_As_long(obj1);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 if (obj2) {
3983 arg3 = (int)SWIG_As_int(obj2);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 if (obj3) {
3987 {
3988 arg4 = wxString_in_helper(obj3);
3989 if (arg4 == NULL) SWIG_fail;
3990 temp4 = True;
3991 }
3992 }
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
3995 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3996
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 {
4001 resultobj = wxPyMake_wxObject(result, 0);
4002 }
4003 {
4004 if (temp4)
4005 delete arg4;
4006 }
4007 return resultobj;
4008 fail:
4009 {
4010 if (temp4)
4011 delete arg4;
4012 }
4013 return NULL;
4014 }
4015
4016
4017 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4018 PyObject *resultobj;
4019 wxFrame *arg1 = (wxFrame *) 0 ;
4020 wxToolBar *result;
4021 PyObject * obj0 = 0 ;
4022 char *kwnames[] = {
4023 (char *) "self", NULL
4024 };
4025
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4029 {
4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
4031 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4032
4033 wxPyEndAllowThreads(__tstate);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 {
4037 resultobj = wxPyMake_wxObject(result, 0);
4038 }
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxFrame *arg1 = (wxFrame *) 0 ;
4048 wxToolBar *arg2 = (wxToolBar *) 0 ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj1 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self",(char *) "toolbar", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4060 {
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 (arg1)->SetToolBar(arg2);
4063
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 Py_INCREF(Py_None); resultobj = Py_None;
4068 return resultobj;
4069 fail:
4070 return NULL;
4071 }
4072
4073
4074 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4075 PyObject *resultobj;
4076 wxFrame *arg1 = (wxFrame *) 0 ;
4077 wxString *arg2 = 0 ;
4078 bool arg3 ;
4079 bool temp2 = False ;
4080 PyObject * obj0 = 0 ;
4081 PyObject * obj1 = 0 ;
4082 PyObject * obj2 = 0 ;
4083 char *kwnames[] = {
4084 (char *) "self",(char *) "text",(char *) "show", NULL
4085 };
4086
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4090 {
4091 arg2 = wxString_in_helper(obj1);
4092 if (arg2 == NULL) SWIG_fail;
4093 temp2 = True;
4094 }
4095 arg3 = (bool)SWIG_As_bool(obj2);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 Py_INCREF(Py_None); resultobj = Py_None;
4105 {
4106 if (temp2)
4107 delete arg2;
4108 }
4109 return resultobj;
4110 fail:
4111 {
4112 if (temp2)
4113 delete arg2;
4114 }
4115 return NULL;
4116 }
4117
4118
4119 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4120 PyObject *resultobj;
4121 wxFrame *arg1 = (wxFrame *) 0 ;
4122 wxMenu *arg2 = (wxMenu *) NULL ;
4123 PyObject * obj0 = 0 ;
4124 PyObject * obj1 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self",(char *) "menu", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4132 if (obj1) {
4133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4135 }
4136 {
4137 PyThreadState* __tstate = wxPyBeginAllowThreads();
4138 (arg1)->DoMenuUpdates(arg2);
4139
4140 wxPyEndAllowThreads(__tstate);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 }
4143 Py_INCREF(Py_None); resultobj = Py_None;
4144 return resultobj;
4145 fail:
4146 return NULL;
4147 }
4148
4149
4150 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4151 PyObject *resultobj;
4152 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4153 wxVisualAttributes result;
4154 PyObject * obj0 = 0 ;
4155 char *kwnames[] = {
4156 (char *) "variant", NULL
4157 };
4158
4159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4160 if (obj0) {
4161 arg1 = (int)SWIG_As_int(obj0);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 {
4165 if (!wxPyCheckForApp()) SWIG_fail;
4166 PyThreadState* __tstate = wxPyBeginAllowThreads();
4167 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4168
4169 wxPyEndAllowThreads(__tstate);
4170 if (PyErr_Occurred()) SWIG_fail;
4171 }
4172 {
4173 wxVisualAttributes * resultptr;
4174 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4175 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4176 }
4177 return resultobj;
4178 fail:
4179 return NULL;
4180 }
4181
4182
4183 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4184 PyObject *obj;
4185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4186 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4187 Py_INCREF(obj);
4188 return Py_BuildValue((char *)"");
4189 }
4190 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4191 PyObject *resultobj;
4192 wxWindow *arg1 = (wxWindow *) 0 ;
4193 int arg2 = (int) (int)-1 ;
4194 wxString const &arg3_defvalue = wxPyEmptyString ;
4195 wxString *arg3 = (wxString *) &arg3_defvalue ;
4196 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4197 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4198 wxSize const &arg5_defvalue = wxDefaultSize ;
4199 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4200 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4201 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4202 wxString *arg7 = (wxString *) &arg7_defvalue ;
4203 wxDialog *result;
4204 bool temp3 = False ;
4205 wxPoint temp4 ;
4206 wxSize temp5 ;
4207 bool temp7 = False ;
4208 PyObject * obj0 = 0 ;
4209 PyObject * obj1 = 0 ;
4210 PyObject * obj2 = 0 ;
4211 PyObject * obj3 = 0 ;
4212 PyObject * obj4 = 0 ;
4213 PyObject * obj5 = 0 ;
4214 PyObject * obj6 = 0 ;
4215 char *kwnames[] = {
4216 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4217 };
4218
4219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4222 if (obj1) {
4223 arg2 = (int)SWIG_As_int(obj1);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 if (obj2) {
4227 {
4228 arg3 = wxString_in_helper(obj2);
4229 if (arg3 == NULL) SWIG_fail;
4230 temp3 = True;
4231 }
4232 }
4233 if (obj3) {
4234 {
4235 arg4 = &temp4;
4236 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4237 }
4238 }
4239 if (obj4) {
4240 {
4241 arg5 = &temp5;
4242 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4243 }
4244 }
4245 if (obj5) {
4246 arg6 = (long)SWIG_As_long(obj5);
4247 if (PyErr_Occurred()) SWIG_fail;
4248 }
4249 if (obj6) {
4250 {
4251 arg7 = wxString_in_helper(obj6);
4252 if (arg7 == NULL) SWIG_fail;
4253 temp7 = True;
4254 }
4255 }
4256 {
4257 if (!wxPyCheckForApp()) SWIG_fail;
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4260
4261 wxPyEndAllowThreads(__tstate);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4265 {
4266 if (temp3)
4267 delete arg3;
4268 }
4269 {
4270 if (temp7)
4271 delete arg7;
4272 }
4273 return resultobj;
4274 fail:
4275 {
4276 if (temp3)
4277 delete arg3;
4278 }
4279 {
4280 if (temp7)
4281 delete arg7;
4282 }
4283 return NULL;
4284 }
4285
4286
4287 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4288 PyObject *resultobj;
4289 wxDialog *result;
4290 char *kwnames[] = {
4291 NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4295 {
4296 if (!wxPyCheckForApp()) SWIG_fail;
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 result = (wxDialog *)new wxDialog();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxDialog *arg1 = (wxDialog *) 0 ;
4313 wxWindow *arg2 = (wxWindow *) 0 ;
4314 int arg3 = (int) (int)-1 ;
4315 wxString const &arg4_defvalue = wxPyEmptyString ;
4316 wxString *arg4 = (wxString *) &arg4_defvalue ;
4317 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4318 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4319 wxSize const &arg6_defvalue = wxDefaultSize ;
4320 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4321 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4322 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4323 wxString *arg8 = (wxString *) &arg8_defvalue ;
4324 bool result;
4325 bool temp4 = False ;
4326 wxPoint temp5 ;
4327 wxSize temp6 ;
4328 bool temp8 = False ;
4329 PyObject * obj0 = 0 ;
4330 PyObject * obj1 = 0 ;
4331 PyObject * obj2 = 0 ;
4332 PyObject * obj3 = 0 ;
4333 PyObject * obj4 = 0 ;
4334 PyObject * obj5 = 0 ;
4335 PyObject * obj6 = 0 ;
4336 PyObject * obj7 = 0 ;
4337 char *kwnames[] = {
4338 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4339 };
4340
4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4346 if (obj2) {
4347 arg3 = (int)SWIG_As_int(obj2);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 if (obj3) {
4351 {
4352 arg4 = wxString_in_helper(obj3);
4353 if (arg4 == NULL) SWIG_fail;
4354 temp4 = True;
4355 }
4356 }
4357 if (obj4) {
4358 {
4359 arg5 = &temp5;
4360 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4361 }
4362 }
4363 if (obj5) {
4364 {
4365 arg6 = &temp6;
4366 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4367 }
4368 }
4369 if (obj6) {
4370 arg7 = (long)SWIG_As_long(obj6);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 if (obj7) {
4374 {
4375 arg8 = wxString_in_helper(obj7);
4376 if (arg8 == NULL) SWIG_fail;
4377 temp8 = True;
4378 }
4379 }
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4383
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 {
4388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4389 }
4390 {
4391 if (temp4)
4392 delete arg4;
4393 }
4394 {
4395 if (temp8)
4396 delete arg8;
4397 }
4398 return resultobj;
4399 fail:
4400 {
4401 if (temp4)
4402 delete arg4;
4403 }
4404 {
4405 if (temp8)
4406 delete arg8;
4407 }
4408 return NULL;
4409 }
4410
4411
4412 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4413 PyObject *resultobj;
4414 wxDialog *arg1 = (wxDialog *) 0 ;
4415 int arg2 ;
4416 PyObject * obj0 = 0 ;
4417 PyObject * obj1 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "returnCode", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4425 arg2 = (int)SWIG_As_int(obj1);
4426 if (PyErr_Occurred()) SWIG_fail;
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 (arg1)->SetReturnCode(arg2);
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 Py_INCREF(Py_None); resultobj = Py_None;
4435 return resultobj;
4436 fail:
4437 return NULL;
4438 }
4439
4440
4441 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj;
4443 wxDialog *arg1 = (wxDialog *) 0 ;
4444 int result;
4445 PyObject * obj0 = 0 ;
4446 char *kwnames[] = {
4447 (char *) "self", NULL
4448 };
4449
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4453 {
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
4455 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4456
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 resultobj = SWIG_From_int((int)result);
4461 return resultobj;
4462 fail:
4463 return NULL;
4464 }
4465
4466
4467 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4468 PyObject *resultobj;
4469 wxDialog *arg1 = (wxDialog *) 0 ;
4470 wxString *arg2 = 0 ;
4471 wxSizer *result;
4472 bool temp2 = False ;
4473 PyObject * obj0 = 0 ;
4474 PyObject * obj1 = 0 ;
4475 char *kwnames[] = {
4476 (char *) "self",(char *) "message", NULL
4477 };
4478
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4482 {
4483 arg2 = wxString_in_helper(obj1);
4484 if (arg2 == NULL) SWIG_fail;
4485 temp2 = True;
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 {
4495 resultobj = wxPyMake_wxSizer(result, 0);
4496 }
4497 {
4498 if (temp2)
4499 delete arg2;
4500 }
4501 return resultobj;
4502 fail:
4503 {
4504 if (temp2)
4505 delete arg2;
4506 }
4507 return NULL;
4508 }
4509
4510
4511 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4512 PyObject *resultobj;
4513 wxDialog *arg1 = (wxDialog *) 0 ;
4514 long arg2 ;
4515 wxSizer *result;
4516 PyObject * obj0 = 0 ;
4517 PyObject * obj1 = 0 ;
4518 char *kwnames[] = {
4519 (char *) "self",(char *) "flags", NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4525 arg2 = (long)SWIG_As_long(obj1);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 {
4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
4529 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4530
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 {
4535 resultobj = wxPyMake_wxSizer(result, 0);
4536 }
4537 return resultobj;
4538 fail:
4539 return NULL;
4540 }
4541
4542
4543 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4544 PyObject *resultobj;
4545 wxDialog *arg1 = (wxDialog *) 0 ;
4546 bool result;
4547 PyObject * obj0 = 0 ;
4548 char *kwnames[] = {
4549 (char *) "self", NULL
4550 };
4551
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 result = (bool)((wxDialog const *)arg1)->IsModal();
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 {
4563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4564 }
4565 return resultobj;
4566 fail:
4567 return NULL;
4568 }
4569
4570
4571 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj;
4573 wxDialog *arg1 = (wxDialog *) 0 ;
4574 int result;
4575 PyObject * obj0 = 0 ;
4576 char *kwnames[] = {
4577 (char *) "self", NULL
4578 };
4579
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 result = (int)(arg1)->ShowModal();
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 resultobj = SWIG_From_int((int)result);
4591 return resultobj;
4592 fail:
4593 return NULL;
4594 }
4595
4596
4597 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxDialog *arg1 = (wxDialog *) 0 ;
4600 int arg2 ;
4601 PyObject * obj0 = 0 ;
4602 PyObject * obj1 = 0 ;
4603 char *kwnames[] = {
4604 (char *) "self",(char *) "retCode", NULL
4605 };
4606
4607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4610 arg2 = (int)SWIG_As_int(obj1);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 {
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 (arg1)->EndModal(arg2);
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 Py_INCREF(Py_None); resultobj = Py_None;
4620 return resultobj;
4621 fail:
4622 return NULL;
4623 }
4624
4625
4626 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4627 PyObject *resultobj;
4628 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4629 wxVisualAttributes result;
4630 PyObject * obj0 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "variant", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4636 if (obj0) {
4637 arg1 = (int)SWIG_As_int(obj0);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 {
4641 if (!wxPyCheckForApp()) SWIG_fail;
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 {
4649 wxVisualAttributes * resultptr;
4650 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4652 }
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4660 PyObject *obj;
4661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4662 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4663 Py_INCREF(obj);
4664 return Py_BuildValue((char *)"");
4665 }
4666 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj;
4668 wxWindow *arg1 = (wxWindow *) 0 ;
4669 int arg2 = (int) (int)-1 ;
4670 wxString const &arg3_defvalue = wxPyEmptyString ;
4671 wxString *arg3 = (wxString *) &arg3_defvalue ;
4672 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4673 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4674 wxSize const &arg5_defvalue = wxDefaultSize ;
4675 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4676 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4677 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4678 wxString *arg7 = (wxString *) &arg7_defvalue ;
4679 wxMiniFrame *result;
4680 bool temp3 = False ;
4681 wxPoint temp4 ;
4682 wxSize temp5 ;
4683 bool temp7 = False ;
4684 PyObject * obj0 = 0 ;
4685 PyObject * obj1 = 0 ;
4686 PyObject * obj2 = 0 ;
4687 PyObject * obj3 = 0 ;
4688 PyObject * obj4 = 0 ;
4689 PyObject * obj5 = 0 ;
4690 PyObject * obj6 = 0 ;
4691 char *kwnames[] = {
4692 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4693 };
4694
4695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4698 if (obj1) {
4699 arg2 = (int)SWIG_As_int(obj1);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 if (obj2) {
4703 {
4704 arg3 = wxString_in_helper(obj2);
4705 if (arg3 == NULL) SWIG_fail;
4706 temp3 = True;
4707 }
4708 }
4709 if (obj3) {
4710 {
4711 arg4 = &temp4;
4712 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4713 }
4714 }
4715 if (obj4) {
4716 {
4717 arg5 = &temp5;
4718 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4719 }
4720 }
4721 if (obj5) {
4722 arg6 = (long)SWIG_As_long(obj5);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 if (obj6) {
4726 {
4727 arg7 = wxString_in_helper(obj6);
4728 if (arg7 == NULL) SWIG_fail;
4729 temp7 = True;
4730 }
4731 }
4732 {
4733 if (!wxPyCheckForApp()) SWIG_fail;
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4736
4737 wxPyEndAllowThreads(__tstate);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4741 {
4742 if (temp3)
4743 delete arg3;
4744 }
4745 {
4746 if (temp7)
4747 delete arg7;
4748 }
4749 return resultobj;
4750 fail:
4751 {
4752 if (temp3)
4753 delete arg3;
4754 }
4755 {
4756 if (temp7)
4757 delete arg7;
4758 }
4759 return NULL;
4760 }
4761
4762
4763 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4764 PyObject *resultobj;
4765 wxMiniFrame *result;
4766 char *kwnames[] = {
4767 NULL
4768 };
4769
4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4771 {
4772 if (!wxPyCheckForApp()) SWIG_fail;
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 result = (wxMiniFrame *)new wxMiniFrame();
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4780 return resultobj;
4781 fail:
4782 return NULL;
4783 }
4784
4785
4786 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj;
4788 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4789 wxWindow *arg2 = (wxWindow *) 0 ;
4790 int arg3 = (int) (int)-1 ;
4791 wxString const &arg4_defvalue = wxPyEmptyString ;
4792 wxString *arg4 = (wxString *) &arg4_defvalue ;
4793 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4794 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4795 wxSize const &arg6_defvalue = wxDefaultSize ;
4796 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4797 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4798 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4799 wxString *arg8 = (wxString *) &arg8_defvalue ;
4800 bool result;
4801 bool temp4 = False ;
4802 wxPoint temp5 ;
4803 wxSize temp6 ;
4804 bool temp8 = False ;
4805 PyObject * obj0 = 0 ;
4806 PyObject * obj1 = 0 ;
4807 PyObject * obj2 = 0 ;
4808 PyObject * obj3 = 0 ;
4809 PyObject * obj4 = 0 ;
4810 PyObject * obj5 = 0 ;
4811 PyObject * obj6 = 0 ;
4812 PyObject * obj7 = 0 ;
4813 char *kwnames[] = {
4814 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4815 };
4816
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4822 if (obj2) {
4823 arg3 = (int)SWIG_As_int(obj2);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 }
4826 if (obj3) {
4827 {
4828 arg4 = wxString_in_helper(obj3);
4829 if (arg4 == NULL) SWIG_fail;
4830 temp4 = True;
4831 }
4832 }
4833 if (obj4) {
4834 {
4835 arg5 = &temp5;
4836 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4837 }
4838 }
4839 if (obj5) {
4840 {
4841 arg6 = &temp6;
4842 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4843 }
4844 }
4845 if (obj6) {
4846 arg7 = (long)SWIG_As_long(obj6);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 if (obj7) {
4850 {
4851 arg8 = wxString_in_helper(obj7);
4852 if (arg8 == NULL) SWIG_fail;
4853 temp8 = True;
4854 }
4855 }
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 {
4864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4865 }
4866 {
4867 if (temp4)
4868 delete arg4;
4869 }
4870 {
4871 if (temp8)
4872 delete arg8;
4873 }
4874 return resultobj;
4875 fail:
4876 {
4877 if (temp4)
4878 delete arg4;
4879 }
4880 {
4881 if (temp8)
4882 delete arg8;
4883 }
4884 return NULL;
4885 }
4886
4887
4888 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4889 PyObject *obj;
4890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4891 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4892 Py_INCREF(obj);
4893 return Py_BuildValue((char *)"");
4894 }
4895 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxBitmap *arg1 = 0 ;
4898 wxWindow *arg2 = (wxWindow *) 0 ;
4899 int arg3 ;
4900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4902 wxSize const &arg5_defvalue = wxDefaultSize ;
4903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4904 long arg6 = (long) wxNO_BORDER ;
4905 wxSplashScreenWindow *result;
4906 wxPoint temp4 ;
4907 wxSize temp5 ;
4908 PyObject * obj0 = 0 ;
4909 PyObject * obj1 = 0 ;
4910 PyObject * obj2 = 0 ;
4911 PyObject * obj3 = 0 ;
4912 PyObject * obj4 = 0 ;
4913 PyObject * obj5 = 0 ;
4914 char *kwnames[] = {
4915 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4916 };
4917
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4920 SWIG_POINTER_EXCEPTION | 0)) == -1)
4921 SWIG_fail;
4922 if (arg1 == NULL) {
4923 PyErr_SetString(PyExc_TypeError,"null reference");
4924 SWIG_fail;
4925 }
4926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4928 arg3 = (int)SWIG_As_int(obj2);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 if (obj3) {
4931 {
4932 arg4 = &temp4;
4933 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4934 }
4935 }
4936 if (obj4) {
4937 {
4938 arg5 = &temp5;
4939 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4940 }
4941 }
4942 if (obj5) {
4943 arg6 = (long)SWIG_As_long(obj5);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 {
4947 if (!wxPyCheckForApp()) SWIG_fail;
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4962 PyObject *resultobj;
4963 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4964 wxBitmap *arg2 = 0 ;
4965 PyObject * obj0 = 0 ;
4966 PyObject * obj1 = 0 ;
4967 char *kwnames[] = {
4968 (char *) "self",(char *) "bitmap", NULL
4969 };
4970
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1)
4976 SWIG_fail;
4977 if (arg2 == NULL) {
4978 PyErr_SetString(PyExc_TypeError,"null reference");
4979 SWIG_fail;
4980 }
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
4988 Py_INCREF(Py_None); resultobj = Py_None;
4989 return resultobj;
4990 fail:
4991 return NULL;
4992 }
4993
4994
4995 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4998 wxBitmap *result;
4999 PyObject * obj0 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "self", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 {
5010 wxBitmap &_result_ref = (arg1)->GetBitmap();
5011 result = (wxBitmap *) &_result_ref;
5012 }
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 {
5018 wxBitmap* resultptr = new wxBitmap(*result);
5019 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5020 }
5021 return resultobj;
5022 fail:
5023 return NULL;
5024 }
5025
5026
5027 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5028 PyObject *obj;
5029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5030 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5031 Py_INCREF(obj);
5032 return Py_BuildValue((char *)"");
5033 }
5034 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5035 PyObject *resultobj;
5036 wxBitmap *arg1 = 0 ;
5037 long arg2 ;
5038 int arg3 ;
5039 wxWindow *arg4 = (wxWindow *) 0 ;
5040 int arg5 = (int) -1 ;
5041 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5042 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5043 wxSize const &arg7_defvalue = wxDefaultSize ;
5044 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5045 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5046 wxSplashScreen *result;
5047 wxPoint temp6 ;
5048 wxSize temp7 ;
5049 PyObject * obj0 = 0 ;
5050 PyObject * obj1 = 0 ;
5051 PyObject * obj2 = 0 ;
5052 PyObject * obj3 = 0 ;
5053 PyObject * obj4 = 0 ;
5054 PyObject * obj5 = 0 ;
5055 PyObject * obj6 = 0 ;
5056 PyObject * obj7 = 0 ;
5057 char *kwnames[] = {
5058 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5059 };
5060
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5063 SWIG_POINTER_EXCEPTION | 0)) == -1)
5064 SWIG_fail;
5065 if (arg1 == NULL) {
5066 PyErr_SetString(PyExc_TypeError,"null reference");
5067 SWIG_fail;
5068 }
5069 arg2 = (long)SWIG_As_long(obj1);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 arg3 = (int)SWIG_As_int(obj2);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5075 if (obj4) {
5076 arg5 = (int)SWIG_As_int(obj4);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 if (obj5) {
5080 {
5081 arg6 = &temp6;
5082 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5083 }
5084 }
5085 if (obj6) {
5086 {
5087 arg7 = &temp7;
5088 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5089 }
5090 }
5091 if (obj7) {
5092 arg8 = (long)SWIG_As_long(obj7);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 {
5096 if (!wxPyCheckForApp()) SWIG_fail;
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5104 return resultobj;
5105 fail:
5106 return NULL;
5107 }
5108
5109
5110 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj;
5112 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5113 long result;
5114 PyObject * obj0 = 0 ;
5115 char *kwnames[] = {
5116 (char *) "self", NULL
5117 };
5118
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5122 {
5123 PyThreadState* __tstate = wxPyBeginAllowThreads();
5124 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5125
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 resultobj = SWIG_From_long((long)result);
5130 return resultobj;
5131 fail:
5132 return NULL;
5133 }
5134
5135
5136 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5137 PyObject *resultobj;
5138 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5139 wxSplashScreenWindow *result;
5140 PyObject * obj0 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "self", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5151
5152 wxPyEndAllowThreads(__tstate);
5153 if (PyErr_Occurred()) SWIG_fail;
5154 }
5155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5156 return resultobj;
5157 fail:
5158 return NULL;
5159 }
5160
5161
5162 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5163 PyObject *resultobj;
5164 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5165 int result;
5166 PyObject * obj0 = 0 ;
5167 char *kwnames[] = {
5168 (char *) "self", NULL
5169 };
5170
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 resultobj = SWIG_From_int((int)result);
5182 return resultobj;
5183 fail:
5184 return NULL;
5185 }
5186
5187
5188 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5189 PyObject *obj;
5190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5191 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5192 Py_INCREF(obj);
5193 return Py_BuildValue((char *)"");
5194 }
5195 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5196 PyObject *resultobj;
5197 wxWindow *arg1 = (wxWindow *) 0 ;
5198 int arg2 = (int) -1 ;
5199 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
5200 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5201 wxString *arg4 = (wxString *) &arg4_defvalue ;
5202 wxStatusBar *result;
5203 bool temp4 = False ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 PyObject * obj2 = 0 ;
5207 PyObject * obj3 = 0 ;
5208 char *kwnames[] = {
5209 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5210 };
5211
5212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5215 if (obj1) {
5216 arg2 = (int)SWIG_As_int(obj1);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 if (obj2) {
5220 arg3 = (long)SWIG_As_long(obj2);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 if (obj3) {
5224 {
5225 arg4 = wxString_in_helper(obj3);
5226 if (arg4 == NULL) SWIG_fail;
5227 temp4 = True;
5228 }
5229 }
5230 {
5231 if (!wxPyCheckForApp()) SWIG_fail;
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5239 {
5240 if (temp4)
5241 delete arg4;
5242 }
5243 return resultobj;
5244 fail:
5245 {
5246 if (temp4)
5247 delete arg4;
5248 }
5249 return NULL;
5250 }
5251
5252
5253 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5254 PyObject *resultobj;
5255 wxStatusBar *result;
5256 char *kwnames[] = {
5257 NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5261 {
5262 if (!wxPyCheckForApp()) SWIG_fail;
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = (wxStatusBar *)new wxStatusBar();
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5270 return resultobj;
5271 fail:
5272 return NULL;
5273 }
5274
5275
5276 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5277 PyObject *resultobj;
5278 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5279 wxWindow *arg2 = (wxWindow *) 0 ;
5280 int arg3 = (int) -1 ;
5281 long arg4 = (long) wxST_SIZEGRIP ;
5282 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5283 wxString *arg5 = (wxString *) &arg5_defvalue ;
5284 bool result;
5285 bool temp5 = False ;
5286 PyObject * obj0 = 0 ;
5287 PyObject * obj1 = 0 ;
5288 PyObject * obj2 = 0 ;
5289 PyObject * obj3 = 0 ;
5290 PyObject * obj4 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5300 if (obj2) {
5301 arg3 = (int)SWIG_As_int(obj2);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 if (obj3) {
5305 arg4 = (long)SWIG_As_long(obj3);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 }
5308 if (obj4) {
5309 {
5310 arg5 = wxString_in_helper(obj4);
5311 if (arg5 == NULL) SWIG_fail;
5312 temp5 = True;
5313 }
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 {
5323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5324 }
5325 {
5326 if (temp5)
5327 delete arg5;
5328 }
5329 return resultobj;
5330 fail:
5331 {
5332 if (temp5)
5333 delete arg5;
5334 }
5335 return NULL;
5336 }
5337
5338
5339 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5340 PyObject *resultobj;
5341 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5342 int arg2 = (int) 1 ;
5343 PyObject * obj0 = 0 ;
5344 PyObject * obj1 = 0 ;
5345 char *kwnames[] = {
5346 (char *) "self",(char *) "number", NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5352 if (obj1) {
5353 arg2 = (int)SWIG_As_int(obj1);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 {
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 (arg1)->SetFieldsCount(arg2);
5359
5360 wxPyEndAllowThreads(__tstate);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 Py_INCREF(Py_None); resultobj = Py_None;
5364 return resultobj;
5365 fail:
5366 return NULL;
5367 }
5368
5369
5370 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5371 PyObject *resultobj;
5372 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5373 int result;
5374 PyObject * obj0 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5385
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 resultobj = SWIG_From_int((int)result);
5390 return resultobj;
5391 fail:
5392 return NULL;
5393 }
5394
5395
5396 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5399 wxString *arg2 = 0 ;
5400 int arg3 = (int) 0 ;
5401 bool temp2 = False ;
5402 PyObject * obj0 = 0 ;
5403 PyObject * obj1 = 0 ;
5404 PyObject * obj2 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self",(char *) "text",(char *) "number", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5412 {
5413 arg2 = wxString_in_helper(obj1);
5414 if (arg2 == NULL) SWIG_fail;
5415 temp2 = True;
5416 }
5417 if (obj2) {
5418 arg3 = (int)SWIG_As_int(obj2);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5424
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
5428 Py_INCREF(Py_None); resultobj = Py_None;
5429 {
5430 if (temp2)
5431 delete arg2;
5432 }
5433 return resultobj;
5434 fail:
5435 {
5436 if (temp2)
5437 delete arg2;
5438 }
5439 return NULL;
5440 }
5441
5442
5443 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5444 PyObject *resultobj;
5445 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5446 int arg2 = (int) 0 ;
5447 wxString result;
5448 PyObject * obj0 = 0 ;
5449 PyObject * obj1 = 0 ;
5450 char *kwnames[] = {
5451 (char *) "self",(char *) "number", NULL
5452 };
5453
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5457 if (obj1) {
5458 arg2 = (int)SWIG_As_int(obj1);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 {
5469 #if wxUSE_UNICODE
5470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5471 #else
5472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5473 #endif
5474 }
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5484 wxString *arg2 = 0 ;
5485 int arg3 = (int) 0 ;
5486 bool temp2 = False ;
5487 PyObject * obj0 = 0 ;
5488 PyObject * obj1 = 0 ;
5489 PyObject * obj2 = 0 ;
5490 char *kwnames[] = {
5491 (char *) "self",(char *) "text",(char *) "number", NULL
5492 };
5493
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5497 {
5498 arg2 = wxString_in_helper(obj1);
5499 if (arg2 == NULL) SWIG_fail;
5500 temp2 = True;
5501 }
5502 if (obj2) {
5503 arg3 = (int)SWIG_As_int(obj2);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5509
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 Py_INCREF(Py_None); resultobj = Py_None;
5514 {
5515 if (temp2)
5516 delete arg2;
5517 }
5518 return resultobj;
5519 fail:
5520 {
5521 if (temp2)
5522 delete arg2;
5523 }
5524 return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5531 int arg2 = (int) 0 ;
5532 PyObject * obj0 = 0 ;
5533 PyObject * obj1 = 0 ;
5534 char *kwnames[] = {
5535 (char *) "self",(char *) "number", NULL
5536 };
5537
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5541 if (obj1) {
5542 arg2 = (int)SWIG_As_int(obj1);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 {
5546 PyThreadState* __tstate = wxPyBeginAllowThreads();
5547 (arg1)->PopStatusText(arg2);
5548
5549 wxPyEndAllowThreads(__tstate);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 }
5552 Py_INCREF(Py_None); resultobj = Py_None;
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj;
5561 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5562 int arg2 ;
5563 int *arg3 = (int *) 0 ;
5564 PyObject * obj0 = 0 ;
5565 PyObject * obj1 = 0 ;
5566 char *kwnames[] = {
5567 (char *) "self",(char *) "widths", NULL
5568 };
5569
5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5573 {
5574 arg2 = PyList_Size(obj1);
5575 arg3 = int_LIST_helper(obj1);
5576 if (arg3 == NULL) SWIG_fail;
5577 }
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5581
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 Py_INCREF(Py_None); resultobj = Py_None;
5586 {
5587 if (arg3) delete [] arg3;
5588 }
5589 return resultobj;
5590 fail:
5591 {
5592 if (arg3) delete [] arg3;
5593 }
5594 return NULL;
5595 }
5596
5597
5598 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj;
5600 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5601 int arg2 ;
5602 int *arg3 = (int *) 0 ;
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self",(char *) "styles", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5612 {
5613 arg2 = PyList_Size(obj1);
5614 arg3 = int_LIST_helper(obj1);
5615 if (arg3 == NULL) SWIG_fail;
5616 }
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 Py_INCREF(Py_None); resultobj = Py_None;
5625 {
5626 if (arg3) delete [] arg3;
5627 }
5628 return resultobj;
5629 fail:
5630 {
5631 if (arg3) delete [] arg3;
5632 }
5633 return NULL;
5634 }
5635
5636
5637 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj;
5639 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5640 int arg2 ;
5641 wxRect result;
5642 PyObject * obj0 = 0 ;
5643 PyObject * obj1 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "self",(char *) "i", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5651 arg2 = (int)SWIG_As_int(obj1);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 result = wxStatusBar_GetFieldRect(arg1,arg2);
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 {
5661 wxRect * resultptr;
5662 resultptr = new wxRect((wxRect &) result);
5663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5664 }
5665 return resultobj;
5666 fail:
5667 return NULL;
5668 }
5669
5670
5671 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5672 PyObject *resultobj;
5673 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5674 int arg2 ;
5675 PyObject * obj0 = 0 ;
5676 PyObject * obj1 = 0 ;
5677 char *kwnames[] = {
5678 (char *) "self",(char *) "height", NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5684 arg2 = (int)SWIG_As_int(obj1);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 {
5687 PyThreadState* __tstate = wxPyBeginAllowThreads();
5688 (arg1)->SetMinHeight(arg2);
5689
5690 wxPyEndAllowThreads(__tstate);
5691 if (PyErr_Occurred()) SWIG_fail;
5692 }
5693 Py_INCREF(Py_None); resultobj = Py_None;
5694 return resultobj;
5695 fail:
5696 return NULL;
5697 }
5698
5699
5700 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5701 PyObject *resultobj;
5702 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5703 int result;
5704 PyObject * obj0 = 0 ;
5705 char *kwnames[] = {
5706 (char *) "self", NULL
5707 };
5708
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5715
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 resultobj = SWIG_From_int((int)result);
5720 return resultobj;
5721 fail:
5722 return NULL;
5723 }
5724
5725
5726 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5727 PyObject *resultobj;
5728 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5729 int result;
5730 PyObject * obj0 = 0 ;
5731 char *kwnames[] = {
5732 (char *) "self", NULL
5733 };
5734
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 resultobj = SWIG_From_int((int)result);
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5755 wxVisualAttributes result;
5756 PyObject * obj0 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "variant", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5762 if (obj0) {
5763 arg1 = (int)SWIG_As_int(obj0);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 {
5767 if (!wxPyCheckForApp()) SWIG_fail;
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5770
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
5774 {
5775 wxVisualAttributes * resultptr;
5776 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5778 }
5779 return resultobj;
5780 fail:
5781 return NULL;
5782 }
5783
5784
5785 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5786 PyObject *obj;
5787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5788 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5789 Py_INCREF(obj);
5790 return Py_BuildValue((char *)"");
5791 }
5792 static int _wrap_SplitterNameStr_set(PyObject *) {
5793 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5794 return 1;
5795 }
5796
5797
5798 static PyObject *_wrap_SplitterNameStr_get() {
5799 PyObject *pyobj;
5800
5801 {
5802 #if wxUSE_UNICODE
5803 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5804 #else
5805 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5806 #endif
5807 }
5808 return pyobj;
5809 }
5810
5811
5812 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj;
5814 wxWindow *arg1 = (wxWindow *) 0 ;
5815 int arg2 = (int) -1 ;
5816 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5817 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5818 wxSize const &arg4_defvalue = wxDefaultSize ;
5819 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5820 long arg5 = (long) wxSP_3D ;
5821 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5822 wxString *arg6 = (wxString *) &arg6_defvalue ;
5823 wxSplitterWindow *result;
5824 wxPoint temp3 ;
5825 wxSize temp4 ;
5826 bool temp6 = False ;
5827 PyObject * obj0 = 0 ;
5828 PyObject * obj1 = 0 ;
5829 PyObject * obj2 = 0 ;
5830 PyObject * obj3 = 0 ;
5831 PyObject * obj4 = 0 ;
5832 PyObject * obj5 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5840 if (obj1) {
5841 arg2 = (int)SWIG_As_int(obj1);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 }
5844 if (obj2) {
5845 {
5846 arg3 = &temp3;
5847 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5848 }
5849 }
5850 if (obj3) {
5851 {
5852 arg4 = &temp4;
5853 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5854 }
5855 }
5856 if (obj4) {
5857 arg5 = (long)SWIG_As_long(obj4);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 if (obj5) {
5861 {
5862 arg6 = wxString_in_helper(obj5);
5863 if (arg6 == NULL) SWIG_fail;
5864 temp6 = True;
5865 }
5866 }
5867 {
5868 if (!wxPyCheckForApp()) SWIG_fail;
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5876 {
5877 if (temp6)
5878 delete arg6;
5879 }
5880 return resultobj;
5881 fail:
5882 {
5883 if (temp6)
5884 delete arg6;
5885 }
5886 return NULL;
5887 }
5888
5889
5890 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxSplitterWindow *result;
5893 char *kwnames[] = {
5894 NULL
5895 };
5896
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5898 {
5899 if (!wxPyCheckForApp()) SWIG_fail;
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 result = (wxSplitterWindow *)new wxSplitterWindow();
5902
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj;
5915 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5916 wxWindow *arg2 = (wxWindow *) 0 ;
5917 int arg3 = (int) -1 ;
5918 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5919 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5920 wxSize const &arg5_defvalue = wxDefaultSize ;
5921 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5922 long arg6 = (long) wxSP_3D ;
5923 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5924 wxString *arg7 = (wxString *) &arg7_defvalue ;
5925 bool result;
5926 wxPoint temp4 ;
5927 wxSize temp5 ;
5928 bool temp7 = False ;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 PyObject * obj2 = 0 ;
5932 PyObject * obj3 = 0 ;
5933 PyObject * obj4 = 0 ;
5934 PyObject * obj5 = 0 ;
5935 PyObject * obj6 = 0 ;
5936 char *kwnames[] = {
5937 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5938 };
5939
5940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5945 if (obj2) {
5946 arg3 = (int)SWIG_As_int(obj2);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 if (obj3) {
5950 {
5951 arg4 = &temp4;
5952 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5953 }
5954 }
5955 if (obj4) {
5956 {
5957 arg5 = &temp5;
5958 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5959 }
5960 }
5961 if (obj5) {
5962 arg6 = (long)SWIG_As_long(obj5);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 if (obj6) {
5966 {
5967 arg7 = wxString_in_helper(obj6);
5968 if (arg7 == NULL) SWIG_fail;
5969 temp7 = True;
5970 }
5971 }
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 {
5980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5981 }
5982 {
5983 if (temp7)
5984 delete arg7;
5985 }
5986 return resultobj;
5987 fail:
5988 {
5989 if (temp7)
5990 delete arg7;
5991 }
5992 return NULL;
5993 }
5994
5995
5996 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
5997 PyObject *resultobj;
5998 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5999 wxWindow *result;
6000 PyObject * obj0 = 0 ;
6001 char *kwnames[] = {
6002 (char *) "self", NULL
6003 };
6004
6005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 {
6016 resultobj = wxPyMake_wxObject(result, 0);
6017 }
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj;
6026 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6027 wxWindow *result;
6028 PyObject * obj0 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 {
6044 resultobj = wxPyMake_wxObject(result, 0);
6045 }
6046 return resultobj;
6047 fail:
6048 return NULL;
6049 }
6050
6051
6052 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6055 int arg2 ;
6056 PyObject * obj0 = 0 ;
6057 PyObject * obj1 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self",(char *) "mode", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6065 arg2 = (int)SWIG_As_int(obj1);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 {
6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6069 (arg1)->SetSplitMode(arg2);
6070
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 Py_INCREF(Py_None); resultobj = Py_None;
6075 return resultobj;
6076 fail:
6077 return NULL;
6078 }
6079
6080
6081 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj;
6083 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6084 int result;
6085 PyObject * obj0 = 0 ;
6086 char *kwnames[] = {
6087 (char *) "self", NULL
6088 };
6089
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6096
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 resultobj = SWIG_From_int((int)result);
6101 return resultobj;
6102 fail:
6103 return NULL;
6104 }
6105
6106
6107 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6108 PyObject *resultobj;
6109 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6110 wxWindow *arg2 = (wxWindow *) 0 ;
6111 PyObject * obj0 = 0 ;
6112 PyObject * obj1 = 0 ;
6113 char *kwnames[] = {
6114 (char *) "self",(char *) "window", NULL
6115 };
6116
6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 (arg1)->Initialize(arg2);
6125
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 Py_INCREF(Py_None); resultobj = Py_None;
6130 return resultobj;
6131 fail:
6132 return NULL;
6133 }
6134
6135
6136 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6137 PyObject *resultobj;
6138 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6139 wxWindow *arg2 = (wxWindow *) 0 ;
6140 wxWindow *arg3 = (wxWindow *) 0 ;
6141 int arg4 = (int) 0 ;
6142 bool result;
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj1 = 0 ;
6145 PyObject * obj2 = 0 ;
6146 PyObject * obj3 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6156 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6158 if (obj3) {
6159 arg4 = (int)SWIG_As_int(obj3);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 {
6170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6171 }
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6181 wxWindow *arg2 = (wxWindow *) 0 ;
6182 wxWindow *arg3 = (wxWindow *) 0 ;
6183 int arg4 = (int) 0 ;
6184 bool result;
6185 PyObject * obj0 = 0 ;
6186 PyObject * obj1 = 0 ;
6187 PyObject * obj2 = 0 ;
6188 PyObject * obj3 = 0 ;
6189 char *kwnames[] = {
6190 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6191 };
6192
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6198 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6200 if (obj3) {
6201 arg4 = (int)SWIG_As_int(obj3);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 {
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6207
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
6211 {
6212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6213 }
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6223 wxWindow *arg2 = (wxWindow *) NULL ;
6224 bool result;
6225 PyObject * obj0 = 0 ;
6226 PyObject * obj1 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self",(char *) "toRemove", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",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 (obj1) {
6235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6237 }
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 result = (bool)(arg1)->Unsplit(arg2);
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 {
6246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6247 }
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6257 wxWindow *arg2 = (wxWindow *) 0 ;
6258 wxWindow *arg3 = (wxWindow *) 0 ;
6259 bool result;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 PyObject * obj2 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6272 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6277
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 {
6282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6283 }
6284 return resultobj;
6285 fail:
6286 return NULL;
6287 }
6288
6289
6290 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj;
6292 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6293 PyObject * obj0 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 (arg1)->UpdateSize();
6304
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 Py_INCREF(Py_None); resultobj = Py_None;
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj;
6317 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6318 bool result;
6319 PyObject * obj0 = 0 ;
6320 char *kwnames[] = {
6321 (char *) "self", NULL
6322 };
6323
6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6330
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 {
6335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6336 }
6337 return resultobj;
6338 fail:
6339 return NULL;
6340 }
6341
6342
6343 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6344 PyObject *resultobj;
6345 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6346 int arg2 ;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self",(char *) "width", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6356 arg2 = (int)SWIG_As_int(obj1);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 (arg1)->SetSashSize(arg2);
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 Py_INCREF(Py_None); resultobj = Py_None;
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6375 int arg2 ;
6376 PyObject * obj0 = 0 ;
6377 PyObject * obj1 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self",(char *) "width", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6385 arg2 = (int)SWIG_As_int(obj1);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 (arg1)->SetBorderSize(arg2);
6390
6391 wxPyEndAllowThreads(__tstate);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 }
6394 Py_INCREF(Py_None); resultobj = Py_None;
6395 return resultobj;
6396 fail:
6397 return NULL;
6398 }
6399
6400
6401 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6404 int result;
6405 PyObject * obj0 = 0 ;
6406 char *kwnames[] = {
6407 (char *) "self", NULL
6408 };
6409
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_From_int((int)result);
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj;
6429 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6430 int result;
6431 PyObject * obj0 = 0 ;
6432 char *kwnames[] = {
6433 (char *) "self", NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6442
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 resultobj = SWIG_From_int((int)result);
6447 return resultobj;
6448 fail:
6449 return NULL;
6450 }
6451
6452
6453 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6454 PyObject *resultobj;
6455 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6456 int arg2 ;
6457 bool arg3 = (bool) True ;
6458 PyObject * obj0 = 0 ;
6459 PyObject * obj1 = 0 ;
6460 PyObject * obj2 = 0 ;
6461 char *kwnames[] = {
6462 (char *) "self",(char *) "position",(char *) "redraw", NULL
6463 };
6464
6465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6468 arg2 = (int)SWIG_As_int(obj1);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 if (obj2) {
6471 arg3 = (bool)SWIG_As_bool(obj2);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 {
6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
6476 (arg1)->SetSashPosition(arg2,arg3);
6477
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 Py_INCREF(Py_None); resultobj = Py_None;
6482 return resultobj;
6483 fail:
6484 return NULL;
6485 }
6486
6487
6488 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6489 PyObject *resultobj;
6490 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6491 int result;
6492 PyObject * obj0 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "self", NULL
6495 };
6496
6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 resultobj = SWIG_From_int((int)result);
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6517 int arg2 ;
6518 PyObject * obj0 = 0 ;
6519 PyObject * obj1 = 0 ;
6520 char *kwnames[] = {
6521 (char *) "self",(char *) "min", NULL
6522 };
6523
6524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6527 arg2 = (int)SWIG_As_int(obj1);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 (arg1)->SetMinimumPaneSize(arg2);
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 Py_INCREF(Py_None); resultobj = Py_None;
6537 return resultobj;
6538 fail:
6539 return NULL;
6540 }
6541
6542
6543 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6544 PyObject *resultobj;
6545 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6546 int result;
6547 PyObject * obj0 = 0 ;
6548 char *kwnames[] = {
6549 (char *) "self", NULL
6550 };
6551
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 resultobj = SWIG_From_int((int)result);
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6572 int arg2 ;
6573 int arg3 ;
6574 int arg4 = (int) 5 ;
6575 bool result;
6576 PyObject * obj0 = 0 ;
6577 PyObject * obj1 = 0 ;
6578 PyObject * obj2 = 0 ;
6579 PyObject * obj3 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6587 arg2 = (int)SWIG_As_int(obj1);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 arg3 = (int)SWIG_As_int(obj2);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 if (obj3) {
6592 arg4 = (int)SWIG_As_int(obj3);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 {
6603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6604 }
6605 return resultobj;
6606 fail:
6607 return NULL;
6608 }
6609
6610
6611 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6612 PyObject *resultobj;
6613 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6614 PyObject * obj0 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 (arg1)->SizeWindows();
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 Py_INCREF(Py_None); resultobj = Py_None;
6630 return resultobj;
6631 fail:
6632 return NULL;
6633 }
6634
6635
6636 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6637 PyObject *resultobj;
6638 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6639 bool arg2 ;
6640 PyObject * obj0 = 0 ;
6641 PyObject * obj1 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self",(char *) "needUpdating", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6649 arg2 = (bool)SWIG_As_bool(obj1);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 {
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 (arg1)->SetNeedUpdating(arg2);
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 Py_INCREF(Py_None); resultobj = Py_None;
6659 return resultobj;
6660 fail:
6661 return NULL;
6662 }
6663
6664
6665 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6666 PyObject *resultobj;
6667 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6668 bool result;
6669 PyObject * obj0 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 {
6685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6686 }
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6696 wxVisualAttributes result;
6697 PyObject * obj0 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "variant", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6703 if (obj0) {
6704 arg1 = (int)SWIG_As_int(obj0);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
6707 {
6708 if (!wxPyCheckForApp()) SWIG_fail;
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 {
6716 wxVisualAttributes * resultptr;
6717 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6719 }
6720 return resultobj;
6721 fail:
6722 return NULL;
6723 }
6724
6725
6726 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6727 PyObject *obj;
6728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6729 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6730 Py_INCREF(obj);
6731 return Py_BuildValue((char *)"");
6732 }
6733 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6736 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6737 wxSplitterEvent *result;
6738 PyObject * obj0 = 0 ;
6739 PyObject * obj1 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "type",(char *) "splitter", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6745 if (obj0) {
6746 arg1 = (wxEventType)SWIG_As_int(obj0);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 if (obj1) {
6750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6752 }
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6761 return resultobj;
6762 fail:
6763 return NULL;
6764 }
6765
6766
6767 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6768 PyObject *resultobj;
6769 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6770 int arg2 ;
6771 PyObject * obj0 = 0 ;
6772 PyObject * obj1 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self",(char *) "pos", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6780 arg2 = (int)SWIG_As_int(obj1);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 (arg1)->SetSashPosition(arg2);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 Py_INCREF(Py_None); resultobj = Py_None;
6790 return resultobj;
6791 fail:
6792 return NULL;
6793 }
6794
6795
6796 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj;
6798 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6799 int result;
6800 PyObject * obj0 = 0 ;
6801 char *kwnames[] = {
6802 (char *) "self", NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 resultobj = SWIG_From_int((int)result);
6816 return resultobj;
6817 fail:
6818 return NULL;
6819 }
6820
6821
6822 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6823 PyObject *resultobj;
6824 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6825 wxWindow *result;
6826 PyObject * obj0 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 {
6842 resultobj = wxPyMake_wxObject(result, 0);
6843 }
6844 return resultobj;
6845 fail:
6846 return NULL;
6847 }
6848
6849
6850 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6851 PyObject *resultobj;
6852 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6853 int result;
6854 PyObject * obj0 = 0 ;
6855 char *kwnames[] = {
6856 (char *) "self", NULL
6857 };
6858
6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6862 {
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6865
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 resultobj = SWIG_From_int((int)result);
6870 return resultobj;
6871 fail:
6872 return NULL;
6873 }
6874
6875
6876 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6877 PyObject *resultobj;
6878 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6879 int result;
6880 PyObject * obj0 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 resultobj = SWIG_From_int((int)result);
6896 return resultobj;
6897 fail:
6898 return NULL;
6899 }
6900
6901
6902 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6903 PyObject *obj;
6904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6905 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6906 Py_INCREF(obj);
6907 return Py_BuildValue((char *)"");
6908 }
6909 static int _wrap_SashNameStr_set(PyObject *) {
6910 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6911 return 1;
6912 }
6913
6914
6915 static PyObject *_wrap_SashNameStr_get() {
6916 PyObject *pyobj;
6917
6918 {
6919 #if wxUSE_UNICODE
6920 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6921 #else
6922 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6923 #endif
6924 }
6925 return pyobj;
6926 }
6927
6928
6929 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6930 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6931 return 1;
6932 }
6933
6934
6935 static PyObject *_wrap_SashLayoutNameStr_get() {
6936 PyObject *pyobj;
6937
6938 {
6939 #if wxUSE_UNICODE
6940 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6941 #else
6942 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6943 #endif
6944 }
6945 return pyobj;
6946 }
6947
6948
6949 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6950 PyObject *resultobj;
6951 wxWindow *arg1 = (wxWindow *) 0 ;
6952 int arg2 = (int) -1 ;
6953 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6954 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6955 wxSize const &arg4_defvalue = wxDefaultSize ;
6956 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6957 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6958 wxString const &arg6_defvalue = wxPySashNameStr ;
6959 wxString *arg6 = (wxString *) &arg6_defvalue ;
6960 wxSashWindow *result;
6961 wxPoint temp3 ;
6962 wxSize temp4 ;
6963 bool temp6 = False ;
6964 PyObject * obj0 = 0 ;
6965 PyObject * obj1 = 0 ;
6966 PyObject * obj2 = 0 ;
6967 PyObject * obj3 = 0 ;
6968 PyObject * obj4 = 0 ;
6969 PyObject * obj5 = 0 ;
6970 char *kwnames[] = {
6971 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6972 };
6973
6974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6977 if (obj1) {
6978 arg2 = (int)SWIG_As_int(obj1);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 if (obj2) {
6982 {
6983 arg3 = &temp3;
6984 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6985 }
6986 }
6987 if (obj3) {
6988 {
6989 arg4 = &temp4;
6990 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6991 }
6992 }
6993 if (obj4) {
6994 arg5 = (long)SWIG_As_long(obj4);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 if (obj5) {
6998 {
6999 arg6 = wxString_in_helper(obj5);
7000 if (arg6 == NULL) SWIG_fail;
7001 temp6 = True;
7002 }
7003 }
7004 {
7005 if (!wxPyCheckForApp()) SWIG_fail;
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7013 {
7014 if (temp6)
7015 delete arg6;
7016 }
7017 return resultobj;
7018 fail:
7019 {
7020 if (temp6)
7021 delete arg6;
7022 }
7023 return NULL;
7024 }
7025
7026
7027 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7028 PyObject *resultobj;
7029 wxSashWindow *result;
7030 char *kwnames[] = {
7031 NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7035 {
7036 if (!wxPyCheckForApp()) SWIG_fail;
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 result = (wxSashWindow *)new wxSashWindow();
7039
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj;
7052 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7053 wxWindow *arg2 = (wxWindow *) 0 ;
7054 int arg3 = (int) -1 ;
7055 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7056 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7057 wxSize const &arg5_defvalue = wxDefaultSize ;
7058 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7059 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7060 wxString const &arg7_defvalue = wxPySashNameStr ;
7061 wxString *arg7 = (wxString *) &arg7_defvalue ;
7062 bool result;
7063 wxPoint temp4 ;
7064 wxSize temp5 ;
7065 bool temp7 = False ;
7066 PyObject * obj0 = 0 ;
7067 PyObject * obj1 = 0 ;
7068 PyObject * obj2 = 0 ;
7069 PyObject * obj3 = 0 ;
7070 PyObject * obj4 = 0 ;
7071 PyObject * obj5 = 0 ;
7072 PyObject * obj6 = 0 ;
7073 char *kwnames[] = {
7074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7075 };
7076
7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7082 if (obj2) {
7083 arg3 = (int)SWIG_As_int(obj2);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 if (obj3) {
7087 {
7088 arg4 = &temp4;
7089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7090 }
7091 }
7092 if (obj4) {
7093 {
7094 arg5 = &temp5;
7095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7096 }
7097 }
7098 if (obj5) {
7099 arg6 = (long)SWIG_As_long(obj5);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 if (obj6) {
7103 {
7104 arg7 = wxString_in_helper(obj6);
7105 if (arg7 == NULL) SWIG_fail;
7106 temp7 = True;
7107 }
7108 }
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 {
7117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7118 }
7119 {
7120 if (temp7)
7121 delete arg7;
7122 }
7123 return resultobj;
7124 fail:
7125 {
7126 if (temp7)
7127 delete arg7;
7128 }
7129 return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7136 int arg2 ;
7137 bool arg3 ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 PyObject * obj2 = 0 ;
7141 char *kwnames[] = {
7142 (char *) "self",(char *) "edge",(char *) "sash", NULL
7143 };
7144
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7148 arg2 = (int)SWIG_As_int(obj1);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 arg3 = (bool)SWIG_As_bool(obj2);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 Py_INCREF(Py_None); resultobj = Py_None;
7160 return resultobj;
7161 fail:
7162 return NULL;
7163 }
7164
7165
7166 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7169 int arg2 ;
7170 bool result;
7171 PyObject * obj0 = 0 ;
7172 PyObject * obj1 = 0 ;
7173 char *kwnames[] = {
7174 (char *) "self",(char *) "edge", NULL
7175 };
7176
7177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7180 arg2 = (int)SWIG_As_int(obj1);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 {
7190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7191 }
7192 return resultobj;
7193 fail:
7194 return NULL;
7195 }
7196
7197
7198 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj;
7200 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7201 int arg2 ;
7202 bool arg3 ;
7203 PyObject * obj0 = 0 ;
7204 PyObject * obj1 = 0 ;
7205 PyObject * obj2 = 0 ;
7206 char *kwnames[] = {
7207 (char *) "self",(char *) "edge",(char *) "border", NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7213 arg2 = (int)SWIG_As_int(obj1);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 arg3 = (bool)SWIG_As_bool(obj2);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 {
7218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7219 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7220
7221 wxPyEndAllowThreads(__tstate);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 }
7224 Py_INCREF(Py_None); resultobj = Py_None;
7225 return resultobj;
7226 fail:
7227 return NULL;
7228 }
7229
7230
7231 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7232 PyObject *resultobj;
7233 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7234 int arg2 ;
7235 bool result;
7236 PyObject * obj0 = 0 ;
7237 PyObject * obj1 = 0 ;
7238 char *kwnames[] = {
7239 (char *) "self",(char *) "edge", NULL
7240 };
7241
7242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7245 arg2 = (int)SWIG_As_int(obj1);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 {
7248 PyThreadState* __tstate = wxPyBeginAllowThreads();
7249 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7250
7251 wxPyEndAllowThreads(__tstate);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 {
7255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7256 }
7257 return resultobj;
7258 fail:
7259 return NULL;
7260 }
7261
7262
7263 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj;
7265 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7266 int arg2 ;
7267 int result;
7268 PyObject * obj0 = 0 ;
7269 PyObject * obj1 = 0 ;
7270 char *kwnames[] = {
7271 (char *) "self",(char *) "edge", NULL
7272 };
7273
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7277 arg2 = (int)SWIG_As_int(obj1);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 resultobj = SWIG_From_int((int)result);
7287 return resultobj;
7288 fail:
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7296 int arg2 ;
7297 PyObject * obj0 = 0 ;
7298 PyObject * obj1 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self",(char *) "width", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7306 arg2 = (int)SWIG_As_int(obj1);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 (arg1)->SetDefaultBorderSize(arg2);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 Py_INCREF(Py_None); resultobj = Py_None;
7316 return resultobj;
7317 fail:
7318 return NULL;
7319 }
7320
7321
7322 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj;
7324 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7325 int result;
7326 PyObject * obj0 = 0 ;
7327 char *kwnames[] = {
7328 (char *) "self", NULL
7329 };
7330
7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7334 {
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7337
7338 wxPyEndAllowThreads(__tstate);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 resultobj = SWIG_From_int((int)result);
7342 return resultobj;
7343 fail:
7344 return NULL;
7345 }
7346
7347
7348 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7349 PyObject *resultobj;
7350 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7351 int arg2 ;
7352 PyObject * obj0 = 0 ;
7353 PyObject * obj1 = 0 ;
7354 char *kwnames[] = {
7355 (char *) "self",(char *) "width", NULL
7356 };
7357
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7361 arg2 = (int)SWIG_As_int(obj1);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 (arg1)->SetExtraBorderSize(arg2);
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 Py_INCREF(Py_None); resultobj = Py_None;
7371 return resultobj;
7372 fail:
7373 return NULL;
7374 }
7375
7376
7377 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj;
7379 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7380 int result;
7381 PyObject * obj0 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "self", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
7396 resultobj = SWIG_From_int((int)result);
7397 return resultobj;
7398 fail:
7399 return NULL;
7400 }
7401
7402
7403 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7404 PyObject *resultobj;
7405 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7406 int arg2 ;
7407 PyObject * obj0 = 0 ;
7408 PyObject * obj1 = 0 ;
7409 char *kwnames[] = {
7410 (char *) "self",(char *) "min", NULL
7411 };
7412
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7416 arg2 = (int)SWIG_As_int(obj1);
7417 if (PyErr_Occurred()) SWIG_fail;
7418 {
7419 PyThreadState* __tstate = wxPyBeginAllowThreads();
7420 (arg1)->SetMinimumSizeX(arg2);
7421
7422 wxPyEndAllowThreads(__tstate);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
7425 Py_INCREF(Py_None); resultobj = Py_None;
7426 return resultobj;
7427 fail:
7428 return NULL;
7429 }
7430
7431
7432 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7433 PyObject *resultobj;
7434 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7435 int arg2 ;
7436 PyObject * obj0 = 0 ;
7437 PyObject * obj1 = 0 ;
7438 char *kwnames[] = {
7439 (char *) "self",(char *) "min", NULL
7440 };
7441
7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7445 arg2 = (int)SWIG_As_int(obj1);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 {
7448 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449 (arg1)->SetMinimumSizeY(arg2);
7450
7451 wxPyEndAllowThreads(__tstate);
7452 if (PyErr_Occurred()) SWIG_fail;
7453 }
7454 Py_INCREF(Py_None); resultobj = Py_None;
7455 return resultobj;
7456 fail:
7457 return NULL;
7458 }
7459
7460
7461 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7462 PyObject *resultobj;
7463 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7464 int result;
7465 PyObject * obj0 = 0 ;
7466 char *kwnames[] = {
7467 (char *) "self", NULL
7468 };
7469
7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7473 {
7474 PyThreadState* __tstate = wxPyBeginAllowThreads();
7475 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7476
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 resultobj = SWIG_From_int((int)result);
7481 return resultobj;
7482 fail:
7483 return NULL;
7484 }
7485
7486
7487 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7488 PyObject *resultobj;
7489 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7490 int result;
7491 PyObject * obj0 = 0 ;
7492 char *kwnames[] = {
7493 (char *) "self", NULL
7494 };
7495
7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 resultobj = SWIG_From_int((int)result);
7507 return resultobj;
7508 fail:
7509 return NULL;
7510 }
7511
7512
7513 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7514 PyObject *resultobj;
7515 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7516 int arg2 ;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "self",(char *) "max", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7526 arg2 = (int)SWIG_As_int(obj1);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 (arg1)->SetMaximumSizeX(arg2);
7531
7532 wxPyEndAllowThreads(__tstate);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 }
7535 Py_INCREF(Py_None); resultobj = Py_None;
7536 return resultobj;
7537 fail:
7538 return NULL;
7539 }
7540
7541
7542 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7543 PyObject *resultobj;
7544 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7545 int arg2 ;
7546 PyObject * obj0 = 0 ;
7547 PyObject * obj1 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "self",(char *) "max", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7555 arg2 = (int)SWIG_As_int(obj1);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 (arg1)->SetMaximumSizeY(arg2);
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 Py_INCREF(Py_None); resultobj = Py_None;
7565 return resultobj;
7566 fail:
7567 return NULL;
7568 }
7569
7570
7571 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj;
7573 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7574 int result;
7575 PyObject * obj0 = 0 ;
7576 char *kwnames[] = {
7577 (char *) "self", NULL
7578 };
7579
7580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 resultobj = SWIG_From_int((int)result);
7591 return resultobj;
7592 fail:
7593 return NULL;
7594 }
7595
7596
7597 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj;
7599 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7600 int result;
7601 PyObject * obj0 = 0 ;
7602 char *kwnames[] = {
7603 (char *) "self", NULL
7604 };
7605
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 resultobj = SWIG_From_int((int)result);
7617 return resultobj;
7618 fail:
7619 return NULL;
7620 }
7621
7622
7623 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj;
7625 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7626 int arg2 ;
7627 int arg3 ;
7628 int arg4 = (int) 2 ;
7629 int result;
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
7632 PyObject * obj2 = 0 ;
7633 PyObject * obj3 = 0 ;
7634 char *kwnames[] = {
7635 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7636 };
7637
7638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7641 arg2 = (int)SWIG_As_int(obj1);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 arg3 = (int)SWIG_As_int(obj2);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 if (obj3) {
7646 arg4 = (int)SWIG_As_int(obj3);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
7651 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 resultobj = SWIG_From_int((int)result);
7657 return resultobj;
7658 fail:
7659 return NULL;
7660 }
7661
7662
7663 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7664 PyObject *resultobj;
7665 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7666 PyObject * obj0 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 (arg1)->SizeWindows();
7677
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) SWIG_fail;
7680 }
7681 Py_INCREF(Py_None); resultobj = Py_None;
7682 return resultobj;
7683 fail:
7684 return NULL;
7685 }
7686
7687
7688 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7689 PyObject *obj;
7690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7691 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7692 Py_INCREF(obj);
7693 return Py_BuildValue((char *)"");
7694 }
7695 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj;
7697 int arg1 = (int) 0 ;
7698 int arg2 = (int) wxSASH_NONE ;
7699 wxSashEvent *result;
7700 PyObject * obj0 = 0 ;
7701 PyObject * obj1 = 0 ;
7702 char *kwnames[] = {
7703 (char *) "id",(char *) "edge", NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7707 if (obj0) {
7708 arg1 = (int)SWIG_As_int(obj0);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 if (obj1) {
7712 arg2 = (int)SWIG_As_int(obj1);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 }
7722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7723 return resultobj;
7724 fail:
7725 return NULL;
7726 }
7727
7728
7729 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7730 PyObject *resultobj;
7731 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7732 int arg2 ;
7733 PyObject * obj0 = 0 ;
7734 PyObject * obj1 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "self",(char *) "edge", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7742 arg2 = (int)SWIG_As_int(obj1);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 Py_INCREF(Py_None); resultobj = Py_None;
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7761 int result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 resultobj = SWIG_From_int((int)result);
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7787 wxRect *arg2 = 0 ;
7788 wxRect temp2 ;
7789 PyObject * obj0 = 0 ;
7790 PyObject * obj1 = 0 ;
7791 char *kwnames[] = {
7792 (char *) "self",(char *) "rect", NULL
7793 };
7794
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7798 {
7799 arg2 = &temp2;
7800 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7801 }
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 (arg1)->SetDragRect((wxRect const &)*arg2);
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 Py_INCREF(Py_None); resultobj = Py_None;
7810 return resultobj;
7811 fail:
7812 return NULL;
7813 }
7814
7815
7816 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7817 PyObject *resultobj;
7818 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7819 wxRect result;
7820 PyObject * obj0 = 0 ;
7821 char *kwnames[] = {
7822 (char *) "self", NULL
7823 };
7824
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 result = ((wxSashEvent const *)arg1)->GetDragRect();
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 {
7836 wxRect * resultptr;
7837 resultptr = new wxRect((wxRect &) result);
7838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7839 }
7840 return resultobj;
7841 fail:
7842 return NULL;
7843 }
7844
7845
7846 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7847 PyObject *resultobj;
7848 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7849 int arg2 ;
7850 PyObject * obj0 = 0 ;
7851 PyObject * obj1 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "self",(char *) "status", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7859 arg2 = (int)SWIG_As_int(obj1);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 Py_INCREF(Py_None); resultobj = Py_None;
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7878 int result;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 resultobj = SWIG_From_int((int)result);
7895 return resultobj;
7896 fail:
7897 return NULL;
7898 }
7899
7900
7901 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7902 PyObject *obj;
7903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7904 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7905 Py_INCREF(obj);
7906 return Py_BuildValue((char *)"");
7907 }
7908 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 int arg1 = (int) 0 ;
7911 wxQueryLayoutInfoEvent *result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "id", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7918 if (obj0) {
7919 arg1 = (int)SWIG_As_int(obj0);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7939 int arg2 ;
7940 PyObject * obj0 = 0 ;
7941 PyObject * obj1 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self",(char *) "length", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7949 arg2 = (int)SWIG_As_int(obj1);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 (arg1)->SetRequestedLength(arg2);
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 Py_INCREF(Py_None); resultobj = Py_None;
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7968 int result;
7969 PyObject * obj0 = 0 ;
7970 char *kwnames[] = {
7971 (char *) "self", NULL
7972 };
7973
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 resultobj = SWIG_From_int((int)result);
7985 return resultobj;
7986 fail:
7987 return NULL;
7988 }
7989
7990
7991 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7994 int arg2 ;
7995 PyObject * obj0 = 0 ;
7996 PyObject * obj1 = 0 ;
7997 char *kwnames[] = {
7998 (char *) "self",(char *) "flags", NULL
7999 };
8000
8001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8004 arg2 = (int)SWIG_As_int(obj1);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 (arg1)->SetFlags(arg2);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 Py_INCREF(Py_None); resultobj = Py_None;
8014 return resultobj;
8015 fail:
8016 return NULL;
8017 }
8018
8019
8020 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj;
8022 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8023 int result;
8024 PyObject * obj0 = 0 ;
8025 char *kwnames[] = {
8026 (char *) "self", NULL
8027 };
8028
8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 resultobj = SWIG_From_int((int)result);
8040 return resultobj;
8041 fail:
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8049 wxSize *arg2 = 0 ;
8050 wxSize temp2 ;
8051 PyObject * obj0 = 0 ;
8052 PyObject * obj1 = 0 ;
8053 char *kwnames[] = {
8054 (char *) "self",(char *) "size", NULL
8055 };
8056
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8060 {
8061 arg2 = &temp2;
8062 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8063 }
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->SetSize((wxSize const &)*arg2);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8081 wxSize result;
8082 PyObject * obj0 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "self", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 {
8098 wxSize * resultptr;
8099 resultptr = new wxSize((wxSize &) result);
8100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8101 }
8102 return resultobj;
8103 fail:
8104 return NULL;
8105 }
8106
8107
8108 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8111 int arg2 ;
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "orient", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8121 arg2 = (int)SWIG_As_int(obj1);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 Py_INCREF(Py_None); resultobj = Py_None;
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8140 int result;
8141 PyObject * obj0 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 resultobj = SWIG_From_int((int)result);
8157 return resultobj;
8158 fail:
8159 return NULL;
8160 }
8161
8162
8163 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8166 int arg2 ;
8167 PyObject * obj0 = 0 ;
8168 PyObject * obj1 = 0 ;
8169 char *kwnames[] = {
8170 (char *) "self",(char *) "align", NULL
8171 };
8172
8173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8176 arg2 = (int)SWIG_As_int(obj1);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 (arg1)->SetAlignment((wxLayoutAlignment )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_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8195 int result;
8196 PyObject * obj0 = 0 ;
8197 char *kwnames[] = {
8198 (char *) "self", NULL
8199 };
8200
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",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 = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8207
8208 wxPyEndAllowThreads(__tstate);
8209 if (PyErr_Occurred()) SWIG_fail;
8210 }
8211 resultobj = SWIG_From_int((int)result);
8212 return resultobj;
8213 fail:
8214 return NULL;
8215 }
8216
8217
8218 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8219 PyObject *obj;
8220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8221 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8222 Py_INCREF(obj);
8223 return Py_BuildValue((char *)"");
8224 }
8225 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 int arg1 = (int) 0 ;
8228 wxCalculateLayoutEvent *result;
8229 PyObject * obj0 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "id", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8235 if (obj0) {
8236 arg1 = (int)SWIG_As_int(obj0);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
8246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8247 return resultobj;
8248 fail:
8249 return NULL;
8250 }
8251
8252
8253 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj;
8255 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8256 int arg2 ;
8257 PyObject * obj0 = 0 ;
8258 PyObject * obj1 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self",(char *) "flags", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8266 arg2 = (int)SWIG_As_int(obj1);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 {
8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
8270 (arg1)->SetFlags(arg2);
8271
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 Py_INCREF(Py_None); resultobj = Py_None;
8276 return resultobj;
8277 fail:
8278 return NULL;
8279 }
8280
8281
8282 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj;
8284 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8285 int result;
8286 PyObject * obj0 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self", NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8297
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 resultobj = SWIG_From_int((int)result);
8302 return resultobj;
8303 fail:
8304 return NULL;
8305 }
8306
8307
8308 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8309 PyObject *resultobj;
8310 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8311 wxRect *arg2 = 0 ;
8312 wxRect temp2 ;
8313 PyObject * obj0 = 0 ;
8314 PyObject * obj1 = 0 ;
8315 char *kwnames[] = {
8316 (char *) "self",(char *) "rect", NULL
8317 };
8318
8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8322 {
8323 arg2 = &temp2;
8324 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8325 }
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 (arg1)->SetRect((wxRect const &)*arg2);
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 Py_INCREF(Py_None); resultobj = Py_None;
8334 return resultobj;
8335 fail:
8336 return NULL;
8337 }
8338
8339
8340 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj;
8342 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8343 wxRect result;
8344 PyObject * obj0 = 0 ;
8345 char *kwnames[] = {
8346 (char *) "self", NULL
8347 };
8348
8349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 {
8360 wxRect * resultptr;
8361 resultptr = new wxRect((wxRect &) result);
8362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8363 }
8364 return resultobj;
8365 fail:
8366 return NULL;
8367 }
8368
8369
8370 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8371 PyObject *obj;
8372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8373 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8374 Py_INCREF(obj);
8375 return Py_BuildValue((char *)"");
8376 }
8377 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8378 PyObject *resultobj;
8379 wxWindow *arg1 = (wxWindow *) 0 ;
8380 int arg2 = (int) -1 ;
8381 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8382 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8383 wxSize const &arg4_defvalue = wxDefaultSize ;
8384 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8385 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8386 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8387 wxString *arg6 = (wxString *) &arg6_defvalue ;
8388 wxSashLayoutWindow *result;
8389 wxPoint temp3 ;
8390 wxSize temp4 ;
8391 bool temp6 = False ;
8392 PyObject * obj0 = 0 ;
8393 PyObject * obj1 = 0 ;
8394 PyObject * obj2 = 0 ;
8395 PyObject * obj3 = 0 ;
8396 PyObject * obj4 = 0 ;
8397 PyObject * obj5 = 0 ;
8398 char *kwnames[] = {
8399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8400 };
8401
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8405 if (obj1) {
8406 arg2 = (int)SWIG_As_int(obj1);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 if (obj2) {
8410 {
8411 arg3 = &temp3;
8412 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8413 }
8414 }
8415 if (obj3) {
8416 {
8417 arg4 = &temp4;
8418 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8419 }
8420 }
8421 if (obj4) {
8422 arg5 = (long)SWIG_As_long(obj4);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 if (obj5) {
8426 {
8427 arg6 = wxString_in_helper(obj5);
8428 if (arg6 == NULL) SWIG_fail;
8429 temp6 = True;
8430 }
8431 }
8432 {
8433 if (!wxPyCheckForApp()) SWIG_fail;
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8441 {
8442 if (temp6)
8443 delete arg6;
8444 }
8445 return resultobj;
8446 fail:
8447 {
8448 if (temp6)
8449 delete arg6;
8450 }
8451 return NULL;
8452 }
8453
8454
8455 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxSashLayoutWindow *result;
8458 char *kwnames[] = {
8459 NULL
8460 };
8461
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8463 {
8464 if (!wxPyCheckForApp()) SWIG_fail;
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8479 PyObject *resultobj;
8480 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8481 wxWindow *arg2 = (wxWindow *) 0 ;
8482 int arg3 = (int) -1 ;
8483 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8484 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8485 wxSize const &arg5_defvalue = wxDefaultSize ;
8486 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8487 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8488 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8489 wxString *arg7 = (wxString *) &arg7_defvalue ;
8490 bool result;
8491 wxPoint temp4 ;
8492 wxSize temp5 ;
8493 bool temp7 = False ;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 PyObject * obj2 = 0 ;
8497 PyObject * obj3 = 0 ;
8498 PyObject * obj4 = 0 ;
8499 PyObject * obj5 = 0 ;
8500 PyObject * obj6 = 0 ;
8501 char *kwnames[] = {
8502 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8503 };
8504
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8508 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8510 if (obj2) {
8511 arg3 = (int)SWIG_As_int(obj2);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 if (obj3) {
8515 {
8516 arg4 = &temp4;
8517 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8518 }
8519 }
8520 if (obj4) {
8521 {
8522 arg5 = &temp5;
8523 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8524 }
8525 }
8526 if (obj5) {
8527 arg6 = (long)SWIG_As_long(obj5);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 if (obj6) {
8531 {
8532 arg7 = wxString_in_helper(obj6);
8533 if (arg7 == NULL) SWIG_fail;
8534 temp7 = True;
8535 }
8536 }
8537 {
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8540
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 {
8545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8546 }
8547 {
8548 if (temp7)
8549 delete arg7;
8550 }
8551 return resultobj;
8552 fail:
8553 {
8554 if (temp7)
8555 delete arg7;
8556 }
8557 return NULL;
8558 }
8559
8560
8561 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8562 PyObject *resultobj;
8563 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8564 int result;
8565 PyObject * obj0 = 0 ;
8566 char *kwnames[] = {
8567 (char *) "self", NULL
8568 };
8569
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (int)(arg1)->GetAlignment();
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 resultobj = SWIG_From_int((int)result);
8581 return resultobj;
8582 fail:
8583 return NULL;
8584 }
8585
8586
8587 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj;
8589 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8590 int result;
8591 PyObject * obj0 = 0 ;
8592 char *kwnames[] = {
8593 (char *) "self", NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (int)(arg1)->GetOrientation();
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 resultobj = SWIG_From_int((int)result);
8607 return resultobj;
8608 fail:
8609 return NULL;
8610 }
8611
8612
8613 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8614 PyObject *resultobj;
8615 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8616 int arg2 ;
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj1 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self",(char *) "alignment", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8626 arg2 = (int)SWIG_As_int(obj1);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8631
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 Py_INCREF(Py_None); resultobj = Py_None;
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8643 PyObject *resultobj;
8644 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8645 wxSize *arg2 = 0 ;
8646 wxSize temp2 ;
8647 PyObject * obj0 = 0 ;
8648 PyObject * obj1 = 0 ;
8649 char *kwnames[] = {
8650 (char *) "self",(char *) "size", NULL
8651 };
8652
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8656 {
8657 arg2 = &temp2;
8658 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8659 }
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 Py_INCREF(Py_None); resultobj = Py_None;
8668 return resultobj;
8669 fail:
8670 return NULL;
8671 }
8672
8673
8674 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj;
8676 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8677 int arg2 ;
8678 PyObject * obj0 = 0 ;
8679 PyObject * obj1 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self",(char *) "orientation", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8687 arg2 = (int)SWIG_As_int(obj1);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 Py_INCREF(Py_None); resultobj = Py_None;
8697 return resultobj;
8698 fail:
8699 return NULL;
8700 }
8701
8702
8703 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8704 PyObject *obj;
8705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8706 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8707 Py_INCREF(obj);
8708 return Py_BuildValue((char *)"");
8709 }
8710 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8711 PyObject *resultobj;
8712 wxLayoutAlgorithm *result;
8713 char *kwnames[] = {
8714 NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8735 PyObject * obj0 = 0 ;
8736 char *kwnames[] = {
8737 (char *) "self", NULL
8738 };
8739
8740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 delete arg1;
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 Py_INCREF(Py_None); resultobj = Py_None;
8751 return resultobj;
8752 fail:
8753 return NULL;
8754 }
8755
8756
8757 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8760 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8761 wxRect *arg3 = (wxRect *) NULL ;
8762 bool result;
8763 PyObject * obj0 = 0 ;
8764 PyObject * obj1 = 0 ;
8765 PyObject * obj2 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self",(char *) "frame",(char *) "rect", NULL
8768 };
8769
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8775 if (obj2) {
8776 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 {
8787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8788 }
8789 return resultobj;
8790 fail:
8791 return NULL;
8792 }
8793
8794
8795 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8798 wxFrame *arg2 = (wxFrame *) 0 ;
8799 wxWindow *arg3 = (wxWindow *) NULL ;
8800 bool result;
8801 PyObject * obj0 = 0 ;
8802 PyObject * obj1 = 0 ;
8803 PyObject * obj2 = 0 ;
8804 char *kwnames[] = {
8805 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8806 };
8807
8808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8813 if (obj2) {
8814 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8816 }
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8820
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 {
8825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8826 }
8827 return resultobj;
8828 fail:
8829 return NULL;
8830 }
8831
8832
8833 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8834 PyObject *resultobj;
8835 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8836 wxWindow *arg2 = (wxWindow *) 0 ;
8837 wxWindow *arg3 = (wxWindow *) NULL ;
8838 bool result;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 PyObject * obj2 = 0 ;
8842 char *kwnames[] = {
8843 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8851 if (obj2) {
8852 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8854 }
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 {
8863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8864 }
8865 return resultobj;
8866 fail:
8867 return NULL;
8868 }
8869
8870
8871 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8872 PyObject *obj;
8873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8874 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8875 Py_INCREF(obj);
8876 return Py_BuildValue((char *)"");
8877 }
8878 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj;
8880 wxWindow *arg1 = (wxWindow *) 0 ;
8881 int arg2 = (int) wxBORDER_NONE ;
8882 wxPopupWindow *result;
8883 PyObject * obj0 = 0 ;
8884 PyObject * obj1 = 0 ;
8885 char *kwnames[] = {
8886 (char *) "parent",(char *) "flags", NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8892 if (obj1) {
8893 arg2 = (int)SWIG_As_int(obj1);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 {
8897 if (!wxPyCheckForApp()) SWIG_fail;
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8905 return resultobj;
8906 fail:
8907 return NULL;
8908 }
8909
8910
8911 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj;
8913 wxPopupWindow *result;
8914 char *kwnames[] = {
8915 NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8919 {
8920 if (!wxPyCheckForApp()) SWIG_fail;
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 result = (wxPopupWindow *)new wxPopupWindow();
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8928 return resultobj;
8929 fail:
8930 return NULL;
8931 }
8932
8933
8934 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8935 PyObject *resultobj;
8936 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8937 wxWindow *arg2 = (wxWindow *) 0 ;
8938 int arg3 = (int) wxBORDER_NONE ;
8939 bool result;
8940 PyObject * obj0 = 0 ;
8941 PyObject * obj1 = 0 ;
8942 PyObject * obj2 = 0 ;
8943 char *kwnames[] = {
8944 (char *) "self",(char *) "parent",(char *) "flags", NULL
8945 };
8946
8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8952 if (obj2) {
8953 arg3 = (int)SWIG_As_int(obj2);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 }
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 result = (bool)(arg1)->Create(arg2,arg3);
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 {
8964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8965 }
8966 return resultobj;
8967 fail:
8968 return NULL;
8969 }
8970
8971
8972 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8975 wxPoint *arg2 = 0 ;
8976 wxSize *arg3 = 0 ;
8977 wxPoint temp2 ;
8978 wxSize temp3 ;
8979 PyObject * obj0 = 0 ;
8980 PyObject * obj1 = 0 ;
8981 PyObject * obj2 = 0 ;
8982 char *kwnames[] = {
8983 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8984 };
8985
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8989 {
8990 arg2 = &temp2;
8991 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8992 }
8993 {
8994 arg3 = &temp3;
8995 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8996 }
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 Py_INCREF(Py_None); resultobj = Py_None;
9005 return resultobj;
9006 fail:
9007 return NULL;
9008 }
9009
9010
9011 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9012 PyObject *obj;
9013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9014 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9015 Py_INCREF(obj);
9016 return Py_BuildValue((char *)"");
9017 }
9018 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxWindow *arg1 = (wxWindow *) 0 ;
9021 int arg2 = (int) wxBORDER_NONE ;
9022 wxPyPopupTransientWindow *result;
9023 PyObject * obj0 = 0 ;
9024 PyObject * obj1 = 0 ;
9025 char *kwnames[] = {
9026 (char *) "parent",(char *) "style", NULL
9027 };
9028
9029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9032 if (obj1) {
9033 arg2 = (int)SWIG_As_int(obj1);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 {
9037 if (!wxPyCheckForApp()) SWIG_fail;
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
9044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9045 return resultobj;
9046 fail:
9047 return NULL;
9048 }
9049
9050
9051 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9052 PyObject *resultobj;
9053 wxPyPopupTransientWindow *result;
9054 char *kwnames[] = {
9055 NULL
9056 };
9057
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9059 {
9060 if (!wxPyCheckForApp()) SWIG_fail;
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9068 return resultobj;
9069 fail:
9070 return NULL;
9071 }
9072
9073
9074 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9077 PyObject *arg2 = (PyObject *) 0 ;
9078 PyObject *arg3 = (PyObject *) 0 ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 PyObject * obj2 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self",(char *) "self",(char *) "_class", NULL
9084 };
9085
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9089 arg2 = obj1;
9090 arg3 = obj2;
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 (arg1)->_setCallbackInfo(arg2,arg3);
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 Py_INCREF(Py_None); resultobj = Py_None;
9099 return resultobj;
9100 fail:
9101 return NULL;
9102 }
9103
9104
9105 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
9106 PyObject *resultobj;
9107 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9108 wxWindow *arg2 = (wxWindow *) NULL ;
9109 PyObject * obj0 = 0 ;
9110 PyObject * obj1 = 0 ;
9111 char *kwnames[] = {
9112 (char *) "self",(char *) "focus", NULL
9113 };
9114
9115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9118 if (obj1) {
9119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9121 }
9122 {
9123 PyThreadState* __tstate = wxPyBeginAllowThreads();
9124 (arg1)->Popup(arg2);
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 }
9129 Py_INCREF(Py_None); resultobj = Py_None;
9130 return resultobj;
9131 fail:
9132 return NULL;
9133 }
9134
9135
9136 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
9137 PyObject *resultobj;
9138 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9139 PyObject * obj0 = 0 ;
9140 char *kwnames[] = {
9141 (char *) "self", NULL
9142 };
9143
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9147 {
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 (arg1)->Dismiss();
9150
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 Py_INCREF(Py_None); resultobj = Py_None;
9155 return resultobj;
9156 fail:
9157 return NULL;
9158 }
9159
9160
9161 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9162 PyObject *obj;
9163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9164 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9165 Py_INCREF(obj);
9166 return Py_BuildValue((char *)"");
9167 }
9168 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9169 PyObject *resultobj;
9170 wxWindow *arg1 = (wxWindow *) 0 ;
9171 wxString *arg2 = 0 ;
9172 int arg3 = (int) 100 ;
9173 wxRect *arg4 = (wxRect *) NULL ;
9174 wxTipWindow *result;
9175 bool temp2 = False ;
9176 PyObject * obj0 = 0 ;
9177 PyObject * obj1 = 0 ;
9178 PyObject * obj2 = 0 ;
9179 PyObject * obj3 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9187 {
9188 arg2 = wxString_in_helper(obj1);
9189 if (arg2 == NULL) SWIG_fail;
9190 temp2 = True;
9191 }
9192 if (obj2) {
9193 arg3 = (int)SWIG_As_int(obj2);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 if (obj3) {
9197 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9199 }
9200 {
9201 if (!wxPyCheckForApp()) SWIG_fail;
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9209 {
9210 if (temp2)
9211 delete arg2;
9212 }
9213 return resultobj;
9214 fail:
9215 {
9216 if (temp2)
9217 delete arg2;
9218 }
9219 return NULL;
9220 }
9221
9222
9223 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9224 PyObject *resultobj;
9225 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9226 wxRect *arg2 = 0 ;
9227 wxRect temp2 ;
9228 PyObject * obj0 = 0 ;
9229 PyObject * obj1 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self",(char *) "rectBound", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9237 {
9238 arg2 = &temp2;
9239 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9240 }
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 Py_INCREF(Py_None); resultobj = Py_None;
9249 return resultobj;
9250 fail:
9251 return NULL;
9252 }
9253
9254
9255 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj;
9257 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9258 PyObject * obj0 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 (arg1)->Close();
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
9273 Py_INCREF(Py_None); resultobj = Py_None;
9274 return resultobj;
9275 fail:
9276 return NULL;
9277 }
9278
9279
9280 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9281 PyObject *obj;
9282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9283 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9284 Py_INCREF(obj);
9285 return Py_BuildValue((char *)"");
9286 }
9287 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9288 PyObject *resultobj;
9289 wxWindow *arg1 = (wxWindow *) 0 ;
9290 int arg2 = (int) wxID_ANY ;
9291 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9292 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9293 wxSize const &arg4_defvalue = wxDefaultSize ;
9294 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9295 long arg5 = (long) 0 ;
9296 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9297 wxString *arg6 = (wxString *) &arg6_defvalue ;
9298 wxPyVScrolledWindow *result;
9299 wxPoint temp3 ;
9300 wxSize temp4 ;
9301 bool temp6 = False ;
9302 PyObject * obj0 = 0 ;
9303 PyObject * obj1 = 0 ;
9304 PyObject * obj2 = 0 ;
9305 PyObject * obj3 = 0 ;
9306 PyObject * obj4 = 0 ;
9307 PyObject * obj5 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9315 if (obj1) {
9316 arg2 = (int)SWIG_As_int(obj1);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 if (obj2) {
9320 {
9321 arg3 = &temp3;
9322 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9323 }
9324 }
9325 if (obj3) {
9326 {
9327 arg4 = &temp4;
9328 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9329 }
9330 }
9331 if (obj4) {
9332 arg5 = (long)SWIG_As_long(obj4);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 if (obj5) {
9336 {
9337 arg6 = wxString_in_helper(obj5);
9338 if (arg6 == NULL) SWIG_fail;
9339 temp6 = True;
9340 }
9341 }
9342 {
9343 if (!wxPyCheckForApp()) SWIG_fail;
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9351 {
9352 if (temp6)
9353 delete arg6;
9354 }
9355 return resultobj;
9356 fail:
9357 {
9358 if (temp6)
9359 delete arg6;
9360 }
9361 return NULL;
9362 }
9363
9364
9365 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9366 PyObject *resultobj;
9367 wxPyVScrolledWindow *result;
9368 char *kwnames[] = {
9369 NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9373 {
9374 if (!wxPyCheckForApp()) SWIG_fail;
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9382 return resultobj;
9383 fail:
9384 return NULL;
9385 }
9386
9387
9388 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9391 PyObject *arg2 = (PyObject *) 0 ;
9392 PyObject *arg3 = (PyObject *) 0 ;
9393 PyObject * obj0 = 0 ;
9394 PyObject * obj1 = 0 ;
9395 PyObject * obj2 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self",(char *) "self",(char *) "_class", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9403 arg2 = obj1;
9404 arg3 = obj2;
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 (arg1)->_setCallbackInfo(arg2,arg3);
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 Py_INCREF(Py_None); resultobj = Py_None;
9413 return resultobj;
9414 fail:
9415 return NULL;
9416 }
9417
9418
9419 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9420 PyObject *resultobj;
9421 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9422 wxWindow *arg2 = (wxWindow *) 0 ;
9423 int arg3 = (int) wxID_ANY ;
9424 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9425 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9426 wxSize const &arg5_defvalue = wxDefaultSize ;
9427 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9428 long arg6 = (long) 0 ;
9429 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9430 wxString *arg7 = (wxString *) &arg7_defvalue ;
9431 bool result;
9432 wxPoint temp4 ;
9433 wxSize temp5 ;
9434 bool temp7 = False ;
9435 PyObject * obj0 = 0 ;
9436 PyObject * obj1 = 0 ;
9437 PyObject * obj2 = 0 ;
9438 PyObject * obj3 = 0 ;
9439 PyObject * obj4 = 0 ;
9440 PyObject * obj5 = 0 ;
9441 PyObject * obj6 = 0 ;
9442 char *kwnames[] = {
9443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9451 if (obj2) {
9452 arg3 = (int)SWIG_As_int(obj2);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 if (obj3) {
9456 {
9457 arg4 = &temp4;
9458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9459 }
9460 }
9461 if (obj4) {
9462 {
9463 arg5 = &temp5;
9464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9465 }
9466 }
9467 if (obj5) {
9468 arg6 = (long)SWIG_As_long(obj5);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 }
9471 if (obj6) {
9472 {
9473 arg7 = wxString_in_helper(obj6);
9474 if (arg7 == NULL) SWIG_fail;
9475 temp7 = True;
9476 }
9477 }
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9481
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
9485 {
9486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9487 }
9488 {
9489 if (temp7)
9490 delete arg7;
9491 }
9492 return resultobj;
9493 fail:
9494 {
9495 if (temp7)
9496 delete arg7;
9497 }
9498 return NULL;
9499 }
9500
9501
9502 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj;
9504 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9505 size_t arg2 ;
9506 PyObject * obj0 = 0 ;
9507 PyObject * obj1 = 0 ;
9508 char *kwnames[] = {
9509 (char *) "self",(char *) "count", NULL
9510 };
9511
9512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9515 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 (arg1)->SetLineCount(arg2);
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 Py_INCREF(Py_None); resultobj = Py_None;
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9534 size_t arg2 ;
9535 bool result;
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self",(char *) "line", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9545 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (bool)(arg1)->ScrollToLine(arg2);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 {
9555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9556 }
9557 return resultobj;
9558 fail:
9559 return NULL;
9560 }
9561
9562
9563 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj;
9565 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9566 int arg2 ;
9567 bool result;
9568 PyObject * obj0 = 0 ;
9569 PyObject * obj1 = 0 ;
9570 char *kwnames[] = {
9571 (char *) "self",(char *) "lines", NULL
9572 };
9573
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9577 arg2 = (int)SWIG_As_int(obj1);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 result = (bool)(arg1)->ScrollLines(arg2);
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 {
9587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9588 }
9589 return resultobj;
9590 fail:
9591 return NULL;
9592 }
9593
9594
9595 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9596 PyObject *resultobj;
9597 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9598 int arg2 ;
9599 bool result;
9600 PyObject * obj0 = 0 ;
9601 PyObject * obj1 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self",(char *) "pages", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9609 arg2 = (int)SWIG_As_int(obj1);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 result = (bool)(arg1)->ScrollPages(arg2);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 {
9619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9620 }
9621 return resultobj;
9622 fail:
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9630 size_t arg2 ;
9631 PyObject * obj0 = 0 ;
9632 PyObject * obj1 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self",(char *) "line", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9640 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 {
9643 PyThreadState* __tstate = wxPyBeginAllowThreads();
9644 (arg1)->RefreshLine(arg2);
9645
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 Py_INCREF(Py_None); resultobj = Py_None;
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9657 PyObject *resultobj;
9658 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9659 size_t arg2 ;
9660 size_t arg3 ;
9661 PyObject * obj0 = 0 ;
9662 PyObject * obj1 = 0 ;
9663 PyObject * obj2 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self",(char *) "from",(char *) "to", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9671 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 {
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 (arg1)->RefreshLines(arg2,arg3);
9678
9679 wxPyEndAllowThreads(__tstate);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
9682 Py_INCREF(Py_None); resultobj = Py_None;
9683 return resultobj;
9684 fail:
9685 return NULL;
9686 }
9687
9688
9689 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9692 int arg2 ;
9693 int arg3 ;
9694 int result;
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj1 = 0 ;
9697 PyObject * obj2 = 0 ;
9698 char *kwnames[] = {
9699 (char *) "self",(char *) "x",(char *) "y", NULL
9700 };
9701
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9705 arg2 = (int)SWIG_As_int(obj1);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 arg3 = (int)SWIG_As_int(obj2);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9712
9713 wxPyEndAllowThreads(__tstate);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 }
9716 resultobj = SWIG_From_int((int)result);
9717 return resultobj;
9718 fail:
9719 return NULL;
9720 }
9721
9722
9723 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9724 PyObject *resultobj;
9725 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9726 wxPoint *arg2 = 0 ;
9727 int result;
9728 wxPoint temp2 ;
9729 PyObject * obj0 = 0 ;
9730 PyObject * obj1 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self",(char *) "pt", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9738 {
9739 arg2 = &temp2;
9740 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9741 }
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 resultobj = SWIG_From_int((int)result);
9750 return resultobj;
9751 fail:
9752 return NULL;
9753 }
9754
9755
9756 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9757 PyObject *resultobj;
9758 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9759 PyObject * obj0 = 0 ;
9760 char *kwnames[] = {
9761 (char *) "self", NULL
9762 };
9763
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9767 {
9768 PyThreadState* __tstate = wxPyBeginAllowThreads();
9769 (arg1)->RefreshAll();
9770
9771 wxPyEndAllowThreads(__tstate);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 }
9774 Py_INCREF(Py_None); resultobj = Py_None;
9775 return resultobj;
9776 fail:
9777 return NULL;
9778 }
9779
9780
9781 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj;
9783 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9784 size_t result;
9785 PyObject * obj0 = 0 ;
9786 char *kwnames[] = {
9787 (char *) "self", NULL
9788 };
9789
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9796
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj;
9809 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9810 size_t result;
9811 PyObject * obj0 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9822
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9836 size_t result;
9837 PyObject * obj0 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9853 return resultobj;
9854 fail:
9855 return NULL;
9856 }
9857
9858
9859 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9862 size_t arg2 ;
9863 bool result;
9864 PyObject * obj0 = 0 ;
9865 PyObject * obj1 = 0 ;
9866 char *kwnames[] = {
9867 (char *) "self",(char *) "line", NULL
9868 };
9869
9870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9873 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 {
9883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9884 }
9885 return resultobj;
9886 fail:
9887 return NULL;
9888 }
9889
9890
9891 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9892 PyObject *obj;
9893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9894 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9895 Py_INCREF(obj);
9896 return Py_BuildValue((char *)"");
9897 }
9898 static int _wrap_VListBoxNameStr_set(PyObject *) {
9899 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9900 return 1;
9901 }
9902
9903
9904 static PyObject *_wrap_VListBoxNameStr_get() {
9905 PyObject *pyobj;
9906
9907 {
9908 #if wxUSE_UNICODE
9909 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9910 #else
9911 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9912 #endif
9913 }
9914 return pyobj;
9915 }
9916
9917
9918 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9919 PyObject *resultobj;
9920 wxWindow *arg1 = (wxWindow *) 0 ;
9921 int arg2 = (int) wxID_ANY ;
9922 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9923 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9924 wxSize const &arg4_defvalue = wxDefaultSize ;
9925 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9926 long arg5 = (long) 0 ;
9927 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9928 wxString *arg6 = (wxString *) &arg6_defvalue ;
9929 wxPyVListBox *result;
9930 wxPoint temp3 ;
9931 wxSize temp4 ;
9932 bool temp6 = False ;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935 PyObject * obj2 = 0 ;
9936 PyObject * obj3 = 0 ;
9937 PyObject * obj4 = 0 ;
9938 PyObject * obj5 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9946 if (obj1) {
9947 arg2 = (int)SWIG_As_int(obj1);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 if (obj2) {
9951 {
9952 arg3 = &temp3;
9953 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9954 }
9955 }
9956 if (obj3) {
9957 {
9958 arg4 = &temp4;
9959 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9960 }
9961 }
9962 if (obj4) {
9963 arg5 = (long)SWIG_As_long(obj4);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 if (obj5) {
9967 {
9968 arg6 = wxString_in_helper(obj5);
9969 if (arg6 == NULL) SWIG_fail;
9970 temp6 = True;
9971 }
9972 }
9973 {
9974 if (!wxPyCheckForApp()) SWIG_fail;
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9982 {
9983 if (temp6)
9984 delete arg6;
9985 }
9986 return resultobj;
9987 fail:
9988 {
9989 if (temp6)
9990 delete arg6;
9991 }
9992 return NULL;
9993 }
9994
9995
9996 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9997 PyObject *resultobj;
9998 wxPyVListBox *result;
9999 char *kwnames[] = {
10000 NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10004 {
10005 if (!wxPyCheckForApp()) SWIG_fail;
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 result = (wxPyVListBox *)new wxPyVListBox();
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10022 PyObject *arg2 = (PyObject *) 0 ;
10023 PyObject *arg3 = (PyObject *) 0 ;
10024 PyObject * obj0 = 0 ;
10025 PyObject * obj1 = 0 ;
10026 PyObject * obj2 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "self",(char *) "self",(char *) "_class", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10034 arg2 = obj1;
10035 arg3 = obj2;
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 (arg1)->_setCallbackInfo(arg2,arg3);
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 Py_INCREF(Py_None); resultobj = Py_None;
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10051 PyObject *resultobj;
10052 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10053 wxWindow *arg2 = (wxWindow *) 0 ;
10054 int arg3 = (int) wxID_ANY ;
10055 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10056 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10057 wxSize const &arg5_defvalue = wxDefaultSize ;
10058 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10059 long arg6 = (long) 0 ;
10060 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10061 wxString *arg7 = (wxString *) &arg7_defvalue ;
10062 bool result;
10063 wxPoint temp4 ;
10064 wxSize temp5 ;
10065 bool temp7 = False ;
10066 PyObject * obj0 = 0 ;
10067 PyObject * obj1 = 0 ;
10068 PyObject * obj2 = 0 ;
10069 PyObject * obj3 = 0 ;
10070 PyObject * obj4 = 0 ;
10071 PyObject * obj5 = 0 ;
10072 PyObject * obj6 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10082 if (obj2) {
10083 arg3 = (int)SWIG_As_int(obj2);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
10086 if (obj3) {
10087 {
10088 arg4 = &temp4;
10089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10090 }
10091 }
10092 if (obj4) {
10093 {
10094 arg5 = &temp5;
10095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10096 }
10097 }
10098 if (obj5) {
10099 arg6 = (long)SWIG_As_long(obj5);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 if (obj6) {
10103 {
10104 arg7 = wxString_in_helper(obj6);
10105 if (arg7 == NULL) SWIG_fail;
10106 temp7 = True;
10107 }
10108 }
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 {
10117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10118 }
10119 {
10120 if (temp7)
10121 delete arg7;
10122 }
10123 return resultobj;
10124 fail:
10125 {
10126 if (temp7)
10127 delete arg7;
10128 }
10129 return NULL;
10130 }
10131
10132
10133 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj;
10135 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10136 size_t result;
10137 PyObject * obj0 = 0 ;
10138 char *kwnames[] = {
10139 (char *) "self", NULL
10140 };
10141
10142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",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 = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10162 bool result;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "self", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 {
10179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10180 }
10181 return resultobj;
10182 fail:
10183 return NULL;
10184 }
10185
10186
10187 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10188 PyObject *resultobj;
10189 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10190 int result;
10191 PyObject * obj0 = 0 ;
10192 char *kwnames[] = {
10193 (char *) "self", NULL
10194 };
10195
10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 resultobj = SWIG_From_int((int)result);
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10216 size_t arg2 ;
10217 bool result;
10218 PyObject * obj0 = 0 ;
10219 PyObject * obj1 = 0 ;
10220 char *kwnames[] = {
10221 (char *) "self",(char *) "item", NULL
10222 };
10223
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10227 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 {
10230 PyThreadState* __tstate = wxPyBeginAllowThreads();
10231 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10232
10233 wxPyEndAllowThreads(__tstate);
10234 if (PyErr_Occurred()) SWIG_fail;
10235 }
10236 {
10237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10238 }
10239 return resultobj;
10240 fail:
10241 return NULL;
10242 }
10243
10244
10245 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10248 size_t arg2 ;
10249 bool result;
10250 PyObject * obj0 = 0 ;
10251 PyObject * obj1 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self",(char *) "item", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10259 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 {
10269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10270 }
10271 return resultobj;
10272 fail:
10273 return NULL;
10274 }
10275
10276
10277 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10278 PyObject *resultobj;
10279 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10280 size_t result;
10281 PyObject * obj0 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "self", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10292
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
10296 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10297 return resultobj;
10298 fail:
10299 return NULL;
10300 }
10301
10302
10303 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj;
10305 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10306 PyObject *result;
10307 PyObject * obj0 = 0 ;
10308 char *kwnames[] = {
10309 (char *) "self", NULL
10310 };
10311
10312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 resultobj = result;
10323 return resultobj;
10324 fail:
10325 return NULL;
10326 }
10327
10328
10329 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj;
10331 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10332 unsigned long arg2 ;
10333 PyObject *result;
10334 PyObject * obj0 = 0 ;
10335 PyObject * obj1 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self",(char *) "cookie", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10343 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 resultobj = result;
10353 return resultobj;
10354 fail:
10355 return NULL;
10356 }
10357
10358
10359 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj;
10361 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10362 wxPoint result;
10363 PyObject * obj0 = 0 ;
10364 char *kwnames[] = {
10365 (char *) "self", NULL
10366 };
10367
10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 result = ((wxPyVListBox const *)arg1)->GetMargins();
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 {
10379 wxPoint * resultptr;
10380 resultptr = new wxPoint((wxPoint &) result);
10381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10382 }
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10392 wxColour *result;
10393 PyObject * obj0 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 {
10404 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10405 result = (wxColour *) &_result_ref;
10406 }
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10412 return resultobj;
10413 fail:
10414 return NULL;
10415 }
10416
10417
10418 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10421 size_t arg2 ;
10422 PyObject * obj0 = 0 ;
10423 PyObject * obj1 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self",(char *) "count", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",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 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 (arg1)->SetItemCount(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_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10450 PyObject * obj0 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 (arg1)->Clear();
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 Py_INCREF(Py_None); resultobj = Py_None;
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10475 int arg2 ;
10476 PyObject * obj0 = 0 ;
10477 PyObject * obj1 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self",(char *) "selection", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10485 arg2 = (int)SWIG_As_int(obj1);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 {
10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
10489 (arg1)->SetSelection(arg2);
10490
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 Py_INCREF(Py_None); resultobj = Py_None;
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10502 PyObject *resultobj;
10503 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10504 size_t arg2 ;
10505 bool arg3 = (bool) True ;
10506 bool result;
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 PyObject * obj2 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self",(char *) "item",(char *) "select", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10517 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 if (obj2) {
10520 arg3 = (bool)SWIG_As_bool(obj2);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 result = (bool)(arg1)->Select(arg2,arg3);
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 {
10531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10532 }
10533 return resultobj;
10534 fail:
10535 return NULL;
10536 }
10537
10538
10539 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10540 PyObject *resultobj;
10541 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10542 size_t arg2 ;
10543 size_t arg3 ;
10544 bool result;
10545 PyObject * obj0 = 0 ;
10546 PyObject * obj1 = 0 ;
10547 PyObject * obj2 = 0 ;
10548 char *kwnames[] = {
10549 (char *) "self",(char *) "from",(char *) "to", NULL
10550 };
10551
10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10555 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 result = (bool)(arg1)->SelectRange(arg2,arg3);
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 {
10567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10568 }
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj;
10577 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10578 size_t arg2 ;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self",(char *) "item", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10588 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 (arg1)->Toggle(arg2);
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 Py_INCREF(Py_None); resultobj = Py_None;
10598 return resultobj;
10599 fail:
10600 return NULL;
10601 }
10602
10603
10604 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10607 bool result;
10608 PyObject * obj0 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10616 {
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 result = (bool)(arg1)->SelectAll();
10619
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 {
10624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10625 }
10626 return resultobj;
10627 fail:
10628 return NULL;
10629 }
10630
10631
10632 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10633 PyObject *resultobj;
10634 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10635 bool result;
10636 PyObject * obj0 = 0 ;
10637 char *kwnames[] = {
10638 (char *) "self", NULL
10639 };
10640
10641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 result = (bool)(arg1)->DeselectAll();
10647
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 {
10652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10653 }
10654 return resultobj;
10655 fail:
10656 return NULL;
10657 }
10658
10659
10660 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10661 PyObject *resultobj;
10662 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10663 wxPoint *arg2 = 0 ;
10664 wxPoint temp2 ;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self",(char *) "pt", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10674 {
10675 arg2 = &temp2;
10676 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10677 }
10678 {
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 (arg1)->SetMargins((wxPoint const &)*arg2);
10681
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 Py_INCREF(Py_None); resultobj = Py_None;
10686 return resultobj;
10687 fail:
10688 return NULL;
10689 }
10690
10691
10692 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10693 PyObject *resultobj;
10694 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10695 int arg2 ;
10696 int arg3 ;
10697 PyObject * obj0 = 0 ;
10698 PyObject * obj1 = 0 ;
10699 PyObject * obj2 = 0 ;
10700 char *kwnames[] = {
10701 (char *) "self",(char *) "x",(char *) "y", NULL
10702 };
10703
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10707 arg2 = (int)SWIG_As_int(obj1);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 arg3 = (int)SWIG_As_int(obj2);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 (arg1)->SetMargins(arg2,arg3);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 Py_INCREF(Py_None); resultobj = Py_None;
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10728 wxColour *arg2 = 0 ;
10729 wxColour temp2 ;
10730 PyObject * obj0 = 0 ;
10731 PyObject * obj1 = 0 ;
10732 char *kwnames[] = {
10733 (char *) "self",(char *) "col", NULL
10734 };
10735
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10739 {
10740 arg2 = &temp2;
10741 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10742 }
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10746
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 Py_INCREF(Py_None); resultobj = Py_None;
10751 return resultobj;
10752 fail:
10753 return NULL;
10754 }
10755
10756
10757 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10758 PyObject *obj;
10759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10760 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10761 Py_INCREF(obj);
10762 return Py_BuildValue((char *)"");
10763 }
10764 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj;
10766 wxWindow *arg1 = (wxWindow *) 0 ;
10767 int arg2 = (int) wxID_ANY ;
10768 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10769 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10770 wxSize const &arg4_defvalue = wxDefaultSize ;
10771 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10772 long arg5 = (long) 0 ;
10773 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10774 wxString *arg6 = (wxString *) &arg6_defvalue ;
10775 wxPyHtmlListBox *result;
10776 wxPoint temp3 ;
10777 wxSize temp4 ;
10778 bool temp6 = False ;
10779 PyObject * obj0 = 0 ;
10780 PyObject * obj1 = 0 ;
10781 PyObject * obj2 = 0 ;
10782 PyObject * obj3 = 0 ;
10783 PyObject * obj4 = 0 ;
10784 PyObject * obj5 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10792 if (obj1) {
10793 arg2 = (int)SWIG_As_int(obj1);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 }
10796 if (obj2) {
10797 {
10798 arg3 = &temp3;
10799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10800 }
10801 }
10802 if (obj3) {
10803 {
10804 arg4 = &temp4;
10805 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10806 }
10807 }
10808 if (obj4) {
10809 arg5 = (long)SWIG_As_long(obj4);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 if (obj5) {
10813 {
10814 arg6 = wxString_in_helper(obj5);
10815 if (arg6 == NULL) SWIG_fail;
10816 temp6 = True;
10817 }
10818 }
10819 {
10820 if (!wxPyCheckForApp()) SWIG_fail;
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10828 {
10829 if (temp6)
10830 delete arg6;
10831 }
10832 return resultobj;
10833 fail:
10834 {
10835 if (temp6)
10836 delete arg6;
10837 }
10838 return NULL;
10839 }
10840
10841
10842 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxPyHtmlListBox *result;
10845 char *kwnames[] = {
10846 NULL
10847 };
10848
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10850 {
10851 if (!wxPyCheckForApp()) SWIG_fail;
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10859 return resultobj;
10860 fail:
10861 return NULL;
10862 }
10863
10864
10865 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10868 PyObject *arg2 = (PyObject *) 0 ;
10869 PyObject *arg3 = (PyObject *) 0 ;
10870 PyObject * obj0 = 0 ;
10871 PyObject * obj1 = 0 ;
10872 PyObject * obj2 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "self",(char *) "self",(char *) "_class", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10880 arg2 = obj1;
10881 arg3 = obj2;
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 (arg1)->_setCallbackInfo(arg2,arg3);
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 Py_INCREF(Py_None); resultobj = Py_None;
10890 return resultobj;
10891 fail:
10892 return NULL;
10893 }
10894
10895
10896 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10897 PyObject *resultobj;
10898 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10899 wxWindow *arg2 = (wxWindow *) 0 ;
10900 int arg3 = (int) wxID_ANY ;
10901 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10902 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10903 wxSize const &arg5_defvalue = wxDefaultSize ;
10904 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10905 long arg6 = (long) 0 ;
10906 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10907 wxString *arg7 = (wxString *) &arg7_defvalue ;
10908 bool result;
10909 wxPoint temp4 ;
10910 wxSize temp5 ;
10911 bool temp7 = False ;
10912 PyObject * obj0 = 0 ;
10913 PyObject * obj1 = 0 ;
10914 PyObject * obj2 = 0 ;
10915 PyObject * obj3 = 0 ;
10916 PyObject * obj4 = 0 ;
10917 PyObject * obj5 = 0 ;
10918 PyObject * obj6 = 0 ;
10919 char *kwnames[] = {
10920 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10921 };
10922
10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10928 if (obj2) {
10929 arg3 = (int)SWIG_As_int(obj2);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 if (obj3) {
10933 {
10934 arg4 = &temp4;
10935 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10936 }
10937 }
10938 if (obj4) {
10939 {
10940 arg5 = &temp5;
10941 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10942 }
10943 }
10944 if (obj5) {
10945 arg6 = (long)SWIG_As_long(obj5);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 if (obj6) {
10949 {
10950 arg7 = wxString_in_helper(obj6);
10951 if (arg7 == NULL) SWIG_fail;
10952 temp7 = True;
10953 }
10954 }
10955 {
10956 PyThreadState* __tstate = wxPyBeginAllowThreads();
10957 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10958
10959 wxPyEndAllowThreads(__tstate);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 }
10962 {
10963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10964 }
10965 {
10966 if (temp7)
10967 delete arg7;
10968 }
10969 return resultobj;
10970 fail:
10971 {
10972 if (temp7)
10973 delete arg7;
10974 }
10975 return NULL;
10976 }
10977
10978
10979 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10980 PyObject *resultobj;
10981 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10982 PyObject * obj0 = 0 ;
10983 char *kwnames[] = {
10984 (char *) "self", NULL
10985 };
10986
10987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10990 {
10991 PyThreadState* __tstate = wxPyBeginAllowThreads();
10992 (arg1)->RefreshAll();
10993
10994 wxPyEndAllowThreads(__tstate);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
10997 Py_INCREF(Py_None); resultobj = Py_None;
10998 return resultobj;
10999 fail:
11000 return NULL;
11001 }
11002
11003
11004 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11005 PyObject *resultobj;
11006 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11007 size_t arg2 ;
11008 PyObject * obj0 = 0 ;
11009 PyObject * obj1 = 0 ;
11010 char *kwnames[] = {
11011 (char *) "self",(char *) "count", NULL
11012 };
11013
11014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11017 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 (arg1)->SetItemCount(arg2);
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 Py_INCREF(Py_None); resultobj = Py_None;
11027 return resultobj;
11028 fail:
11029 return NULL;
11030 }
11031
11032
11033 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11034 PyObject *resultobj;
11035 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11036 wxFileSystem *result;
11037 PyObject * obj0 = 0 ;
11038 char *kwnames[] = {
11039 (char *) "self", NULL
11040 };
11041
11042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 {
11048 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11049 result = (wxFileSystem *) &_result_ref;
11050 }
11051
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11056 return resultobj;
11057 fail:
11058 return NULL;
11059 }
11060
11061
11062 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11063 PyObject *obj;
11064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11065 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11066 Py_INCREF(obj);
11067 return Py_BuildValue((char *)"");
11068 }
11069 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11070 PyObject *resultobj;
11071 wxTaskBarIcon *result;
11072 char *kwnames[] = {
11073 NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11077 {
11078 if (!wxPyCheckForApp()) SWIG_fail;
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 result = (wxTaskBarIcon *)new wxTaskBarIcon();
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
11086 return resultobj;
11087 fail:
11088 return NULL;
11089 }
11090
11091
11092 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11093 PyObject *resultobj;
11094 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11095 PyObject * obj0 = 0 ;
11096 char *kwnames[] = {
11097 (char *) "self", NULL
11098 };
11099
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
11101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 delete arg1;
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 Py_INCREF(Py_None); resultobj = Py_None;
11111 return resultobj;
11112 fail:
11113 return NULL;
11114 }
11115
11116
11117 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11118 PyObject *resultobj;
11119 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11120 PyObject * obj0 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 wxTaskBarIcon_Destroy(arg1);
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 Py_INCREF(Py_None); resultobj = Py_None;
11136 return resultobj;
11137 fail:
11138 return NULL;
11139 }
11140
11141
11142 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj;
11144 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11145 bool result;
11146 PyObject * obj0 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "self", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11154 {
11155 PyThreadState* __tstate = wxPyBeginAllowThreads();
11156 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
11157
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11163 }
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11173 bool result;
11174 PyObject * obj0 = 0 ;
11175 char *kwnames[] = {
11176 (char *) "self", NULL
11177 };
11178
11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11182 {
11183 PyThreadState* __tstate = wxPyBeginAllowThreads();
11184 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
11185
11186 wxPyEndAllowThreads(__tstate);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 {
11190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11191 }
11192 return resultobj;
11193 fail:
11194 return NULL;
11195 }
11196
11197
11198 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11199 PyObject *resultobj;
11200 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11201 wxIcon *arg2 = 0 ;
11202 wxString const &arg3_defvalue = wxPyEmptyString ;
11203 wxString *arg3 = (wxString *) &arg3_defvalue ;
11204 bool result;
11205 bool temp3 = False ;
11206 PyObject * obj0 = 0 ;
11207 PyObject * obj1 = 0 ;
11208 PyObject * obj2 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11216 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11217 SWIG_POINTER_EXCEPTION | 0)) == -1)
11218 SWIG_fail;
11219 if (arg2 == NULL) {
11220 PyErr_SetString(PyExc_TypeError,"null reference");
11221 SWIG_fail;
11222 }
11223 if (obj2) {
11224 {
11225 arg3 = wxString_in_helper(obj2);
11226 if (arg3 == NULL) SWIG_fail;
11227 temp3 = True;
11228 }
11229 }
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
11232 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 {
11238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11239 }
11240 {
11241 if (temp3)
11242 delete arg3;
11243 }
11244 return resultobj;
11245 fail:
11246 {
11247 if (temp3)
11248 delete arg3;
11249 }
11250 return NULL;
11251 }
11252
11253
11254 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11255 PyObject *resultobj;
11256 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11257 bool result;
11258 PyObject * obj0 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "self", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (bool)(arg1)->RemoveIcon();
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 {
11274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11275 }
11276 return resultobj;
11277 fail:
11278 return NULL;
11279 }
11280
11281
11282 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11283 PyObject *resultobj;
11284 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11285 wxMenu *arg2 = (wxMenu *) 0 ;
11286 bool result;
11287 PyObject * obj0 = 0 ;
11288 PyObject * obj1 = 0 ;
11289 char *kwnames[] = {
11290 (char *) "self",(char *) "menu", NULL
11291 };
11292
11293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11298 {
11299 PyThreadState* __tstate = wxPyBeginAllowThreads();
11300 result = (bool)(arg1)->PopupMenu(arg2);
11301
11302 wxPyEndAllowThreads(__tstate);
11303 if (PyErr_Occurred()) SWIG_fail;
11304 }
11305 {
11306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11307 }
11308 return resultobj;
11309 fail:
11310 return NULL;
11311 }
11312
11313
11314 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11315 PyObject *obj;
11316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11317 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11318 Py_INCREF(obj);
11319 return Py_BuildValue((char *)"");
11320 }
11321 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11322 PyObject *resultobj;
11323 wxEventType arg1 ;
11324 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11325 wxTaskBarIconEvent *result;
11326 PyObject * obj0 = 0 ;
11327 PyObject * obj1 = 0 ;
11328 char *kwnames[] = {
11329 (char *) "evtType",(char *) "tbIcon", NULL
11330 };
11331
11332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11333 arg1 = (wxEventType)SWIG_As_int(obj0);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11345 return resultobj;
11346 fail:
11347 return NULL;
11348 }
11349
11350
11351 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11352 PyObject *obj;
11353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11354 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11355 Py_INCREF(obj);
11356 return Py_BuildValue((char *)"");
11357 }
11358 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11359 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11360 return 1;
11361 }
11362
11363
11364 static PyObject *_wrap_FileSelectorPromptStr_get() {
11365 PyObject *pyobj;
11366
11367 {
11368 #if wxUSE_UNICODE
11369 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11370 #else
11371 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11372 #endif
11373 }
11374 return pyobj;
11375 }
11376
11377
11378 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11379 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11380 return 1;
11381 }
11382
11383
11384 static PyObject *_wrap_DirSelectorPromptStr_get() {
11385 PyObject *pyobj;
11386
11387 {
11388 #if wxUSE_UNICODE
11389 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11390 #else
11391 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11392 #endif
11393 }
11394 return pyobj;
11395 }
11396
11397
11398 static int _wrap_DirDialogNameStr_set(PyObject *) {
11399 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11400 return 1;
11401 }
11402
11403
11404 static PyObject *_wrap_DirDialogNameStr_get() {
11405 PyObject *pyobj;
11406
11407 {
11408 #if wxUSE_UNICODE
11409 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11410 #else
11411 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11412 #endif
11413 }
11414 return pyobj;
11415 }
11416
11417
11418 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11419 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11420 return 1;
11421 }
11422
11423
11424 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11425 PyObject *pyobj;
11426
11427 {
11428 #if wxUSE_UNICODE
11429 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11430 #else
11431 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11432 #endif
11433 }
11434 return pyobj;
11435 }
11436
11437
11438 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11439 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11440 return 1;
11441 }
11442
11443
11444 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11445 PyObject *pyobj;
11446
11447 {
11448 #if wxUSE_UNICODE
11449 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11450 #else
11451 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11452 #endif
11453 }
11454 return pyobj;
11455 }
11456
11457
11458 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11459 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11460 return 1;
11461 }
11462
11463
11464 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11465 PyObject *pyobj;
11466
11467 {
11468 #if wxUSE_UNICODE
11469 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11470 #else
11471 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11472 #endif
11473 }
11474 return pyobj;
11475 }
11476
11477
11478 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11479 PyObject *resultobj;
11480 wxColourData *result;
11481 char *kwnames[] = {
11482 NULL
11483 };
11484
11485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 result = (wxColourData *)new wxColourData();
11489
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11494 return resultobj;
11495 fail:
11496 return NULL;
11497 }
11498
11499
11500 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11501 PyObject *resultobj;
11502 wxColourData *arg1 = (wxColourData *) 0 ;
11503 PyObject * obj0 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "self", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 delete arg1;
11514
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 Py_INCREF(Py_None); resultobj = Py_None;
11519 return resultobj;
11520 fail:
11521 return NULL;
11522 }
11523
11524
11525 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj;
11527 wxColourData *arg1 = (wxColourData *) 0 ;
11528 bool result;
11529 PyObject * obj0 = 0 ;
11530 char *kwnames[] = {
11531 (char *) "self", NULL
11532 };
11533
11534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 result = (bool)(arg1)->GetChooseFull();
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 {
11545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11546 }
11547 return resultobj;
11548 fail:
11549 return NULL;
11550 }
11551
11552
11553 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxColourData *arg1 = (wxColourData *) 0 ;
11556 wxColour result;
11557 PyObject * obj0 = 0 ;
11558 char *kwnames[] = {
11559 (char *) "self", NULL
11560 };
11561
11562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 result = (arg1)->GetColour();
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 {
11573 wxColour * resultptr;
11574 resultptr = new wxColour((wxColour &) result);
11575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11576 }
11577 return resultobj;
11578 fail:
11579 return NULL;
11580 }
11581
11582
11583 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj;
11585 wxColourData *arg1 = (wxColourData *) 0 ;
11586 int arg2 ;
11587 wxColour result;
11588 PyObject * obj0 = 0 ;
11589 PyObject * obj1 = 0 ;
11590 char *kwnames[] = {
11591 (char *) "self",(char *) "i", NULL
11592 };
11593
11594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11597 arg2 = (int)SWIG_As_int(obj1);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 result = (arg1)->GetCustomColour(arg2);
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 {
11607 wxColour * resultptr;
11608 resultptr = new wxColour((wxColour &) result);
11609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11610 }
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxColourData *arg1 = (wxColourData *) 0 ;
11620 int arg2 ;
11621 PyObject * obj0 = 0 ;
11622 PyObject * obj1 = 0 ;
11623 char *kwnames[] = {
11624 (char *) "self",(char *) "flag", NULL
11625 };
11626
11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11630 arg2 = (int)SWIG_As_int(obj1);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 (arg1)->SetChooseFull(arg2);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 Py_INCREF(Py_None); resultobj = Py_None;
11640 return resultobj;
11641 fail:
11642 return NULL;
11643 }
11644
11645
11646 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11647 PyObject *resultobj;
11648 wxColourData *arg1 = (wxColourData *) 0 ;
11649 wxColour *arg2 = 0 ;
11650 wxColour temp2 ;
11651 PyObject * obj0 = 0 ;
11652 PyObject * obj1 = 0 ;
11653 char *kwnames[] = {
11654 (char *) "self",(char *) "colour", NULL
11655 };
11656
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11660 {
11661 arg2 = &temp2;
11662 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11663 }
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 (arg1)->SetColour((wxColour const &)*arg2);
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 Py_INCREF(Py_None); resultobj = Py_None;
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxColourData *arg1 = (wxColourData *) 0 ;
11681 int arg2 ;
11682 wxColour *arg3 = 0 ;
11683 wxColour temp3 ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 PyObject * obj2 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self",(char *) "i",(char *) "colour", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11694 arg2 = (int)SWIG_As_int(obj1);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 {
11697 arg3 = &temp3;
11698 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11699 }
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 Py_INCREF(Py_None); resultobj = Py_None;
11708 return resultobj;
11709 fail:
11710 return NULL;
11711 }
11712
11713
11714 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11715 PyObject *obj;
11716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11718 Py_INCREF(obj);
11719 return Py_BuildValue((char *)"");
11720 }
11721 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11722 PyObject *resultobj;
11723 wxWindow *arg1 = (wxWindow *) 0 ;
11724 wxColourData *arg2 = (wxColourData *) NULL ;
11725 wxColourDialog *result;
11726 PyObject * obj0 = 0 ;
11727 PyObject * obj1 = 0 ;
11728 char *kwnames[] = {
11729 (char *) "parent",(char *) "data", NULL
11730 };
11731
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11735 if (obj1) {
11736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11738 }
11739 {
11740 if (!wxPyCheckForApp()) SWIG_fail;
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11748 return resultobj;
11749 fail:
11750 return NULL;
11751 }
11752
11753
11754 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj;
11756 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11757 wxColourData *result;
11758 PyObject * obj0 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 {
11769 wxColourData &_result_ref = (arg1)->GetColourData();
11770 result = (wxColourData *) &_result_ref;
11771 }
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11777 return resultobj;
11778 fail:
11779 return NULL;
11780 }
11781
11782
11783 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11784 PyObject *obj;
11785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11786 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11787 Py_INCREF(obj);
11788 return Py_BuildValue((char *)"");
11789 }
11790 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj;
11792 wxWindow *arg1 = (wxWindow *) 0 ;
11793 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11794 wxString *arg2 = (wxString *) &arg2_defvalue ;
11795 wxString const &arg3_defvalue = wxPyEmptyString ;
11796 wxString *arg3 = (wxString *) &arg3_defvalue ;
11797 long arg4 = (long) 0 ;
11798 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11799 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11800 wxSize const &arg6_defvalue = wxDefaultSize ;
11801 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11802 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11803 wxString *arg7 = (wxString *) &arg7_defvalue ;
11804 wxDirDialog *result;
11805 bool temp2 = False ;
11806 bool temp3 = False ;
11807 wxPoint temp5 ;
11808 wxSize temp6 ;
11809 bool temp7 = False ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj1 = 0 ;
11812 PyObject * obj2 = 0 ;
11813 PyObject * obj3 = 0 ;
11814 PyObject * obj4 = 0 ;
11815 PyObject * obj5 = 0 ;
11816 PyObject * obj6 = 0 ;
11817 char *kwnames[] = {
11818 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11819 };
11820
11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11824 if (obj1) {
11825 {
11826 arg2 = wxString_in_helper(obj1);
11827 if (arg2 == NULL) SWIG_fail;
11828 temp2 = True;
11829 }
11830 }
11831 if (obj2) {
11832 {
11833 arg3 = wxString_in_helper(obj2);
11834 if (arg3 == NULL) SWIG_fail;
11835 temp3 = True;
11836 }
11837 }
11838 if (obj3) {
11839 arg4 = (long)SWIG_As_long(obj3);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 if (obj4) {
11843 {
11844 arg5 = &temp5;
11845 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11846 }
11847 }
11848 if (obj5) {
11849 {
11850 arg6 = &temp6;
11851 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11852 }
11853 }
11854 if (obj6) {
11855 {
11856 arg7 = wxString_in_helper(obj6);
11857 if (arg7 == NULL) SWIG_fail;
11858 temp7 = True;
11859 }
11860 }
11861 {
11862 if (!wxPyCheckForApp()) SWIG_fail;
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11870 {
11871 if (temp2)
11872 delete arg2;
11873 }
11874 {
11875 if (temp3)
11876 delete arg3;
11877 }
11878 {
11879 if (temp7)
11880 delete arg7;
11881 }
11882 return resultobj;
11883 fail:
11884 {
11885 if (temp2)
11886 delete arg2;
11887 }
11888 {
11889 if (temp3)
11890 delete arg3;
11891 }
11892 {
11893 if (temp7)
11894 delete arg7;
11895 }
11896 return NULL;
11897 }
11898
11899
11900 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj;
11902 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11903 wxString result;
11904 PyObject * obj0 = 0 ;
11905 char *kwnames[] = {
11906 (char *) "self", NULL
11907 };
11908
11909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 result = (arg1)->GetPath();
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 {
11920 #if wxUSE_UNICODE
11921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11922 #else
11923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11924 #endif
11925 }
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj;
11934 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11935 wxString result;
11936 PyObject * obj0 = 0 ;
11937 char *kwnames[] = {
11938 (char *) "self", NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 result = (arg1)->GetMessage();
11947
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 {
11952 #if wxUSE_UNICODE
11953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11954 #else
11955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11956 #endif
11957 }
11958 return resultobj;
11959 fail:
11960 return NULL;
11961 }
11962
11963
11964 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11965 PyObject *resultobj;
11966 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11967 long result;
11968 PyObject * obj0 = 0 ;
11969 char *kwnames[] = {
11970 (char *) "self", NULL
11971 };
11972
11973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11976 {
11977 PyThreadState* __tstate = wxPyBeginAllowThreads();
11978 result = (long)(arg1)->GetStyle();
11979
11980 wxPyEndAllowThreads(__tstate);
11981 if (PyErr_Occurred()) SWIG_fail;
11982 }
11983 resultobj = SWIG_From_long((long)result);
11984 return resultobj;
11985 fail:
11986 return NULL;
11987 }
11988
11989
11990 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11991 PyObject *resultobj;
11992 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11993 wxString *arg2 = 0 ;
11994 bool temp2 = False ;
11995 PyObject * obj0 = 0 ;
11996 PyObject * obj1 = 0 ;
11997 char *kwnames[] = {
11998 (char *) "self",(char *) "message", NULL
11999 };
12000
12001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12004 {
12005 arg2 = wxString_in_helper(obj1);
12006 if (arg2 == NULL) SWIG_fail;
12007 temp2 = True;
12008 }
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 (arg1)->SetMessage((wxString const &)*arg2);
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 Py_INCREF(Py_None); resultobj = Py_None;
12017 {
12018 if (temp2)
12019 delete arg2;
12020 }
12021 return resultobj;
12022 fail:
12023 {
12024 if (temp2)
12025 delete arg2;
12026 }
12027 return NULL;
12028 }
12029
12030
12031 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj;
12033 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12034 wxString *arg2 = 0 ;
12035 bool temp2 = False ;
12036 PyObject * obj0 = 0 ;
12037 PyObject * obj1 = 0 ;
12038 char *kwnames[] = {
12039 (char *) "self",(char *) "path", NULL
12040 };
12041
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12045 {
12046 arg2 = wxString_in_helper(obj1);
12047 if (arg2 == NULL) SWIG_fail;
12048 temp2 = True;
12049 }
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 (arg1)->SetPath((wxString const &)*arg2);
12053
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 Py_INCREF(Py_None); resultobj = Py_None;
12058 {
12059 if (temp2)
12060 delete arg2;
12061 }
12062 return resultobj;
12063 fail:
12064 {
12065 if (temp2)
12066 delete arg2;
12067 }
12068 return NULL;
12069 }
12070
12071
12072 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12073 PyObject *obj;
12074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12075 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12076 Py_INCREF(obj);
12077 return Py_BuildValue((char *)"");
12078 }
12079 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12080 PyObject *resultobj;
12081 wxWindow *arg1 = (wxWindow *) 0 ;
12082 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12083 wxString *arg2 = (wxString *) &arg2_defvalue ;
12084 wxString const &arg3_defvalue = wxPyEmptyString ;
12085 wxString *arg3 = (wxString *) &arg3_defvalue ;
12086 wxString const &arg4_defvalue = wxPyEmptyString ;
12087 wxString *arg4 = (wxString *) &arg4_defvalue ;
12088 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12089 wxString *arg5 = (wxString *) &arg5_defvalue ;
12090 long arg6 = (long) 0 ;
12091 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12092 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12093 wxFileDialog *result;
12094 bool temp2 = False ;
12095 bool temp3 = False ;
12096 bool temp4 = False ;
12097 bool temp5 = False ;
12098 wxPoint temp7 ;
12099 PyObject * obj0 = 0 ;
12100 PyObject * obj1 = 0 ;
12101 PyObject * obj2 = 0 ;
12102 PyObject * obj3 = 0 ;
12103 PyObject * obj4 = 0 ;
12104 PyObject * obj5 = 0 ;
12105 PyObject * obj6 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12113 if (obj1) {
12114 {
12115 arg2 = wxString_in_helper(obj1);
12116 if (arg2 == NULL) SWIG_fail;
12117 temp2 = True;
12118 }
12119 }
12120 if (obj2) {
12121 {
12122 arg3 = wxString_in_helper(obj2);
12123 if (arg3 == NULL) SWIG_fail;
12124 temp3 = True;
12125 }
12126 }
12127 if (obj3) {
12128 {
12129 arg4 = wxString_in_helper(obj3);
12130 if (arg4 == NULL) SWIG_fail;
12131 temp4 = True;
12132 }
12133 }
12134 if (obj4) {
12135 {
12136 arg5 = wxString_in_helper(obj4);
12137 if (arg5 == NULL) SWIG_fail;
12138 temp5 = True;
12139 }
12140 }
12141 if (obj5) {
12142 arg6 = (long)SWIG_As_long(obj5);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 if (obj6) {
12146 {
12147 arg7 = &temp7;
12148 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12149 }
12150 }
12151 {
12152 if (!wxPyCheckForApp()) SWIG_fail;
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12160 {
12161 if (temp2)
12162 delete arg2;
12163 }
12164 {
12165 if (temp3)
12166 delete arg3;
12167 }
12168 {
12169 if (temp4)
12170 delete arg4;
12171 }
12172 {
12173 if (temp5)
12174 delete arg5;
12175 }
12176 return resultobj;
12177 fail:
12178 {
12179 if (temp2)
12180 delete arg2;
12181 }
12182 {
12183 if (temp3)
12184 delete arg3;
12185 }
12186 {
12187 if (temp4)
12188 delete arg4;
12189 }
12190 {
12191 if (temp5)
12192 delete arg5;
12193 }
12194 return NULL;
12195 }
12196
12197
12198 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12199 PyObject *resultobj;
12200 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12201 wxString *arg2 = 0 ;
12202 bool temp2 = False ;
12203 PyObject * obj0 = 0 ;
12204 PyObject * obj1 = 0 ;
12205 char *kwnames[] = {
12206 (char *) "self",(char *) "message", NULL
12207 };
12208
12209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12212 {
12213 arg2 = wxString_in_helper(obj1);
12214 if (arg2 == NULL) SWIG_fail;
12215 temp2 = True;
12216 }
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 (arg1)->SetMessage((wxString const &)*arg2);
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 Py_INCREF(Py_None); resultobj = Py_None;
12225 {
12226 if (temp2)
12227 delete arg2;
12228 }
12229 return resultobj;
12230 fail:
12231 {
12232 if (temp2)
12233 delete arg2;
12234 }
12235 return NULL;
12236 }
12237
12238
12239 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12240 PyObject *resultobj;
12241 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12242 wxString *arg2 = 0 ;
12243 bool temp2 = False ;
12244 PyObject * obj0 = 0 ;
12245 PyObject * obj1 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self",(char *) "path", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12253 {
12254 arg2 = wxString_in_helper(obj1);
12255 if (arg2 == NULL) SWIG_fail;
12256 temp2 = True;
12257 }
12258 {
12259 PyThreadState* __tstate = wxPyBeginAllowThreads();
12260 (arg1)->SetPath((wxString const &)*arg2);
12261
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
12265 Py_INCREF(Py_None); resultobj = Py_None;
12266 {
12267 if (temp2)
12268 delete arg2;
12269 }
12270 return resultobj;
12271 fail:
12272 {
12273 if (temp2)
12274 delete arg2;
12275 }
12276 return NULL;
12277 }
12278
12279
12280 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12281 PyObject *resultobj;
12282 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12283 wxString *arg2 = 0 ;
12284 bool temp2 = False ;
12285 PyObject * obj0 = 0 ;
12286 PyObject * obj1 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self",(char *) "dir", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12294 {
12295 arg2 = wxString_in_helper(obj1);
12296 if (arg2 == NULL) SWIG_fail;
12297 temp2 = True;
12298 }
12299 {
12300 PyThreadState* __tstate = wxPyBeginAllowThreads();
12301 (arg1)->SetDirectory((wxString const &)*arg2);
12302
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 Py_INCREF(Py_None); resultobj = Py_None;
12307 {
12308 if (temp2)
12309 delete arg2;
12310 }
12311 return resultobj;
12312 fail:
12313 {
12314 if (temp2)
12315 delete arg2;
12316 }
12317 return NULL;
12318 }
12319
12320
12321 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12322 PyObject *resultobj;
12323 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12324 wxString *arg2 = 0 ;
12325 bool temp2 = False ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "name", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12335 {
12336 arg2 = wxString_in_helper(obj1);
12337 if (arg2 == NULL) SWIG_fail;
12338 temp2 = True;
12339 }
12340 {
12341 PyThreadState* __tstate = wxPyBeginAllowThreads();
12342 (arg1)->SetFilename((wxString const &)*arg2);
12343
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
12347 Py_INCREF(Py_None); resultobj = Py_None;
12348 {
12349 if (temp2)
12350 delete arg2;
12351 }
12352 return resultobj;
12353 fail:
12354 {
12355 if (temp2)
12356 delete arg2;
12357 }
12358 return NULL;
12359 }
12360
12361
12362 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12363 PyObject *resultobj;
12364 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12365 wxString *arg2 = 0 ;
12366 bool temp2 = False ;
12367 PyObject * obj0 = 0 ;
12368 PyObject * obj1 = 0 ;
12369 char *kwnames[] = {
12370 (char *) "self",(char *) "wildCard", NULL
12371 };
12372
12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12376 {
12377 arg2 = wxString_in_helper(obj1);
12378 if (arg2 == NULL) SWIG_fail;
12379 temp2 = True;
12380 }
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 (arg1)->SetWildcard((wxString const &)*arg2);
12384
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
12388 Py_INCREF(Py_None); resultobj = Py_None;
12389 {
12390 if (temp2)
12391 delete arg2;
12392 }
12393 return resultobj;
12394 fail:
12395 {
12396 if (temp2)
12397 delete arg2;
12398 }
12399 return NULL;
12400 }
12401
12402
12403 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12404 PyObject *resultobj;
12405 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12406 long arg2 ;
12407 PyObject * obj0 = 0 ;
12408 PyObject * obj1 = 0 ;
12409 char *kwnames[] = {
12410 (char *) "self",(char *) "style", NULL
12411 };
12412
12413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12416 arg2 = (long)SWIG_As_long(obj1);
12417 if (PyErr_Occurred()) SWIG_fail;
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 (arg1)->SetStyle(arg2);
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
12425 Py_INCREF(Py_None); resultobj = Py_None;
12426 return resultobj;
12427 fail:
12428 return NULL;
12429 }
12430
12431
12432 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12433 PyObject *resultobj;
12434 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12435 int arg2 ;
12436 PyObject * obj0 = 0 ;
12437 PyObject * obj1 = 0 ;
12438 char *kwnames[] = {
12439 (char *) "self",(char *) "filterIndex", NULL
12440 };
12441
12442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12445 arg2 = (int)SWIG_As_int(obj1);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 (arg1)->SetFilterIndex(arg2);
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 Py_INCREF(Py_None); resultobj = Py_None;
12455 return resultobj;
12456 fail:
12457 return NULL;
12458 }
12459
12460
12461 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj;
12463 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12464 wxString result;
12465 PyObject * obj0 = 0 ;
12466 char *kwnames[] = {
12467 (char *) "self", NULL
12468 };
12469
12470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 result = ((wxFileDialog const *)arg1)->GetMessage();
12476
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
12480 {
12481 #if wxUSE_UNICODE
12482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12483 #else
12484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12485 #endif
12486 }
12487 return resultobj;
12488 fail:
12489 return NULL;
12490 }
12491
12492
12493 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12494 PyObject *resultobj;
12495 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12496 wxString result;
12497 PyObject * obj0 = 0 ;
12498 char *kwnames[] = {
12499 (char *) "self", NULL
12500 };
12501
12502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12505 {
12506 PyThreadState* __tstate = wxPyBeginAllowThreads();
12507 result = ((wxFileDialog const *)arg1)->GetPath();
12508
12509 wxPyEndAllowThreads(__tstate);
12510 if (PyErr_Occurred()) SWIG_fail;
12511 }
12512 {
12513 #if wxUSE_UNICODE
12514 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12515 #else
12516 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12517 #endif
12518 }
12519 return resultobj;
12520 fail:
12521 return NULL;
12522 }
12523
12524
12525 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12526 PyObject *resultobj;
12527 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12528 wxString result;
12529 PyObject * obj0 = 0 ;
12530 char *kwnames[] = {
12531 (char *) "self", NULL
12532 };
12533
12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 result = ((wxFileDialog const *)arg1)->GetDirectory();
12540
12541 wxPyEndAllowThreads(__tstate);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 }
12544 {
12545 #if wxUSE_UNICODE
12546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12547 #else
12548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12549 #endif
12550 }
12551 return resultobj;
12552 fail:
12553 return NULL;
12554 }
12555
12556
12557 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12558 PyObject *resultobj;
12559 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12560 wxString result;
12561 PyObject * obj0 = 0 ;
12562 char *kwnames[] = {
12563 (char *) "self", NULL
12564 };
12565
12566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = ((wxFileDialog const *)arg1)->GetFilename();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 {
12577 #if wxUSE_UNICODE
12578 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12579 #else
12580 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12581 #endif
12582 }
12583 return resultobj;
12584 fail:
12585 return NULL;
12586 }
12587
12588
12589 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12590 PyObject *resultobj;
12591 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12592 wxString result;
12593 PyObject * obj0 = 0 ;
12594 char *kwnames[] = {
12595 (char *) "self", NULL
12596 };
12597
12598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 result = ((wxFileDialog const *)arg1)->GetWildcard();
12604
12605 wxPyEndAllowThreads(__tstate);
12606 if (PyErr_Occurred()) SWIG_fail;
12607 }
12608 {
12609 #if wxUSE_UNICODE
12610 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12611 #else
12612 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12613 #endif
12614 }
12615 return resultobj;
12616 fail:
12617 return NULL;
12618 }
12619
12620
12621 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12624 long result;
12625 PyObject * obj0 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 resultobj = SWIG_From_long((long)result);
12641 return resultobj;
12642 fail:
12643 return NULL;
12644 }
12645
12646
12647 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12650 int result;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 resultobj = SWIG_From_int((int)result);
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12674 PyObject *resultobj;
12675 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12676 PyObject *result;
12677 PyObject * obj0 = 0 ;
12678 char *kwnames[] = {
12679 (char *) "self", NULL
12680 };
12681
12682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 resultobj = result;
12693 return resultobj;
12694 fail:
12695 return NULL;
12696 }
12697
12698
12699 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj;
12701 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12702 PyObject *result;
12703 PyObject * obj0 = 0 ;
12704 char *kwnames[] = {
12705 (char *) "self", NULL
12706 };
12707
12708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 resultobj = result;
12719 return resultobj;
12720 fail:
12721 return NULL;
12722 }
12723
12724
12725 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12726 PyObject *obj;
12727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12728 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12729 Py_INCREF(obj);
12730 return Py_BuildValue((char *)"");
12731 }
12732 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj;
12734 wxWindow *arg1 = (wxWindow *) 0 ;
12735 wxString *arg2 = 0 ;
12736 wxString *arg3 = 0 ;
12737 int arg4 = (int) 0 ;
12738 wxString *arg5 = (wxString *) NULL ;
12739 long arg6 = (long) wxCHOICEDLG_STYLE ;
12740 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12741 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12742 wxMultiChoiceDialog *result;
12743 bool temp2 = False ;
12744 bool temp3 = False ;
12745 wxPoint temp6 ;
12746 PyObject * obj0 = 0 ;
12747 PyObject * obj1 = 0 ;
12748 PyObject * obj2 = 0 ;
12749 PyObject * obj3 = 0 ;
12750 PyObject * obj4 = 0 ;
12751 PyObject * obj5 = 0 ;
12752 char *kwnames[] = {
12753 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12754 };
12755
12756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12759 {
12760 arg2 = wxString_in_helper(obj1);
12761 if (arg2 == NULL) SWIG_fail;
12762 temp2 = True;
12763 }
12764 {
12765 arg3 = wxString_in_helper(obj2);
12766 if (arg3 == NULL) SWIG_fail;
12767 temp3 = True;
12768 }
12769 if (obj3) {
12770 {
12771 arg4 = PyList_Size(obj3);
12772 arg5 = wxString_LIST_helper(obj3);
12773 if (arg5 == NULL) SWIG_fail;
12774 }
12775 }
12776 if (obj4) {
12777 arg6 = (long)SWIG_As_long(obj4);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 if (obj5) {
12781 {
12782 arg7 = &temp6;
12783 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12784 }
12785 }
12786 {
12787 if (!wxPyCheckForApp()) SWIG_fail;
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12795 {
12796 if (temp2)
12797 delete arg2;
12798 }
12799 {
12800 if (temp3)
12801 delete arg3;
12802 }
12803 {
12804 if (arg5) delete [] arg5;
12805 }
12806 return resultobj;
12807 fail:
12808 {
12809 if (temp2)
12810 delete arg2;
12811 }
12812 {
12813 if (temp3)
12814 delete arg3;
12815 }
12816 {
12817 if (arg5) delete [] arg5;
12818 }
12819 return NULL;
12820 }
12821
12822
12823 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12824 PyObject *resultobj;
12825 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12826 wxArrayInt *arg2 = 0 ;
12827 bool temp2 = False ;
12828 PyObject * obj0 = 0 ;
12829 PyObject * obj1 = 0 ;
12830 char *kwnames[] = {
12831 (char *) "self",(char *) "selections", NULL
12832 };
12833
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12837 {
12838 if (! PySequence_Check(obj1)) {
12839 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12840 SWIG_fail;
12841 }
12842 arg2 = new wxArrayInt;
12843 temp2 = True;
12844 int i, len=PySequence_Length(obj1);
12845 for (i=0; i<len; i++) {
12846 PyObject* item = PySequence_GetItem(obj1, i);
12847 PyObject* number = PyNumber_Int(item);
12848 arg2->Add(PyInt_AS_LONG(number));
12849 Py_DECREF(item);
12850 Py_DECREF(number);
12851 }
12852 }
12853 {
12854 PyThreadState* __tstate = wxPyBeginAllowThreads();
12855 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12856
12857 wxPyEndAllowThreads(__tstate);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 }
12860 Py_INCREF(Py_None); resultobj = Py_None;
12861 {
12862 if (temp2) delete arg2;
12863 }
12864 return resultobj;
12865 fail:
12866 {
12867 if (temp2) delete arg2;
12868 }
12869 return NULL;
12870 }
12871
12872
12873 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12876 PyObject *result;
12877 PyObject * obj0 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "self", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12888
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 resultobj = result;
12893 return resultobj;
12894 fail:
12895 return NULL;
12896 }
12897
12898
12899 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12900 PyObject *obj;
12901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12902 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12903 Py_INCREF(obj);
12904 return Py_BuildValue((char *)"");
12905 }
12906 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxWindow *arg1 = (wxWindow *) 0 ;
12909 wxString *arg2 = 0 ;
12910 wxString *arg3 = 0 ;
12911 int arg4 ;
12912 wxString *arg5 = (wxString *) 0 ;
12913 long arg6 = (long) wxCHOICEDLG_STYLE ;
12914 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12915 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12916 wxSingleChoiceDialog *result;
12917 bool temp2 = False ;
12918 bool temp3 = False ;
12919 wxPoint temp6 ;
12920 PyObject * obj0 = 0 ;
12921 PyObject * obj1 = 0 ;
12922 PyObject * obj2 = 0 ;
12923 PyObject * obj3 = 0 ;
12924 PyObject * obj4 = 0 ;
12925 PyObject * obj5 = 0 ;
12926 char *kwnames[] = {
12927 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12928 };
12929
12930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12933 {
12934 arg2 = wxString_in_helper(obj1);
12935 if (arg2 == NULL) SWIG_fail;
12936 temp2 = True;
12937 }
12938 {
12939 arg3 = wxString_in_helper(obj2);
12940 if (arg3 == NULL) SWIG_fail;
12941 temp3 = True;
12942 }
12943 {
12944 arg4 = PyList_Size(obj3);
12945 arg5 = wxString_LIST_helper(obj3);
12946 if (arg5 == NULL) SWIG_fail;
12947 }
12948 if (obj4) {
12949 arg6 = (long)SWIG_As_long(obj4);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 if (obj5) {
12953 {
12954 arg7 = &temp6;
12955 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12956 }
12957 }
12958 {
12959 if (!wxPyCheckForApp()) SWIG_fail;
12960 PyThreadState* __tstate = wxPyBeginAllowThreads();
12961 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12962
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12967 {
12968 if (temp2)
12969 delete arg2;
12970 }
12971 {
12972 if (temp3)
12973 delete arg3;
12974 }
12975 {
12976 if (arg5) delete [] arg5;
12977 }
12978 return resultobj;
12979 fail:
12980 {
12981 if (temp2)
12982 delete arg2;
12983 }
12984 {
12985 if (temp3)
12986 delete arg3;
12987 }
12988 {
12989 if (arg5) delete [] arg5;
12990 }
12991 return NULL;
12992 }
12993
12994
12995 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj;
12997 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12998 int result;
12999 PyObject * obj0 = 0 ;
13000 char *kwnames[] = {
13001 (char *) "self", NULL
13002 };
13003
13004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13007 {
13008 PyThreadState* __tstate = wxPyBeginAllowThreads();
13009 result = (int)(arg1)->GetSelection();
13010
13011 wxPyEndAllowThreads(__tstate);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 resultobj = SWIG_From_int((int)result);
13015 return resultobj;
13016 fail:
13017 return NULL;
13018 }
13019
13020
13021 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj;
13023 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13024 wxString result;
13025 PyObject * obj0 = 0 ;
13026 char *kwnames[] = {
13027 (char *) "self", NULL
13028 };
13029
13030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13033 {
13034 PyThreadState* __tstate = wxPyBeginAllowThreads();
13035 result = (arg1)->GetStringSelection();
13036
13037 wxPyEndAllowThreads(__tstate);
13038 if (PyErr_Occurred()) SWIG_fail;
13039 }
13040 {
13041 #if wxUSE_UNICODE
13042 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13043 #else
13044 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13045 #endif
13046 }
13047 return resultobj;
13048 fail:
13049 return NULL;
13050 }
13051
13052
13053 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj;
13055 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13056 int arg2 ;
13057 PyObject * obj0 = 0 ;
13058 PyObject * obj1 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self",(char *) "sel", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 arg2 = (int)SWIG_As_int(obj1);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 (arg1)->SetSelection(arg2);
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 Py_INCREF(Py_None); resultobj = Py_None;
13076 return resultobj;
13077 fail:
13078 return NULL;
13079 }
13080
13081
13082 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13083 PyObject *obj;
13084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13085 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13086 Py_INCREF(obj);
13087 return Py_BuildValue((char *)"");
13088 }
13089 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13090 PyObject *resultobj;
13091 wxWindow *arg1 = (wxWindow *) 0 ;
13092 wxString *arg2 = 0 ;
13093 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13094 wxString *arg3 = (wxString *) &arg3_defvalue ;
13095 wxString const &arg4_defvalue = wxPyEmptyString ;
13096 wxString *arg4 = (wxString *) &arg4_defvalue ;
13097 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13098 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13099 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13100 wxTextEntryDialog *result;
13101 bool temp2 = False ;
13102 bool temp3 = False ;
13103 bool temp4 = False ;
13104 wxPoint temp6 ;
13105 PyObject * obj0 = 0 ;
13106 PyObject * obj1 = 0 ;
13107 PyObject * obj2 = 0 ;
13108 PyObject * obj3 = 0 ;
13109 PyObject * obj4 = 0 ;
13110 PyObject * obj5 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13118 {
13119 arg2 = wxString_in_helper(obj1);
13120 if (arg2 == NULL) SWIG_fail;
13121 temp2 = True;
13122 }
13123 if (obj2) {
13124 {
13125 arg3 = wxString_in_helper(obj2);
13126 if (arg3 == NULL) SWIG_fail;
13127 temp3 = True;
13128 }
13129 }
13130 if (obj3) {
13131 {
13132 arg4 = wxString_in_helper(obj3);
13133 if (arg4 == NULL) SWIG_fail;
13134 temp4 = True;
13135 }
13136 }
13137 if (obj4) {
13138 arg5 = (long)SWIG_As_long(obj4);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 if (obj5) {
13142 {
13143 arg6 = &temp6;
13144 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13145 }
13146 }
13147 {
13148 if (!wxPyCheckForApp()) SWIG_fail;
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13151
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13156 {
13157 if (temp2)
13158 delete arg2;
13159 }
13160 {
13161 if (temp3)
13162 delete arg3;
13163 }
13164 {
13165 if (temp4)
13166 delete arg4;
13167 }
13168 return resultobj;
13169 fail:
13170 {
13171 if (temp2)
13172 delete arg2;
13173 }
13174 {
13175 if (temp3)
13176 delete arg3;
13177 }
13178 {
13179 if (temp4)
13180 delete arg4;
13181 }
13182 return NULL;
13183 }
13184
13185
13186 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj;
13188 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13189 wxString result;
13190 PyObject * obj0 = 0 ;
13191 char *kwnames[] = {
13192 (char *) "self", NULL
13193 };
13194
13195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13198 {
13199 PyThreadState* __tstate = wxPyBeginAllowThreads();
13200 result = (arg1)->GetValue();
13201
13202 wxPyEndAllowThreads(__tstate);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 {
13206 #if wxUSE_UNICODE
13207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13208 #else
13209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13210 #endif
13211 }
13212 return resultobj;
13213 fail:
13214 return NULL;
13215 }
13216
13217
13218 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj;
13220 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13221 wxString *arg2 = 0 ;
13222 bool temp2 = False ;
13223 PyObject * obj0 = 0 ;
13224 PyObject * obj1 = 0 ;
13225 char *kwnames[] = {
13226 (char *) "self",(char *) "value", NULL
13227 };
13228
13229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13232 {
13233 arg2 = wxString_in_helper(obj1);
13234 if (arg2 == NULL) SWIG_fail;
13235 temp2 = True;
13236 }
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 (arg1)->SetValue((wxString const &)*arg2);
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
13244 Py_INCREF(Py_None); resultobj = Py_None;
13245 {
13246 if (temp2)
13247 delete arg2;
13248 }
13249 return resultobj;
13250 fail:
13251 {
13252 if (temp2)
13253 delete arg2;
13254 }
13255 return NULL;
13256 }
13257
13258
13259 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13260 PyObject *obj;
13261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13262 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13263 Py_INCREF(obj);
13264 return Py_BuildValue((char *)"");
13265 }
13266 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj;
13268 wxFontData *result;
13269 char *kwnames[] = {
13270 NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 result = (wxFontData *)new wxFontData();
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13282 return resultobj;
13283 fail:
13284 return NULL;
13285 }
13286
13287
13288 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13289 PyObject *resultobj;
13290 wxFontData *arg1 = (wxFontData *) 0 ;
13291 PyObject * obj0 = 0 ;
13292 char *kwnames[] = {
13293 (char *) "self", NULL
13294 };
13295
13296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13299 {
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
13301 delete arg1;
13302
13303 wxPyEndAllowThreads(__tstate);
13304 if (PyErr_Occurred()) SWIG_fail;
13305 }
13306 Py_INCREF(Py_None); resultobj = Py_None;
13307 return resultobj;
13308 fail:
13309 return NULL;
13310 }
13311
13312
13313 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13314 PyObject *resultobj;
13315 wxFontData *arg1 = (wxFontData *) 0 ;
13316 bool arg2 ;
13317 PyObject * obj0 = 0 ;
13318 PyObject * obj1 = 0 ;
13319 char *kwnames[] = {
13320 (char *) "self",(char *) "enable", NULL
13321 };
13322
13323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13326 arg2 = (bool)SWIG_As_bool(obj1);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 (arg1)->EnableEffects(arg2);
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 Py_INCREF(Py_None); resultobj = Py_None;
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxFontData *arg1 = (wxFontData *) 0 ;
13345 bool result;
13346 PyObject * obj0 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (bool)(arg1)->GetAllowSymbols();
13357
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 {
13362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13363 }
13364 return resultobj;
13365 fail:
13366 return NULL;
13367 }
13368
13369
13370 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13371 PyObject *resultobj;
13372 wxFontData *arg1 = (wxFontData *) 0 ;
13373 wxColour result;
13374 PyObject * obj0 = 0 ;
13375 char *kwnames[] = {
13376 (char *) "self", NULL
13377 };
13378
13379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13382 {
13383 PyThreadState* __tstate = wxPyBeginAllowThreads();
13384 result = (arg1)->GetColour();
13385
13386 wxPyEndAllowThreads(__tstate);
13387 if (PyErr_Occurred()) SWIG_fail;
13388 }
13389 {
13390 wxColour * resultptr;
13391 resultptr = new wxColour((wxColour &) result);
13392 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13393 }
13394 return resultobj;
13395 fail:
13396 return NULL;
13397 }
13398
13399
13400 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj;
13402 wxFontData *arg1 = (wxFontData *) 0 ;
13403 wxFont result;
13404 PyObject * obj0 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 result = (arg1)->GetChosenFont();
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 {
13420 wxFont * resultptr;
13421 resultptr = new wxFont((wxFont &) result);
13422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13423 }
13424 return resultobj;
13425 fail:
13426 return NULL;
13427 }
13428
13429
13430 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13431 PyObject *resultobj;
13432 wxFontData *arg1 = (wxFontData *) 0 ;
13433 bool result;
13434 PyObject * obj0 = 0 ;
13435 char *kwnames[] = {
13436 (char *) "self", NULL
13437 };
13438
13439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 result = (bool)(arg1)->GetEnableEffects();
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 {
13450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13451 }
13452 return resultobj;
13453 fail:
13454 return NULL;
13455 }
13456
13457
13458 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxFontData *arg1 = (wxFontData *) 0 ;
13461 wxFont result;
13462 PyObject * obj0 = 0 ;
13463 char *kwnames[] = {
13464 (char *) "self", NULL
13465 };
13466
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 result = (arg1)->GetInitialFont();
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 {
13478 wxFont * resultptr;
13479 resultptr = new wxFont((wxFont &) result);
13480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13481 }
13482 return resultobj;
13483 fail:
13484 return NULL;
13485 }
13486
13487
13488 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13489 PyObject *resultobj;
13490 wxFontData *arg1 = (wxFontData *) 0 ;
13491 bool result;
13492 PyObject * obj0 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 result = (bool)(arg1)->GetShowHelp();
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 {
13508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13509 }
13510 return resultobj;
13511 fail:
13512 return NULL;
13513 }
13514
13515
13516 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj;
13518 wxFontData *arg1 = (wxFontData *) 0 ;
13519 bool arg2 ;
13520 PyObject * obj0 = 0 ;
13521 PyObject * obj1 = 0 ;
13522 char *kwnames[] = {
13523 (char *) "self",(char *) "allowSymbols", NULL
13524 };
13525
13526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13529 arg2 = (bool)SWIG_As_bool(obj1);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 {
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 (arg1)->SetAllowSymbols(arg2);
13534
13535 wxPyEndAllowThreads(__tstate);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 }
13538 Py_INCREF(Py_None); resultobj = Py_None;
13539 return resultobj;
13540 fail:
13541 return NULL;
13542 }
13543
13544
13545 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13546 PyObject *resultobj;
13547 wxFontData *arg1 = (wxFontData *) 0 ;
13548 wxFont *arg2 = 0 ;
13549 PyObject * obj0 = 0 ;
13550 PyObject * obj1 = 0 ;
13551 char *kwnames[] = {
13552 (char *) "self",(char *) "font", NULL
13553 };
13554
13555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13559 SWIG_POINTER_EXCEPTION | 0)) == -1)
13560 SWIG_fail;
13561 if (arg2 == NULL) {
13562 PyErr_SetString(PyExc_TypeError,"null reference");
13563 SWIG_fail;
13564 }
13565 {
13566 PyThreadState* __tstate = wxPyBeginAllowThreads();
13567 (arg1)->SetChosenFont((wxFont const &)*arg2);
13568
13569 wxPyEndAllowThreads(__tstate);
13570 if (PyErr_Occurred()) SWIG_fail;
13571 }
13572 Py_INCREF(Py_None); resultobj = Py_None;
13573 return resultobj;
13574 fail:
13575 return NULL;
13576 }
13577
13578
13579 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13580 PyObject *resultobj;
13581 wxFontData *arg1 = (wxFontData *) 0 ;
13582 wxColour *arg2 = 0 ;
13583 wxColour temp2 ;
13584 PyObject * obj0 = 0 ;
13585 PyObject * obj1 = 0 ;
13586 char *kwnames[] = {
13587 (char *) "self",(char *) "colour", NULL
13588 };
13589
13590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13593 {
13594 arg2 = &temp2;
13595 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13596 }
13597 {
13598 PyThreadState* __tstate = wxPyBeginAllowThreads();
13599 (arg1)->SetColour((wxColour const &)*arg2);
13600
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 Py_INCREF(Py_None); resultobj = Py_None;
13605 return resultobj;
13606 fail:
13607 return NULL;
13608 }
13609
13610
13611 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj;
13613 wxFontData *arg1 = (wxFontData *) 0 ;
13614 wxFont *arg2 = 0 ;
13615 PyObject * obj0 = 0 ;
13616 PyObject * obj1 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "self",(char *) "font", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13625 SWIG_POINTER_EXCEPTION | 0)) == -1)
13626 SWIG_fail;
13627 if (arg2 == NULL) {
13628 PyErr_SetString(PyExc_TypeError,"null reference");
13629 SWIG_fail;
13630 }
13631 {
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 (arg1)->SetInitialFont((wxFont const &)*arg2);
13634
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 Py_INCREF(Py_None); resultobj = Py_None;
13639 return resultobj;
13640 fail:
13641 return NULL;
13642 }
13643
13644
13645 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj;
13647 wxFontData *arg1 = (wxFontData *) 0 ;
13648 int arg2 ;
13649 int arg3 ;
13650 PyObject * obj0 = 0 ;
13651 PyObject * obj1 = 0 ;
13652 PyObject * obj2 = 0 ;
13653 char *kwnames[] = {
13654 (char *) "self",(char *) "min",(char *) "max", NULL
13655 };
13656
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13660 arg2 = (int)SWIG_As_int(obj1);
13661 if (PyErr_Occurred()) SWIG_fail;
13662 arg3 = (int)SWIG_As_int(obj2);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 (arg1)->SetRange(arg2,arg3);
13667
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 Py_INCREF(Py_None); resultobj = Py_None;
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxFontData *arg1 = (wxFontData *) 0 ;
13681 bool arg2 ;
13682 PyObject * obj0 = 0 ;
13683 PyObject * obj1 = 0 ;
13684 char *kwnames[] = {
13685 (char *) "self",(char *) "showHelp", NULL
13686 };
13687
13688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13691 arg2 = (bool)SWIG_As_bool(obj1);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 (arg1)->SetShowHelp(arg2);
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 Py_INCREF(Py_None); resultobj = Py_None;
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13708 PyObject *obj;
13709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13710 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13711 Py_INCREF(obj);
13712 return Py_BuildValue((char *)"");
13713 }
13714 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxWindow *arg1 = (wxWindow *) 0 ;
13717 wxFontData *arg2 = 0 ;
13718 wxFontDialog *result;
13719 PyObject * obj0 = 0 ;
13720 PyObject * obj1 = 0 ;
13721 char *kwnames[] = {
13722 (char *) "parent",(char *) "data", NULL
13723 };
13724
13725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13729 SWIG_POINTER_EXCEPTION | 0)) == -1)
13730 SWIG_fail;
13731 if (arg2 == NULL) {
13732 PyErr_SetString(PyExc_TypeError,"null reference");
13733 SWIG_fail;
13734 }
13735 {
13736 if (!wxPyCheckForApp()) SWIG_fail;
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13739
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13744 return resultobj;
13745 fail:
13746 return NULL;
13747 }
13748
13749
13750 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj;
13752 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13753 wxFontData *result;
13754 PyObject * obj0 = 0 ;
13755 char *kwnames[] = {
13756 (char *) "self", NULL
13757 };
13758
13759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13762 {
13763 PyThreadState* __tstate = wxPyBeginAllowThreads();
13764 {
13765 wxFontData &_result_ref = (arg1)->GetFontData();
13766 result = (wxFontData *) &_result_ref;
13767 }
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13773 return resultobj;
13774 fail:
13775 return NULL;
13776 }
13777
13778
13779 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13780 PyObject *obj;
13781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13782 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13783 Py_INCREF(obj);
13784 return Py_BuildValue((char *)"");
13785 }
13786 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxWindow *arg1 = (wxWindow *) 0 ;
13789 wxString *arg2 = 0 ;
13790 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13791 wxString *arg3 = (wxString *) &arg3_defvalue ;
13792 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13793 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13794 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13795 wxMessageDialog *result;
13796 bool temp2 = False ;
13797 bool temp3 = False ;
13798 wxPoint temp5 ;
13799 PyObject * obj0 = 0 ;
13800 PyObject * obj1 = 0 ;
13801 PyObject * obj2 = 0 ;
13802 PyObject * obj3 = 0 ;
13803 PyObject * obj4 = 0 ;
13804 char *kwnames[] = {
13805 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13806 };
13807
13808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13811 {
13812 arg2 = wxString_in_helper(obj1);
13813 if (arg2 == NULL) SWIG_fail;
13814 temp2 = True;
13815 }
13816 if (obj2) {
13817 {
13818 arg3 = wxString_in_helper(obj2);
13819 if (arg3 == NULL) SWIG_fail;
13820 temp3 = True;
13821 }
13822 }
13823 if (obj3) {
13824 arg4 = (long)SWIG_As_long(obj3);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 if (obj4) {
13828 {
13829 arg5 = &temp5;
13830 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13831 }
13832 }
13833 {
13834 if (!wxPyCheckForApp()) SWIG_fail;
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13837
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13842 {
13843 if (temp2)
13844 delete arg2;
13845 }
13846 {
13847 if (temp3)
13848 delete arg3;
13849 }
13850 return resultobj;
13851 fail:
13852 {
13853 if (temp2)
13854 delete arg2;
13855 }
13856 {
13857 if (temp3)
13858 delete arg3;
13859 }
13860 return NULL;
13861 }
13862
13863
13864 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13865 PyObject *obj;
13866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13867 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13868 Py_INCREF(obj);
13869 return Py_BuildValue((char *)"");
13870 }
13871 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13872 PyObject *resultobj;
13873 wxString *arg1 = 0 ;
13874 wxString *arg2 = 0 ;
13875 int arg3 = (int) 100 ;
13876 wxWindow *arg4 = (wxWindow *) NULL ;
13877 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13878 wxProgressDialog *result;
13879 bool temp1 = False ;
13880 bool temp2 = False ;
13881 PyObject * obj0 = 0 ;
13882 PyObject * obj1 = 0 ;
13883 PyObject * obj2 = 0 ;
13884 PyObject * obj3 = 0 ;
13885 PyObject * obj4 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13891 {
13892 arg1 = wxString_in_helper(obj0);
13893 if (arg1 == NULL) SWIG_fail;
13894 temp1 = True;
13895 }
13896 {
13897 arg2 = wxString_in_helper(obj1);
13898 if (arg2 == NULL) SWIG_fail;
13899 temp2 = True;
13900 }
13901 if (obj2) {
13902 arg3 = (int)SWIG_As_int(obj2);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 if (obj3) {
13906 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13908 }
13909 if (obj4) {
13910 arg5 = (int)SWIG_As_int(obj4);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 {
13914 if (!wxPyCheckForApp()) SWIG_fail;
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13917
13918 wxPyEndAllowThreads(__tstate);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 }
13921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13922 {
13923 if (temp1)
13924 delete arg1;
13925 }
13926 {
13927 if (temp2)
13928 delete arg2;
13929 }
13930 return resultobj;
13931 fail:
13932 {
13933 if (temp1)
13934 delete arg1;
13935 }
13936 {
13937 if (temp2)
13938 delete arg2;
13939 }
13940 return NULL;
13941 }
13942
13943
13944 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13945 PyObject *resultobj;
13946 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13947 int arg2 ;
13948 wxString const &arg3_defvalue = wxPyEmptyString ;
13949 wxString *arg3 = (wxString *) &arg3_defvalue ;
13950 bool result;
13951 bool temp3 = False ;
13952 PyObject * obj0 = 0 ;
13953 PyObject * obj1 = 0 ;
13954 PyObject * obj2 = 0 ;
13955 char *kwnames[] = {
13956 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13962 arg2 = (int)SWIG_As_int(obj1);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 if (obj2) {
13965 {
13966 arg3 = wxString_in_helper(obj2);
13967 if (arg3 == NULL) SWIG_fail;
13968 temp3 = True;
13969 }
13970 }
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 {
13979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13980 }
13981 {
13982 if (temp3)
13983 delete arg3;
13984 }
13985 return resultobj;
13986 fail:
13987 {
13988 if (temp3)
13989 delete arg3;
13990 }
13991 return NULL;
13992 }
13993
13994
13995 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj;
13997 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13998 PyObject * obj0 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 (arg1)->Resume();
14009
14010 wxPyEndAllowThreads(__tstate);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 }
14013 Py_INCREF(Py_None); resultobj = Py_None;
14014 return resultobj;
14015 fail:
14016 return NULL;
14017 }
14018
14019
14020 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14021 PyObject *obj;
14022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14023 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14024 Py_INCREF(obj);
14025 return Py_BuildValue((char *)"");
14026 }
14027 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14028 PyObject *resultobj;
14029 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14030 int arg2 = (int) 0 ;
14031 wxFindDialogEvent *result;
14032 PyObject * obj0 = 0 ;
14033 PyObject * obj1 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "commandType",(char *) "id", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14039 if (obj0) {
14040 arg1 = (wxEventType)SWIG_As_int(obj0);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 if (obj1) {
14044 arg2 = (int)SWIG_As_int(obj1);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14064 int result;
14065 PyObject * obj0 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 result = (int)(arg1)->GetFlags();
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 resultobj = SWIG_From_int((int)result);
14081 return resultobj;
14082 fail:
14083 return NULL;
14084 }
14085
14086
14087 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14088 PyObject *resultobj;
14089 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14090 wxString *result;
14091 PyObject * obj0 = 0 ;
14092 char *kwnames[] = {
14093 (char *) "self", NULL
14094 };
14095
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 {
14102 wxString const &_result_ref = (arg1)->GetFindString();
14103 result = (wxString *) &_result_ref;
14104 }
14105
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 {
14110 #if wxUSE_UNICODE
14111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14112 #else
14113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14114 #endif
14115 }
14116 return resultobj;
14117 fail:
14118 return NULL;
14119 }
14120
14121
14122 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14123 PyObject *resultobj;
14124 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14125 wxString *result;
14126 PyObject * obj0 = 0 ;
14127 char *kwnames[] = {
14128 (char *) "self", NULL
14129 };
14130
14131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 {
14137 wxString const &_result_ref = (arg1)->GetReplaceString();
14138 result = (wxString *) &_result_ref;
14139 }
14140
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 {
14145 #if wxUSE_UNICODE
14146 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14147 #else
14148 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14149 #endif
14150 }
14151 return resultobj;
14152 fail:
14153 return NULL;
14154 }
14155
14156
14157 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14158 PyObject *resultobj;
14159 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14160 wxFindReplaceDialog *result;
14161 PyObject * obj0 = 0 ;
14162 char *kwnames[] = {
14163 (char *) "self", NULL
14164 };
14165
14166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14172
14173 wxPyEndAllowThreads(__tstate);
14174 if (PyErr_Occurred()) SWIG_fail;
14175 }
14176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14177 return resultobj;
14178 fail:
14179 return NULL;
14180 }
14181
14182
14183 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14184 PyObject *resultobj;
14185 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14186 int arg2 ;
14187 PyObject * obj0 = 0 ;
14188 PyObject * obj1 = 0 ;
14189 char *kwnames[] = {
14190 (char *) "self",(char *) "flags", NULL
14191 };
14192
14193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14196 arg2 = (int)SWIG_As_int(obj1);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 (arg1)->SetFlags(arg2);
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 Py_INCREF(Py_None); resultobj = Py_None;
14206 return resultobj;
14207 fail:
14208 return NULL;
14209 }
14210
14211
14212 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14213 PyObject *resultobj;
14214 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14215 wxString *arg2 = 0 ;
14216 bool temp2 = False ;
14217 PyObject * obj0 = 0 ;
14218 PyObject * obj1 = 0 ;
14219 char *kwnames[] = {
14220 (char *) "self",(char *) "str", NULL
14221 };
14222
14223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14226 {
14227 arg2 = wxString_in_helper(obj1);
14228 if (arg2 == NULL) SWIG_fail;
14229 temp2 = True;
14230 }
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 (arg1)->SetFindString((wxString const &)*arg2);
14234
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 Py_INCREF(Py_None); resultobj = Py_None;
14239 {
14240 if (temp2)
14241 delete arg2;
14242 }
14243 return resultobj;
14244 fail:
14245 {
14246 if (temp2)
14247 delete arg2;
14248 }
14249 return NULL;
14250 }
14251
14252
14253 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14254 PyObject *resultobj;
14255 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 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:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
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)->SetReplaceString((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 * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14295 PyObject *obj;
14296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14297 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14298 Py_INCREF(obj);
14299 return Py_BuildValue((char *)"");
14300 }
14301 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14302 PyObject *resultobj;
14303 int arg1 = (int) 0 ;
14304 wxFindReplaceData *result;
14305 PyObject * obj0 = 0 ;
14306 char *kwnames[] = {
14307 (char *) "flags", NULL
14308 };
14309
14310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14311 if (obj0) {
14312 arg1 = (int)SWIG_As_int(obj0);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14323 return resultobj;
14324 fail:
14325 return NULL;
14326 }
14327
14328
14329 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14332 PyObject * obj0 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self", NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 delete arg1;
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 Py_INCREF(Py_None); resultobj = Py_None;
14348 return resultobj;
14349 fail:
14350 return NULL;
14351 }
14352
14353
14354 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14357 wxString *result;
14358 PyObject * obj0 = 0 ;
14359 char *kwnames[] = {
14360 (char *) "self", NULL
14361 };
14362
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14366 {
14367 PyThreadState* __tstate = wxPyBeginAllowThreads();
14368 {
14369 wxString const &_result_ref = (arg1)->GetFindString();
14370 result = (wxString *) &_result_ref;
14371 }
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 {
14377 #if wxUSE_UNICODE
14378 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14379 #else
14380 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14381 #endif
14382 }
14383 return resultobj;
14384 fail:
14385 return NULL;
14386 }
14387
14388
14389 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14392 wxString *result;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 {
14404 wxString const &_result_ref = (arg1)->GetReplaceString();
14405 result = (wxString *) &_result_ref;
14406 }
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 {
14412 #if wxUSE_UNICODE
14413 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14414 #else
14415 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14416 #endif
14417 }
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj;
14426 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14427 int result;
14428 PyObject * obj0 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 result = (int)(arg1)->GetFlags();
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 resultobj = SWIG_From_int((int)result);
14444 return resultobj;
14445 fail:
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14453 int arg2 ;
14454 PyObject * obj0 = 0 ;
14455 PyObject * obj1 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "flags", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 arg2 = (int)SWIG_As_int(obj1);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 (arg1)->SetFlags(arg2);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 Py_INCREF(Py_None); resultobj = Py_None;
14473 return resultobj;
14474 fail:
14475 return NULL;
14476 }
14477
14478
14479 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14482 wxString *arg2 = 0 ;
14483 bool temp2 = False ;
14484 PyObject * obj0 = 0 ;
14485 PyObject * obj1 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self",(char *) "str", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14493 {
14494 arg2 = wxString_in_helper(obj1);
14495 if (arg2 == NULL) SWIG_fail;
14496 temp2 = True;
14497 }
14498 {
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 (arg1)->SetFindString((wxString const &)*arg2);
14501
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 Py_INCREF(Py_None); resultobj = Py_None;
14506 {
14507 if (temp2)
14508 delete arg2;
14509 }
14510 return resultobj;
14511 fail:
14512 {
14513 if (temp2)
14514 delete arg2;
14515 }
14516 return NULL;
14517 }
14518
14519
14520 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14521 PyObject *resultobj;
14522 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14523 wxString *arg2 = 0 ;
14524 bool temp2 = False ;
14525 PyObject * obj0 = 0 ;
14526 PyObject * obj1 = 0 ;
14527 char *kwnames[] = {
14528 (char *) "self",(char *) "str", NULL
14529 };
14530
14531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14534 {
14535 arg2 = wxString_in_helper(obj1);
14536 if (arg2 == NULL) SWIG_fail;
14537 temp2 = True;
14538 }
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 (arg1)->SetReplaceString((wxString const &)*arg2);
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 Py_INCREF(Py_None); resultobj = Py_None;
14547 {
14548 if (temp2)
14549 delete arg2;
14550 }
14551 return resultobj;
14552 fail:
14553 {
14554 if (temp2)
14555 delete arg2;
14556 }
14557 return NULL;
14558 }
14559
14560
14561 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14562 PyObject *obj;
14563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14564 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14565 Py_INCREF(obj);
14566 return Py_BuildValue((char *)"");
14567 }
14568 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14569 PyObject *resultobj;
14570 wxWindow *arg1 = (wxWindow *) 0 ;
14571 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14572 wxString *arg3 = 0 ;
14573 int arg4 = (int) 0 ;
14574 wxFindReplaceDialog *result;
14575 bool temp3 = False ;
14576 PyObject * obj0 = 0 ;
14577 PyObject * obj1 = 0 ;
14578 PyObject * obj2 = 0 ;
14579 PyObject * obj3 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14589 {
14590 arg3 = wxString_in_helper(obj2);
14591 if (arg3 == NULL) SWIG_fail;
14592 temp3 = True;
14593 }
14594 if (obj3) {
14595 arg4 = (int)SWIG_As_int(obj3);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
14598 {
14599 if (!wxPyCheckForApp()) SWIG_fail;
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14607 {
14608 if (temp3)
14609 delete arg3;
14610 }
14611 return resultobj;
14612 fail:
14613 {
14614 if (temp3)
14615 delete arg3;
14616 }
14617 return NULL;
14618 }
14619
14620
14621 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14622 PyObject *resultobj;
14623 wxFindReplaceDialog *result;
14624 char *kwnames[] = {
14625 NULL
14626 };
14627
14628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14629 {
14630 if (!wxPyCheckForApp()) SWIG_fail;
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14633
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14638 return resultobj;
14639 fail:
14640 return NULL;
14641 }
14642
14643
14644 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14647 wxWindow *arg2 = (wxWindow *) 0 ;
14648 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14649 wxString *arg4 = 0 ;
14650 int arg5 = (int) 0 ;
14651 bool result;
14652 bool temp4 = False ;
14653 PyObject * obj0 = 0 ;
14654 PyObject * obj1 = 0 ;
14655 PyObject * obj2 = 0 ;
14656 PyObject * obj3 = 0 ;
14657 PyObject * obj4 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14667 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14669 {
14670 arg4 = wxString_in_helper(obj3);
14671 if (arg4 == NULL) SWIG_fail;
14672 temp4 = True;
14673 }
14674 if (obj4) {
14675 arg5 = (int)SWIG_As_int(obj4);
14676 if (PyErr_Occurred()) SWIG_fail;
14677 }
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 {
14686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14687 }
14688 {
14689 if (temp4)
14690 delete arg4;
14691 }
14692 return resultobj;
14693 fail:
14694 {
14695 if (temp4)
14696 delete arg4;
14697 }
14698 return NULL;
14699 }
14700
14701
14702 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj;
14704 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14705 wxFindReplaceData *result;
14706 PyObject * obj0 = 0 ;
14707 char *kwnames[] = {
14708 (char *) "self", NULL
14709 };
14710
14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 result = (wxFindReplaceData *)(arg1)->GetData();
14717
14718 wxPyEndAllowThreads(__tstate);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14722 return resultobj;
14723 fail:
14724 return NULL;
14725 }
14726
14727
14728 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14729 PyObject *resultobj;
14730 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14731 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14732 PyObject * obj0 = 0 ;
14733 PyObject * obj1 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self",(char *) "data", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14743 {
14744 PyThreadState* __tstate = wxPyBeginAllowThreads();
14745 (arg1)->SetData(arg2);
14746
14747 wxPyEndAllowThreads(__tstate);
14748 if (PyErr_Occurred()) SWIG_fail;
14749 }
14750 Py_INCREF(Py_None); resultobj = Py_None;
14751 return resultobj;
14752 fail:
14753 return NULL;
14754 }
14755
14756
14757 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14758 PyObject *obj;
14759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14760 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14761 Py_INCREF(obj);
14762 return Py_BuildValue((char *)"");
14763 }
14764 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14765 PyObject *resultobj;
14766 wxWindow *arg1 = (wxWindow *) 0 ;
14767 int arg2 = (int) (int)-1 ;
14768 wxString const &arg3_defvalue = wxPyEmptyString ;
14769 wxString *arg3 = (wxString *) &arg3_defvalue ;
14770 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14771 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14772 wxSize const &arg5_defvalue = wxDefaultSize ;
14773 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14774 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14775 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14776 wxString *arg7 = (wxString *) &arg7_defvalue ;
14777 wxMDIParentFrame *result;
14778 bool temp3 = False ;
14779 wxPoint temp4 ;
14780 wxSize temp5 ;
14781 bool temp7 = False ;
14782 PyObject * obj0 = 0 ;
14783 PyObject * obj1 = 0 ;
14784 PyObject * obj2 = 0 ;
14785 PyObject * obj3 = 0 ;
14786 PyObject * obj4 = 0 ;
14787 PyObject * obj5 = 0 ;
14788 PyObject * obj6 = 0 ;
14789 char *kwnames[] = {
14790 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14791 };
14792
14793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14796 if (obj1) {
14797 arg2 = (int)SWIG_As_int(obj1);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
14800 if (obj2) {
14801 {
14802 arg3 = wxString_in_helper(obj2);
14803 if (arg3 == NULL) SWIG_fail;
14804 temp3 = True;
14805 }
14806 }
14807 if (obj3) {
14808 {
14809 arg4 = &temp4;
14810 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14811 }
14812 }
14813 if (obj4) {
14814 {
14815 arg5 = &temp5;
14816 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14817 }
14818 }
14819 if (obj5) {
14820 arg6 = (long)SWIG_As_long(obj5);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 if (obj6) {
14824 {
14825 arg7 = wxString_in_helper(obj6);
14826 if (arg7 == NULL) SWIG_fail;
14827 temp7 = True;
14828 }
14829 }
14830 {
14831 if (!wxPyCheckForApp()) SWIG_fail;
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14834
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
14838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14839 {
14840 if (temp3)
14841 delete arg3;
14842 }
14843 {
14844 if (temp7)
14845 delete arg7;
14846 }
14847 return resultobj;
14848 fail:
14849 {
14850 if (temp3)
14851 delete arg3;
14852 }
14853 {
14854 if (temp7)
14855 delete arg7;
14856 }
14857 return NULL;
14858 }
14859
14860
14861 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxMDIParentFrame *result;
14864 char *kwnames[] = {
14865 NULL
14866 };
14867
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14869 {
14870 if (!wxPyCheckForApp()) SWIG_fail;
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14878 return resultobj;
14879 fail:
14880 return NULL;
14881 }
14882
14883
14884 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14887 wxWindow *arg2 = (wxWindow *) 0 ;
14888 int arg3 = (int) (int)-1 ;
14889 wxString const &arg4_defvalue = wxPyEmptyString ;
14890 wxString *arg4 = (wxString *) &arg4_defvalue ;
14891 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14892 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14893 wxSize const &arg6_defvalue = wxDefaultSize ;
14894 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14895 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14896 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14897 wxString *arg8 = (wxString *) &arg8_defvalue ;
14898 bool result;
14899 bool temp4 = False ;
14900 wxPoint temp5 ;
14901 wxSize temp6 ;
14902 bool temp8 = False ;
14903 PyObject * obj0 = 0 ;
14904 PyObject * obj1 = 0 ;
14905 PyObject * obj2 = 0 ;
14906 PyObject * obj3 = 0 ;
14907 PyObject * obj4 = 0 ;
14908 PyObject * obj5 = 0 ;
14909 PyObject * obj6 = 0 ;
14910 PyObject * obj7 = 0 ;
14911 char *kwnames[] = {
14912 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14913 };
14914
14915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14920 if (obj2) {
14921 arg3 = (int)SWIG_As_int(obj2);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 if (obj3) {
14925 {
14926 arg4 = wxString_in_helper(obj3);
14927 if (arg4 == NULL) SWIG_fail;
14928 temp4 = True;
14929 }
14930 }
14931 if (obj4) {
14932 {
14933 arg5 = &temp5;
14934 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14935 }
14936 }
14937 if (obj5) {
14938 {
14939 arg6 = &temp6;
14940 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14941 }
14942 }
14943 if (obj6) {
14944 arg7 = (long)SWIG_As_long(obj6);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 if (obj7) {
14948 {
14949 arg8 = wxString_in_helper(obj7);
14950 if (arg8 == NULL) SWIG_fail;
14951 temp8 = True;
14952 }
14953 }
14954 {
14955 PyThreadState* __tstate = wxPyBeginAllowThreads();
14956 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14957
14958 wxPyEndAllowThreads(__tstate);
14959 if (PyErr_Occurred()) SWIG_fail;
14960 }
14961 {
14962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14963 }
14964 {
14965 if (temp4)
14966 delete arg4;
14967 }
14968 {
14969 if (temp8)
14970 delete arg8;
14971 }
14972 return resultobj;
14973 fail:
14974 {
14975 if (temp4)
14976 delete arg4;
14977 }
14978 {
14979 if (temp8)
14980 delete arg8;
14981 }
14982 return NULL;
14983 }
14984
14985
14986 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14987 PyObject *resultobj;
14988 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14989 PyObject * obj0 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self", NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 (arg1)->ActivateNext();
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 Py_INCREF(Py_None); resultobj = Py_None;
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15014 PyObject * obj0 = 0 ;
15015 char *kwnames[] = {
15016 (char *) "self", NULL
15017 };
15018
15019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 (arg1)->ActivatePrevious();
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 Py_INCREF(Py_None); resultobj = Py_None;
15030 return resultobj;
15031 fail:
15032 return NULL;
15033 }
15034
15035
15036 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15039 PyObject * obj0 = 0 ;
15040 char *kwnames[] = {
15041 (char *) "self", NULL
15042 };
15043
15044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 (arg1)->ArrangeIcons();
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 Py_INCREF(Py_None); resultobj = Py_None;
15055 return resultobj;
15056 fail:
15057 return NULL;
15058 }
15059
15060
15061 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15062 PyObject *resultobj;
15063 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 (arg1)->Cascade();
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 Py_INCREF(Py_None); resultobj = Py_None;
15080 return resultobj;
15081 fail:
15082 return NULL;
15083 }
15084
15085
15086 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15087 PyObject *resultobj;
15088 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15089 wxMDIChildFrame *result;
15090 PyObject * obj0 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15101
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
15105 {
15106 resultobj = wxPyMake_wxObject(result, 0);
15107 }
15108 return resultobj;
15109 fail:
15110 return NULL;
15111 }
15112
15113
15114 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15117 wxMDIClientWindow *result;
15118 PyObject * obj0 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 {
15134 resultobj = wxPyMake_wxObject(result, 0);
15135 }
15136 return resultobj;
15137 fail:
15138 return NULL;
15139 }
15140
15141
15142 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15145 wxWindow *result;
15146 PyObject * obj0 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (wxWindow *)(arg1)->GetToolBar();
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 {
15162 resultobj = wxPyMake_wxObject(result, 0);
15163 }
15164 return resultobj;
15165 fail:
15166 return NULL;
15167 }
15168
15169
15170 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15173 PyObject * obj0 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 (arg1)->Tile();
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 Py_INCREF(Py_None); resultobj = Py_None;
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15196 PyObject *obj;
15197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15198 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15199 Py_INCREF(obj);
15200 return Py_BuildValue((char *)"");
15201 }
15202 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15203 PyObject *resultobj;
15204 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15205 int arg2 = (int) (int)-1 ;
15206 wxString const &arg3_defvalue = wxPyEmptyString ;
15207 wxString *arg3 = (wxString *) &arg3_defvalue ;
15208 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15209 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15210 wxSize const &arg5_defvalue = wxDefaultSize ;
15211 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15212 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15213 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15214 wxString *arg7 = (wxString *) &arg7_defvalue ;
15215 wxMDIChildFrame *result;
15216 bool temp3 = False ;
15217 wxPoint temp4 ;
15218 wxSize temp5 ;
15219 bool temp7 = False ;
15220 PyObject * obj0 = 0 ;
15221 PyObject * obj1 = 0 ;
15222 PyObject * obj2 = 0 ;
15223 PyObject * obj3 = 0 ;
15224 PyObject * obj4 = 0 ;
15225 PyObject * obj5 = 0 ;
15226 PyObject * obj6 = 0 ;
15227 char *kwnames[] = {
15228 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15229 };
15230
15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15234 if (obj1) {
15235 arg2 = (int)SWIG_As_int(obj1);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 if (obj2) {
15239 {
15240 arg3 = wxString_in_helper(obj2);
15241 if (arg3 == NULL) SWIG_fail;
15242 temp3 = True;
15243 }
15244 }
15245 if (obj3) {
15246 {
15247 arg4 = &temp4;
15248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15249 }
15250 }
15251 if (obj4) {
15252 {
15253 arg5 = &temp5;
15254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15255 }
15256 }
15257 if (obj5) {
15258 arg6 = (long)SWIG_As_long(obj5);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 if (obj6) {
15262 {
15263 arg7 = wxString_in_helper(obj6);
15264 if (arg7 == NULL) SWIG_fail;
15265 temp7 = True;
15266 }
15267 }
15268 {
15269 if (!wxPyCheckForApp()) SWIG_fail;
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15277 {
15278 if (temp3)
15279 delete arg3;
15280 }
15281 {
15282 if (temp7)
15283 delete arg7;
15284 }
15285 return resultobj;
15286 fail:
15287 {
15288 if (temp3)
15289 delete arg3;
15290 }
15291 {
15292 if (temp7)
15293 delete arg7;
15294 }
15295 return NULL;
15296 }
15297
15298
15299 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj;
15301 wxMDIChildFrame *result;
15302 char *kwnames[] = {
15303 NULL
15304 };
15305
15306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15307 {
15308 if (!wxPyCheckForApp()) SWIG_fail;
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15316 return resultobj;
15317 fail:
15318 return NULL;
15319 }
15320
15321
15322 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15325 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15326 int arg3 = (int) (int)-1 ;
15327 wxString const &arg4_defvalue = wxPyEmptyString ;
15328 wxString *arg4 = (wxString *) &arg4_defvalue ;
15329 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15330 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15331 wxSize const &arg6_defvalue = wxDefaultSize ;
15332 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15333 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15334 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15335 wxString *arg8 = (wxString *) &arg8_defvalue ;
15336 bool result;
15337 bool temp4 = False ;
15338 wxPoint temp5 ;
15339 wxSize temp6 ;
15340 bool temp8 = False ;
15341 PyObject * obj0 = 0 ;
15342 PyObject * obj1 = 0 ;
15343 PyObject * obj2 = 0 ;
15344 PyObject * obj3 = 0 ;
15345 PyObject * obj4 = 0 ;
15346 PyObject * obj5 = 0 ;
15347 PyObject * obj6 = 0 ;
15348 PyObject * obj7 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
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 = (int)SWIG_As_int(obj2);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 if (obj3) {
15363 {
15364 arg4 = wxString_in_helper(obj3);
15365 if (arg4 == NULL) SWIG_fail;
15366 temp4 = True;
15367 }
15368 }
15369 if (obj4) {
15370 {
15371 arg5 = &temp5;
15372 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15373 }
15374 }
15375 if (obj5) {
15376 {
15377 arg6 = &temp6;
15378 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15379 }
15380 }
15381 if (obj6) {
15382 arg7 = (long)SWIG_As_long(obj6);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 if (obj7) {
15386 {
15387 arg8 = wxString_in_helper(obj7);
15388 if (arg8 == NULL) SWIG_fail;
15389 temp8 = True;
15390 }
15391 }
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15395
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 {
15400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15401 }
15402 {
15403 if (temp4)
15404 delete arg4;
15405 }
15406 {
15407 if (temp8)
15408 delete arg8;
15409 }
15410 return resultobj;
15411 fail:
15412 {
15413 if (temp4)
15414 delete arg4;
15415 }
15416 {
15417 if (temp8)
15418 delete arg8;
15419 }
15420 return NULL;
15421 }
15422
15423
15424 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj;
15426 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15427 PyObject * obj0 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "self", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 (arg1)->Activate();
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 Py_INCREF(Py_None); resultobj = Py_None;
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15452 bool arg2 ;
15453 PyObject * obj0 = 0 ;
15454 PyObject * obj1 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self",(char *) "maximize", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15462 arg2 = (bool)SWIG_As_bool(obj1);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 (arg1)->Maximize(arg2);
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 Py_INCREF(Py_None); resultobj = Py_None;
15472 return resultobj;
15473 fail:
15474 return NULL;
15475 }
15476
15477
15478 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj;
15480 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15481 PyObject * obj0 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 (arg1)->Restore();
15492
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 Py_INCREF(Py_None); resultobj = Py_None;
15497 return resultobj;
15498 fail:
15499 return NULL;
15500 }
15501
15502
15503 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15504 PyObject *obj;
15505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15506 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15507 Py_INCREF(obj);
15508 return Py_BuildValue((char *)"");
15509 }
15510 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15511 PyObject *resultobj;
15512 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15513 long arg2 = (long) 0 ;
15514 wxMDIClientWindow *result;
15515 PyObject * obj0 = 0 ;
15516 PyObject * obj1 = 0 ;
15517 char *kwnames[] = {
15518 (char *) "parent",(char *) "style", NULL
15519 };
15520
15521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15524 if (obj1) {
15525 arg2 = (long)SWIG_As_long(obj1);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 {
15529 if (!wxPyCheckForApp()) SWIG_fail;
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15537 return resultobj;
15538 fail:
15539 return NULL;
15540 }
15541
15542
15543 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 wxMDIClientWindow *result;
15546 char *kwnames[] = {
15547 NULL
15548 };
15549
15550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15551 {
15552 if (!wxPyCheckForApp()) SWIG_fail;
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj;
15568 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15569 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15570 long arg3 = (long) 0 ;
15571 bool result;
15572 PyObject * obj0 = 0 ;
15573 PyObject * obj1 = 0 ;
15574 PyObject * obj2 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self",(char *) "parent",(char *) "style", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15584 if (obj2) {
15585 arg3 = (long)SWIG_As_long(obj2);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 result = (bool)(arg1)->Create(arg2,arg3);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 {
15596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15597 }
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15605 PyObject *obj;
15606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15607 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15608 Py_INCREF(obj);
15609 return Py_BuildValue((char *)"");
15610 }
15611 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15612 PyObject *resultobj;
15613 wxWindow *arg1 = (wxWindow *) 0 ;
15614 int arg2 = (int) (int)-1 ;
15615 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15616 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15617 wxSize const &arg4_defvalue = wxDefaultSize ;
15618 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15619 long arg5 = (long) 0 ;
15620 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15621 wxString *arg6 = (wxString *) &arg6_defvalue ;
15622 wxPyWindow *result;
15623 wxPoint temp3 ;
15624 wxSize temp4 ;
15625 bool temp6 = False ;
15626 PyObject * obj0 = 0 ;
15627 PyObject * obj1 = 0 ;
15628 PyObject * obj2 = 0 ;
15629 PyObject * obj3 = 0 ;
15630 PyObject * obj4 = 0 ;
15631 PyObject * obj5 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15639 if (obj1) {
15640 arg2 = (int)SWIG_As_int(obj1);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 if (obj2) {
15644 {
15645 arg3 = &temp3;
15646 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15647 }
15648 }
15649 if (obj3) {
15650 {
15651 arg4 = &temp4;
15652 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15653 }
15654 }
15655 if (obj4) {
15656 arg5 = (long)SWIG_As_long(obj4);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 if (obj5) {
15660 {
15661 arg6 = wxString_in_helper(obj5);
15662 if (arg6 == NULL) SWIG_fail;
15663 temp6 = True;
15664 }
15665 }
15666 {
15667 if (!wxPyCheckForApp()) SWIG_fail;
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15675 {
15676 if (temp6)
15677 delete arg6;
15678 }
15679 return resultobj;
15680 fail:
15681 {
15682 if (temp6)
15683 delete arg6;
15684 }
15685 return NULL;
15686 }
15687
15688
15689 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15690 PyObject *resultobj;
15691 wxPyWindow *result;
15692 char *kwnames[] = {
15693 NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15697 {
15698 if (!wxPyCheckForApp()) SWIG_fail;
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 result = (wxPyWindow *)new wxPyWindow();
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15715 PyObject *arg2 = (PyObject *) 0 ;
15716 PyObject *arg3 = (PyObject *) 0 ;
15717 PyObject * obj0 = 0 ;
15718 PyObject * obj1 = 0 ;
15719 PyObject * obj2 = 0 ;
15720 char *kwnames[] = {
15721 (char *) "self",(char *) "self",(char *) "_class", NULL
15722 };
15723
15724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15727 arg2 = obj1;
15728 arg3 = obj2;
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 (arg1)->_setCallbackInfo(arg2,arg3);
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 Py_INCREF(Py_None); resultobj = Py_None;
15737 return resultobj;
15738 fail:
15739 return NULL;
15740 }
15741
15742
15743 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15744 PyObject *resultobj;
15745 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15746 wxSize *arg2 = 0 ;
15747 wxSize temp2 ;
15748 PyObject * obj0 = 0 ;
15749 PyObject * obj1 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self",(char *) "size", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15757 {
15758 arg2 = &temp2;
15759 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15760 }
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 (arg1)->SetBestSize((wxSize const &)*arg2);
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 Py_INCREF(Py_None); resultobj = Py_None;
15769 return resultobj;
15770 fail:
15771 return NULL;
15772 }
15773
15774
15775 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15778 int arg2 ;
15779 int arg3 ;
15780 int arg4 ;
15781 int arg5 ;
15782 PyObject * obj0 = 0 ;
15783 PyObject * obj1 = 0 ;
15784 PyObject * obj2 = 0 ;
15785 PyObject * obj3 = 0 ;
15786 PyObject * obj4 = 0 ;
15787 char *kwnames[] = {
15788 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15789 };
15790
15791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15794 arg2 = (int)SWIG_As_int(obj1);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 arg3 = (int)SWIG_As_int(obj2);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 arg4 = (int)SWIG_As_int(obj3);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 arg5 = (int)SWIG_As_int(obj4);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 {
15803 PyThreadState* __tstate = wxPyBeginAllowThreads();
15804 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15805
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 Py_INCREF(Py_None); resultobj = Py_None;
15810 return resultobj;
15811 fail:
15812 return NULL;
15813 }
15814
15815
15816 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15817 PyObject *resultobj;
15818 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15819 int arg2 ;
15820 int arg3 ;
15821 int arg4 ;
15822 int arg5 ;
15823 int arg6 = (int) wxSIZE_AUTO ;
15824 PyObject * obj0 = 0 ;
15825 PyObject * obj1 = 0 ;
15826 PyObject * obj2 = 0 ;
15827 PyObject * obj3 = 0 ;
15828 PyObject * obj4 = 0 ;
15829 PyObject * obj5 = 0 ;
15830 char *kwnames[] = {
15831 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15832 };
15833
15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15837 arg2 = (int)SWIG_As_int(obj1);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 arg3 = (int)SWIG_As_int(obj2);
15840 if (PyErr_Occurred()) SWIG_fail;
15841 arg4 = (int)SWIG_As_int(obj3);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 arg5 = (int)SWIG_As_int(obj4);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 if (obj5) {
15846 arg6 = (int)SWIG_As_int(obj5);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 Py_INCREF(Py_None); resultobj = Py_None;
15857 return resultobj;
15858 fail:
15859 return NULL;
15860 }
15861
15862
15863 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15866 int arg2 ;
15867 int arg3 ;
15868 PyObject * obj0 = 0 ;
15869 PyObject * obj1 = 0 ;
15870 PyObject * obj2 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self",(char *) "width",(char *) "height", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15878 arg2 = (int)SWIG_As_int(obj1);
15879 if (PyErr_Occurred()) SWIG_fail;
15880 arg3 = (int)SWIG_As_int(obj2);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 (arg1)->base_DoSetClientSize(arg2,arg3);
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 Py_INCREF(Py_None); resultobj = Py_None;
15890 return resultobj;
15891 fail:
15892 return NULL;
15893 }
15894
15895
15896 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15897 PyObject *resultobj;
15898 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15899 int arg2 ;
15900 int arg3 ;
15901 PyObject * obj0 = 0 ;
15902 PyObject * obj1 = 0 ;
15903 PyObject * obj2 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self",(char *) "x",(char *) "y", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15911 arg2 = (int)SWIG_As_int(obj1);
15912 if (PyErr_Occurred()) SWIG_fail;
15913 arg3 = (int)SWIG_As_int(obj2);
15914 if (PyErr_Occurred()) SWIG_fail;
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 Py_INCREF(Py_None); resultobj = Py_None;
15923 return resultobj;
15924 fail:
15925 return NULL;
15926 }
15927
15928
15929 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15932 int *arg2 = (int *) 0 ;
15933 int *arg3 = (int *) 0 ;
15934 int temp2 ;
15935 int res2 = 0 ;
15936 int temp3 ;
15937 int res3 = 0 ;
15938 PyObject * obj0 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self", NULL
15941 };
15942
15943 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15944 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 Py_INCREF(Py_None); resultobj = Py_None;
15956 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15957 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15958 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15959 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15960 return resultobj;
15961 fail:
15962 return NULL;
15963 }
15964
15965
15966 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15967 PyObject *resultobj;
15968 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15969 int *arg2 = (int *) 0 ;
15970 int *arg3 = (int *) 0 ;
15971 int temp2 ;
15972 int res2 = 0 ;
15973 int temp3 ;
15974 int res3 = 0 ;
15975 PyObject * obj0 = 0 ;
15976 char *kwnames[] = {
15977 (char *) "self", NULL
15978 };
15979
15980 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15981 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15988
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15992 Py_INCREF(Py_None); resultobj = Py_None;
15993 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15994 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15995 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15996 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15997 return resultobj;
15998 fail:
15999 return NULL;
16000 }
16001
16002
16003 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj;
16005 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16006 int *arg2 = (int *) 0 ;
16007 int *arg3 = (int *) 0 ;
16008 int temp2 ;
16009 int res2 = 0 ;
16010 int temp3 ;
16011 int res3 = 0 ;
16012 PyObject * obj0 = 0 ;
16013 char *kwnames[] = {
16014 (char *) "self", NULL
16015 };
16016
16017 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16018 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16025
16026 wxPyEndAllowThreads(__tstate);
16027 if (PyErr_Occurred()) SWIG_fail;
16028 }
16029 Py_INCREF(Py_None); resultobj = Py_None;
16030 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16031 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16032 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16033 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16034 return resultobj;
16035 fail:
16036 return NULL;
16037 }
16038
16039
16040 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16041 PyObject *resultobj;
16042 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16043 wxSize result;
16044 PyObject * obj0 = 0 ;
16045 char *kwnames[] = {
16046 (char *) "self", NULL
16047 };
16048
16049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16052 {
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
16059 {
16060 wxSize * resultptr;
16061 resultptr = new wxSize((wxSize &) result);
16062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16063 }
16064 return resultobj;
16065 fail:
16066 return NULL;
16067 }
16068
16069
16070 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16071 PyObject *resultobj;
16072 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16073 wxSize result;
16074 PyObject * obj0 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16085
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 {
16090 wxSize * resultptr;
16091 resultptr = new wxSize((wxSize &) result);
16092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16093 }
16094 return resultobj;
16095 fail:
16096 return NULL;
16097 }
16098
16099
16100 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16103 PyObject * obj0 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 (arg1)->base_InitDialog();
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 Py_INCREF(Py_None); resultobj = Py_None;
16119 return resultobj;
16120 fail:
16121 return NULL;
16122 }
16123
16124
16125 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16126 PyObject *resultobj;
16127 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16128 bool result;
16129 PyObject * obj0 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16137 {
16138 PyThreadState* __tstate = wxPyBeginAllowThreads();
16139 result = (bool)(arg1)->base_TransferDataToWindow();
16140
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
16144 {
16145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16146 }
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16156 bool result;
16157 PyObject * obj0 = 0 ;
16158 char *kwnames[] = {
16159 (char *) "self", NULL
16160 };
16161
16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16165 {
16166 PyThreadState* __tstate = wxPyBeginAllowThreads();
16167 result = (bool)(arg1)->base_TransferDataFromWindow();
16168
16169 wxPyEndAllowThreads(__tstate);
16170 if (PyErr_Occurred()) SWIG_fail;
16171 }
16172 {
16173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16174 }
16175 return resultobj;
16176 fail:
16177 return NULL;
16178 }
16179
16180
16181 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16182 PyObject *resultobj;
16183 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16184 bool result;
16185 PyObject * obj0 = 0 ;
16186 char *kwnames[] = {
16187 (char *) "self", NULL
16188 };
16189
16190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16193 {
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 result = (bool)(arg1)->base_Validate();
16196
16197 wxPyEndAllowThreads(__tstate);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
16200 {
16201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16202 }
16203 return resultobj;
16204 fail:
16205 return NULL;
16206 }
16207
16208
16209 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16210 PyObject *resultobj;
16211 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16212 bool result;
16213 PyObject * obj0 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self", NULL
16216 };
16217
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 {
16229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16230 }
16231 return resultobj;
16232 fail:
16233 return NULL;
16234 }
16235
16236
16237 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16238 PyObject *resultobj;
16239 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16240 bool result;
16241 PyObject * obj0 = 0 ;
16242 char *kwnames[] = {
16243 (char *) "self", NULL
16244 };
16245
16246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16249 {
16250 PyThreadState* __tstate = wxPyBeginAllowThreads();
16251 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16252
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 {
16257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16258 }
16259 return resultobj;
16260 fail:
16261 return NULL;
16262 }
16263
16264
16265 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj;
16267 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16268 wxSize result;
16269 PyObject * obj0 = 0 ;
16270 char *kwnames[] = {
16271 (char *) "self", NULL
16272 };
16273
16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16277 {
16278 PyThreadState* __tstate = wxPyBeginAllowThreads();
16279 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16280
16281 wxPyEndAllowThreads(__tstate);
16282 if (PyErr_Occurred()) SWIG_fail;
16283 }
16284 {
16285 wxSize * resultptr;
16286 resultptr = new wxSize((wxSize &) result);
16287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16288 }
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16296 PyObject *resultobj;
16297 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16298 wxWindow *arg2 = (wxWindow *) 0 ;
16299 PyObject * obj0 = 0 ;
16300 PyObject * obj1 = 0 ;
16301 char *kwnames[] = {
16302 (char *) "self",(char *) "child", NULL
16303 };
16304
16305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 (arg1)->base_AddChild(arg2);
16313
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 Py_INCREF(Py_None); resultobj = Py_None;
16318 return resultobj;
16319 fail:
16320 return NULL;
16321 }
16322
16323
16324 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj;
16326 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16327 wxWindow *arg2 = (wxWindow *) 0 ;
16328 PyObject * obj0 = 0 ;
16329 PyObject * obj1 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self",(char *) "child", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16339 {
16340 PyThreadState* __tstate = wxPyBeginAllowThreads();
16341 (arg1)->base_RemoveChild(arg2);
16342
16343 wxPyEndAllowThreads(__tstate);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 Py_INCREF(Py_None); resultobj = Py_None;
16347 return resultobj;
16348 fail:
16349 return NULL;
16350 }
16351
16352
16353 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16354 PyObject *resultobj;
16355 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16356 bool result;
16357 PyObject * obj0 = 0 ;
16358 char *kwnames[] = {
16359 (char *) "self", NULL
16360 };
16361
16362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16365 {
16366 PyThreadState* __tstate = wxPyBeginAllowThreads();
16367 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16368
16369 wxPyEndAllowThreads(__tstate);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 }
16372 {
16373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16374 }
16375 return resultobj;
16376 fail:
16377 return NULL;
16378 }
16379
16380
16381 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj;
16383 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16384 wxColour *arg2 = 0 ;
16385 wxColour temp2 ;
16386 PyObject * obj0 = 0 ;
16387 PyObject * obj1 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self",(char *) "c", NULL
16390 };
16391
16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16395 {
16396 arg2 = &temp2;
16397 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16398 }
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 Py_INCREF(Py_None); resultobj = Py_None;
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16416 wxVisualAttributes result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 result = (arg1)->base_GetDefaultAttributes();
16428
16429 wxPyEndAllowThreads(__tstate);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 }
16432 {
16433 wxVisualAttributes * resultptr;
16434 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16436 }
16437 return resultobj;
16438 fail:
16439 return NULL;
16440 }
16441
16442
16443 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16444 PyObject *obj;
16445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16446 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16447 Py_INCREF(obj);
16448 return Py_BuildValue((char *)"");
16449 }
16450 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16451 PyObject *resultobj;
16452 wxWindow *arg1 = (wxWindow *) 0 ;
16453 int arg2 = (int) (int)-1 ;
16454 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16455 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16456 wxSize const &arg4_defvalue = wxDefaultSize ;
16457 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16458 long arg5 = (long) 0 ;
16459 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16460 wxString *arg6 = (wxString *) &arg6_defvalue ;
16461 wxPyPanel *result;
16462 wxPoint temp3 ;
16463 wxSize temp4 ;
16464 bool temp6 = False ;
16465 PyObject * obj0 = 0 ;
16466 PyObject * obj1 = 0 ;
16467 PyObject * obj2 = 0 ;
16468 PyObject * obj3 = 0 ;
16469 PyObject * obj4 = 0 ;
16470 PyObject * obj5 = 0 ;
16471 char *kwnames[] = {
16472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16473 };
16474
16475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16478 if (obj1) {
16479 arg2 = (int)SWIG_As_int(obj1);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 if (obj2) {
16483 {
16484 arg3 = &temp3;
16485 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16486 }
16487 }
16488 if (obj3) {
16489 {
16490 arg4 = &temp4;
16491 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16492 }
16493 }
16494 if (obj4) {
16495 arg5 = (long)SWIG_As_long(obj4);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 if (obj5) {
16499 {
16500 arg6 = wxString_in_helper(obj5);
16501 if (arg6 == NULL) SWIG_fail;
16502 temp6 = True;
16503 }
16504 }
16505 {
16506 if (!wxPyCheckForApp()) SWIG_fail;
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16514 {
16515 if (temp6)
16516 delete arg6;
16517 }
16518 return resultobj;
16519 fail:
16520 {
16521 if (temp6)
16522 delete arg6;
16523 }
16524 return NULL;
16525 }
16526
16527
16528 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj;
16530 wxPyPanel *result;
16531 char *kwnames[] = {
16532 NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16536 {
16537 if (!wxPyCheckForApp()) SWIG_fail;
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (wxPyPanel *)new wxPyPanel();
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16545 return resultobj;
16546 fail:
16547 return NULL;
16548 }
16549
16550
16551 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16552 PyObject *resultobj;
16553 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16554 PyObject *arg2 = (PyObject *) 0 ;
16555 PyObject *arg3 = (PyObject *) 0 ;
16556 PyObject * obj0 = 0 ;
16557 PyObject * obj1 = 0 ;
16558 PyObject * obj2 = 0 ;
16559 char *kwnames[] = {
16560 (char *) "self",(char *) "self",(char *) "_class", NULL
16561 };
16562
16563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16566 arg2 = obj1;
16567 arg3 = obj2;
16568 {
16569 PyThreadState* __tstate = wxPyBeginAllowThreads();
16570 (arg1)->_setCallbackInfo(arg2,arg3);
16571
16572 wxPyEndAllowThreads(__tstate);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 Py_INCREF(Py_None); resultobj = Py_None;
16576 return resultobj;
16577 fail:
16578 return NULL;
16579 }
16580
16581
16582 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16583 PyObject *resultobj;
16584 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16585 wxSize *arg2 = 0 ;
16586 wxSize temp2 ;
16587 PyObject * obj0 = 0 ;
16588 PyObject * obj1 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self",(char *) "size", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16596 {
16597 arg2 = &temp2;
16598 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16599 }
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 (arg1)->SetBestSize((wxSize const &)*arg2);
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 Py_INCREF(Py_None); resultobj = Py_None;
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16617 int arg2 ;
16618 int arg3 ;
16619 int arg4 ;
16620 int arg5 ;
16621 PyObject * obj0 = 0 ;
16622 PyObject * obj1 = 0 ;
16623 PyObject * obj2 = 0 ;
16624 PyObject * obj3 = 0 ;
16625 PyObject * obj4 = 0 ;
16626 char *kwnames[] = {
16627 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16628 };
16629
16630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16633 arg2 = (int)SWIG_As_int(obj1);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 arg3 = (int)SWIG_As_int(obj2);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 arg4 = (int)SWIG_As_int(obj3);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 arg5 = (int)SWIG_As_int(obj4);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 Py_INCREF(Py_None); resultobj = Py_None;
16649 return resultobj;
16650 fail:
16651 return NULL;
16652 }
16653
16654
16655 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16656 PyObject *resultobj;
16657 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16658 int arg2 ;
16659 int arg3 ;
16660 int arg4 ;
16661 int arg5 ;
16662 int arg6 = (int) wxSIZE_AUTO ;
16663 PyObject * obj0 = 0 ;
16664 PyObject * obj1 = 0 ;
16665 PyObject * obj2 = 0 ;
16666 PyObject * obj3 = 0 ;
16667 PyObject * obj4 = 0 ;
16668 PyObject * obj5 = 0 ;
16669 char *kwnames[] = {
16670 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16671 };
16672
16673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16676 arg2 = (int)SWIG_As_int(obj1);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 arg3 = (int)SWIG_As_int(obj2);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 arg4 = (int)SWIG_As_int(obj3);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 arg5 = (int)SWIG_As_int(obj4);
16683 if (PyErr_Occurred()) SWIG_fail;
16684 if (obj5) {
16685 arg6 = (int)SWIG_As_int(obj5);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 }
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
16690 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16691
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
16695 Py_INCREF(Py_None); resultobj = Py_None;
16696 return resultobj;
16697 fail:
16698 return NULL;
16699 }
16700
16701
16702 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16703 PyObject *resultobj;
16704 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16705 int arg2 ;
16706 int arg3 ;
16707 PyObject * obj0 = 0 ;
16708 PyObject * obj1 = 0 ;
16709 PyObject * obj2 = 0 ;
16710 char *kwnames[] = {
16711 (char *) "self",(char *) "width",(char *) "height", NULL
16712 };
16713
16714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16717 arg2 = (int)SWIG_As_int(obj1);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 arg3 = (int)SWIG_As_int(obj2);
16720 if (PyErr_Occurred()) SWIG_fail;
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 (arg1)->base_DoSetClientSize(arg2,arg3);
16724
16725 wxPyEndAllowThreads(__tstate);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 }
16728 Py_INCREF(Py_None); resultobj = Py_None;
16729 return resultobj;
16730 fail:
16731 return NULL;
16732 }
16733
16734
16735 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16736 PyObject *resultobj;
16737 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16738 int arg2 ;
16739 int arg3 ;
16740 PyObject * obj0 = 0 ;
16741 PyObject * obj1 = 0 ;
16742 PyObject * obj2 = 0 ;
16743 char *kwnames[] = {
16744 (char *) "self",(char *) "x",(char *) "y", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16750 arg2 = (int)SWIG_As_int(obj1);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 arg3 = (int)SWIG_As_int(obj2);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 {
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16757
16758 wxPyEndAllowThreads(__tstate);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 }
16761 Py_INCREF(Py_None); resultobj = Py_None;
16762 return resultobj;
16763 fail:
16764 return NULL;
16765 }
16766
16767
16768 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16769 PyObject *resultobj;
16770 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16771 int *arg2 = (int *) 0 ;
16772 int *arg3 = (int *) 0 ;
16773 int temp2 ;
16774 int res2 = 0 ;
16775 int temp3 ;
16776 int res3 = 0 ;
16777 PyObject * obj0 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self", NULL
16780 };
16781
16782 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16783 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16787 {
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16790
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 Py_INCREF(Py_None); resultobj = Py_None;
16795 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16796 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16797 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16798 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16799 return resultobj;
16800 fail:
16801 return NULL;
16802 }
16803
16804
16805 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj;
16807 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16808 int *arg2 = (int *) 0 ;
16809 int *arg3 = (int *) 0 ;
16810 int temp2 ;
16811 int res2 = 0 ;
16812 int temp3 ;
16813 int res3 = 0 ;
16814 PyObject * obj0 = 0 ;
16815 char *kwnames[] = {
16816 (char *) "self", NULL
16817 };
16818
16819 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16820 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16827
16828 wxPyEndAllowThreads(__tstate);
16829 if (PyErr_Occurred()) SWIG_fail;
16830 }
16831 Py_INCREF(Py_None); resultobj = Py_None;
16832 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16833 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16834 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16835 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16836 return resultobj;
16837 fail:
16838 return NULL;
16839 }
16840
16841
16842 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj;
16844 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16845 int *arg2 = (int *) 0 ;
16846 int *arg3 = (int *) 0 ;
16847 int temp2 ;
16848 int res2 = 0 ;
16849 int temp3 ;
16850 int res3 = 0 ;
16851 PyObject * obj0 = 0 ;
16852 char *kwnames[] = {
16853 (char *) "self", NULL
16854 };
16855
16856 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16857 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 Py_INCREF(Py_None); resultobj = Py_None;
16869 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16870 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16871 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16872 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16873 return resultobj;
16874 fail:
16875 return NULL;
16876 }
16877
16878
16879 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16882 wxSize result;
16883 PyObject * obj0 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 {
16899 wxSize * resultptr;
16900 resultptr = new wxSize((wxSize &) result);
16901 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16902 }
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16912 wxSize result;
16913 PyObject * obj0 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 {
16929 wxSize * resultptr;
16930 resultptr = new wxSize((wxSize &) result);
16931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16932 }
16933 return resultobj;
16934 fail:
16935 return NULL;
16936 }
16937
16938
16939 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16940 PyObject *resultobj;
16941 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16942 PyObject * obj0 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16950 {
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 (arg1)->base_InitDialog();
16953
16954 wxPyEndAllowThreads(__tstate);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 Py_INCREF(Py_None); resultobj = Py_None;
16958 return resultobj;
16959 fail:
16960 return NULL;
16961 }
16962
16963
16964 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16965 PyObject *resultobj;
16966 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16967 bool result;
16968 PyObject * obj0 = 0 ;
16969 char *kwnames[] = {
16970 (char *) "self", NULL
16971 };
16972
16973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16976 {
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 result = (bool)(arg1)->base_TransferDataToWindow();
16979
16980 wxPyEndAllowThreads(__tstate);
16981 if (PyErr_Occurred()) SWIG_fail;
16982 }
16983 {
16984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16985 }
16986 return resultobj;
16987 fail:
16988 return NULL;
16989 }
16990
16991
16992 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16995 bool result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 result = (bool)(arg1)->base_TransferDataFromWindow();
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 {
17012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17013 }
17014 return resultobj;
17015 fail:
17016 return NULL;
17017 }
17018
17019
17020 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17023 bool result;
17024 PyObject * obj0 = 0 ;
17025 char *kwnames[] = {
17026 (char *) "self", NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17032 {
17033 PyThreadState* __tstate = wxPyBeginAllowThreads();
17034 result = (bool)(arg1)->base_Validate();
17035
17036 wxPyEndAllowThreads(__tstate);
17037 if (PyErr_Occurred()) SWIG_fail;
17038 }
17039 {
17040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17041 }
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj;
17050 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17051 bool result;
17052 PyObject * obj0 = 0 ;
17053 char *kwnames[] = {
17054 (char *) "self", NULL
17055 };
17056
17057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 {
17068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17069 }
17070 return resultobj;
17071 fail:
17072 return NULL;
17073 }
17074
17075
17076 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17077 PyObject *resultobj;
17078 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17079 bool result;
17080 PyObject * obj0 = 0 ;
17081 char *kwnames[] = {
17082 (char *) "self", NULL
17083 };
17084
17085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 {
17096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17097 }
17098 return resultobj;
17099 fail:
17100 return NULL;
17101 }
17102
17103
17104 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17105 PyObject *resultobj;
17106 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17107 wxSize result;
17108 PyObject * obj0 = 0 ;
17109 char *kwnames[] = {
17110 (char *) "self", NULL
17111 };
17112
17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17119
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 {
17124 wxSize * resultptr;
17125 resultptr = new wxSize((wxSize &) result);
17126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17127 }
17128 return resultobj;
17129 fail:
17130 return NULL;
17131 }
17132
17133
17134 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17135 PyObject *resultobj;
17136 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17137 wxWindow *arg2 = (wxWindow *) 0 ;
17138 PyObject * obj0 = 0 ;
17139 PyObject * obj1 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self",(char *) "child", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 (arg1)->base_AddChild(arg2);
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 Py_INCREF(Py_None); resultobj = Py_None;
17157 return resultobj;
17158 fail:
17159 return NULL;
17160 }
17161
17162
17163 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17164 PyObject *resultobj;
17165 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17166 wxWindow *arg2 = (wxWindow *) 0 ;
17167 PyObject * obj0 = 0 ;
17168 PyObject * obj1 = 0 ;
17169 char *kwnames[] = {
17170 (char *) "self",(char *) "child", NULL
17171 };
17172
17173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17178 {
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 (arg1)->base_RemoveChild(arg2);
17181
17182 wxPyEndAllowThreads(__tstate);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 }
17185 Py_INCREF(Py_None); resultobj = Py_None;
17186 return resultobj;
17187 fail:
17188 return NULL;
17189 }
17190
17191
17192 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17193 PyObject *resultobj;
17194 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17195 bool result;
17196 PyObject * obj0 = 0 ;
17197 char *kwnames[] = {
17198 (char *) "self", NULL
17199 };
17200
17201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 {
17212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17213 }
17214 return resultobj;
17215 fail:
17216 return NULL;
17217 }
17218
17219
17220 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17221 PyObject *resultobj;
17222 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17223 wxColour *arg2 = 0 ;
17224 wxColour temp2 ;
17225 PyObject * obj0 = 0 ;
17226 PyObject * obj1 = 0 ;
17227 char *kwnames[] = {
17228 (char *) "self",(char *) "c", NULL
17229 };
17230
17231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17234 {
17235 arg2 = &temp2;
17236 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17237 }
17238 {
17239 PyThreadState* __tstate = wxPyBeginAllowThreads();
17240 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17241
17242 wxPyEndAllowThreads(__tstate);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 }
17245 Py_INCREF(Py_None); resultobj = Py_None;
17246 return resultobj;
17247 fail:
17248 return NULL;
17249 }
17250
17251
17252 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17253 PyObject *resultobj;
17254 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17255 wxVisualAttributes result;
17256 PyObject * obj0 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 result = (arg1)->base_GetDefaultAttributes();
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 {
17272 wxVisualAttributes * resultptr;
17273 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17275 }
17276 return resultobj;
17277 fail:
17278 return NULL;
17279 }
17280
17281
17282 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17283 PyObject *obj;
17284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17285 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17286 Py_INCREF(obj);
17287 return Py_BuildValue((char *)"");
17288 }
17289 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17290 PyObject *resultobj;
17291 wxWindow *arg1 = (wxWindow *) 0 ;
17292 int arg2 = (int) (int)-1 ;
17293 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17294 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17295 wxSize const &arg4_defvalue = wxDefaultSize ;
17296 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17297 long arg5 = (long) 0 ;
17298 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17299 wxString *arg6 = (wxString *) &arg6_defvalue ;
17300 wxPyScrolledWindow *result;
17301 wxPoint temp3 ;
17302 wxSize temp4 ;
17303 bool temp6 = False ;
17304 PyObject * obj0 = 0 ;
17305 PyObject * obj1 = 0 ;
17306 PyObject * obj2 = 0 ;
17307 PyObject * obj3 = 0 ;
17308 PyObject * obj4 = 0 ;
17309 PyObject * obj5 = 0 ;
17310 char *kwnames[] = {
17311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17312 };
17313
17314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17317 if (obj1) {
17318 arg2 = (int)SWIG_As_int(obj1);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 if (obj2) {
17322 {
17323 arg3 = &temp3;
17324 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17325 }
17326 }
17327 if (obj3) {
17328 {
17329 arg4 = &temp4;
17330 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17331 }
17332 }
17333 if (obj4) {
17334 arg5 = (long)SWIG_As_long(obj4);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
17337 if (obj5) {
17338 {
17339 arg6 = wxString_in_helper(obj5);
17340 if (arg6 == NULL) SWIG_fail;
17341 temp6 = True;
17342 }
17343 }
17344 {
17345 if (!wxPyCheckForApp()) SWIG_fail;
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17348
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17353 {
17354 if (temp6)
17355 delete arg6;
17356 }
17357 return resultobj;
17358 fail:
17359 {
17360 if (temp6)
17361 delete arg6;
17362 }
17363 return NULL;
17364 }
17365
17366
17367 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxPyScrolledWindow *result;
17370 char *kwnames[] = {
17371 NULL
17372 };
17373
17374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17375 {
17376 if (!wxPyCheckForApp()) SWIG_fail;
17377 PyThreadState* __tstate = wxPyBeginAllowThreads();
17378 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17379
17380 wxPyEndAllowThreads(__tstate);
17381 if (PyErr_Occurred()) SWIG_fail;
17382 }
17383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17384 return resultobj;
17385 fail:
17386 return NULL;
17387 }
17388
17389
17390 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj;
17392 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17393 PyObject *arg2 = (PyObject *) 0 ;
17394 PyObject *arg3 = (PyObject *) 0 ;
17395 PyObject * obj0 = 0 ;
17396 PyObject * obj1 = 0 ;
17397 PyObject * obj2 = 0 ;
17398 char *kwnames[] = {
17399 (char *) "self",(char *) "self",(char *) "_class", NULL
17400 };
17401
17402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17405 arg2 = obj1;
17406 arg3 = obj2;
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 (arg1)->_setCallbackInfo(arg2,arg3);
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 Py_INCREF(Py_None); resultobj = Py_None;
17415 return resultobj;
17416 fail:
17417 return NULL;
17418 }
17419
17420
17421 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17424 wxSize *arg2 = 0 ;
17425 wxSize temp2 ;
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self",(char *) "size", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17435 {
17436 arg2 = &temp2;
17437 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17438 }
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 (arg1)->SetBestSize((wxSize const &)*arg2);
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 Py_INCREF(Py_None); resultobj = Py_None;
17447 return resultobj;
17448 fail:
17449 return NULL;
17450 }
17451
17452
17453 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17456 int arg2 ;
17457 int arg3 ;
17458 int arg4 ;
17459 int arg5 ;
17460 PyObject * obj0 = 0 ;
17461 PyObject * obj1 = 0 ;
17462 PyObject * obj2 = 0 ;
17463 PyObject * obj3 = 0 ;
17464 PyObject * obj4 = 0 ;
17465 char *kwnames[] = {
17466 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17467 };
17468
17469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17472 arg2 = (int)SWIG_As_int(obj1);
17473 if (PyErr_Occurred()) SWIG_fail;
17474 arg3 = (int)SWIG_As_int(obj2);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 arg4 = (int)SWIG_As_int(obj3);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 arg5 = (int)SWIG_As_int(obj4);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17483
17484 wxPyEndAllowThreads(__tstate);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 Py_INCREF(Py_None); resultobj = Py_None;
17488 return resultobj;
17489 fail:
17490 return NULL;
17491 }
17492
17493
17494 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17495 PyObject *resultobj;
17496 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17497 int arg2 ;
17498 int arg3 ;
17499 int arg4 ;
17500 int arg5 ;
17501 int arg6 = (int) wxSIZE_AUTO ;
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 PyObject * obj2 = 0 ;
17505 PyObject * obj3 = 0 ;
17506 PyObject * obj4 = 0 ;
17507 PyObject * obj5 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17515 arg2 = (int)SWIG_As_int(obj1);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 arg3 = (int)SWIG_As_int(obj2);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 arg4 = (int)SWIG_As_int(obj3);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 arg5 = (int)SWIG_As_int(obj4);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 if (obj5) {
17524 arg6 = (int)SWIG_As_int(obj5);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 Py_INCREF(Py_None); resultobj = Py_None;
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17542 PyObject *resultobj;
17543 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17544 int arg2 ;
17545 int arg3 ;
17546 PyObject * obj0 = 0 ;
17547 PyObject * obj1 = 0 ;
17548 PyObject * obj2 = 0 ;
17549 char *kwnames[] = {
17550 (char *) "self",(char *) "width",(char *) "height", NULL
17551 };
17552
17553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17556 arg2 = (int)SWIG_As_int(obj1);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 arg3 = (int)SWIG_As_int(obj2);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 (arg1)->base_DoSetClientSize(arg2,arg3);
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 Py_INCREF(Py_None); resultobj = Py_None;
17568 return resultobj;
17569 fail:
17570 return NULL;
17571 }
17572
17573
17574 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17575 PyObject *resultobj;
17576 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17577 int arg2 ;
17578 int arg3 ;
17579 PyObject * obj0 = 0 ;
17580 PyObject * obj1 = 0 ;
17581 PyObject * obj2 = 0 ;
17582 char *kwnames[] = {
17583 (char *) "self",(char *) "x",(char *) "y", NULL
17584 };
17585
17586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17589 arg2 = (int)SWIG_As_int(obj1);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 arg3 = (int)SWIG_As_int(obj2);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 {
17594 PyThreadState* __tstate = wxPyBeginAllowThreads();
17595 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17596
17597 wxPyEndAllowThreads(__tstate);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 Py_INCREF(Py_None); resultobj = Py_None;
17601 return resultobj;
17602 fail:
17603 return NULL;
17604 }
17605
17606
17607 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17608 PyObject *resultobj;
17609 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17610 int *arg2 = (int *) 0 ;
17611 int *arg3 = (int *) 0 ;
17612 int temp2 ;
17613 int res2 = 0 ;
17614 int temp3 ;
17615 int res3 = 0 ;
17616 PyObject * obj0 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self", NULL
17619 };
17620
17621 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17622 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17629
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 Py_INCREF(Py_None); resultobj = Py_None;
17634 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17635 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17636 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17637 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17638 return resultobj;
17639 fail:
17640 return NULL;
17641 }
17642
17643
17644 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17647 int *arg2 = (int *) 0 ;
17648 int *arg3 = (int *) 0 ;
17649 int temp2 ;
17650 int res2 = 0 ;
17651 int temp3 ;
17652 int res3 = 0 ;
17653 PyObject * obj0 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "self", NULL
17656 };
17657
17658 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17659 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 Py_INCREF(Py_None); resultobj = Py_None;
17671 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17672 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17673 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17674 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17684 int *arg2 = (int *) 0 ;
17685 int *arg3 = (int *) 0 ;
17686 int temp2 ;
17687 int res2 = 0 ;
17688 int temp3 ;
17689 int res3 = 0 ;
17690 PyObject * obj0 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self", NULL
17693 };
17694
17695 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17696 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17700 {
17701 PyThreadState* __tstate = wxPyBeginAllowThreads();
17702 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17703
17704 wxPyEndAllowThreads(__tstate);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 }
17707 Py_INCREF(Py_None); resultobj = Py_None;
17708 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17709 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17710 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17711 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17719 PyObject *resultobj;
17720 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17721 wxSize result;
17722 PyObject * obj0 = 0 ;
17723 char *kwnames[] = {
17724 (char *) "self", NULL
17725 };
17726
17727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 {
17738 wxSize * resultptr;
17739 resultptr = new wxSize((wxSize &) result);
17740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17741 }
17742 return resultobj;
17743 fail:
17744 return NULL;
17745 }
17746
17747
17748 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj;
17750 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17751 wxSize result;
17752 PyObject * obj0 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 {
17768 wxSize * resultptr;
17769 resultptr = new wxSize((wxSize &) result);
17770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17771 }
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17781 PyObject * obj0 = 0 ;
17782 char *kwnames[] = {
17783 (char *) "self", NULL
17784 };
17785
17786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17789 {
17790 PyThreadState* __tstate = wxPyBeginAllowThreads();
17791 (arg1)->base_InitDialog();
17792
17793 wxPyEndAllowThreads(__tstate);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 }
17796 Py_INCREF(Py_None); resultobj = Py_None;
17797 return resultobj;
17798 fail:
17799 return NULL;
17800 }
17801
17802
17803 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17804 PyObject *resultobj;
17805 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17806 bool result;
17807 PyObject * obj0 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self", NULL
17810 };
17811
17812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17815 {
17816 PyThreadState* __tstate = wxPyBeginAllowThreads();
17817 result = (bool)(arg1)->base_TransferDataToWindow();
17818
17819 wxPyEndAllowThreads(__tstate);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 {
17823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17824 }
17825 return resultobj;
17826 fail:
17827 return NULL;
17828 }
17829
17830
17831 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17832 PyObject *resultobj;
17833 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17834 bool result;
17835 PyObject * obj0 = 0 ;
17836 char *kwnames[] = {
17837 (char *) "self", NULL
17838 };
17839
17840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17843 {
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = (bool)(arg1)->base_TransferDataFromWindow();
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 {
17851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17852 }
17853 return resultobj;
17854 fail:
17855 return NULL;
17856 }
17857
17858
17859 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17860 PyObject *resultobj;
17861 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17862 bool result;
17863 PyObject * obj0 = 0 ;
17864 char *kwnames[] = {
17865 (char *) "self", NULL
17866 };
17867
17868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 result = (bool)(arg1)->base_Validate();
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 {
17879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17880 }
17881 return resultobj;
17882 fail:
17883 return NULL;
17884 }
17885
17886
17887 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17888 PyObject *resultobj;
17889 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17890 bool result;
17891 PyObject * obj0 = 0 ;
17892 char *kwnames[] = {
17893 (char *) "self", NULL
17894 };
17895
17896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17899 {
17900 PyThreadState* __tstate = wxPyBeginAllowThreads();
17901 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17902
17903 wxPyEndAllowThreads(__tstate);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 }
17906 {
17907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17908 }
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17916 PyObject *resultobj;
17917 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17918 bool result;
17919 PyObject * obj0 = 0 ;
17920 char *kwnames[] = {
17921 (char *) "self", NULL
17922 };
17923
17924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17927 {
17928 PyThreadState* __tstate = wxPyBeginAllowThreads();
17929 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17930
17931 wxPyEndAllowThreads(__tstate);
17932 if (PyErr_Occurred()) SWIG_fail;
17933 }
17934 {
17935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17936 }
17937 return resultobj;
17938 fail:
17939 return NULL;
17940 }
17941
17942
17943 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17944 PyObject *resultobj;
17945 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17946 wxSize result;
17947 PyObject * obj0 = 0 ;
17948 char *kwnames[] = {
17949 (char *) "self", NULL
17950 };
17951
17952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17958
17959 wxPyEndAllowThreads(__tstate);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 {
17963 wxSize * resultptr;
17964 resultptr = new wxSize((wxSize &) result);
17965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17966 }
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17976 wxWindow *arg2 = (wxWindow *) 0 ;
17977 PyObject * obj0 = 0 ;
17978 PyObject * obj1 = 0 ;
17979 char *kwnames[] = {
17980 (char *) "self",(char *) "child", NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 (arg1)->base_AddChild(arg2);
17991
17992 wxPyEndAllowThreads(__tstate);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 }
17995 Py_INCREF(Py_None); resultobj = Py_None;
17996 return resultobj;
17997 fail:
17998 return NULL;
17999 }
18000
18001
18002 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18003 PyObject *resultobj;
18004 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18005 wxWindow *arg2 = (wxWindow *) 0 ;
18006 PyObject * obj0 = 0 ;
18007 PyObject * obj1 = 0 ;
18008 char *kwnames[] = {
18009 (char *) "self",(char *) "child", NULL
18010 };
18011
18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 (arg1)->base_RemoveChild(arg2);
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 Py_INCREF(Py_None); resultobj = Py_None;
18025 return resultobj;
18026 fail:
18027 return NULL;
18028 }
18029
18030
18031 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18034 bool result;
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 {
18051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18052 }
18053 return resultobj;
18054 fail:
18055 return NULL;
18056 }
18057
18058
18059 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj;
18061 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18062 wxColour *arg2 = 0 ;
18063 wxColour temp2 ;
18064 PyObject * obj0 = 0 ;
18065 PyObject * obj1 = 0 ;
18066 char *kwnames[] = {
18067 (char *) "self",(char *) "c", NULL
18068 };
18069
18070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18073 {
18074 arg2 = &temp2;
18075 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18076 }
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 Py_INCREF(Py_None); resultobj = Py_None;
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18094 wxVisualAttributes result;
18095 PyObject * obj0 = 0 ;
18096 char *kwnames[] = {
18097 (char *) "self", NULL
18098 };
18099
18100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (arg1)->base_GetDefaultAttributes();
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 {
18111 wxVisualAttributes * resultptr;
18112 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18114 }
18115 return resultobj;
18116 fail:
18117 return NULL;
18118 }
18119
18120
18121 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18122 PyObject *obj;
18123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18124 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18125 Py_INCREF(obj);
18126 return Py_BuildValue((char *)"");
18127 }
18128 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18129 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18130 return 1;
18131 }
18132
18133
18134 static PyObject *_wrap_PrintoutTitleStr_get() {
18135 PyObject *pyobj;
18136
18137 {
18138 #if wxUSE_UNICODE
18139 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18140 #else
18141 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18142 #endif
18143 }
18144 return pyobj;
18145 }
18146
18147
18148 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18149 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18150 return 1;
18151 }
18152
18153
18154 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18155 PyObject *pyobj;
18156
18157 {
18158 #if wxUSE_UNICODE
18159 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18160 #else
18161 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18162 #endif
18163 }
18164 return pyobj;
18165 }
18166
18167
18168 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18169 PyObject *resultobj;
18170 wxPrintData *result;
18171
18172 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18173 {
18174 PyThreadState* __tstate = wxPyBeginAllowThreads();
18175 result = (wxPrintData *)new wxPrintData();
18176
18177 wxPyEndAllowThreads(__tstate);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18181 return resultobj;
18182 fail:
18183 return NULL;
18184 }
18185
18186
18187 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18188 PyObject *resultobj;
18189 wxPrintData *arg1 = 0 ;
18190 wxPrintData *result;
18191 PyObject * obj0 = 0 ;
18192
18193 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18195 SWIG_POINTER_EXCEPTION | 0)) == -1)
18196 SWIG_fail;
18197 if (arg1 == NULL) {
18198 PyErr_SetString(PyExc_TypeError,"null reference");
18199 SWIG_fail;
18200 }
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18209 return resultobj;
18210 fail:
18211 return NULL;
18212 }
18213
18214
18215 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18216 int argc;
18217 PyObject *argv[2];
18218 int ii;
18219
18220 argc = PyObject_Length(args);
18221 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18222 argv[ii] = PyTuple_GetItem(args,ii);
18223 }
18224 if (argc == 0) {
18225 return _wrap_new_PrintData__SWIG_0(self,args);
18226 }
18227 if (argc == 1) {
18228 int _v;
18229 {
18230 void *ptr;
18231 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18232 _v = 0;
18233 PyErr_Clear();
18234 } else {
18235 _v = 1;
18236 }
18237 }
18238 if (_v) {
18239 return _wrap_new_PrintData__SWIG_1(self,args);
18240 }
18241 }
18242
18243 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18244 return NULL;
18245 }
18246
18247
18248 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18249 PyObject *resultobj;
18250 wxPrintData *arg1 = (wxPrintData *) 0 ;
18251 PyObject * obj0 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 delete arg1;
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 Py_INCREF(Py_None); resultobj = Py_None;
18267 return resultobj;
18268 fail:
18269 return NULL;
18270 }
18271
18272
18273 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj;
18275 wxPrintData *arg1 = (wxPrintData *) 0 ;
18276 int result;
18277 PyObject * obj0 = 0 ;
18278 char *kwnames[] = {
18279 (char *) "self", NULL
18280 };
18281
18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 result = (int)(arg1)->GetNoCopies();
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 resultobj = SWIG_From_int((int)result);
18293 return resultobj;
18294 fail:
18295 return NULL;
18296 }
18297
18298
18299 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18300 PyObject *resultobj;
18301 wxPrintData *arg1 = (wxPrintData *) 0 ;
18302 bool result;
18303 PyObject * obj0 = 0 ;
18304 char *kwnames[] = {
18305 (char *) "self", NULL
18306 };
18307
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",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 = (bool)(arg1)->GetCollate();
18314
18315 wxPyEndAllowThreads(__tstate);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 }
18318 {
18319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18320 }
18321 return resultobj;
18322 fail:
18323 return NULL;
18324 }
18325
18326
18327 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj;
18329 wxPrintData *arg1 = (wxPrintData *) 0 ;
18330 int result;
18331 PyObject * obj0 = 0 ;
18332 char *kwnames[] = {
18333 (char *) "self", NULL
18334 };
18335
18336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 result = (int)(arg1)->GetOrientation();
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 resultobj = SWIG_From_int((int)result);
18347 return resultobj;
18348 fail:
18349 return NULL;
18350 }
18351
18352
18353 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 wxPrintData *arg1 = (wxPrintData *) 0 ;
18356 bool result;
18357 PyObject * obj0 = 0 ;
18358 char *kwnames[] = {
18359 (char *) "self", NULL
18360 };
18361
18362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 result = (bool)(arg1)->Ok();
18368
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 {
18373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18374 }
18375 return resultobj;
18376 fail:
18377 return NULL;
18378 }
18379
18380
18381 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18382 PyObject *resultobj;
18383 wxPrintData *arg1 = (wxPrintData *) 0 ;
18384 wxString *result;
18385 PyObject * obj0 = 0 ;
18386 char *kwnames[] = {
18387 (char *) "self", NULL
18388 };
18389
18390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18393 {
18394 PyThreadState* __tstate = wxPyBeginAllowThreads();
18395 {
18396 wxString const &_result_ref = (arg1)->GetPrinterName();
18397 result = (wxString *) &_result_ref;
18398 }
18399
18400 wxPyEndAllowThreads(__tstate);
18401 if (PyErr_Occurred()) SWIG_fail;
18402 }
18403 {
18404 #if wxUSE_UNICODE
18405 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18406 #else
18407 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18408 #endif
18409 }
18410 return resultobj;
18411 fail:
18412 return NULL;
18413 }
18414
18415
18416 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj;
18418 wxPrintData *arg1 = (wxPrintData *) 0 ;
18419 bool result;
18420 PyObject * obj0 = 0 ;
18421 char *kwnames[] = {
18422 (char *) "self", NULL
18423 };
18424
18425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 result = (bool)(arg1)->GetColour();
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 {
18436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18437 }
18438 return resultobj;
18439 fail:
18440 return NULL;
18441 }
18442
18443
18444 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18445 PyObject *resultobj;
18446 wxPrintData *arg1 = (wxPrintData *) 0 ;
18447 int result;
18448 PyObject * obj0 = 0 ;
18449 char *kwnames[] = {
18450 (char *) "self", NULL
18451 };
18452
18453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18456 {
18457 PyThreadState* __tstate = wxPyBeginAllowThreads();
18458 result = (int)(arg1)->GetDuplex();
18459
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 resultobj = SWIG_From_int((int)result);
18464 return resultobj;
18465 fail:
18466 return NULL;
18467 }
18468
18469
18470 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj;
18472 wxPrintData *arg1 = (wxPrintData *) 0 ;
18473 int result;
18474 PyObject * obj0 = 0 ;
18475 char *kwnames[] = {
18476 (char *) "self", NULL
18477 };
18478
18479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18482 {
18483 PyThreadState* __tstate = wxPyBeginAllowThreads();
18484 result = (int)(arg1)->GetPaperId();
18485
18486 wxPyEndAllowThreads(__tstate);
18487 if (PyErr_Occurred()) SWIG_fail;
18488 }
18489 resultobj = SWIG_From_int((int)result);
18490 return resultobj;
18491 fail:
18492 return NULL;
18493 }
18494
18495
18496 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18497 PyObject *resultobj;
18498 wxPrintData *arg1 = (wxPrintData *) 0 ;
18499 wxSize *result;
18500 PyObject * obj0 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18508 {
18509 PyThreadState* __tstate = wxPyBeginAllowThreads();
18510 {
18511 wxSize const &_result_ref = (arg1)->GetPaperSize();
18512 result = (wxSize *) &_result_ref;
18513 }
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18519 return resultobj;
18520 fail:
18521 return NULL;
18522 }
18523
18524
18525 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18526 PyObject *resultobj;
18527 wxPrintData *arg1 = (wxPrintData *) 0 ;
18528 int result;
18529 PyObject * obj0 = 0 ;
18530 char *kwnames[] = {
18531 (char *) "self", NULL
18532 };
18533
18534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 result = (int)(arg1)->GetQuality();
18540
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 resultobj = SWIG_From_int((int)result);
18545 return resultobj;
18546 fail:
18547 return NULL;
18548 }
18549
18550
18551 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18552 PyObject *resultobj;
18553 wxPrintData *arg1 = (wxPrintData *) 0 ;
18554 int arg2 ;
18555 PyObject * obj0 = 0 ;
18556 PyObject * obj1 = 0 ;
18557 char *kwnames[] = {
18558 (char *) "self",(char *) "v", NULL
18559 };
18560
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18564 arg2 = (int)SWIG_As_int(obj1);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 (arg1)->SetNoCopies(arg2);
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 Py_INCREF(Py_None); resultobj = Py_None;
18574 return resultobj;
18575 fail:
18576 return NULL;
18577 }
18578
18579
18580 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 wxPrintData *arg1 = (wxPrintData *) 0 ;
18583 bool arg2 ;
18584 PyObject * obj0 = 0 ;
18585 PyObject * obj1 = 0 ;
18586 char *kwnames[] = {
18587 (char *) "self",(char *) "flag", NULL
18588 };
18589
18590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18593 arg2 = (bool)SWIG_As_bool(obj1);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 (arg1)->SetCollate(arg2);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 Py_INCREF(Py_None); resultobj = Py_None;
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPrintData *arg1 = (wxPrintData *) 0 ;
18612 int arg2 ;
18613 PyObject * obj0 = 0 ;
18614 PyObject * obj1 = 0 ;
18615 char *kwnames[] = {
18616 (char *) "self",(char *) "orient", NULL
18617 };
18618
18619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18622 arg2 = (int)SWIG_As_int(obj1);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 {
18625 PyThreadState* __tstate = wxPyBeginAllowThreads();
18626 (arg1)->SetOrientation(arg2);
18627
18628 wxPyEndAllowThreads(__tstate);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 }
18631 Py_INCREF(Py_None); resultobj = Py_None;
18632 return resultobj;
18633 fail:
18634 return NULL;
18635 }
18636
18637
18638 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18639 PyObject *resultobj;
18640 wxPrintData *arg1 = (wxPrintData *) 0 ;
18641 wxString *arg2 = 0 ;
18642 bool temp2 = False ;
18643 PyObject * obj0 = 0 ;
18644 PyObject * obj1 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self",(char *) "name", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18652 {
18653 arg2 = wxString_in_helper(obj1);
18654 if (arg2 == NULL) SWIG_fail;
18655 temp2 = True;
18656 }
18657 {
18658 PyThreadState* __tstate = wxPyBeginAllowThreads();
18659 (arg1)->SetPrinterName((wxString const &)*arg2);
18660
18661 wxPyEndAllowThreads(__tstate);
18662 if (PyErr_Occurred()) SWIG_fail;
18663 }
18664 Py_INCREF(Py_None); resultobj = Py_None;
18665 {
18666 if (temp2)
18667 delete arg2;
18668 }
18669 return resultobj;
18670 fail:
18671 {
18672 if (temp2)
18673 delete arg2;
18674 }
18675 return NULL;
18676 }
18677
18678
18679 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18680 PyObject *resultobj;
18681 wxPrintData *arg1 = (wxPrintData *) 0 ;
18682 bool arg2 ;
18683 PyObject * obj0 = 0 ;
18684 PyObject * obj1 = 0 ;
18685 char *kwnames[] = {
18686 (char *) "self",(char *) "colour", NULL
18687 };
18688
18689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18692 arg2 = (bool)SWIG_As_bool(obj1);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 (arg1)->SetColour(arg2);
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 Py_INCREF(Py_None); resultobj = Py_None;
18702 return resultobj;
18703 fail:
18704 return NULL;
18705 }
18706
18707
18708 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18709 PyObject *resultobj;
18710 wxPrintData *arg1 = (wxPrintData *) 0 ;
18711 int arg2 ;
18712 PyObject * obj0 = 0 ;
18713 PyObject * obj1 = 0 ;
18714 char *kwnames[] = {
18715 (char *) "self",(char *) "duplex", NULL
18716 };
18717
18718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18721 arg2 = (int)SWIG_As_int(obj1);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 (arg1)->SetDuplex((wxDuplexMode )arg2);
18726
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 Py_INCREF(Py_None); resultobj = Py_None;
18731 return resultobj;
18732 fail:
18733 return NULL;
18734 }
18735
18736
18737 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18738 PyObject *resultobj;
18739 wxPrintData *arg1 = (wxPrintData *) 0 ;
18740 int arg2 ;
18741 PyObject * obj0 = 0 ;
18742 PyObject * obj1 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "self",(char *) "sizeId", NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18750 arg2 = (int)SWIG_As_int(obj1);
18751 if (PyErr_Occurred()) SWIG_fail;
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 (arg1)->SetPaperId((wxPaperSize )arg2);
18755
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 Py_INCREF(Py_None); resultobj = Py_None;
18760 return resultobj;
18761 fail:
18762 return NULL;
18763 }
18764
18765
18766 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18767 PyObject *resultobj;
18768 wxPrintData *arg1 = (wxPrintData *) 0 ;
18769 wxSize *arg2 = 0 ;
18770 wxSize temp2 ;
18771 PyObject * obj0 = 0 ;
18772 PyObject * obj1 = 0 ;
18773 char *kwnames[] = {
18774 (char *) "self",(char *) "sz", NULL
18775 };
18776
18777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18780 {
18781 arg2 = &temp2;
18782 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18783 }
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 (arg1)->SetPaperSize((wxSize const &)*arg2);
18787
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
18791 Py_INCREF(Py_None); resultobj = Py_None;
18792 return resultobj;
18793 fail:
18794 return NULL;
18795 }
18796
18797
18798 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18799 PyObject *resultobj;
18800 wxPrintData *arg1 = (wxPrintData *) 0 ;
18801 int arg2 ;
18802 PyObject * obj0 = 0 ;
18803 PyObject * obj1 = 0 ;
18804 char *kwnames[] = {
18805 (char *) "self",(char *) "quality", NULL
18806 };
18807
18808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18811 arg2 = (int)SWIG_As_int(obj1);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 (arg1)->SetQuality(arg2);
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 Py_INCREF(Py_None); resultobj = Py_None;
18821 return resultobj;
18822 fail:
18823 return NULL;
18824 }
18825
18826
18827 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18828 PyObject *resultobj;
18829 wxPrintData *arg1 = (wxPrintData *) 0 ;
18830 wxString *result;
18831 PyObject * obj0 = 0 ;
18832 char *kwnames[] = {
18833 (char *) "self", NULL
18834 };
18835
18836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 {
18842 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18843 result = (wxString *) &_result_ref;
18844 }
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 {
18850 #if wxUSE_UNICODE
18851 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18852 #else
18853 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18854 #endif
18855 }
18856 return resultobj;
18857 fail:
18858 return NULL;
18859 }
18860
18861
18862 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18863 PyObject *resultobj;
18864 wxPrintData *arg1 = (wxPrintData *) 0 ;
18865 wxString *result;
18866 PyObject * obj0 = 0 ;
18867 char *kwnames[] = {
18868 (char *) "self", NULL
18869 };
18870
18871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18874 {
18875 PyThreadState* __tstate = wxPyBeginAllowThreads();
18876 {
18877 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18878 result = (wxString *) &_result_ref;
18879 }
18880
18881 wxPyEndAllowThreads(__tstate);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 {
18885 #if wxUSE_UNICODE
18886 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18887 #else
18888 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18889 #endif
18890 }
18891 return resultobj;
18892 fail:
18893 return NULL;
18894 }
18895
18896
18897 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxPrintData *arg1 = (wxPrintData *) 0 ;
18900 wxString *result;
18901 PyObject * obj0 = 0 ;
18902 char *kwnames[] = {
18903 (char *) "self", NULL
18904 };
18905
18906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18909 {
18910 PyThreadState* __tstate = wxPyBeginAllowThreads();
18911 {
18912 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18913 result = (wxString *) &_result_ref;
18914 }
18915
18916 wxPyEndAllowThreads(__tstate);
18917 if (PyErr_Occurred()) SWIG_fail;
18918 }
18919 {
18920 #if wxUSE_UNICODE
18921 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18922 #else
18923 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18924 #endif
18925 }
18926 return resultobj;
18927 fail:
18928 return NULL;
18929 }
18930
18931
18932 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
18933 PyObject *resultobj;
18934 wxPrintData *arg1 = (wxPrintData *) 0 ;
18935 wxString *result;
18936 PyObject * obj0 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 {
18947 wxString const &_result_ref = (arg1)->GetFilename();
18948 result = (wxString *) &_result_ref;
18949 }
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 {
18955 #if wxUSE_UNICODE
18956 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18957 #else
18958 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18959 #endif
18960 }
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxPrintData *arg1 = (wxPrintData *) 0 ;
18970 wxString *result;
18971 PyObject * obj0 = 0 ;
18972 char *kwnames[] = {
18973 (char *) "self", NULL
18974 };
18975
18976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18979 {
18980 PyThreadState* __tstate = wxPyBeginAllowThreads();
18981 {
18982 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18983 result = (wxString *) &_result_ref;
18984 }
18985
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 {
18990 #if wxUSE_UNICODE
18991 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18992 #else
18993 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18994 #endif
18995 }
18996 return resultobj;
18997 fail:
18998 return NULL;
18999 }
19000
19001
19002 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19003 PyObject *resultobj;
19004 wxPrintData *arg1 = (wxPrintData *) 0 ;
19005 double result;
19006 PyObject * obj0 = 0 ;
19007 char *kwnames[] = {
19008 (char *) "self", NULL
19009 };
19010
19011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19014 {
19015 PyThreadState* __tstate = wxPyBeginAllowThreads();
19016 result = (double)(arg1)->GetPrinterScaleX();
19017
19018 wxPyEndAllowThreads(__tstate);
19019 if (PyErr_Occurred()) SWIG_fail;
19020 }
19021 resultobj = SWIG_From_double((double)result);
19022 return resultobj;
19023 fail:
19024 return NULL;
19025 }
19026
19027
19028 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj;
19030 wxPrintData *arg1 = (wxPrintData *) 0 ;
19031 double result;
19032 PyObject * obj0 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 result = (double)(arg1)->GetPrinterScaleY();
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 resultobj = SWIG_From_double((double)result);
19048 return resultobj;
19049 fail:
19050 return NULL;
19051 }
19052
19053
19054 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxPrintData *arg1 = (wxPrintData *) 0 ;
19057 long result;
19058 PyObject * obj0 = 0 ;
19059 char *kwnames[] = {
19060 (char *) "self", NULL
19061 };
19062
19063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 result = (long)(arg1)->GetPrinterTranslateX();
19069
19070 wxPyEndAllowThreads(__tstate);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
19073 resultobj = SWIG_From_long((long)result);
19074 return resultobj;
19075 fail:
19076 return NULL;
19077 }
19078
19079
19080 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19081 PyObject *resultobj;
19082 wxPrintData *arg1 = (wxPrintData *) 0 ;
19083 long result;
19084 PyObject * obj0 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 result = (long)(arg1)->GetPrinterTranslateY();
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 resultobj = SWIG_From_long((long)result);
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxPrintData *arg1 = (wxPrintData *) 0 ;
19109 int result;
19110 PyObject * obj0 = 0 ;
19111 char *kwnames[] = {
19112 (char *) "self", NULL
19113 };
19114
19115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19118 {
19119 PyThreadState* __tstate = wxPyBeginAllowThreads();
19120 result = (int)(arg1)->GetPrintMode();
19121
19122 wxPyEndAllowThreads(__tstate);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 resultobj = SWIG_From_int((int)result);
19126 return resultobj;
19127 fail:
19128 return NULL;
19129 }
19130
19131
19132 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19133 PyObject *resultobj;
19134 wxPrintData *arg1 = (wxPrintData *) 0 ;
19135 wxString *arg2 = 0 ;
19136 bool temp2 = False ;
19137 PyObject * obj0 = 0 ;
19138 PyObject * obj1 = 0 ;
19139 char *kwnames[] = {
19140 (char *) "self",(char *) "command", NULL
19141 };
19142
19143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19146 {
19147 arg2 = wxString_in_helper(obj1);
19148 if (arg2 == NULL) SWIG_fail;
19149 temp2 = True;
19150 }
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 Py_INCREF(Py_None); resultobj = Py_None;
19159 {
19160 if (temp2)
19161 delete arg2;
19162 }
19163 return resultobj;
19164 fail:
19165 {
19166 if (temp2)
19167 delete arg2;
19168 }
19169 return NULL;
19170 }
19171
19172
19173 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19174 PyObject *resultobj;
19175 wxPrintData *arg1 = (wxPrintData *) 0 ;
19176 wxString *arg2 = 0 ;
19177 bool temp2 = False ;
19178 PyObject * obj0 = 0 ;
19179 PyObject * obj1 = 0 ;
19180 char *kwnames[] = {
19181 (char *) "self",(char *) "options", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19187 {
19188 arg2 = wxString_in_helper(obj1);
19189 if (arg2 == NULL) SWIG_fail;
19190 temp2 = True;
19191 }
19192 {
19193 PyThreadState* __tstate = wxPyBeginAllowThreads();
19194 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19195
19196 wxPyEndAllowThreads(__tstate);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 Py_INCREF(Py_None); resultobj = Py_None;
19200 {
19201 if (temp2)
19202 delete arg2;
19203 }
19204 return resultobj;
19205 fail:
19206 {
19207 if (temp2)
19208 delete arg2;
19209 }
19210 return NULL;
19211 }
19212
19213
19214 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxPrintData *arg1 = (wxPrintData *) 0 ;
19217 wxString *arg2 = 0 ;
19218 bool temp2 = False ;
19219 PyObject * obj0 = 0 ;
19220 PyObject * obj1 = 0 ;
19221 char *kwnames[] = {
19222 (char *) "self",(char *) "command", NULL
19223 };
19224
19225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19228 {
19229 arg2 = wxString_in_helper(obj1);
19230 if (arg2 == NULL) SWIG_fail;
19231 temp2 = True;
19232 }
19233 {
19234 PyThreadState* __tstate = wxPyBeginAllowThreads();
19235 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19236
19237 wxPyEndAllowThreads(__tstate);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
19240 Py_INCREF(Py_None); resultobj = Py_None;
19241 {
19242 if (temp2)
19243 delete arg2;
19244 }
19245 return resultobj;
19246 fail:
19247 {
19248 if (temp2)
19249 delete arg2;
19250 }
19251 return NULL;
19252 }
19253
19254
19255 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19256 PyObject *resultobj;
19257 wxPrintData *arg1 = (wxPrintData *) 0 ;
19258 wxString *arg2 = 0 ;
19259 bool temp2 = False ;
19260 PyObject * obj0 = 0 ;
19261 PyObject * obj1 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self",(char *) "filename", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19269 {
19270 arg2 = wxString_in_helper(obj1);
19271 if (arg2 == NULL) SWIG_fail;
19272 temp2 = True;
19273 }
19274 {
19275 PyThreadState* __tstate = wxPyBeginAllowThreads();
19276 (arg1)->SetFilename((wxString const &)*arg2);
19277
19278 wxPyEndAllowThreads(__tstate);
19279 if (PyErr_Occurred()) SWIG_fail;
19280 }
19281 Py_INCREF(Py_None); resultobj = Py_None;
19282 {
19283 if (temp2)
19284 delete arg2;
19285 }
19286 return resultobj;
19287 fail:
19288 {
19289 if (temp2)
19290 delete arg2;
19291 }
19292 return NULL;
19293 }
19294
19295
19296 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19297 PyObject *resultobj;
19298 wxPrintData *arg1 = (wxPrintData *) 0 ;
19299 wxString *arg2 = 0 ;
19300 bool temp2 = False ;
19301 PyObject * obj0 = 0 ;
19302 PyObject * obj1 = 0 ;
19303 char *kwnames[] = {
19304 (char *) "self",(char *) "path", NULL
19305 };
19306
19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19310 {
19311 arg2 = wxString_in_helper(obj1);
19312 if (arg2 == NULL) SWIG_fail;
19313 temp2 = True;
19314 }
19315 {
19316 PyThreadState* __tstate = wxPyBeginAllowThreads();
19317 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19318
19319 wxPyEndAllowThreads(__tstate);
19320 if (PyErr_Occurred()) SWIG_fail;
19321 }
19322 Py_INCREF(Py_None); resultobj = Py_None;
19323 {
19324 if (temp2)
19325 delete arg2;
19326 }
19327 return resultobj;
19328 fail:
19329 {
19330 if (temp2)
19331 delete arg2;
19332 }
19333 return NULL;
19334 }
19335
19336
19337 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19338 PyObject *resultobj;
19339 wxPrintData *arg1 = (wxPrintData *) 0 ;
19340 double arg2 ;
19341 PyObject * obj0 = 0 ;
19342 PyObject * obj1 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self",(char *) "x", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19350 arg2 = (double)SWIG_As_double(obj1);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 (arg1)->SetPrinterScaleX(arg2);
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 Py_INCREF(Py_None); resultobj = Py_None;
19360 return resultobj;
19361 fail:
19362 return NULL;
19363 }
19364
19365
19366 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxPrintData *arg1 = (wxPrintData *) 0 ;
19369 double arg2 ;
19370 PyObject * obj0 = 0 ;
19371 PyObject * obj1 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self",(char *) "y", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19379 arg2 = (double)SWIG_As_double(obj1);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 (arg1)->SetPrinterScaleY(arg2);
19384
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 Py_INCREF(Py_None); resultobj = Py_None;
19389 return resultobj;
19390 fail:
19391 return NULL;
19392 }
19393
19394
19395 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj;
19397 wxPrintData *arg1 = (wxPrintData *) 0 ;
19398 double arg2 ;
19399 double arg3 ;
19400 PyObject * obj0 = 0 ;
19401 PyObject * obj1 = 0 ;
19402 PyObject * obj2 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self",(char *) "x",(char *) "y", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19410 arg2 = (double)SWIG_As_double(obj1);
19411 if (PyErr_Occurred()) SWIG_fail;
19412 arg3 = (double)SWIG_As_double(obj2);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 {
19415 PyThreadState* __tstate = wxPyBeginAllowThreads();
19416 (arg1)->SetPrinterScaling(arg2,arg3);
19417
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
19421 Py_INCREF(Py_None); resultobj = Py_None;
19422 return resultobj;
19423 fail:
19424 return NULL;
19425 }
19426
19427
19428 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19429 PyObject *resultobj;
19430 wxPrintData *arg1 = (wxPrintData *) 0 ;
19431 long arg2 ;
19432 PyObject * obj0 = 0 ;
19433 PyObject * obj1 = 0 ;
19434 char *kwnames[] = {
19435 (char *) "self",(char *) "x", NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19441 arg2 = (long)SWIG_As_long(obj1);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 {
19444 PyThreadState* __tstate = wxPyBeginAllowThreads();
19445 (arg1)->SetPrinterTranslateX(arg2);
19446
19447 wxPyEndAllowThreads(__tstate);
19448 if (PyErr_Occurred()) SWIG_fail;
19449 }
19450 Py_INCREF(Py_None); resultobj = Py_None;
19451 return resultobj;
19452 fail:
19453 return NULL;
19454 }
19455
19456
19457 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19458 PyObject *resultobj;
19459 wxPrintData *arg1 = (wxPrintData *) 0 ;
19460 long arg2 ;
19461 PyObject * obj0 = 0 ;
19462 PyObject * obj1 = 0 ;
19463 char *kwnames[] = {
19464 (char *) "self",(char *) "y", NULL
19465 };
19466
19467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19470 arg2 = (long)SWIG_As_long(obj1);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 {
19473 PyThreadState* __tstate = wxPyBeginAllowThreads();
19474 (arg1)->SetPrinterTranslateY(arg2);
19475
19476 wxPyEndAllowThreads(__tstate);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 }
19479 Py_INCREF(Py_None); resultobj = Py_None;
19480 return resultobj;
19481 fail:
19482 return NULL;
19483 }
19484
19485
19486 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19487 PyObject *resultobj;
19488 wxPrintData *arg1 = (wxPrintData *) 0 ;
19489 long arg2 ;
19490 long arg3 ;
19491 PyObject * obj0 = 0 ;
19492 PyObject * obj1 = 0 ;
19493 PyObject * obj2 = 0 ;
19494 char *kwnames[] = {
19495 (char *) "self",(char *) "x",(char *) "y", NULL
19496 };
19497
19498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19501 arg2 = (long)SWIG_As_long(obj1);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 arg3 = (long)SWIG_As_long(obj2);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 {
19506 PyThreadState* __tstate = wxPyBeginAllowThreads();
19507 (arg1)->SetPrinterTranslation(arg2,arg3);
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 Py_INCREF(Py_None); resultobj = Py_None;
19513 return resultobj;
19514 fail:
19515 return NULL;
19516 }
19517
19518
19519 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxPrintData *arg1 = (wxPrintData *) 0 ;
19522 int arg2 ;
19523 PyObject * obj0 = 0 ;
19524 PyObject * obj1 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self",(char *) "printMode", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19532 arg2 = (int)SWIG_As_int(obj1);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 (arg1)->SetPrintMode((wxPrintMode )arg2);
19537
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
19541 Py_INCREF(Py_None); resultobj = Py_None;
19542 return resultobj;
19543 fail:
19544 return NULL;
19545 }
19546
19547
19548 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19549 PyObject *resultobj;
19550 wxPrintData *arg1 = (wxPrintData *) 0 ;
19551 wxOutputStream *result;
19552 PyObject * obj0 = 0 ;
19553 char *kwnames[] = {
19554 (char *) "self", NULL
19555 };
19556
19557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 result = (wxOutputStream *)(arg1)->GetOutputStream();
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19568 return resultobj;
19569 fail:
19570 return NULL;
19571 }
19572
19573
19574 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxPrintData *arg1 = (wxPrintData *) 0 ;
19577 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self",(char *) "outputstream", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 (arg1)->SetOutputStream(arg2);
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 Py_INCREF(Py_None); resultobj = Py_None;
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19604 PyObject *obj;
19605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19606 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19607 Py_INCREF(obj);
19608 return Py_BuildValue((char *)"");
19609 }
19610 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19611 PyObject *resultobj;
19612 wxPageSetupDialogData *result;
19613
19614 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19623 return resultobj;
19624 fail:
19625 return NULL;
19626 }
19627
19628
19629 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19630 PyObject *resultobj;
19631 wxPageSetupDialogData *arg1 = 0 ;
19632 wxPageSetupDialogData *result;
19633 PyObject * obj0 = 0 ;
19634
19635 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19637 SWIG_POINTER_EXCEPTION | 0)) == -1)
19638 SWIG_fail;
19639 if (arg1 == NULL) {
19640 PyErr_SetString(PyExc_TypeError,"null reference");
19641 SWIG_fail;
19642 }
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19646
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19651 return resultobj;
19652 fail:
19653 return NULL;
19654 }
19655
19656
19657 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19658 int argc;
19659 PyObject *argv[2];
19660 int ii;
19661
19662 argc = PyObject_Length(args);
19663 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19664 argv[ii] = PyTuple_GetItem(args,ii);
19665 }
19666 if (argc == 0) {
19667 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19668 }
19669 if (argc == 1) {
19670 int _v;
19671 {
19672 void *ptr;
19673 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19674 _v = 0;
19675 PyErr_Clear();
19676 } else {
19677 _v = 1;
19678 }
19679 }
19680 if (_v) {
19681 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19682 }
19683 }
19684
19685 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19686 return NULL;
19687 }
19688
19689
19690 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 delete arg1;
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 Py_INCREF(Py_None); resultobj = Py_None;
19709 return resultobj;
19710 fail:
19711 return NULL;
19712 }
19713
19714
19715 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj;
19717 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19718 bool arg2 ;
19719 PyObject * obj0 = 0 ;
19720 PyObject * obj1 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self",(char *) "flag", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19728 arg2 = (bool)SWIG_As_bool(obj1);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->EnableHelp(arg2);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 Py_INCREF(Py_None); resultobj = Py_None;
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19747 bool arg2 ;
19748 PyObject * obj0 = 0 ;
19749 PyObject * obj1 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self",(char *) "flag", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19757 arg2 = (bool)SWIG_As_bool(obj1);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 (arg1)->EnableMargins(arg2);
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 Py_INCREF(Py_None); resultobj = Py_None;
19767 return resultobj;
19768 fail:
19769 return NULL;
19770 }
19771
19772
19773 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19776 bool arg2 ;
19777 PyObject * obj0 = 0 ;
19778 PyObject * obj1 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self",(char *) "flag", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19786 arg2 = (bool)SWIG_As_bool(obj1);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 (arg1)->EnableOrientation(arg2);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 Py_INCREF(Py_None); resultobj = Py_None;
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19805 bool arg2 ;
19806 PyObject * obj0 = 0 ;
19807 PyObject * obj1 = 0 ;
19808 char *kwnames[] = {
19809 (char *) "self",(char *) "flag", NULL
19810 };
19811
19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19815 arg2 = (bool)SWIG_As_bool(obj1);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 (arg1)->EnablePaper(arg2);
19820
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 Py_INCREF(Py_None); resultobj = Py_None;
19825 return resultobj;
19826 fail:
19827 return NULL;
19828 }
19829
19830
19831 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19832 PyObject *resultobj;
19833 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19834 bool arg2 ;
19835 PyObject * obj0 = 0 ;
19836 PyObject * obj1 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self",(char *) "flag", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19844 arg2 = (bool)SWIG_As_bool(obj1);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 {
19847 PyThreadState* __tstate = wxPyBeginAllowThreads();
19848 (arg1)->EnablePrinter(arg2);
19849
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 Py_INCREF(Py_None); resultobj = Py_None;
19854 return resultobj;
19855 fail:
19856 return NULL;
19857 }
19858
19859
19860 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19861 PyObject *resultobj;
19862 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19863 bool result;
19864 PyObject * obj0 = 0 ;
19865 char *kwnames[] = {
19866 (char *) "self", NULL
19867 };
19868
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",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 = (bool)(arg1)->GetDefaultMinMargins();
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 {
19880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19881 }
19882 return resultobj;
19883 fail:
19884 return NULL;
19885 }
19886
19887
19888 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19889 PyObject *resultobj;
19890 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19891 bool result;
19892 PyObject * obj0 = 0 ;
19893 char *kwnames[] = {
19894 (char *) "self", NULL
19895 };
19896
19897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19900 {
19901 PyThreadState* __tstate = wxPyBeginAllowThreads();
19902 result = (bool)(arg1)->GetEnableMargins();
19903
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 {
19908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19909 }
19910 return resultobj;
19911 fail:
19912 return NULL;
19913 }
19914
19915
19916 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19917 PyObject *resultobj;
19918 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19919 bool result;
19920 PyObject * obj0 = 0 ;
19921 char *kwnames[] = {
19922 (char *) "self", NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19928 {
19929 PyThreadState* __tstate = wxPyBeginAllowThreads();
19930 result = (bool)(arg1)->GetEnableOrientation();
19931
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 {
19936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19937 }
19938 return resultobj;
19939 fail:
19940 return NULL;
19941 }
19942
19943
19944 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19945 PyObject *resultobj;
19946 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19947 bool result;
19948 PyObject * obj0 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "self", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 result = (bool)(arg1)->GetEnablePaper();
19959
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 {
19964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19965 }
19966 return resultobj;
19967 fail:
19968 return NULL;
19969 }
19970
19971
19972 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19973 PyObject *resultobj;
19974 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19975 bool result;
19976 PyObject * obj0 = 0 ;
19977 char *kwnames[] = {
19978 (char *) "self", NULL
19979 };
19980
19981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 result = (bool)(arg1)->GetEnablePrinter();
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 {
19992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19993 }
19994 return resultobj;
19995 fail:
19996 return NULL;
19997 }
19998
19999
20000 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20001 PyObject *resultobj;
20002 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20003 bool result;
20004 PyObject * obj0 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 result = (bool)(arg1)->GetEnableHelp();
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 {
20020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20021 }
20022 return resultobj;
20023 fail:
20024 return NULL;
20025 }
20026
20027
20028 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20029 PyObject *resultobj;
20030 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20031 bool result;
20032 PyObject * obj0 = 0 ;
20033 char *kwnames[] = {
20034 (char *) "self", NULL
20035 };
20036
20037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20040 {
20041 PyThreadState* __tstate = wxPyBeginAllowThreads();
20042 result = (bool)(arg1)->GetDefaultInfo();
20043
20044 wxPyEndAllowThreads(__tstate);
20045 if (PyErr_Occurred()) SWIG_fail;
20046 }
20047 {
20048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20049 }
20050 return resultobj;
20051 fail:
20052 return NULL;
20053 }
20054
20055
20056 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20057 PyObject *resultobj;
20058 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20059 wxPoint result;
20060 PyObject * obj0 = 0 ;
20061 char *kwnames[] = {
20062 (char *) "self", NULL
20063 };
20064
20065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 result = (arg1)->GetMarginTopLeft();
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 {
20076 wxPoint * resultptr;
20077 resultptr = new wxPoint((wxPoint &) result);
20078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20079 }
20080 return resultobj;
20081 fail:
20082 return NULL;
20083 }
20084
20085
20086 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20089 wxPoint result;
20090 PyObject * obj0 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 result = (arg1)->GetMarginBottomRight();
20101
20102 wxPyEndAllowThreads(__tstate);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 }
20105 {
20106 wxPoint * resultptr;
20107 resultptr = new wxPoint((wxPoint &) result);
20108 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20109 }
20110 return resultobj;
20111 fail:
20112 return NULL;
20113 }
20114
20115
20116 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20117 PyObject *resultobj;
20118 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20119 wxPoint result;
20120 PyObject * obj0 = 0 ;
20121 char *kwnames[] = {
20122 (char *) "self", NULL
20123 };
20124
20125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20128 {
20129 PyThreadState* __tstate = wxPyBeginAllowThreads();
20130 result = (arg1)->GetMinMarginTopLeft();
20131
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 {
20136 wxPoint * resultptr;
20137 resultptr = new wxPoint((wxPoint &) result);
20138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20139 }
20140 return resultobj;
20141 fail:
20142 return NULL;
20143 }
20144
20145
20146 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20147 PyObject *resultobj;
20148 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20149 wxPoint result;
20150 PyObject * obj0 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 result = (arg1)->GetMinMarginBottomRight();
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 {
20166 wxPoint * resultptr;
20167 resultptr = new wxPoint((wxPoint &) result);
20168 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20169 }
20170 return resultobj;
20171 fail:
20172 return NULL;
20173 }
20174
20175
20176 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20179 int result;
20180 PyObject * obj0 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (int)(arg1)->GetPaperId();
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 resultobj = SWIG_From_int((int)result);
20196 return resultobj;
20197 fail:
20198 return NULL;
20199 }
20200
20201
20202 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20203 PyObject *resultobj;
20204 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20205 wxSize result;
20206 PyObject * obj0 = 0 ;
20207 char *kwnames[] = {
20208 (char *) "self", NULL
20209 };
20210
20211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (arg1)->GetPaperSize();
20217
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 {
20222 wxSize * resultptr;
20223 resultptr = new wxSize((wxSize &) result);
20224 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20225 }
20226 return resultobj;
20227 fail:
20228 return NULL;
20229 }
20230
20231
20232 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20235 wxPrintData *result;
20236 PyObject * obj0 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 {
20247 wxPrintData &_result_ref = (arg1)->GetPrintData();
20248 result = (wxPrintData *) &_result_ref;
20249 }
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20255 return resultobj;
20256 fail:
20257 return NULL;
20258 }
20259
20260
20261 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20264 bool result;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (bool)(arg1)->Ok();
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 {
20281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20282 }
20283 return resultobj;
20284 fail:
20285 return NULL;
20286 }
20287
20288
20289 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20290 PyObject *resultobj;
20291 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20292 bool arg2 ;
20293 PyObject * obj0 = 0 ;
20294 PyObject * obj1 = 0 ;
20295 char *kwnames[] = {
20296 (char *) "self",(char *) "flag", NULL
20297 };
20298
20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20302 arg2 = (bool)SWIG_As_bool(obj1);
20303 if (PyErr_Occurred()) SWIG_fail;
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 (arg1)->SetDefaultInfo(arg2);
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 Py_INCREF(Py_None); resultobj = Py_None;
20312 return resultobj;
20313 fail:
20314 return NULL;
20315 }
20316
20317
20318 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj;
20320 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20321 bool arg2 ;
20322 PyObject * obj0 = 0 ;
20323 PyObject * obj1 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self",(char *) "flag", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20331 arg2 = (bool)SWIG_As_bool(obj1);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 (arg1)->SetDefaultMinMargins(arg2);
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 Py_INCREF(Py_None); resultobj = Py_None;
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20350 wxPoint *arg2 = 0 ;
20351 wxPoint temp2 ;
20352 PyObject * obj0 = 0 ;
20353 PyObject * obj1 = 0 ;
20354 char *kwnames[] = {
20355 (char *) "self",(char *) "pt", NULL
20356 };
20357
20358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20361 {
20362 arg2 = &temp2;
20363 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20364 }
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 Py_INCREF(Py_None); resultobj = Py_None;
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20382 wxPoint *arg2 = 0 ;
20383 wxPoint temp2 ;
20384 PyObject * obj0 = 0 ;
20385 PyObject * obj1 = 0 ;
20386 char *kwnames[] = {
20387 (char *) "self",(char *) "pt", NULL
20388 };
20389
20390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20393 {
20394 arg2 = &temp2;
20395 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20396 }
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 Py_INCREF(Py_None); resultobj = Py_None;
20405 return resultobj;
20406 fail:
20407 return NULL;
20408 }
20409
20410
20411 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj;
20413 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20414 wxPoint *arg2 = 0 ;
20415 wxPoint temp2 ;
20416 PyObject * obj0 = 0 ;
20417 PyObject * obj1 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self",(char *) "pt", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20425 {
20426 arg2 = &temp2;
20427 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20428 }
20429 {
20430 PyThreadState* __tstate = wxPyBeginAllowThreads();
20431 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20432
20433 wxPyEndAllowThreads(__tstate);
20434 if (PyErr_Occurred()) SWIG_fail;
20435 }
20436 Py_INCREF(Py_None); resultobj = Py_None;
20437 return resultobj;
20438 fail:
20439 return NULL;
20440 }
20441
20442
20443 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20444 PyObject *resultobj;
20445 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20446 wxPoint *arg2 = 0 ;
20447 wxPoint temp2 ;
20448 PyObject * obj0 = 0 ;
20449 PyObject * obj1 = 0 ;
20450 char *kwnames[] = {
20451 (char *) "self",(char *) "pt", NULL
20452 };
20453
20454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20457 {
20458 arg2 = &temp2;
20459 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20460 }
20461 {
20462 PyThreadState* __tstate = wxPyBeginAllowThreads();
20463 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20464
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 Py_INCREF(Py_None); resultobj = Py_None;
20469 return resultobj;
20470 fail:
20471 return NULL;
20472 }
20473
20474
20475 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20476 PyObject *resultobj;
20477 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20478 int arg2 ;
20479 PyObject * obj0 = 0 ;
20480 PyObject * obj1 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self",(char *) "id", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20488 arg2 = (int)SWIG_As_int(obj1);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 (arg1)->SetPaperId((wxPaperSize )arg2);
20493
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 Py_INCREF(Py_None); resultobj = Py_None;
20498 return resultobj;
20499 fail:
20500 return NULL;
20501 }
20502
20503
20504 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20505 PyObject *resultobj;
20506 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20507 wxSize *arg2 = 0 ;
20508 wxSize temp2 ;
20509 PyObject * obj0 = 0 ;
20510 PyObject * obj1 = 0 ;
20511 char *kwnames[] = {
20512 (char *) "self",(char *) "size", NULL
20513 };
20514
20515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20518 {
20519 arg2 = &temp2;
20520 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20521 }
20522 {
20523 PyThreadState* __tstate = wxPyBeginAllowThreads();
20524 (arg1)->SetPaperSize((wxSize const &)*arg2);
20525
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 Py_INCREF(Py_None); resultobj = Py_None;
20530 return resultobj;
20531 fail:
20532 return NULL;
20533 }
20534
20535
20536 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20537 PyObject *resultobj;
20538 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20539 wxPrintData *arg2 = 0 ;
20540 PyObject * obj0 = 0 ;
20541 PyObject * obj1 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "self",(char *) "printData", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20550 SWIG_POINTER_EXCEPTION | 0)) == -1)
20551 SWIG_fail;
20552 if (arg2 == NULL) {
20553 PyErr_SetString(PyExc_TypeError,"null reference");
20554 SWIG_fail;
20555 }
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20559
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 Py_INCREF(Py_None); resultobj = Py_None;
20564 return resultobj;
20565 fail:
20566 return NULL;
20567 }
20568
20569
20570 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20571 PyObject *obj;
20572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20573 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20574 Py_INCREF(obj);
20575 return Py_BuildValue((char *)"");
20576 }
20577 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20578 PyObject *resultobj;
20579 wxWindow *arg1 = (wxWindow *) 0 ;
20580 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20581 wxPageSetupDialog *result;
20582 PyObject * obj0 = 0 ;
20583 PyObject * obj1 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "parent",(char *) "data", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20591 if (obj1) {
20592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20594 }
20595 {
20596 if (!wxPyCheckForApp()) SWIG_fail;
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20599
20600 wxPyEndAllowThreads(__tstate);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 }
20603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20604 return resultobj;
20605 fail:
20606 return NULL;
20607 }
20608
20609
20610 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20611 PyObject *resultobj;
20612 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20613 wxPageSetupDialogData *result;
20614 PyObject * obj0 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 {
20625 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20626 result = (wxPageSetupDialogData *) &_result_ref;
20627 }
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20633 return resultobj;
20634 fail:
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20642 int result;
20643 PyObject * obj0 = 0 ;
20644 char *kwnames[] = {
20645 (char *) "self", NULL
20646 };
20647
20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 result = (int)(arg1)->ShowModal();
20654
20655 wxPyEndAllowThreads(__tstate);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
20658 resultobj = SWIG_From_int((int)result);
20659 return resultobj;
20660 fail:
20661 return NULL;
20662 }
20663
20664
20665 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20666 PyObject *obj;
20667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20668 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20669 Py_INCREF(obj);
20670 return Py_BuildValue((char *)"");
20671 }
20672 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20673 PyObject *resultobj;
20674 wxPrintDialogData *result;
20675
20676 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20677 {
20678 PyThreadState* __tstate = wxPyBeginAllowThreads();
20679 result = (wxPrintDialogData *)new wxPrintDialogData();
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20685 return resultobj;
20686 fail:
20687 return NULL;
20688 }
20689
20690
20691 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20692 PyObject *resultobj;
20693 wxPrintData *arg1 = 0 ;
20694 wxPrintDialogData *result;
20695 PyObject * obj0 = 0 ;
20696
20697 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20699 SWIG_POINTER_EXCEPTION | 0)) == -1)
20700 SWIG_fail;
20701 if (arg1 == NULL) {
20702 PyErr_SetString(PyExc_TypeError,"null reference");
20703 SWIG_fail;
20704 }
20705 {
20706 PyThreadState* __tstate = wxPyBeginAllowThreads();
20707 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20708
20709 wxPyEndAllowThreads(__tstate);
20710 if (PyErr_Occurred()) SWIG_fail;
20711 }
20712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20713 return resultobj;
20714 fail:
20715 return NULL;
20716 }
20717
20718
20719 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20720 int argc;
20721 PyObject *argv[2];
20722 int ii;
20723
20724 argc = PyObject_Length(args);
20725 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20726 argv[ii] = PyTuple_GetItem(args,ii);
20727 }
20728 if (argc == 0) {
20729 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20730 }
20731 if (argc == 1) {
20732 int _v;
20733 {
20734 void *ptr;
20735 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20736 _v = 0;
20737 PyErr_Clear();
20738 } else {
20739 _v = 1;
20740 }
20741 }
20742 if (_v) {
20743 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20744 }
20745 }
20746
20747 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20748 return NULL;
20749 }
20750
20751
20752 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj;
20754 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20755 PyObject * obj0 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 delete arg1;
20766
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 Py_INCREF(Py_None); resultobj = Py_None;
20771 return resultobj;
20772 fail:
20773 return NULL;
20774 }
20775
20776
20777 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20778 PyObject *resultobj;
20779 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20780 int result;
20781 PyObject * obj0 = 0 ;
20782 char *kwnames[] = {
20783 (char *) "self", NULL
20784 };
20785
20786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20792
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 resultobj = SWIG_From_int((int)result);
20797 return resultobj;
20798 fail:
20799 return NULL;
20800 }
20801
20802
20803 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20804 PyObject *resultobj;
20805 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20806 int result;
20807 PyObject * obj0 = 0 ;
20808 char *kwnames[] = {
20809 (char *) "self", NULL
20810 };
20811
20812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20815 {
20816 PyThreadState* __tstate = wxPyBeginAllowThreads();
20817 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20818
20819 wxPyEndAllowThreads(__tstate);
20820 if (PyErr_Occurred()) SWIG_fail;
20821 }
20822 resultobj = SWIG_From_int((int)result);
20823 return resultobj;
20824 fail:
20825 return NULL;
20826 }
20827
20828
20829 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20830 PyObject *resultobj;
20831 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20832 int result;
20833 PyObject * obj0 = 0 ;
20834 char *kwnames[] = {
20835 (char *) "self", NULL
20836 };
20837
20838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 resultobj = SWIG_From_int((int)result);
20849 return resultobj;
20850 fail:
20851 return NULL;
20852 }
20853
20854
20855 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20856 PyObject *resultobj;
20857 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20858 int result;
20859 PyObject * obj0 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self", NULL
20862 };
20863
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20867 {
20868 PyThreadState* __tstate = wxPyBeginAllowThreads();
20869 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20870
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 resultobj = SWIG_From_int((int)result);
20875 return resultobj;
20876 fail:
20877 return NULL;
20878 }
20879
20880
20881 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20882 PyObject *resultobj;
20883 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20884 int result;
20885 PyObject * obj0 = 0 ;
20886 char *kwnames[] = {
20887 (char *) "self", NULL
20888 };
20889
20890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 resultobj = SWIG_From_int((int)result);
20901 return resultobj;
20902 fail:
20903 return NULL;
20904 }
20905
20906
20907 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20908 PyObject *resultobj;
20909 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20910 bool result;
20911 PyObject * obj0 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "self", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20922
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
20926 {
20927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20928 }
20929 return resultobj;
20930 fail:
20931 return NULL;
20932 }
20933
20934
20935 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20936 PyObject *resultobj;
20937 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20938 bool result;
20939 PyObject * obj0 = 0 ;
20940 char *kwnames[] = {
20941 (char *) "self", NULL
20942 };
20943
20944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20950
20951 wxPyEndAllowThreads(__tstate);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 }
20954 {
20955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20956 }
20957 return resultobj;
20958 fail:
20959 return NULL;
20960 }
20961
20962
20963 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20964 PyObject *resultobj;
20965 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20966 bool result;
20967 PyObject * obj0 = 0 ;
20968 char *kwnames[] = {
20969 (char *) "self", NULL
20970 };
20971
20972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20975 {
20976 PyThreadState* __tstate = wxPyBeginAllowThreads();
20977 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20978
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
20982 {
20983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20984 }
20985 return resultobj;
20986 fail:
20987 return NULL;
20988 }
20989
20990
20991 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20992 PyObject *resultobj;
20993 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20994 bool result;
20995 PyObject * obj0 = 0 ;
20996 char *kwnames[] = {
20997 (char *) "self", NULL
20998 };
20999
21000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21003 {
21004 PyThreadState* __tstate = wxPyBeginAllowThreads();
21005 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21006
21007 wxPyEndAllowThreads(__tstate);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 }
21010 {
21011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21012 }
21013 return resultobj;
21014 fail:
21015 return NULL;
21016 }
21017
21018
21019 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21020 PyObject *resultobj;
21021 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21022 bool result;
21023 PyObject * obj0 = 0 ;
21024 char *kwnames[] = {
21025 (char *) "self", NULL
21026 };
21027
21028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 {
21039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21040 }
21041 return resultobj;
21042 fail:
21043 return NULL;
21044 }
21045
21046
21047 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21048 PyObject *resultobj;
21049 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21050 int arg2 ;
21051 PyObject * obj0 = 0 ;
21052 PyObject * obj1 = 0 ;
21053 char *kwnames[] = {
21054 (char *) "self",(char *) "v", NULL
21055 };
21056
21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21060 arg2 = (int)SWIG_As_int(obj1);
21061 if (PyErr_Occurred()) SWIG_fail;
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 (arg1)->SetFromPage(arg2);
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 Py_INCREF(Py_None); resultobj = Py_None;
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21079 int arg2 ;
21080 PyObject * obj0 = 0 ;
21081 PyObject * obj1 = 0 ;
21082 char *kwnames[] = {
21083 (char *) "self",(char *) "v", NULL
21084 };
21085
21086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21089 arg2 = (int)SWIG_As_int(obj1);
21090 if (PyErr_Occurred()) SWIG_fail;
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 (arg1)->SetToPage(arg2);
21094
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
21098 Py_INCREF(Py_None); resultobj = Py_None;
21099 return resultobj;
21100 fail:
21101 return NULL;
21102 }
21103
21104
21105 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21106 PyObject *resultobj;
21107 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21108 int arg2 ;
21109 PyObject * obj0 = 0 ;
21110 PyObject * obj1 = 0 ;
21111 char *kwnames[] = {
21112 (char *) "self",(char *) "v", NULL
21113 };
21114
21115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21118 arg2 = (int)SWIG_As_int(obj1);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->SetMinPage(arg2);
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 Py_INCREF(Py_None); resultobj = Py_None;
21128 return resultobj;
21129 fail:
21130 return NULL;
21131 }
21132
21133
21134 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21137 int arg2 ;
21138 PyObject * obj0 = 0 ;
21139 PyObject * obj1 = 0 ;
21140 char *kwnames[] = {
21141 (char *) "self",(char *) "v", NULL
21142 };
21143
21144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21147 arg2 = (int)SWIG_As_int(obj1);
21148 if (PyErr_Occurred()) SWIG_fail;
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 (arg1)->SetMaxPage(arg2);
21152
21153 wxPyEndAllowThreads(__tstate);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
21156 Py_INCREF(Py_None); resultobj = Py_None;
21157 return resultobj;
21158 fail:
21159 return NULL;
21160 }
21161
21162
21163 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21164 PyObject *resultobj;
21165 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21166 int arg2 ;
21167 PyObject * obj0 = 0 ;
21168 PyObject * obj1 = 0 ;
21169 char *kwnames[] = {
21170 (char *) "self",(char *) "v", NULL
21171 };
21172
21173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21176 arg2 = (int)SWIG_As_int(obj1);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 (arg1)->SetNoCopies(arg2);
21181
21182 wxPyEndAllowThreads(__tstate);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 }
21185 Py_INCREF(Py_None); resultobj = Py_None;
21186 return resultobj;
21187 fail:
21188 return NULL;
21189 }
21190
21191
21192 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21193 PyObject *resultobj;
21194 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21195 bool arg2 ;
21196 PyObject * obj0 = 0 ;
21197 PyObject * obj1 = 0 ;
21198 char *kwnames[] = {
21199 (char *) "self",(char *) "flag", NULL
21200 };
21201
21202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21205 arg2 = (bool)SWIG_As_bool(obj1);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 (arg1)->SetAllPages(arg2);
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 Py_INCREF(Py_None); resultobj = Py_None;
21215 return resultobj;
21216 fail:
21217 return NULL;
21218 }
21219
21220
21221 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21222 PyObject *resultobj;
21223 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21224 bool arg2 ;
21225 PyObject * obj0 = 0 ;
21226 PyObject * obj1 = 0 ;
21227 char *kwnames[] = {
21228 (char *) "self",(char *) "flag", NULL
21229 };
21230
21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21234 arg2 = (bool)SWIG_As_bool(obj1);
21235 if (PyErr_Occurred()) SWIG_fail;
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 (arg1)->SetSelection(arg2);
21239
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 Py_INCREF(Py_None); resultobj = Py_None;
21244 return resultobj;
21245 fail:
21246 return NULL;
21247 }
21248
21249
21250 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21251 PyObject *resultobj;
21252 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21253 bool arg2 ;
21254 PyObject * obj0 = 0 ;
21255 PyObject * obj1 = 0 ;
21256 char *kwnames[] = {
21257 (char *) "self",(char *) "flag", NULL
21258 };
21259
21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21263 arg2 = (bool)SWIG_As_bool(obj1);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 {
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 (arg1)->SetCollate(arg2);
21268
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 Py_INCREF(Py_None); resultobj = Py_None;
21273 return resultobj;
21274 fail:
21275 return NULL;
21276 }
21277
21278
21279 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21280 PyObject *resultobj;
21281 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21282 bool arg2 ;
21283 PyObject * obj0 = 0 ;
21284 PyObject * obj1 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "self",(char *) "flag", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21292 arg2 = (bool)SWIG_As_bool(obj1);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 {
21295 PyThreadState* __tstate = wxPyBeginAllowThreads();
21296 (arg1)->SetPrintToFile(arg2);
21297
21298 wxPyEndAllowThreads(__tstate);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 }
21301 Py_INCREF(Py_None); resultobj = Py_None;
21302 return resultobj;
21303 fail:
21304 return NULL;
21305 }
21306
21307
21308 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21311 bool arg2 ;
21312 PyObject * obj0 = 0 ;
21313 PyObject * obj1 = 0 ;
21314 char *kwnames[] = {
21315 (char *) "self",(char *) "flag", NULL
21316 };
21317
21318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21321 arg2 = (bool)SWIG_As_bool(obj1);
21322 if (PyErr_Occurred()) SWIG_fail;
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 (arg1)->SetSetupDialog(arg2);
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 Py_INCREF(Py_None); resultobj = Py_None;
21331 return resultobj;
21332 fail:
21333 return NULL;
21334 }
21335
21336
21337 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21340 bool arg2 ;
21341 PyObject * obj0 = 0 ;
21342 PyObject * obj1 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self",(char *) "flag", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21350 arg2 = (bool)SWIG_As_bool(obj1);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 (arg1)->EnablePrintToFile(arg2);
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 Py_INCREF(Py_None); resultobj = Py_None;
21360 return resultobj;
21361 fail:
21362 return NULL;
21363 }
21364
21365
21366 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj;
21368 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21369 bool arg2 ;
21370 PyObject * obj0 = 0 ;
21371 PyObject * obj1 = 0 ;
21372 char *kwnames[] = {
21373 (char *) "self",(char *) "flag", NULL
21374 };
21375
21376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21379 arg2 = (bool)SWIG_As_bool(obj1);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 (arg1)->EnableSelection(arg2);
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 Py_INCREF(Py_None); resultobj = Py_None;
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21398 bool arg2 ;
21399 PyObject * obj0 = 0 ;
21400 PyObject * obj1 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self",(char *) "flag", NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21408 arg2 = (bool)SWIG_As_bool(obj1);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 {
21411 PyThreadState* __tstate = wxPyBeginAllowThreads();
21412 (arg1)->EnablePageNumbers(arg2);
21413
21414 wxPyEndAllowThreads(__tstate);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 }
21417 Py_INCREF(Py_None); resultobj = Py_None;
21418 return resultobj;
21419 fail:
21420 return NULL;
21421 }
21422
21423
21424 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21425 PyObject *resultobj;
21426 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21427 bool arg2 ;
21428 PyObject * obj0 = 0 ;
21429 PyObject * obj1 = 0 ;
21430 char *kwnames[] = {
21431 (char *) "self",(char *) "flag", NULL
21432 };
21433
21434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21437 arg2 = (bool)SWIG_As_bool(obj1);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 {
21440 PyThreadState* __tstate = wxPyBeginAllowThreads();
21441 (arg1)->EnableHelp(arg2);
21442
21443 wxPyEndAllowThreads(__tstate);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 Py_INCREF(Py_None); resultobj = Py_None;
21447 return resultobj;
21448 fail:
21449 return NULL;
21450 }
21451
21452
21453 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21454 PyObject *resultobj;
21455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21456 bool result;
21457 PyObject * obj0 = 0 ;
21458 char *kwnames[] = {
21459 (char *) "self", NULL
21460 };
21461
21462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21465 {
21466 PyThreadState* __tstate = wxPyBeginAllowThreads();
21467 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21468
21469 wxPyEndAllowThreads(__tstate);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 {
21473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21474 }
21475 return resultobj;
21476 fail:
21477 return NULL;
21478 }
21479
21480
21481 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21482 PyObject *resultobj;
21483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21484 bool result;
21485 PyObject * obj0 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 {
21501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21502 }
21503 return resultobj;
21504 fail:
21505 return NULL;
21506 }
21507
21508
21509 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj;
21511 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21512 bool result;
21513 PyObject * obj0 = 0 ;
21514 char *kwnames[] = {
21515 (char *) "self", NULL
21516 };
21517
21518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 {
21529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21530 }
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21540 bool result;
21541 PyObject * obj0 = 0 ;
21542 char *kwnames[] = {
21543 (char *) "self", NULL
21544 };
21545
21546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 {
21557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21558 }
21559 return resultobj;
21560 fail:
21561 return NULL;
21562 }
21563
21564
21565 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21566 PyObject *resultobj;
21567 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21568 bool result;
21569 PyObject * obj0 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21577 {
21578 PyThreadState* __tstate = wxPyBeginAllowThreads();
21579 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21580
21581 wxPyEndAllowThreads(__tstate);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 }
21584 {
21585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21586 }
21587 return resultobj;
21588 fail:
21589 return NULL;
21590 }
21591
21592
21593 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21594 PyObject *resultobj;
21595 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21596 wxPrintData *result;
21597 PyObject * obj0 = 0 ;
21598 char *kwnames[] = {
21599 (char *) "self", NULL
21600 };
21601
21602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21605 {
21606 PyThreadState* __tstate = wxPyBeginAllowThreads();
21607 {
21608 wxPrintData &_result_ref = (arg1)->GetPrintData();
21609 result = (wxPrintData *) &_result_ref;
21610 }
21611
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21616 return resultobj;
21617 fail:
21618 return NULL;
21619 }
21620
21621
21622 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj;
21624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21625 wxPrintData *arg2 = 0 ;
21626 PyObject * obj0 = 0 ;
21627 PyObject * obj1 = 0 ;
21628 char *kwnames[] = {
21629 (char *) "self",(char *) "printData", NULL
21630 };
21631
21632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21636 SWIG_POINTER_EXCEPTION | 0)) == -1)
21637 SWIG_fail;
21638 if (arg2 == NULL) {
21639 PyErr_SetString(PyExc_TypeError,"null reference");
21640 SWIG_fail;
21641 }
21642 {
21643 PyThreadState* __tstate = wxPyBeginAllowThreads();
21644 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21645
21646 wxPyEndAllowThreads(__tstate);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 Py_INCREF(Py_None); resultobj = Py_None;
21650 return resultobj;
21651 fail:
21652 return NULL;
21653 }
21654
21655
21656 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21657 PyObject *obj;
21658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21659 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21660 Py_INCREF(obj);
21661 return Py_BuildValue((char *)"");
21662 }
21663 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21664 PyObject *resultobj;
21665 wxWindow *arg1 = (wxWindow *) 0 ;
21666 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21667 wxPrintDialog *result;
21668 PyObject * obj0 = 0 ;
21669 PyObject * obj1 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "parent",(char *) "data", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21677 if (obj1) {
21678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21680 }
21681 {
21682 if (!wxPyCheckForApp()) SWIG_fail;
21683 PyThreadState* __tstate = wxPyBeginAllowThreads();
21684 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21685
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21690 return resultobj;
21691 fail:
21692 return NULL;
21693 }
21694
21695
21696 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21697 PyObject *resultobj;
21698 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21699 wxPrintDialogData *result;
21700 PyObject * obj0 = 0 ;
21701 char *kwnames[] = {
21702 (char *) "self", NULL
21703 };
21704
21705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 {
21711 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21712 result = (wxPrintDialogData *) &_result_ref;
21713 }
21714
21715 wxPyEndAllowThreads(__tstate);
21716 if (PyErr_Occurred()) SWIG_fail;
21717 }
21718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21719 return resultobj;
21720 fail:
21721 return NULL;
21722 }
21723
21724
21725 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
21726 PyObject *resultobj;
21727 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21728 wxDC *result;
21729 PyObject * obj0 = 0 ;
21730 char *kwnames[] = {
21731 (char *) "self", NULL
21732 };
21733
21734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 result = (wxDC *)(arg1)->GetPrintDC();
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 {
21745 resultobj = wxPyMake_wxObject(result, 1);
21746 }
21747 return resultobj;
21748 fail:
21749 return NULL;
21750 }
21751
21752
21753 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21756 int result;
21757 PyObject * obj0 = 0 ;
21758 char *kwnames[] = {
21759 (char *) "self", NULL
21760 };
21761
21762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 result = (int)(arg1)->ShowModal();
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 resultobj = SWIG_From_int((int)result);
21773 return resultobj;
21774 fail:
21775 return NULL;
21776 }
21777
21778
21779 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
21780 PyObject *obj;
21781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21782 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21783 Py_INCREF(obj);
21784 return Py_BuildValue((char *)"");
21785 }
21786 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj;
21788 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21789 wxPrinter *result;
21790 PyObject * obj0 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "data", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21796 if (obj0) {
21797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21799 }
21800 {
21801 if (!wxPyCheckForApp()) SWIG_fail;
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 result = (wxPrinter *)new wxPrinter(arg1);
21804
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21809 return resultobj;
21810 fail:
21811 return NULL;
21812 }
21813
21814
21815 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21816 PyObject *resultobj;
21817 wxPrinter *arg1 = (wxPrinter *) 0 ;
21818 PyObject * obj0 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 delete arg1;
21829
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 Py_INCREF(Py_None); resultobj = Py_None;
21834 return resultobj;
21835 fail:
21836 return NULL;
21837 }
21838
21839
21840 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21841 PyObject *resultobj;
21842 wxPrinter *arg1 = (wxPrinter *) 0 ;
21843 wxWindow *arg2 = (wxWindow *) 0 ;
21844 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21845 PyObject * obj0 = 0 ;
21846 PyObject * obj1 = 0 ;
21847 PyObject * obj2 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self",(char *) "parent",(char *) "printout", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21857 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 (arg1)->CreateAbortWindow(arg2,arg3);
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 Py_INCREF(Py_None); resultobj = Py_None;
21867 return resultobj;
21868 fail:
21869 return NULL;
21870 }
21871
21872
21873 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21874 PyObject *resultobj;
21875 wxPrinter *arg1 = (wxPrinter *) 0 ;
21876 wxPrintDialogData *result;
21877 PyObject * obj0 = 0 ;
21878 char *kwnames[] = {
21879 (char *) "self", NULL
21880 };
21881
21882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21885 {
21886 PyThreadState* __tstate = wxPyBeginAllowThreads();
21887 {
21888 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21889 result = (wxPrintDialogData *) &_result_ref;
21890 }
21891
21892 wxPyEndAllowThreads(__tstate);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21896 return resultobj;
21897 fail:
21898 return NULL;
21899 }
21900
21901
21902 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21903 PyObject *resultobj;
21904 wxPrinter *arg1 = (wxPrinter *) 0 ;
21905 wxWindow *arg2 = (wxWindow *) 0 ;
21906 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21907 int arg4 = (int) True ;
21908 bool result;
21909 PyObject * obj0 = 0 ;
21910 PyObject * obj1 = 0 ;
21911 PyObject * obj2 = 0 ;
21912 PyObject * obj3 = 0 ;
21913 char *kwnames[] = {
21914 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21915 };
21916
21917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21922 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21924 if (obj3) {
21925 arg4 = (int)SWIG_As_int(obj3);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 {
21936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21937 }
21938 return resultobj;
21939 fail:
21940 return NULL;
21941 }
21942
21943
21944 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxPrinter *arg1 = (wxPrinter *) 0 ;
21947 wxWindow *arg2 = (wxWindow *) 0 ;
21948 wxDC *result;
21949 PyObject * obj0 = 0 ;
21950 PyObject * obj1 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self",(char *) "parent", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = (wxDC *)(arg1)->PrintDialog(arg2);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 resultobj = wxPyMake_wxObject(result, 0);
21969 }
21970 return resultobj;
21971 fail:
21972 return NULL;
21973 }
21974
21975
21976 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj;
21978 wxPrinter *arg1 = (wxPrinter *) 0 ;
21979 wxWindow *arg2 = (wxWindow *) 0 ;
21980 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21981 wxString *arg4 = 0 ;
21982 bool temp4 = False ;
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 PyObject * obj2 = 0 ;
21986 PyObject * obj3 = 0 ;
21987 char *kwnames[] = {
21988 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21989 };
21990
21991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21996 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21998 {
21999 arg4 = wxString_in_helper(obj3);
22000 if (arg4 == NULL) SWIG_fail;
22001 temp4 = True;
22002 }
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22006
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 Py_INCREF(Py_None); resultobj = Py_None;
22011 {
22012 if (temp4)
22013 delete arg4;
22014 }
22015 return resultobj;
22016 fail:
22017 {
22018 if (temp4)
22019 delete arg4;
22020 }
22021 return NULL;
22022 }
22023
22024
22025 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxPrinter *arg1 = (wxPrinter *) 0 ;
22028 wxWindow *arg2 = (wxWindow *) 0 ;
22029 bool result;
22030 PyObject * obj0 = 0 ;
22031 PyObject * obj1 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self",(char *) "parent", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 result = (bool)(arg1)->Setup(arg2);
22044
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 {
22049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22050 }
22051 return resultobj;
22052 fail:
22053 return NULL;
22054 }
22055
22056
22057 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxPrinter *arg1 = (wxPrinter *) 0 ;
22060 bool result;
22061 PyObject * obj0 = 0 ;
22062 char *kwnames[] = {
22063 (char *) "self", NULL
22064 };
22065
22066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22069 {
22070 PyThreadState* __tstate = wxPyBeginAllowThreads();
22071 result = (bool)(arg1)->GetAbort();
22072
22073 wxPyEndAllowThreads(__tstate);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 {
22077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22078 }
22079 return resultobj;
22080 fail:
22081 return NULL;
22082 }
22083
22084
22085 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22086 PyObject *resultobj;
22087 int result;
22088 char *kwnames[] = {
22089 NULL
22090 };
22091
22092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22093 {
22094 PyThreadState* __tstate = wxPyBeginAllowThreads();
22095 result = (int)wxPrinter::GetLastError();
22096
22097 wxPyEndAllowThreads(__tstate);
22098 if (PyErr_Occurred()) SWIG_fail;
22099 }
22100 resultobj = SWIG_From_int((int)result);
22101 return resultobj;
22102 fail:
22103 return NULL;
22104 }
22105
22106
22107 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22108 PyObject *obj;
22109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22110 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22111 Py_INCREF(obj);
22112 return Py_BuildValue((char *)"");
22113 }
22114 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22115 PyObject *resultobj;
22116 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22117 wxString *arg1 = (wxString *) &arg1_defvalue ;
22118 wxPyPrintout *result;
22119 bool temp1 = False ;
22120 PyObject * obj0 = 0 ;
22121 char *kwnames[] = {
22122 (char *) "title", NULL
22123 };
22124
22125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22126 if (obj0) {
22127 {
22128 arg1 = wxString_in_helper(obj0);
22129 if (arg1 == NULL) SWIG_fail;
22130 temp1 = True;
22131 }
22132 }
22133 {
22134 if (!wxPyCheckForApp()) SWIG_fail;
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 {
22142 resultobj = wxPyMake_wxObject(result, 1);
22143 }
22144 {
22145 if (temp1)
22146 delete arg1;
22147 }
22148 return resultobj;
22149 fail:
22150 {
22151 if (temp1)
22152 delete arg1;
22153 }
22154 return NULL;
22155 }
22156
22157
22158 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22159 PyObject *resultobj;
22160 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22161 PyObject *arg2 = (PyObject *) 0 ;
22162 PyObject *arg3 = (PyObject *) 0 ;
22163 PyObject * obj0 = 0 ;
22164 PyObject * obj1 = 0 ;
22165 PyObject * obj2 = 0 ;
22166 char *kwnames[] = {
22167 (char *) "self",(char *) "self",(char *) "_class", NULL
22168 };
22169
22170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22173 arg2 = obj1;
22174 arg3 = obj2;
22175 {
22176 PyThreadState* __tstate = wxPyBeginAllowThreads();
22177 (arg1)->_setCallbackInfo(arg2,arg3);
22178
22179 wxPyEndAllowThreads(__tstate);
22180 if (PyErr_Occurred()) SWIG_fail;
22181 }
22182 Py_INCREF(Py_None); resultobj = Py_None;
22183 return resultobj;
22184 fail:
22185 return NULL;
22186 }
22187
22188
22189 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22190 PyObject *resultobj;
22191 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22192 wxString result;
22193 PyObject * obj0 = 0 ;
22194 char *kwnames[] = {
22195 (char *) "self", NULL
22196 };
22197
22198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22201 {
22202 PyThreadState* __tstate = wxPyBeginAllowThreads();
22203 result = ((wxPyPrintout const *)arg1)->GetTitle();
22204
22205 wxPyEndAllowThreads(__tstate);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 }
22208 {
22209 #if wxUSE_UNICODE
22210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22211 #else
22212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22213 #endif
22214 }
22215 return resultobj;
22216 fail:
22217 return NULL;
22218 }
22219
22220
22221 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22222 PyObject *resultobj;
22223 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22224 wxDC *result;
22225 PyObject * obj0 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "self", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22233 {
22234 PyThreadState* __tstate = wxPyBeginAllowThreads();
22235 result = (wxDC *)(arg1)->GetDC();
22236
22237 wxPyEndAllowThreads(__tstate);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 }
22240 {
22241 resultobj = wxPyMake_wxObject(result, 0);
22242 }
22243 return resultobj;
22244 fail:
22245 return NULL;
22246 }
22247
22248
22249 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22250 PyObject *resultobj;
22251 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22252 wxDC *arg2 = (wxDC *) 0 ;
22253 PyObject * obj0 = 0 ;
22254 PyObject * obj1 = 0 ;
22255 char *kwnames[] = {
22256 (char *) "self",(char *) "dc", NULL
22257 };
22258
22259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22264 {
22265 PyThreadState* __tstate = wxPyBeginAllowThreads();
22266 (arg1)->SetDC(arg2);
22267
22268 wxPyEndAllowThreads(__tstate);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 Py_INCREF(Py_None); resultobj = Py_None;
22272 return resultobj;
22273 fail:
22274 return NULL;
22275 }
22276
22277
22278 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22279 PyObject *resultobj;
22280 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22281 int arg2 ;
22282 int arg3 ;
22283 PyObject * obj0 = 0 ;
22284 PyObject * obj1 = 0 ;
22285 PyObject * obj2 = 0 ;
22286 char *kwnames[] = {
22287 (char *) "self",(char *) "w",(char *) "h", NULL
22288 };
22289
22290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22293 arg2 = (int)SWIG_As_int(obj1);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 arg3 = (int)SWIG_As_int(obj2);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 (arg1)->SetPageSizePixels(arg2,arg3);
22300
22301 wxPyEndAllowThreads(__tstate);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 }
22304 Py_INCREF(Py_None); resultobj = Py_None;
22305 return resultobj;
22306 fail:
22307 return NULL;
22308 }
22309
22310
22311 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj;
22313 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22314 int *arg2 = (int *) 0 ;
22315 int *arg3 = (int *) 0 ;
22316 int temp2 ;
22317 int res2 = 0 ;
22318 int temp3 ;
22319 int res3 = 0 ;
22320 PyObject * obj0 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self", NULL
22323 };
22324
22325 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22326 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22330 {
22331 PyThreadState* __tstate = wxPyBeginAllowThreads();
22332 (arg1)->GetPageSizePixels(arg2,arg3);
22333
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 Py_INCREF(Py_None); resultobj = Py_None;
22338 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22339 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22340 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22341 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22342 return resultobj;
22343 fail:
22344 return NULL;
22345 }
22346
22347
22348 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22349 PyObject *resultobj;
22350 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22351 int arg2 ;
22352 int arg3 ;
22353 PyObject * obj0 = 0 ;
22354 PyObject * obj1 = 0 ;
22355 PyObject * obj2 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self",(char *) "w",(char *) "h", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22363 arg2 = (int)SWIG_As_int(obj1);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 arg3 = (int)SWIG_As_int(obj2);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 (arg1)->SetPageSizeMM(arg2,arg3);
22370
22371 wxPyEndAllowThreads(__tstate);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 }
22374 Py_INCREF(Py_None); resultobj = Py_None;
22375 return resultobj;
22376 fail:
22377 return NULL;
22378 }
22379
22380
22381 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22382 PyObject *resultobj;
22383 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22384 int *arg2 = (int *) 0 ;
22385 int *arg3 = (int *) 0 ;
22386 int temp2 ;
22387 int res2 = 0 ;
22388 int temp3 ;
22389 int res3 = 0 ;
22390 PyObject * obj0 = 0 ;
22391 char *kwnames[] = {
22392 (char *) "self", NULL
22393 };
22394
22395 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22396 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22400 {
22401 PyThreadState* __tstate = wxPyBeginAllowThreads();
22402 (arg1)->GetPageSizeMM(arg2,arg3);
22403
22404 wxPyEndAllowThreads(__tstate);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 Py_INCREF(Py_None); resultobj = Py_None;
22408 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22409 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22410 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22411 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22412 return resultobj;
22413 fail:
22414 return NULL;
22415 }
22416
22417
22418 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22419 PyObject *resultobj;
22420 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22421 int arg2 ;
22422 int arg3 ;
22423 PyObject * obj0 = 0 ;
22424 PyObject * obj1 = 0 ;
22425 PyObject * obj2 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self",(char *) "x",(char *) "y", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22433 arg2 = (int)SWIG_As_int(obj1);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 arg3 = (int)SWIG_As_int(obj2);
22436 if (PyErr_Occurred()) SWIG_fail;
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 (arg1)->SetPPIScreen(arg2,arg3);
22440
22441 wxPyEndAllowThreads(__tstate);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 }
22444 Py_INCREF(Py_None); resultobj = Py_None;
22445 return resultobj;
22446 fail:
22447 return NULL;
22448 }
22449
22450
22451 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj;
22453 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22454 int *arg2 = (int *) 0 ;
22455 int *arg3 = (int *) 0 ;
22456 int temp2 ;
22457 int res2 = 0 ;
22458 int temp3 ;
22459 int res3 = 0 ;
22460 PyObject * obj0 = 0 ;
22461 char *kwnames[] = {
22462 (char *) "self", NULL
22463 };
22464
22465 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22466 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 (arg1)->GetPPIScreen(arg2,arg3);
22473
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
22477 Py_INCREF(Py_None); resultobj = Py_None;
22478 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22479 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22480 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22481 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22482 return resultobj;
22483 fail:
22484 return NULL;
22485 }
22486
22487
22488 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22489 PyObject *resultobj;
22490 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22491 int arg2 ;
22492 int arg3 ;
22493 PyObject * obj0 = 0 ;
22494 PyObject * obj1 = 0 ;
22495 PyObject * obj2 = 0 ;
22496 char *kwnames[] = {
22497 (char *) "self",(char *) "x",(char *) "y", NULL
22498 };
22499
22500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22503 arg2 = (int)SWIG_As_int(obj1);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 arg3 = (int)SWIG_As_int(obj2);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 (arg1)->SetPPIPrinter(arg2,arg3);
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 Py_INCREF(Py_None); resultobj = Py_None;
22515 return resultobj;
22516 fail:
22517 return NULL;
22518 }
22519
22520
22521 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22522 PyObject *resultobj;
22523 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22524 int *arg2 = (int *) 0 ;
22525 int *arg3 = (int *) 0 ;
22526 int temp2 ;
22527 int res2 = 0 ;
22528 int temp3 ;
22529 int res3 = 0 ;
22530 PyObject * obj0 = 0 ;
22531 char *kwnames[] = {
22532 (char *) "self", NULL
22533 };
22534
22535 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22536 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22540 {
22541 PyThreadState* __tstate = wxPyBeginAllowThreads();
22542 (arg1)->GetPPIPrinter(arg2,arg3);
22543
22544 wxPyEndAllowThreads(__tstate);
22545 if (PyErr_Occurred()) SWIG_fail;
22546 }
22547 Py_INCREF(Py_None); resultobj = Py_None;
22548 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22549 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22550 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22551 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22552 return resultobj;
22553 fail:
22554 return NULL;
22555 }
22556
22557
22558 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22559 PyObject *resultobj;
22560 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22561 bool result;
22562 PyObject * obj0 = 0 ;
22563 char *kwnames[] = {
22564 (char *) "self", NULL
22565 };
22566
22567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 result = (bool)(arg1)->IsPreview();
22573
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 {
22578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22579 }
22580 return resultobj;
22581 fail:
22582 return NULL;
22583 }
22584
22585
22586 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22587 PyObject *resultobj;
22588 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22589 bool arg2 ;
22590 PyObject * obj0 = 0 ;
22591 PyObject * obj1 = 0 ;
22592 char *kwnames[] = {
22593 (char *) "self",(char *) "p", NULL
22594 };
22595
22596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22599 arg2 = (bool)SWIG_As_bool(obj1);
22600 if (PyErr_Occurred()) SWIG_fail;
22601 {
22602 PyThreadState* __tstate = wxPyBeginAllowThreads();
22603 (arg1)->SetIsPreview(arg2);
22604
22605 wxPyEndAllowThreads(__tstate);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 }
22608 Py_INCREF(Py_None); resultobj = Py_None;
22609 return resultobj;
22610 fail:
22611 return NULL;
22612 }
22613
22614
22615 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22616 PyObject *resultobj;
22617 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22618 int arg2 ;
22619 int arg3 ;
22620 bool result;
22621 PyObject * obj0 = 0 ;
22622 PyObject * obj1 = 0 ;
22623 PyObject * obj2 = 0 ;
22624 char *kwnames[] = {
22625 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22626 };
22627
22628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22631 arg2 = (int)SWIG_As_int(obj1);
22632 if (PyErr_Occurred()) SWIG_fail;
22633 arg3 = (int)SWIG_As_int(obj2);
22634 if (PyErr_Occurred()) SWIG_fail;
22635 {
22636 PyThreadState* __tstate = wxPyBeginAllowThreads();
22637 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22638
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 {
22643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22644 }
22645 return resultobj;
22646 fail:
22647 return NULL;
22648 }
22649
22650
22651 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22652 PyObject *resultobj;
22653 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22654 PyObject * obj0 = 0 ;
22655 char *kwnames[] = {
22656 (char *) "self", NULL
22657 };
22658
22659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22662 {
22663 PyThreadState* __tstate = wxPyBeginAllowThreads();
22664 (arg1)->base_OnEndDocument();
22665
22666 wxPyEndAllowThreads(__tstate);
22667 if (PyErr_Occurred()) SWIG_fail;
22668 }
22669 Py_INCREF(Py_None); resultobj = Py_None;
22670 return resultobj;
22671 fail:
22672 return NULL;
22673 }
22674
22675
22676 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22677 PyObject *resultobj;
22678 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22679 PyObject * obj0 = 0 ;
22680 char *kwnames[] = {
22681 (char *) "self", NULL
22682 };
22683
22684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 (arg1)->base_OnBeginPrinting();
22690
22691 wxPyEndAllowThreads(__tstate);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 }
22694 Py_INCREF(Py_None); resultobj = Py_None;
22695 return resultobj;
22696 fail:
22697 return NULL;
22698 }
22699
22700
22701 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22702 PyObject *resultobj;
22703 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22704 PyObject * obj0 = 0 ;
22705 char *kwnames[] = {
22706 (char *) "self", NULL
22707 };
22708
22709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 (arg1)->base_OnEndPrinting();
22715
22716 wxPyEndAllowThreads(__tstate);
22717 if (PyErr_Occurred()) SWIG_fail;
22718 }
22719 Py_INCREF(Py_None); resultobj = Py_None;
22720 return resultobj;
22721 fail:
22722 return NULL;
22723 }
22724
22725
22726 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22727 PyObject *resultobj;
22728 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22729 PyObject * obj0 = 0 ;
22730 char *kwnames[] = {
22731 (char *) "self", NULL
22732 };
22733
22734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 (arg1)->base_OnPreparePrinting();
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 Py_INCREF(Py_None); resultobj = Py_None;
22745 return resultobj;
22746 fail:
22747 return NULL;
22748 }
22749
22750
22751 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
22752 PyObject *resultobj;
22753 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22754 int arg2 ;
22755 bool result;
22756 PyObject * obj0 = 0 ;
22757 PyObject * obj1 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "self",(char *) "page", NULL
22760 };
22761
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22765 arg2 = (int)SWIG_As_int(obj1);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 result = (bool)(arg1)->base_HasPage(arg2);
22770
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 {
22775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22776 }
22777 return resultobj;
22778 fail:
22779 return NULL;
22780 }
22781
22782
22783 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj;
22785 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22786 int *arg2 = (int *) 0 ;
22787 int *arg3 = (int *) 0 ;
22788 int *arg4 = (int *) 0 ;
22789 int *arg5 = (int *) 0 ;
22790 int temp2 ;
22791 int res2 = 0 ;
22792 int temp3 ;
22793 int res3 = 0 ;
22794 int temp4 ;
22795 int res4 = 0 ;
22796 int temp5 ;
22797 int res5 = 0 ;
22798 PyObject * obj0 = 0 ;
22799 char *kwnames[] = {
22800 (char *) "self", NULL
22801 };
22802
22803 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22804 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22805 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22806 arg5 = &temp5; res5 = SWIG_NEWOBJ;
22807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22810 {
22811 PyThreadState* __tstate = wxPyBeginAllowThreads();
22812 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22813
22814 wxPyEndAllowThreads(__tstate);
22815 if (PyErr_Occurred()) SWIG_fail;
22816 }
22817 Py_INCREF(Py_None); resultobj = Py_None;
22818 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22819 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22820 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22821 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22822 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22823 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22824 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22825 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
22826 return resultobj;
22827 fail:
22828 return NULL;
22829 }
22830
22831
22832 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
22833 PyObject *obj;
22834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22835 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22836 Py_INCREF(obj);
22837 return Py_BuildValue((char *)"");
22838 }
22839 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22840 PyObject *resultobj;
22841 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22842 wxWindow *arg2 = (wxWindow *) 0 ;
22843 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22844 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22845 wxSize const &arg4_defvalue = wxDefaultSize ;
22846 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22847 long arg5 = (long) 0 ;
22848 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22849 wxString *arg6 = (wxString *) &arg6_defvalue ;
22850 wxPreviewCanvas *result;
22851 wxPoint temp3 ;
22852 wxSize temp4 ;
22853 bool temp6 = False ;
22854 PyObject * obj0 = 0 ;
22855 PyObject * obj1 = 0 ;
22856 PyObject * obj2 = 0 ;
22857 PyObject * obj3 = 0 ;
22858 PyObject * obj4 = 0 ;
22859 PyObject * obj5 = 0 ;
22860 char *kwnames[] = {
22861 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22862 };
22863
22864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22869 if (obj2) {
22870 {
22871 arg3 = &temp3;
22872 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22873 }
22874 }
22875 if (obj3) {
22876 {
22877 arg4 = &temp4;
22878 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22879 }
22880 }
22881 if (obj4) {
22882 arg5 = (long)SWIG_As_long(obj4);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 }
22885 if (obj5) {
22886 {
22887 arg6 = wxString_in_helper(obj5);
22888 if (arg6 == NULL) SWIG_fail;
22889 temp6 = True;
22890 }
22891 }
22892 {
22893 if (!wxPyCheckForApp()) SWIG_fail;
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22901 {
22902 if (temp6)
22903 delete arg6;
22904 }
22905 return resultobj;
22906 fail:
22907 {
22908 if (temp6)
22909 delete arg6;
22910 }
22911 return NULL;
22912 }
22913
22914
22915 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
22916 PyObject *obj;
22917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22918 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22919 Py_INCREF(obj);
22920 return Py_BuildValue((char *)"");
22921 }
22922 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22925 wxFrame *arg2 = (wxFrame *) 0 ;
22926 wxString *arg3 = 0 ;
22927 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22928 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22929 wxSize const &arg5_defvalue = wxDefaultSize ;
22930 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22931 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22932 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22933 wxString *arg7 = (wxString *) &arg7_defvalue ;
22934 wxPreviewFrame *result;
22935 bool temp3 = False ;
22936 wxPoint temp4 ;
22937 wxSize temp5 ;
22938 bool temp7 = False ;
22939 PyObject * obj0 = 0 ;
22940 PyObject * obj1 = 0 ;
22941 PyObject * obj2 = 0 ;
22942 PyObject * obj3 = 0 ;
22943 PyObject * obj4 = 0 ;
22944 PyObject * obj5 = 0 ;
22945 PyObject * obj6 = 0 ;
22946 char *kwnames[] = {
22947 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22948 };
22949
22950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22955 {
22956 arg3 = wxString_in_helper(obj2);
22957 if (arg3 == NULL) SWIG_fail;
22958 temp3 = True;
22959 }
22960 if (obj3) {
22961 {
22962 arg4 = &temp4;
22963 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22964 }
22965 }
22966 if (obj4) {
22967 {
22968 arg5 = &temp5;
22969 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22970 }
22971 }
22972 if (obj5) {
22973 arg6 = (long)SWIG_As_long(obj5);
22974 if (PyErr_Occurred()) SWIG_fail;
22975 }
22976 if (obj6) {
22977 {
22978 arg7 = wxString_in_helper(obj6);
22979 if (arg7 == NULL) SWIG_fail;
22980 temp7 = True;
22981 }
22982 }
22983 {
22984 if (!wxPyCheckForApp()) SWIG_fail;
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22987
22988 wxPyEndAllowThreads(__tstate);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22992 {
22993 if (temp3)
22994 delete arg3;
22995 }
22996 {
22997 if (temp7)
22998 delete arg7;
22999 }
23000 return resultobj;
23001 fail:
23002 {
23003 if (temp3)
23004 delete arg3;
23005 }
23006 {
23007 if (temp7)
23008 delete arg7;
23009 }
23010 return NULL;
23011 }
23012
23013
23014 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23015 PyObject *resultobj;
23016 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23017 PyObject * obj0 = 0 ;
23018 char *kwnames[] = {
23019 (char *) "self", NULL
23020 };
23021
23022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23025 {
23026 PyThreadState* __tstate = wxPyBeginAllowThreads();
23027 (arg1)->Initialize();
23028
23029 wxPyEndAllowThreads(__tstate);
23030 if (PyErr_Occurred()) SWIG_fail;
23031 }
23032 Py_INCREF(Py_None); resultobj = Py_None;
23033 return resultobj;
23034 fail:
23035 return NULL;
23036 }
23037
23038
23039 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23040 PyObject *resultobj;
23041 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23042 PyObject * obj0 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23050 {
23051 PyThreadState* __tstate = wxPyBeginAllowThreads();
23052 (arg1)->CreateControlBar();
23053
23054 wxPyEndAllowThreads(__tstate);
23055 if (PyErr_Occurred()) SWIG_fail;
23056 }
23057 Py_INCREF(Py_None); resultobj = Py_None;
23058 return resultobj;
23059 fail:
23060 return NULL;
23061 }
23062
23063
23064 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23065 PyObject *resultobj;
23066 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23067 PyObject * obj0 = 0 ;
23068 char *kwnames[] = {
23069 (char *) "self", NULL
23070 };
23071
23072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 (arg1)->CreateCanvas();
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 Py_INCREF(Py_None); resultobj = Py_None;
23083 return resultobj;
23084 fail:
23085 return NULL;
23086 }
23087
23088
23089 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23090 PyObject *resultobj;
23091 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23092 wxPreviewControlBar *result;
23093 PyObject * obj0 = 0 ;
23094 char *kwnames[] = {
23095 (char *) "self", NULL
23096 };
23097
23098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23101 {
23102 PyThreadState* __tstate = wxPyBeginAllowThreads();
23103 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23104
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23109 return resultobj;
23110 fail:
23111 return NULL;
23112 }
23113
23114
23115 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23116 PyObject *obj;
23117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23118 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23119 Py_INCREF(obj);
23120 return Py_BuildValue((char *)"");
23121 }
23122 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23123 PyObject *resultobj;
23124 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23125 long arg2 ;
23126 wxWindow *arg3 = (wxWindow *) 0 ;
23127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23129 wxSize const &arg5_defvalue = wxDefaultSize ;
23130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23131 long arg6 = (long) wxTAB_TRAVERSAL ;
23132 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23133 wxString *arg7 = (wxString *) &arg7_defvalue ;
23134 wxPreviewControlBar *result;
23135 wxPoint temp4 ;
23136 wxSize temp5 ;
23137 bool temp7 = False ;
23138 PyObject * obj0 = 0 ;
23139 PyObject * obj1 = 0 ;
23140 PyObject * obj2 = 0 ;
23141 PyObject * obj3 = 0 ;
23142 PyObject * obj4 = 0 ;
23143 PyObject * obj5 = 0 ;
23144 PyObject * obj6 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23152 arg2 = (long)SWIG_As_long(obj1);
23153 if (PyErr_Occurred()) SWIG_fail;
23154 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23156 if (obj3) {
23157 {
23158 arg4 = &temp4;
23159 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23160 }
23161 }
23162 if (obj4) {
23163 {
23164 arg5 = &temp5;
23165 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23166 }
23167 }
23168 if (obj5) {
23169 arg6 = (long)SWIG_As_long(obj5);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 }
23172 if (obj6) {
23173 {
23174 arg7 = wxString_in_helper(obj6);
23175 if (arg7 == NULL) SWIG_fail;
23176 temp7 = True;
23177 }
23178 }
23179 {
23180 if (!wxPyCheckForApp()) SWIG_fail;
23181 PyThreadState* __tstate = wxPyBeginAllowThreads();
23182 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23183
23184 wxPyEndAllowThreads(__tstate);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 }
23187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23188 {
23189 if (temp7)
23190 delete arg7;
23191 }
23192 return resultobj;
23193 fail:
23194 {
23195 if (temp7)
23196 delete arg7;
23197 }
23198 return NULL;
23199 }
23200
23201
23202 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23203 PyObject *resultobj;
23204 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23205 int result;
23206 PyObject * obj0 = 0 ;
23207 char *kwnames[] = {
23208 (char *) "self", NULL
23209 };
23210
23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 result = (int)(arg1)->GetZoomControl();
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 resultobj = SWIG_From_int((int)result);
23222 return resultobj;
23223 fail:
23224 return NULL;
23225 }
23226
23227
23228 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23229 PyObject *resultobj;
23230 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23231 int arg2 ;
23232 PyObject * obj0 = 0 ;
23233 PyObject * obj1 = 0 ;
23234 char *kwnames[] = {
23235 (char *) "self",(char *) "zoom", NULL
23236 };
23237
23238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23241 arg2 = (int)SWIG_As_int(obj1);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 {
23244 PyThreadState* __tstate = wxPyBeginAllowThreads();
23245 (arg1)->SetZoomControl(arg2);
23246
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 Py_INCREF(Py_None); resultobj = Py_None;
23251 return resultobj;
23252 fail:
23253 return NULL;
23254 }
23255
23256
23257 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23258 PyObject *resultobj;
23259 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23260 wxPrintPreview *result;
23261 PyObject * obj0 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23269 {
23270 PyThreadState* __tstate = wxPyBeginAllowThreads();
23271 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23272
23273 wxPyEndAllowThreads(__tstate);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23277 return resultobj;
23278 fail:
23279 return NULL;
23280 }
23281
23282
23283 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23284 PyObject *resultobj;
23285 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23286 PyObject * obj0 = 0 ;
23287 char *kwnames[] = {
23288 (char *) "self", NULL
23289 };
23290
23291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 (arg1)->OnNext();
23297
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 Py_INCREF(Py_None); resultobj = Py_None;
23302 return resultobj;
23303 fail:
23304 return NULL;
23305 }
23306
23307
23308 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23309 PyObject *resultobj;
23310 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23311 PyObject * obj0 = 0 ;
23312 char *kwnames[] = {
23313 (char *) "self", NULL
23314 };
23315
23316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23319 {
23320 PyThreadState* __tstate = wxPyBeginAllowThreads();
23321 (arg1)->OnPrevious();
23322
23323 wxPyEndAllowThreads(__tstate);
23324 if (PyErr_Occurred()) SWIG_fail;
23325 }
23326 Py_INCREF(Py_None); resultobj = Py_None;
23327 return resultobj;
23328 fail:
23329 return NULL;
23330 }
23331
23332
23333 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23334 PyObject *resultobj;
23335 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23336 PyObject * obj0 = 0 ;
23337 char *kwnames[] = {
23338 (char *) "self", NULL
23339 };
23340
23341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 (arg1)->OnFirst();
23347
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 Py_INCREF(Py_None); resultobj = Py_None;
23352 return resultobj;
23353 fail:
23354 return NULL;
23355 }
23356
23357
23358 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23359 PyObject *resultobj;
23360 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23361 PyObject * obj0 = 0 ;
23362 char *kwnames[] = {
23363 (char *) "self", NULL
23364 };
23365
23366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 (arg1)->OnLast();
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 Py_INCREF(Py_None); resultobj = Py_None;
23377 return resultobj;
23378 fail:
23379 return NULL;
23380 }
23381
23382
23383 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj;
23385 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23386 PyObject * obj0 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 (arg1)->OnGoto();
23397
23398 wxPyEndAllowThreads(__tstate);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 }
23401 Py_INCREF(Py_None); resultobj = Py_None;
23402 return resultobj;
23403 fail:
23404 return NULL;
23405 }
23406
23407
23408 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23409 PyObject *obj;
23410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23411 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23412 Py_INCREF(obj);
23413 return Py_BuildValue((char *)"");
23414 }
23415 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23416 PyObject *resultobj;
23417 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23418 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23419 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23420 wxPrintPreview *result;
23421 PyObject * obj0 = 0 ;
23422 PyObject * obj1 = 0 ;
23423 PyObject * obj2 = 0 ;
23424
23425 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23430 if (obj2) {
23431 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23433 }
23434 {
23435 if (!wxPyCheckForApp()) SWIG_fail;
23436 PyThreadState* __tstate = wxPyBeginAllowThreads();
23437 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23443 return resultobj;
23444 fail:
23445 return NULL;
23446 }
23447
23448
23449 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23450 PyObject *resultobj;
23451 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23452 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23453 wxPrintData *arg3 = (wxPrintData *) 0 ;
23454 wxPrintPreview *result;
23455 PyObject * obj0 = 0 ;
23456 PyObject * obj1 = 0 ;
23457 PyObject * obj2 = 0 ;
23458
23459 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23464 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23466 {
23467 if (!wxPyCheckForApp()) SWIG_fail;
23468 PyThreadState* __tstate = wxPyBeginAllowThreads();
23469 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23470
23471 wxPyEndAllowThreads(__tstate);
23472 if (PyErr_Occurred()) SWIG_fail;
23473 }
23474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23475 return resultobj;
23476 fail:
23477 return NULL;
23478 }
23479
23480
23481 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23482 int argc;
23483 PyObject *argv[4];
23484 int ii;
23485
23486 argc = PyObject_Length(args);
23487 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23488 argv[ii] = PyTuple_GetItem(args,ii);
23489 }
23490 if ((argc >= 2) && (argc <= 3)) {
23491 int _v;
23492 {
23493 void *ptr;
23494 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23495 _v = 0;
23496 PyErr_Clear();
23497 } else {
23498 _v = 1;
23499 }
23500 }
23501 if (_v) {
23502 {
23503 void *ptr;
23504 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23505 _v = 0;
23506 PyErr_Clear();
23507 } else {
23508 _v = 1;
23509 }
23510 }
23511 if (_v) {
23512 if (argc <= 2) {
23513 return _wrap_new_PrintPreview__SWIG_0(self,args);
23514 }
23515 {
23516 void *ptr;
23517 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23518 _v = 0;
23519 PyErr_Clear();
23520 } else {
23521 _v = 1;
23522 }
23523 }
23524 if (_v) {
23525 return _wrap_new_PrintPreview__SWIG_0(self,args);
23526 }
23527 }
23528 }
23529 }
23530 if (argc == 3) {
23531 int _v;
23532 {
23533 void *ptr;
23534 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23535 _v = 0;
23536 PyErr_Clear();
23537 } else {
23538 _v = 1;
23539 }
23540 }
23541 if (_v) {
23542 {
23543 void *ptr;
23544 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23545 _v = 0;
23546 PyErr_Clear();
23547 } else {
23548 _v = 1;
23549 }
23550 }
23551 if (_v) {
23552 {
23553 void *ptr;
23554 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23555 _v = 0;
23556 PyErr_Clear();
23557 } else {
23558 _v = 1;
23559 }
23560 }
23561 if (_v) {
23562 return _wrap_new_PrintPreview__SWIG_1(self,args);
23563 }
23564 }
23565 }
23566 }
23567
23568 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23569 return NULL;
23570 }
23571
23572
23573 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj;
23575 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23576 int arg2 ;
23577 bool result;
23578 PyObject * obj0 = 0 ;
23579 PyObject * obj1 = 0 ;
23580 char *kwnames[] = {
23581 (char *) "self",(char *) "pageNum", NULL
23582 };
23583
23584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23587 arg2 = (int)SWIG_As_int(obj1);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 {
23590 PyThreadState* __tstate = wxPyBeginAllowThreads();
23591 result = (bool)(arg1)->SetCurrentPage(arg2);
23592
23593 wxPyEndAllowThreads(__tstate);
23594 if (PyErr_Occurred()) SWIG_fail;
23595 }
23596 {
23597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23598 }
23599 return resultobj;
23600 fail:
23601 return NULL;
23602 }
23603
23604
23605 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23606 PyObject *resultobj;
23607 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23608 int result;
23609 PyObject * obj0 = 0 ;
23610 char *kwnames[] = {
23611 (char *) "self", NULL
23612 };
23613
23614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23617 {
23618 PyThreadState* __tstate = wxPyBeginAllowThreads();
23619 result = (int)(arg1)->GetCurrentPage();
23620
23621 wxPyEndAllowThreads(__tstate);
23622 if (PyErr_Occurred()) SWIG_fail;
23623 }
23624 resultobj = SWIG_From_int((int)result);
23625 return resultobj;
23626 fail:
23627 return NULL;
23628 }
23629
23630
23631 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23632 PyObject *resultobj;
23633 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23634 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23635 PyObject * obj0 = 0 ;
23636 PyObject * obj1 = 0 ;
23637 char *kwnames[] = {
23638 (char *) "self",(char *) "printout", NULL
23639 };
23640
23641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23646 {
23647 PyThreadState* __tstate = wxPyBeginAllowThreads();
23648 (arg1)->SetPrintout(arg2);
23649
23650 wxPyEndAllowThreads(__tstate);
23651 if (PyErr_Occurred()) SWIG_fail;
23652 }
23653 Py_INCREF(Py_None); resultobj = Py_None;
23654 return resultobj;
23655 fail:
23656 return NULL;
23657 }
23658
23659
23660 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23661 PyObject *resultobj;
23662 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23663 wxPyPrintout *result;
23664 PyObject * obj0 = 0 ;
23665 char *kwnames[] = {
23666 (char *) "self", NULL
23667 };
23668
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23672 {
23673 PyThreadState* __tstate = wxPyBeginAllowThreads();
23674 result = (wxPyPrintout *)(arg1)->GetPrintout();
23675
23676 wxPyEndAllowThreads(__tstate);
23677 if (PyErr_Occurred()) SWIG_fail;
23678 }
23679 {
23680 resultobj = wxPyMake_wxObject(result, 0);
23681 }
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23691 wxPyPrintout *result;
23692 PyObject * obj0 = 0 ;
23693 char *kwnames[] = {
23694 (char *) "self", NULL
23695 };
23696
23697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23700 {
23701 PyThreadState* __tstate = wxPyBeginAllowThreads();
23702 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23703
23704 wxPyEndAllowThreads(__tstate);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 {
23708 resultobj = wxPyMake_wxObject(result, 0);
23709 }
23710 return resultobj;
23711 fail:
23712 return NULL;
23713 }
23714
23715
23716 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23719 wxFrame *arg2 = (wxFrame *) 0 ;
23720 PyObject * obj0 = 0 ;
23721 PyObject * obj1 = 0 ;
23722 char *kwnames[] = {
23723 (char *) "self",(char *) "frame", NULL
23724 };
23725
23726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",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_wxFrame,
23730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 (arg1)->SetFrame(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_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23746 PyObject *resultobj;
23747 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23748 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23749 PyObject * obj0 = 0 ;
23750 PyObject * obj1 = 0 ;
23751 char *kwnames[] = {
23752 (char *) "self",(char *) "canvas", NULL
23753 };
23754
23755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23760 {
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 (arg1)->SetCanvas(arg2);
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 Py_INCREF(Py_None); resultobj = Py_None;
23768 return resultobj;
23769 fail:
23770 return NULL;
23771 }
23772
23773
23774 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23775 PyObject *resultobj;
23776 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23777 wxFrame *result;
23778 PyObject * obj0 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 result = (wxFrame *)(arg1)->GetFrame();
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 {
23794 resultobj = wxPyMake_wxObject(result, 0);
23795 }
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23803 PyObject *resultobj;
23804 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23805 wxPreviewCanvas *result;
23806 PyObject * obj0 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23822 return resultobj;
23823 fail:
23824 return NULL;
23825 }
23826
23827
23828 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23831 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23832 wxDC *arg3 = 0 ;
23833 bool result;
23834 PyObject * obj0 = 0 ;
23835 PyObject * obj1 = 0 ;
23836 PyObject * obj2 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23846 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23847 SWIG_POINTER_EXCEPTION | 0)) == -1)
23848 SWIG_fail;
23849 if (arg3 == NULL) {
23850 PyErr_SetString(PyExc_TypeError,"null reference");
23851 SWIG_fail;
23852 }
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23856
23857 wxPyEndAllowThreads(__tstate);
23858 if (PyErr_Occurred()) SWIG_fail;
23859 }
23860 {
23861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23862 }
23863 return resultobj;
23864 fail:
23865 return NULL;
23866 }
23867
23868
23869 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23870 PyObject *resultobj;
23871 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23872 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23873 wxDC *arg3 = 0 ;
23874 bool result;
23875 PyObject * obj0 = 0 ;
23876 PyObject * obj1 = 0 ;
23877 PyObject * obj2 = 0 ;
23878 char *kwnames[] = {
23879 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23880 };
23881
23882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23887 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23888 SWIG_POINTER_EXCEPTION | 0)) == -1)
23889 SWIG_fail;
23890 if (arg3 == NULL) {
23891 PyErr_SetString(PyExc_TypeError,"null reference");
23892 SWIG_fail;
23893 }
23894 {
23895 PyThreadState* __tstate = wxPyBeginAllowThreads();
23896 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23897
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 {
23902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23903 }
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23911 PyObject *resultobj;
23912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23913 int arg2 ;
23914 bool result;
23915 PyObject * obj0 = 0 ;
23916 PyObject * obj1 = 0 ;
23917 char *kwnames[] = {
23918 (char *) "self",(char *) "pageNum", NULL
23919 };
23920
23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23924 arg2 = (int)SWIG_As_int(obj1);
23925 if (PyErr_Occurred()) SWIG_fail;
23926 {
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 result = (bool)(arg1)->RenderPage(arg2);
23929
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 {
23934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23935 }
23936 return resultobj;
23937 fail:
23938 return NULL;
23939 }
23940
23941
23942 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
23943 PyObject *resultobj;
23944 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23945 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23946 PyObject * obj0 = 0 ;
23947 PyObject * obj1 = 0 ;
23948 char *kwnames[] = {
23949 (char *) "self",(char *) "canvas", NULL
23950 };
23951
23952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23957 {
23958 PyThreadState* __tstate = wxPyBeginAllowThreads();
23959 (arg1)->AdjustScrollbars(arg2);
23960
23961 wxPyEndAllowThreads(__tstate);
23962 if (PyErr_Occurred()) SWIG_fail;
23963 }
23964 Py_INCREF(Py_None); resultobj = Py_None;
23965 return resultobj;
23966 fail:
23967 return NULL;
23968 }
23969
23970
23971 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj;
23973 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23974 wxPrintDialogData *result;
23975 PyObject * obj0 = 0 ;
23976 char *kwnames[] = {
23977 (char *) "self", NULL
23978 };
23979
23980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 {
23986 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23987 result = (wxPrintDialogData *) &_result_ref;
23988 }
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23994 return resultobj;
23995 fail:
23996 return NULL;
23997 }
23998
23999
24000 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24001 PyObject *resultobj;
24002 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24003 int arg2 ;
24004 PyObject * obj0 = 0 ;
24005 PyObject * obj1 = 0 ;
24006 char *kwnames[] = {
24007 (char *) "self",(char *) "percent", NULL
24008 };
24009
24010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24013 arg2 = (int)SWIG_As_int(obj1);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 {
24016 PyThreadState* __tstate = wxPyBeginAllowThreads();
24017 (arg1)->SetZoom(arg2);
24018
24019 wxPyEndAllowThreads(__tstate);
24020 if (PyErr_Occurred()) SWIG_fail;
24021 }
24022 Py_INCREF(Py_None); resultobj = Py_None;
24023 return resultobj;
24024 fail:
24025 return NULL;
24026 }
24027
24028
24029 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24030 PyObject *resultobj;
24031 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24032 int result;
24033 PyObject * obj0 = 0 ;
24034 char *kwnames[] = {
24035 (char *) "self", NULL
24036 };
24037
24038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24041 {
24042 PyThreadState* __tstate = wxPyBeginAllowThreads();
24043 result = (int)(arg1)->GetZoom();
24044
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
24048 resultobj = SWIG_From_int((int)result);
24049 return resultobj;
24050 fail:
24051 return NULL;
24052 }
24053
24054
24055 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24056 PyObject *resultobj;
24057 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24058 int result;
24059 PyObject * obj0 = 0 ;
24060 char *kwnames[] = {
24061 (char *) "self", NULL
24062 };
24063
24064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24067 {
24068 PyThreadState* __tstate = wxPyBeginAllowThreads();
24069 result = (int)(arg1)->GetMaxPage();
24070
24071 wxPyEndAllowThreads(__tstate);
24072 if (PyErr_Occurred()) SWIG_fail;
24073 }
24074 resultobj = SWIG_From_int((int)result);
24075 return resultobj;
24076 fail:
24077 return NULL;
24078 }
24079
24080
24081 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24082 PyObject *resultobj;
24083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24084 int result;
24085 PyObject * obj0 = 0 ;
24086 char *kwnames[] = {
24087 (char *) "self", NULL
24088 };
24089
24090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 result = (int)(arg1)->GetMinPage();
24096
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 resultobj = SWIG_From_int((int)result);
24101 return resultobj;
24102 fail:
24103 return NULL;
24104 }
24105
24106
24107 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj;
24109 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24110 bool result;
24111 PyObject * obj0 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 result = (bool)(arg1)->Ok();
24122
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 {
24127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24128 }
24129 return resultobj;
24130 fail:
24131 return NULL;
24132 }
24133
24134
24135 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24136 PyObject *resultobj;
24137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24138 bool arg2 ;
24139 PyObject * obj0 = 0 ;
24140 PyObject * obj1 = 0 ;
24141 char *kwnames[] = {
24142 (char *) "self",(char *) "ok", NULL
24143 };
24144
24145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24148 arg2 = (bool)SWIG_As_bool(obj1);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 {
24151 PyThreadState* __tstate = wxPyBeginAllowThreads();
24152 (arg1)->SetOk(arg2);
24153
24154 wxPyEndAllowThreads(__tstate);
24155 if (PyErr_Occurred()) SWIG_fail;
24156 }
24157 Py_INCREF(Py_None); resultobj = Py_None;
24158 return resultobj;
24159 fail:
24160 return NULL;
24161 }
24162
24163
24164 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24165 PyObject *resultobj;
24166 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24167 bool arg2 ;
24168 bool result;
24169 PyObject * obj0 = 0 ;
24170 PyObject * obj1 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "self",(char *) "interactive", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24178 arg2 = (bool)SWIG_As_bool(obj1);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 {
24181 PyThreadState* __tstate = wxPyBeginAllowThreads();
24182 result = (bool)(arg1)->Print(arg2);
24183
24184 wxPyEndAllowThreads(__tstate);
24185 if (PyErr_Occurred()) SWIG_fail;
24186 }
24187 {
24188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24189 }
24190 return resultobj;
24191 fail:
24192 return NULL;
24193 }
24194
24195
24196 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24197 PyObject *resultobj;
24198 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24199 PyObject * obj0 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 (arg1)->DetermineScaling();
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 Py_INCREF(Py_None); resultobj = Py_None;
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24222 PyObject *obj;
24223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24224 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24225 Py_INCREF(obj);
24226 return Py_BuildValue((char *)"");
24227 }
24228 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24229 PyObject *resultobj;
24230 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24231 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24232 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24233 wxPyPrintPreview *result;
24234 PyObject * obj0 = 0 ;
24235 PyObject * obj1 = 0 ;
24236 PyObject * obj2 = 0 ;
24237
24238 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24243 if (obj2) {
24244 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24246 }
24247 {
24248 if (!wxPyCheckForApp()) SWIG_fail;
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24256 return resultobj;
24257 fail:
24258 return NULL;
24259 }
24260
24261
24262 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24263 PyObject *resultobj;
24264 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24265 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24266 wxPrintData *arg3 = (wxPrintData *) 0 ;
24267 wxPyPrintPreview *result;
24268 PyObject * obj0 = 0 ;
24269 PyObject * obj1 = 0 ;
24270 PyObject * obj2 = 0 ;
24271
24272 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24277 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24279 {
24280 if (!wxPyCheckForApp()) SWIG_fail;
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
24287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24288 return resultobj;
24289 fail:
24290 return NULL;
24291 }
24292
24293
24294 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24295 int argc;
24296 PyObject *argv[4];
24297 int ii;
24298
24299 argc = PyObject_Length(args);
24300 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24301 argv[ii] = PyTuple_GetItem(args,ii);
24302 }
24303 if ((argc >= 2) && (argc <= 3)) {
24304 int _v;
24305 {
24306 void *ptr;
24307 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24308 _v = 0;
24309 PyErr_Clear();
24310 } else {
24311 _v = 1;
24312 }
24313 }
24314 if (_v) {
24315 {
24316 void *ptr;
24317 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24318 _v = 0;
24319 PyErr_Clear();
24320 } else {
24321 _v = 1;
24322 }
24323 }
24324 if (_v) {
24325 if (argc <= 2) {
24326 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24327 }
24328 {
24329 void *ptr;
24330 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24331 _v = 0;
24332 PyErr_Clear();
24333 } else {
24334 _v = 1;
24335 }
24336 }
24337 if (_v) {
24338 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24339 }
24340 }
24341 }
24342 }
24343 if (argc == 3) {
24344 int _v;
24345 {
24346 void *ptr;
24347 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24348 _v = 0;
24349 PyErr_Clear();
24350 } else {
24351 _v = 1;
24352 }
24353 }
24354 if (_v) {
24355 {
24356 void *ptr;
24357 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24358 _v = 0;
24359 PyErr_Clear();
24360 } else {
24361 _v = 1;
24362 }
24363 }
24364 if (_v) {
24365 {
24366 void *ptr;
24367 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24368 _v = 0;
24369 PyErr_Clear();
24370 } else {
24371 _v = 1;
24372 }
24373 }
24374 if (_v) {
24375 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24376 }
24377 }
24378 }
24379 }
24380
24381 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24382 return NULL;
24383 }
24384
24385
24386 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj;
24388 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24389 PyObject *arg2 = (PyObject *) 0 ;
24390 PyObject *arg3 = (PyObject *) 0 ;
24391 PyObject * obj0 = 0 ;
24392 PyObject * obj1 = 0 ;
24393 PyObject * obj2 = 0 ;
24394 char *kwnames[] = {
24395 (char *) "self",(char *) "self",(char *) "_class", NULL
24396 };
24397
24398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24401 arg2 = obj1;
24402 arg3 = obj2;
24403 {
24404 PyThreadState* __tstate = wxPyBeginAllowThreads();
24405 (arg1)->_setCallbackInfo(arg2,arg3);
24406
24407 wxPyEndAllowThreads(__tstate);
24408 if (PyErr_Occurred()) SWIG_fail;
24409 }
24410 Py_INCREF(Py_None); resultobj = Py_None;
24411 return resultobj;
24412 fail:
24413 return NULL;
24414 }
24415
24416
24417 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24418 PyObject *resultobj;
24419 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24420 int arg2 ;
24421 bool result;
24422 PyObject * obj0 = 0 ;
24423 PyObject * obj1 = 0 ;
24424 char *kwnames[] = {
24425 (char *) "self",(char *) "pageNum", NULL
24426 };
24427
24428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24431 arg2 = (int)SWIG_As_int(obj1);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 {
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24436
24437 wxPyEndAllowThreads(__tstate);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 }
24440 {
24441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24442 }
24443 return resultobj;
24444 fail:
24445 return NULL;
24446 }
24447
24448
24449 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24450 PyObject *resultobj;
24451 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24452 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24453 wxDC *arg3 = 0 ;
24454 bool result;
24455 PyObject * obj0 = 0 ;
24456 PyObject * obj1 = 0 ;
24457 PyObject * obj2 = 0 ;
24458 char *kwnames[] = {
24459 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24460 };
24461
24462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24467 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24468 SWIG_POINTER_EXCEPTION | 0)) == -1)
24469 SWIG_fail;
24470 if (arg3 == NULL) {
24471 PyErr_SetString(PyExc_TypeError,"null reference");
24472 SWIG_fail;
24473 }
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 {
24482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24483 }
24484 return resultobj;
24485 fail:
24486 return NULL;
24487 }
24488
24489
24490 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24491 PyObject *resultobj;
24492 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24493 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24494 wxDC *arg3 = 0 ;
24495 bool result;
24496 PyObject * obj0 = 0 ;
24497 PyObject * obj1 = 0 ;
24498 PyObject * obj2 = 0 ;
24499 char *kwnames[] = {
24500 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24501 };
24502
24503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24508 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24509 SWIG_POINTER_EXCEPTION | 0)) == -1)
24510 SWIG_fail;
24511 if (arg3 == NULL) {
24512 PyErr_SetString(PyExc_TypeError,"null reference");
24513 SWIG_fail;
24514 }
24515 {
24516 PyThreadState* __tstate = wxPyBeginAllowThreads();
24517 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24518
24519 wxPyEndAllowThreads(__tstate);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 }
24522 {
24523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24524 }
24525 return resultobj;
24526 fail:
24527 return NULL;
24528 }
24529
24530
24531 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24532 PyObject *resultobj;
24533 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24534 int arg2 ;
24535 bool result;
24536 PyObject * obj0 = 0 ;
24537 PyObject * obj1 = 0 ;
24538 char *kwnames[] = {
24539 (char *) "self",(char *) "pageNum", NULL
24540 };
24541
24542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24545 arg2 = (int)SWIG_As_int(obj1);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 {
24548 PyThreadState* __tstate = wxPyBeginAllowThreads();
24549 result = (bool)(arg1)->base_RenderPage(arg2);
24550
24551 wxPyEndAllowThreads(__tstate);
24552 if (PyErr_Occurred()) SWIG_fail;
24553 }
24554 {
24555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24556 }
24557 return resultobj;
24558 fail:
24559 return NULL;
24560 }
24561
24562
24563 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24564 PyObject *resultobj;
24565 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24566 int arg2 ;
24567 PyObject * obj0 = 0 ;
24568 PyObject * obj1 = 0 ;
24569 char *kwnames[] = {
24570 (char *) "self",(char *) "percent", NULL
24571 };
24572
24573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24576 arg2 = (int)SWIG_As_int(obj1);
24577 if (PyErr_Occurred()) SWIG_fail;
24578 {
24579 PyThreadState* __tstate = wxPyBeginAllowThreads();
24580 (arg1)->base_SetZoom(arg2);
24581
24582 wxPyEndAllowThreads(__tstate);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 }
24585 Py_INCREF(Py_None); resultobj = Py_None;
24586 return resultobj;
24587 fail:
24588 return NULL;
24589 }
24590
24591
24592 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24593 PyObject *resultobj;
24594 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24595 bool arg2 ;
24596 bool result;
24597 PyObject * obj0 = 0 ;
24598 PyObject * obj1 = 0 ;
24599 char *kwnames[] = {
24600 (char *) "self",(char *) "interactive", NULL
24601 };
24602
24603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24606 arg2 = (bool)SWIG_As_bool(obj1);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 result = (bool)(arg1)->base_Print(arg2);
24611
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 {
24616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24617 }
24618 return resultobj;
24619 fail:
24620 return NULL;
24621 }
24622
24623
24624 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24625 PyObject *resultobj;
24626 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24627 PyObject * obj0 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 (arg1)->base_DetermineScaling();
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 Py_INCREF(Py_None); resultobj = Py_None;
24643 return resultobj;
24644 fail:
24645 return NULL;
24646 }
24647
24648
24649 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24650 PyObject *obj;
24651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24652 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24653 Py_INCREF(obj);
24654 return Py_BuildValue((char *)"");
24655 }
24656 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24657 PyObject *resultobj;
24658 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24659 wxFrame *arg2 = (wxFrame *) 0 ;
24660 wxString *arg3 = 0 ;
24661 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24662 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24663 wxSize const &arg5_defvalue = wxDefaultSize ;
24664 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24665 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24666 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24667 wxString *arg7 = (wxString *) &arg7_defvalue ;
24668 wxPyPreviewFrame *result;
24669 bool temp3 = False ;
24670 wxPoint temp4 ;
24671 wxSize temp5 ;
24672 bool temp7 = False ;
24673 PyObject * obj0 = 0 ;
24674 PyObject * obj1 = 0 ;
24675 PyObject * obj2 = 0 ;
24676 PyObject * obj3 = 0 ;
24677 PyObject * obj4 = 0 ;
24678 PyObject * obj5 = 0 ;
24679 PyObject * obj6 = 0 ;
24680 char *kwnames[] = {
24681 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24682 };
24683
24684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24689 {
24690 arg3 = wxString_in_helper(obj2);
24691 if (arg3 == NULL) SWIG_fail;
24692 temp3 = True;
24693 }
24694 if (obj3) {
24695 {
24696 arg4 = &temp4;
24697 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24698 }
24699 }
24700 if (obj4) {
24701 {
24702 arg5 = &temp5;
24703 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24704 }
24705 }
24706 if (obj5) {
24707 arg6 = (long)SWIG_As_long(obj5);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 if (obj6) {
24711 {
24712 arg7 = wxString_in_helper(obj6);
24713 if (arg7 == NULL) SWIG_fail;
24714 temp7 = True;
24715 }
24716 }
24717 {
24718 if (!wxPyCheckForApp()) SWIG_fail;
24719 PyThreadState* __tstate = wxPyBeginAllowThreads();
24720 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24721
24722 wxPyEndAllowThreads(__tstate);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 }
24725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24726 {
24727 if (temp3)
24728 delete arg3;
24729 }
24730 {
24731 if (temp7)
24732 delete arg7;
24733 }
24734 return resultobj;
24735 fail:
24736 {
24737 if (temp3)
24738 delete arg3;
24739 }
24740 {
24741 if (temp7)
24742 delete arg7;
24743 }
24744 return NULL;
24745 }
24746
24747
24748 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24749 PyObject *resultobj;
24750 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24751 PyObject *arg2 = (PyObject *) 0 ;
24752 PyObject *arg3 = (PyObject *) 0 ;
24753 PyObject * obj0 = 0 ;
24754 PyObject * obj1 = 0 ;
24755 PyObject * obj2 = 0 ;
24756 char *kwnames[] = {
24757 (char *) "self",(char *) "self",(char *) "_class", NULL
24758 };
24759
24760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24763 arg2 = obj1;
24764 arg3 = obj2;
24765 {
24766 PyThreadState* __tstate = wxPyBeginAllowThreads();
24767 (arg1)->_setCallbackInfo(arg2,arg3);
24768
24769 wxPyEndAllowThreads(__tstate);
24770 if (PyErr_Occurred()) SWIG_fail;
24771 }
24772 Py_INCREF(Py_None); resultobj = Py_None;
24773 return resultobj;
24774 fail:
24775 return NULL;
24776 }
24777
24778
24779 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24780 PyObject *resultobj;
24781 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24782 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24783 PyObject * obj0 = 0 ;
24784 PyObject * obj1 = 0 ;
24785 char *kwnames[] = {
24786 (char *) "self",(char *) "canvas", NULL
24787 };
24788
24789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24794 {
24795 PyThreadState* __tstate = wxPyBeginAllowThreads();
24796 (arg1)->SetPreviewCanvas(arg2);
24797
24798 wxPyEndAllowThreads(__tstate);
24799 if (PyErr_Occurred()) SWIG_fail;
24800 }
24801 Py_INCREF(Py_None); resultobj = Py_None;
24802 return resultobj;
24803 fail:
24804 return NULL;
24805 }
24806
24807
24808 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24809 PyObject *resultobj;
24810 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24811 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24812 PyObject * obj0 = 0 ;
24813 PyObject * obj1 = 0 ;
24814 char *kwnames[] = {
24815 (char *) "self",(char *) "bar", NULL
24816 };
24817
24818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24823 {
24824 PyThreadState* __tstate = wxPyBeginAllowThreads();
24825 (arg1)->SetControlBar(arg2);
24826
24827 wxPyEndAllowThreads(__tstate);
24828 if (PyErr_Occurred()) SWIG_fail;
24829 }
24830 Py_INCREF(Py_None); resultobj = Py_None;
24831 return resultobj;
24832 fail:
24833 return NULL;
24834 }
24835
24836
24837 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
24838 PyObject *resultobj;
24839 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24840 PyObject * obj0 = 0 ;
24841 char *kwnames[] = {
24842 (char *) "self", NULL
24843 };
24844
24845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 (arg1)->base_Initialize();
24851
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 Py_INCREF(Py_None); resultobj = Py_None;
24856 return resultobj;
24857 fail:
24858 return NULL;
24859 }
24860
24861
24862 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24863 PyObject *resultobj;
24864 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24865 PyObject * obj0 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 (arg1)->base_CreateCanvas();
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 *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj;
24889 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24890 PyObject * obj0 = 0 ;
24891 char *kwnames[] = {
24892 (char *) "self", NULL
24893 };
24894
24895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 (arg1)->base_CreateControlBar();
24901
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
24905 Py_INCREF(Py_None); resultobj = Py_None;
24906 return resultobj;
24907 fail:
24908 return NULL;
24909 }
24910
24911
24912 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
24913 PyObject *obj;
24914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24915 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24916 Py_INCREF(obj);
24917 return Py_BuildValue((char *)"");
24918 }
24919 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24920 PyObject *resultobj;
24921 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24922 long arg2 ;
24923 wxWindow *arg3 = (wxWindow *) 0 ;
24924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24926 wxSize const &arg5_defvalue = wxDefaultSize ;
24927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24928 long arg6 = (long) 0 ;
24929 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24930 wxString *arg7 = (wxString *) &arg7_defvalue ;
24931 wxPyPreviewControlBar *result;
24932 wxPoint temp4 ;
24933 wxSize temp5 ;
24934 bool temp7 = False ;
24935 PyObject * obj0 = 0 ;
24936 PyObject * obj1 = 0 ;
24937 PyObject * obj2 = 0 ;
24938 PyObject * obj3 = 0 ;
24939 PyObject * obj4 = 0 ;
24940 PyObject * obj5 = 0 ;
24941 PyObject * obj6 = 0 ;
24942 char *kwnames[] = {
24943 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24944 };
24945
24946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24949 arg2 = (long)SWIG_As_long(obj1);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24953 if (obj3) {
24954 {
24955 arg4 = &temp4;
24956 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24957 }
24958 }
24959 if (obj4) {
24960 {
24961 arg5 = &temp5;
24962 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24963 }
24964 }
24965 if (obj5) {
24966 arg6 = (long)SWIG_As_long(obj5);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 if (obj6) {
24970 {
24971 arg7 = wxString_in_helper(obj6);
24972 if (arg7 == NULL) SWIG_fail;
24973 temp7 = True;
24974 }
24975 }
24976 {
24977 if (!wxPyCheckForApp()) SWIG_fail;
24978 PyThreadState* __tstate = wxPyBeginAllowThreads();
24979 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24980
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24985 {
24986 if (temp7)
24987 delete arg7;
24988 }
24989 return resultobj;
24990 fail:
24991 {
24992 if (temp7)
24993 delete arg7;
24994 }
24995 return NULL;
24996 }
24997
24998
24999 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25000 PyObject *resultobj;
25001 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25002 PyObject *arg2 = (PyObject *) 0 ;
25003 PyObject *arg3 = (PyObject *) 0 ;
25004 PyObject * obj0 = 0 ;
25005 PyObject * obj1 = 0 ;
25006 PyObject * obj2 = 0 ;
25007 char *kwnames[] = {
25008 (char *) "self",(char *) "self",(char *) "_class", NULL
25009 };
25010
25011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25014 arg2 = obj1;
25015 arg3 = obj2;
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 (arg1)->_setCallbackInfo(arg2,arg3);
25019
25020 wxPyEndAllowThreads(__tstate);
25021 if (PyErr_Occurred()) SWIG_fail;
25022 }
25023 Py_INCREF(Py_None); resultobj = Py_None;
25024 return resultobj;
25025 fail:
25026 return NULL;
25027 }
25028
25029
25030 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj;
25032 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25033 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25034 PyObject * obj0 = 0 ;
25035 PyObject * obj1 = 0 ;
25036 char *kwnames[] = {
25037 (char *) "self",(char *) "preview", NULL
25038 };
25039
25040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25045 {
25046 PyThreadState* __tstate = wxPyBeginAllowThreads();
25047 (arg1)->SetPrintPreview(arg2);
25048
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 Py_INCREF(Py_None); resultobj = Py_None;
25053 return resultobj;
25054 fail:
25055 return NULL;
25056 }
25057
25058
25059 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25060 PyObject *resultobj;
25061 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25062 PyObject * obj0 = 0 ;
25063 char *kwnames[] = {
25064 (char *) "self", NULL
25065 };
25066
25067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 (arg1)->base_CreateButtons();
25073
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 Py_INCREF(Py_None); resultobj = Py_None;
25078 return resultobj;
25079 fail:
25080 return NULL;
25081 }
25082
25083
25084 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25085 PyObject *resultobj;
25086 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25087 int arg2 ;
25088 PyObject * obj0 = 0 ;
25089 PyObject * obj1 = 0 ;
25090 char *kwnames[] = {
25091 (char *) "self",(char *) "zoom", NULL
25092 };
25093
25094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25097 arg2 = (int)SWIG_As_int(obj1);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 (arg1)->base_SetZoomControl(arg2);
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 Py_INCREF(Py_None); resultobj = Py_None;
25107 return resultobj;
25108 fail:
25109 return NULL;
25110 }
25111
25112
25113 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25114 PyObject *obj;
25115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25116 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25117 Py_INCREF(obj);
25118 return Py_BuildValue((char *)"");
25119 }
25120 static PyMethodDef SwigMethods[] = {
25121 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25122 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25123 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25124 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25125 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25126 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25127 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25128 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25129 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25130 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25131 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25132 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25133 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25134 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25135 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25136 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25137 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25138 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25139 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25140 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25141 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25142 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25143 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25144 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25145 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25146 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25147 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25148 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25149 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25150 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25151 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25152 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25153 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25154 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25155 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25156 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25157 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25158 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25159 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25160 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25161 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25162 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25163 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25164 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25165 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25166 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25167 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25168 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25169 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25170 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25171 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25172 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25173 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25174 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25175 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25176 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25177 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25178 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25179 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25180 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25181 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25182 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25183 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25184 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25185 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25186 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25187 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25188 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25189 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25190 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25191 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25192 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25193 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25194 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25195 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25196 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25197 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25198 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25199 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25200 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25201 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25202 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25203 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25204 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25205 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25206 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25207 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25208 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25209 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25210 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25211 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25212 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25213 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25214 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25215 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25216 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25217 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25218 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25219 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25220 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25221 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25222 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25223 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25224 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25225 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25226 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25227 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25228 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25229 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25230 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25231 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25232 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25233 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25234 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25235 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25236 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25237 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25238 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25239 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25240 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25241 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25242 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25243 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25244 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25245 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25246 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25247 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25248 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25249 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25250 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25251 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25252 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25253 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25254 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25255 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25256 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25257 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25258 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25259 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25260 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25261 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25262 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25263 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25264 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25265 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25266 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25267 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25268 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25269 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25274 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25275 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25276 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25278 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25289 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25290 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25291 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25294 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25297 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25298 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25299 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25300 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25307 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25308 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25309 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25314 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25315 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25319 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25323 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25324 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25325 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25330 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25334 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25335 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25338 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25340 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25341 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25345 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25346 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25349 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25350 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25355 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25358 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25363 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25364 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25389 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25397 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25406 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25408 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25417 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25420 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25427 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25445 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25449 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25454 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25458 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25474 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25477 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25479 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25483 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25492 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25501 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25507 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25519 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25526 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25530 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25556 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25582 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25608 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25609 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25654 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25655 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25686 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25690 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25691 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25724 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25729 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25740 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25763 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25765 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25771 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25781 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25782 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25805 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25806 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25815 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25823 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25829 { NULL, NULL, 0, NULL }
25830 };
25831
25832
25833 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25834
25835 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25836 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25837 }
25838 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25839 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25840 }
25841 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25842 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25843 }
25844 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25845 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25846 }
25847 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25848 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25849 }
25850 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25851 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25852 }
25853 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25854 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25855 }
25856 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25857 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25858 }
25859 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25860 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25861 }
25862 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25863 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25864 }
25865 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25866 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25867 }
25868 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25869 return (void *)((wxEvent *) ((wxPyEvent *) x));
25870 }
25871 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25873 }
25874 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25875 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25876 }
25877 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25878 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25879 }
25880 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25881 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25882 }
25883 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25884 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25885 }
25886 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25887 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25888 }
25889 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25890 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25891 }
25892 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25893 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25894 }
25895 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25896 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25897 }
25898 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25899 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25900 }
25901 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25902 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25903 }
25904 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25905 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25906 }
25907 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25908 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25909 }
25910 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25911 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25912 }
25913 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25914 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25915 }
25916 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25917 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25918 }
25919 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25920 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25921 }
25922 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25923 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25924 }
25925 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25926 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25927 }
25928 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25929 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25930 }
25931 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25932 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25933 }
25934 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25935 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25936 }
25937 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25938 return (void *)((wxEvent *) ((wxShowEvent *) x));
25939 }
25940 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25941 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25942 }
25943 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25944 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25945 }
25946 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25947 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25948 }
25949 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25950 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25951 }
25952 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25953 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25954 }
25955 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25956 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25957 }
25958 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25959 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25960 }
25961 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25962 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25963 }
25964 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25965 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25966 }
25967 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25968 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25969 }
25970 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25971 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25972 }
25973 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25974 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25975 }
25976 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25977 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25978 }
25979 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25980 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25981 }
25982 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25983 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25984 }
25985 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25986 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25987 }
25988 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25989 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25990 }
25991 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25992 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25993 }
25994 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25995 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25996 }
25997 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25998 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25999 }
26000 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26001 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26002 }
26003 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26004 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26005 }
26006 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26007 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26008 }
26009 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26010 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26011 }
26012 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26013 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26014 }
26015 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26016 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26017 }
26018 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26019 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26020 }
26021 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26022 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26023 }
26024 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26025 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26026 }
26027 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26028 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26029 }
26030 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26031 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26032 }
26033 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26034 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26035 }
26036 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26037 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26038 }
26039 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26040 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26041 }
26042 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26043 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26044 }
26045 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26046 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26047 }
26048 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26049 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26050 }
26051 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26052 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26053 }
26054 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26055 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26056 }
26057 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26058 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26059 }
26060 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26061 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26062 }
26063 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26064 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26065 }
26066 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26067 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26068 }
26069 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26070 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26071 }
26072 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26073 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26074 }
26075 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26076 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26077 }
26078 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26079 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26080 }
26081 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26082 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26083 }
26084 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26085 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26086 }
26087 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
26088 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
26089 }
26090 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26091 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26092 }
26093 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26094 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26095 }
26096 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26097 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26098 }
26099 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26100 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26101 }
26102 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26103 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26104 }
26105 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26106 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26107 }
26108 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26109 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26110 }
26111 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26112 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26113 }
26114 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26115 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26116 }
26117 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26118 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26119 }
26120 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26121 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26122 }
26123 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26124 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26125 }
26126 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26127 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26128 }
26129 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26130 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26131 }
26132 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26133 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26134 }
26135 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26136 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26137 }
26138 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26139 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26140 }
26141 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26142 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26143 }
26144 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26146 }
26147 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26149 }
26150 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26151 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26152 }
26153 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26154 return (void *)((wxObject *) ((wxSizerItem *) x));
26155 }
26156 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26157 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26158 }
26159 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26160 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26161 }
26162 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26163 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26164 }
26165 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26166 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26167 }
26168 static void *_p_wxSizerTo_p_wxObject(void *x) {
26169 return (void *)((wxObject *) ((wxSizer *) x));
26170 }
26171 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26172 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26173 }
26174 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26175 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26176 }
26177 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26179 }
26180 static void *_p_wxEventTo_p_wxObject(void *x) {
26181 return (void *)((wxObject *) ((wxEvent *) x));
26182 }
26183 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26184 return (void *)((wxObject *) ((wxFontData *) x));
26185 }
26186 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26187 return (void *)((wxObject *) ((wxPrintData *) x));
26188 }
26189 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26190 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26191 }
26192 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26193 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26194 }
26195 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26196 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26197 }
26198 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26199 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26200 }
26201 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26202 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26203 }
26204 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26205 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26206 }
26207 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26208 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26209 }
26210 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26211 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26212 }
26213 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26214 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26215 }
26216 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26217 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26218 }
26219 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26220 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26221 }
26222 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26223 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26224 }
26225 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26227 }
26228 static void *_p_wxControlTo_p_wxObject(void *x) {
26229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26230 }
26231 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26232 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26233 }
26234 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26235 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26236 }
26237 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26238 return (void *)((wxObject *) ((wxFSFile *) x));
26239 }
26240 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26241 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26242 }
26243 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26244 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26245 }
26246 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26248 }
26249 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26250 return (void *)((wxObject *) ((wxColourData *) x));
26251 }
26252 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26253 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26254 }
26255 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26256 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26257 }
26258 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26260 }
26261 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26263 }
26264 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26266 }
26267 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26269 }
26270 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26272 }
26273 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26275 }
26276 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26278 }
26279 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26281 }
26282 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26284 }
26285 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26286 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26287 }
26288 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26289 return (void *)((wxObject *) ((wxPrinter *) x));
26290 }
26291 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26292 return (void *)((wxObject *) ((wxMenuItem *) x));
26293 }
26294 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26295 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26296 }
26297 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26298 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26299 }
26300 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26301 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26302 }
26303 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26304 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26305 }
26306 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26307 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26308 }
26309 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26310 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26311 }
26312 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26313 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26314 }
26315 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26316 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26317 }
26318 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26319 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26320 }
26321 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26322 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26323 }
26324 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26325 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26326 }
26327 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26328 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26329 }
26330 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26331 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26332 }
26333 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26334 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26335 }
26336 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26337 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26338 }
26339 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26340 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26341 }
26342 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26343 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26344 }
26345 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26346 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26347 }
26348 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26349 return (void *)((wxObject *) ((wxImageHandler *) x));
26350 }
26351 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26352 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26353 }
26354 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26355 return (void *)((wxObject *) ((wxEvtHandler *) x));
26356 }
26357 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26358 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26359 }
26360 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26362 }
26363 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26365 }
26366 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26367 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26368 }
26369 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26371 }
26372 static void *_p_wxImageTo_p_wxObject(void *x) {
26373 return (void *)((wxObject *) ((wxImage *) x));
26374 }
26375 static void *_p_wxFrameTo_p_wxObject(void *x) {
26376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26377 }
26378 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26379 return (void *)((wxObject *) ((wxPyPrintout *) x));
26380 }
26381 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26382 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26383 }
26384 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26385 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26386 }
26387 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26389 }
26390 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26392 }
26393 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26394 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26395 }
26396 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26397 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26398 }
26399 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26400 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26401 }
26402 static void *_p_wxWindowTo_p_wxObject(void *x) {
26403 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26404 }
26405 static void *_p_wxMenuTo_p_wxObject(void *x) {
26406 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26407 }
26408 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26410 }
26411 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26413 }
26414 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26416 }
26417 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26419 }
26420 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26422 }
26423 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26425 }
26426 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26428 }
26429 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26431 }
26432 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26434 }
26435 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26437 }
26438 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26440 }
26441 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26443 }
26444 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26446 }
26447 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26448 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26449 }
26450 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26451 return (void *)((wxObject *) ((wxPrintPreview *) x));
26452 }
26453 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26454 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26455 }
26456 static void *_p_wxPanelTo_p_wxObject(void *x) {
26457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26458 }
26459 static void *_p_wxDialogTo_p_wxObject(void *x) {
26460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26461 }
26462 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26464 }
26465 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26467 }
26468 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26470 }
26471 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26473 }
26474 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26476 }
26477 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26478 return (void *)((wxObject *) ((wxFileSystem *) x));
26479 }
26480 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26482 }
26483 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26484 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26485 }
26486 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26487 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26488 }
26489 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26490 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26491 }
26492 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26493 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26494 }
26495 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26496 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26497 }
26498 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26499 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26500 }
26501 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26502 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26503 }
26504 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26506 }
26507 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26509 }
26510 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26511 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26512 }
26513 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26514 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26515 }
26516 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26517 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26518 }
26519 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26521 }
26522 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26523 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26524 }
26525 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26526 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26527 }
26528 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26529 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26530 }
26531 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26532 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26533 }
26534 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26535 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26536 }
26537 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26538 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26539 }
26540 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26541 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26542 }
26543 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26544 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26545 }
26546 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26547 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26548 }
26549 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26550 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26551 }
26552 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26553 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26554 }
26555 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26556 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26557 }
26558 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26559 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26560 }
26561 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26562 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26563 }
26564 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26565 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26566 }
26567 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26568 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26569 }
26570 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26571 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26572 }
26573 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26574 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26575 }
26576 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26577 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26578 }
26579 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26580 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26581 }
26582 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26583 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26584 }
26585 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26586 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26587 }
26588 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26589 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26590 }
26591 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26592 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26593 }
26594 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26595 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26596 }
26597 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26598 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26599 }
26600 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26601 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26602 }
26603 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26604 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26605 }
26606 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26607 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26608 }
26609 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26610 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26611 }
26612 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26613 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26614 }
26615 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26616 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26617 }
26618 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26619 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26620 }
26621 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26622 return (void *)((wxWindow *) ((wxMenuBar *) x));
26623 }
26624 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26625 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26626 }
26627 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26628 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26629 }
26630 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26631 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26632 }
26633 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26634 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26635 }
26636 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26637 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26638 }
26639 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26640 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26641 }
26642 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26643 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26644 }
26645 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26646 return (void *)((wxWindow *) ((wxPanel *) x));
26647 }
26648 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26649 return (void *)((wxWindow *) ((wxStatusBar *) x));
26650 }
26651 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26652 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26653 }
26654 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26655 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26656 }
26657 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26658 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26659 }
26660 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26661 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26662 }
26663 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26664 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26665 }
26666 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26667 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26668 }
26669 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26670 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26671 }
26672 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26673 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26674 }
26675 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26676 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26677 }
26678 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26679 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26680 }
26681 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26682 return (void *)((wxWindow *) ((wxSashWindow *) x));
26683 }
26684 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26685 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26686 }
26687 static void *_p_wxControlTo_p_wxWindow(void *x) {
26688 return (void *)((wxWindow *) ((wxControl *) x));
26689 }
26690 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26691 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26692 }
26693 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26694 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26695 }
26696 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26697 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26698 }
26699 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26700 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26701 }
26702 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26703 return (void *)((wxWindow *) ((wxPyWindow *) x));
26704 }
26705 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26706 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26707 }
26708 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26709 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26710 }
26711 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26712 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26713 }
26714 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26715 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26716 }
26717 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26718 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26719 }
26720 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26721 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26722 }
26723 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26724 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26725 }
26726 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26727 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26728 }
26729 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26730 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26731 }
26732 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26733 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26734 }
26735 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26736 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26737 }
26738 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26739 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26740 }
26741 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26742 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26743 }
26744 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26745 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26746 }
26747 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26748 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26749 }
26750 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26751 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26752 }
26753 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26754 return (void *)((wxDialog *) ((wxColourDialog *) x));
26755 }
26756 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26757 return (void *)((wxDialog *) ((wxDirDialog *) x));
26758 }
26759 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26760 return (void *)((wxDialog *) ((wxFontDialog *) x));
26761 }
26762 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26763 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26764 }
26765 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26766 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26767 }
26768 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26769 return (void *)((wxDialog *) ((wxFileDialog *) x));
26770 }
26771 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26772 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26773 }
26774 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26775 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26776 }
26777 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26778 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26779 }
26780 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26781 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26782 }
26783 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26784 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26785 }
26786 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26787 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26788 }
26789 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26790 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26791 }
26792 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26793 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26794 }
26795 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26796 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26797 }
26798 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26799 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26800 }
26801 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26802 return (void *)((wxPanel *) ((wxPyPanel *) x));
26803 }
26804 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26805 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26806 }
26807 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26808 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26809 }
26810 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26811 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26812 }
26813 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26814 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26815 }
26816 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26817 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26818 }
26819 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26820 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26821 }
26822 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26823 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26824 }
26825 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26826 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26827 }
26828 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26829 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26830 }
26831 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26832 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26833 }
26834 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26835 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26836 }
26837 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26838 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26839 }
26840 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26841 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26842 }
26843 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26844 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26845 }
26846 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26847 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26848 }
26849 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}};
26850 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}};
26851 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}};
26852 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}};
26853 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}};
26854 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}};
26855 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}};
26856 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}};
26857 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}};
26858 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}};
26859 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}};
26860 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}};
26861 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}};
26862 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}};
26863 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}};
26864 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}};
26865 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}};
26866 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}};
26867 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}};
26868 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}};
26869 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}};
26870 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}};
26871 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}};
26872 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}};
26873 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}};
26874 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}};
26875 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}};
26876 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}};
26877 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}};
26878 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}};
26879 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}};
26880 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}};
26881 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}};
26882 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}};
26883 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}};
26884 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}};
26885 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxDialog", _p_wxDialogTo_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_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}};
26886 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}};
26887 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}};
26888 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}};
26889 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}};
26890 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}};
26891 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}};
26892 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_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}};
26893 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}};
26894 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}};
26895 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}};
26896 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}};
26897 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}};
26898 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}};
26899 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
26900 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}};
26901 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}};
26902 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}};
26903 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}};
26904 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}};
26905 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}};
26906 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}};
26907 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}};
26908 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26909 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},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26910 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}};
26911 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_wxDirDialog", _p_wxDirDialogTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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}};
26912 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
26913 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}};
26914 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}};
26915 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}};
26916 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}};
26917 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}};
26918 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}};
26919 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}};
26920 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}};
26921 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}};
26922 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}};
26923 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}};
26924 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}};
26925 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}};
26926 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}};
26927 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}};
26928 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}};
26929 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}};
26930 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}};
26931 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}};
26932 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}};
26933 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}};
26934 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}};
26935
26936 static swig_type_info *swig_types_initial[] = {
26937 _swigt__p_wxQueryLayoutInfoEvent,
26938 _swigt__p_wxPreviewFrame,
26939 _swigt__p_wxPyPreviewFrame,
26940 _swigt__p_wxPyPanel,
26941 _swigt__p_wxMenu,
26942 _swigt__p_wxFontData,
26943 _swigt__p_wxEvent,
26944 _swigt__p_wxPrintData,
26945 _swigt__p_wxTaskBarIcon,
26946 _swigt__p_wxIconBundle,
26947 _swigt__p_wxLayoutAlgorithm,
26948 _swigt__p_wxFindDialogEvent,
26949 _swigt__p_wxPreviewCanvas,
26950 _swigt__p_wxFont,
26951 _swigt__p_wxSplitterEvent,
26952 _swigt__p_wxRegion,
26953 _swigt__p_wxFindReplaceData,
26954 _swigt__p_int,
26955 _swigt__p_wxSize,
26956 _swigt__p_wxDC,
26957 _swigt__p_wxIcon,
26958 _swigt__p_wxVisualAttributes,
26959 _swigt__p_wxMDIChildFrame,
26960 _swigt__p_wxColourData,
26961 _swigt__p_wxNotifyEvent,
26962 _swigt__p_wxPyWindow,
26963 _swigt__p_wxSplashScreen,
26964 _swigt__p_wxFindReplaceDialog,
26965 _swigt__p_wxProgressDialog,
26966 _swigt__p_wxMessageDialog,
26967 _swigt__p_wxTextEntryDialog,
26968 _swigt__p_wxSingleChoiceDialog,
26969 _swigt__p_wxMultiChoiceDialog,
26970 _swigt__p_wxFileDialog,
26971 _swigt__p_wxPrinter,
26972 _swigt__p_wxArrayInt,
26973 _swigt__p_wxEvtHandler,
26974 _swigt__p_wxCalculateLayoutEvent,
26975 _swigt__p_wxPyHtmlListBox,
26976 _swigt__p_wxPyVListBox,
26977 _swigt__p_wxRect,
26978 _swigt__p_char,
26979 _swigt__p_wxMiniFrame,
26980 _swigt__p_wxFrame,
26981 _swigt__p_wxPyPrintout,
26982 _swigt__p_wxTaskBarIconEvent,
26983 _swigt__p_wxScrollWinEvent,
26984 _swigt__p_wxStatusBar,
26985 _swigt__p_wxMDIParentFrame,
26986 _swigt__p_wxPoint,
26987 _swigt__p_wxObject,
26988 _swigt__p_wxOutputStream,
26989 _swigt__p_wxPyScrolledWindow,
26990 _swigt__p_wxMDIClientWindow,
26991 _swigt__p_wxTipWindow,
26992 _swigt__p_wxSashLayoutWindow,
26993 _swigt__p_wxSplitterWindow,
26994 _swigt__p_wxSplashScreenWindow,
26995 _swigt__p_wxPyVScrolledWindow,
26996 _swigt__p_wxPyPopupTransientWindow,
26997 _swigt__p_wxPopupWindow,
26998 _swigt__p_wxSashWindow,
26999 _swigt__p_wxTopLevelWindow,
27000 _swigt__p_wxWindow,
27001 _swigt__p_wxScrolledWindow,
27002 _swigt__p_wxMenuBar,
27003 _swigt__p_wxPrintPreview,
27004 _swigt__p_wxSashEvent,
27005 _swigt__p_wxString,
27006 _swigt__p_wxPyPrintPreview,
27007 _swigt__p_wxFontDialog,
27008 _swigt__p_wxDirDialog,
27009 _swigt__p_wxColourDialog,
27010 _swigt__p_wxDialog,
27011 _swigt__p_wxPanel,
27012 _swigt__p_wxPageSetupDialog,
27013 _swigt__p_wxPrintDialog,
27014 _swigt__p_wxFileSystem,
27015 _swigt__p_wxBitmap,
27016 _swigt__p_wxCommandEvent,
27017 _swigt__p_wxPreviewControlBar,
27018 _swigt__p_wxPyPreviewControlBar,
27019 _swigt__p_wxColour,
27020 _swigt__p_wxToolBar,
27021 _swigt__p_wxPageSetupDialogData,
27022 _swigt__p_wxPrintDialogData,
27023 0
27024 };
27025
27026
27027 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27028
27029 static swig_const_info swig_const_table[] = {
27030 {0, 0, 0, 0.0, 0, 0}};
27031
27032 #ifdef __cplusplus
27033 }
27034 #endif
27035
27036 #ifdef __cplusplus
27037 extern "C"
27038 #endif
27039 SWIGEXPORT(void) SWIG_init(void) {
27040 static PyObject *SWIG_globals = 0;
27041 static int typeinit = 0;
27042 PyObject *m, *d;
27043 int i;
27044 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27045 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27046 d = PyModule_GetDict(m);
27047
27048 if (!typeinit) {
27049 for (i = 0; swig_types_initial[i]; i++) {
27050 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27051 }
27052 typeinit = 1;
27053 }
27054 SWIG_InstallConstants(d,swig_const_table);
27055
27056 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27057 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27058 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27059 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27060 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27061 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27062 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27063 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27064 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27065 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27066 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27067 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27068 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27069 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27070 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27071 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27072 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27073 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27074 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27075 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27076 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27077 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27078 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27079 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27080 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27081 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27082 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27083 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27084 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27085 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27086 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27087 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27088 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27089 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27090 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27091 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27092 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27093 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27094 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27095 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27096 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27097 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27098 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27099 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27100 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27101 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27102 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27103 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27104 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27105 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27106 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27107 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27108 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27109 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27110 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27111 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27112 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27113 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27114 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27115 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27116 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27117 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27118 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27119 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27120 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27121 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27122 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27123 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27124 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27125 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27126 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27127 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27128 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27129 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27130 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27131 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27132 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27133 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27134 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27135 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27136 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27137 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27138 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27139 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27140 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27141 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27142 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27143 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27144 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27145 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27146 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27147 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27148 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27149 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27150 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27151 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27152 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27153 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27154
27155 // Map renamed classes back to their common name for OOR
27156 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27157 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27158 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27159
27160 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27161 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27162 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27163 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27164 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27165 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27166 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27167 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27168 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27169 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27170 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27171 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27172 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27173 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27174 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27175 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27176 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27177 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27178 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27179 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27180 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27181 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27182 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27183 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27184 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27185 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27186 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27187 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27188 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27189 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27190 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27191 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27192 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27193 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27194 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27195 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27196 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27197 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27198 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27199 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27200 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27201 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27202 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27203 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27204 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27205 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27206 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27207 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27208 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27209 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27210 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27211 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27212 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27213 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27214 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27215 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27216 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27217 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27218 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27219 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27220
27221 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27222
27223 }
27224