]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
Correct call to shape.Show()
[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 #ifndef wxHAS_TASK_BAR_ICON
922 // implement dummy classes for platforms that don't have it
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 bool IsOk() const { return false; }
938 bool IsIconInstalled() const { return false; }
939 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
940 bool RemoveIcon() { return false; }
941 bool PopupMenu(wxMenu *menu) { return false; }
942 };
943
944 enum {
945 wxEVT_TASKBAR_MOVE = 0,
946 wxEVT_TASKBAR_LEFT_DOWN = 0,
947 wxEVT_TASKBAR_LEFT_UP = 0,
948 wxEVT_TASKBAR_RIGHT_DOWN = 0,
949 wxEVT_TASKBAR_RIGHT_UP = 0,
950 wxEVT_TASKBAR_LEFT_DCLICK = 0,
951 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
952 };
953
954
955 #else
956 // // Otherwise make a class that can virtualize CreatePopupMenu
957 // class wxPyTaskBarIcon : public wxTaskBarIcon
958 // {
959 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
960 // public:
961 // wxPyTaskBarIcon() : wxTaskBarIcon()
962 // {}
963
964 // wxMenu* CreatePopupMenu() {
965 // wxMenu *rval = NULL;
966 // bool found;
967 // bool blocked = wxPyBeginBlockThreads();
968 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
969 // PyObject* ro;
970 // wxMenu* ptr;
971 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
972 // if (ro) {
973 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
974 // rval = ptr;
975 // Py_DECREF(ro);
976 // }
977 // }
978 // wxPyEndBlockThreads(blocked);
979 // if (! found)
980 // rval = wxTaskBarIcon::CreatePopupMenu();
981 // return rval;
982 // }
983
984 // PYPRIVATE;
985 // };
986
987 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
988
989 #endif
990
991 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
992
993 self->RemoveIcon();
994
995 }
996 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
997 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
998 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
999 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1000 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
1001 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
1002 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
1003 wxArrayString arr;
1004 self->GetFilenames(arr);
1005 return wxArrayString2PyList_helper(arr);
1006 }
1007 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1008 wxArrayString arr;
1009 self->GetPaths(arr);
1010 return wxArrayString2PyList_helper(arr);
1011 }
1012 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1013 return wxArrayInt2PyList_helper(self->GetSelections());
1014 }
1015 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1016 return new wxSingleChoiceDialog(parent, message, caption,
1017 choices, choices_array, NULL, style, pos);
1018 }
1019
1020 #include <wx/mdi.h>
1021
1022 // C++ version of Python aware wxWindow
1023 class wxPyWindow : public wxWindow
1024 {
1025 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1026 public:
1027 wxPyWindow() : wxWindow() {}
1028 wxPyWindow(wxWindow* parent, const wxWindowID id,
1029 const wxPoint& pos = wxDefaultPosition,
1030 const wxSize& size = wxDefaultSize,
1031 long style = 0,
1032 const wxString& name = wxPyPanelNameStr)
1033 : wxWindow(parent, id, pos, size, style, name) {}
1034
1035 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1036
1037 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1038 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1039 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1040 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1041
1042 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1043 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1044 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1045
1046 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1047 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1048
1049 DEC_PYCALLBACK__(InitDialog);
1050 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1051 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1052 DEC_PYCALLBACK_BOOL_(Validate);
1053
1054 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1055 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1056 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1057
1058 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1059 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1060
1061 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1062 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1063 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1064
1065 PYPRIVATE;
1066 };
1067
1068 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1069
1070 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1071 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1072 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1073 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1074
1075 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1076 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1077 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1078
1079 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1080 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1081
1082 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1083 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1084 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1085 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1086
1087 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1088 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1089 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1090
1091 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1092 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1093
1094 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1095 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1096 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1097
1098
1099 // C++ version of Python aware wxPanel
1100 class wxPyPanel : public wxPanel
1101 {
1102 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1103 public:
1104 wxPyPanel() : wxPanel() {}
1105 wxPyPanel(wxWindow* parent, const wxWindowID id,
1106 const wxPoint& pos = wxDefaultPosition,
1107 const wxSize& size = wxDefaultSize,
1108 long style = 0,
1109 const wxString& name = wxPyPanelNameStr)
1110 : wxPanel(parent, id, pos, size, style, name) {}
1111
1112 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1113
1114
1115 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1116 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1117 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1118 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1119
1120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1123
1124 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1125 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1126
1127 DEC_PYCALLBACK__(InitDialog);
1128 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1129 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1130 DEC_PYCALLBACK_BOOL_(Validate);
1131
1132 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1133 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1134 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1135
1136 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1137 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1138
1139 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1140 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1141 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1142
1143 PYPRIVATE;
1144 };
1145
1146 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1147
1148 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1149 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1150 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1151 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1152
1153 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1154 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1155 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1156
1157 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1158 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1159
1160 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1161 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1162 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1163 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1164
1165 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1166 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1167 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1168
1169 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1170 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1171
1172 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1173 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1174 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1175
1176
1177 // C++ version of Python aware wxScrolledWindow
1178 class wxPyScrolledWindow : public wxScrolledWindow
1179 {
1180 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1181 public:
1182 wxPyScrolledWindow() : wxScrolledWindow() {}
1183 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1184 const wxPoint& pos = wxDefaultPosition,
1185 const wxSize& size = wxDefaultSize,
1186 long style = 0,
1187 const wxString& name = wxPyPanelNameStr)
1188 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1189
1190 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1191
1192 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1193 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1194 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1195 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1196
1197 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1198 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1200
1201 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1202 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1203
1204 DEC_PYCALLBACK__(InitDialog);
1205 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1206 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1207 DEC_PYCALLBACK_BOOL_(Validate);
1208
1209 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1210 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1211 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1212
1213 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1214 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1215
1216 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1217 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1218 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1219
1220 PYPRIVATE;
1221 };
1222
1223 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1224
1225 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1226 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1227 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1228 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1229
1230 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1231 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1233
1234 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1235 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1236
1237 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1238 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1239 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1240 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1241
1242 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1243 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1244 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1245
1246 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1247 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1248
1249 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1250 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1251 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1252
1253
1254
1255 #include "wx/wxPython/printfw.h"
1256
1257
1258 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1259 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1260
1261
1262
1263 // Since this one would be tough and ugly to do with the Macros...
1264 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1265 bool hadErr = false;
1266 bool found;
1267
1268 bool blocked = wxPyBeginBlockThreads();
1269 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1270 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1271 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1272 PyObject* val;
1273
1274 val = PyTuple_GetItem(result, 0);
1275 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1276 else hadErr = true;
1277
1278 val = PyTuple_GetItem(result, 1);
1279 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1280 else hadErr = true;
1281
1282 val = PyTuple_GetItem(result, 2);
1283 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1284 else hadErr = true;
1285
1286 val = PyTuple_GetItem(result, 3);
1287 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1288 else hadErr = true;
1289 }
1290 else
1291 hadErr = true;
1292
1293 if (hadErr) {
1294 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1295 PyErr_Print();
1296 }
1297 Py_DECREF(result);
1298 }
1299 wxPyEndBlockThreads(blocked);
1300 if (! found)
1301 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1302 }
1303
1304 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1305 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1306 }
1307
1308
1309 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1310 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1311 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1312 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1313 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1314 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1315 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1316
1317
1318
1319
1320
1321 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1322 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1323 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1324
1325
1326 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1327 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1328 bool rval=false; \
1329 bool found; \
1330 bool blocked = wxPyBeginBlockThreads(); \
1331 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1332 PyObject* win = wxPyMake_wxObject(a,false); \
1333 PyObject* dc = wxPyMake_wxObject(&b,false); \
1334 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1335 Py_DECREF(win); \
1336 Py_DECREF(dc); \
1337 } \
1338 wxPyEndBlockThreads(blocked); \
1339 if (! found) \
1340 rval = PCLASS::CBNAME(a, b); \
1341 return rval; \
1342 } \
1343 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1344 return PCLASS::CBNAME(a, b); \
1345 }
1346
1347
1348
1349
1350 class wxPyPrintPreview : public wxPrintPreview
1351 {
1352 DECLARE_CLASS(wxPyPrintPreview)
1353 public:
1354 wxPyPrintPreview(wxPyPrintout* printout,
1355 wxPyPrintout* printoutForPrinting,
1356 wxPrintDialogData* data=NULL)
1357 : wxPrintPreview(printout, printoutForPrinting, data)
1358 {}
1359 wxPyPrintPreview(wxPyPrintout* printout,
1360 wxPyPrintout* printoutForPrinting,
1361 wxPrintData* data=NULL)
1362 : wxPrintPreview(printout, printoutForPrinting, data)
1363 {}
1364
1365 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1366 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1367 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1368 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1369 DEC_PYCALLBACK_VOID_INT(SetZoom);
1370 DEC_PYCALLBACK_BOOL_BOOL(Print);
1371 DEC_PYCALLBACK_VOID_(DetermineScaling);
1372
1373 PYPRIVATE;
1374 };
1375
1376 // Stupid renamed classes... Fix this in 2.5...
1377 #if defined(__WXMSW__)
1378 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1379 #elif defined(__WXMAC__)
1380 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1381 #else
1382 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1383 #endif
1384
1385 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1386 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1387 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1388 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1389 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1390 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1391 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1392
1393
1394 class wxPyPreviewFrame : public wxPreviewFrame
1395 {
1396 DECLARE_CLASS(wxPyPreviewFrame);
1397 public:
1398 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1399 const wxString& title,
1400 const wxPoint& pos = wxDefaultPosition,
1401 const wxSize& size = wxDefaultSize,
1402 long style = wxDEFAULT_FRAME_STYLE,
1403 const wxString& name = wxPyFrameNameStr)
1404 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1405 {}
1406
1407 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1408 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1409
1410 DEC_PYCALLBACK_VOID_(Initialize);
1411 DEC_PYCALLBACK_VOID_(CreateCanvas);
1412 DEC_PYCALLBACK_VOID_(CreateControlBar);
1413
1414 PYPRIVATE;
1415 };
1416
1417 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1418
1419 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1420 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1421 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1422
1423
1424 class wxPyPreviewControlBar : public wxPreviewControlBar
1425 {
1426 DECLARE_CLASS(wxPyPreviewControlBar);
1427 public:
1428 wxPyPreviewControlBar(wxPrintPreview *preview,
1429 long buttons,
1430 wxWindow *parent,
1431 const wxPoint& pos = wxDefaultPosition,
1432 const wxSize& size = wxDefaultSize,
1433 long style = 0,
1434 const wxString& name = wxPyPanelNameStr)
1435 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1436 {}
1437
1438 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1439
1440 DEC_PYCALLBACK_VOID_(CreateButtons);
1441 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1442
1443 PYPRIVATE;
1444 };
1445
1446 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1447 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1448 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1449
1450 #ifdef __cplusplus
1451 extern "C" {
1452 #endif
1453 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxWindow *arg1 = (wxWindow *) 0 ;
1456 int arg2 = (int) (int)-1 ;
1457 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1458 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1459 wxSize const &arg4_defvalue = wxDefaultSize ;
1460 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1461 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1462 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1463 wxString *arg6 = (wxString *) &arg6_defvalue ;
1464 wxPanel *result;
1465 wxPoint temp3 ;
1466 wxSize temp4 ;
1467 bool temp6 = false ;
1468 PyObject * obj0 = 0 ;
1469 PyObject * obj1 = 0 ;
1470 PyObject * obj2 = 0 ;
1471 PyObject * obj3 = 0 ;
1472 PyObject * obj4 = 0 ;
1473 PyObject * obj5 = 0 ;
1474 char *kwnames[] = {
1475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1476 };
1477
1478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1481 if (obj1) {
1482 arg2 = (int)SWIG_As_int(obj1);
1483 if (PyErr_Occurred()) SWIG_fail;
1484 }
1485 if (obj2) {
1486 {
1487 arg3 = &temp3;
1488 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1489 }
1490 }
1491 if (obj3) {
1492 {
1493 arg4 = &temp4;
1494 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1495 }
1496 }
1497 if (obj4) {
1498 arg5 = (long)SWIG_As_long(obj4);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 if (obj5) {
1502 {
1503 arg6 = wxString_in_helper(obj5);
1504 if (arg6 == NULL) SWIG_fail;
1505 temp6 = true;
1506 }
1507 }
1508 {
1509 if (!wxPyCheckForApp()) SWIG_fail;
1510 PyThreadState* __tstate = wxPyBeginAllowThreads();
1511 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1512
1513 wxPyEndAllowThreads(__tstate);
1514 if (PyErr_Occurred()) SWIG_fail;
1515 }
1516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1517 {
1518 if (temp6)
1519 delete arg6;
1520 }
1521 return resultobj;
1522 fail:
1523 {
1524 if (temp6)
1525 delete arg6;
1526 }
1527 return NULL;
1528 }
1529
1530
1531 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1532 PyObject *resultobj;
1533 wxPanel *result;
1534 char *kwnames[] = {
1535 NULL
1536 };
1537
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1539 {
1540 if (!wxPyCheckForApp()) SWIG_fail;
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (wxPanel *)new wxPanel();
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1548 return resultobj;
1549 fail:
1550 return NULL;
1551 }
1552
1553
1554 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1555 PyObject *resultobj;
1556 wxPanel *arg1 = (wxPanel *) 0 ;
1557 wxWindow *arg2 = (wxWindow *) 0 ;
1558 int arg3 = (int) (int)-1 ;
1559 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1560 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1561 wxSize const &arg5_defvalue = wxDefaultSize ;
1562 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1563 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1564 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1565 wxString *arg7 = (wxString *) &arg7_defvalue ;
1566 bool result;
1567 wxPoint temp4 ;
1568 wxSize temp5 ;
1569 bool temp7 = false ;
1570 PyObject * obj0 = 0 ;
1571 PyObject * obj1 = 0 ;
1572 PyObject * obj2 = 0 ;
1573 PyObject * obj3 = 0 ;
1574 PyObject * obj4 = 0 ;
1575 PyObject * obj5 = 0 ;
1576 PyObject * obj6 = 0 ;
1577 char *kwnames[] = {
1578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1579 };
1580
1581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1586 if (obj2) {
1587 arg3 = (int)SWIG_As_int(obj2);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 if (obj3) {
1591 {
1592 arg4 = &temp4;
1593 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1594 }
1595 }
1596 if (obj4) {
1597 {
1598 arg5 = &temp5;
1599 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1600 }
1601 }
1602 if (obj5) {
1603 arg6 = (long)SWIG_As_long(obj5);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
1606 if (obj6) {
1607 {
1608 arg7 = wxString_in_helper(obj6);
1609 if (arg7 == NULL) SWIG_fail;
1610 temp7 = true;
1611 }
1612 }
1613 {
1614 PyThreadState* __tstate = wxPyBeginAllowThreads();
1615 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1616
1617 wxPyEndAllowThreads(__tstate);
1618 if (PyErr_Occurred()) SWIG_fail;
1619 }
1620 {
1621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1622 }
1623 {
1624 if (temp7)
1625 delete arg7;
1626 }
1627 return resultobj;
1628 fail:
1629 {
1630 if (temp7)
1631 delete arg7;
1632 }
1633 return NULL;
1634 }
1635
1636
1637 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxPanel *arg1 = (wxPanel *) 0 ;
1640 PyObject * obj0 = 0 ;
1641 char *kwnames[] = {
1642 (char *) "self", NULL
1643 };
1644
1645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 (arg1)->InitDialog();
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 Py_INCREF(Py_None); resultobj = Py_None;
1656 return resultobj;
1657 fail:
1658 return NULL;
1659 }
1660
1661
1662 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1663 PyObject *resultobj;
1664 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1665 wxVisualAttributes result;
1666 PyObject * obj0 = 0 ;
1667 char *kwnames[] = {
1668 (char *) "variant", NULL
1669 };
1670
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1672 if (obj0) {
1673 arg1 = (int)SWIG_As_int(obj0);
1674 if (PyErr_Occurred()) SWIG_fail;
1675 }
1676 {
1677 if (!wxPyCheckForApp()) SWIG_fail;
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
1679 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1680
1681 wxPyEndAllowThreads(__tstate);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
1684 {
1685 wxVisualAttributes * resultptr;
1686 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1687 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1688 }
1689 return resultobj;
1690 fail:
1691 return NULL;
1692 }
1693
1694
1695 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1696 PyObject *obj;
1697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1698 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1699 Py_INCREF(obj);
1700 return Py_BuildValue((char *)"");
1701 }
1702 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1703 PyObject *resultobj;
1704 wxWindow *arg1 = (wxWindow *) 0 ;
1705 int arg2 = (int) (int)-1 ;
1706 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1707 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1708 wxSize const &arg4_defvalue = wxDefaultSize ;
1709 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1710 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1711 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1712 wxString *arg6 = (wxString *) &arg6_defvalue ;
1713 wxScrolledWindow *result;
1714 wxPoint temp3 ;
1715 wxSize temp4 ;
1716 bool temp6 = false ;
1717 PyObject * obj0 = 0 ;
1718 PyObject * obj1 = 0 ;
1719 PyObject * obj2 = 0 ;
1720 PyObject * obj3 = 0 ;
1721 PyObject * obj4 = 0 ;
1722 PyObject * obj5 = 0 ;
1723 char *kwnames[] = {
1724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1725 };
1726
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1730 if (obj1) {
1731 arg2 = (int)SWIG_As_int(obj1);
1732 if (PyErr_Occurred()) SWIG_fail;
1733 }
1734 if (obj2) {
1735 {
1736 arg3 = &temp3;
1737 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1738 }
1739 }
1740 if (obj3) {
1741 {
1742 arg4 = &temp4;
1743 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1744 }
1745 }
1746 if (obj4) {
1747 arg5 = (long)SWIG_As_long(obj4);
1748 if (PyErr_Occurred()) SWIG_fail;
1749 }
1750 if (obj5) {
1751 {
1752 arg6 = wxString_in_helper(obj5);
1753 if (arg6 == NULL) SWIG_fail;
1754 temp6 = true;
1755 }
1756 }
1757 {
1758 if (!wxPyCheckForApp()) SWIG_fail;
1759 PyThreadState* __tstate = wxPyBeginAllowThreads();
1760 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1761
1762 wxPyEndAllowThreads(__tstate);
1763 if (PyErr_Occurred()) SWIG_fail;
1764 }
1765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1766 {
1767 if (temp6)
1768 delete arg6;
1769 }
1770 return resultobj;
1771 fail:
1772 {
1773 if (temp6)
1774 delete arg6;
1775 }
1776 return NULL;
1777 }
1778
1779
1780 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1781 PyObject *resultobj;
1782 wxScrolledWindow *result;
1783 char *kwnames[] = {
1784 NULL
1785 };
1786
1787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1788 {
1789 if (!wxPyCheckForApp()) SWIG_fail;
1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
1791 result = (wxScrolledWindow *)new wxScrolledWindow();
1792
1793 wxPyEndAllowThreads(__tstate);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 }
1796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1797 return resultobj;
1798 fail:
1799 return NULL;
1800 }
1801
1802
1803 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1804 PyObject *resultobj;
1805 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1806 wxWindow *arg2 = (wxWindow *) 0 ;
1807 int arg3 = (int) (int)-1 ;
1808 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1809 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1810 wxSize const &arg5_defvalue = wxDefaultSize ;
1811 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1812 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1813 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1814 wxString *arg7 = (wxString *) &arg7_defvalue ;
1815 bool result;
1816 wxPoint temp4 ;
1817 wxSize temp5 ;
1818 bool temp7 = false ;
1819 PyObject * obj0 = 0 ;
1820 PyObject * obj1 = 0 ;
1821 PyObject * obj2 = 0 ;
1822 PyObject * obj3 = 0 ;
1823 PyObject * obj4 = 0 ;
1824 PyObject * obj5 = 0 ;
1825 PyObject * obj6 = 0 ;
1826 char *kwnames[] = {
1827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1828 };
1829
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1835 if (obj2) {
1836 arg3 = (int)SWIG_As_int(obj2);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 if (obj3) {
1840 {
1841 arg4 = &temp4;
1842 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1843 }
1844 }
1845 if (obj4) {
1846 {
1847 arg5 = &temp5;
1848 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1849 }
1850 }
1851 if (obj5) {
1852 arg6 = (long)SWIG_As_long(obj5);
1853 if (PyErr_Occurred()) SWIG_fail;
1854 }
1855 if (obj6) {
1856 {
1857 arg7 = wxString_in_helper(obj6);
1858 if (arg7 == NULL) SWIG_fail;
1859 temp7 = true;
1860 }
1861 }
1862 {
1863 PyThreadState* __tstate = wxPyBeginAllowThreads();
1864 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1865
1866 wxPyEndAllowThreads(__tstate);
1867 if (PyErr_Occurred()) SWIG_fail;
1868 }
1869 {
1870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1871 }
1872 {
1873 if (temp7)
1874 delete arg7;
1875 }
1876 return resultobj;
1877 fail:
1878 {
1879 if (temp7)
1880 delete arg7;
1881 }
1882 return NULL;
1883 }
1884
1885
1886 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1887 PyObject *resultobj;
1888 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1889 int arg2 ;
1890 int arg3 ;
1891 int arg4 ;
1892 int arg5 ;
1893 int arg6 = (int) 0 ;
1894 int arg7 = (int) 0 ;
1895 bool arg8 = (bool) false ;
1896 PyObject * obj0 = 0 ;
1897 PyObject * obj1 = 0 ;
1898 PyObject * obj2 = 0 ;
1899 PyObject * obj3 = 0 ;
1900 PyObject * obj4 = 0 ;
1901 PyObject * obj5 = 0 ;
1902 PyObject * obj6 = 0 ;
1903 PyObject * obj7 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1911 arg2 = (int)SWIG_As_int(obj1);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 arg3 = (int)SWIG_As_int(obj2);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 arg4 = (int)SWIG_As_int(obj3);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 arg5 = (int)SWIG_As_int(obj4);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 if (obj5) {
1920 arg6 = (int)SWIG_As_int(obj5);
1921 if (PyErr_Occurred()) SWIG_fail;
1922 }
1923 if (obj6) {
1924 arg7 = (int)SWIG_As_int(obj6);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 }
1927 if (obj7) {
1928 arg8 = (bool)SWIG_As_bool(obj7);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 Py_INCREF(Py_None); resultobj = Py_None;
1939 return resultobj;
1940 fail:
1941 return NULL;
1942 }
1943
1944
1945 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1948 int arg2 ;
1949 int arg3 ;
1950 PyObject * obj0 = 0 ;
1951 PyObject * obj1 = 0 ;
1952 PyObject * obj2 = 0 ;
1953 char *kwnames[] = {
1954 (char *) "self",(char *) "x",(char *) "y", NULL
1955 };
1956
1957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1960 arg2 = (int)SWIG_As_int(obj1);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 arg3 = (int)SWIG_As_int(obj2);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 (arg1)->Scroll(arg2,arg3);
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 Py_INCREF(Py_None); resultobj = Py_None;
1972 return resultobj;
1973 fail:
1974 return NULL;
1975 }
1976
1977
1978 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1981 int arg2 ;
1982 int result;
1983 PyObject * obj0 = 0 ;
1984 PyObject * obj1 = 0 ;
1985 char *kwnames[] = {
1986 (char *) "self",(char *) "orient", NULL
1987 };
1988
1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1992 arg2 = (int)SWIG_As_int(obj1);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 resultobj = SWIG_From_int((int)result);
2002 return resultobj;
2003 fail:
2004 return NULL;
2005 }
2006
2007
2008 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2009 PyObject *resultobj;
2010 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2011 int arg2 ;
2012 int arg3 ;
2013 PyObject * obj0 = 0 ;
2014 PyObject * obj1 = 0 ;
2015 PyObject * obj2 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2023 arg2 = (int)SWIG_As_int(obj1);
2024 if (PyErr_Occurred()) SWIG_fail;
2025 arg3 = (int)SWIG_As_int(obj2);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 (arg1)->SetScrollPageSize(arg2,arg3);
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
2034 Py_INCREF(Py_None); resultobj = Py_None;
2035 return resultobj;
2036 fail:
2037 return NULL;
2038 }
2039
2040
2041 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2042 PyObject *resultobj;
2043 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2044 int arg2 ;
2045 int arg3 ;
2046 PyObject * obj0 = 0 ;
2047 PyObject * obj1 = 0 ;
2048 PyObject * obj2 = 0 ;
2049 char *kwnames[] = {
2050 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2051 };
2052
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2056 arg2 = (int)SWIG_As_int(obj1);
2057 if (PyErr_Occurred()) SWIG_fail;
2058 arg3 = (int)SWIG_As_int(obj2);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 {
2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
2062 (arg1)->SetScrollRate(arg2,arg3);
2063
2064 wxPyEndAllowThreads(__tstate);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 }
2067 Py_INCREF(Py_None); resultobj = Py_None;
2068 return resultobj;
2069 fail:
2070 return NULL;
2071 }
2072
2073
2074 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2075 PyObject *resultobj;
2076 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2077 int *arg2 = (int *) 0 ;
2078 int *arg3 = (int *) 0 ;
2079 int temp2 ;
2080 int res2 = 0 ;
2081 int temp3 ;
2082 int res3 = 0 ;
2083 PyObject * obj0 = 0 ;
2084 char *kwnames[] = {
2085 (char *) "self", NULL
2086 };
2087
2088 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2089 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2093 {
2094 PyThreadState* __tstate = wxPyBeginAllowThreads();
2095 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2096
2097 wxPyEndAllowThreads(__tstate);
2098 if (PyErr_Occurred()) SWIG_fail;
2099 }
2100 Py_INCREF(Py_None); resultobj = Py_None;
2101 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2102 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2103 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2104 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2105 return resultobj;
2106 fail:
2107 return NULL;
2108 }
2109
2110
2111 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2112 PyObject *resultobj;
2113 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2114 bool arg2 ;
2115 bool arg3 ;
2116 PyObject * obj0 = 0 ;
2117 PyObject * obj1 = 0 ;
2118 PyObject * obj2 = 0 ;
2119 char *kwnames[] = {
2120 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2121 };
2122
2123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2126 arg2 = (bool)SWIG_As_bool(obj1);
2127 if (PyErr_Occurred()) SWIG_fail;
2128 arg3 = (bool)SWIG_As_bool(obj2);
2129 if (PyErr_Occurred()) SWIG_fail;
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 (arg1)->EnableScrolling(arg2,arg3);
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
2137 Py_INCREF(Py_None); resultobj = Py_None;
2138 return resultobj;
2139 fail:
2140 return NULL;
2141 }
2142
2143
2144 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2145 PyObject *resultobj;
2146 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2147 int *arg2 = (int *) 0 ;
2148 int *arg3 = (int *) 0 ;
2149 int temp2 ;
2150 int res2 = 0 ;
2151 int temp3 ;
2152 int res3 = 0 ;
2153 PyObject * obj0 = 0 ;
2154 char *kwnames[] = {
2155 (char *) "self", NULL
2156 };
2157
2158 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2159 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2163 {
2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
2165 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2166
2167 wxPyEndAllowThreads(__tstate);
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
2170 Py_INCREF(Py_None); resultobj = Py_None;
2171 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2172 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2173 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2174 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2175 return resultobj;
2176 fail:
2177 return NULL;
2178 }
2179
2180
2181 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2182 PyObject *resultobj;
2183 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2184 double arg2 ;
2185 double arg3 ;
2186 PyObject * obj0 = 0 ;
2187 PyObject * obj1 = 0 ;
2188 PyObject * obj2 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self",(char *) "xs",(char *) "ys", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2196 arg2 = (double)SWIG_As_double(obj1);
2197 if (PyErr_Occurred()) SWIG_fail;
2198 arg3 = (double)SWIG_As_double(obj2);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 (arg1)->SetScale(arg2,arg3);
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 Py_INCREF(Py_None); resultobj = Py_None;
2208 return resultobj;
2209 fail:
2210 return NULL;
2211 }
2212
2213
2214 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2217 double result;
2218 PyObject * obj0 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "self", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2226 {
2227 PyThreadState* __tstate = wxPyBeginAllowThreads();
2228 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2229
2230 wxPyEndAllowThreads(__tstate);
2231 if (PyErr_Occurred()) SWIG_fail;
2232 }
2233 resultobj = SWIG_From_double((double)result);
2234 return resultobj;
2235 fail:
2236 return NULL;
2237 }
2238
2239
2240 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2241 PyObject *resultobj;
2242 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2243 double result;
2244 PyObject * obj0 = 0 ;
2245 char *kwnames[] = {
2246 (char *) "self", NULL
2247 };
2248
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2252 {
2253 PyThreadState* __tstate = wxPyBeginAllowThreads();
2254 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2255
2256 wxPyEndAllowThreads(__tstate);
2257 if (PyErr_Occurred()) SWIG_fail;
2258 }
2259 resultobj = SWIG_From_double((double)result);
2260 return resultobj;
2261 fail:
2262 return NULL;
2263 }
2264
2265
2266 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2267 PyObject *resultobj;
2268 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2269 wxPoint *arg2 = 0 ;
2270 wxPoint result;
2271 wxPoint temp2 ;
2272 PyObject * obj0 = 0 ;
2273 PyObject * obj1 = 0 ;
2274
2275 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2278 {
2279 arg2 = &temp2;
2280 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2281 }
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 }
2289 {
2290 wxPoint * resultptr;
2291 resultptr = new wxPoint((wxPoint &) result);
2292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2293 }
2294 return resultobj;
2295 fail:
2296 return NULL;
2297 }
2298
2299
2300 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2301 PyObject *resultobj;
2302 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2303 int arg2 ;
2304 int arg3 ;
2305 int *arg4 = (int *) 0 ;
2306 int *arg5 = (int *) 0 ;
2307 int temp4 ;
2308 int res4 = 0 ;
2309 int temp5 ;
2310 int res5 = 0 ;
2311 PyObject * obj0 = 0 ;
2312 PyObject * obj1 = 0 ;
2313 PyObject * obj2 = 0 ;
2314
2315 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2316 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2317 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2320 arg2 = (int)SWIG_As_int(obj1);
2321 if (PyErr_Occurred()) SWIG_fail;
2322 arg3 = (int)SWIG_As_int(obj2);
2323 if (PyErr_Occurred()) SWIG_fail;
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
2326 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 Py_INCREF(Py_None); resultobj = Py_None;
2332 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2333 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2334 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2335 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2336 return resultobj;
2337 fail:
2338 return NULL;
2339 }
2340
2341
2342 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2343 int argc;
2344 PyObject *argv[4];
2345 int ii;
2346
2347 argc = PyObject_Length(args);
2348 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2349 argv[ii] = PyTuple_GetItem(args,ii);
2350 }
2351 if (argc == 2) {
2352 int _v;
2353 {
2354 void *ptr;
2355 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2356 _v = 0;
2357 PyErr_Clear();
2358 } else {
2359 _v = 1;
2360 }
2361 }
2362 if (_v) {
2363 {
2364 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2365 }
2366 if (_v) {
2367 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2368 }
2369 }
2370 }
2371 if (argc == 3) {
2372 int _v;
2373 {
2374 void *ptr;
2375 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2376 _v = 0;
2377 PyErr_Clear();
2378 } else {
2379 _v = 1;
2380 }
2381 }
2382 if (_v) {
2383 _v = SWIG_Check_int(argv[1]);
2384 if (_v) {
2385 _v = SWIG_Check_int(argv[2]);
2386 if (_v) {
2387 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2388 }
2389 }
2390 }
2391 }
2392
2393 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2394 return NULL;
2395 }
2396
2397
2398 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2399 PyObject *resultobj;
2400 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2401 wxPoint *arg2 = 0 ;
2402 wxPoint result;
2403 wxPoint temp2 ;
2404 PyObject * obj0 = 0 ;
2405 PyObject * obj1 = 0 ;
2406
2407 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2410 {
2411 arg2 = &temp2;
2412 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2413 }
2414 {
2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2416 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2417
2418 wxPyEndAllowThreads(__tstate);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 {
2422 wxPoint * resultptr;
2423 resultptr = new wxPoint((wxPoint &) result);
2424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2425 }
2426 return resultobj;
2427 fail:
2428 return NULL;
2429 }
2430
2431
2432 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2433 PyObject *resultobj;
2434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2435 int arg2 ;
2436 int arg3 ;
2437 int *arg4 = (int *) 0 ;
2438 int *arg5 = (int *) 0 ;
2439 int temp4 ;
2440 int res4 = 0 ;
2441 int temp5 ;
2442 int res5 = 0 ;
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 PyObject * obj2 = 0 ;
2446
2447 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2448 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2449 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2452 arg2 = (int)SWIG_As_int(obj1);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 arg3 = (int)SWIG_As_int(obj2);
2455 if (PyErr_Occurred()) SWIG_fail;
2456 {
2457 PyThreadState* __tstate = wxPyBeginAllowThreads();
2458 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2459
2460 wxPyEndAllowThreads(__tstate);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 Py_INCREF(Py_None); resultobj = Py_None;
2464 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2465 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2466 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2467 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2468 return resultobj;
2469 fail:
2470 return NULL;
2471 }
2472
2473
2474 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2475 int argc;
2476 PyObject *argv[4];
2477 int ii;
2478
2479 argc = PyObject_Length(args);
2480 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2481 argv[ii] = PyTuple_GetItem(args,ii);
2482 }
2483 if (argc == 2) {
2484 int _v;
2485 {
2486 void *ptr;
2487 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2488 _v = 0;
2489 PyErr_Clear();
2490 } else {
2491 _v = 1;
2492 }
2493 }
2494 if (_v) {
2495 {
2496 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2497 }
2498 if (_v) {
2499 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2500 }
2501 }
2502 }
2503 if (argc == 3) {
2504 int _v;
2505 {
2506 void *ptr;
2507 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2508 _v = 0;
2509 PyErr_Clear();
2510 } else {
2511 _v = 1;
2512 }
2513 }
2514 if (_v) {
2515 _v = SWIG_Check_int(argv[1]);
2516 if (_v) {
2517 _v = SWIG_Check_int(argv[2]);
2518 if (_v) {
2519 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2520 }
2521 }
2522 }
2523 }
2524
2525 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2526 return NULL;
2527 }
2528
2529
2530 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2533 PyObject * obj0 = 0 ;
2534 char *kwnames[] = {
2535 (char *) "self", NULL
2536 };
2537
2538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
2543 (arg1)->AdjustScrollbars();
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
2548 Py_INCREF(Py_None); resultobj = Py_None;
2549 return resultobj;
2550 fail:
2551 return NULL;
2552 }
2553
2554
2555 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2556 PyObject *resultobj;
2557 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2558 wxScrollWinEvent *arg2 = 0 ;
2559 int result;
2560 PyObject * obj0 = 0 ;
2561 PyObject * obj1 = 0 ;
2562 char *kwnames[] = {
2563 (char *) "self",(char *) "event", NULL
2564 };
2565
2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2570 SWIG_POINTER_EXCEPTION | 0)) == -1)
2571 SWIG_fail;
2572 if (arg2 == NULL) {
2573 PyErr_SetString(PyExc_TypeError,"null reference");
2574 SWIG_fail;
2575 }
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 result = (int)(arg1)->CalcScrollInc(*arg2);
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 resultobj = SWIG_From_int((int)result);
2584 return resultobj;
2585 fail:
2586 return NULL;
2587 }
2588
2589
2590 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2591 PyObject *resultobj;
2592 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2593 wxWindow *arg2 = (wxWindow *) 0 ;
2594 PyObject * obj0 = 0 ;
2595 PyObject * obj1 = 0 ;
2596 char *kwnames[] = {
2597 (char *) "self",(char *) "target", NULL
2598 };
2599
2600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 (arg1)->SetTargetWindow(arg2);
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
2612 Py_INCREF(Py_None); resultobj = Py_None;
2613 return resultobj;
2614 fail:
2615 return NULL;
2616 }
2617
2618
2619 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2620 PyObject *resultobj;
2621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2622 wxWindow *result;
2623 PyObject * obj0 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self", NULL
2626 };
2627
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
2639 resultobj = wxPyMake_wxObject(result, 0);
2640 }
2641 return resultobj;
2642 fail:
2643 return NULL;
2644 }
2645
2646
2647 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2650 wxDC *arg2 = 0 ;
2651 PyObject * obj0 = 0 ;
2652 PyObject * obj1 = 0 ;
2653 char *kwnames[] = {
2654 (char *) "self",(char *) "dc", NULL
2655 };
2656
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2661 SWIG_POINTER_EXCEPTION | 0)) == -1)
2662 SWIG_fail;
2663 if (arg2 == NULL) {
2664 PyErr_SetString(PyExc_TypeError,"null reference");
2665 SWIG_fail;
2666 }
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 (arg1)->DoPrepareDC(*arg2);
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 Py_INCREF(Py_None); resultobj = Py_None;
2675 return resultobj;
2676 fail:
2677 return NULL;
2678 }
2679
2680
2681 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj;
2683 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2684 wxVisualAttributes result;
2685 PyObject * obj0 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "variant", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2691 if (obj0) {
2692 arg1 = (int)SWIG_As_int(obj0);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 {
2696 if (!wxPyCheckForApp()) SWIG_fail;
2697 PyThreadState* __tstate = wxPyBeginAllowThreads();
2698 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2699
2700 wxPyEndAllowThreads(__tstate);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 }
2703 {
2704 wxVisualAttributes * resultptr;
2705 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2707 }
2708 return resultobj;
2709 fail:
2710 return NULL;
2711 }
2712
2713
2714 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2715 PyObject *obj;
2716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2717 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2718 Py_INCREF(obj);
2719 return Py_BuildValue((char *)"");
2720 }
2721 static int _wrap_FrameNameStr_set(PyObject *) {
2722 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2723 return 1;
2724 }
2725
2726
2727 static PyObject *_wrap_FrameNameStr_get() {
2728 PyObject *pyobj;
2729
2730 {
2731 #if wxUSE_UNICODE
2732 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2733 #else
2734 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2735 #endif
2736 }
2737 return pyobj;
2738 }
2739
2740
2741 static int _wrap_DialogNameStr_set(PyObject *) {
2742 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2743 return 1;
2744 }
2745
2746
2747 static PyObject *_wrap_DialogNameStr_get() {
2748 PyObject *pyobj;
2749
2750 {
2751 #if wxUSE_UNICODE
2752 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2753 #else
2754 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2755 #endif
2756 }
2757 return pyobj;
2758 }
2759
2760
2761 static int _wrap_StatusLineNameStr_set(PyObject *) {
2762 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2763 return 1;
2764 }
2765
2766
2767 static PyObject *_wrap_StatusLineNameStr_get() {
2768 PyObject *pyobj;
2769
2770 {
2771 #if wxUSE_UNICODE
2772 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2773 #else
2774 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2775 #endif
2776 }
2777 return pyobj;
2778 }
2779
2780
2781 static int _wrap_ToolBarNameStr_set(PyObject *) {
2782 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2783 return 1;
2784 }
2785
2786
2787 static PyObject *_wrap_ToolBarNameStr_get() {
2788 PyObject *pyobj;
2789
2790 {
2791 #if wxUSE_UNICODE
2792 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2793 #else
2794 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2795 #endif
2796 }
2797 return pyobj;
2798 }
2799
2800
2801 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj;
2803 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2804 bool arg2 = (bool) true ;
2805 PyObject * obj0 = 0 ;
2806 PyObject * obj1 = 0 ;
2807 char *kwnames[] = {
2808 (char *) "self",(char *) "maximize", NULL
2809 };
2810
2811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2814 if (obj1) {
2815 arg2 = (bool)SWIG_As_bool(obj1);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 }
2818 {
2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
2820 (arg1)->Maximize(arg2);
2821
2822 wxPyEndAllowThreads(__tstate);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 }
2825 Py_INCREF(Py_None); resultobj = Py_None;
2826 return resultobj;
2827 fail:
2828 return NULL;
2829 }
2830
2831
2832 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2833 PyObject *resultobj;
2834 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2835 PyObject * obj0 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 (arg1)->Restore();
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 Py_INCREF(Py_None); resultobj = Py_None;
2851 return resultobj;
2852 fail:
2853 return NULL;
2854 }
2855
2856
2857 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2860 bool arg2 = (bool) true ;
2861 PyObject * obj0 = 0 ;
2862 PyObject * obj1 = 0 ;
2863 char *kwnames[] = {
2864 (char *) "self",(char *) "iconize", NULL
2865 };
2866
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2870 if (obj1) {
2871 arg2 = (bool)SWIG_As_bool(obj1);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 (arg1)->Iconize(arg2);
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 Py_INCREF(Py_None); resultobj = Py_None;
2882 return resultobj;
2883 fail:
2884 return NULL;
2885 }
2886
2887
2888 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2889 PyObject *resultobj;
2890 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2891 bool result;
2892 PyObject * obj0 = 0 ;
2893 char *kwnames[] = {
2894 (char *) "self", NULL
2895 };
2896
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2900 {
2901 PyThreadState* __tstate = wxPyBeginAllowThreads();
2902 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 {
2908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2909 }
2910 return resultobj;
2911 fail:
2912 return NULL;
2913 }
2914
2915
2916 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2917 PyObject *resultobj;
2918 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2919 bool result;
2920 PyObject * obj0 = 0 ;
2921 char *kwnames[] = {
2922 (char *) "self", NULL
2923 };
2924
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2928 {
2929 PyThreadState* __tstate = wxPyBeginAllowThreads();
2930 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2931
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 {
2936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2937 }
2938 return resultobj;
2939 fail:
2940 return NULL;
2941 }
2942
2943
2944 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2945 PyObject *resultobj;
2946 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2947 wxIcon result;
2948 PyObject * obj0 = 0 ;
2949 char *kwnames[] = {
2950 (char *) "self", NULL
2951 };
2952
2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2956 {
2957 PyThreadState* __tstate = wxPyBeginAllowThreads();
2958 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2959
2960 wxPyEndAllowThreads(__tstate);
2961 if (PyErr_Occurred()) SWIG_fail;
2962 }
2963 {
2964 wxIcon * resultptr;
2965 resultptr = new wxIcon((wxIcon &) result);
2966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2967 }
2968 return resultobj;
2969 fail:
2970 return NULL;
2971 }
2972
2973
2974 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2975 PyObject *resultobj;
2976 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2977 wxIcon *arg2 = 0 ;
2978 PyObject * obj0 = 0 ;
2979 PyObject * obj1 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self",(char *) "icon", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2988 SWIG_POINTER_EXCEPTION | 0)) == -1)
2989 SWIG_fail;
2990 if (arg2 == NULL) {
2991 PyErr_SetString(PyExc_TypeError,"null reference");
2992 SWIG_fail;
2993 }
2994 {
2995 PyThreadState* __tstate = wxPyBeginAllowThreads();
2996 (arg1)->SetIcon((wxIcon const &)*arg2);
2997
2998 wxPyEndAllowThreads(__tstate);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 Py_INCREF(Py_None); resultobj = Py_None;
3002 return resultobj;
3003 fail:
3004 return NULL;
3005 }
3006
3007
3008 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3009 PyObject *resultobj;
3010 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3011 wxIconBundle *arg2 = 0 ;
3012 PyObject * obj0 = 0 ;
3013 PyObject * obj1 = 0 ;
3014 char *kwnames[] = {
3015 (char *) "self",(char *) "icons", NULL
3016 };
3017
3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3022 SWIG_POINTER_EXCEPTION | 0)) == -1)
3023 SWIG_fail;
3024 if (arg2 == NULL) {
3025 PyErr_SetString(PyExc_TypeError,"null reference");
3026 SWIG_fail;
3027 }
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 Py_INCREF(Py_None); resultobj = Py_None;
3036 return resultobj;
3037 fail:
3038 return NULL;
3039 }
3040
3041
3042 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3043 PyObject *resultobj;
3044 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3045 bool arg2 ;
3046 long arg3 = (long) wxFULLSCREEN_ALL ;
3047 bool result;
3048 PyObject * obj0 = 0 ;
3049 PyObject * obj1 = 0 ;
3050 PyObject * obj2 = 0 ;
3051 char *kwnames[] = {
3052 (char *) "self",(char *) "show",(char *) "style", NULL
3053 };
3054
3055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3058 arg2 = (bool)SWIG_As_bool(obj1);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 if (obj2) {
3061 arg3 = (long)SWIG_As_long(obj2);
3062 if (PyErr_Occurred()) SWIG_fail;
3063 }
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 {
3072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3073 }
3074 return resultobj;
3075 fail:
3076 return NULL;
3077 }
3078
3079
3080 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3081 PyObject *resultobj;
3082 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3083 bool result;
3084 PyObject * obj0 = 0 ;
3085 char *kwnames[] = {
3086 (char *) "self", NULL
3087 };
3088
3089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 {
3100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3101 }
3102 return resultobj;
3103 fail:
3104 return NULL;
3105 }
3106
3107
3108 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3109 PyObject *resultobj;
3110 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3111 wxString *arg2 = 0 ;
3112 bool temp2 = false ;
3113 PyObject * obj0 = 0 ;
3114 PyObject * obj1 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self",(char *) "title", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3122 {
3123 arg2 = wxString_in_helper(obj1);
3124 if (arg2 == NULL) SWIG_fail;
3125 temp2 = true;
3126 }
3127 {
3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
3129 (arg1)->SetTitle((wxString const &)*arg2);
3130
3131 wxPyEndAllowThreads(__tstate);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 Py_INCREF(Py_None); resultobj = Py_None;
3135 {
3136 if (temp2)
3137 delete arg2;
3138 }
3139 return resultobj;
3140 fail:
3141 {
3142 if (temp2)
3143 delete arg2;
3144 }
3145 return NULL;
3146 }
3147
3148
3149 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3150 PyObject *resultobj;
3151 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3152 wxString result;
3153 PyObject * obj0 = 0 ;
3154 char *kwnames[] = {
3155 (char *) "self", NULL
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3161 {
3162 PyThreadState* __tstate = wxPyBeginAllowThreads();
3163 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3164
3165 wxPyEndAllowThreads(__tstate);
3166 if (PyErr_Occurred()) SWIG_fail;
3167 }
3168 {
3169 #if wxUSE_UNICODE
3170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3171 #else
3172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3173 #endif
3174 }
3175 return resultobj;
3176 fail:
3177 return NULL;
3178 }
3179
3180
3181 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3182 PyObject *resultobj;
3183 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3184 wxRegion *arg2 = 0 ;
3185 bool result;
3186 PyObject * obj0 = 0 ;
3187 PyObject * obj1 = 0 ;
3188 char *kwnames[] = {
3189 (char *) "self",(char *) "region", NULL
3190 };
3191
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3196 SWIG_POINTER_EXCEPTION | 0)) == -1)
3197 SWIG_fail;
3198 if (arg2 == NULL) {
3199 PyErr_SetString(PyExc_TypeError,"null reference");
3200 SWIG_fail;
3201 }
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 {
3210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3211 }
3212 return resultobj;
3213 fail:
3214 return NULL;
3215 }
3216
3217
3218 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3219 PyObject *resultobj;
3220 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3221 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3222 PyObject * obj0 = 0 ;
3223 PyObject * obj1 = 0 ;
3224 char *kwnames[] = {
3225 (char *) "self",(char *) "flags", NULL
3226 };
3227
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3231 if (obj1) {
3232 arg2 = (int)SWIG_As_int(obj1);
3233 if (PyErr_Occurred()) SWIG_fail;
3234 }
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 (arg1)->RequestUserAttention(arg2);
3238
3239 wxPyEndAllowThreads(__tstate);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 Py_INCREF(Py_None); resultobj = Py_None;
3243 return resultobj;
3244 fail:
3245 return NULL;
3246 }
3247
3248
3249 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3250 PyObject *resultobj;
3251 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3252 bool result;
3253 PyObject * obj0 = 0 ;
3254 char *kwnames[] = {
3255 (char *) "self", NULL
3256 };
3257
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 result = (bool)(arg1)->IsActive();
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 {
3269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3270 }
3271 return resultobj;
3272 fail:
3273 return NULL;
3274 }
3275
3276
3277 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3278 PyObject *obj;
3279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3280 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3281 Py_INCREF(obj);
3282 return Py_BuildValue((char *)"");
3283 }
3284 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj;
3286 wxWindow *arg1 = (wxWindow *) 0 ;
3287 int arg2 = (int) (int)-1 ;
3288 wxString const &arg3_defvalue = wxPyEmptyString ;
3289 wxString *arg3 = (wxString *) &arg3_defvalue ;
3290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3292 wxSize const &arg5_defvalue = wxDefaultSize ;
3293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3294 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3295 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3296 wxString *arg7 = (wxString *) &arg7_defvalue ;
3297 wxFrame *result;
3298 bool temp3 = false ;
3299 wxPoint temp4 ;
3300 wxSize temp5 ;
3301 bool temp7 = false ;
3302 PyObject * obj0 = 0 ;
3303 PyObject * obj1 = 0 ;
3304 PyObject * obj2 = 0 ;
3305 PyObject * obj3 = 0 ;
3306 PyObject * obj4 = 0 ;
3307 PyObject * obj5 = 0 ;
3308 PyObject * obj6 = 0 ;
3309 char *kwnames[] = {
3310 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3316 if (obj1) {
3317 arg2 = (int)SWIG_As_int(obj1);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
3320 if (obj2) {
3321 {
3322 arg3 = wxString_in_helper(obj2);
3323 if (arg3 == NULL) SWIG_fail;
3324 temp3 = true;
3325 }
3326 }
3327 if (obj3) {
3328 {
3329 arg4 = &temp4;
3330 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3331 }
3332 }
3333 if (obj4) {
3334 {
3335 arg5 = &temp5;
3336 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3337 }
3338 }
3339 if (obj5) {
3340 arg6 = (long)SWIG_As_long(obj5);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 if (obj6) {
3344 {
3345 arg7 = wxString_in_helper(obj6);
3346 if (arg7 == NULL) SWIG_fail;
3347 temp7 = true;
3348 }
3349 }
3350 {
3351 if (!wxPyCheckForApp()) SWIG_fail;
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3359 {
3360 if (temp3)
3361 delete arg3;
3362 }
3363 {
3364 if (temp7)
3365 delete arg7;
3366 }
3367 return resultobj;
3368 fail:
3369 {
3370 if (temp3)
3371 delete arg3;
3372 }
3373 {
3374 if (temp7)
3375 delete arg7;
3376 }
3377 return NULL;
3378 }
3379
3380
3381 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3382 PyObject *resultobj;
3383 wxFrame *result;
3384 char *kwnames[] = {
3385 NULL
3386 };
3387
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3389 {
3390 if (!wxPyCheckForApp()) SWIG_fail;
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 result = (wxFrame *)new wxFrame();
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3398 return resultobj;
3399 fail:
3400 return NULL;
3401 }
3402
3403
3404 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3405 PyObject *resultobj;
3406 wxFrame *arg1 = (wxFrame *) 0 ;
3407 wxWindow *arg2 = (wxWindow *) 0 ;
3408 int arg3 = (int) (int)-1 ;
3409 wxString const &arg4_defvalue = wxPyEmptyString ;
3410 wxString *arg4 = (wxString *) &arg4_defvalue ;
3411 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3412 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3413 wxSize const &arg6_defvalue = wxDefaultSize ;
3414 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3415 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3416 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3417 wxString *arg8 = (wxString *) &arg8_defvalue ;
3418 bool result;
3419 bool temp4 = false ;
3420 wxPoint temp5 ;
3421 wxSize temp6 ;
3422 bool temp8 = false ;
3423 PyObject * obj0 = 0 ;
3424 PyObject * obj1 = 0 ;
3425 PyObject * obj2 = 0 ;
3426 PyObject * obj3 = 0 ;
3427 PyObject * obj4 = 0 ;
3428 PyObject * obj5 = 0 ;
3429 PyObject * obj6 = 0 ;
3430 PyObject * obj7 = 0 ;
3431 char *kwnames[] = {
3432 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3433 };
3434
3435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3440 if (obj2) {
3441 arg3 = (int)SWIG_As_int(obj2);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 if (obj3) {
3445 {
3446 arg4 = wxString_in_helper(obj3);
3447 if (arg4 == NULL) SWIG_fail;
3448 temp4 = true;
3449 }
3450 }
3451 if (obj4) {
3452 {
3453 arg5 = &temp5;
3454 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3455 }
3456 }
3457 if (obj5) {
3458 {
3459 arg6 = &temp6;
3460 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3461 }
3462 }
3463 if (obj6) {
3464 arg7 = (long)SWIG_As_long(obj6);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
3467 if (obj7) {
3468 {
3469 arg8 = wxString_in_helper(obj7);
3470 if (arg8 == NULL) SWIG_fail;
3471 temp8 = true;
3472 }
3473 }
3474 {
3475 PyThreadState* __tstate = wxPyBeginAllowThreads();
3476 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3477
3478 wxPyEndAllowThreads(__tstate);
3479 if (PyErr_Occurred()) SWIG_fail;
3480 }
3481 {
3482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3483 }
3484 {
3485 if (temp4)
3486 delete arg4;
3487 }
3488 {
3489 if (temp8)
3490 delete arg8;
3491 }
3492 return resultobj;
3493 fail:
3494 {
3495 if (temp4)
3496 delete arg4;
3497 }
3498 {
3499 if (temp8)
3500 delete arg8;
3501 }
3502 return NULL;
3503 }
3504
3505
3506 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3507 PyObject *resultobj;
3508 wxFrame *arg1 = (wxFrame *) 0 ;
3509 wxPoint result;
3510 PyObject * obj0 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 {
3526 wxPoint * resultptr;
3527 resultptr = new wxPoint((wxPoint &) result);
3528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3529 }
3530 return resultobj;
3531 fail:
3532 return NULL;
3533 }
3534
3535
3536 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3537 PyObject *resultobj;
3538 wxFrame *arg1 = (wxFrame *) 0 ;
3539 PyObject * obj0 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "self", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 (arg1)->SendSizeEvent();
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 Py_INCREF(Py_None); resultobj = Py_None;
3555 return resultobj;
3556 fail:
3557 return NULL;
3558 }
3559
3560
3561 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 wxFrame *arg1 = (wxFrame *) 0 ;
3564 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3565 PyObject * obj0 = 0 ;
3566 PyObject * obj1 = 0 ;
3567 char *kwnames[] = {
3568 (char *) "self",(char *) "menubar", NULL
3569 };
3570
3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3574 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3576 {
3577 PyThreadState* __tstate = wxPyBeginAllowThreads();
3578 (arg1)->SetMenuBar(arg2);
3579
3580 wxPyEndAllowThreads(__tstate);
3581 if (PyErr_Occurred()) SWIG_fail;
3582 }
3583 Py_INCREF(Py_None); resultobj = Py_None;
3584 return resultobj;
3585 fail:
3586 return NULL;
3587 }
3588
3589
3590 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3591 PyObject *resultobj;
3592 wxFrame *arg1 = (wxFrame *) 0 ;
3593 wxMenuBar *result;
3594 PyObject * obj0 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "self", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3602 {
3603 PyThreadState* __tstate = wxPyBeginAllowThreads();
3604 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3605
3606 wxPyEndAllowThreads(__tstate);
3607 if (PyErr_Occurred()) SWIG_fail;
3608 }
3609 {
3610 resultobj = wxPyMake_wxObject(result, 0);
3611 }
3612 return resultobj;
3613 fail:
3614 return NULL;
3615 }
3616
3617
3618 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3619 PyObject *resultobj;
3620 wxFrame *arg1 = (wxFrame *) 0 ;
3621 int arg2 ;
3622 bool result;
3623 PyObject * obj0 = 0 ;
3624 PyObject * obj1 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self",(char *) "winid", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3632 arg2 = (int)SWIG_As_int(obj1);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 result = (bool)(arg1)->ProcessCommand(arg2);
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 {
3642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3643 }
3644 return resultobj;
3645 fail:
3646 return NULL;
3647 }
3648
3649
3650 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxFrame *arg1 = (wxFrame *) 0 ;
3653 int arg2 = (int) 1 ;
3654 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3655 int arg4 = (int) 0 ;
3656 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3657 wxString *arg5 = (wxString *) &arg5_defvalue ;
3658 wxStatusBar *result;
3659 bool temp5 = false ;
3660 PyObject * obj0 = 0 ;
3661 PyObject * obj1 = 0 ;
3662 PyObject * obj2 = 0 ;
3663 PyObject * obj3 = 0 ;
3664 PyObject * obj4 = 0 ;
3665 char *kwnames[] = {
3666 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3672 if (obj1) {
3673 arg2 = (int)SWIG_As_int(obj1);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 }
3676 if (obj2) {
3677 arg3 = (long)SWIG_As_long(obj2);
3678 if (PyErr_Occurred()) SWIG_fail;
3679 }
3680 if (obj3) {
3681 arg4 = (int)SWIG_As_int(obj3);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 if (obj4) {
3685 {
3686 arg5 = wxString_in_helper(obj4);
3687 if (arg5 == NULL) SWIG_fail;
3688 temp5 = true;
3689 }
3690 }
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 {
3699 resultobj = wxPyMake_wxObject(result, 0);
3700 }
3701 {
3702 if (temp5)
3703 delete arg5;
3704 }
3705 return resultobj;
3706 fail:
3707 {
3708 if (temp5)
3709 delete arg5;
3710 }
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxFrame *arg1 = (wxFrame *) 0 ;
3718 wxStatusBar *result;
3719 PyObject * obj0 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "self", NULL
3722 };
3723
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 {
3735 resultobj = wxPyMake_wxObject(result, 0);
3736 }
3737 return resultobj;
3738 fail:
3739 return NULL;
3740 }
3741
3742
3743 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3744 PyObject *resultobj;
3745 wxFrame *arg1 = (wxFrame *) 0 ;
3746 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3747 PyObject * obj0 = 0 ;
3748 PyObject * obj1 = 0 ;
3749 char *kwnames[] = {
3750 (char *) "self",(char *) "statBar", NULL
3751 };
3752
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 (arg1)->SetStatusBar(arg2);
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 Py_INCREF(Py_None); resultobj = Py_None;
3766 return resultobj;
3767 fail:
3768 return NULL;
3769 }
3770
3771
3772 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxFrame *arg1 = (wxFrame *) 0 ;
3775 wxString *arg2 = 0 ;
3776 int arg3 = (int) 0 ;
3777 bool temp2 = false ;
3778 PyObject * obj0 = 0 ;
3779 PyObject * obj1 = 0 ;
3780 PyObject * obj2 = 0 ;
3781 char *kwnames[] = {
3782 (char *) "self",(char *) "text",(char *) "number", NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3788 {
3789 arg2 = wxString_in_helper(obj1);
3790 if (arg2 == NULL) SWIG_fail;
3791 temp2 = true;
3792 }
3793 if (obj2) {
3794 arg3 = (int)SWIG_As_int(obj2);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3800
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 Py_INCREF(Py_None); resultobj = Py_None;
3805 {
3806 if (temp2)
3807 delete arg2;
3808 }
3809 return resultobj;
3810 fail:
3811 {
3812 if (temp2)
3813 delete arg2;
3814 }
3815 return NULL;
3816 }
3817
3818
3819 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3820 PyObject *resultobj;
3821 wxFrame *arg1 = (wxFrame *) 0 ;
3822 int arg2 ;
3823 int *arg3 = (int *) 0 ;
3824 PyObject * obj0 = 0 ;
3825 PyObject * obj1 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "self",(char *) "widths", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3833 {
3834 arg2 = PyList_Size(obj1);
3835 arg3 = int_LIST_helper(obj1);
3836 if (arg3 == NULL) SWIG_fail;
3837 }
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 Py_INCREF(Py_None); resultobj = Py_None;
3846 {
3847 if (arg3) delete [] arg3;
3848 }
3849 return resultobj;
3850 fail:
3851 {
3852 if (arg3) delete [] arg3;
3853 }
3854 return NULL;
3855 }
3856
3857
3858 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxFrame *arg1 = (wxFrame *) 0 ;
3861 wxString *arg2 = 0 ;
3862 int arg3 = (int) 0 ;
3863 bool temp2 = false ;
3864 PyObject * obj0 = 0 ;
3865 PyObject * obj1 = 0 ;
3866 PyObject * obj2 = 0 ;
3867 char *kwnames[] = {
3868 (char *) "self",(char *) "text",(char *) "number", NULL
3869 };
3870
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3874 {
3875 arg2 = wxString_in_helper(obj1);
3876 if (arg2 == NULL) SWIG_fail;
3877 temp2 = true;
3878 }
3879 if (obj2) {
3880 arg3 = (int)SWIG_As_int(obj2);
3881 if (PyErr_Occurred()) SWIG_fail;
3882 }
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 Py_INCREF(Py_None); resultobj = Py_None;
3891 {
3892 if (temp2)
3893 delete arg2;
3894 }
3895 return resultobj;
3896 fail:
3897 {
3898 if (temp2)
3899 delete arg2;
3900 }
3901 return NULL;
3902 }
3903
3904
3905 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3906 PyObject *resultobj;
3907 wxFrame *arg1 = (wxFrame *) 0 ;
3908 int arg2 = (int) 0 ;
3909 PyObject * obj0 = 0 ;
3910 PyObject * obj1 = 0 ;
3911 char *kwnames[] = {
3912 (char *) "self",(char *) "number", NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3918 if (obj1) {
3919 arg2 = (int)SWIG_As_int(obj1);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 {
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 (arg1)->PopStatusText(arg2);
3925
3926 wxPyEndAllowThreads(__tstate);
3927 if (PyErr_Occurred()) SWIG_fail;
3928 }
3929 Py_INCREF(Py_None); resultobj = Py_None;
3930 return resultobj;
3931 fail:
3932 return NULL;
3933 }
3934
3935
3936 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3937 PyObject *resultobj;
3938 wxFrame *arg1 = (wxFrame *) 0 ;
3939 int arg2 ;
3940 PyObject * obj0 = 0 ;
3941 PyObject * obj1 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "self",(char *) "n", NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3949 arg2 = (int)SWIG_As_int(obj1);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 {
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 (arg1)->SetStatusBarPane(arg2);
3954
3955 wxPyEndAllowThreads(__tstate);
3956 if (PyErr_Occurred()) SWIG_fail;
3957 }
3958 Py_INCREF(Py_None); resultobj = Py_None;
3959 return resultobj;
3960 fail:
3961 return NULL;
3962 }
3963
3964
3965 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3966 PyObject *resultobj;
3967 wxFrame *arg1 = (wxFrame *) 0 ;
3968 int result;
3969 PyObject * obj0 = 0 ;
3970 char *kwnames[] = {
3971 (char *) "self", NULL
3972 };
3973
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3980
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = SWIG_From_int((int)result);
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxFrame *arg1 = (wxFrame *) 0 ;
3994 long arg2 = (long) -1 ;
3995 int arg3 = (int) -1 ;
3996 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3997 wxString *arg4 = (wxString *) &arg4_defvalue ;
3998 wxToolBar *result;
3999 bool temp4 = false ;
4000 PyObject * obj0 = 0 ;
4001 PyObject * obj1 = 0 ;
4002 PyObject * obj2 = 0 ;
4003 PyObject * obj3 = 0 ;
4004 char *kwnames[] = {
4005 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4006 };
4007
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4011 if (obj1) {
4012 arg2 = (long)SWIG_As_long(obj1);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 if (obj2) {
4016 arg3 = (int)SWIG_As_int(obj2);
4017 if (PyErr_Occurred()) SWIG_fail;
4018 }
4019 if (obj3) {
4020 {
4021 arg4 = wxString_in_helper(obj3);
4022 if (arg4 == NULL) SWIG_fail;
4023 temp4 = true;
4024 }
4025 }
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 {
4034 resultobj = wxPyMake_wxObject(result, 0);
4035 }
4036 {
4037 if (temp4)
4038 delete arg4;
4039 }
4040 return resultobj;
4041 fail:
4042 {
4043 if (temp4)
4044 delete arg4;
4045 }
4046 return NULL;
4047 }
4048
4049
4050 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxFrame *arg1 = (wxFrame *) 0 ;
4053 wxToolBar *result;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 {
4070 resultobj = wxPyMake_wxObject(result, 0);
4071 }
4072 return resultobj;
4073 fail:
4074 return NULL;
4075 }
4076
4077
4078 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4079 PyObject *resultobj;
4080 wxFrame *arg1 = (wxFrame *) 0 ;
4081 wxToolBar *arg2 = (wxToolBar *) 0 ;
4082 PyObject * obj0 = 0 ;
4083 PyObject * obj1 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self",(char *) "toolbar", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 (arg1)->SetToolBar(arg2);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 Py_INCREF(Py_None); resultobj = Py_None;
4101 return resultobj;
4102 fail:
4103 return NULL;
4104 }
4105
4106
4107 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxFrame *arg1 = (wxFrame *) 0 ;
4110 wxString *arg2 = 0 ;
4111 bool arg3 ;
4112 bool temp2 = false ;
4113 PyObject * obj0 = 0 ;
4114 PyObject * obj1 = 0 ;
4115 PyObject * obj2 = 0 ;
4116 char *kwnames[] = {
4117 (char *) "self",(char *) "text",(char *) "show", NULL
4118 };
4119
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4123 {
4124 arg2 = wxString_in_helper(obj1);
4125 if (arg2 == NULL) SWIG_fail;
4126 temp2 = true;
4127 }
4128 arg3 = (bool)SWIG_As_bool(obj2);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 Py_INCREF(Py_None); resultobj = Py_None;
4138 {
4139 if (temp2)
4140 delete arg2;
4141 }
4142 return resultobj;
4143 fail:
4144 {
4145 if (temp2)
4146 delete arg2;
4147 }
4148 return NULL;
4149 }
4150
4151
4152 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4153 PyObject *resultobj;
4154 wxFrame *arg1 = (wxFrame *) 0 ;
4155 wxMenu *arg2 = (wxMenu *) NULL ;
4156 PyObject * obj0 = 0 ;
4157 PyObject * obj1 = 0 ;
4158 char *kwnames[] = {
4159 (char *) "self",(char *) "menu", NULL
4160 };
4161
4162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4165 if (obj1) {
4166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4168 }
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 (arg1)->DoMenuUpdates(arg2);
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 Py_INCREF(Py_None); resultobj = Py_None;
4177 return resultobj;
4178 fail:
4179 return NULL;
4180 }
4181
4182
4183 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4184 PyObject *resultobj;
4185 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4186 wxVisualAttributes result;
4187 PyObject * obj0 = 0 ;
4188 char *kwnames[] = {
4189 (char *) "variant", NULL
4190 };
4191
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4193 if (obj0) {
4194 arg1 = (int)SWIG_As_int(obj0);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 {
4198 if (!wxPyCheckForApp()) SWIG_fail;
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 {
4206 wxVisualAttributes * resultptr;
4207 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4209 }
4210 return resultobj;
4211 fail:
4212 return NULL;
4213 }
4214
4215
4216 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4217 PyObject *obj;
4218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4219 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4220 Py_INCREF(obj);
4221 return Py_BuildValue((char *)"");
4222 }
4223 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj;
4225 wxWindow *arg1 = (wxWindow *) 0 ;
4226 int arg2 = (int) (int)-1 ;
4227 wxString const &arg3_defvalue = wxPyEmptyString ;
4228 wxString *arg3 = (wxString *) &arg3_defvalue ;
4229 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4230 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4231 wxSize const &arg5_defvalue = wxDefaultSize ;
4232 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4233 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4234 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4235 wxString *arg7 = (wxString *) &arg7_defvalue ;
4236 wxDialog *result;
4237 bool temp3 = false ;
4238 wxPoint temp4 ;
4239 wxSize temp5 ;
4240 bool temp7 = false ;
4241 PyObject * obj0 = 0 ;
4242 PyObject * obj1 = 0 ;
4243 PyObject * obj2 = 0 ;
4244 PyObject * obj3 = 0 ;
4245 PyObject * obj4 = 0 ;
4246 PyObject * obj5 = 0 ;
4247 PyObject * obj6 = 0 ;
4248 char *kwnames[] = {
4249 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4250 };
4251
4252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4255 if (obj1) {
4256 arg2 = (int)SWIG_As_int(obj1);
4257 if (PyErr_Occurred()) SWIG_fail;
4258 }
4259 if (obj2) {
4260 {
4261 arg3 = wxString_in_helper(obj2);
4262 if (arg3 == NULL) SWIG_fail;
4263 temp3 = true;
4264 }
4265 }
4266 if (obj3) {
4267 {
4268 arg4 = &temp4;
4269 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4270 }
4271 }
4272 if (obj4) {
4273 {
4274 arg5 = &temp5;
4275 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4276 }
4277 }
4278 if (obj5) {
4279 arg6 = (long)SWIG_As_long(obj5);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 if (obj6) {
4283 {
4284 arg7 = wxString_in_helper(obj6);
4285 if (arg7 == NULL) SWIG_fail;
4286 temp7 = true;
4287 }
4288 }
4289 {
4290 if (!wxPyCheckForApp()) SWIG_fail;
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4293
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4298 {
4299 if (temp3)
4300 delete arg3;
4301 }
4302 {
4303 if (temp7)
4304 delete arg7;
4305 }
4306 return resultobj;
4307 fail:
4308 {
4309 if (temp3)
4310 delete arg3;
4311 }
4312 {
4313 if (temp7)
4314 delete arg7;
4315 }
4316 return NULL;
4317 }
4318
4319
4320 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj;
4322 wxDialog *result;
4323 char *kwnames[] = {
4324 NULL
4325 };
4326
4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4328 {
4329 if (!wxPyCheckForApp()) SWIG_fail;
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = (wxDialog *)new wxDialog();
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4337 return resultobj;
4338 fail:
4339 return NULL;
4340 }
4341
4342
4343 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxDialog *arg1 = (wxDialog *) 0 ;
4346 wxWindow *arg2 = (wxWindow *) 0 ;
4347 int arg3 = (int) (int)-1 ;
4348 wxString const &arg4_defvalue = wxPyEmptyString ;
4349 wxString *arg4 = (wxString *) &arg4_defvalue ;
4350 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4351 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4352 wxSize const &arg6_defvalue = wxDefaultSize ;
4353 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4354 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4355 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4356 wxString *arg8 = (wxString *) &arg8_defvalue ;
4357 bool result;
4358 bool temp4 = false ;
4359 wxPoint temp5 ;
4360 wxSize temp6 ;
4361 bool temp8 = false ;
4362 PyObject * obj0 = 0 ;
4363 PyObject * obj1 = 0 ;
4364 PyObject * obj2 = 0 ;
4365 PyObject * obj3 = 0 ;
4366 PyObject * obj4 = 0 ;
4367 PyObject * obj5 = 0 ;
4368 PyObject * obj6 = 0 ;
4369 PyObject * obj7 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4379 if (obj2) {
4380 arg3 = (int)SWIG_As_int(obj2);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 if (obj3) {
4384 {
4385 arg4 = wxString_in_helper(obj3);
4386 if (arg4 == NULL) SWIG_fail;
4387 temp4 = true;
4388 }
4389 }
4390 if (obj4) {
4391 {
4392 arg5 = &temp5;
4393 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4394 }
4395 }
4396 if (obj5) {
4397 {
4398 arg6 = &temp6;
4399 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4400 }
4401 }
4402 if (obj6) {
4403 arg7 = (long)SWIG_As_long(obj6);
4404 if (PyErr_Occurred()) SWIG_fail;
4405 }
4406 if (obj7) {
4407 {
4408 arg8 = wxString_in_helper(obj7);
4409 if (arg8 == NULL) SWIG_fail;
4410 temp8 = true;
4411 }
4412 }
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 {
4421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4422 }
4423 {
4424 if (temp4)
4425 delete arg4;
4426 }
4427 {
4428 if (temp8)
4429 delete arg8;
4430 }
4431 return resultobj;
4432 fail:
4433 {
4434 if (temp4)
4435 delete arg4;
4436 }
4437 {
4438 if (temp8)
4439 delete arg8;
4440 }
4441 return NULL;
4442 }
4443
4444
4445 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4446 PyObject *resultobj;
4447 wxDialog *arg1 = (wxDialog *) 0 ;
4448 int arg2 ;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self",(char *) "returnCode", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4458 arg2 = (int)SWIG_As_int(obj1);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 {
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 (arg1)->SetReturnCode(arg2);
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 Py_INCREF(Py_None); resultobj = Py_None;
4468 return resultobj;
4469 fail:
4470 return NULL;
4471 }
4472
4473
4474 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj;
4476 wxDialog *arg1 = (wxDialog *) 0 ;
4477 int result;
4478 PyObject * obj0 = 0 ;
4479 char *kwnames[] = {
4480 (char *) "self", NULL
4481 };
4482
4483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
4493 resultobj = SWIG_From_int((int)result);
4494 return resultobj;
4495 fail:
4496 return NULL;
4497 }
4498
4499
4500 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4501 PyObject *resultobj;
4502 wxDialog *arg1 = (wxDialog *) 0 ;
4503 wxString *arg2 = 0 ;
4504 wxSizer *result;
4505 bool temp2 = false ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self",(char *) "message", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4515 {
4516 arg2 = wxString_in_helper(obj1);
4517 if (arg2 == NULL) SWIG_fail;
4518 temp2 = true;
4519 }
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 {
4528 resultobj = wxPyMake_wxSizer(result, 0);
4529 }
4530 {
4531 if (temp2)
4532 delete arg2;
4533 }
4534 return resultobj;
4535 fail:
4536 {
4537 if (temp2)
4538 delete arg2;
4539 }
4540 return NULL;
4541 }
4542
4543
4544 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4545 PyObject *resultobj;
4546 wxDialog *arg1 = (wxDialog *) 0 ;
4547 long arg2 ;
4548 wxSizer *result;
4549 PyObject * obj0 = 0 ;
4550 PyObject * obj1 = 0 ;
4551 char *kwnames[] = {
4552 (char *) "self",(char *) "flags", NULL
4553 };
4554
4555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4558 arg2 = (long)SWIG_As_long(obj1);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4563
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 {
4568 resultobj = wxPyMake_wxSizer(result, 0);
4569 }
4570 return resultobj;
4571 fail:
4572 return NULL;
4573 }
4574
4575
4576 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4577 PyObject *resultobj;
4578 wxDialog *arg1 = (wxDialog *) 0 ;
4579 bool result;
4580 PyObject * obj0 = 0 ;
4581 char *kwnames[] = {
4582 (char *) "self", NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4588 {
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 result = (bool)((wxDialog const *)arg1)->IsModal();
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 {
4596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4597 }
4598 return resultobj;
4599 fail:
4600 return NULL;
4601 }
4602
4603
4604 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4605 PyObject *resultobj;
4606 wxDialog *arg1 = (wxDialog *) 0 ;
4607 int result;
4608 PyObject * obj0 = 0 ;
4609 char *kwnames[] = {
4610 (char *) "self", NULL
4611 };
4612
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 result = (int)(arg1)->ShowModal();
4619
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 resultobj = SWIG_From_int((int)result);
4624 return resultobj;
4625 fail:
4626 return NULL;
4627 }
4628
4629
4630 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxDialog *arg1 = (wxDialog *) 0 ;
4633 int arg2 ;
4634 PyObject * obj0 = 0 ;
4635 PyObject * obj1 = 0 ;
4636 char *kwnames[] = {
4637 (char *) "self",(char *) "retCode", NULL
4638 };
4639
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4643 arg2 = (int)SWIG_As_int(obj1);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 (arg1)->EndModal(arg2);
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 Py_INCREF(Py_None); resultobj = Py_None;
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj;
4661 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4662 wxVisualAttributes result;
4663 PyObject * obj0 = 0 ;
4664 char *kwnames[] = {
4665 (char *) "variant", NULL
4666 };
4667
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4669 if (obj0) {
4670 arg1 = (int)SWIG_As_int(obj0);
4671 if (PyErr_Occurred()) SWIG_fail;
4672 }
4673 {
4674 if (!wxPyCheckForApp()) SWIG_fail;
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 {
4682 wxVisualAttributes * resultptr;
4683 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4685 }
4686 return resultobj;
4687 fail:
4688 return NULL;
4689 }
4690
4691
4692 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4693 PyObject *obj;
4694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4695 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4696 Py_INCREF(obj);
4697 return Py_BuildValue((char *)"");
4698 }
4699 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4700 PyObject *resultobj;
4701 wxWindow *arg1 = (wxWindow *) 0 ;
4702 int arg2 = (int) (int)-1 ;
4703 wxString const &arg3_defvalue = wxPyEmptyString ;
4704 wxString *arg3 = (wxString *) &arg3_defvalue ;
4705 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4706 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4707 wxSize const &arg5_defvalue = wxDefaultSize ;
4708 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4709 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4710 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4711 wxString *arg7 = (wxString *) &arg7_defvalue ;
4712 wxMiniFrame *result;
4713 bool temp3 = false ;
4714 wxPoint temp4 ;
4715 wxSize temp5 ;
4716 bool temp7 = false ;
4717 PyObject * obj0 = 0 ;
4718 PyObject * obj1 = 0 ;
4719 PyObject * obj2 = 0 ;
4720 PyObject * obj3 = 0 ;
4721 PyObject * obj4 = 0 ;
4722 PyObject * obj5 = 0 ;
4723 PyObject * obj6 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4731 if (obj1) {
4732 arg2 = (int)SWIG_As_int(obj1);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 if (obj2) {
4736 {
4737 arg3 = wxString_in_helper(obj2);
4738 if (arg3 == NULL) SWIG_fail;
4739 temp3 = true;
4740 }
4741 }
4742 if (obj3) {
4743 {
4744 arg4 = &temp4;
4745 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4746 }
4747 }
4748 if (obj4) {
4749 {
4750 arg5 = &temp5;
4751 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4752 }
4753 }
4754 if (obj5) {
4755 arg6 = (long)SWIG_As_long(obj5);
4756 if (PyErr_Occurred()) SWIG_fail;
4757 }
4758 if (obj6) {
4759 {
4760 arg7 = wxString_in_helper(obj6);
4761 if (arg7 == NULL) SWIG_fail;
4762 temp7 = true;
4763 }
4764 }
4765 {
4766 if (!wxPyCheckForApp()) SWIG_fail;
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4774 {
4775 if (temp3)
4776 delete arg3;
4777 }
4778 {
4779 if (temp7)
4780 delete arg7;
4781 }
4782 return resultobj;
4783 fail:
4784 {
4785 if (temp3)
4786 delete arg3;
4787 }
4788 {
4789 if (temp7)
4790 delete arg7;
4791 }
4792 return NULL;
4793 }
4794
4795
4796 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4797 PyObject *resultobj;
4798 wxMiniFrame *result;
4799 char *kwnames[] = {
4800 NULL
4801 };
4802
4803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4804 {
4805 if (!wxPyCheckForApp()) SWIG_fail;
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (wxMiniFrame *)new wxMiniFrame();
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4813 return resultobj;
4814 fail:
4815 return NULL;
4816 }
4817
4818
4819 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4822 wxWindow *arg2 = (wxWindow *) 0 ;
4823 int arg3 = (int) (int)-1 ;
4824 wxString const &arg4_defvalue = wxPyEmptyString ;
4825 wxString *arg4 = (wxString *) &arg4_defvalue ;
4826 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4827 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4828 wxSize const &arg6_defvalue = wxDefaultSize ;
4829 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4830 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4831 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4832 wxString *arg8 = (wxString *) &arg8_defvalue ;
4833 bool result;
4834 bool temp4 = false ;
4835 wxPoint temp5 ;
4836 wxSize temp6 ;
4837 bool temp8 = false ;
4838 PyObject * obj0 = 0 ;
4839 PyObject * obj1 = 0 ;
4840 PyObject * obj2 = 0 ;
4841 PyObject * obj3 = 0 ;
4842 PyObject * obj4 = 0 ;
4843 PyObject * obj5 = 0 ;
4844 PyObject * obj6 = 0 ;
4845 PyObject * obj7 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4855 if (obj2) {
4856 arg3 = (int)SWIG_As_int(obj2);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 if (obj3) {
4860 {
4861 arg4 = wxString_in_helper(obj3);
4862 if (arg4 == NULL) SWIG_fail;
4863 temp4 = true;
4864 }
4865 }
4866 if (obj4) {
4867 {
4868 arg5 = &temp5;
4869 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4870 }
4871 }
4872 if (obj5) {
4873 {
4874 arg6 = &temp6;
4875 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4876 }
4877 }
4878 if (obj6) {
4879 arg7 = (long)SWIG_As_long(obj6);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 if (obj7) {
4883 {
4884 arg8 = wxString_in_helper(obj7);
4885 if (arg8 == NULL) SWIG_fail;
4886 temp8 = true;
4887 }
4888 }
4889 {
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4892
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 {
4897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4898 }
4899 {
4900 if (temp4)
4901 delete arg4;
4902 }
4903 {
4904 if (temp8)
4905 delete arg8;
4906 }
4907 return resultobj;
4908 fail:
4909 {
4910 if (temp4)
4911 delete arg4;
4912 }
4913 {
4914 if (temp8)
4915 delete arg8;
4916 }
4917 return NULL;
4918 }
4919
4920
4921 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4922 PyObject *obj;
4923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4924 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4925 Py_INCREF(obj);
4926 return Py_BuildValue((char *)"");
4927 }
4928 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4929 PyObject *resultobj;
4930 wxBitmap *arg1 = 0 ;
4931 wxWindow *arg2 = (wxWindow *) 0 ;
4932 int arg3 ;
4933 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4934 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4935 wxSize const &arg5_defvalue = wxDefaultSize ;
4936 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4937 long arg6 = (long) wxNO_BORDER ;
4938 wxSplashScreenWindow *result;
4939 wxPoint temp4 ;
4940 wxSize temp5 ;
4941 PyObject * obj0 = 0 ;
4942 PyObject * obj1 = 0 ;
4943 PyObject * obj2 = 0 ;
4944 PyObject * obj3 = 0 ;
4945 PyObject * obj4 = 0 ;
4946 PyObject * obj5 = 0 ;
4947 char *kwnames[] = {
4948 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4949 };
4950
4951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4953 SWIG_POINTER_EXCEPTION | 0)) == -1)
4954 SWIG_fail;
4955 if (arg1 == NULL) {
4956 PyErr_SetString(PyExc_TypeError,"null reference");
4957 SWIG_fail;
4958 }
4959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4961 arg3 = (int)SWIG_As_int(obj2);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 if (obj3) {
4964 {
4965 arg4 = &temp4;
4966 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4967 }
4968 }
4969 if (obj4) {
4970 {
4971 arg5 = &temp5;
4972 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4973 }
4974 }
4975 if (obj5) {
4976 arg6 = (long)SWIG_As_long(obj5);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 {
4980 if (!wxPyCheckForApp()) SWIG_fail;
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4988 return resultobj;
4989 fail:
4990 return NULL;
4991 }
4992
4993
4994 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4995 PyObject *resultobj;
4996 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4997 wxBitmap *arg2 = 0 ;
4998 PyObject * obj0 = 0 ;
4999 PyObject * obj1 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "self",(char *) "bitmap", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5008 SWIG_POINTER_EXCEPTION | 0)) == -1)
5009 SWIG_fail;
5010 if (arg2 == NULL) {
5011 PyErr_SetString(PyExc_TypeError,"null reference");
5012 SWIG_fail;
5013 }
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 Py_INCREF(Py_None); resultobj = Py_None;
5022 return resultobj;
5023 fail:
5024 return NULL;
5025 }
5026
5027
5028 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5031 wxBitmap *result;
5032 PyObject * obj0 = 0 ;
5033 char *kwnames[] = {
5034 (char *) "self", NULL
5035 };
5036
5037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 {
5043 wxBitmap &_result_ref = (arg1)->GetBitmap();
5044 result = (wxBitmap *) &_result_ref;
5045 }
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 {
5051 wxBitmap* resultptr = new wxBitmap(*result);
5052 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5053 }
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5061 PyObject *obj;
5062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5063 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5064 Py_INCREF(obj);
5065 return Py_BuildValue((char *)"");
5066 }
5067 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxBitmap *arg1 = 0 ;
5070 long arg2 ;
5071 int arg3 ;
5072 wxWindow *arg4 = (wxWindow *) 0 ;
5073 int arg5 = (int) -1 ;
5074 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5075 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5076 wxSize const &arg7_defvalue = wxDefaultSize ;
5077 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5078 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5079 wxSplashScreen *result;
5080 wxPoint temp6 ;
5081 wxSize temp7 ;
5082 PyObject * obj0 = 0 ;
5083 PyObject * obj1 = 0 ;
5084 PyObject * obj2 = 0 ;
5085 PyObject * obj3 = 0 ;
5086 PyObject * obj4 = 0 ;
5087 PyObject * obj5 = 0 ;
5088 PyObject * obj6 = 0 ;
5089 PyObject * obj7 = 0 ;
5090 char *kwnames[] = {
5091 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5092 };
5093
5094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5096 SWIG_POINTER_EXCEPTION | 0)) == -1)
5097 SWIG_fail;
5098 if (arg1 == NULL) {
5099 PyErr_SetString(PyExc_TypeError,"null reference");
5100 SWIG_fail;
5101 }
5102 arg2 = (long)SWIG_As_long(obj1);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 arg3 = (int)SWIG_As_int(obj2);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5108 if (obj4) {
5109 arg5 = (int)SWIG_As_int(obj4);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 if (obj5) {
5113 {
5114 arg6 = &temp6;
5115 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5116 }
5117 }
5118 if (obj6) {
5119 {
5120 arg7 = &temp7;
5121 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5122 }
5123 }
5124 if (obj7) {
5125 arg8 = (long)SWIG_As_long(obj7);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 {
5129 if (!wxPyCheckForApp()) SWIG_fail;
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5132
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5137 return resultobj;
5138 fail:
5139 return NULL;
5140 }
5141
5142
5143 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5144 PyObject *resultobj;
5145 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5146 long result;
5147 PyObject * obj0 = 0 ;
5148 char *kwnames[] = {
5149 (char *) "self", NULL
5150 };
5151
5152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5158
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 resultobj = SWIG_From_long((long)result);
5163 return resultobj;
5164 fail:
5165 return NULL;
5166 }
5167
5168
5169 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5170 PyObject *resultobj;
5171 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5172 wxSplashScreenWindow *result;
5173 PyObject * obj0 = 0 ;
5174 char *kwnames[] = {
5175 (char *) "self", NULL
5176 };
5177
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5184
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5189 return resultobj;
5190 fail:
5191 return NULL;
5192 }
5193
5194
5195 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5196 PyObject *resultobj;
5197 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5198 int result;
5199 PyObject * obj0 = 0 ;
5200 char *kwnames[] = {
5201 (char *) "self", NULL
5202 };
5203
5204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 resultobj = SWIG_From_int((int)result);
5215 return resultobj;
5216 fail:
5217 return NULL;
5218 }
5219
5220
5221 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5222 PyObject *obj;
5223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5224 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5225 Py_INCREF(obj);
5226 return Py_BuildValue((char *)"");
5227 }
5228 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5229 PyObject *resultobj;
5230 wxWindow *arg1 = (wxWindow *) 0 ;
5231 int arg2 = (int) -1 ;
5232 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
5233 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5234 wxString *arg4 = (wxString *) &arg4_defvalue ;
5235 wxStatusBar *result;
5236 bool temp4 = false ;
5237 PyObject * obj0 = 0 ;
5238 PyObject * obj1 = 0 ;
5239 PyObject * obj2 = 0 ;
5240 PyObject * obj3 = 0 ;
5241 char *kwnames[] = {
5242 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5243 };
5244
5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5248 if (obj1) {
5249 arg2 = (int)SWIG_As_int(obj1);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 if (obj2) {
5253 arg3 = (long)SWIG_As_long(obj2);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 if (obj3) {
5257 {
5258 arg4 = wxString_in_helper(obj3);
5259 if (arg4 == NULL) SWIG_fail;
5260 temp4 = true;
5261 }
5262 }
5263 {
5264 if (!wxPyCheckForApp()) SWIG_fail;
5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
5266 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5267
5268 wxPyEndAllowThreads(__tstate);
5269 if (PyErr_Occurred()) SWIG_fail;
5270 }
5271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5272 {
5273 if (temp4)
5274 delete arg4;
5275 }
5276 return resultobj;
5277 fail:
5278 {
5279 if (temp4)
5280 delete arg4;
5281 }
5282 return NULL;
5283 }
5284
5285
5286 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj;
5288 wxStatusBar *result;
5289 char *kwnames[] = {
5290 NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5294 {
5295 if (!wxPyCheckForApp()) SWIG_fail;
5296 PyThreadState* __tstate = wxPyBeginAllowThreads();
5297 result = (wxStatusBar *)new wxStatusBar();
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
5302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5303 return resultobj;
5304 fail:
5305 return NULL;
5306 }
5307
5308
5309 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj;
5311 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5312 wxWindow *arg2 = (wxWindow *) 0 ;
5313 int arg3 = (int) -1 ;
5314 long arg4 = (long) wxST_SIZEGRIP ;
5315 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5316 wxString *arg5 = (wxString *) &arg5_defvalue ;
5317 bool result;
5318 bool temp5 = false ;
5319 PyObject * obj0 = 0 ;
5320 PyObject * obj1 = 0 ;
5321 PyObject * obj2 = 0 ;
5322 PyObject * obj3 = 0 ;
5323 PyObject * obj4 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5333 if (obj2) {
5334 arg3 = (int)SWIG_As_int(obj2);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 if (obj3) {
5338 arg4 = (long)SWIG_As_long(obj3);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 if (obj4) {
5342 {
5343 arg5 = wxString_in_helper(obj4);
5344 if (arg5 == NULL) SWIG_fail;
5345 temp5 = true;
5346 }
5347 }
5348 {
5349 PyThreadState* __tstate = wxPyBeginAllowThreads();
5350 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5351
5352 wxPyEndAllowThreads(__tstate);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
5355 {
5356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5357 }
5358 {
5359 if (temp5)
5360 delete arg5;
5361 }
5362 return resultobj;
5363 fail:
5364 {
5365 if (temp5)
5366 delete arg5;
5367 }
5368 return NULL;
5369 }
5370
5371
5372 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5375 int arg2 = (int) 1 ;
5376 PyObject * obj0 = 0 ;
5377 PyObject * obj1 = 0 ;
5378 char *kwnames[] = {
5379 (char *) "self",(char *) "number", NULL
5380 };
5381
5382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5385 if (obj1) {
5386 arg2 = (int)SWIG_As_int(obj1);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 (arg1)->SetFieldsCount(arg2);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 Py_INCREF(Py_None); resultobj = Py_None;
5397 return resultobj;
5398 fail:
5399 return NULL;
5400 }
5401
5402
5403 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5404 PyObject *resultobj;
5405 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5406 int result;
5407 PyObject * obj0 = 0 ;
5408 char *kwnames[] = {
5409 (char *) "self", NULL
5410 };
5411
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 resultobj = SWIG_From_int((int)result);
5423 return resultobj;
5424 fail:
5425 return NULL;
5426 }
5427
5428
5429 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5430 PyObject *resultobj;
5431 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5432 wxString *arg2 = 0 ;
5433 int arg3 = (int) 0 ;
5434 bool temp2 = false ;
5435 PyObject * obj0 = 0 ;
5436 PyObject * obj1 = 0 ;
5437 PyObject * obj2 = 0 ;
5438 char *kwnames[] = {
5439 (char *) "self",(char *) "text",(char *) "number", NULL
5440 };
5441
5442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5445 {
5446 arg2 = wxString_in_helper(obj1);
5447 if (arg2 == NULL) SWIG_fail;
5448 temp2 = true;
5449 }
5450 if (obj2) {
5451 arg3 = (int)SWIG_As_int(obj2);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 Py_INCREF(Py_None); resultobj = Py_None;
5462 {
5463 if (temp2)
5464 delete arg2;
5465 }
5466 return resultobj;
5467 fail:
5468 {
5469 if (temp2)
5470 delete arg2;
5471 }
5472 return NULL;
5473 }
5474
5475
5476 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5477 PyObject *resultobj;
5478 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5479 int arg2 = (int) 0 ;
5480 wxString result;
5481 PyObject * obj0 = 0 ;
5482 PyObject * obj1 = 0 ;
5483 char *kwnames[] = {
5484 (char *) "self",(char *) "number", NULL
5485 };
5486
5487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5490 if (obj1) {
5491 arg2 = (int)SWIG_As_int(obj1);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5497
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 {
5502 #if wxUSE_UNICODE
5503 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5504 #else
5505 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5506 #endif
5507 }
5508 return resultobj;
5509 fail:
5510 return NULL;
5511 }
5512
5513
5514 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj;
5516 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5517 wxString *arg2 = 0 ;
5518 int arg3 = (int) 0 ;
5519 bool temp2 = false ;
5520 PyObject * obj0 = 0 ;
5521 PyObject * obj1 = 0 ;
5522 PyObject * obj2 = 0 ;
5523 char *kwnames[] = {
5524 (char *) "self",(char *) "text",(char *) "number", NULL
5525 };
5526
5527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5530 {
5531 arg2 = wxString_in_helper(obj1);
5532 if (arg2 == NULL) SWIG_fail;
5533 temp2 = true;
5534 }
5535 if (obj2) {
5536 arg3 = (int)SWIG_As_int(obj2);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5542
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 Py_INCREF(Py_None); resultobj = Py_None;
5547 {
5548 if (temp2)
5549 delete arg2;
5550 }
5551 return resultobj;
5552 fail:
5553 {
5554 if (temp2)
5555 delete arg2;
5556 }
5557 return NULL;
5558 }
5559
5560
5561 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj;
5563 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5564 int arg2 = (int) 0 ;
5565 PyObject * obj0 = 0 ;
5566 PyObject * obj1 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "self",(char *) "number", NULL
5569 };
5570
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5574 if (obj1) {
5575 arg2 = (int)SWIG_As_int(obj1);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 (arg1)->PopStatusText(arg2);
5581
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 Py_INCREF(Py_None); resultobj = Py_None;
5586 return resultobj;
5587 fail:
5588 return NULL;
5589 }
5590
5591
5592 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj;
5594 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5595 int arg2 ;
5596 int *arg3 = (int *) 0 ;
5597 PyObject * obj0 = 0 ;
5598 PyObject * obj1 = 0 ;
5599 char *kwnames[] = {
5600 (char *) "self",(char *) "widths", NULL
5601 };
5602
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5606 {
5607 arg2 = PyList_Size(obj1);
5608 arg3 = int_LIST_helper(obj1);
5609 if (arg3 == NULL) SWIG_fail;
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 Py_INCREF(Py_None); resultobj = Py_None;
5619 {
5620 if (arg3) delete [] arg3;
5621 }
5622 return resultobj;
5623 fail:
5624 {
5625 if (arg3) delete [] arg3;
5626 }
5627 return NULL;
5628 }
5629
5630
5631 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5634 int arg2 ;
5635 int *arg3 = (int *) 0 ;
5636 PyObject * obj0 = 0 ;
5637 PyObject * obj1 = 0 ;
5638 char *kwnames[] = {
5639 (char *) "self",(char *) "styles", NULL
5640 };
5641
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5645 {
5646 arg2 = PyList_Size(obj1);
5647 arg3 = int_LIST_helper(obj1);
5648 if (arg3 == NULL) SWIG_fail;
5649 }
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 Py_INCREF(Py_None); resultobj = Py_None;
5658 {
5659 if (arg3) delete [] arg3;
5660 }
5661 return resultobj;
5662 fail:
5663 {
5664 if (arg3) delete [] arg3;
5665 }
5666 return NULL;
5667 }
5668
5669
5670 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5671 PyObject *resultobj;
5672 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5673 int arg2 ;
5674 wxRect result;
5675 PyObject * obj0 = 0 ;
5676 PyObject * obj1 = 0 ;
5677 char *kwnames[] = {
5678 (char *) "self",(char *) "i", NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",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 result = wxStatusBar_GetFieldRect(arg1,arg2);
5689
5690 wxPyEndAllowThreads(__tstate);
5691 if (PyErr_Occurred()) SWIG_fail;
5692 }
5693 {
5694 wxRect * resultptr;
5695 resultptr = new wxRect((wxRect &) result);
5696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5697 }
5698 return resultobj;
5699 fail:
5700 return NULL;
5701 }
5702
5703
5704 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5705 PyObject *resultobj;
5706 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5707 int arg2 ;
5708 PyObject * obj0 = 0 ;
5709 PyObject * obj1 = 0 ;
5710 char *kwnames[] = {
5711 (char *) "self",(char *) "height", NULL
5712 };
5713
5714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5717 arg2 = (int)SWIG_As_int(obj1);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 (arg1)->SetMinHeight(arg2);
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 Py_INCREF(Py_None); resultobj = Py_None;
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5736 int result;
5737 PyObject * obj0 = 0 ;
5738 char *kwnames[] = {
5739 (char *) "self", NULL
5740 };
5741
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 resultobj = SWIG_From_int((int)result);
5753 return resultobj;
5754 fail:
5755 return NULL;
5756 }
5757
5758
5759 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5762 int result;
5763 PyObject * obj0 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 resultobj = SWIG_From_int((int)result);
5779 return resultobj;
5780 fail:
5781 return NULL;
5782 }
5783
5784
5785 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5786 PyObject *resultobj;
5787 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5788 wxVisualAttributes result;
5789 PyObject * obj0 = 0 ;
5790 char *kwnames[] = {
5791 (char *) "variant", NULL
5792 };
5793
5794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5795 if (obj0) {
5796 arg1 = (int)SWIG_As_int(obj0);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 {
5800 if (!wxPyCheckForApp()) SWIG_fail;
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 {
5808 wxVisualAttributes * resultptr;
5809 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5811 }
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5819 PyObject *obj;
5820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5821 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5822 Py_INCREF(obj);
5823 return Py_BuildValue((char *)"");
5824 }
5825 static int _wrap_SplitterNameStr_set(PyObject *) {
5826 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5827 return 1;
5828 }
5829
5830
5831 static PyObject *_wrap_SplitterNameStr_get() {
5832 PyObject *pyobj;
5833
5834 {
5835 #if wxUSE_UNICODE
5836 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5837 #else
5838 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5839 #endif
5840 }
5841 return pyobj;
5842 }
5843
5844
5845 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5846 PyObject *resultobj;
5847 wxWindow *arg1 = (wxWindow *) 0 ;
5848 int arg2 = (int) -1 ;
5849 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5850 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5851 wxSize const &arg4_defvalue = wxDefaultSize ;
5852 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5853 long arg5 = (long) wxSP_3D ;
5854 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5855 wxString *arg6 = (wxString *) &arg6_defvalue ;
5856 wxSplitterWindow *result;
5857 wxPoint temp3 ;
5858 wxSize temp4 ;
5859 bool temp6 = false ;
5860 PyObject * obj0 = 0 ;
5861 PyObject * obj1 = 0 ;
5862 PyObject * obj2 = 0 ;
5863 PyObject * obj3 = 0 ;
5864 PyObject * obj4 = 0 ;
5865 PyObject * obj5 = 0 ;
5866 char *kwnames[] = {
5867 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5868 };
5869
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5873 if (obj1) {
5874 arg2 = (int)SWIG_As_int(obj1);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 if (obj2) {
5878 {
5879 arg3 = &temp3;
5880 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5881 }
5882 }
5883 if (obj3) {
5884 {
5885 arg4 = &temp4;
5886 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5887 }
5888 }
5889 if (obj4) {
5890 arg5 = (long)SWIG_As_long(obj4);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 if (obj5) {
5894 {
5895 arg6 = wxString_in_helper(obj5);
5896 if (arg6 == NULL) SWIG_fail;
5897 temp6 = true;
5898 }
5899 }
5900 {
5901 if (!wxPyCheckForApp()) SWIG_fail;
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5909 {
5910 if (temp6)
5911 delete arg6;
5912 }
5913 return resultobj;
5914 fail:
5915 {
5916 if (temp6)
5917 delete arg6;
5918 }
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxSplitterWindow *result;
5926 char *kwnames[] = {
5927 NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5931 {
5932 if (!wxPyCheckForApp()) SWIG_fail;
5933 PyThreadState* __tstate = wxPyBeginAllowThreads();
5934 result = (wxSplitterWindow *)new wxSplitterWindow();
5935
5936 wxPyEndAllowThreads(__tstate);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 }
5939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5940 return resultobj;
5941 fail:
5942 return NULL;
5943 }
5944
5945
5946 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj;
5948 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5949 wxWindow *arg2 = (wxWindow *) 0 ;
5950 int arg3 = (int) -1 ;
5951 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5952 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5953 wxSize const &arg5_defvalue = wxDefaultSize ;
5954 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5955 long arg6 = (long) wxSP_3D ;
5956 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5957 wxString *arg7 = (wxString *) &arg7_defvalue ;
5958 bool result;
5959 wxPoint temp4 ;
5960 wxSize temp5 ;
5961 bool temp7 = false ;
5962 PyObject * obj0 = 0 ;
5963 PyObject * obj1 = 0 ;
5964 PyObject * obj2 = 0 ;
5965 PyObject * obj3 = 0 ;
5966 PyObject * obj4 = 0 ;
5967 PyObject * obj5 = 0 ;
5968 PyObject * obj6 = 0 ;
5969 char *kwnames[] = {
5970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5971 };
5972
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5978 if (obj2) {
5979 arg3 = (int)SWIG_As_int(obj2);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 if (obj3) {
5983 {
5984 arg4 = &temp4;
5985 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5986 }
5987 }
5988 if (obj4) {
5989 {
5990 arg5 = &temp5;
5991 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5992 }
5993 }
5994 if (obj5) {
5995 arg6 = (long)SWIG_As_long(obj5);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 if (obj6) {
5999 {
6000 arg7 = wxString_in_helper(obj6);
6001 if (arg7 == NULL) SWIG_fail;
6002 temp7 = true;
6003 }
6004 }
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6008
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 {
6013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6014 }
6015 {
6016 if (temp7)
6017 delete arg7;
6018 }
6019 return resultobj;
6020 fail:
6021 {
6022 if (temp7)
6023 delete arg7;
6024 }
6025 return NULL;
6026 }
6027
6028
6029 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6030 PyObject *resultobj;
6031 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6032 wxWindow *result;
6033 PyObject * obj0 = 0 ;
6034 char *kwnames[] = {
6035 (char *) "self", NULL
6036 };
6037
6038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6044
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 {
6049 resultobj = wxPyMake_wxObject(result, 0);
6050 }
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj;
6059 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6060 wxWindow *result;
6061 PyObject * obj0 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 {
6077 resultobj = wxPyMake_wxObject(result, 0);
6078 }
6079 return resultobj;
6080 fail:
6081 return NULL;
6082 }
6083
6084
6085 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6088 int arg2 ;
6089 PyObject * obj0 = 0 ;
6090 PyObject * obj1 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self",(char *) "mode", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6098 arg2 = (int)SWIG_As_int(obj1);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 {
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 (arg1)->SetSplitMode(arg2);
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 Py_INCREF(Py_None); resultobj = Py_None;
6108 return resultobj;
6109 fail:
6110 return NULL;
6111 }
6112
6113
6114 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6117 int result;
6118 PyObject * obj0 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "self", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6126 {
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 resultobj = SWIG_From_int((int)result);
6134 return resultobj;
6135 fail:
6136 return NULL;
6137 }
6138
6139
6140 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6141 PyObject *resultobj;
6142 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6143 wxWindow *arg2 = (wxWindow *) 0 ;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 char *kwnames[] = {
6147 (char *) "self",(char *) "window", NULL
6148 };
6149
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->Initialize(arg2);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6172 wxWindow *arg2 = (wxWindow *) 0 ;
6173 wxWindow *arg3 = (wxWindow *) 0 ;
6174 int arg4 = (int) 0 ;
6175 bool result;
6176 PyObject * obj0 = 0 ;
6177 PyObject * obj1 = 0 ;
6178 PyObject * obj2 = 0 ;
6179 PyObject * obj3 = 0 ;
6180 char *kwnames[] = {
6181 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6182 };
6183
6184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6189 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6191 if (obj3) {
6192 arg4 = (int)SWIG_As_int(obj3);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 {
6203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6204 }
6205 return resultobj;
6206 fail:
6207 return NULL;
6208 }
6209
6210
6211 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj;
6213 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6214 wxWindow *arg2 = (wxWindow *) 0 ;
6215 wxWindow *arg3 = (wxWindow *) 0 ;
6216 int arg4 = (int) 0 ;
6217 bool result;
6218 PyObject * obj0 = 0 ;
6219 PyObject * obj1 = 0 ;
6220 PyObject * obj2 = 0 ;
6221 PyObject * obj3 = 0 ;
6222 char *kwnames[] = {
6223 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6224 };
6225
6226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6231 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6233 if (obj3) {
6234 arg4 = (int)SWIG_As_int(obj3);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6240
6241 wxPyEndAllowThreads(__tstate);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
6244 {
6245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6246 }
6247 return resultobj;
6248 fail:
6249 return NULL;
6250 }
6251
6252
6253 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj;
6255 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6256 wxWindow *arg2 = (wxWindow *) NULL ;
6257 bool result;
6258 PyObject * obj0 = 0 ;
6259 PyObject * obj1 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "toRemove", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6267 if (obj1) {
6268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 }
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 result = (bool)(arg1)->Unsplit(arg2);
6274
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 {
6279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6280 }
6281 return resultobj;
6282 fail:
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6290 wxWindow *arg2 = (wxWindow *) 0 ;
6291 wxWindow *arg3 = (wxWindow *) 0 ;
6292 bool result;
6293 PyObject * obj0 = 0 ;
6294 PyObject * obj1 = 0 ;
6295 PyObject * obj2 = 0 ;
6296 char *kwnames[] = {
6297 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6305 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6310
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 {
6315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6316 }
6317 return resultobj;
6318 fail:
6319 return NULL;
6320 }
6321
6322
6323 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj;
6325 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6326 PyObject * obj0 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 (arg1)->UpdateSize();
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 Py_INCREF(Py_None); resultobj = Py_None;
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6351 bool result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6362 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 {
6368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6369 }
6370 return resultobj;
6371 fail:
6372 return NULL;
6373 }
6374
6375
6376 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6379 int arg2 ;
6380 PyObject * obj0 = 0 ;
6381 PyObject * obj1 = 0 ;
6382 char *kwnames[] = {
6383 (char *) "self",(char *) "width", NULL
6384 };
6385
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6389 arg2 = (int)SWIG_As_int(obj1);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 (arg1)->SetSashSize(arg2);
6394
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 }
6398 Py_INCREF(Py_None); resultobj = Py_None;
6399 return resultobj;
6400 fail:
6401 return NULL;
6402 }
6403
6404
6405 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6406 PyObject *resultobj;
6407 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6408 int arg2 ;
6409 PyObject * obj0 = 0 ;
6410 PyObject * obj1 = 0 ;
6411 char *kwnames[] = {
6412 (char *) "self",(char *) "width", NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6418 arg2 = (int)SWIG_As_int(obj1);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 (arg1)->SetBorderSize(arg2);
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 Py_INCREF(Py_None); resultobj = Py_None;
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj;
6436 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6437 int result;
6438 PyObject * obj0 = 0 ;
6439 char *kwnames[] = {
6440 (char *) "self", NULL
6441 };
6442
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6446 {
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6449
6450 wxPyEndAllowThreads(__tstate);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 }
6453 resultobj = SWIG_From_int((int)result);
6454 return resultobj;
6455 fail:
6456 return NULL;
6457 }
6458
6459
6460 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6461 PyObject *resultobj;
6462 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6463 int result;
6464 PyObject * obj0 = 0 ;
6465 char *kwnames[] = {
6466 (char *) "self", NULL
6467 };
6468
6469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 resultobj = SWIG_From_int((int)result);
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6489 int arg2 ;
6490 bool arg3 = (bool) true ;
6491 PyObject * obj0 = 0 ;
6492 PyObject * obj1 = 0 ;
6493 PyObject * obj2 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self",(char *) "position",(char *) "redraw", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6501 arg2 = (int)SWIG_As_int(obj1);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 if (obj2) {
6504 arg3 = (bool)SWIG_As_bool(obj2);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 (arg1)->SetSashPosition(arg2,arg3);
6510
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 Py_INCREF(Py_None); resultobj = Py_None;
6515 return resultobj;
6516 fail:
6517 return NULL;
6518 }
6519
6520
6521 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj;
6523 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6524 int result;
6525 PyObject * obj0 = 0 ;
6526 char *kwnames[] = {
6527 (char *) "self", NULL
6528 };
6529
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 resultobj = SWIG_From_int((int)result);
6541 return resultobj;
6542 fail:
6543 return NULL;
6544 }
6545
6546
6547 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6548 PyObject *resultobj;
6549 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6550 int arg2 ;
6551 PyObject * obj0 = 0 ;
6552 PyObject * obj1 = 0 ;
6553 char *kwnames[] = {
6554 (char *) "self",(char *) "min", NULL
6555 };
6556
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6560 arg2 = (int)SWIG_As_int(obj1);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 {
6563 PyThreadState* __tstate = wxPyBeginAllowThreads();
6564 (arg1)->SetMinimumPaneSize(arg2);
6565
6566 wxPyEndAllowThreads(__tstate);
6567 if (PyErr_Occurred()) SWIG_fail;
6568 }
6569 Py_INCREF(Py_None); resultobj = Py_None;
6570 return resultobj;
6571 fail:
6572 return NULL;
6573 }
6574
6575
6576 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj;
6578 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6579 int result;
6580 PyObject * obj0 = 0 ;
6581 char *kwnames[] = {
6582 (char *) "self", NULL
6583 };
6584
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6591
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 resultobj = SWIG_From_int((int)result);
6596 return resultobj;
6597 fail:
6598 return NULL;
6599 }
6600
6601
6602 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6603 PyObject *resultobj;
6604 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6605 int arg2 ;
6606 int arg3 ;
6607 int arg4 = (int) 5 ;
6608 bool result;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 PyObject * obj2 = 0 ;
6612 PyObject * obj3 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6620 arg2 = (int)SWIG_As_int(obj1);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 arg3 = (int)SWIG_As_int(obj2);
6623 if (PyErr_Occurred()) SWIG_fail;
6624 if (obj3) {
6625 arg4 = (int)SWIG_As_int(obj3);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6637 }
6638 return resultobj;
6639 fail:
6640 return NULL;
6641 }
6642
6643
6644 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj;
6646 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6647 PyObject * obj0 = 0 ;
6648 char *kwnames[] = {
6649 (char *) "self", NULL
6650 };
6651
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 (arg1)->SizeWindows();
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 Py_INCREF(Py_None); resultobj = Py_None;
6663 return resultobj;
6664 fail:
6665 return NULL;
6666 }
6667
6668
6669 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj;
6671 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6672 bool arg2 ;
6673 PyObject * obj0 = 0 ;
6674 PyObject * obj1 = 0 ;
6675 char *kwnames[] = {
6676 (char *) "self",(char *) "needUpdating", NULL
6677 };
6678
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6682 arg2 = (bool)SWIG_As_bool(obj1);
6683 if (PyErr_Occurred()) SWIG_fail;
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 (arg1)->SetNeedUpdating(arg2);
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 Py_INCREF(Py_None); resultobj = Py_None;
6692 return resultobj;
6693 fail:
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6701 bool result;
6702 PyObject * obj0 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "self", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 {
6718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6719 }
6720 return resultobj;
6721 fail:
6722 return NULL;
6723 }
6724
6725
6726 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj;
6728 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6729 wxVisualAttributes result;
6730 PyObject * obj0 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "variant", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6736 if (obj0) {
6737 arg1 = (int)SWIG_As_int(obj0);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 {
6741 if (!wxPyCheckForApp()) SWIG_fail;
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 {
6749 wxVisualAttributes * resultptr;
6750 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6752 }
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6760 PyObject *obj;
6761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6762 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6763 Py_INCREF(obj);
6764 return Py_BuildValue((char *)"");
6765 }
6766 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6767 PyObject *resultobj;
6768 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6769 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6770 wxSplitterEvent *result;
6771 PyObject * obj0 = 0 ;
6772 PyObject * obj1 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "type",(char *) "splitter", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6778 if (obj0) {
6779 arg1 = (wxEventType)SWIG_As_int(obj0);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 if (obj1) {
6783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6785 }
6786 {
6787 PyThreadState* __tstate = wxPyBeginAllowThreads();
6788 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6789
6790 wxPyEndAllowThreads(__tstate);
6791 if (PyErr_Occurred()) SWIG_fail;
6792 }
6793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6794 return resultobj;
6795 fail:
6796 return NULL;
6797 }
6798
6799
6800 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6801 PyObject *resultobj;
6802 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6803 int arg2 ;
6804 PyObject * obj0 = 0 ;
6805 PyObject * obj1 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self",(char *) "pos", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6813 arg2 = (int)SWIG_As_int(obj1);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->SetSashPosition(arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 Py_INCREF(Py_None); resultobj = Py_None;
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6832 int result;
6833 PyObject * obj0 = 0 ;
6834 char *kwnames[] = {
6835 (char *) "self", NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 resultobj = SWIG_From_int((int)result);
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6858 wxWindow *result;
6859 PyObject * obj0 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 {
6875 resultobj = wxPyMake_wxObject(result, 0);
6876 }
6877 return resultobj;
6878 fail:
6879 return NULL;
6880 }
6881
6882
6883 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6884 PyObject *resultobj;
6885 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6886 int result;
6887 PyObject * obj0 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_From_int((int)result);
6903 return resultobj;
6904 fail:
6905 return NULL;
6906 }
6907
6908
6909 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6910 PyObject *resultobj;
6911 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6912 int result;
6913 PyObject * obj0 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 resultobj = SWIG_From_int((int)result);
6929 return resultobj;
6930 fail:
6931 return NULL;
6932 }
6933
6934
6935 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6936 PyObject *obj;
6937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6938 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6939 Py_INCREF(obj);
6940 return Py_BuildValue((char *)"");
6941 }
6942 static int _wrap_SashNameStr_set(PyObject *) {
6943 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6944 return 1;
6945 }
6946
6947
6948 static PyObject *_wrap_SashNameStr_get() {
6949 PyObject *pyobj;
6950
6951 {
6952 #if wxUSE_UNICODE
6953 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6954 #else
6955 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6956 #endif
6957 }
6958 return pyobj;
6959 }
6960
6961
6962 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6963 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6964 return 1;
6965 }
6966
6967
6968 static PyObject *_wrap_SashLayoutNameStr_get() {
6969 PyObject *pyobj;
6970
6971 {
6972 #if wxUSE_UNICODE
6973 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6974 #else
6975 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6976 #endif
6977 }
6978 return pyobj;
6979 }
6980
6981
6982 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj;
6984 wxWindow *arg1 = (wxWindow *) 0 ;
6985 int arg2 = (int) -1 ;
6986 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6987 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6988 wxSize const &arg4_defvalue = wxDefaultSize ;
6989 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6990 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6991 wxString const &arg6_defvalue = wxPySashNameStr ;
6992 wxString *arg6 = (wxString *) &arg6_defvalue ;
6993 wxSashWindow *result;
6994 wxPoint temp3 ;
6995 wxSize temp4 ;
6996 bool temp6 = false ;
6997 PyObject * obj0 = 0 ;
6998 PyObject * obj1 = 0 ;
6999 PyObject * obj2 = 0 ;
7000 PyObject * obj3 = 0 ;
7001 PyObject * obj4 = 0 ;
7002 PyObject * obj5 = 0 ;
7003 char *kwnames[] = {
7004 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7005 };
7006
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7010 if (obj1) {
7011 arg2 = (int)SWIG_As_int(obj1);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 if (obj2) {
7015 {
7016 arg3 = &temp3;
7017 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7018 }
7019 }
7020 if (obj3) {
7021 {
7022 arg4 = &temp4;
7023 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7024 }
7025 }
7026 if (obj4) {
7027 arg5 = (long)SWIG_As_long(obj4);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 if (obj5) {
7031 {
7032 arg6 = wxString_in_helper(obj5);
7033 if (arg6 == NULL) SWIG_fail;
7034 temp6 = true;
7035 }
7036 }
7037 {
7038 if (!wxPyCheckForApp()) SWIG_fail;
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7046 {
7047 if (temp6)
7048 delete arg6;
7049 }
7050 return resultobj;
7051 fail:
7052 {
7053 if (temp6)
7054 delete arg6;
7055 }
7056 return NULL;
7057 }
7058
7059
7060 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj;
7062 wxSashWindow *result;
7063 char *kwnames[] = {
7064 NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7068 {
7069 if (!wxPyCheckForApp()) SWIG_fail;
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (wxSashWindow *)new wxSashWindow();
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7086 wxWindow *arg2 = (wxWindow *) 0 ;
7087 int arg3 = (int) -1 ;
7088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7090 wxSize const &arg5_defvalue = wxDefaultSize ;
7091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7092 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7093 wxString const &arg7_defvalue = wxPySashNameStr ;
7094 wxString *arg7 = (wxString *) &arg7_defvalue ;
7095 bool result;
7096 wxPoint temp4 ;
7097 wxSize temp5 ;
7098 bool temp7 = false ;
7099 PyObject * obj0 = 0 ;
7100 PyObject * obj1 = 0 ;
7101 PyObject * obj2 = 0 ;
7102 PyObject * obj3 = 0 ;
7103 PyObject * obj4 = 0 ;
7104 PyObject * obj5 = 0 ;
7105 PyObject * obj6 = 0 ;
7106 char *kwnames[] = {
7107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7108 };
7109
7110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7115 if (obj2) {
7116 arg3 = (int)SWIG_As_int(obj2);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 if (obj3) {
7120 {
7121 arg4 = &temp4;
7122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7123 }
7124 }
7125 if (obj4) {
7126 {
7127 arg5 = &temp5;
7128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7129 }
7130 }
7131 if (obj5) {
7132 arg6 = (long)SWIG_As_long(obj5);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 if (obj6) {
7136 {
7137 arg7 = wxString_in_helper(obj6);
7138 if (arg7 == NULL) SWIG_fail;
7139 temp7 = true;
7140 }
7141 }
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 {
7150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7151 }
7152 {
7153 if (temp7)
7154 delete arg7;
7155 }
7156 return resultobj;
7157 fail:
7158 {
7159 if (temp7)
7160 delete arg7;
7161 }
7162 return NULL;
7163 }
7164
7165
7166 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7169 int arg2 ;
7170 bool arg3 ;
7171 PyObject * obj0 = 0 ;
7172 PyObject * obj1 = 0 ;
7173 PyObject * obj2 = 0 ;
7174 char *kwnames[] = {
7175 (char *) "self",(char *) "edge",(char *) "sash", NULL
7176 };
7177
7178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7181 arg2 = (int)SWIG_As_int(obj1);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 arg3 = (bool)SWIG_As_bool(obj2);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7188
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 Py_INCREF(Py_None); resultobj = Py_None;
7193 return resultobj;
7194 fail:
7195 return NULL;
7196 }
7197
7198
7199 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7200 PyObject *resultobj;
7201 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7202 int arg2 ;
7203 bool result;
7204 PyObject * obj0 = 0 ;
7205 PyObject * obj1 = 0 ;
7206 char *kwnames[] = {
7207 (char *) "self",(char *) "edge", NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) 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 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 {
7223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7224 }
7225 return resultobj;
7226 fail:
7227 return NULL;
7228 }
7229
7230
7231 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7232 PyObject *resultobj;
7233 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7234 int arg2 ;
7235 bool arg3 ;
7236 PyObject * obj0 = 0 ;
7237 PyObject * obj1 = 0 ;
7238 PyObject * obj2 = 0 ;
7239 char *kwnames[] = {
7240 (char *) "self",(char *) "edge",(char *) "border", NULL
7241 };
7242
7243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7246 arg2 = (int)SWIG_As_int(obj1);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 arg3 = (bool)SWIG_As_bool(obj2);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 Py_INCREF(Py_None); resultobj = Py_None;
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj;
7266 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7267 int arg2 ;
7268 bool result;
7269 PyObject * obj0 = 0 ;
7270 PyObject * obj1 = 0 ;
7271 char *kwnames[] = {
7272 (char *) "self",(char *) "edge", NULL
7273 };
7274
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7278 arg2 = (int)SWIG_As_int(obj1);
7279 if (PyErr_Occurred()) SWIG_fail;
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 {
7288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7289 }
7290 return resultobj;
7291 fail:
7292 return NULL;
7293 }
7294
7295
7296 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj;
7298 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7299 int arg2 ;
7300 int result;
7301 PyObject * obj0 = 0 ;
7302 PyObject * obj1 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self",(char *) "edge", NULL
7305 };
7306
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7310 arg2 = (int)SWIG_As_int(obj1);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7315
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 resultobj = SWIG_From_int((int)result);
7320 return resultobj;
7321 fail:
7322 return NULL;
7323 }
7324
7325
7326 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7327 PyObject *resultobj;
7328 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7329 int arg2 ;
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj1 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "self",(char *) "width", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7339 arg2 = (int)SWIG_As_int(obj1);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 (arg1)->SetDefaultBorderSize(arg2);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 Py_INCREF(Py_None); resultobj = Py_None;
7349 return resultobj;
7350 fail:
7351 return NULL;
7352 }
7353
7354
7355 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7356 PyObject *resultobj;
7357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7358 int result;
7359 PyObject * obj0 = 0 ;
7360 char *kwnames[] = {
7361 (char *) "self", NULL
7362 };
7363
7364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7367 {
7368 PyThreadState* __tstate = wxPyBeginAllowThreads();
7369 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7370
7371 wxPyEndAllowThreads(__tstate);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 }
7374 resultobj = SWIG_From_int((int)result);
7375 return resultobj;
7376 fail:
7377 return NULL;
7378 }
7379
7380
7381 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7382 PyObject *resultobj;
7383 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7384 int arg2 ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 char *kwnames[] = {
7388 (char *) "self",(char *) "width", NULL
7389 };
7390
7391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7394 arg2 = (int)SWIG_As_int(obj1);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 (arg1)->SetExtraBorderSize(arg2);
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 Py_INCREF(Py_None); resultobj = Py_None;
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7413 int result;
7414 PyObject * obj0 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "self", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 resultobj = SWIG_From_int((int)result);
7430 return resultobj;
7431 fail:
7432 return NULL;
7433 }
7434
7435
7436 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7437 PyObject *resultobj;
7438 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7439 int arg2 ;
7440 PyObject * obj0 = 0 ;
7441 PyObject * obj1 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "self",(char *) "min", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7449 arg2 = (int)SWIG_As_int(obj1);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 (arg1)->SetMinimumSizeX(arg2);
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 Py_INCREF(Py_None); resultobj = Py_None;
7459 return resultobj;
7460 fail:
7461 return NULL;
7462 }
7463
7464
7465 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj;
7467 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7468 int arg2 ;
7469 PyObject * obj0 = 0 ;
7470 PyObject * obj1 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self",(char *) "min", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7478 arg2 = (int)SWIG_As_int(obj1);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 (arg1)->SetMinimumSizeY(arg2);
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 Py_INCREF(Py_None); resultobj = Py_None;
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7497 int result;
7498 PyObject * obj0 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "self", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7509
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 resultobj = SWIG_From_int((int)result);
7514 return resultobj;
7515 fail:
7516 return NULL;
7517 }
7518
7519
7520 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj;
7522 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7523 int result;
7524 PyObject * obj0 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 resultobj = SWIG_From_int((int)result);
7540 return resultobj;
7541 fail:
7542 return NULL;
7543 }
7544
7545
7546 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7549 int arg2 ;
7550 PyObject * obj0 = 0 ;
7551 PyObject * obj1 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "self",(char *) "max", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7559 arg2 = (int)SWIG_As_int(obj1);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 (arg1)->SetMaximumSizeX(arg2);
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 Py_INCREF(Py_None); resultobj = Py_None;
7569 return resultobj;
7570 fail:
7571 return NULL;
7572 }
7573
7574
7575 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj;
7577 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7578 int arg2 ;
7579 PyObject * obj0 = 0 ;
7580 PyObject * obj1 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self",(char *) "max", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7588 arg2 = (int)SWIG_As_int(obj1);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 (arg1)->SetMaximumSizeY(arg2);
7593
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 Py_INCREF(Py_None); resultobj = Py_None;
7598 return resultobj;
7599 fail:
7600 return NULL;
7601 }
7602
7603
7604 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7605 PyObject *resultobj;
7606 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7607 int result;
7608 PyObject * obj0 = 0 ;
7609 char *kwnames[] = {
7610 (char *) "self", NULL
7611 };
7612
7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 resultobj = SWIG_From_int((int)result);
7624 return resultobj;
7625 fail:
7626 return NULL;
7627 }
7628
7629
7630 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7633 int result;
7634 PyObject * obj0 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "self", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 resultobj = SWIG_From_int((int)result);
7650 return resultobj;
7651 fail:
7652 return NULL;
7653 }
7654
7655
7656 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj;
7658 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7659 int arg2 ;
7660 int arg3 ;
7661 int arg4 = (int) 2 ;
7662 int result;
7663 PyObject * obj0 = 0 ;
7664 PyObject * obj1 = 0 ;
7665 PyObject * obj2 = 0 ;
7666 PyObject * obj3 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7674 arg2 = (int)SWIG_As_int(obj1);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 arg3 = (int)SWIG_As_int(obj2);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 if (obj3) {
7679 arg4 = (int)SWIG_As_int(obj3);
7680 if (PyErr_Occurred()) SWIG_fail;
7681 }
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 resultobj = SWIG_From_int((int)result);
7690 return resultobj;
7691 fail:
7692 return NULL;
7693 }
7694
7695
7696 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7697 PyObject *resultobj;
7698 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7699 PyObject * obj0 = 0 ;
7700 char *kwnames[] = {
7701 (char *) "self", NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 (arg1)->SizeWindows();
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 Py_INCREF(Py_None); resultobj = Py_None;
7715 return resultobj;
7716 fail:
7717 return NULL;
7718 }
7719
7720
7721 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7722 PyObject *obj;
7723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7724 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7725 Py_INCREF(obj);
7726 return Py_BuildValue((char *)"");
7727 }
7728 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7729 PyObject *resultobj;
7730 int arg1 = (int) 0 ;
7731 int arg2 = (int) wxSASH_NONE ;
7732 wxSashEvent *result;
7733 PyObject * obj0 = 0 ;
7734 PyObject * obj1 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "id",(char *) "edge", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7740 if (obj0) {
7741 arg1 = (int)SWIG_As_int(obj0);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 if (obj1) {
7745 arg2 = (int)SWIG_As_int(obj1);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7756 return resultobj;
7757 fail:
7758 return NULL;
7759 }
7760
7761
7762 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7763 PyObject *resultobj;
7764 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7765 int arg2 ;
7766 PyObject * obj0 = 0 ;
7767 PyObject * obj1 = 0 ;
7768 char *kwnames[] = {
7769 (char *) "self",(char *) "edge", NULL
7770 };
7771
7772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7775 arg2 = (int)SWIG_As_int(obj1);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7780
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 Py_INCREF(Py_None); resultobj = Py_None;
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7794 int result;
7795 PyObject * obj0 = 0 ;
7796 char *kwnames[] = {
7797 (char *) "self", NULL
7798 };
7799
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 resultobj = SWIG_From_int((int)result);
7811 return resultobj;
7812 fail:
7813 return NULL;
7814 }
7815
7816
7817 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7818 PyObject *resultobj;
7819 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7820 wxRect *arg2 = 0 ;
7821 wxRect temp2 ;
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self",(char *) "rect", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7831 {
7832 arg2 = &temp2;
7833 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7834 }
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 (arg1)->SetDragRect((wxRect const &)*arg2);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 return resultobj;
7844 fail:
7845 return NULL;
7846 }
7847
7848
7849 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7852 wxRect result;
7853 PyObject * obj0 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 result = ((wxSashEvent const *)arg1)->GetDragRect();
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 {
7869 wxRect * resultptr;
7870 resultptr = new wxRect((wxRect &) result);
7871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7872 }
7873 return resultobj;
7874 fail:
7875 return NULL;
7876 }
7877
7878
7879 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7880 PyObject *resultobj;
7881 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7882 int arg2 ;
7883 PyObject * obj0 = 0 ;
7884 PyObject * obj1 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self",(char *) "status", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7892 arg2 = (int)SWIG_As_int(obj1);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7911 int result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_From_int((int)result);
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7935 PyObject *obj;
7936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7937 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7938 Py_INCREF(obj);
7939 return Py_BuildValue((char *)"");
7940 }
7941 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7942 PyObject *resultobj;
7943 int arg1 = (int) 0 ;
7944 wxQueryLayoutInfoEvent *result;
7945 PyObject * obj0 = 0 ;
7946 char *kwnames[] = {
7947 (char *) "id", NULL
7948 };
7949
7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7951 if (obj0) {
7952 arg1 = (int)SWIG_As_int(obj0);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7963 return resultobj;
7964 fail:
7965 return NULL;
7966 }
7967
7968
7969 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7970 PyObject *resultobj;
7971 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7972 int arg2 ;
7973 PyObject * obj0 = 0 ;
7974 PyObject * obj1 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "self",(char *) "length", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7982 arg2 = (int)SWIG_As_int(obj1);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 (arg1)->SetRequestedLength(arg2);
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 Py_INCREF(Py_None); resultobj = Py_None;
7992 return resultobj;
7993 fail:
7994 return NULL;
7995 }
7996
7997
7998 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8001 int result;
8002 PyObject * obj0 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 resultobj = SWIG_From_int((int)result);
8018 return resultobj;
8019 fail:
8020 return NULL;
8021 }
8022
8023
8024 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8025 PyObject *resultobj;
8026 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8027 int arg2 ;
8028 PyObject * obj0 = 0 ;
8029 PyObject * obj1 = 0 ;
8030 char *kwnames[] = {
8031 (char *) "self",(char *) "flags", NULL
8032 };
8033
8034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8037 arg2 = (int)SWIG_As_int(obj1);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 (arg1)->SetFlags(arg2);
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 Py_INCREF(Py_None); resultobj = Py_None;
8047 return resultobj;
8048 fail:
8049 return NULL;
8050 }
8051
8052
8053 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8056 int result;
8057 PyObject * obj0 = 0 ;
8058 char *kwnames[] = {
8059 (char *) "self", NULL
8060 };
8061
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 resultobj = SWIG_From_int((int)result);
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8082 wxSize *arg2 = 0 ;
8083 wxSize temp2 ;
8084 PyObject * obj0 = 0 ;
8085 PyObject * obj1 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "size", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8093 {
8094 arg2 = &temp2;
8095 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8096 }
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 (arg1)->SetSize((wxSize const &)*arg2);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 Py_INCREF(Py_None); resultobj = Py_None;
8105 return resultobj;
8106 fail:
8107 return NULL;
8108 }
8109
8110
8111 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj;
8113 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8114 wxSize result;
8115 PyObject * obj0 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 {
8131 wxSize * resultptr;
8132 resultptr = new wxSize((wxSize &) result);
8133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8134 }
8135 return resultobj;
8136 fail:
8137 return NULL;
8138 }
8139
8140
8141 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8142 PyObject *resultobj;
8143 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8144 int arg2 ;
8145 PyObject * obj0 = 0 ;
8146 PyObject * obj1 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "self",(char *) "orient", NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8154 arg2 = (int)SWIG_As_int(obj1);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8159
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 Py_INCREF(Py_None); resultobj = Py_None;
8164 return resultobj;
8165 fail:
8166 return NULL;
8167 }
8168
8169
8170 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8171 PyObject *resultobj;
8172 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8173 int result;
8174 PyObject * obj0 = 0 ;
8175 char *kwnames[] = {
8176 (char *) "self", NULL
8177 };
8178
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 resultobj = SWIG_From_int((int)result);
8190 return resultobj;
8191 fail:
8192 return NULL;
8193 }
8194
8195
8196 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8197 PyObject *resultobj;
8198 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8199 int arg2 ;
8200 PyObject * obj0 = 0 ;
8201 PyObject * obj1 = 0 ;
8202 char *kwnames[] = {
8203 (char *) "self",(char *) "align", NULL
8204 };
8205
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8209 arg2 = (int)SWIG_As_int(obj1);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 Py_INCREF(Py_None); resultobj = Py_None;
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8228 int result;
8229 PyObject * obj0 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 resultobj = SWIG_From_int((int)result);
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8252 PyObject *obj;
8253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8254 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8255 Py_INCREF(obj);
8256 return Py_BuildValue((char *)"");
8257 }
8258 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj;
8260 int arg1 = (int) 0 ;
8261 wxCalculateLayoutEvent *result;
8262 PyObject * obj0 = 0 ;
8263 char *kwnames[] = {
8264 (char *) "id", NULL
8265 };
8266
8267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8268 if (obj0) {
8269 arg1 = (int)SWIG_As_int(obj0);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8275
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8280 return resultobj;
8281 fail:
8282 return NULL;
8283 }
8284
8285
8286 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8287 PyObject *resultobj;
8288 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8289 int arg2 ;
8290 PyObject * obj0 = 0 ;
8291 PyObject * obj1 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self",(char *) "flags", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8299 arg2 = (int)SWIG_As_int(obj1);
8300 if (PyErr_Occurred()) SWIG_fail;
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 (arg1)->SetFlags(arg2);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 Py_INCREF(Py_None); resultobj = Py_None;
8309 return resultobj;
8310 fail:
8311 return NULL;
8312 }
8313
8314
8315 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8316 PyObject *resultobj;
8317 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8318 int result;
8319 PyObject * obj0 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 resultobj = SWIG_From_int((int)result);
8335 return resultobj;
8336 fail:
8337 return NULL;
8338 }
8339
8340
8341 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj;
8343 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8344 wxRect *arg2 = 0 ;
8345 wxRect temp2 ;
8346 PyObject * obj0 = 0 ;
8347 PyObject * obj1 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self",(char *) "rect", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8355 {
8356 arg2 = &temp2;
8357 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8358 }
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 (arg1)->SetRect((wxRect const &)*arg2);
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
8366 Py_INCREF(Py_None); resultobj = Py_None;
8367 return resultobj;
8368 fail:
8369 return NULL;
8370 }
8371
8372
8373 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8374 PyObject *resultobj;
8375 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8376 wxRect result;
8377 PyObject * obj0 = 0 ;
8378 char *kwnames[] = {
8379 (char *) "self", NULL
8380 };
8381
8382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 {
8393 wxRect * resultptr;
8394 resultptr = new wxRect((wxRect &) result);
8395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8396 }
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8404 PyObject *obj;
8405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8406 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8407 Py_INCREF(obj);
8408 return Py_BuildValue((char *)"");
8409 }
8410 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8411 PyObject *resultobj;
8412 wxWindow *arg1 = (wxWindow *) 0 ;
8413 int arg2 = (int) -1 ;
8414 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8415 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8416 wxSize const &arg4_defvalue = wxDefaultSize ;
8417 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8418 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8419 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8420 wxString *arg6 = (wxString *) &arg6_defvalue ;
8421 wxSashLayoutWindow *result;
8422 wxPoint temp3 ;
8423 wxSize temp4 ;
8424 bool temp6 = false ;
8425 PyObject * obj0 = 0 ;
8426 PyObject * obj1 = 0 ;
8427 PyObject * obj2 = 0 ;
8428 PyObject * obj3 = 0 ;
8429 PyObject * obj4 = 0 ;
8430 PyObject * obj5 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8438 if (obj1) {
8439 arg2 = (int)SWIG_As_int(obj1);
8440 if (PyErr_Occurred()) SWIG_fail;
8441 }
8442 if (obj2) {
8443 {
8444 arg3 = &temp3;
8445 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8446 }
8447 }
8448 if (obj3) {
8449 {
8450 arg4 = &temp4;
8451 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8452 }
8453 }
8454 if (obj4) {
8455 arg5 = (long)SWIG_As_long(obj4);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 if (obj5) {
8459 {
8460 arg6 = wxString_in_helper(obj5);
8461 if (arg6 == NULL) SWIG_fail;
8462 temp6 = true;
8463 }
8464 }
8465 {
8466 if (!wxPyCheckForApp()) SWIG_fail;
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8474 {
8475 if (temp6)
8476 delete arg6;
8477 }
8478 return resultobj;
8479 fail:
8480 {
8481 if (temp6)
8482 delete arg6;
8483 }
8484 return NULL;
8485 }
8486
8487
8488 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj;
8490 wxSashLayoutWindow *result;
8491 char *kwnames[] = {
8492 NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8496 {
8497 if (!wxPyCheckForApp()) SWIG_fail;
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8505 return resultobj;
8506 fail:
8507 return NULL;
8508 }
8509
8510
8511 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8514 wxWindow *arg2 = (wxWindow *) 0 ;
8515 int arg3 = (int) -1 ;
8516 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8517 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8518 wxSize const &arg5_defvalue = wxDefaultSize ;
8519 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8520 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8521 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8522 wxString *arg7 = (wxString *) &arg7_defvalue ;
8523 bool result;
8524 wxPoint temp4 ;
8525 wxSize temp5 ;
8526 bool temp7 = false ;
8527 PyObject * obj0 = 0 ;
8528 PyObject * obj1 = 0 ;
8529 PyObject * obj2 = 0 ;
8530 PyObject * obj3 = 0 ;
8531 PyObject * obj4 = 0 ;
8532 PyObject * obj5 = 0 ;
8533 PyObject * obj6 = 0 ;
8534 char *kwnames[] = {
8535 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8536 };
8537
8538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8543 if (obj2) {
8544 arg3 = (int)SWIG_As_int(obj2);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 if (obj3) {
8548 {
8549 arg4 = &temp4;
8550 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8551 }
8552 }
8553 if (obj4) {
8554 {
8555 arg5 = &temp5;
8556 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8557 }
8558 }
8559 if (obj5) {
8560 arg6 = (long)SWIG_As_long(obj5);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 if (obj6) {
8564 {
8565 arg7 = wxString_in_helper(obj6);
8566 if (arg7 == NULL) SWIG_fail;
8567 temp7 = true;
8568 }
8569 }
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
8577 {
8578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8579 }
8580 {
8581 if (temp7)
8582 delete arg7;
8583 }
8584 return resultobj;
8585 fail:
8586 {
8587 if (temp7)
8588 delete arg7;
8589 }
8590 return NULL;
8591 }
8592
8593
8594 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8597 int result;
8598 PyObject * obj0 = 0 ;
8599 char *kwnames[] = {
8600 (char *) "self", NULL
8601 };
8602
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (int)(arg1)->GetAlignment();
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 resultobj = SWIG_From_int((int)result);
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj;
8622 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8623 int result;
8624 PyObject * obj0 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (int)(arg1)->GetOrientation();
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 resultobj = SWIG_From_int((int)result);
8640 return resultobj;
8641 fail:
8642 return NULL;
8643 }
8644
8645
8646 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj;
8648 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8649 int arg2 ;
8650 PyObject * obj0 = 0 ;
8651 PyObject * obj1 = 0 ;
8652 char *kwnames[] = {
8653 (char *) "self",(char *) "alignment", NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8659 arg2 = (int)SWIG_As_int(obj1);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 Py_INCREF(Py_None); resultobj = Py_None;
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8678 wxSize *arg2 = 0 ;
8679 wxSize temp2 ;
8680 PyObject * obj0 = 0 ;
8681 PyObject * obj1 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self",(char *) "size", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8689 {
8690 arg2 = &temp2;
8691 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8692 }
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 Py_INCREF(Py_None); resultobj = Py_None;
8701 return resultobj;
8702 fail:
8703 return NULL;
8704 }
8705
8706
8707 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj;
8709 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8710 int arg2 ;
8711 PyObject * obj0 = 0 ;
8712 PyObject * obj1 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self",(char *) "orientation", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8720 arg2 = (int)SWIG_As_int(obj1);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8725
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 Py_INCREF(Py_None); resultobj = Py_None;
8730 return resultobj;
8731 fail:
8732 return NULL;
8733 }
8734
8735
8736 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8737 PyObject *obj;
8738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8739 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8740 Py_INCREF(obj);
8741 return Py_BuildValue((char *)"");
8742 }
8743 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj;
8745 wxLayoutAlgorithm *result;
8746 char *kwnames[] = {
8747 NULL
8748 };
8749
8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8768 PyObject * obj0 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 delete arg1;
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 Py_INCREF(Py_None); resultobj = Py_None;
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8793 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8794 wxRect *arg3 = (wxRect *) NULL ;
8795 bool result;
8796 PyObject * obj0 = 0 ;
8797 PyObject * obj1 = 0 ;
8798 PyObject * obj2 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "frame",(char *) "rect", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8808 if (obj2) {
8809 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 {
8820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8821 }
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8831 wxFrame *arg2 = (wxFrame *) 0 ;
8832 wxWindow *arg3 = (wxWindow *) NULL ;
8833 bool result;
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 PyObject * obj2 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8846 if (obj2) {
8847 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8849 }
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 {
8858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8859 }
8860 return resultobj;
8861 fail:
8862 return NULL;
8863 }
8864
8865
8866 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8869 wxWindow *arg2 = (wxWindow *) 0 ;
8870 wxWindow *arg3 = (wxWindow *) NULL ;
8871 bool result;
8872 PyObject * obj0 = 0 ;
8873 PyObject * obj1 = 0 ;
8874 PyObject * obj2 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8884 if (obj2) {
8885 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8887 }
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8891
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
8895 {
8896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8897 }
8898 return resultobj;
8899 fail:
8900 return NULL;
8901 }
8902
8903
8904 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8905 PyObject *obj;
8906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8907 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8908 Py_INCREF(obj);
8909 return Py_BuildValue((char *)"");
8910 }
8911 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj;
8913 wxWindow *arg1 = (wxWindow *) 0 ;
8914 int arg2 = (int) wxBORDER_NONE ;
8915 wxPopupWindow *result;
8916 PyObject * obj0 = 0 ;
8917 PyObject * obj1 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "parent",(char *) "flags", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8925 if (obj1) {
8926 arg2 = (int)SWIG_As_int(obj1);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 {
8930 if (!wxPyCheckForApp()) SWIG_fail;
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj;
8946 wxPopupWindow *result;
8947 char *kwnames[] = {
8948 NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8952 {
8953 if (!wxPyCheckForApp()) SWIG_fail;
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 result = (wxPopupWindow *)new wxPopupWindow();
8956
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8961 return resultobj;
8962 fail:
8963 return NULL;
8964 }
8965
8966
8967 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj;
8969 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8970 wxWindow *arg2 = (wxWindow *) 0 ;
8971 int arg3 = (int) wxBORDER_NONE ;
8972 bool result;
8973 PyObject * obj0 = 0 ;
8974 PyObject * obj1 = 0 ;
8975 PyObject * obj2 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "parent",(char *) "flags", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8985 if (obj2) {
8986 arg3 = (int)SWIG_As_int(obj2);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = (bool)(arg1)->Create(arg2,arg3);
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 {
8997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8998 }
8999 return resultobj;
9000 fail:
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9008 wxPoint *arg2 = 0 ;
9009 wxSize *arg3 = 0 ;
9010 wxPoint temp2 ;
9011 wxSize temp3 ;
9012 PyObject * obj0 = 0 ;
9013 PyObject * obj1 = 0 ;
9014 PyObject * obj2 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
9020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9022 {
9023 arg2 = &temp2;
9024 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9025 }
9026 {
9027 arg3 = &temp3;
9028 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9029 }
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 Py_INCREF(Py_None); resultobj = Py_None;
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9045 PyObject *obj;
9046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9047 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9048 Py_INCREF(obj);
9049 return Py_BuildValue((char *)"");
9050 }
9051 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9052 PyObject *resultobj;
9053 wxWindow *arg1 = (wxWindow *) 0 ;
9054 int arg2 = (int) wxBORDER_NONE ;
9055 wxPyPopupTransientWindow *result;
9056 PyObject * obj0 = 0 ;
9057 PyObject * obj1 = 0 ;
9058 char *kwnames[] = {
9059 (char *) "parent",(char *) "style", NULL
9060 };
9061
9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9065 if (obj1) {
9066 arg2 = (int)SWIG_As_int(obj1);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 {
9070 if (!wxPyCheckForApp()) SWIG_fail;
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9085 PyObject *resultobj;
9086 wxPyPopupTransientWindow *result;
9087 char *kwnames[] = {
9088 NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9092 {
9093 if (!wxPyCheckForApp()) SWIG_fail;
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9101 return resultobj;
9102 fail:
9103 return NULL;
9104 }
9105
9106
9107 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9108 PyObject *resultobj;
9109 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9110 PyObject *arg2 = (PyObject *) 0 ;
9111 PyObject *arg3 = (PyObject *) 0 ;
9112 PyObject * obj0 = 0 ;
9113 PyObject * obj1 = 0 ;
9114 PyObject * obj2 = 0 ;
9115 char *kwnames[] = {
9116 (char *) "self",(char *) "self",(char *) "_class", NULL
9117 };
9118
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9122 arg2 = obj1;
9123 arg3 = obj2;
9124 {
9125 PyThreadState* __tstate = wxPyBeginAllowThreads();
9126 (arg1)->_setCallbackInfo(arg2,arg3);
9127
9128 wxPyEndAllowThreads(__tstate);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 }
9131 Py_INCREF(Py_None); resultobj = Py_None;
9132 return resultobj;
9133 fail:
9134 return NULL;
9135 }
9136
9137
9138 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
9139 PyObject *resultobj;
9140 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9141 wxWindow *arg2 = (wxWindow *) NULL ;
9142 PyObject * obj0 = 0 ;
9143 PyObject * obj1 = 0 ;
9144 char *kwnames[] = {
9145 (char *) "self",(char *) "focus", NULL
9146 };
9147
9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9151 if (obj1) {
9152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9154 }
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 (arg1)->Popup(arg2);
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 Py_INCREF(Py_None); resultobj = Py_None;
9163 return resultobj;
9164 fail:
9165 return NULL;
9166 }
9167
9168
9169 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
9170 PyObject *resultobj;
9171 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9172 PyObject * obj0 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 (arg1)->Dismiss();
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 Py_INCREF(Py_None); resultobj = Py_None;
9188 return resultobj;
9189 fail:
9190 return NULL;
9191 }
9192
9193
9194 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9195 PyObject *obj;
9196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9197 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9198 Py_INCREF(obj);
9199 return Py_BuildValue((char *)"");
9200 }
9201 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj;
9203 wxWindow *arg1 = (wxWindow *) 0 ;
9204 wxString *arg2 = 0 ;
9205 int arg3 = (int) 100 ;
9206 wxRect *arg4 = (wxRect *) NULL ;
9207 wxTipWindow *result;
9208 bool temp2 = false ;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
9212 PyObject * obj3 = 0 ;
9213 char *kwnames[] = {
9214 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9215 };
9216
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9220 {
9221 arg2 = wxString_in_helper(obj1);
9222 if (arg2 == NULL) SWIG_fail;
9223 temp2 = true;
9224 }
9225 if (obj2) {
9226 arg3 = (int)SWIG_As_int(obj2);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 if (obj3) {
9230 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9232 }
9233 {
9234 if (!wxPyCheckForApp()) SWIG_fail;
9235 PyThreadState* __tstate = wxPyBeginAllowThreads();
9236 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9237
9238 wxPyEndAllowThreads(__tstate);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
9241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9242 {
9243 if (temp2)
9244 delete arg2;
9245 }
9246 return resultobj;
9247 fail:
9248 {
9249 if (temp2)
9250 delete arg2;
9251 }
9252 return NULL;
9253 }
9254
9255
9256 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj;
9258 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9259 wxRect *arg2 = 0 ;
9260 wxRect temp2 ;
9261 PyObject * obj0 = 0 ;
9262 PyObject * obj1 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self",(char *) "rectBound", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9270 {
9271 arg2 = &temp2;
9272 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9273 }
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 Py_INCREF(Py_None); resultobj = Py_None;
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9291 PyObject * obj0 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Close();
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 Py_INCREF(Py_None); resultobj = Py_None;
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9314 PyObject *obj;
9315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9316 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9317 Py_INCREF(obj);
9318 return Py_BuildValue((char *)"");
9319 }
9320 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9321 PyObject *resultobj;
9322 wxWindow *arg1 = (wxWindow *) 0 ;
9323 int arg2 = (int) wxID_ANY ;
9324 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9325 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9326 wxSize const &arg4_defvalue = wxDefaultSize ;
9327 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9328 long arg5 = (long) 0 ;
9329 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9330 wxString *arg6 = (wxString *) &arg6_defvalue ;
9331 wxPyVScrolledWindow *result;
9332 wxPoint temp3 ;
9333 wxSize temp4 ;
9334 bool temp6 = false ;
9335 PyObject * obj0 = 0 ;
9336 PyObject * obj1 = 0 ;
9337 PyObject * obj2 = 0 ;
9338 PyObject * obj3 = 0 ;
9339 PyObject * obj4 = 0 ;
9340 PyObject * obj5 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9348 if (obj1) {
9349 arg2 = (int)SWIG_As_int(obj1);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 if (obj2) {
9353 {
9354 arg3 = &temp3;
9355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9356 }
9357 }
9358 if (obj3) {
9359 {
9360 arg4 = &temp4;
9361 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9362 }
9363 }
9364 if (obj4) {
9365 arg5 = (long)SWIG_As_long(obj4);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 if (obj5) {
9369 {
9370 arg6 = wxString_in_helper(obj5);
9371 if (arg6 == NULL) SWIG_fail;
9372 temp6 = true;
9373 }
9374 }
9375 {
9376 if (!wxPyCheckForApp()) SWIG_fail;
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9384 {
9385 if (temp6)
9386 delete arg6;
9387 }
9388 return resultobj;
9389 fail:
9390 {
9391 if (temp6)
9392 delete arg6;
9393 }
9394 return NULL;
9395 }
9396
9397
9398 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj;
9400 wxPyVScrolledWindow *result;
9401 char *kwnames[] = {
9402 NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9406 {
9407 if (!wxPyCheckForApp()) SWIG_fail;
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9415 return resultobj;
9416 fail:
9417 return NULL;
9418 }
9419
9420
9421 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9422 PyObject *resultobj;
9423 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9424 PyObject *arg2 = (PyObject *) 0 ;
9425 PyObject *arg3 = (PyObject *) 0 ;
9426 PyObject * obj0 = 0 ;
9427 PyObject * obj1 = 0 ;
9428 PyObject * obj2 = 0 ;
9429 char *kwnames[] = {
9430 (char *) "self",(char *) "self",(char *) "_class", NULL
9431 };
9432
9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9436 arg2 = obj1;
9437 arg3 = obj2;
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 (arg1)->_setCallbackInfo(arg2,arg3);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 Py_INCREF(Py_None); resultobj = Py_None;
9446 return resultobj;
9447 fail:
9448 return NULL;
9449 }
9450
9451
9452 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9453 PyObject *resultobj;
9454 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9455 wxWindow *arg2 = (wxWindow *) 0 ;
9456 int arg3 = (int) wxID_ANY ;
9457 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9458 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9459 wxSize const &arg5_defvalue = wxDefaultSize ;
9460 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9461 long arg6 = (long) 0 ;
9462 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9463 wxString *arg7 = (wxString *) &arg7_defvalue ;
9464 bool result;
9465 wxPoint temp4 ;
9466 wxSize temp5 ;
9467 bool temp7 = false ;
9468 PyObject * obj0 = 0 ;
9469 PyObject * obj1 = 0 ;
9470 PyObject * obj2 = 0 ;
9471 PyObject * obj3 = 0 ;
9472 PyObject * obj4 = 0 ;
9473 PyObject * obj5 = 0 ;
9474 PyObject * obj6 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9484 if (obj2) {
9485 arg3 = (int)SWIG_As_int(obj2);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 if (obj3) {
9489 {
9490 arg4 = &temp4;
9491 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9492 }
9493 }
9494 if (obj4) {
9495 {
9496 arg5 = &temp5;
9497 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9498 }
9499 }
9500 if (obj5) {
9501 arg6 = (long)SWIG_As_long(obj5);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 if (obj6) {
9505 {
9506 arg7 = wxString_in_helper(obj6);
9507 if (arg7 == NULL) SWIG_fail;
9508 temp7 = true;
9509 }
9510 }
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 {
9519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9520 }
9521 {
9522 if (temp7)
9523 delete arg7;
9524 }
9525 return resultobj;
9526 fail:
9527 {
9528 if (temp7)
9529 delete arg7;
9530 }
9531 return NULL;
9532 }
9533
9534
9535 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9538 size_t arg2 ;
9539 PyObject * obj0 = 0 ;
9540 PyObject * obj1 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self",(char *) "count", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9548 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 (arg1)->SetLineCount(arg2);
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 Py_INCREF(Py_None); resultobj = Py_None;
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj;
9566 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9567 size_t arg2 ;
9568 bool result;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self",(char *) "line", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9578 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 result = (bool)(arg1)->ScrollToLine(arg2);
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 {
9588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9589 }
9590 return resultobj;
9591 fail:
9592 return NULL;
9593 }
9594
9595
9596 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9599 int arg2 ;
9600 bool result;
9601 PyObject * obj0 = 0 ;
9602 PyObject * obj1 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self",(char *) "lines", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9610 arg2 = (int)SWIG_As_int(obj1);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 result = (bool)(arg1)->ScrollLines(arg2);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 {
9620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9621 }
9622 return resultobj;
9623 fail:
9624 return NULL;
9625 }
9626
9627
9628 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj;
9630 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9631 int arg2 ;
9632 bool result;
9633 PyObject * obj0 = 0 ;
9634 PyObject * obj1 = 0 ;
9635 char *kwnames[] = {
9636 (char *) "self",(char *) "pages", NULL
9637 };
9638
9639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9642 arg2 = (int)SWIG_As_int(obj1);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 result = (bool)(arg1)->ScrollPages(arg2);
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 {
9652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9653 }
9654 return resultobj;
9655 fail:
9656 return NULL;
9657 }
9658
9659
9660 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9661 PyObject *resultobj;
9662 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9663 size_t arg2 ;
9664 PyObject * obj0 = 0 ;
9665 PyObject * obj1 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self",(char *) "line", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9673 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 {
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 (arg1)->RefreshLine(arg2);
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_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9692 size_t arg2 ;
9693 size_t arg3 ;
9694 PyObject * obj0 = 0 ;
9695 PyObject * obj1 = 0 ;
9696 PyObject * obj2 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "from",(char *) "to", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9704 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 (arg1)->RefreshLines(arg2,arg3);
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 Py_INCREF(Py_None); resultobj = Py_None;
9716 return resultobj;
9717 fail:
9718 return NULL;
9719 }
9720
9721
9722 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9723 PyObject *resultobj;
9724 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9725 int arg2 ;
9726 int arg3 ;
9727 int result;
9728 PyObject * obj0 = 0 ;
9729 PyObject * obj1 = 0 ;
9730 PyObject * obj2 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self",(char *) "x",(char *) "y", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9738 arg2 = (int)SWIG_As_int(obj1);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 arg3 = (int)SWIG_As_int(obj2);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
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_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9757 PyObject *resultobj;
9758 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9759 wxPoint *arg2 = 0 ;
9760 int result;
9761 wxPoint temp2 ;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self",(char *) "pt", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9771 {
9772 arg2 = &temp2;
9773 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 resultobj = SWIG_From_int((int)result);
9783 return resultobj;
9784 fail:
9785 return NULL;
9786 }
9787
9788
9789 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 (arg1)->RefreshAll();
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
9807 Py_INCREF(Py_None); resultobj = Py_None;
9808 return resultobj;
9809 fail:
9810 return NULL;
9811 }
9812
9813
9814 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9815 PyObject *resultobj;
9816 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9817 size_t result;
9818 PyObject * obj0 = 0 ;
9819 char *kwnames[] = {
9820 (char *) "self", NULL
9821 };
9822
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9834 return resultobj;
9835 fail:
9836 return NULL;
9837 }
9838
9839
9840 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9843 size_t result;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9860 return resultobj;
9861 fail:
9862 return NULL;
9863 }
9864
9865
9866 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj;
9868 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9869 size_t result;
9870 PyObject * obj0 = 0 ;
9871 char *kwnames[] = {
9872 (char *) "self", NULL
9873 };
9874
9875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9881
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
9885 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9886 return resultobj;
9887 fail:
9888 return NULL;
9889 }
9890
9891
9892 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9895 size_t arg2 ;
9896 bool result;
9897 PyObject * obj0 = 0 ;
9898 PyObject * obj1 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self",(char *) "line", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9906 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
9915 {
9916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9917 }
9918 return resultobj;
9919 fail:
9920 return NULL;
9921 }
9922
9923
9924 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9925 PyObject *obj;
9926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9927 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9928 Py_INCREF(obj);
9929 return Py_BuildValue((char *)"");
9930 }
9931 static int _wrap_VListBoxNameStr_set(PyObject *) {
9932 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9933 return 1;
9934 }
9935
9936
9937 static PyObject *_wrap_VListBoxNameStr_get() {
9938 PyObject *pyobj;
9939
9940 {
9941 #if wxUSE_UNICODE
9942 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9943 #else
9944 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9945 #endif
9946 }
9947 return pyobj;
9948 }
9949
9950
9951 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9952 PyObject *resultobj;
9953 wxWindow *arg1 = (wxWindow *) 0 ;
9954 int arg2 = (int) wxID_ANY ;
9955 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9956 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9957 wxSize const &arg4_defvalue = wxDefaultSize ;
9958 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9959 long arg5 = (long) 0 ;
9960 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9961 wxString *arg6 = (wxString *) &arg6_defvalue ;
9962 wxPyVListBox *result;
9963 wxPoint temp3 ;
9964 wxSize temp4 ;
9965 bool temp6 = false ;
9966 PyObject * obj0 = 0 ;
9967 PyObject * obj1 = 0 ;
9968 PyObject * obj2 = 0 ;
9969 PyObject * obj3 = 0 ;
9970 PyObject * obj4 = 0 ;
9971 PyObject * obj5 = 0 ;
9972 char *kwnames[] = {
9973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9974 };
9975
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9979 if (obj1) {
9980 arg2 = (int)SWIG_As_int(obj1);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 if (obj2) {
9984 {
9985 arg3 = &temp3;
9986 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9987 }
9988 }
9989 if (obj3) {
9990 {
9991 arg4 = &temp4;
9992 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9993 }
9994 }
9995 if (obj4) {
9996 arg5 = (long)SWIG_As_long(obj4);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 if (obj5) {
10000 {
10001 arg6 = wxString_in_helper(obj5);
10002 if (arg6 == NULL) SWIG_fail;
10003 temp6 = true;
10004 }
10005 }
10006 {
10007 if (!wxPyCheckForApp()) SWIG_fail;
10008 PyThreadState* __tstate = wxPyBeginAllowThreads();
10009 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10010
10011 wxPyEndAllowThreads(__tstate);
10012 if (PyErr_Occurred()) SWIG_fail;
10013 }
10014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10015 {
10016 if (temp6)
10017 delete arg6;
10018 }
10019 return resultobj;
10020 fail:
10021 {
10022 if (temp6)
10023 delete arg6;
10024 }
10025 return NULL;
10026 }
10027
10028
10029 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxPyVListBox *result;
10032 char *kwnames[] = {
10033 NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10037 {
10038 if (!wxPyCheckForApp()) SWIG_fail;
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 result = (wxPyVListBox *)new wxPyVListBox();
10041
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj;
10054 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10055 PyObject *arg2 = (PyObject *) 0 ;
10056 PyObject *arg3 = (PyObject *) 0 ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 PyObject * obj2 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "self",(char *) "self",(char *) "_class", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10067 arg2 = obj1;
10068 arg3 = obj2;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 (arg1)->_setCallbackInfo(arg2,arg3);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 Py_INCREF(Py_None); resultobj = Py_None;
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10086 wxWindow *arg2 = (wxWindow *) 0 ;
10087 int arg3 = (int) wxID_ANY ;
10088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10090 wxSize const &arg5_defvalue = wxDefaultSize ;
10091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10092 long arg6 = (long) 0 ;
10093 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10094 wxString *arg7 = (wxString *) &arg7_defvalue ;
10095 bool result;
10096 wxPoint temp4 ;
10097 wxSize temp5 ;
10098 bool temp7 = false ;
10099 PyObject * obj0 = 0 ;
10100 PyObject * obj1 = 0 ;
10101 PyObject * obj2 = 0 ;
10102 PyObject * obj3 = 0 ;
10103 PyObject * obj4 = 0 ;
10104 PyObject * obj5 = 0 ;
10105 PyObject * obj6 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10115 if (obj2) {
10116 arg3 = (int)SWIG_As_int(obj2);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 if (obj3) {
10120 {
10121 arg4 = &temp4;
10122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10123 }
10124 }
10125 if (obj4) {
10126 {
10127 arg5 = &temp5;
10128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10129 }
10130 }
10131 if (obj5) {
10132 arg6 = (long)SWIG_As_long(obj5);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 if (obj6) {
10136 {
10137 arg7 = wxString_in_helper(obj6);
10138 if (arg7 == NULL) SWIG_fail;
10139 temp7 = true;
10140 }
10141 }
10142 {
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10145
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 {
10150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10151 }
10152 {
10153 if (temp7)
10154 delete arg7;
10155 }
10156 return resultobj;
10157 fail:
10158 {
10159 if (temp7)
10160 delete arg7;
10161 }
10162 return NULL;
10163 }
10164
10165
10166 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj;
10168 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10169 size_t result;
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10186 return resultobj;
10187 fail:
10188 return NULL;
10189 }
10190
10191
10192 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10195 bool result;
10196 PyObject * obj0 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 {
10212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10213 }
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10223 int result;
10224 PyObject * obj0 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
10239 resultobj = SWIG_From_int((int)result);
10240 return resultobj;
10241 fail:
10242 return NULL;
10243 }
10244
10245
10246 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj;
10248 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10249 size_t arg2 ;
10250 bool result;
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "self",(char *) "item", NULL
10255 };
10256
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10260 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 {
10270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10271 }
10272 return resultobj;
10273 fail:
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10281 size_t arg2 ;
10282 bool result;
10283 PyObject * obj0 = 0 ;
10284 PyObject * obj1 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self",(char *) "item", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10292 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
10301 {
10302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10303 }
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10313 size_t result;
10314 PyObject * obj0 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10330 return resultobj;
10331 fail:
10332 return NULL;
10333 }
10334
10335
10336 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj;
10338 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10339 PyObject *result;
10340 PyObject * obj0 = 0 ;
10341 char *kwnames[] = {
10342 (char *) "self", NULL
10343 };
10344
10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10348 {
10349 PyThreadState* __tstate = wxPyBeginAllowThreads();
10350 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10351
10352 wxPyEndAllowThreads(__tstate);
10353 if (PyErr_Occurred()) SWIG_fail;
10354 }
10355 resultobj = result;
10356 return resultobj;
10357 fail:
10358 return NULL;
10359 }
10360
10361
10362 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10363 PyObject *resultobj;
10364 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10365 unsigned long arg2 ;
10366 PyObject *result;
10367 PyObject * obj0 = 0 ;
10368 PyObject * obj1 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self",(char *) "cookie", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10376 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 resultobj = result;
10386 return resultobj;
10387 fail:
10388 return NULL;
10389 }
10390
10391
10392 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10395 wxPoint result;
10396 PyObject * obj0 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 result = ((wxPyVListBox const *)arg1)->GetMargins();
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 {
10412 wxPoint * resultptr;
10413 resultptr = new wxPoint((wxPoint &) result);
10414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10415 }
10416 return resultobj;
10417 fail:
10418 return NULL;
10419 }
10420
10421
10422 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10423 PyObject *resultobj;
10424 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10425 wxColour *result;
10426 PyObject * obj0 = 0 ;
10427 char *kwnames[] = {
10428 (char *) "self", NULL
10429 };
10430
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 {
10437 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10438 result = (wxColour *) &_result_ref;
10439 }
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10454 size_t arg2 ;
10455 PyObject * obj0 = 0 ;
10456 PyObject * obj1 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self",(char *) "count", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10464 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 (arg1)->SetItemCount(arg2);
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 Py_INCREF(Py_None); resultobj = Py_None;
10474 return resultobj;
10475 fail:
10476 return NULL;
10477 }
10478
10479
10480 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj;
10482 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10483 PyObject * obj0 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 (arg1)->Clear();
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 Py_INCREF(Py_None); resultobj = Py_None;
10499 return resultobj;
10500 fail:
10501 return NULL;
10502 }
10503
10504
10505 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10508 int arg2 ;
10509 PyObject * obj0 = 0 ;
10510 PyObject * obj1 = 0 ;
10511 char *kwnames[] = {
10512 (char *) "self",(char *) "selection", NULL
10513 };
10514
10515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10518 arg2 = (int)SWIG_As_int(obj1);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetSelection(arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10537 size_t arg2 ;
10538 bool arg3 = (bool) true ;
10539 bool result;
10540 PyObject * obj0 = 0 ;
10541 PyObject * obj1 = 0 ;
10542 PyObject * obj2 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self",(char *) "item",(char *) "select", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10550 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 if (obj2) {
10553 arg3 = (bool)SWIG_As_bool(obj2);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 result = (bool)(arg1)->Select(arg2,arg3);
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 {
10564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10565 }
10566 return resultobj;
10567 fail:
10568 return NULL;
10569 }
10570
10571
10572 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj;
10574 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10575 size_t arg2 ;
10576 size_t arg3 ;
10577 bool result;
10578 PyObject * obj0 = 0 ;
10579 PyObject * obj1 = 0 ;
10580 PyObject * obj2 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self",(char *) "from",(char *) "to", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 result = (bool)(arg1)->SelectRange(arg2,arg3);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 {
10600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10601 }
10602 return resultobj;
10603 fail:
10604 return NULL;
10605 }
10606
10607
10608 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj;
10610 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10611 size_t arg2 ;
10612 PyObject * obj0 = 0 ;
10613 PyObject * obj1 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "self",(char *) "item", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10621 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 (arg1)->Toggle(arg2);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 return resultobj;
10632 fail:
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10640 bool result;
10641 PyObject * obj0 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 result = (bool)(arg1)->SelectAll();
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 {
10657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10658 }
10659 return resultobj;
10660 fail:
10661 return NULL;
10662 }
10663
10664
10665 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10666 PyObject *resultobj;
10667 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10668 bool result;
10669 PyObject * obj0 = 0 ;
10670 char *kwnames[] = {
10671 (char *) "self", NULL
10672 };
10673
10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 result = (bool)(arg1)->DeselectAll();
10680
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 {
10685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10686 }
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj;
10695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10696 wxPoint *arg2 = 0 ;
10697 wxPoint temp2 ;
10698 PyObject * obj0 = 0 ;
10699 PyObject * obj1 = 0 ;
10700 char *kwnames[] = {
10701 (char *) "self",(char *) "pt", NULL
10702 };
10703
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10707 {
10708 arg2 = &temp2;
10709 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10710 }
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 (arg1)->SetMargins((wxPoint const &)*arg2);
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_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10728 int arg2 ;
10729 int arg3 ;
10730 PyObject * obj0 = 0 ;
10731 PyObject * obj1 = 0 ;
10732 PyObject * obj2 = 0 ;
10733 char *kwnames[] = {
10734 (char *) "self",(char *) "x",(char *) "y", NULL
10735 };
10736
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10740 arg2 = (int)SWIG_As_int(obj1);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 arg3 = (int)SWIG_As_int(obj2);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->SetMargins(arg2,arg3);
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 Py_INCREF(Py_None); resultobj = Py_None;
10752 return resultobj;
10753 fail:
10754 return NULL;
10755 }
10756
10757
10758 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10761 wxColour *arg2 = 0 ;
10762 wxColour temp2 ;
10763 PyObject * obj0 = 0 ;
10764 PyObject * obj1 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self",(char *) "col", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10772 {
10773 arg2 = &temp2;
10774 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10775 }
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 Py_INCREF(Py_None); resultobj = Py_None;
10784 return resultobj;
10785 fail:
10786 return NULL;
10787 }
10788
10789
10790 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10791 PyObject *obj;
10792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10793 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10794 Py_INCREF(obj);
10795 return Py_BuildValue((char *)"");
10796 }
10797 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10798 PyObject *resultobj;
10799 wxWindow *arg1 = (wxWindow *) 0 ;
10800 int arg2 = (int) wxID_ANY ;
10801 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10802 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10803 wxSize const &arg4_defvalue = wxDefaultSize ;
10804 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10805 long arg5 = (long) 0 ;
10806 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10807 wxString *arg6 = (wxString *) &arg6_defvalue ;
10808 wxPyHtmlListBox *result;
10809 wxPoint temp3 ;
10810 wxSize temp4 ;
10811 bool temp6 = false ;
10812 PyObject * obj0 = 0 ;
10813 PyObject * obj1 = 0 ;
10814 PyObject * obj2 = 0 ;
10815 PyObject * obj3 = 0 ;
10816 PyObject * obj4 = 0 ;
10817 PyObject * obj5 = 0 ;
10818 char *kwnames[] = {
10819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10820 };
10821
10822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10825 if (obj1) {
10826 arg2 = (int)SWIG_As_int(obj1);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
10829 if (obj2) {
10830 {
10831 arg3 = &temp3;
10832 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10833 }
10834 }
10835 if (obj3) {
10836 {
10837 arg4 = &temp4;
10838 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10839 }
10840 }
10841 if (obj4) {
10842 arg5 = (long)SWIG_As_long(obj4);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 if (obj5) {
10846 {
10847 arg6 = wxString_in_helper(obj5);
10848 if (arg6 == NULL) SWIG_fail;
10849 temp6 = true;
10850 }
10851 }
10852 {
10853 if (!wxPyCheckForApp()) SWIG_fail;
10854 PyThreadState* __tstate = wxPyBeginAllowThreads();
10855 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10856
10857 wxPyEndAllowThreads(__tstate);
10858 if (PyErr_Occurred()) SWIG_fail;
10859 }
10860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10861 {
10862 if (temp6)
10863 delete arg6;
10864 }
10865 return resultobj;
10866 fail:
10867 {
10868 if (temp6)
10869 delete arg6;
10870 }
10871 return NULL;
10872 }
10873
10874
10875 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10876 PyObject *resultobj;
10877 wxPyHtmlListBox *result;
10878 char *kwnames[] = {
10879 NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10883 {
10884 if (!wxPyCheckForApp()) SWIG_fail;
10885 PyThreadState* __tstate = wxPyBeginAllowThreads();
10886 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10887
10888 wxPyEndAllowThreads(__tstate);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 }
10891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10892 return resultobj;
10893 fail:
10894 return NULL;
10895 }
10896
10897
10898 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10899 PyObject *resultobj;
10900 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10901 PyObject *arg2 = (PyObject *) 0 ;
10902 PyObject *arg3 = (PyObject *) 0 ;
10903 PyObject * obj0 = 0 ;
10904 PyObject * obj1 = 0 ;
10905 PyObject * obj2 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self",(char *) "self",(char *) "_class", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10913 arg2 = obj1;
10914 arg3 = obj2;
10915 {
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
10917 (arg1)->_setCallbackInfo(arg2,arg3);
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 Py_INCREF(Py_None); resultobj = Py_None;
10923 return resultobj;
10924 fail:
10925 return NULL;
10926 }
10927
10928
10929 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10932 wxWindow *arg2 = (wxWindow *) 0 ;
10933 int arg3 = (int) wxID_ANY ;
10934 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10935 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10936 wxSize const &arg5_defvalue = wxDefaultSize ;
10937 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10938 long arg6 = (long) 0 ;
10939 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10940 wxString *arg7 = (wxString *) &arg7_defvalue ;
10941 bool result;
10942 wxPoint temp4 ;
10943 wxSize temp5 ;
10944 bool temp7 = false ;
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 PyObject * obj2 = 0 ;
10948 PyObject * obj3 = 0 ;
10949 PyObject * obj4 = 0 ;
10950 PyObject * obj5 = 0 ;
10951 PyObject * obj6 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10961 if (obj2) {
10962 arg3 = (int)SWIG_As_int(obj2);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 if (obj3) {
10966 {
10967 arg4 = &temp4;
10968 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10969 }
10970 }
10971 if (obj4) {
10972 {
10973 arg5 = &temp5;
10974 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10975 }
10976 }
10977 if (obj5) {
10978 arg6 = (long)SWIG_As_long(obj5);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 if (obj6) {
10982 {
10983 arg7 = wxString_in_helper(obj6);
10984 if (arg7 == NULL) SWIG_fail;
10985 temp7 = true;
10986 }
10987 }
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10991
10992 wxPyEndAllowThreads(__tstate);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 }
10995 {
10996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10997 }
10998 {
10999 if (temp7)
11000 delete arg7;
11001 }
11002 return resultobj;
11003 fail:
11004 {
11005 if (temp7)
11006 delete arg7;
11007 }
11008 return NULL;
11009 }
11010
11011
11012 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11015 PyObject * obj0 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "self", NULL
11018 };
11019
11020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11023 {
11024 PyThreadState* __tstate = wxPyBeginAllowThreads();
11025 (arg1)->RefreshAll();
11026
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 Py_INCREF(Py_None); resultobj = Py_None;
11031 return resultobj;
11032 fail:
11033 return NULL;
11034 }
11035
11036
11037 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11038 PyObject *resultobj;
11039 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11040 size_t arg2 ;
11041 PyObject * obj0 = 0 ;
11042 PyObject * obj1 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self",(char *) "count", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11050 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 (arg1)->SetItemCount(arg2);
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 Py_INCREF(Py_None); resultobj = Py_None;
11060 return resultobj;
11061 fail:
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11069 wxFileSystem *result;
11070 PyObject * obj0 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 {
11081 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11082 result = (wxFileSystem *) &_result_ref;
11083 }
11084
11085 wxPyEndAllowThreads(__tstate);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11089 return resultobj;
11090 fail:
11091 return NULL;
11092 }
11093
11094
11095 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11096 PyObject *obj;
11097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11098 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11099 Py_INCREF(obj);
11100 return Py_BuildValue((char *)"");
11101 }
11102 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj;
11104 wxTaskBarIcon *result;
11105 char *kwnames[] = {
11106 NULL
11107 };
11108
11109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11110 {
11111 if (!wxPyCheckForApp()) SWIG_fail;
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 result = (wxTaskBarIcon *)new wxTaskBarIcon();
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
11119 return resultobj;
11120 fail:
11121 return NULL;
11122 }
11123
11124
11125 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11126 PyObject *resultobj;
11127 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11128 PyObject * obj0 = 0 ;
11129 char *kwnames[] = {
11130 (char *) "self", NULL
11131 };
11132
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
11134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 delete arg1;
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 Py_INCREF(Py_None); resultobj = Py_None;
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj;
11152 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11153 PyObject * obj0 = 0 ;
11154 char *kwnames[] = {
11155 (char *) "self", NULL
11156 };
11157
11158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 wxTaskBarIcon_Destroy(arg1);
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 Py_INCREF(Py_None); resultobj = Py_None;
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj;
11177 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11178 bool result;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 {
11195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11196 }
11197 return resultobj;
11198 fail:
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11206 bool result;
11207 PyObject * obj0 = 0 ;
11208 char *kwnames[] = {
11209 (char *) "self", NULL
11210 };
11211
11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 {
11223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11224 }
11225 return resultobj;
11226 fail:
11227 return NULL;
11228 }
11229
11230
11231 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11234 wxIcon *arg2 = 0 ;
11235 wxString const &arg3_defvalue = wxPyEmptyString ;
11236 wxString *arg3 = (wxString *) &arg3_defvalue ;
11237 bool result;
11238 bool temp3 = false ;
11239 PyObject * obj0 = 0 ;
11240 PyObject * obj1 = 0 ;
11241 PyObject * obj2 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11250 SWIG_POINTER_EXCEPTION | 0)) == -1)
11251 SWIG_fail;
11252 if (arg2 == NULL) {
11253 PyErr_SetString(PyExc_TypeError,"null reference");
11254 SWIG_fail;
11255 }
11256 if (obj2) {
11257 {
11258 arg3 = wxString_in_helper(obj2);
11259 if (arg3 == NULL) SWIG_fail;
11260 temp3 = true;
11261 }
11262 }
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 {
11271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11272 }
11273 {
11274 if (temp3)
11275 delete arg3;
11276 }
11277 return resultobj;
11278 fail:
11279 {
11280 if (temp3)
11281 delete arg3;
11282 }
11283 return NULL;
11284 }
11285
11286
11287 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11288 PyObject *resultobj;
11289 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11290 bool result;
11291 PyObject * obj0 = 0 ;
11292 char *kwnames[] = {
11293 (char *) "self", NULL
11294 };
11295
11296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 result = (bool)(arg1)->RemoveIcon();
11302
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 {
11307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11308 }
11309 return resultobj;
11310 fail:
11311 return NULL;
11312 }
11313
11314
11315 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11316 PyObject *resultobj;
11317 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11318 wxMenu *arg2 = (wxMenu *) 0 ;
11319 bool result;
11320 PyObject * obj0 = 0 ;
11321 PyObject * obj1 = 0 ;
11322 char *kwnames[] = {
11323 (char *) "self",(char *) "menu", NULL
11324 };
11325
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11331 {
11332 PyThreadState* __tstate = wxPyBeginAllowThreads();
11333 result = (bool)(arg1)->PopupMenu(arg2);
11334
11335 wxPyEndAllowThreads(__tstate);
11336 if (PyErr_Occurred()) SWIG_fail;
11337 }
11338 {
11339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11340 }
11341 return resultobj;
11342 fail:
11343 return NULL;
11344 }
11345
11346
11347 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11348 PyObject *obj;
11349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11350 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11351 Py_INCREF(obj);
11352 return Py_BuildValue((char *)"");
11353 }
11354 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj;
11356 wxEventType arg1 ;
11357 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11358 wxTaskBarIconEvent *result;
11359 PyObject * obj0 = 0 ;
11360 PyObject * obj1 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "evtType",(char *) "tbIcon", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11366 arg1 = (wxEventType)SWIG_As_int(obj0);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11378 return resultobj;
11379 fail:
11380 return NULL;
11381 }
11382
11383
11384 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11385 PyObject *obj;
11386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11387 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11388 Py_INCREF(obj);
11389 return Py_BuildValue((char *)"");
11390 }
11391 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11392 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11393 return 1;
11394 }
11395
11396
11397 static PyObject *_wrap_FileSelectorPromptStr_get() {
11398 PyObject *pyobj;
11399
11400 {
11401 #if wxUSE_UNICODE
11402 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11403 #else
11404 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11405 #endif
11406 }
11407 return pyobj;
11408 }
11409
11410
11411 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11412 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11413 return 1;
11414 }
11415
11416
11417 static PyObject *_wrap_DirSelectorPromptStr_get() {
11418 PyObject *pyobj;
11419
11420 {
11421 #if wxUSE_UNICODE
11422 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11423 #else
11424 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11425 #endif
11426 }
11427 return pyobj;
11428 }
11429
11430
11431 static int _wrap_DirDialogNameStr_set(PyObject *) {
11432 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11433 return 1;
11434 }
11435
11436
11437 static PyObject *_wrap_DirDialogNameStr_get() {
11438 PyObject *pyobj;
11439
11440 {
11441 #if wxUSE_UNICODE
11442 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11443 #else
11444 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11445 #endif
11446 }
11447 return pyobj;
11448 }
11449
11450
11451 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11452 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11453 return 1;
11454 }
11455
11456
11457 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11458 PyObject *pyobj;
11459
11460 {
11461 #if wxUSE_UNICODE
11462 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11463 #else
11464 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11465 #endif
11466 }
11467 return pyobj;
11468 }
11469
11470
11471 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11472 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11473 return 1;
11474 }
11475
11476
11477 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11478 PyObject *pyobj;
11479
11480 {
11481 #if wxUSE_UNICODE
11482 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11483 #else
11484 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11485 #endif
11486 }
11487 return pyobj;
11488 }
11489
11490
11491 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11492 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11493 return 1;
11494 }
11495
11496
11497 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11498 PyObject *pyobj;
11499
11500 {
11501 #if wxUSE_UNICODE
11502 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11503 #else
11504 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11505 #endif
11506 }
11507 return pyobj;
11508 }
11509
11510
11511 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11512 PyObject *resultobj;
11513 wxColourData *result;
11514 char *kwnames[] = {
11515 NULL
11516 };
11517
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 result = (wxColourData *)new wxColourData();
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11527 return resultobj;
11528 fail:
11529 return NULL;
11530 }
11531
11532
11533 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11534 PyObject *resultobj;
11535 wxColourData *arg1 = (wxColourData *) 0 ;
11536 PyObject * obj0 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11544 {
11545 PyThreadState* __tstate = wxPyBeginAllowThreads();
11546 delete arg1;
11547
11548 wxPyEndAllowThreads(__tstate);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 }
11551 Py_INCREF(Py_None); resultobj = Py_None;
11552 return resultobj;
11553 fail:
11554 return NULL;
11555 }
11556
11557
11558 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11559 PyObject *resultobj;
11560 wxColourData *arg1 = (wxColourData *) 0 ;
11561 bool result;
11562 PyObject * obj0 = 0 ;
11563 char *kwnames[] = {
11564 (char *) "self", NULL
11565 };
11566
11567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11570 {
11571 PyThreadState* __tstate = wxPyBeginAllowThreads();
11572 result = (bool)(arg1)->GetChooseFull();
11573
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 {
11578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11579 }
11580 return resultobj;
11581 fail:
11582 return NULL;
11583 }
11584
11585
11586 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11587 PyObject *resultobj;
11588 wxColourData *arg1 = (wxColourData *) 0 ;
11589 wxColour result;
11590 PyObject * obj0 = 0 ;
11591 char *kwnames[] = {
11592 (char *) "self", NULL
11593 };
11594
11595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (arg1)->GetColour();
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 {
11606 wxColour * resultptr;
11607 resultptr = new wxColour((wxColour &) result);
11608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11609 }
11610 return resultobj;
11611 fail:
11612 return NULL;
11613 }
11614
11615
11616 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxColourData *arg1 = (wxColourData *) 0 ;
11619 int arg2 ;
11620 wxColour result;
11621 PyObject * obj0 = 0 ;
11622 PyObject * obj1 = 0 ;
11623 char *kwnames[] = {
11624 (char *) "self",(char *) "i", NULL
11625 };
11626
11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",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 result = (arg1)->GetCustomColour(arg2);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 {
11640 wxColour * resultptr;
11641 resultptr = new wxColour((wxColour &) result);
11642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11643 }
11644 return resultobj;
11645 fail:
11646 return NULL;
11647 }
11648
11649
11650 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11651 PyObject *resultobj;
11652 wxColourData *arg1 = (wxColourData *) 0 ;
11653 int arg2 ;
11654 PyObject * obj0 = 0 ;
11655 PyObject * obj1 = 0 ;
11656 char *kwnames[] = {
11657 (char *) "self",(char *) "flag", NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11663 arg2 = (int)SWIG_As_int(obj1);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 (arg1)->SetChooseFull(arg2);
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 Py_INCREF(Py_None); resultobj = Py_None;
11673 return resultobj;
11674 fail:
11675 return NULL;
11676 }
11677
11678
11679 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11680 PyObject *resultobj;
11681 wxColourData *arg1 = (wxColourData *) 0 ;
11682 wxColour *arg2 = 0 ;
11683 wxColour temp2 ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self",(char *) "colour", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11693 {
11694 arg2 = &temp2;
11695 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11696 }
11697 {
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 (arg1)->SetColour((wxColour const &)*arg2);
11700
11701 wxPyEndAllowThreads(__tstate);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 Py_INCREF(Py_None); resultobj = Py_None;
11705 return resultobj;
11706 fail:
11707 return NULL;
11708 }
11709
11710
11711 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11712 PyObject *resultobj;
11713 wxColourData *arg1 = (wxColourData *) 0 ;
11714 int arg2 ;
11715 wxColour *arg3 = 0 ;
11716 wxColour temp3 ;
11717 PyObject * obj0 = 0 ;
11718 PyObject * obj1 = 0 ;
11719 PyObject * obj2 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self",(char *) "i",(char *) "colour", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11727 arg2 = (int)SWIG_As_int(obj1);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 {
11730 arg3 = &temp3;
11731 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 Py_INCREF(Py_None); resultobj = Py_None;
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11748 PyObject *obj;
11749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11750 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11751 Py_INCREF(obj);
11752 return Py_BuildValue((char *)"");
11753 }
11754 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj;
11756 wxWindow *arg1 = (wxWindow *) 0 ;
11757 wxColourData *arg2 = (wxColourData *) NULL ;
11758 wxColourDialog *result;
11759 PyObject * obj0 = 0 ;
11760 PyObject * obj1 = 0 ;
11761 char *kwnames[] = {
11762 (char *) "parent",(char *) "data", NULL
11763 };
11764
11765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11768 if (obj1) {
11769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11771 }
11772 {
11773 if (!wxPyCheckForApp()) SWIG_fail;
11774 PyThreadState* __tstate = wxPyBeginAllowThreads();
11775 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11776
11777 wxPyEndAllowThreads(__tstate);
11778 if (PyErr_Occurred()) SWIG_fail;
11779 }
11780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11781 return resultobj;
11782 fail:
11783 return NULL;
11784 }
11785
11786
11787 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11790 wxColourData *result;
11791 PyObject * obj0 = 0 ;
11792 char *kwnames[] = {
11793 (char *) "self", NULL
11794 };
11795
11796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 {
11802 wxColourData &_result_ref = (arg1)->GetColourData();
11803 result = (wxColourData *) &_result_ref;
11804 }
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11810 return resultobj;
11811 fail:
11812 return NULL;
11813 }
11814
11815
11816 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11817 PyObject *obj;
11818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11819 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11820 Py_INCREF(obj);
11821 return Py_BuildValue((char *)"");
11822 }
11823 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxWindow *arg1 = (wxWindow *) 0 ;
11826 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11827 wxString *arg2 = (wxString *) &arg2_defvalue ;
11828 wxString const &arg3_defvalue = wxPyEmptyString ;
11829 wxString *arg3 = (wxString *) &arg3_defvalue ;
11830 long arg4 = (long) 0 ;
11831 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11832 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11833 wxSize const &arg6_defvalue = wxDefaultSize ;
11834 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11835 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11836 wxString *arg7 = (wxString *) &arg7_defvalue ;
11837 wxDirDialog *result;
11838 bool temp2 = false ;
11839 bool temp3 = false ;
11840 wxPoint temp5 ;
11841 wxSize temp6 ;
11842 bool temp7 = false ;
11843 PyObject * obj0 = 0 ;
11844 PyObject * obj1 = 0 ;
11845 PyObject * obj2 = 0 ;
11846 PyObject * obj3 = 0 ;
11847 PyObject * obj4 = 0 ;
11848 PyObject * obj5 = 0 ;
11849 PyObject * obj6 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11857 if (obj1) {
11858 {
11859 arg2 = wxString_in_helper(obj1);
11860 if (arg2 == NULL) SWIG_fail;
11861 temp2 = true;
11862 }
11863 }
11864 if (obj2) {
11865 {
11866 arg3 = wxString_in_helper(obj2);
11867 if (arg3 == NULL) SWIG_fail;
11868 temp3 = true;
11869 }
11870 }
11871 if (obj3) {
11872 arg4 = (long)SWIG_As_long(obj3);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
11875 if (obj4) {
11876 {
11877 arg5 = &temp5;
11878 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11879 }
11880 }
11881 if (obj5) {
11882 {
11883 arg6 = &temp6;
11884 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11885 }
11886 }
11887 if (obj6) {
11888 {
11889 arg7 = wxString_in_helper(obj6);
11890 if (arg7 == NULL) SWIG_fail;
11891 temp7 = true;
11892 }
11893 }
11894 {
11895 if (!wxPyCheckForApp()) SWIG_fail;
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11898
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11903 {
11904 if (temp2)
11905 delete arg2;
11906 }
11907 {
11908 if (temp3)
11909 delete arg3;
11910 }
11911 {
11912 if (temp7)
11913 delete arg7;
11914 }
11915 return resultobj;
11916 fail:
11917 {
11918 if (temp2)
11919 delete arg2;
11920 }
11921 {
11922 if (temp3)
11923 delete arg3;
11924 }
11925 {
11926 if (temp7)
11927 delete arg7;
11928 }
11929 return NULL;
11930 }
11931
11932
11933 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11934 PyObject *resultobj;
11935 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11936 wxString result;
11937 PyObject * obj0 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "self", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 result = (arg1)->GetPath();
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 {
11953 #if wxUSE_UNICODE
11954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11955 #else
11956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11957 #endif
11958 }
11959 return resultobj;
11960 fail:
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11968 wxString result;
11969 PyObject * obj0 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (arg1)->GetMessage();
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 {
11985 #if wxUSE_UNICODE
11986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11987 #else
11988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11989 #endif
11990 }
11991 return resultobj;
11992 fail:
11993 return NULL;
11994 }
11995
11996
11997 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj;
11999 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12000 long result;
12001 PyObject * obj0 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 result = (long)(arg1)->GetStyle();
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_From_long((long)result);
12017 return resultobj;
12018 fail:
12019 return NULL;
12020 }
12021
12022
12023 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12026 wxString *arg2 = 0 ;
12027 bool temp2 = false ;
12028 PyObject * obj0 = 0 ;
12029 PyObject * obj1 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self",(char *) "message", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12037 {
12038 arg2 = wxString_in_helper(obj1);
12039 if (arg2 == NULL) SWIG_fail;
12040 temp2 = true;
12041 }
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 (arg1)->SetMessage((wxString const &)*arg2);
12045
12046 wxPyEndAllowThreads(__tstate);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
12049 Py_INCREF(Py_None); resultobj = Py_None;
12050 {
12051 if (temp2)
12052 delete arg2;
12053 }
12054 return resultobj;
12055 fail:
12056 {
12057 if (temp2)
12058 delete arg2;
12059 }
12060 return NULL;
12061 }
12062
12063
12064 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj;
12066 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12067 wxString *arg2 = 0 ;
12068 bool temp2 = false ;
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self",(char *) "path", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12078 {
12079 arg2 = wxString_in_helper(obj1);
12080 if (arg2 == NULL) SWIG_fail;
12081 temp2 = true;
12082 }
12083 {
12084 PyThreadState* __tstate = wxPyBeginAllowThreads();
12085 (arg1)->SetPath((wxString const &)*arg2);
12086
12087 wxPyEndAllowThreads(__tstate);
12088 if (PyErr_Occurred()) SWIG_fail;
12089 }
12090 Py_INCREF(Py_None); resultobj = Py_None;
12091 {
12092 if (temp2)
12093 delete arg2;
12094 }
12095 return resultobj;
12096 fail:
12097 {
12098 if (temp2)
12099 delete arg2;
12100 }
12101 return NULL;
12102 }
12103
12104
12105 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12106 PyObject *obj;
12107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12108 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12109 Py_INCREF(obj);
12110 return Py_BuildValue((char *)"");
12111 }
12112 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12113 PyObject *resultobj;
12114 wxWindow *arg1 = (wxWindow *) 0 ;
12115 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12116 wxString *arg2 = (wxString *) &arg2_defvalue ;
12117 wxString const &arg3_defvalue = wxPyEmptyString ;
12118 wxString *arg3 = (wxString *) &arg3_defvalue ;
12119 wxString const &arg4_defvalue = wxPyEmptyString ;
12120 wxString *arg4 = (wxString *) &arg4_defvalue ;
12121 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12122 wxString *arg5 = (wxString *) &arg5_defvalue ;
12123 long arg6 = (long) 0 ;
12124 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12125 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12126 wxFileDialog *result;
12127 bool temp2 = false ;
12128 bool temp3 = false ;
12129 bool temp4 = false ;
12130 bool temp5 = false ;
12131 wxPoint temp7 ;
12132 PyObject * obj0 = 0 ;
12133 PyObject * obj1 = 0 ;
12134 PyObject * obj2 = 0 ;
12135 PyObject * obj3 = 0 ;
12136 PyObject * obj4 = 0 ;
12137 PyObject * obj5 = 0 ;
12138 PyObject * obj6 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12146 if (obj1) {
12147 {
12148 arg2 = wxString_in_helper(obj1);
12149 if (arg2 == NULL) SWIG_fail;
12150 temp2 = true;
12151 }
12152 }
12153 if (obj2) {
12154 {
12155 arg3 = wxString_in_helper(obj2);
12156 if (arg3 == NULL) SWIG_fail;
12157 temp3 = true;
12158 }
12159 }
12160 if (obj3) {
12161 {
12162 arg4 = wxString_in_helper(obj3);
12163 if (arg4 == NULL) SWIG_fail;
12164 temp4 = true;
12165 }
12166 }
12167 if (obj4) {
12168 {
12169 arg5 = wxString_in_helper(obj4);
12170 if (arg5 == NULL) SWIG_fail;
12171 temp5 = true;
12172 }
12173 }
12174 if (obj5) {
12175 arg6 = (long)SWIG_As_long(obj5);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 if (obj6) {
12179 {
12180 arg7 = &temp7;
12181 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12182 }
12183 }
12184 {
12185 if (!wxPyCheckForApp()) SWIG_fail;
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12188
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12193 {
12194 if (temp2)
12195 delete arg2;
12196 }
12197 {
12198 if (temp3)
12199 delete arg3;
12200 }
12201 {
12202 if (temp4)
12203 delete arg4;
12204 }
12205 {
12206 if (temp5)
12207 delete arg5;
12208 }
12209 return resultobj;
12210 fail:
12211 {
12212 if (temp2)
12213 delete arg2;
12214 }
12215 {
12216 if (temp3)
12217 delete arg3;
12218 }
12219 {
12220 if (temp4)
12221 delete arg4;
12222 }
12223 {
12224 if (temp5)
12225 delete arg5;
12226 }
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12234 wxString *arg2 = 0 ;
12235 bool temp2 = false ;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "message", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12245 {
12246 arg2 = wxString_in_helper(obj1);
12247 if (arg2 == NULL) SWIG_fail;
12248 temp2 = true;
12249 }
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 (arg1)->SetMessage((wxString const &)*arg2);
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 Py_INCREF(Py_None); resultobj = Py_None;
12258 {
12259 if (temp2)
12260 delete arg2;
12261 }
12262 return resultobj;
12263 fail:
12264 {
12265 if (temp2)
12266 delete arg2;
12267 }
12268 return NULL;
12269 }
12270
12271
12272 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj;
12274 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12275 wxString *arg2 = 0 ;
12276 bool temp2 = false ;
12277 PyObject * obj0 = 0 ;
12278 PyObject * obj1 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self",(char *) "path", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12286 {
12287 arg2 = wxString_in_helper(obj1);
12288 if (arg2 == NULL) SWIG_fail;
12289 temp2 = true;
12290 }
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 (arg1)->SetPath((wxString const &)*arg2);
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 Py_INCREF(Py_None); resultobj = Py_None;
12299 {
12300 if (temp2)
12301 delete arg2;
12302 }
12303 return resultobj;
12304 fail:
12305 {
12306 if (temp2)
12307 delete arg2;
12308 }
12309 return NULL;
12310 }
12311
12312
12313 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj;
12315 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12316 wxString *arg2 = 0 ;
12317 bool temp2 = false ;
12318 PyObject * obj0 = 0 ;
12319 PyObject * obj1 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self",(char *) "dir", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12327 {
12328 arg2 = wxString_in_helper(obj1);
12329 if (arg2 == NULL) SWIG_fail;
12330 temp2 = true;
12331 }
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 (arg1)->SetDirectory((wxString const &)*arg2);
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 Py_INCREF(Py_None); resultobj = Py_None;
12340 {
12341 if (temp2)
12342 delete arg2;
12343 }
12344 return resultobj;
12345 fail:
12346 {
12347 if (temp2)
12348 delete arg2;
12349 }
12350 return NULL;
12351 }
12352
12353
12354 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj;
12356 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12357 wxString *arg2 = 0 ;
12358 bool temp2 = false ;
12359 PyObject * obj0 = 0 ;
12360 PyObject * obj1 = 0 ;
12361 char *kwnames[] = {
12362 (char *) "self",(char *) "name", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12368 {
12369 arg2 = wxString_in_helper(obj1);
12370 if (arg2 == NULL) SWIG_fail;
12371 temp2 = true;
12372 }
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 (arg1)->SetFilename((wxString const &)*arg2);
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 Py_INCREF(Py_None); resultobj = Py_None;
12381 {
12382 if (temp2)
12383 delete arg2;
12384 }
12385 return resultobj;
12386 fail:
12387 {
12388 if (temp2)
12389 delete arg2;
12390 }
12391 return NULL;
12392 }
12393
12394
12395 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12396 PyObject *resultobj;
12397 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12398 wxString *arg2 = 0 ;
12399 bool temp2 = false ;
12400 PyObject * obj0 = 0 ;
12401 PyObject * obj1 = 0 ;
12402 char *kwnames[] = {
12403 (char *) "self",(char *) "wildCard", NULL
12404 };
12405
12406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12409 {
12410 arg2 = wxString_in_helper(obj1);
12411 if (arg2 == NULL) SWIG_fail;
12412 temp2 = true;
12413 }
12414 {
12415 PyThreadState* __tstate = wxPyBeginAllowThreads();
12416 (arg1)->SetWildcard((wxString const &)*arg2);
12417
12418 wxPyEndAllowThreads(__tstate);
12419 if (PyErr_Occurred()) SWIG_fail;
12420 }
12421 Py_INCREF(Py_None); resultobj = Py_None;
12422 {
12423 if (temp2)
12424 delete arg2;
12425 }
12426 return resultobj;
12427 fail:
12428 {
12429 if (temp2)
12430 delete arg2;
12431 }
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12439 long arg2 ;
12440 PyObject * obj0 = 0 ;
12441 PyObject * obj1 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self",(char *) "style", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12449 arg2 = (long)SWIG_As_long(obj1);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 {
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 (arg1)->SetStyle(arg2);
12454
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 Py_INCREF(Py_None); resultobj = Py_None;
12459 return resultobj;
12460 fail:
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12468 int arg2 ;
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "filterIndex", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12478 arg2 = (int)SWIG_As_int(obj1);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 (arg1)->SetFilterIndex(arg2);
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 Py_INCREF(Py_None); resultobj = Py_None;
12488 return resultobj;
12489 fail:
12490 return NULL;
12491 }
12492
12493
12494 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj;
12496 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12497 wxString result;
12498 PyObject * obj0 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 result = ((wxFileDialog const *)arg1)->GetMessage();
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 {
12514 #if wxUSE_UNICODE
12515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12516 #else
12517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12518 #endif
12519 }
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12529 wxString result;
12530 PyObject * obj0 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = ((wxFileDialog const *)arg1)->GetPath();
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 {
12546 #if wxUSE_UNICODE
12547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12548 #else
12549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12550 #endif
12551 }
12552 return resultobj;
12553 fail:
12554 return NULL;
12555 }
12556
12557
12558 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12559 PyObject *resultobj;
12560 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12561 wxString result;
12562 PyObject * obj0 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "self", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 result = ((wxFileDialog const *)arg1)->GetDirectory();
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 {
12578 #if wxUSE_UNICODE
12579 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12580 #else
12581 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12582 #endif
12583 }
12584 return resultobj;
12585 fail:
12586 return NULL;
12587 }
12588
12589
12590 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12591 PyObject *resultobj;
12592 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12593 wxString result;
12594 PyObject * obj0 = 0 ;
12595 char *kwnames[] = {
12596 (char *) "self", NULL
12597 };
12598
12599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12602 {
12603 PyThreadState* __tstate = wxPyBeginAllowThreads();
12604 result = ((wxFileDialog const *)arg1)->GetFilename();
12605
12606 wxPyEndAllowThreads(__tstate);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 }
12609 {
12610 #if wxUSE_UNICODE
12611 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12612 #else
12613 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12614 #endif
12615 }
12616 return resultobj;
12617 fail:
12618 return NULL;
12619 }
12620
12621
12622 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12625 wxString result;
12626 PyObject * obj0 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 result = ((wxFileDialog const *)arg1)->GetWildcard();
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 {
12642 #if wxUSE_UNICODE
12643 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12644 #else
12645 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12646 #endif
12647 }
12648 return resultobj;
12649 fail:
12650 return NULL;
12651 }
12652
12653
12654 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12655 PyObject *resultobj;
12656 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12657 long result;
12658 PyObject * obj0 = 0 ;
12659 char *kwnames[] = {
12660 (char *) "self", NULL
12661 };
12662
12663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12666 {
12667 PyThreadState* __tstate = wxPyBeginAllowThreads();
12668 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12669
12670 wxPyEndAllowThreads(__tstate);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
12673 resultobj = SWIG_From_long((long)result);
12674 return resultobj;
12675 fail:
12676 return NULL;
12677 }
12678
12679
12680 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj;
12682 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12683 int result;
12684 PyObject * obj0 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 resultobj = SWIG_From_int((int)result);
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj;
12708 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12709 PyObject *result;
12710 PyObject * obj0 = 0 ;
12711 char *kwnames[] = {
12712 (char *) "self", NULL
12713 };
12714
12715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12718 {
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
12720 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 resultobj = result;
12726 return resultobj;
12727 fail:
12728 return NULL;
12729 }
12730
12731
12732 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj;
12734 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12735 PyObject *result;
12736 PyObject * obj0 = 0 ;
12737 char *kwnames[] = {
12738 (char *) "self", NULL
12739 };
12740
12741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12747
12748 wxPyEndAllowThreads(__tstate);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 }
12751 resultobj = result;
12752 return resultobj;
12753 fail:
12754 return NULL;
12755 }
12756
12757
12758 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12759 PyObject *obj;
12760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12761 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12762 Py_INCREF(obj);
12763 return Py_BuildValue((char *)"");
12764 }
12765 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12766 PyObject *resultobj;
12767 wxWindow *arg1 = (wxWindow *) 0 ;
12768 wxString *arg2 = 0 ;
12769 wxString *arg3 = 0 ;
12770 int arg4 = (int) 0 ;
12771 wxString *arg5 = (wxString *) NULL ;
12772 long arg6 = (long) wxCHOICEDLG_STYLE ;
12773 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12774 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12775 wxMultiChoiceDialog *result;
12776 bool temp2 = false ;
12777 bool temp3 = false ;
12778 wxPoint temp6 ;
12779 PyObject * obj0 = 0 ;
12780 PyObject * obj1 = 0 ;
12781 PyObject * obj2 = 0 ;
12782 PyObject * obj3 = 0 ;
12783 PyObject * obj4 = 0 ;
12784 PyObject * obj5 = 0 ;
12785 char *kwnames[] = {
12786 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12787 };
12788
12789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12792 {
12793 arg2 = wxString_in_helper(obj1);
12794 if (arg2 == NULL) SWIG_fail;
12795 temp2 = true;
12796 }
12797 {
12798 arg3 = wxString_in_helper(obj2);
12799 if (arg3 == NULL) SWIG_fail;
12800 temp3 = true;
12801 }
12802 if (obj3) {
12803 {
12804 arg4 = PyList_Size(obj3);
12805 arg5 = wxString_LIST_helper(obj3);
12806 if (arg5 == NULL) SWIG_fail;
12807 }
12808 }
12809 if (obj4) {
12810 arg6 = (long)SWIG_As_long(obj4);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 if (obj5) {
12814 {
12815 arg7 = &temp6;
12816 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12817 }
12818 }
12819 {
12820 if (!wxPyCheckForApp()) SWIG_fail;
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12828 {
12829 if (temp2)
12830 delete arg2;
12831 }
12832 {
12833 if (temp3)
12834 delete arg3;
12835 }
12836 {
12837 if (arg5) delete [] arg5;
12838 }
12839 return resultobj;
12840 fail:
12841 {
12842 if (temp2)
12843 delete arg2;
12844 }
12845 {
12846 if (temp3)
12847 delete arg3;
12848 }
12849 {
12850 if (arg5) delete [] arg5;
12851 }
12852 return NULL;
12853 }
12854
12855
12856 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj;
12858 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12859 wxArrayInt *arg2 = 0 ;
12860 bool temp2 = false ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 char *kwnames[] = {
12864 (char *) "self",(char *) "selections", NULL
12865 };
12866
12867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12870 {
12871 if (! PySequence_Check(obj1)) {
12872 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12873 SWIG_fail;
12874 }
12875 arg2 = new wxArrayInt;
12876 temp2 = true;
12877 int i, len=PySequence_Length(obj1);
12878 for (i=0; i<len; i++) {
12879 PyObject* item = PySequence_GetItem(obj1, i);
12880 PyObject* number = PyNumber_Int(item);
12881 arg2->Add(PyInt_AS_LONG(number));
12882 Py_DECREF(item);
12883 Py_DECREF(number);
12884 }
12885 }
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12889
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 Py_INCREF(Py_None); resultobj = Py_None;
12894 {
12895 if (temp2) delete arg2;
12896 }
12897 return resultobj;
12898 fail:
12899 {
12900 if (temp2) delete arg2;
12901 }
12902 return NULL;
12903 }
12904
12905
12906 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12909 PyObject *result;
12910 PyObject * obj0 = 0 ;
12911 char *kwnames[] = {
12912 (char *) "self", NULL
12913 };
12914
12915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12918 {
12919 PyThreadState* __tstate = wxPyBeginAllowThreads();
12920 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12921
12922 wxPyEndAllowThreads(__tstate);
12923 if (PyErr_Occurred()) SWIG_fail;
12924 }
12925 resultobj = result;
12926 return resultobj;
12927 fail:
12928 return NULL;
12929 }
12930
12931
12932 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12933 PyObject *obj;
12934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12935 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12936 Py_INCREF(obj);
12937 return Py_BuildValue((char *)"");
12938 }
12939 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxWindow *arg1 = (wxWindow *) 0 ;
12942 wxString *arg2 = 0 ;
12943 wxString *arg3 = 0 ;
12944 int arg4 ;
12945 wxString *arg5 = (wxString *) 0 ;
12946 long arg6 = (long) wxCHOICEDLG_STYLE ;
12947 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12948 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12949 wxSingleChoiceDialog *result;
12950 bool temp2 = false ;
12951 bool temp3 = false ;
12952 wxPoint temp6 ;
12953 PyObject * obj0 = 0 ;
12954 PyObject * obj1 = 0 ;
12955 PyObject * obj2 = 0 ;
12956 PyObject * obj3 = 0 ;
12957 PyObject * obj4 = 0 ;
12958 PyObject * obj5 = 0 ;
12959 char *kwnames[] = {
12960 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12961 };
12962
12963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12966 {
12967 arg2 = wxString_in_helper(obj1);
12968 if (arg2 == NULL) SWIG_fail;
12969 temp2 = true;
12970 }
12971 {
12972 arg3 = wxString_in_helper(obj2);
12973 if (arg3 == NULL) SWIG_fail;
12974 temp3 = true;
12975 }
12976 {
12977 arg4 = PyList_Size(obj3);
12978 arg5 = wxString_LIST_helper(obj3);
12979 if (arg5 == NULL) SWIG_fail;
12980 }
12981 if (obj4) {
12982 arg6 = (long)SWIG_As_long(obj4);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 if (obj5) {
12986 {
12987 arg7 = &temp6;
12988 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12989 }
12990 }
12991 {
12992 if (!wxPyCheckForApp()) SWIG_fail;
12993 PyThreadState* __tstate = wxPyBeginAllowThreads();
12994 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12995
12996 wxPyEndAllowThreads(__tstate);
12997 if (PyErr_Occurred()) SWIG_fail;
12998 }
12999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13000 {
13001 if (temp2)
13002 delete arg2;
13003 }
13004 {
13005 if (temp3)
13006 delete arg3;
13007 }
13008 {
13009 if (arg5) delete [] arg5;
13010 }
13011 return resultobj;
13012 fail:
13013 {
13014 if (temp2)
13015 delete arg2;
13016 }
13017 {
13018 if (temp3)
13019 delete arg3;
13020 }
13021 {
13022 if (arg5) delete [] arg5;
13023 }
13024 return NULL;
13025 }
13026
13027
13028 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13029 PyObject *resultobj;
13030 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13031 int result;
13032 PyObject * obj0 = 0 ;
13033 char *kwnames[] = {
13034 (char *) "self", NULL
13035 };
13036
13037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 result = (int)(arg1)->GetSelection();
13043
13044 wxPyEndAllowThreads(__tstate);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 }
13047 resultobj = SWIG_From_int((int)result);
13048 return resultobj;
13049 fail:
13050 return NULL;
13051 }
13052
13053
13054 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj;
13056 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13057 wxString result;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (arg1)->GetStringSelection();
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 {
13074 #if wxUSE_UNICODE
13075 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13076 #else
13077 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13078 #endif
13079 }
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13089 int arg2 ;
13090 PyObject * obj0 = 0 ;
13091 PyObject * obj1 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self",(char *) "sel", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13099 arg2 = (int)SWIG_As_int(obj1);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 (arg1)->SetSelection(arg2);
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 Py_INCREF(Py_None); resultobj = Py_None;
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13116 PyObject *obj;
13117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13118 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13119 Py_INCREF(obj);
13120 return Py_BuildValue((char *)"");
13121 }
13122 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13123 PyObject *resultobj;
13124 wxWindow *arg1 = (wxWindow *) 0 ;
13125 wxString *arg2 = 0 ;
13126 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13127 wxString *arg3 = (wxString *) &arg3_defvalue ;
13128 wxString const &arg4_defvalue = wxPyEmptyString ;
13129 wxString *arg4 = (wxString *) &arg4_defvalue ;
13130 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13131 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13132 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13133 wxTextEntryDialog *result;
13134 bool temp2 = false ;
13135 bool temp3 = false ;
13136 bool temp4 = false ;
13137 wxPoint temp6 ;
13138 PyObject * obj0 = 0 ;
13139 PyObject * obj1 = 0 ;
13140 PyObject * obj2 = 0 ;
13141 PyObject * obj3 = 0 ;
13142 PyObject * obj4 = 0 ;
13143 PyObject * obj5 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13151 {
13152 arg2 = wxString_in_helper(obj1);
13153 if (arg2 == NULL) SWIG_fail;
13154 temp2 = true;
13155 }
13156 if (obj2) {
13157 {
13158 arg3 = wxString_in_helper(obj2);
13159 if (arg3 == NULL) SWIG_fail;
13160 temp3 = true;
13161 }
13162 }
13163 if (obj3) {
13164 {
13165 arg4 = wxString_in_helper(obj3);
13166 if (arg4 == NULL) SWIG_fail;
13167 temp4 = true;
13168 }
13169 }
13170 if (obj4) {
13171 arg5 = (long)SWIG_As_long(obj4);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 if (obj5) {
13175 {
13176 arg6 = &temp6;
13177 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13178 }
13179 }
13180 {
13181 if (!wxPyCheckForApp()) SWIG_fail;
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13189 {
13190 if (temp2)
13191 delete arg2;
13192 }
13193 {
13194 if (temp3)
13195 delete arg3;
13196 }
13197 {
13198 if (temp4)
13199 delete arg4;
13200 }
13201 return resultobj;
13202 fail:
13203 {
13204 if (temp2)
13205 delete arg2;
13206 }
13207 {
13208 if (temp3)
13209 delete arg3;
13210 }
13211 {
13212 if (temp4)
13213 delete arg4;
13214 }
13215 return NULL;
13216 }
13217
13218
13219 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13220 PyObject *resultobj;
13221 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13222 wxString result;
13223 PyObject * obj0 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "self", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 result = (arg1)->GetValue();
13234
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 {
13239 #if wxUSE_UNICODE
13240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13241 #else
13242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13243 #endif
13244 }
13245 return resultobj;
13246 fail:
13247 return NULL;
13248 }
13249
13250
13251 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13254 wxString *arg2 = 0 ;
13255 bool temp2 = false ;
13256 PyObject * obj0 = 0 ;
13257 PyObject * obj1 = 0 ;
13258 char *kwnames[] = {
13259 (char *) "self",(char *) "value", NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13265 {
13266 arg2 = wxString_in_helper(obj1);
13267 if (arg2 == NULL) SWIG_fail;
13268 temp2 = true;
13269 }
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 (arg1)->SetValue((wxString const &)*arg2);
13273
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 Py_INCREF(Py_None); resultobj = Py_None;
13278 {
13279 if (temp2)
13280 delete arg2;
13281 }
13282 return resultobj;
13283 fail:
13284 {
13285 if (temp2)
13286 delete arg2;
13287 }
13288 return NULL;
13289 }
13290
13291
13292 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13293 PyObject *obj;
13294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13295 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13296 Py_INCREF(obj);
13297 return Py_BuildValue((char *)"");
13298 }
13299 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxFontData *result;
13302 char *kwnames[] = {
13303 NULL
13304 };
13305
13306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13307 {
13308 PyThreadState* __tstate = wxPyBeginAllowThreads();
13309 result = (wxFontData *)new wxFontData();
13310
13311 wxPyEndAllowThreads(__tstate);
13312 if (PyErr_Occurred()) SWIG_fail;
13313 }
13314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13315 return resultobj;
13316 fail:
13317 return NULL;
13318 }
13319
13320
13321 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13322 PyObject *resultobj;
13323 wxFontData *arg1 = (wxFontData *) 0 ;
13324 PyObject * obj0 = 0 ;
13325 char *kwnames[] = {
13326 (char *) "self", NULL
13327 };
13328
13329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 delete arg1;
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 Py_INCREF(Py_None); resultobj = Py_None;
13340 return resultobj;
13341 fail:
13342 return NULL;
13343 }
13344
13345
13346 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 wxFontData *arg1 = (wxFontData *) 0 ;
13349 bool arg2 ;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 char *kwnames[] = {
13353 (char *) "self",(char *) "enable", NULL
13354 };
13355
13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13359 arg2 = (bool)SWIG_As_bool(obj1);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 (arg1)->EnableEffects(arg2);
13364
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 Py_INCREF(Py_None); resultobj = Py_None;
13369 return resultobj;
13370 fail:
13371 return NULL;
13372 }
13373
13374
13375 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxFontData *arg1 = (wxFontData *) 0 ;
13378 bool result;
13379 PyObject * obj0 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 result = (bool)(arg1)->GetAllowSymbols();
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 {
13395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13396 }
13397 return resultobj;
13398 fail:
13399 return NULL;
13400 }
13401
13402
13403 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13404 PyObject *resultobj;
13405 wxFontData *arg1 = (wxFontData *) 0 ;
13406 wxColour result;
13407 PyObject * obj0 = 0 ;
13408 char *kwnames[] = {
13409 (char *) "self", NULL
13410 };
13411
13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 result = (arg1)->GetColour();
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 {
13423 wxColour * resultptr;
13424 resultptr = new wxColour((wxColour &) result);
13425 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13426 }
13427 return resultobj;
13428 fail:
13429 return NULL;
13430 }
13431
13432
13433 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13434 PyObject *resultobj;
13435 wxFontData *arg1 = (wxFontData *) 0 ;
13436 wxFont result;
13437 PyObject * obj0 = 0 ;
13438 char *kwnames[] = {
13439 (char *) "self", NULL
13440 };
13441
13442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 result = (arg1)->GetChosenFont();
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 {
13453 wxFont * resultptr;
13454 resultptr = new wxFont((wxFont &) result);
13455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13456 }
13457 return resultobj;
13458 fail:
13459 return NULL;
13460 }
13461
13462
13463 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13464 PyObject *resultobj;
13465 wxFontData *arg1 = (wxFontData *) 0 ;
13466 bool result;
13467 PyObject * obj0 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = (bool)(arg1)->GetEnableEffects();
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13484 }
13485 return resultobj;
13486 fail:
13487 return NULL;
13488 }
13489
13490
13491 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13492 PyObject *resultobj;
13493 wxFontData *arg1 = (wxFontData *) 0 ;
13494 wxFont result;
13495 PyObject * obj0 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 result = (arg1)->GetInitialFont();
13506
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 {
13511 wxFont * resultptr;
13512 resultptr = new wxFont((wxFont &) result);
13513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13514 }
13515 return resultobj;
13516 fail:
13517 return NULL;
13518 }
13519
13520
13521 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxFontData *arg1 = (wxFontData *) 0 ;
13524 bool result;
13525 PyObject * obj0 = 0 ;
13526 char *kwnames[] = {
13527 (char *) "self", NULL
13528 };
13529
13530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13533 {
13534 PyThreadState* __tstate = wxPyBeginAllowThreads();
13535 result = (bool)(arg1)->GetShowHelp();
13536
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 {
13541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13542 }
13543 return resultobj;
13544 fail:
13545 return NULL;
13546 }
13547
13548
13549 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13550 PyObject *resultobj;
13551 wxFontData *arg1 = (wxFontData *) 0 ;
13552 bool arg2 ;
13553 PyObject * obj0 = 0 ;
13554 PyObject * obj1 = 0 ;
13555 char *kwnames[] = {
13556 (char *) "self",(char *) "allowSymbols", NULL
13557 };
13558
13559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13562 arg2 = (bool)SWIG_As_bool(obj1);
13563 if (PyErr_Occurred()) SWIG_fail;
13564 {
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 (arg1)->SetAllowSymbols(arg2);
13567
13568 wxPyEndAllowThreads(__tstate);
13569 if (PyErr_Occurred()) SWIG_fail;
13570 }
13571 Py_INCREF(Py_None); resultobj = Py_None;
13572 return resultobj;
13573 fail:
13574 return NULL;
13575 }
13576
13577
13578 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13579 PyObject *resultobj;
13580 wxFontData *arg1 = (wxFontData *) 0 ;
13581 wxFont *arg2 = 0 ;
13582 PyObject * obj0 = 0 ;
13583 PyObject * obj1 = 0 ;
13584 char *kwnames[] = {
13585 (char *) "self",(char *) "font", NULL
13586 };
13587
13588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13592 SWIG_POINTER_EXCEPTION | 0)) == -1)
13593 SWIG_fail;
13594 if (arg2 == NULL) {
13595 PyErr_SetString(PyExc_TypeError,"null reference");
13596 SWIG_fail;
13597 }
13598 {
13599 PyThreadState* __tstate = wxPyBeginAllowThreads();
13600 (arg1)->SetChosenFont((wxFont const &)*arg2);
13601
13602 wxPyEndAllowThreads(__tstate);
13603 if (PyErr_Occurred()) SWIG_fail;
13604 }
13605 Py_INCREF(Py_None); resultobj = Py_None;
13606 return resultobj;
13607 fail:
13608 return NULL;
13609 }
13610
13611
13612 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13613 PyObject *resultobj;
13614 wxFontData *arg1 = (wxFontData *) 0 ;
13615 wxColour *arg2 = 0 ;
13616 wxColour temp2 ;
13617 PyObject * obj0 = 0 ;
13618 PyObject * obj1 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self",(char *) "colour", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13626 {
13627 arg2 = &temp2;
13628 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13629 }
13630 {
13631 PyThreadState* __tstate = wxPyBeginAllowThreads();
13632 (arg1)->SetColour((wxColour const &)*arg2);
13633
13634 wxPyEndAllowThreads(__tstate);
13635 if (PyErr_Occurred()) SWIG_fail;
13636 }
13637 Py_INCREF(Py_None); resultobj = Py_None;
13638 return resultobj;
13639 fail:
13640 return NULL;
13641 }
13642
13643
13644 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13645 PyObject *resultobj;
13646 wxFontData *arg1 = (wxFontData *) 0 ;
13647 wxFont *arg2 = 0 ;
13648 PyObject * obj0 = 0 ;
13649 PyObject * obj1 = 0 ;
13650 char *kwnames[] = {
13651 (char *) "self",(char *) "font", NULL
13652 };
13653
13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13658 SWIG_POINTER_EXCEPTION | 0)) == -1)
13659 SWIG_fail;
13660 if (arg2 == NULL) {
13661 PyErr_SetString(PyExc_TypeError,"null reference");
13662 SWIG_fail;
13663 }
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 (arg1)->SetInitialFont((wxFont const &)*arg2);
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_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxFontData *arg1 = (wxFontData *) 0 ;
13681 int arg2 ;
13682 int arg3 ;
13683 PyObject * obj0 = 0 ;
13684 PyObject * obj1 = 0 ;
13685 PyObject * obj2 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self",(char *) "min",(char *) "max", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13693 arg2 = (int)SWIG_As_int(obj1);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 arg3 = (int)SWIG_As_int(obj2);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 {
13698 PyThreadState* __tstate = wxPyBeginAllowThreads();
13699 (arg1)->SetRange(arg2,arg3);
13700
13701 wxPyEndAllowThreads(__tstate);
13702 if (PyErr_Occurred()) SWIG_fail;
13703 }
13704 Py_INCREF(Py_None); resultobj = Py_None;
13705 return resultobj;
13706 fail:
13707 return NULL;
13708 }
13709
13710
13711 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13712 PyObject *resultobj;
13713 wxFontData *arg1 = (wxFontData *) 0 ;
13714 bool arg2 ;
13715 PyObject * obj0 = 0 ;
13716 PyObject * obj1 = 0 ;
13717 char *kwnames[] = {
13718 (char *) "self",(char *) "showHelp", NULL
13719 };
13720
13721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13724 arg2 = (bool)SWIG_As_bool(obj1);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->SetShowHelp(arg2);
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 Py_INCREF(Py_None); resultobj = Py_None;
13734 return resultobj;
13735 fail:
13736 return NULL;
13737 }
13738
13739
13740 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13741 PyObject *obj;
13742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13743 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13744 Py_INCREF(obj);
13745 return Py_BuildValue((char *)"");
13746 }
13747 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13748 PyObject *resultobj;
13749 wxWindow *arg1 = (wxWindow *) 0 ;
13750 wxFontData *arg2 = 0 ;
13751 wxFontDialog *result;
13752 PyObject * obj0 = 0 ;
13753 PyObject * obj1 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "parent",(char *) "data", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13762 SWIG_POINTER_EXCEPTION | 0)) == -1)
13763 SWIG_fail;
13764 if (arg2 == NULL) {
13765 PyErr_SetString(PyExc_TypeError,"null reference");
13766 SWIG_fail;
13767 }
13768 {
13769 if (!wxPyCheckForApp()) SWIG_fail;
13770 PyThreadState* __tstate = wxPyBeginAllowThreads();
13771 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13772
13773 wxPyEndAllowThreads(__tstate);
13774 if (PyErr_Occurred()) SWIG_fail;
13775 }
13776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13777 return resultobj;
13778 fail:
13779 return NULL;
13780 }
13781
13782
13783 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj;
13785 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13786 wxFontData *result;
13787 PyObject * obj0 = 0 ;
13788 char *kwnames[] = {
13789 (char *) "self", NULL
13790 };
13791
13792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 {
13798 wxFontData &_result_ref = (arg1)->GetFontData();
13799 result = (wxFontData *) &_result_ref;
13800 }
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13806 return resultobj;
13807 fail:
13808 return NULL;
13809 }
13810
13811
13812 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13813 PyObject *obj;
13814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13815 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13816 Py_INCREF(obj);
13817 return Py_BuildValue((char *)"");
13818 }
13819 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13820 PyObject *resultobj;
13821 wxWindow *arg1 = (wxWindow *) 0 ;
13822 wxString *arg2 = 0 ;
13823 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13824 wxString *arg3 = (wxString *) &arg3_defvalue ;
13825 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13826 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13827 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13828 wxMessageDialog *result;
13829 bool temp2 = false ;
13830 bool temp3 = false ;
13831 wxPoint temp5 ;
13832 PyObject * obj0 = 0 ;
13833 PyObject * obj1 = 0 ;
13834 PyObject * obj2 = 0 ;
13835 PyObject * obj3 = 0 ;
13836 PyObject * obj4 = 0 ;
13837 char *kwnames[] = {
13838 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13839 };
13840
13841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13844 {
13845 arg2 = wxString_in_helper(obj1);
13846 if (arg2 == NULL) SWIG_fail;
13847 temp2 = true;
13848 }
13849 if (obj2) {
13850 {
13851 arg3 = wxString_in_helper(obj2);
13852 if (arg3 == NULL) SWIG_fail;
13853 temp3 = true;
13854 }
13855 }
13856 if (obj3) {
13857 arg4 = (long)SWIG_As_long(obj3);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 if (obj4) {
13861 {
13862 arg5 = &temp5;
13863 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13864 }
13865 }
13866 {
13867 if (!wxPyCheckForApp()) SWIG_fail;
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13870
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13875 {
13876 if (temp2)
13877 delete arg2;
13878 }
13879 {
13880 if (temp3)
13881 delete arg3;
13882 }
13883 return resultobj;
13884 fail:
13885 {
13886 if (temp2)
13887 delete arg2;
13888 }
13889 {
13890 if (temp3)
13891 delete arg3;
13892 }
13893 return NULL;
13894 }
13895
13896
13897 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13898 PyObject *obj;
13899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13900 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13901 Py_INCREF(obj);
13902 return Py_BuildValue((char *)"");
13903 }
13904 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 wxString *arg1 = 0 ;
13907 wxString *arg2 = 0 ;
13908 int arg3 = (int) 100 ;
13909 wxWindow *arg4 = (wxWindow *) NULL ;
13910 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13911 wxProgressDialog *result;
13912 bool temp1 = false ;
13913 bool temp2 = false ;
13914 PyObject * obj0 = 0 ;
13915 PyObject * obj1 = 0 ;
13916 PyObject * obj2 = 0 ;
13917 PyObject * obj3 = 0 ;
13918 PyObject * obj4 = 0 ;
13919 char *kwnames[] = {
13920 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13921 };
13922
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13924 {
13925 arg1 = wxString_in_helper(obj0);
13926 if (arg1 == NULL) SWIG_fail;
13927 temp1 = true;
13928 }
13929 {
13930 arg2 = wxString_in_helper(obj1);
13931 if (arg2 == NULL) SWIG_fail;
13932 temp2 = true;
13933 }
13934 if (obj2) {
13935 arg3 = (int)SWIG_As_int(obj2);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 }
13938 if (obj3) {
13939 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13941 }
13942 if (obj4) {
13943 arg5 = (int)SWIG_As_int(obj4);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 {
13947 if (!wxPyCheckForApp()) SWIG_fail;
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13955 {
13956 if (temp1)
13957 delete arg1;
13958 }
13959 {
13960 if (temp2)
13961 delete arg2;
13962 }
13963 return resultobj;
13964 fail:
13965 {
13966 if (temp1)
13967 delete arg1;
13968 }
13969 {
13970 if (temp2)
13971 delete arg2;
13972 }
13973 return NULL;
13974 }
13975
13976
13977 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13978 PyObject *resultobj;
13979 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13980 int arg2 ;
13981 wxString const &arg3_defvalue = wxPyEmptyString ;
13982 wxString *arg3 = (wxString *) &arg3_defvalue ;
13983 bool result;
13984 bool temp3 = false ;
13985 PyObject * obj0 = 0 ;
13986 PyObject * obj1 = 0 ;
13987 PyObject * obj2 = 0 ;
13988 char *kwnames[] = {
13989 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13990 };
13991
13992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13995 arg2 = (int)SWIG_As_int(obj1);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 if (obj2) {
13998 {
13999 arg3 = wxString_in_helper(obj2);
14000 if (arg3 == NULL) SWIG_fail;
14001 temp3 = true;
14002 }
14003 }
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 {
14012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14013 }
14014 {
14015 if (temp3)
14016 delete arg3;
14017 }
14018 return resultobj;
14019 fail:
14020 {
14021 if (temp3)
14022 delete arg3;
14023 }
14024 return NULL;
14025 }
14026
14027
14028 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
14029 PyObject *resultobj;
14030 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14031 PyObject * obj0 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 (arg1)->Resume();
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 Py_INCREF(Py_None); resultobj = Py_None;
14047 return resultobj;
14048 fail:
14049 return NULL;
14050 }
14051
14052
14053 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14054 PyObject *obj;
14055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14056 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14057 Py_INCREF(obj);
14058 return Py_BuildValue((char *)"");
14059 }
14060 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14061 PyObject *resultobj;
14062 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14063 int arg2 = (int) 0 ;
14064 wxFindDialogEvent *result;
14065 PyObject * obj0 = 0 ;
14066 PyObject * obj1 = 0 ;
14067 char *kwnames[] = {
14068 (char *) "commandType",(char *) "id", NULL
14069 };
14070
14071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14072 if (obj0) {
14073 arg1 = (wxEventType)SWIG_As_int(obj0);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 if (obj1) {
14077 arg2 = (int)SWIG_As_int(obj1);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 {
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14083
14084 wxPyEndAllowThreads(__tstate);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14088 return resultobj;
14089 fail:
14090 return NULL;
14091 }
14092
14093
14094 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14097 int result;
14098 PyObject * obj0 = 0 ;
14099 char *kwnames[] = {
14100 (char *) "self", NULL
14101 };
14102
14103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14106 {
14107 PyThreadState* __tstate = wxPyBeginAllowThreads();
14108 result = (int)(arg1)->GetFlags();
14109
14110 wxPyEndAllowThreads(__tstate);
14111 if (PyErr_Occurred()) SWIG_fail;
14112 }
14113 resultobj = SWIG_From_int((int)result);
14114 return resultobj;
14115 fail:
14116 return NULL;
14117 }
14118
14119
14120 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14121 PyObject *resultobj;
14122 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14123 wxString *result;
14124 PyObject * obj0 = 0 ;
14125 char *kwnames[] = {
14126 (char *) "self", NULL
14127 };
14128
14129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 {
14135 wxString const &_result_ref = (arg1)->GetFindString();
14136 result = (wxString *) &_result_ref;
14137 }
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 {
14143 #if wxUSE_UNICODE
14144 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14145 #else
14146 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14147 #endif
14148 }
14149 return resultobj;
14150 fail:
14151 return NULL;
14152 }
14153
14154
14155 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj;
14157 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14158 wxString *result;
14159 PyObject * obj0 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 {
14170 wxString const &_result_ref = (arg1)->GetReplaceString();
14171 result = (wxString *) &_result_ref;
14172 }
14173
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 {
14178 #if wxUSE_UNICODE
14179 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14180 #else
14181 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14182 #endif
14183 }
14184 return resultobj;
14185 fail:
14186 return NULL;
14187 }
14188
14189
14190 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14191 PyObject *resultobj;
14192 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14193 wxFindReplaceDialog *result;
14194 PyObject * obj0 = 0 ;
14195 char *kwnames[] = {
14196 (char *) "self", NULL
14197 };
14198
14199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14202 {
14203 PyThreadState* __tstate = wxPyBeginAllowThreads();
14204 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14205
14206 wxPyEndAllowThreads(__tstate);
14207 if (PyErr_Occurred()) SWIG_fail;
14208 }
14209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14210 return resultobj;
14211 fail:
14212 return NULL;
14213 }
14214
14215
14216 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14217 PyObject *resultobj;
14218 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14219 int arg2 ;
14220 PyObject * obj0 = 0 ;
14221 PyObject * obj1 = 0 ;
14222 char *kwnames[] = {
14223 (char *) "self",(char *) "flags", NULL
14224 };
14225
14226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14229 arg2 = (int)SWIG_As_int(obj1);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 (arg1)->SetFlags(arg2);
14234
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 Py_INCREF(Py_None); resultobj = Py_None;
14239 return resultobj;
14240 fail:
14241 return NULL;
14242 }
14243
14244
14245 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14246 PyObject *resultobj;
14247 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14248 wxString *arg2 = 0 ;
14249 bool temp2 = false ;
14250 PyObject * obj0 = 0 ;
14251 PyObject * obj1 = 0 ;
14252 char *kwnames[] = {
14253 (char *) "self",(char *) "str", NULL
14254 };
14255
14256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14259 {
14260 arg2 = wxString_in_helper(obj1);
14261 if (arg2 == NULL) SWIG_fail;
14262 temp2 = true;
14263 }
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 (arg1)->SetFindString((wxString const &)*arg2);
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 Py_INCREF(Py_None); resultobj = Py_None;
14272 {
14273 if (temp2)
14274 delete arg2;
14275 }
14276 return resultobj;
14277 fail:
14278 {
14279 if (temp2)
14280 delete arg2;
14281 }
14282 return NULL;
14283 }
14284
14285
14286 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14287 PyObject *resultobj;
14288 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14289 wxString *arg2 = 0 ;
14290 bool temp2 = false ;
14291 PyObject * obj0 = 0 ;
14292 PyObject * obj1 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self",(char *) "str", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14300 {
14301 arg2 = wxString_in_helper(obj1);
14302 if (arg2 == NULL) SWIG_fail;
14303 temp2 = true;
14304 }
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 (arg1)->SetReplaceString((wxString const &)*arg2);
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 Py_INCREF(Py_None); resultobj = Py_None;
14313 {
14314 if (temp2)
14315 delete arg2;
14316 }
14317 return resultobj;
14318 fail:
14319 {
14320 if (temp2)
14321 delete arg2;
14322 }
14323 return NULL;
14324 }
14325
14326
14327 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14328 PyObject *obj;
14329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14330 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14331 Py_INCREF(obj);
14332 return Py_BuildValue((char *)"");
14333 }
14334 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 int arg1 = (int) 0 ;
14337 wxFindReplaceData *result;
14338 PyObject * obj0 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "flags", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14344 if (obj0) {
14345 arg1 = (int)SWIG_As_int(obj0);
14346 if (PyErr_Occurred()) SWIG_fail;
14347 }
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14356 return resultobj;
14357 fail:
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14365 PyObject * obj0 = 0 ;
14366 char *kwnames[] = {
14367 (char *) "self", NULL
14368 };
14369
14370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14373 {
14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
14375 delete arg1;
14376
14377 wxPyEndAllowThreads(__tstate);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
14380 Py_INCREF(Py_None); resultobj = Py_None;
14381 return resultobj;
14382 fail:
14383 return NULL;
14384 }
14385
14386
14387 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14388 PyObject *resultobj;
14389 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14390 wxString *result;
14391 PyObject * obj0 = 0 ;
14392 char *kwnames[] = {
14393 (char *) "self", NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 {
14402 wxString const &_result_ref = (arg1)->GetFindString();
14403 result = (wxString *) &_result_ref;
14404 }
14405
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 {
14410 #if wxUSE_UNICODE
14411 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14412 #else
14413 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14414 #endif
14415 }
14416 return resultobj;
14417 fail:
14418 return NULL;
14419 }
14420
14421
14422 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14423 PyObject *resultobj;
14424 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14425 wxString *result;
14426 PyObject * obj0 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 {
14437 wxString const &_result_ref = (arg1)->GetReplaceString();
14438 result = (wxString *) &_result_ref;
14439 }
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 {
14445 #if wxUSE_UNICODE
14446 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14447 #else
14448 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14449 #endif
14450 }
14451 return resultobj;
14452 fail:
14453 return NULL;
14454 }
14455
14456
14457 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14460 int result;
14461 PyObject * obj0 = 0 ;
14462 char *kwnames[] = {
14463 (char *) "self", NULL
14464 };
14465
14466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (int)(arg1)->GetFlags();
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 resultobj = SWIG_From_int((int)result);
14477 return resultobj;
14478 fail:
14479 return NULL;
14480 }
14481
14482
14483 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj;
14485 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14486 int arg2 ;
14487 PyObject * obj0 = 0 ;
14488 PyObject * obj1 = 0 ;
14489 char *kwnames[] = {
14490 (char *) "self",(char *) "flags", NULL
14491 };
14492
14493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14496 arg2 = (int)SWIG_As_int(obj1);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 {
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 (arg1)->SetFlags(arg2);
14501
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 Py_INCREF(Py_None); resultobj = Py_None;
14506 return resultobj;
14507 fail:
14508 return NULL;
14509 }
14510
14511
14512 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14513 PyObject *resultobj;
14514 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14515 wxString *arg2 = 0 ;
14516 bool temp2 = false ;
14517 PyObject * obj0 = 0 ;
14518 PyObject * obj1 = 0 ;
14519 char *kwnames[] = {
14520 (char *) "self",(char *) "str", NULL
14521 };
14522
14523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14526 {
14527 arg2 = wxString_in_helper(obj1);
14528 if (arg2 == NULL) SWIG_fail;
14529 temp2 = true;
14530 }
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 (arg1)->SetFindString((wxString const &)*arg2);
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 Py_INCREF(Py_None); resultobj = Py_None;
14539 {
14540 if (temp2)
14541 delete arg2;
14542 }
14543 return resultobj;
14544 fail:
14545 {
14546 if (temp2)
14547 delete arg2;
14548 }
14549 return NULL;
14550 }
14551
14552
14553 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14556 wxString *arg2 = 0 ;
14557 bool temp2 = false ;
14558 PyObject * obj0 = 0 ;
14559 PyObject * obj1 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self",(char *) "str", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14567 {
14568 arg2 = wxString_in_helper(obj1);
14569 if (arg2 == NULL) SWIG_fail;
14570 temp2 = true;
14571 }
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 (arg1)->SetReplaceString((wxString const &)*arg2);
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 Py_INCREF(Py_None); resultobj = Py_None;
14580 {
14581 if (temp2)
14582 delete arg2;
14583 }
14584 return resultobj;
14585 fail:
14586 {
14587 if (temp2)
14588 delete arg2;
14589 }
14590 return NULL;
14591 }
14592
14593
14594 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14595 PyObject *obj;
14596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14597 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14598 Py_INCREF(obj);
14599 return Py_BuildValue((char *)"");
14600 }
14601 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxWindow *arg1 = (wxWindow *) 0 ;
14604 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14605 wxString *arg3 = 0 ;
14606 int arg4 = (int) 0 ;
14607 wxFindReplaceDialog *result;
14608 bool temp3 = false ;
14609 PyObject * obj0 = 0 ;
14610 PyObject * obj1 = 0 ;
14611 PyObject * obj2 = 0 ;
14612 PyObject * obj3 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14622 {
14623 arg3 = wxString_in_helper(obj2);
14624 if (arg3 == NULL) SWIG_fail;
14625 temp3 = true;
14626 }
14627 if (obj3) {
14628 arg4 = (int)SWIG_As_int(obj3);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 {
14632 if (!wxPyCheckForApp()) SWIG_fail;
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14635
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14640 {
14641 if (temp3)
14642 delete arg3;
14643 }
14644 return resultobj;
14645 fail:
14646 {
14647 if (temp3)
14648 delete arg3;
14649 }
14650 return NULL;
14651 }
14652
14653
14654 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj;
14656 wxFindReplaceDialog *result;
14657 char *kwnames[] = {
14658 NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14662 {
14663 if (!wxPyCheckForApp()) SWIG_fail;
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14671 return resultobj;
14672 fail:
14673 return NULL;
14674 }
14675
14676
14677 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14680 wxWindow *arg2 = (wxWindow *) 0 ;
14681 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14682 wxString *arg4 = 0 ;
14683 int arg5 = (int) 0 ;
14684 bool result;
14685 bool temp4 = false ;
14686 PyObject * obj0 = 0 ;
14687 PyObject * obj1 = 0 ;
14688 PyObject * obj2 = 0 ;
14689 PyObject * obj3 = 0 ;
14690 PyObject * obj4 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14700 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14702 {
14703 arg4 = wxString_in_helper(obj3);
14704 if (arg4 == NULL) SWIG_fail;
14705 temp4 = true;
14706 }
14707 if (obj4) {
14708 arg5 = (int)SWIG_As_int(obj4);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14714
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 {
14719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14720 }
14721 {
14722 if (temp4)
14723 delete arg4;
14724 }
14725 return resultobj;
14726 fail:
14727 {
14728 if (temp4)
14729 delete arg4;
14730 }
14731 return NULL;
14732 }
14733
14734
14735 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14736 PyObject *resultobj;
14737 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14738 wxFindReplaceData *result;
14739 PyObject * obj0 = 0 ;
14740 char *kwnames[] = {
14741 (char *) "self", NULL
14742 };
14743
14744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 result = (wxFindReplaceData *)(arg1)->GetData();
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14755 return resultobj;
14756 fail:
14757 return NULL;
14758 }
14759
14760
14761 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14762 PyObject *resultobj;
14763 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14764 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14765 PyObject * obj0 = 0 ;
14766 PyObject * obj1 = 0 ;
14767 char *kwnames[] = {
14768 (char *) "self",(char *) "data", NULL
14769 };
14770
14771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14776 {
14777 PyThreadState* __tstate = wxPyBeginAllowThreads();
14778 (arg1)->SetData(arg2);
14779
14780 wxPyEndAllowThreads(__tstate);
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
14783 Py_INCREF(Py_None); resultobj = Py_None;
14784 return resultobj;
14785 fail:
14786 return NULL;
14787 }
14788
14789
14790 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14791 PyObject *obj;
14792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14793 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14794 Py_INCREF(obj);
14795 return Py_BuildValue((char *)"");
14796 }
14797 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14798 PyObject *resultobj;
14799 wxWindow *arg1 = (wxWindow *) 0 ;
14800 int arg2 = (int) (int)-1 ;
14801 wxString const &arg3_defvalue = wxPyEmptyString ;
14802 wxString *arg3 = (wxString *) &arg3_defvalue ;
14803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14805 wxSize const &arg5_defvalue = wxDefaultSize ;
14806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14807 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14808 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14809 wxString *arg7 = (wxString *) &arg7_defvalue ;
14810 wxMDIParentFrame *result;
14811 bool temp3 = false ;
14812 wxPoint temp4 ;
14813 wxSize temp5 ;
14814 bool temp7 = false ;
14815 PyObject * obj0 = 0 ;
14816 PyObject * obj1 = 0 ;
14817 PyObject * obj2 = 0 ;
14818 PyObject * obj3 = 0 ;
14819 PyObject * obj4 = 0 ;
14820 PyObject * obj5 = 0 ;
14821 PyObject * obj6 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14829 if (obj1) {
14830 arg2 = (int)SWIG_As_int(obj1);
14831 if (PyErr_Occurred()) SWIG_fail;
14832 }
14833 if (obj2) {
14834 {
14835 arg3 = wxString_in_helper(obj2);
14836 if (arg3 == NULL) SWIG_fail;
14837 temp3 = true;
14838 }
14839 }
14840 if (obj3) {
14841 {
14842 arg4 = &temp4;
14843 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14844 }
14845 }
14846 if (obj4) {
14847 {
14848 arg5 = &temp5;
14849 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14850 }
14851 }
14852 if (obj5) {
14853 arg6 = (long)SWIG_As_long(obj5);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 if (obj6) {
14857 {
14858 arg7 = wxString_in_helper(obj6);
14859 if (arg7 == NULL) SWIG_fail;
14860 temp7 = true;
14861 }
14862 }
14863 {
14864 if (!wxPyCheckForApp()) SWIG_fail;
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14867
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14872 {
14873 if (temp3)
14874 delete arg3;
14875 }
14876 {
14877 if (temp7)
14878 delete arg7;
14879 }
14880 return resultobj;
14881 fail:
14882 {
14883 if (temp3)
14884 delete arg3;
14885 }
14886 {
14887 if (temp7)
14888 delete arg7;
14889 }
14890 return NULL;
14891 }
14892
14893
14894 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14895 PyObject *resultobj;
14896 wxMDIParentFrame *result;
14897 char *kwnames[] = {
14898 NULL
14899 };
14900
14901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14902 {
14903 if (!wxPyCheckForApp()) SWIG_fail;
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14911 return resultobj;
14912 fail:
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14920 wxWindow *arg2 = (wxWindow *) 0 ;
14921 int arg3 = (int) (int)-1 ;
14922 wxString const &arg4_defvalue = wxPyEmptyString ;
14923 wxString *arg4 = (wxString *) &arg4_defvalue ;
14924 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14925 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14926 wxSize const &arg6_defvalue = wxDefaultSize ;
14927 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14928 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14929 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14930 wxString *arg8 = (wxString *) &arg8_defvalue ;
14931 bool result;
14932 bool temp4 = false ;
14933 wxPoint temp5 ;
14934 wxSize temp6 ;
14935 bool temp8 = false ;
14936 PyObject * obj0 = 0 ;
14937 PyObject * obj1 = 0 ;
14938 PyObject * obj2 = 0 ;
14939 PyObject * obj3 = 0 ;
14940 PyObject * obj4 = 0 ;
14941 PyObject * obj5 = 0 ;
14942 PyObject * obj6 = 0 ;
14943 PyObject * obj7 = 0 ;
14944 char *kwnames[] = {
14945 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14946 };
14947
14948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14953 if (obj2) {
14954 arg3 = (int)SWIG_As_int(obj2);
14955 if (PyErr_Occurred()) SWIG_fail;
14956 }
14957 if (obj3) {
14958 {
14959 arg4 = wxString_in_helper(obj3);
14960 if (arg4 == NULL) SWIG_fail;
14961 temp4 = true;
14962 }
14963 }
14964 if (obj4) {
14965 {
14966 arg5 = &temp5;
14967 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14968 }
14969 }
14970 if (obj5) {
14971 {
14972 arg6 = &temp6;
14973 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14974 }
14975 }
14976 if (obj6) {
14977 arg7 = (long)SWIG_As_long(obj6);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 if (obj7) {
14981 {
14982 arg8 = wxString_in_helper(obj7);
14983 if (arg8 == NULL) SWIG_fail;
14984 temp8 = true;
14985 }
14986 }
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14990
14991 wxPyEndAllowThreads(__tstate);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 }
14994 {
14995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14996 }
14997 {
14998 if (temp4)
14999 delete arg4;
15000 }
15001 {
15002 if (temp8)
15003 delete arg8;
15004 }
15005 return resultobj;
15006 fail:
15007 {
15008 if (temp4)
15009 delete arg4;
15010 }
15011 {
15012 if (temp8)
15013 delete arg8;
15014 }
15015 return NULL;
15016 }
15017
15018
15019 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
15020 PyObject *resultobj;
15021 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15022 PyObject * obj0 = 0 ;
15023 char *kwnames[] = {
15024 (char *) "self", NULL
15025 };
15026
15027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 (arg1)->ActivateNext();
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 Py_INCREF(Py_None); resultobj = Py_None;
15038 return resultobj;
15039 fail:
15040 return NULL;
15041 }
15042
15043
15044 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15045 PyObject *resultobj;
15046 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15047 PyObject * obj0 = 0 ;
15048 char *kwnames[] = {
15049 (char *) "self", NULL
15050 };
15051
15052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 (arg1)->ActivatePrevious();
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 Py_INCREF(Py_None); resultobj = Py_None;
15063 return resultobj;
15064 fail:
15065 return NULL;
15066 }
15067
15068
15069 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj;
15071 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15072 PyObject * obj0 = 0 ;
15073 char *kwnames[] = {
15074 (char *) "self", NULL
15075 };
15076
15077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15080 {
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 (arg1)->ArrangeIcons();
15083
15084 wxPyEndAllowThreads(__tstate);
15085 if (PyErr_Occurred()) SWIG_fail;
15086 }
15087 Py_INCREF(Py_None); resultobj = Py_None;
15088 return resultobj;
15089 fail:
15090 return NULL;
15091 }
15092
15093
15094 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15097 PyObject * obj0 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self", NULL
15100 };
15101
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15105 {
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 (arg1)->Cascade();
15108
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 Py_INCREF(Py_None); resultobj = Py_None;
15113 return resultobj;
15114 fail:
15115 return NULL;
15116 }
15117
15118
15119 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15120 PyObject *resultobj;
15121 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15122 wxMDIChildFrame *result;
15123 PyObject * obj0 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15131 {
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15134
15135 wxPyEndAllowThreads(__tstate);
15136 if (PyErr_Occurred()) SWIG_fail;
15137 }
15138 {
15139 resultobj = wxPyMake_wxObject(result, 0);
15140 }
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15150 wxMDIClientWindow *result;
15151 PyObject * obj0 = 0 ;
15152 char *kwnames[] = {
15153 (char *) "self", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15162
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 {
15167 resultobj = wxPyMake_wxObject(result, 0);
15168 }
15169 return resultobj;
15170 fail:
15171 return NULL;
15172 }
15173
15174
15175 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15176 PyObject *resultobj;
15177 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15178 wxWindow *result;
15179 PyObject * obj0 = 0 ;
15180 char *kwnames[] = {
15181 (char *) "self", NULL
15182 };
15183
15184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 result = (wxWindow *)(arg1)->GetToolBar();
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 {
15195 resultobj = wxPyMake_wxObject(result, 0);
15196 }
15197 return resultobj;
15198 fail:
15199 return NULL;
15200 }
15201
15202
15203 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj;
15205 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15206 PyObject * obj0 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "self", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 (arg1)->Tile();
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 Py_INCREF(Py_None); resultobj = Py_None;
15222 return resultobj;
15223 fail:
15224 return NULL;
15225 }
15226
15227
15228 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15229 PyObject *obj;
15230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15231 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15232 Py_INCREF(obj);
15233 return Py_BuildValue((char *)"");
15234 }
15235 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15236 PyObject *resultobj;
15237 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15238 int arg2 = (int) (int)-1 ;
15239 wxString const &arg3_defvalue = wxPyEmptyString ;
15240 wxString *arg3 = (wxString *) &arg3_defvalue ;
15241 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15242 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15243 wxSize const &arg5_defvalue = wxDefaultSize ;
15244 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15245 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15246 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15247 wxString *arg7 = (wxString *) &arg7_defvalue ;
15248 wxMDIChildFrame *result;
15249 bool temp3 = false ;
15250 wxPoint temp4 ;
15251 wxSize temp5 ;
15252 bool temp7 = false ;
15253 PyObject * obj0 = 0 ;
15254 PyObject * obj1 = 0 ;
15255 PyObject * obj2 = 0 ;
15256 PyObject * obj3 = 0 ;
15257 PyObject * obj4 = 0 ;
15258 PyObject * obj5 = 0 ;
15259 PyObject * obj6 = 0 ;
15260 char *kwnames[] = {
15261 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15262 };
15263
15264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15267 if (obj1) {
15268 arg2 = (int)SWIG_As_int(obj1);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 if (obj2) {
15272 {
15273 arg3 = wxString_in_helper(obj2);
15274 if (arg3 == NULL) SWIG_fail;
15275 temp3 = true;
15276 }
15277 }
15278 if (obj3) {
15279 {
15280 arg4 = &temp4;
15281 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15282 }
15283 }
15284 if (obj4) {
15285 {
15286 arg5 = &temp5;
15287 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15288 }
15289 }
15290 if (obj5) {
15291 arg6 = (long)SWIG_As_long(obj5);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 if (obj6) {
15295 {
15296 arg7 = wxString_in_helper(obj6);
15297 if (arg7 == NULL) SWIG_fail;
15298 temp7 = true;
15299 }
15300 }
15301 {
15302 if (!wxPyCheckForApp()) SWIG_fail;
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
15309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15310 {
15311 if (temp3)
15312 delete arg3;
15313 }
15314 {
15315 if (temp7)
15316 delete arg7;
15317 }
15318 return resultobj;
15319 fail:
15320 {
15321 if (temp3)
15322 delete arg3;
15323 }
15324 {
15325 if (temp7)
15326 delete arg7;
15327 }
15328 return NULL;
15329 }
15330
15331
15332 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj;
15334 wxMDIChildFrame *result;
15335 char *kwnames[] = {
15336 NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15340 {
15341 if (!wxPyCheckForApp()) SWIG_fail;
15342 PyThreadState* __tstate = wxPyBeginAllowThreads();
15343 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15344
15345 wxPyEndAllowThreads(__tstate);
15346 if (PyErr_Occurred()) SWIG_fail;
15347 }
15348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15349 return resultobj;
15350 fail:
15351 return NULL;
15352 }
15353
15354
15355 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15356 PyObject *resultobj;
15357 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15358 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15359 int arg3 = (int) (int)-1 ;
15360 wxString const &arg4_defvalue = wxPyEmptyString ;
15361 wxString *arg4 = (wxString *) &arg4_defvalue ;
15362 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15363 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15364 wxSize const &arg6_defvalue = wxDefaultSize ;
15365 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15366 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15367 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15368 wxString *arg8 = (wxString *) &arg8_defvalue ;
15369 bool result;
15370 bool temp4 = false ;
15371 wxPoint temp5 ;
15372 wxSize temp6 ;
15373 bool temp8 = false ;
15374 PyObject * obj0 = 0 ;
15375 PyObject * obj1 = 0 ;
15376 PyObject * obj2 = 0 ;
15377 PyObject * obj3 = 0 ;
15378 PyObject * obj4 = 0 ;
15379 PyObject * obj5 = 0 ;
15380 PyObject * obj6 = 0 ;
15381 PyObject * obj7 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15391 if (obj2) {
15392 arg3 = (int)SWIG_As_int(obj2);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 if (obj3) {
15396 {
15397 arg4 = wxString_in_helper(obj3);
15398 if (arg4 == NULL) SWIG_fail;
15399 temp4 = true;
15400 }
15401 }
15402 if (obj4) {
15403 {
15404 arg5 = &temp5;
15405 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15406 }
15407 }
15408 if (obj5) {
15409 {
15410 arg6 = &temp6;
15411 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15412 }
15413 }
15414 if (obj6) {
15415 arg7 = (long)SWIG_As_long(obj6);
15416 if (PyErr_Occurred()) SWIG_fail;
15417 }
15418 if (obj7) {
15419 {
15420 arg8 = wxString_in_helper(obj7);
15421 if (arg8 == NULL) SWIG_fail;
15422 temp8 = true;
15423 }
15424 }
15425 {
15426 PyThreadState* __tstate = wxPyBeginAllowThreads();
15427 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15428
15429 wxPyEndAllowThreads(__tstate);
15430 if (PyErr_Occurred()) SWIG_fail;
15431 }
15432 {
15433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15434 }
15435 {
15436 if (temp4)
15437 delete arg4;
15438 }
15439 {
15440 if (temp8)
15441 delete arg8;
15442 }
15443 return resultobj;
15444 fail:
15445 {
15446 if (temp4)
15447 delete arg4;
15448 }
15449 {
15450 if (temp8)
15451 delete arg8;
15452 }
15453 return NULL;
15454 }
15455
15456
15457 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj;
15459 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15460 PyObject * obj0 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "self", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 (arg1)->Activate();
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 Py_INCREF(Py_None); resultobj = Py_None;
15476 return resultobj;
15477 fail:
15478 return NULL;
15479 }
15480
15481
15482 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15483 PyObject *resultobj;
15484 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15485 bool arg2 ;
15486 PyObject * obj0 = 0 ;
15487 PyObject * obj1 = 0 ;
15488 char *kwnames[] = {
15489 (char *) "self",(char *) "maximize", NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15495 arg2 = (bool)SWIG_As_bool(obj1);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 {
15498 PyThreadState* __tstate = wxPyBeginAllowThreads();
15499 (arg1)->Maximize(arg2);
15500
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
15504 Py_INCREF(Py_None); resultobj = Py_None;
15505 return resultobj;
15506 fail:
15507 return NULL;
15508 }
15509
15510
15511 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15512 PyObject *resultobj;
15513 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15514 PyObject * obj0 = 0 ;
15515 char *kwnames[] = {
15516 (char *) "self", NULL
15517 };
15518
15519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15522 {
15523 PyThreadState* __tstate = wxPyBeginAllowThreads();
15524 (arg1)->Restore();
15525
15526 wxPyEndAllowThreads(__tstate);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15529 Py_INCREF(Py_None); resultobj = Py_None;
15530 return resultobj;
15531 fail:
15532 return NULL;
15533 }
15534
15535
15536 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15537 PyObject *obj;
15538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15539 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15540 Py_INCREF(obj);
15541 return Py_BuildValue((char *)"");
15542 }
15543 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15546 long arg2 = (long) 0 ;
15547 wxMDIClientWindow *result;
15548 PyObject * obj0 = 0 ;
15549 PyObject * obj1 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "parent",(char *) "style", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15557 if (obj1) {
15558 arg2 = (long)SWIG_As_long(obj1);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 {
15562 if (!wxPyCheckForApp()) SWIG_fail;
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15570 return resultobj;
15571 fail:
15572 return NULL;
15573 }
15574
15575
15576 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxMDIClientWindow *result;
15579 char *kwnames[] = {
15580 NULL
15581 };
15582
15583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15584 {
15585 if (!wxPyCheckForApp()) SWIG_fail;
15586 PyThreadState* __tstate = wxPyBeginAllowThreads();
15587 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15588
15589 wxPyEndAllowThreads(__tstate);
15590 if (PyErr_Occurred()) SWIG_fail;
15591 }
15592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15593 return resultobj;
15594 fail:
15595 return NULL;
15596 }
15597
15598
15599 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15600 PyObject *resultobj;
15601 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15602 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15603 long arg3 = (long) 0 ;
15604 bool result;
15605 PyObject * obj0 = 0 ;
15606 PyObject * obj1 = 0 ;
15607 PyObject * obj2 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self",(char *) "parent",(char *) "style", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15617 if (obj2) {
15618 arg3 = (long)SWIG_As_long(obj2);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 {
15622 PyThreadState* __tstate = wxPyBeginAllowThreads();
15623 result = (bool)(arg1)->Create(arg2,arg3);
15624
15625 wxPyEndAllowThreads(__tstate);
15626 if (PyErr_Occurred()) SWIG_fail;
15627 }
15628 {
15629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15630 }
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15638 PyObject *obj;
15639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15640 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15641 Py_INCREF(obj);
15642 return Py_BuildValue((char *)"");
15643 }
15644 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15645 PyObject *resultobj;
15646 wxWindow *arg1 = (wxWindow *) 0 ;
15647 int arg2 = (int) (int)-1 ;
15648 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15649 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15650 wxSize const &arg4_defvalue = wxDefaultSize ;
15651 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15652 long arg5 = (long) 0 ;
15653 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15654 wxString *arg6 = (wxString *) &arg6_defvalue ;
15655 wxPyWindow *result;
15656 wxPoint temp3 ;
15657 wxSize temp4 ;
15658 bool temp6 = false ;
15659 PyObject * obj0 = 0 ;
15660 PyObject * obj1 = 0 ;
15661 PyObject * obj2 = 0 ;
15662 PyObject * obj3 = 0 ;
15663 PyObject * obj4 = 0 ;
15664 PyObject * obj5 = 0 ;
15665 char *kwnames[] = {
15666 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15667 };
15668
15669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15672 if (obj1) {
15673 arg2 = (int)SWIG_As_int(obj1);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 if (obj2) {
15677 {
15678 arg3 = &temp3;
15679 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15680 }
15681 }
15682 if (obj3) {
15683 {
15684 arg4 = &temp4;
15685 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15686 }
15687 }
15688 if (obj4) {
15689 arg5 = (long)SWIG_As_long(obj4);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 if (obj5) {
15693 {
15694 arg6 = wxString_in_helper(obj5);
15695 if (arg6 == NULL) SWIG_fail;
15696 temp6 = true;
15697 }
15698 }
15699 {
15700 if (!wxPyCheckForApp()) SWIG_fail;
15701 PyThreadState* __tstate = wxPyBeginAllowThreads();
15702 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15703
15704 wxPyEndAllowThreads(__tstate);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15708 {
15709 if (temp6)
15710 delete arg6;
15711 }
15712 return resultobj;
15713 fail:
15714 {
15715 if (temp6)
15716 delete arg6;
15717 }
15718 return NULL;
15719 }
15720
15721
15722 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15723 PyObject *resultobj;
15724 wxPyWindow *result;
15725 char *kwnames[] = {
15726 NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15730 {
15731 if (!wxPyCheckForApp()) SWIG_fail;
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 result = (wxPyWindow *)new wxPyWindow();
15734
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15739 return resultobj;
15740 fail:
15741 return NULL;
15742 }
15743
15744
15745 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15748 PyObject *arg2 = (PyObject *) 0 ;
15749 PyObject *arg3 = (PyObject *) 0 ;
15750 PyObject * obj0 = 0 ;
15751 PyObject * obj1 = 0 ;
15752 PyObject * obj2 = 0 ;
15753 char *kwnames[] = {
15754 (char *) "self",(char *) "self",(char *) "_class", NULL
15755 };
15756
15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15760 arg2 = obj1;
15761 arg3 = obj2;
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 (arg1)->_setCallbackInfo(arg2,arg3);
15765
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 Py_INCREF(Py_None); resultobj = Py_None;
15770 return resultobj;
15771 fail:
15772 return NULL;
15773 }
15774
15775
15776 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj;
15778 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15779 wxSize *arg2 = 0 ;
15780 wxSize temp2 ;
15781 PyObject * obj0 = 0 ;
15782 PyObject * obj1 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "self",(char *) "size", NULL
15785 };
15786
15787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15790 {
15791 arg2 = &temp2;
15792 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15793 }
15794 {
15795 PyThreadState* __tstate = wxPyBeginAllowThreads();
15796 (arg1)->SetBestSize((wxSize const &)*arg2);
15797
15798 wxPyEndAllowThreads(__tstate);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 }
15801 Py_INCREF(Py_None); resultobj = Py_None;
15802 return resultobj;
15803 fail:
15804 return NULL;
15805 }
15806
15807
15808 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15809 PyObject *resultobj;
15810 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15811 int arg2 ;
15812 int arg3 ;
15813 int arg4 ;
15814 int arg5 ;
15815 PyObject * obj0 = 0 ;
15816 PyObject * obj1 = 0 ;
15817 PyObject * obj2 = 0 ;
15818 PyObject * obj3 = 0 ;
15819 PyObject * obj4 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15827 arg2 = (int)SWIG_As_int(obj1);
15828 if (PyErr_Occurred()) SWIG_fail;
15829 arg3 = (int)SWIG_As_int(obj2);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 arg4 = (int)SWIG_As_int(obj3);
15832 if (PyErr_Occurred()) SWIG_fail;
15833 arg5 = (int)SWIG_As_int(obj4);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 {
15836 PyThreadState* __tstate = wxPyBeginAllowThreads();
15837 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15838
15839 wxPyEndAllowThreads(__tstate);
15840 if (PyErr_Occurred()) SWIG_fail;
15841 }
15842 Py_INCREF(Py_None); resultobj = Py_None;
15843 return resultobj;
15844 fail:
15845 return NULL;
15846 }
15847
15848
15849 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15850 PyObject *resultobj;
15851 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15852 int arg2 ;
15853 int arg3 ;
15854 int arg4 ;
15855 int arg5 ;
15856 int arg6 = (int) wxSIZE_AUTO ;
15857 PyObject * obj0 = 0 ;
15858 PyObject * obj1 = 0 ;
15859 PyObject * obj2 = 0 ;
15860 PyObject * obj3 = 0 ;
15861 PyObject * obj4 = 0 ;
15862 PyObject * obj5 = 0 ;
15863 char *kwnames[] = {
15864 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15865 };
15866
15867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15870 arg2 = (int)SWIG_As_int(obj1);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 arg3 = (int)SWIG_As_int(obj2);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 arg4 = (int)SWIG_As_int(obj3);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 arg5 = (int)SWIG_As_int(obj4);
15877 if (PyErr_Occurred()) SWIG_fail;
15878 if (obj5) {
15879 arg6 = (int)SWIG_As_int(obj5);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
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_DoSetClientSize(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 *) "width",(char *) "height", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",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_DoSetClientSize(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_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15932 int arg2 ;
15933 int arg3 ;
15934 PyObject * obj0 = 0 ;
15935 PyObject * obj1 = 0 ;
15936 PyObject * obj2 = 0 ;
15937 char *kwnames[] = {
15938 (char *) "self",(char *) "x",(char *) "y", NULL
15939 };
15940
15941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15944 arg2 = (int)SWIG_As_int(obj1);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 arg3 = (int)SWIG_As_int(obj2);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 Py_INCREF(Py_None); resultobj = Py_None;
15956 return resultobj;
15957 fail:
15958 return NULL;
15959 }
15960
15961
15962 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15965 int *arg2 = (int *) 0 ;
15966 int *arg3 = (int *) 0 ;
15967 int temp2 ;
15968 int res2 = 0 ;
15969 int temp3 ;
15970 int res3 = 0 ;
15971 PyObject * obj0 = 0 ;
15972 char *kwnames[] = {
15973 (char *) "self", NULL
15974 };
15975
15976 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15977 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15981 {
15982 PyThreadState* __tstate = wxPyBeginAllowThreads();
15983 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15984
15985 wxPyEndAllowThreads(__tstate);
15986 if (PyErr_Occurred()) SWIG_fail;
15987 }
15988 Py_INCREF(Py_None); resultobj = Py_None;
15989 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15990 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15991 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15992 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15993 return resultobj;
15994 fail:
15995 return NULL;
15996 }
15997
15998
15999 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16000 PyObject *resultobj;
16001 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16002 int *arg2 = (int *) 0 ;
16003 int *arg3 = (int *) 0 ;
16004 int temp2 ;
16005 int res2 = 0 ;
16006 int temp3 ;
16007 int res3 = 0 ;
16008 PyObject * obj0 = 0 ;
16009 char *kwnames[] = {
16010 (char *) "self", NULL
16011 };
16012
16013 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16014 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 Py_INCREF(Py_None); resultobj = Py_None;
16026 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16027 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16028 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16029 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16030 return resultobj;
16031 fail:
16032 return NULL;
16033 }
16034
16035
16036 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16039 int *arg2 = (int *) 0 ;
16040 int *arg3 = (int *) 0 ;
16041 int temp2 ;
16042 int res2 = 0 ;
16043 int temp3 ;
16044 int res3 = 0 ;
16045 PyObject * obj0 = 0 ;
16046 char *kwnames[] = {
16047 (char *) "self", NULL
16048 };
16049
16050 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16051 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 Py_INCREF(Py_None); resultobj = Py_None;
16063 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16064 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16065 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16066 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16067 return resultobj;
16068 fail:
16069 return NULL;
16070 }
16071
16072
16073 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16074 PyObject *resultobj;
16075 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16076 wxSize result;
16077 PyObject * obj0 = 0 ;
16078 char *kwnames[] = {
16079 (char *) "self", NULL
16080 };
16081
16082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16085 {
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 {
16093 wxSize * resultptr;
16094 resultptr = new wxSize((wxSize &) result);
16095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16096 }
16097 return resultobj;
16098 fail:
16099 return NULL;
16100 }
16101
16102
16103 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16106 wxSize result;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 {
16123 wxSize * resultptr;
16124 resultptr = new wxSize((wxSize &) result);
16125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16126 }
16127 return resultobj;
16128 fail:
16129 return NULL;
16130 }
16131
16132
16133 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16136 PyObject * obj0 = 0 ;
16137 char *kwnames[] = {
16138 (char *) "self", NULL
16139 };
16140
16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16144 {
16145 PyThreadState* __tstate = wxPyBeginAllowThreads();
16146 (arg1)->base_InitDialog();
16147
16148 wxPyEndAllowThreads(__tstate);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 }
16151 Py_INCREF(Py_None); resultobj = Py_None;
16152 return resultobj;
16153 fail:
16154 return NULL;
16155 }
16156
16157
16158 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16159 PyObject *resultobj;
16160 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16161 bool result;
16162 PyObject * obj0 = 0 ;
16163 char *kwnames[] = {
16164 (char *) "self", NULL
16165 };
16166
16167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 result = (bool)(arg1)->base_TransferDataToWindow();
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
16177 {
16178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16179 }
16180 return resultobj;
16181 fail:
16182 return NULL;
16183 }
16184
16185
16186 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16187 PyObject *resultobj;
16188 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16189 bool result;
16190 PyObject * obj0 = 0 ;
16191 char *kwnames[] = {
16192 (char *) "self", NULL
16193 };
16194
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16198 {
16199 PyThreadState* __tstate = wxPyBeginAllowThreads();
16200 result = (bool)(arg1)->base_TransferDataFromWindow();
16201
16202 wxPyEndAllowThreads(__tstate);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 {
16206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16207 }
16208 return resultobj;
16209 fail:
16210 return NULL;
16211 }
16212
16213
16214 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16215 PyObject *resultobj;
16216 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16217 bool result;
16218 PyObject * obj0 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = (bool)(arg1)->base_Validate();
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16235 }
16236 return resultobj;
16237 fail:
16238 return NULL;
16239 }
16240
16241
16242 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj;
16244 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16245 bool result;
16246 PyObject * obj0 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self", NULL
16249 };
16250
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16257
16258 wxPyEndAllowThreads(__tstate);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 {
16262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16263 }
16264 return resultobj;
16265 fail:
16266 return NULL;
16267 }
16268
16269
16270 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16271 PyObject *resultobj;
16272 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16273 bool result;
16274 PyObject * obj0 = 0 ;
16275 char *kwnames[] = {
16276 (char *) "self", NULL
16277 };
16278
16279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16282 {
16283 PyThreadState* __tstate = wxPyBeginAllowThreads();
16284 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16285
16286 wxPyEndAllowThreads(__tstate);
16287 if (PyErr_Occurred()) SWIG_fail;
16288 }
16289 {
16290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16291 }
16292 return resultobj;
16293 fail:
16294 return NULL;
16295 }
16296
16297
16298 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16299 PyObject *resultobj;
16300 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16301 wxSize result;
16302 PyObject * obj0 = 0 ;
16303 char *kwnames[] = {
16304 (char *) "self", NULL
16305 };
16306
16307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16313
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 {
16318 wxSize * resultptr;
16319 resultptr = new wxSize((wxSize &) result);
16320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16321 }
16322 return resultobj;
16323 fail:
16324 return NULL;
16325 }
16326
16327
16328 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16329 PyObject *resultobj;
16330 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16331 wxWindow *arg2 = (wxWindow *) 0 ;
16332 PyObject * obj0 = 0 ;
16333 PyObject * obj1 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self",(char *) "child", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 (arg1)->base_AddChild(arg2);
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 Py_INCREF(Py_None); resultobj = Py_None;
16351 return resultobj;
16352 fail:
16353 return NULL;
16354 }
16355
16356
16357 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16360 wxWindow *arg2 = (wxWindow *) 0 ;
16361 PyObject * obj0 = 0 ;
16362 PyObject * obj1 = 0 ;
16363 char *kwnames[] = {
16364 (char *) "self",(char *) "child", NULL
16365 };
16366
16367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
16374 (arg1)->base_RemoveChild(arg2);
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 Py_INCREF(Py_None); resultobj = Py_None;
16380 return resultobj;
16381 fail:
16382 return NULL;
16383 }
16384
16385
16386 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16389 bool result;
16390 PyObject * obj0 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16407 }
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16415 PyObject *resultobj;
16416 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16417 wxColour *arg2 = 0 ;
16418 wxColour temp2 ;
16419 PyObject * obj0 = 0 ;
16420 PyObject * obj1 = 0 ;
16421 char *kwnames[] = {
16422 (char *) "self",(char *) "c", NULL
16423 };
16424
16425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16428 {
16429 arg2 = &temp2;
16430 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16431 }
16432 {
16433 PyThreadState* __tstate = wxPyBeginAllowThreads();
16434 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16435
16436 wxPyEndAllowThreads(__tstate);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 }
16439 Py_INCREF(Py_None); resultobj = Py_None;
16440 return resultobj;
16441 fail:
16442 return NULL;
16443 }
16444
16445
16446 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16447 PyObject *resultobj;
16448 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16449 wxVisualAttributes result;
16450 PyObject * obj0 = 0 ;
16451 char *kwnames[] = {
16452 (char *) "self", NULL
16453 };
16454
16455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 result = (arg1)->base_GetDefaultAttributes();
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 {
16466 wxVisualAttributes * resultptr;
16467 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16469 }
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16477 PyObject *obj;
16478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16479 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16480 Py_INCREF(obj);
16481 return Py_BuildValue((char *)"");
16482 }
16483 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16484 PyObject *resultobj;
16485 wxWindow *arg1 = (wxWindow *) 0 ;
16486 int arg2 = (int) (int)-1 ;
16487 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16488 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16489 wxSize const &arg4_defvalue = wxDefaultSize ;
16490 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16491 long arg5 = (long) 0 ;
16492 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16493 wxString *arg6 = (wxString *) &arg6_defvalue ;
16494 wxPyPanel *result;
16495 wxPoint temp3 ;
16496 wxSize temp4 ;
16497 bool temp6 = false ;
16498 PyObject * obj0 = 0 ;
16499 PyObject * obj1 = 0 ;
16500 PyObject * obj2 = 0 ;
16501 PyObject * obj3 = 0 ;
16502 PyObject * obj4 = 0 ;
16503 PyObject * obj5 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16511 if (obj1) {
16512 arg2 = (int)SWIG_As_int(obj1);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 if (obj2) {
16516 {
16517 arg3 = &temp3;
16518 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16519 }
16520 }
16521 if (obj3) {
16522 {
16523 arg4 = &temp4;
16524 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16525 }
16526 }
16527 if (obj4) {
16528 arg5 = (long)SWIG_As_long(obj4);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 if (obj5) {
16532 {
16533 arg6 = wxString_in_helper(obj5);
16534 if (arg6 == NULL) SWIG_fail;
16535 temp6 = true;
16536 }
16537 }
16538 {
16539 if (!wxPyCheckForApp()) SWIG_fail;
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16547 {
16548 if (temp6)
16549 delete arg6;
16550 }
16551 return resultobj;
16552 fail:
16553 {
16554 if (temp6)
16555 delete arg6;
16556 }
16557 return NULL;
16558 }
16559
16560
16561 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 wxPyPanel *result;
16564 char *kwnames[] = {
16565 NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16569 {
16570 if (!wxPyCheckForApp()) SWIG_fail;
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 result = (wxPyPanel *)new wxPyPanel();
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16587 PyObject *arg2 = (PyObject *) 0 ;
16588 PyObject *arg3 = (PyObject *) 0 ;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 PyObject * obj2 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self",(char *) "self",(char *) "_class", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16599 arg2 = obj1;
16600 arg3 = obj2;
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 (arg1)->_setCallbackInfo(arg2,arg3);
16604
16605 wxPyEndAllowThreads(__tstate);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 Py_INCREF(Py_None); resultobj = Py_None;
16609 return resultobj;
16610 fail:
16611 return NULL;
16612 }
16613
16614
16615 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16618 wxSize *arg2 = 0 ;
16619 wxSize temp2 ;
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self",(char *) "size", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16629 {
16630 arg2 = &temp2;
16631 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16632 }
16633 {
16634 PyThreadState* __tstate = wxPyBeginAllowThreads();
16635 (arg1)->SetBestSize((wxSize const &)*arg2);
16636
16637 wxPyEndAllowThreads(__tstate);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 }
16640 Py_INCREF(Py_None); resultobj = Py_None;
16641 return resultobj;
16642 fail:
16643 return NULL;
16644 }
16645
16646
16647 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16650 int arg2 ;
16651 int arg3 ;
16652 int arg4 ;
16653 int arg5 ;
16654 PyObject * obj0 = 0 ;
16655 PyObject * obj1 = 0 ;
16656 PyObject * obj2 = 0 ;
16657 PyObject * obj3 = 0 ;
16658 PyObject * obj4 = 0 ;
16659 char *kwnames[] = {
16660 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16661 };
16662
16663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16666 arg2 = (int)SWIG_As_int(obj1);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 arg3 = (int)SWIG_As_int(obj2);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 arg4 = (int)SWIG_As_int(obj3);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 arg5 = (int)SWIG_As_int(obj4);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 Py_INCREF(Py_None); resultobj = Py_None;
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16691 int arg2 ;
16692 int arg3 ;
16693 int arg4 ;
16694 int arg5 ;
16695 int arg6 = (int) wxSIZE_AUTO ;
16696 PyObject * obj0 = 0 ;
16697 PyObject * obj1 = 0 ;
16698 PyObject * obj2 = 0 ;
16699 PyObject * obj3 = 0 ;
16700 PyObject * obj4 = 0 ;
16701 PyObject * obj5 = 0 ;
16702 char *kwnames[] = {
16703 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16704 };
16705
16706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16709 arg2 = (int)SWIG_As_int(obj1);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 arg3 = (int)SWIG_As_int(obj2);
16712 if (PyErr_Occurred()) SWIG_fail;
16713 arg4 = (int)SWIG_As_int(obj3);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 arg5 = (int)SWIG_As_int(obj4);
16716 if (PyErr_Occurred()) SWIG_fail;
16717 if (obj5) {
16718 arg6 = (int)SWIG_As_int(obj5);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
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_DoSetClientSize(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 *) "width",(char *) "height", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",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_DoSetClientSize(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_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16769 PyObject *resultobj;
16770 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16771 int arg2 ;
16772 int arg3 ;
16773 PyObject * obj0 = 0 ;
16774 PyObject * obj1 = 0 ;
16775 PyObject * obj2 = 0 ;
16776 char *kwnames[] = {
16777 (char *) "self",(char *) "x",(char *) "y", NULL
16778 };
16779
16780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16783 arg2 = (int)SWIG_As_int(obj1);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 arg3 = (int)SWIG_As_int(obj2);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 {
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16790
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 Py_INCREF(Py_None); resultobj = Py_None;
16795 return resultobj;
16796 fail:
16797 return NULL;
16798 }
16799
16800
16801 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16802 PyObject *resultobj;
16803 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16804 int *arg2 = (int *) 0 ;
16805 int *arg3 = (int *) 0 ;
16806 int temp2 ;
16807 int res2 = 0 ;
16808 int temp3 ;
16809 int res3 = 0 ;
16810 PyObject * obj0 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self", NULL
16813 };
16814
16815 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16816 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 Py_INCREF(Py_None); resultobj = Py_None;
16828 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16829 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16830 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16831 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16832 return resultobj;
16833 fail:
16834 return NULL;
16835 }
16836
16837
16838 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16839 PyObject *resultobj;
16840 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16841 int *arg2 = (int *) 0 ;
16842 int *arg3 = (int *) 0 ;
16843 int temp2 ;
16844 int res2 = 0 ;
16845 int temp3 ;
16846 int res3 = 0 ;
16847 PyObject * obj0 = 0 ;
16848 char *kwnames[] = {
16849 (char *) "self", NULL
16850 };
16851
16852 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16853 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16860
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 Py_INCREF(Py_None); resultobj = Py_None;
16865 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16866 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16867 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16868 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj;
16877 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16878 int *arg2 = (int *) 0 ;
16879 int *arg3 = (int *) 0 ;
16880 int temp2 ;
16881 int res2 = 0 ;
16882 int temp3 ;
16883 int res3 = 0 ;
16884 PyObject * obj0 = 0 ;
16885 char *kwnames[] = {
16886 (char *) "self", NULL
16887 };
16888
16889 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16890 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16897
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 Py_INCREF(Py_None); resultobj = Py_None;
16902 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16903 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16904 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16905 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16906 return resultobj;
16907 fail:
16908 return NULL;
16909 }
16910
16911
16912 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj;
16914 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16915 wxSize result;
16916 PyObject * obj0 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16927
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 {
16932 wxSize * resultptr;
16933 resultptr = new wxSize((wxSize &) result);
16934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16935 }
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16945 wxSize result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 {
16962 wxSize * resultptr;
16963 resultptr = new wxSize((wxSize &) result);
16964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16965 }
16966 return resultobj;
16967 fail:
16968 return NULL;
16969 }
16970
16971
16972 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16973 PyObject *resultobj;
16974 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16975 PyObject * obj0 = 0 ;
16976 char *kwnames[] = {
16977 (char *) "self", NULL
16978 };
16979
16980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 (arg1)->base_InitDialog();
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 Py_INCREF(Py_None); resultobj = Py_None;
16991 return resultobj;
16992 fail:
16993 return NULL;
16994 }
16995
16996
16997 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17000 bool result;
17001 PyObject * obj0 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 result = (bool)(arg1)->base_TransferDataToWindow();
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 {
17017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17018 }
17019 return resultobj;
17020 fail:
17021 return NULL;
17022 }
17023
17024
17025 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17026 PyObject *resultobj;
17027 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17028 bool result;
17029 PyObject * obj0 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (bool)(arg1)->base_TransferDataFromWindow();
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 {
17045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17046 }
17047 return resultobj;
17048 fail:
17049 return NULL;
17050 }
17051
17052
17053 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17054 PyObject *resultobj;
17055 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17056 bool result;
17057 PyObject * obj0 = 0 ;
17058 char *kwnames[] = {
17059 (char *) "self", NULL
17060 };
17061
17062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17065 {
17066 PyThreadState* __tstate = wxPyBeginAllowThreads();
17067 result = (bool)(arg1)->base_Validate();
17068
17069 wxPyEndAllowThreads(__tstate);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 {
17073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17074 }
17075 return resultobj;
17076 fail:
17077 return NULL;
17078 }
17079
17080
17081 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17082 PyObject *resultobj;
17083 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17084 bool result;
17085 PyObject * obj0 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 {
17101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17102 }
17103 return resultobj;
17104 fail:
17105 return NULL;
17106 }
17107
17108
17109 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj;
17111 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17112 bool result;
17113 PyObject * obj0 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 {
17129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17130 }
17131 return resultobj;
17132 fail:
17133 return NULL;
17134 }
17135
17136
17137 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj;
17139 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17140 wxSize result;
17141 PyObject * obj0 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 {
17157 wxSize * resultptr;
17158 resultptr = new wxSize((wxSize &) result);
17159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17160 }
17161 return resultobj;
17162 fail:
17163 return NULL;
17164 }
17165
17166
17167 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17170 wxWindow *arg2 = (wxWindow *) 0 ;
17171 PyObject * obj0 = 0 ;
17172 PyObject * obj1 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self",(char *) "child", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17180 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 (arg1)->base_AddChild(arg2);
17185
17186 wxPyEndAllowThreads(__tstate);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
17189 Py_INCREF(Py_None); resultobj = Py_None;
17190 return resultobj;
17191 fail:
17192 return NULL;
17193 }
17194
17195
17196 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17197 PyObject *resultobj;
17198 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17199 wxWindow *arg2 = (wxWindow *) 0 ;
17200 PyObject * obj0 = 0 ;
17201 PyObject * obj1 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self",(char *) "child", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 (arg1)->base_RemoveChild(arg2);
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 Py_INCREF(Py_None); resultobj = Py_None;
17219 return resultobj;
17220 fail:
17221 return NULL;
17222 }
17223
17224
17225 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17228 bool result;
17229 PyObject * obj0 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17237 {
17238 PyThreadState* __tstate = wxPyBeginAllowThreads();
17239 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
17244 {
17245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17246 }
17247 return resultobj;
17248 fail:
17249 return NULL;
17250 }
17251
17252
17253 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17256 wxColour *arg2 = 0 ;
17257 wxColour temp2 ;
17258 PyObject * obj0 = 0 ;
17259 PyObject * obj1 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self",(char *) "c", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17267 {
17268 arg2 = &temp2;
17269 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17270 }
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 Py_INCREF(Py_None); resultobj = Py_None;
17279 return resultobj;
17280 fail:
17281 return NULL;
17282 }
17283
17284
17285 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj;
17287 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17288 wxVisualAttributes result;
17289 PyObject * obj0 = 0 ;
17290 char *kwnames[] = {
17291 (char *) "self", NULL
17292 };
17293
17294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 result = (arg1)->base_GetDefaultAttributes();
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 {
17305 wxVisualAttributes * resultptr;
17306 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17308 }
17309 return resultobj;
17310 fail:
17311 return NULL;
17312 }
17313
17314
17315 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17316 PyObject *obj;
17317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17318 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17319 Py_INCREF(obj);
17320 return Py_BuildValue((char *)"");
17321 }
17322 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17323 PyObject *resultobj;
17324 wxWindow *arg1 = (wxWindow *) 0 ;
17325 int arg2 = (int) (int)-1 ;
17326 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17327 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17328 wxSize const &arg4_defvalue = wxDefaultSize ;
17329 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17330 long arg5 = (long) 0 ;
17331 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17332 wxString *arg6 = (wxString *) &arg6_defvalue ;
17333 wxPyScrolledWindow *result;
17334 wxPoint temp3 ;
17335 wxSize temp4 ;
17336 bool temp6 = false ;
17337 PyObject * obj0 = 0 ;
17338 PyObject * obj1 = 0 ;
17339 PyObject * obj2 = 0 ;
17340 PyObject * obj3 = 0 ;
17341 PyObject * obj4 = 0 ;
17342 PyObject * obj5 = 0 ;
17343 char *kwnames[] = {
17344 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17345 };
17346
17347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17350 if (obj1) {
17351 arg2 = (int)SWIG_As_int(obj1);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
17354 if (obj2) {
17355 {
17356 arg3 = &temp3;
17357 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17358 }
17359 }
17360 if (obj3) {
17361 {
17362 arg4 = &temp4;
17363 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17364 }
17365 }
17366 if (obj4) {
17367 arg5 = (long)SWIG_As_long(obj4);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 if (obj5) {
17371 {
17372 arg6 = wxString_in_helper(obj5);
17373 if (arg6 == NULL) SWIG_fail;
17374 temp6 = true;
17375 }
17376 }
17377 {
17378 if (!wxPyCheckForApp()) SWIG_fail;
17379 PyThreadState* __tstate = wxPyBeginAllowThreads();
17380 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17381
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17386 {
17387 if (temp6)
17388 delete arg6;
17389 }
17390 return resultobj;
17391 fail:
17392 {
17393 if (temp6)
17394 delete arg6;
17395 }
17396 return NULL;
17397 }
17398
17399
17400 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj;
17402 wxPyScrolledWindow *result;
17403 char *kwnames[] = {
17404 NULL
17405 };
17406
17407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17408 {
17409 if (!wxPyCheckForApp()) SWIG_fail;
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17426 PyObject *arg2 = (PyObject *) 0 ;
17427 PyObject *arg3 = (PyObject *) 0 ;
17428 PyObject * obj0 = 0 ;
17429 PyObject * obj1 = 0 ;
17430 PyObject * obj2 = 0 ;
17431 char *kwnames[] = {
17432 (char *) "self",(char *) "self",(char *) "_class", NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17438 arg2 = obj1;
17439 arg3 = obj2;
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 (arg1)->_setCallbackInfo(arg2,arg3);
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 Py_INCREF(Py_None); resultobj = Py_None;
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17457 wxSize *arg2 = 0 ;
17458 wxSize temp2 ;
17459 PyObject * obj0 = 0 ;
17460 PyObject * obj1 = 0 ;
17461 char *kwnames[] = {
17462 (char *) "self",(char *) "size", NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17468 {
17469 arg2 = &temp2;
17470 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17471 }
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 (arg1)->SetBestSize((wxSize const &)*arg2);
17475
17476 wxPyEndAllowThreads(__tstate);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 }
17479 Py_INCREF(Py_None); resultobj = Py_None;
17480 return resultobj;
17481 fail:
17482 return NULL;
17483 }
17484
17485
17486 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17487 PyObject *resultobj;
17488 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17489 int arg2 ;
17490 int arg3 ;
17491 int arg4 ;
17492 int arg5 ;
17493 PyObject * obj0 = 0 ;
17494 PyObject * obj1 = 0 ;
17495 PyObject * obj2 = 0 ;
17496 PyObject * obj3 = 0 ;
17497 PyObject * obj4 = 0 ;
17498 char *kwnames[] = {
17499 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17500 };
17501
17502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17505 arg2 = (int)SWIG_As_int(obj1);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 arg3 = (int)SWIG_As_int(obj2);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 arg4 = (int)SWIG_As_int(obj3);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 arg5 = (int)SWIG_As_int(obj4);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 Py_INCREF(Py_None); resultobj = Py_None;
17521 return resultobj;
17522 fail:
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17530 int arg2 ;
17531 int arg3 ;
17532 int arg4 ;
17533 int arg5 ;
17534 int arg6 = (int) wxSIZE_AUTO ;
17535 PyObject * obj0 = 0 ;
17536 PyObject * obj1 = 0 ;
17537 PyObject * obj2 = 0 ;
17538 PyObject * obj3 = 0 ;
17539 PyObject * obj4 = 0 ;
17540 PyObject * obj5 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17548 arg2 = (int)SWIG_As_int(obj1);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 arg3 = (int)SWIG_As_int(obj2);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 arg4 = (int)SWIG_As_int(obj3);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 arg5 = (int)SWIG_As_int(obj4);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 if (obj5) {
17557 arg6 = (int)SWIG_As_int(obj5);
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
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_DoSetClientSize(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 *) "width",(char *) "height", NULL
17584 };
17585
17586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",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_DoSetClientSize(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_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17608 PyObject *resultobj;
17609 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17610 int arg2 ;
17611 int arg3 ;
17612 PyObject * obj0 = 0 ;
17613 PyObject * obj1 = 0 ;
17614 PyObject * obj2 = 0 ;
17615 char *kwnames[] = {
17616 (char *) "self",(char *) "x",(char *) "y", NULL
17617 };
17618
17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17622 arg2 = (int)SWIG_As_int(obj1);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 arg3 = (int)SWIG_As_int(obj2);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17629
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 Py_INCREF(Py_None); resultobj = Py_None;
17634 return resultobj;
17635 fail:
17636 return NULL;
17637 }
17638
17639
17640 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17641 PyObject *resultobj;
17642 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17643 int *arg2 = (int *) 0 ;
17644 int *arg3 = (int *) 0 ;
17645 int temp2 ;
17646 int res2 = 0 ;
17647 int temp3 ;
17648 int res3 = 0 ;
17649 PyObject * obj0 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self", NULL
17652 };
17653
17654 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17655 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17659 {
17660 PyThreadState* __tstate = wxPyBeginAllowThreads();
17661 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17662
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
17666 Py_INCREF(Py_None); resultobj = Py_None;
17667 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17668 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17669 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17670 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17671 return resultobj;
17672 fail:
17673 return NULL;
17674 }
17675
17676
17677 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj;
17679 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17680 int *arg2 = (int *) 0 ;
17681 int *arg3 = (int *) 0 ;
17682 int temp2 ;
17683 int res2 = 0 ;
17684 int temp3 ;
17685 int res3 = 0 ;
17686 PyObject * obj0 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self", NULL
17689 };
17690
17691 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17692 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17699
17700 wxPyEndAllowThreads(__tstate);
17701 if (PyErr_Occurred()) SWIG_fail;
17702 }
17703 Py_INCREF(Py_None); resultobj = Py_None;
17704 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17705 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17706 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17707 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17708 return resultobj;
17709 fail:
17710 return NULL;
17711 }
17712
17713
17714 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17715 PyObject *resultobj;
17716 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17717 int *arg2 = (int *) 0 ;
17718 int *arg3 = (int *) 0 ;
17719 int temp2 ;
17720 int res2 = 0 ;
17721 int temp3 ;
17722 int res3 = 0 ;
17723 PyObject * obj0 = 0 ;
17724 char *kwnames[] = {
17725 (char *) "self", NULL
17726 };
17727
17728 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17729 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17733 {
17734 PyThreadState* __tstate = wxPyBeginAllowThreads();
17735 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17736
17737 wxPyEndAllowThreads(__tstate);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 }
17740 Py_INCREF(Py_None); resultobj = Py_None;
17741 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17742 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17743 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17744 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17745 return resultobj;
17746 fail:
17747 return NULL;
17748 }
17749
17750
17751 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17752 PyObject *resultobj;
17753 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17754 wxSize result;
17755 PyObject * obj0 = 0 ;
17756 char *kwnames[] = {
17757 (char *) "self", NULL
17758 };
17759
17760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17766
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 {
17771 wxSize * resultptr;
17772 resultptr = new wxSize((wxSize &) result);
17773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17774 }
17775 return resultobj;
17776 fail:
17777 return NULL;
17778 }
17779
17780
17781 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17782 PyObject *resultobj;
17783 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17784 wxSize result;
17785 PyObject * obj0 = 0 ;
17786 char *kwnames[] = {
17787 (char *) "self", NULL
17788 };
17789
17790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17793 {
17794 PyThreadState* __tstate = wxPyBeginAllowThreads();
17795 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17796
17797 wxPyEndAllowThreads(__tstate);
17798 if (PyErr_Occurred()) SWIG_fail;
17799 }
17800 {
17801 wxSize * resultptr;
17802 resultptr = new wxSize((wxSize &) result);
17803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17804 }
17805 return resultobj;
17806 fail:
17807 return NULL;
17808 }
17809
17810
17811 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17812 PyObject *resultobj;
17813 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17814 PyObject * obj0 = 0 ;
17815 char *kwnames[] = {
17816 (char *) "self", NULL
17817 };
17818
17819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 (arg1)->base_InitDialog();
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 Py_INCREF(Py_None); resultobj = Py_None;
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17839 bool result;
17840 PyObject * obj0 = 0 ;
17841 char *kwnames[] = {
17842 (char *) "self", NULL
17843 };
17844
17845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17848 {
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 result = (bool)(arg1)->base_TransferDataToWindow();
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 {
17856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17857 }
17858 return resultobj;
17859 fail:
17860 return NULL;
17861 }
17862
17863
17864 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17865 PyObject *resultobj;
17866 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17867 bool result;
17868 PyObject * obj0 = 0 ;
17869 char *kwnames[] = {
17870 (char *) "self", NULL
17871 };
17872
17873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 result = (bool)(arg1)->base_TransferDataFromWindow();
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 {
17884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17885 }
17886 return resultobj;
17887 fail:
17888 return NULL;
17889 }
17890
17891
17892 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17893 PyObject *resultobj;
17894 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17895 bool result;
17896 PyObject * obj0 = 0 ;
17897 char *kwnames[] = {
17898 (char *) "self", NULL
17899 };
17900
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 result = (bool)(arg1)->base_Validate();
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 {
17912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17913 }
17914 return resultobj;
17915 fail:
17916 return NULL;
17917 }
17918
17919
17920 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17921 PyObject *resultobj;
17922 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17923 bool result;
17924 PyObject * obj0 = 0 ;
17925 char *kwnames[] = {
17926 (char *) "self", NULL
17927 };
17928
17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 {
17940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17941 }
17942 return resultobj;
17943 fail:
17944 return NULL;
17945 }
17946
17947
17948 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17951 bool result;
17952 PyObject * obj0 = 0 ;
17953 char *kwnames[] = {
17954 (char *) "self", NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 {
17968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17969 }
17970 return resultobj;
17971 fail:
17972 return NULL;
17973 }
17974
17975
17976 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17979 wxSize result;
17980 PyObject * obj0 = 0 ;
17981 char *kwnames[] = {
17982 (char *) "self", NULL
17983 };
17984
17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17991
17992 wxPyEndAllowThreads(__tstate);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 }
17995 {
17996 wxSize * resultptr;
17997 resultptr = new wxSize((wxSize &) result);
17998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17999 }
18000 return resultobj;
18001 fail:
18002 return NULL;
18003 }
18004
18005
18006 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18009 wxWindow *arg2 = (wxWindow *) 0 ;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self",(char *) "child", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 (arg1)->base_AddChild(arg2);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 Py_INCREF(Py_None); resultobj = Py_None;
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18038 wxWindow *arg2 = (wxWindow *) 0 ;
18039 PyObject * obj0 = 0 ;
18040 PyObject * obj1 = 0 ;
18041 char *kwnames[] = {
18042 (char *) "self",(char *) "child", NULL
18043 };
18044
18045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 (arg1)->base_RemoveChild(arg2);
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 Py_INCREF(Py_None); resultobj = Py_None;
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18067 bool result;
18068 PyObject * obj0 = 0 ;
18069 char *kwnames[] = {
18070 (char *) "self", NULL
18071 };
18072
18073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18076 {
18077 PyThreadState* __tstate = wxPyBeginAllowThreads();
18078 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18079
18080 wxPyEndAllowThreads(__tstate);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 }
18083 {
18084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18085 }
18086 return resultobj;
18087 fail:
18088 return NULL;
18089 }
18090
18091
18092 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj;
18094 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18095 wxColour *arg2 = 0 ;
18096 wxColour temp2 ;
18097 PyObject * obj0 = 0 ;
18098 PyObject * obj1 = 0 ;
18099 char *kwnames[] = {
18100 (char *) "self",(char *) "c", NULL
18101 };
18102
18103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18106 {
18107 arg2 = &temp2;
18108 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18109 }
18110 {
18111 PyThreadState* __tstate = wxPyBeginAllowThreads();
18112 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18113
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 Py_INCREF(Py_None); resultobj = Py_None;
18118 return resultobj;
18119 fail:
18120 return NULL;
18121 }
18122
18123
18124 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18125 PyObject *resultobj;
18126 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18127 wxVisualAttributes result;
18128 PyObject * obj0 = 0 ;
18129 char *kwnames[] = {
18130 (char *) "self", NULL
18131 };
18132
18133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (arg1)->base_GetDefaultAttributes();
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 {
18144 wxVisualAttributes * resultptr;
18145 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18147 }
18148 return resultobj;
18149 fail:
18150 return NULL;
18151 }
18152
18153
18154 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18155 PyObject *obj;
18156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18157 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18158 Py_INCREF(obj);
18159 return Py_BuildValue((char *)"");
18160 }
18161 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18162 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18163 return 1;
18164 }
18165
18166
18167 static PyObject *_wrap_PrintoutTitleStr_get() {
18168 PyObject *pyobj;
18169
18170 {
18171 #if wxUSE_UNICODE
18172 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18173 #else
18174 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18175 #endif
18176 }
18177 return pyobj;
18178 }
18179
18180
18181 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18182 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18183 return 1;
18184 }
18185
18186
18187 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18188 PyObject *pyobj;
18189
18190 {
18191 #if wxUSE_UNICODE
18192 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18193 #else
18194 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18195 #endif
18196 }
18197 return pyobj;
18198 }
18199
18200
18201 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18202 PyObject *resultobj;
18203 wxPrintData *result;
18204
18205 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 result = (wxPrintData *)new wxPrintData();
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18214 return resultobj;
18215 fail:
18216 return NULL;
18217 }
18218
18219
18220 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18221 PyObject *resultobj;
18222 wxPrintData *arg1 = 0 ;
18223 wxPrintData *result;
18224 PyObject * obj0 = 0 ;
18225
18226 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18228 SWIG_POINTER_EXCEPTION | 0)) == -1)
18229 SWIG_fail;
18230 if (arg1 == NULL) {
18231 PyErr_SetString(PyExc_TypeError,"null reference");
18232 SWIG_fail;
18233 }
18234 {
18235 PyThreadState* __tstate = wxPyBeginAllowThreads();
18236 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18237
18238 wxPyEndAllowThreads(__tstate);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18242 return resultobj;
18243 fail:
18244 return NULL;
18245 }
18246
18247
18248 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18249 int argc;
18250 PyObject *argv[2];
18251 int ii;
18252
18253 argc = PyObject_Length(args);
18254 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18255 argv[ii] = PyTuple_GetItem(args,ii);
18256 }
18257 if (argc == 0) {
18258 return _wrap_new_PrintData__SWIG_0(self,args);
18259 }
18260 if (argc == 1) {
18261 int _v;
18262 {
18263 void *ptr;
18264 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18265 _v = 0;
18266 PyErr_Clear();
18267 } else {
18268 _v = 1;
18269 }
18270 }
18271 if (_v) {
18272 return _wrap_new_PrintData__SWIG_1(self,args);
18273 }
18274 }
18275
18276 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18277 return NULL;
18278 }
18279
18280
18281 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18282 PyObject *resultobj;
18283 wxPrintData *arg1 = (wxPrintData *) 0 ;
18284 PyObject * obj0 = 0 ;
18285 char *kwnames[] = {
18286 (char *) "self", NULL
18287 };
18288
18289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 delete arg1;
18295
18296 wxPyEndAllowThreads(__tstate);
18297 if (PyErr_Occurred()) SWIG_fail;
18298 }
18299 Py_INCREF(Py_None); resultobj = Py_None;
18300 return resultobj;
18301 fail:
18302 return NULL;
18303 }
18304
18305
18306 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18307 PyObject *resultobj;
18308 wxPrintData *arg1 = (wxPrintData *) 0 ;
18309 int result;
18310 PyObject * obj0 = 0 ;
18311 char *kwnames[] = {
18312 (char *) "self", NULL
18313 };
18314
18315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 result = (int)(arg1)->GetNoCopies();
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 resultobj = SWIG_From_int((int)result);
18326 return resultobj;
18327 fail:
18328 return NULL;
18329 }
18330
18331
18332 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 wxPrintData *arg1 = (wxPrintData *) 0 ;
18335 bool result;
18336 PyObject * obj0 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 result = (bool)(arg1)->GetCollate();
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 {
18352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18353 }
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj;
18362 wxPrintData *arg1 = (wxPrintData *) 0 ;
18363 int result;
18364 PyObject * obj0 = 0 ;
18365 char *kwnames[] = {
18366 (char *) "self", NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18372 {
18373 PyThreadState* __tstate = wxPyBeginAllowThreads();
18374 result = (int)(arg1)->GetOrientation();
18375
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 resultobj = SWIG_From_int((int)result);
18380 return resultobj;
18381 fail:
18382 return NULL;
18383 }
18384
18385
18386 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18387 PyObject *resultobj;
18388 wxPrintData *arg1 = (wxPrintData *) 0 ;
18389 bool result;
18390 PyObject * obj0 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self", NULL
18393 };
18394
18395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18398 {
18399 PyThreadState* __tstate = wxPyBeginAllowThreads();
18400 result = (bool)(arg1)->Ok();
18401
18402 wxPyEndAllowThreads(__tstate);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 }
18405 {
18406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18407 }
18408 return resultobj;
18409 fail:
18410 return NULL;
18411 }
18412
18413
18414 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18415 PyObject *resultobj;
18416 wxPrintData *arg1 = (wxPrintData *) 0 ;
18417 wxString *result;
18418 PyObject * obj0 = 0 ;
18419 char *kwnames[] = {
18420 (char *) "self", NULL
18421 };
18422
18423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 {
18429 wxString const &_result_ref = (arg1)->GetPrinterName();
18430 result = (wxString *) &_result_ref;
18431 }
18432
18433 wxPyEndAllowThreads(__tstate);
18434 if (PyErr_Occurred()) SWIG_fail;
18435 }
18436 {
18437 #if wxUSE_UNICODE
18438 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18439 #else
18440 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18441 #endif
18442 }
18443 return resultobj;
18444 fail:
18445 return NULL;
18446 }
18447
18448
18449 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18450 PyObject *resultobj;
18451 wxPrintData *arg1 = (wxPrintData *) 0 ;
18452 bool result;
18453 PyObject * obj0 = 0 ;
18454 char *kwnames[] = {
18455 (char *) "self", NULL
18456 };
18457
18458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18461 {
18462 PyThreadState* __tstate = wxPyBeginAllowThreads();
18463 result = (bool)(arg1)->GetColour();
18464
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 {
18469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18470 }
18471 return resultobj;
18472 fail:
18473 return NULL;
18474 }
18475
18476
18477 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18478 PyObject *resultobj;
18479 wxPrintData *arg1 = (wxPrintData *) 0 ;
18480 int result;
18481 PyObject * obj0 = 0 ;
18482 char *kwnames[] = {
18483 (char *) "self", NULL
18484 };
18485
18486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 result = (int)(arg1)->GetDuplex();
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 resultobj = SWIG_From_int((int)result);
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj;
18505 wxPrintData *arg1 = (wxPrintData *) 0 ;
18506 int result;
18507 PyObject * obj0 = 0 ;
18508 char *kwnames[] = {
18509 (char *) "self", NULL
18510 };
18511
18512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18515 {
18516 PyThreadState* __tstate = wxPyBeginAllowThreads();
18517 result = (int)(arg1)->GetPaperId();
18518
18519 wxPyEndAllowThreads(__tstate);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 resultobj = SWIG_From_int((int)result);
18523 return resultobj;
18524 fail:
18525 return NULL;
18526 }
18527
18528
18529 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18530 PyObject *resultobj;
18531 wxPrintData *arg1 = (wxPrintData *) 0 ;
18532 wxSize *result;
18533 PyObject * obj0 = 0 ;
18534 char *kwnames[] = {
18535 (char *) "self", NULL
18536 };
18537
18538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18541 {
18542 PyThreadState* __tstate = wxPyBeginAllowThreads();
18543 {
18544 wxSize const &_result_ref = (arg1)->GetPaperSize();
18545 result = (wxSize *) &_result_ref;
18546 }
18547
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18552 return resultobj;
18553 fail:
18554 return NULL;
18555 }
18556
18557
18558 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18559 PyObject *resultobj;
18560 wxPrintData *arg1 = (wxPrintData *) 0 ;
18561 int result;
18562 PyObject * obj0 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "self", NULL
18565 };
18566
18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 result = (int)(arg1)->GetQuality();
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 resultobj = SWIG_From_int((int)result);
18578 return resultobj;
18579 fail:
18580 return NULL;
18581 }
18582
18583
18584 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj;
18586 wxPrintData *arg1 = (wxPrintData *) 0 ;
18587 int result;
18588 PyObject * obj0 = 0 ;
18589 char *kwnames[] = {
18590 (char *) "self", NULL
18591 };
18592
18593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 result = (int)(arg1)->GetBin();
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 resultobj = SWIG_From_int((int)result);
18604 return resultobj;
18605 fail:
18606 return NULL;
18607 }
18608
18609
18610 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxPrintData *arg1 = (wxPrintData *) 0 ;
18613 int arg2 ;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 char *kwnames[] = {
18617 (char *) "self",(char *) "v", NULL
18618 };
18619
18620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18623 arg2 = (int)SWIG_As_int(obj1);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 (arg1)->SetNoCopies(arg2);
18628
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 Py_INCREF(Py_None); resultobj = Py_None;
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxPrintData *arg1 = (wxPrintData *) 0 ;
18642 bool arg2 ;
18643 PyObject * obj0 = 0 ;
18644 PyObject * obj1 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self",(char *) "flag", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18652 arg2 = (bool)SWIG_As_bool(obj1);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 (arg1)->SetCollate(arg2);
18657
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 Py_INCREF(Py_None); resultobj = Py_None;
18662 return resultobj;
18663 fail:
18664 return NULL;
18665 }
18666
18667
18668 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 wxPrintData *arg1 = (wxPrintData *) 0 ;
18671 int arg2 ;
18672 PyObject * obj0 = 0 ;
18673 PyObject * obj1 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self",(char *) "orient", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18681 arg2 = (int)SWIG_As_int(obj1);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 (arg1)->SetOrientation(arg2);
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 Py_INCREF(Py_None); resultobj = Py_None;
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj;
18699 wxPrintData *arg1 = (wxPrintData *) 0 ;
18700 wxString *arg2 = 0 ;
18701 bool temp2 = false ;
18702 PyObject * obj0 = 0 ;
18703 PyObject * obj1 = 0 ;
18704 char *kwnames[] = {
18705 (char *) "self",(char *) "name", NULL
18706 };
18707
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18711 {
18712 arg2 = wxString_in_helper(obj1);
18713 if (arg2 == NULL) SWIG_fail;
18714 temp2 = true;
18715 }
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 (arg1)->SetPrinterName((wxString const &)*arg2);
18719
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 Py_INCREF(Py_None); resultobj = Py_None;
18724 {
18725 if (temp2)
18726 delete arg2;
18727 }
18728 return resultobj;
18729 fail:
18730 {
18731 if (temp2)
18732 delete arg2;
18733 }
18734 return NULL;
18735 }
18736
18737
18738 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj;
18740 wxPrintData *arg1 = (wxPrintData *) 0 ;
18741 bool arg2 ;
18742 PyObject * obj0 = 0 ;
18743 PyObject * obj1 = 0 ;
18744 char *kwnames[] = {
18745 (char *) "self",(char *) "colour", NULL
18746 };
18747
18748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18751 arg2 = (bool)SWIG_As_bool(obj1);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 (arg1)->SetColour(arg2);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 Py_INCREF(Py_None); resultobj = Py_None;
18761 return resultobj;
18762 fail:
18763 return NULL;
18764 }
18765
18766
18767 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj;
18769 wxPrintData *arg1 = (wxPrintData *) 0 ;
18770 int arg2 ;
18771 PyObject * obj0 = 0 ;
18772 PyObject * obj1 = 0 ;
18773 char *kwnames[] = {
18774 (char *) "self",(char *) "duplex", NULL
18775 };
18776
18777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18780 arg2 = (int)SWIG_As_int(obj1);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 (arg1)->SetDuplex((wxDuplexMode )arg2);
18785
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 Py_INCREF(Py_None); resultobj = Py_None;
18790 return resultobj;
18791 fail:
18792 return NULL;
18793 }
18794
18795
18796 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18797 PyObject *resultobj;
18798 wxPrintData *arg1 = (wxPrintData *) 0 ;
18799 int arg2 ;
18800 PyObject * obj0 = 0 ;
18801 PyObject * obj1 = 0 ;
18802 char *kwnames[] = {
18803 (char *) "self",(char *) "sizeId", NULL
18804 };
18805
18806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18809 arg2 = (int)SWIG_As_int(obj1);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 {
18812 PyThreadState* __tstate = wxPyBeginAllowThreads();
18813 (arg1)->SetPaperId((wxPaperSize )arg2);
18814
18815 wxPyEndAllowThreads(__tstate);
18816 if (PyErr_Occurred()) SWIG_fail;
18817 }
18818 Py_INCREF(Py_None); resultobj = Py_None;
18819 return resultobj;
18820 fail:
18821 return NULL;
18822 }
18823
18824
18825 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18826 PyObject *resultobj;
18827 wxPrintData *arg1 = (wxPrintData *) 0 ;
18828 wxSize *arg2 = 0 ;
18829 wxSize temp2 ;
18830 PyObject * obj0 = 0 ;
18831 PyObject * obj1 = 0 ;
18832 char *kwnames[] = {
18833 (char *) "self",(char *) "sz", NULL
18834 };
18835
18836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18839 {
18840 arg2 = &temp2;
18841 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18842 }
18843 {
18844 PyThreadState* __tstate = wxPyBeginAllowThreads();
18845 (arg1)->SetPaperSize((wxSize const &)*arg2);
18846
18847 wxPyEndAllowThreads(__tstate);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 Py_INCREF(Py_None); resultobj = Py_None;
18851 return resultobj;
18852 fail:
18853 return NULL;
18854 }
18855
18856
18857 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18858 PyObject *resultobj;
18859 wxPrintData *arg1 = (wxPrintData *) 0 ;
18860 int arg2 ;
18861 PyObject * obj0 = 0 ;
18862 PyObject * obj1 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self",(char *) "quality", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18870 arg2 = (int)SWIG_As_int(obj1);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 {
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 (arg1)->SetQuality(arg2);
18875
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 Py_INCREF(Py_None); resultobj = Py_None;
18880 return resultobj;
18881 fail:
18882 return NULL;
18883 }
18884
18885
18886 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj;
18888 wxPrintData *arg1 = (wxPrintData *) 0 ;
18889 int arg2 ;
18890 PyObject * obj0 = 0 ;
18891 PyObject * obj1 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self",(char *) "bin", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
18897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18899 arg2 = (int)SWIG_As_int(obj1);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 {
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 (arg1)->SetBin((wxPrintBin )arg2);
18904
18905 wxPyEndAllowThreads(__tstate);
18906 if (PyErr_Occurred()) SWIG_fail;
18907 }
18908 Py_INCREF(Py_None); resultobj = Py_None;
18909 return resultobj;
18910 fail:
18911 return NULL;
18912 }
18913
18914
18915 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18916 PyObject *resultobj;
18917 wxPrintData *arg1 = (wxPrintData *) 0 ;
18918 wxString *result;
18919 PyObject * obj0 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18927 {
18928 PyThreadState* __tstate = wxPyBeginAllowThreads();
18929 {
18930 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18931 result = (wxString *) &_result_ref;
18932 }
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 {
18938 #if wxUSE_UNICODE
18939 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18940 #else
18941 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18942 #endif
18943 }
18944 return resultobj;
18945 fail:
18946 return NULL;
18947 }
18948
18949
18950 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj;
18952 wxPrintData *arg1 = (wxPrintData *) 0 ;
18953 wxString *result;
18954 PyObject * obj0 = 0 ;
18955 char *kwnames[] = {
18956 (char *) "self", NULL
18957 };
18958
18959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18962 {
18963 PyThreadState* __tstate = wxPyBeginAllowThreads();
18964 {
18965 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18966 result = (wxString *) &_result_ref;
18967 }
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 {
18973 #if wxUSE_UNICODE
18974 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18975 #else
18976 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18977 #endif
18978 }
18979 return resultobj;
18980 fail:
18981 return NULL;
18982 }
18983
18984
18985 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxPrintData *arg1 = (wxPrintData *) 0 ;
18988 wxString *result;
18989 PyObject * obj0 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 {
19000 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19001 result = (wxString *) &_result_ref;
19002 }
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 {
19008 #if wxUSE_UNICODE
19009 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19010 #else
19011 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19012 #endif
19013 }
19014 return resultobj;
19015 fail:
19016 return NULL;
19017 }
19018
19019
19020 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19021 PyObject *resultobj;
19022 wxPrintData *arg1 = (wxPrintData *) 0 ;
19023 wxString *result;
19024 PyObject * obj0 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self", NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 {
19035 wxString const &_result_ref = (arg1)->GetFilename();
19036 result = (wxString *) &_result_ref;
19037 }
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 {
19043 #if wxUSE_UNICODE
19044 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19045 #else
19046 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19047 #endif
19048 }
19049 return resultobj;
19050 fail:
19051 return NULL;
19052 }
19053
19054
19055 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19056 PyObject *resultobj;
19057 wxPrintData *arg1 = (wxPrintData *) 0 ;
19058 wxString *result;
19059 PyObject * obj0 = 0 ;
19060 char *kwnames[] = {
19061 (char *) "self", NULL
19062 };
19063
19064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 {
19070 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19071 result = (wxString *) &_result_ref;
19072 }
19073
19074 wxPyEndAllowThreads(__tstate);
19075 if (PyErr_Occurred()) SWIG_fail;
19076 }
19077 {
19078 #if wxUSE_UNICODE
19079 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19080 #else
19081 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19082 #endif
19083 }
19084 return resultobj;
19085 fail:
19086 return NULL;
19087 }
19088
19089
19090 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19091 PyObject *resultobj;
19092 wxPrintData *arg1 = (wxPrintData *) 0 ;
19093 double result;
19094 PyObject * obj0 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "self", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 result = (double)(arg1)->GetPrinterScaleX();
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 resultobj = SWIG_From_double((double)result);
19110 return resultobj;
19111 fail:
19112 return NULL;
19113 }
19114
19115
19116 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 wxPrintData *arg1 = (wxPrintData *) 0 ;
19119 double result;
19120 PyObject * obj0 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "self", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = (double)(arg1)->GetPrinterScaleY();
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 resultobj = SWIG_From_double((double)result);
19136 return resultobj;
19137 fail:
19138 return NULL;
19139 }
19140
19141
19142 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19143 PyObject *resultobj;
19144 wxPrintData *arg1 = (wxPrintData *) 0 ;
19145 long result;
19146 PyObject * obj0 = 0 ;
19147 char *kwnames[] = {
19148 (char *) "self", NULL
19149 };
19150
19151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 result = (long)(arg1)->GetPrinterTranslateX();
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 resultobj = SWIG_From_long((long)result);
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxPrintData *arg1 = (wxPrintData *) 0 ;
19171 long result;
19172 PyObject * obj0 = 0 ;
19173 char *kwnames[] = {
19174 (char *) "self", NULL
19175 };
19176
19177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19180 {
19181 PyThreadState* __tstate = wxPyBeginAllowThreads();
19182 result = (long)(arg1)->GetPrinterTranslateY();
19183
19184 wxPyEndAllowThreads(__tstate);
19185 if (PyErr_Occurred()) SWIG_fail;
19186 }
19187 resultobj = SWIG_From_long((long)result);
19188 return resultobj;
19189 fail:
19190 return NULL;
19191 }
19192
19193
19194 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19195 PyObject *resultobj;
19196 wxPrintData *arg1 = (wxPrintData *) 0 ;
19197 int result;
19198 PyObject * obj0 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "self", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 result = (int)(arg1)->GetPrintMode();
19209
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 resultobj = SWIG_From_int((int)result);
19214 return resultobj;
19215 fail:
19216 return NULL;
19217 }
19218
19219
19220 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxPrintData *arg1 = (wxPrintData *) 0 ;
19223 wxString *arg2 = 0 ;
19224 bool temp2 = false ;
19225 PyObject * obj0 = 0 ;
19226 PyObject * obj1 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self",(char *) "command", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19234 {
19235 arg2 = wxString_in_helper(obj1);
19236 if (arg2 == NULL) SWIG_fail;
19237 temp2 = true;
19238 }
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 Py_INCREF(Py_None); resultobj = Py_None;
19247 {
19248 if (temp2)
19249 delete arg2;
19250 }
19251 return resultobj;
19252 fail:
19253 {
19254 if (temp2)
19255 delete arg2;
19256 }
19257 return NULL;
19258 }
19259
19260
19261 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19262 PyObject *resultobj;
19263 wxPrintData *arg1 = (wxPrintData *) 0 ;
19264 wxString *arg2 = 0 ;
19265 bool temp2 = false ;
19266 PyObject * obj0 = 0 ;
19267 PyObject * obj1 = 0 ;
19268 char *kwnames[] = {
19269 (char *) "self",(char *) "options", NULL
19270 };
19271
19272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19275 {
19276 arg2 = wxString_in_helper(obj1);
19277 if (arg2 == NULL) SWIG_fail;
19278 temp2 = true;
19279 }
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19283
19284 wxPyEndAllowThreads(__tstate);
19285 if (PyErr_Occurred()) SWIG_fail;
19286 }
19287 Py_INCREF(Py_None); resultobj = Py_None;
19288 {
19289 if (temp2)
19290 delete arg2;
19291 }
19292 return resultobj;
19293 fail:
19294 {
19295 if (temp2)
19296 delete arg2;
19297 }
19298 return NULL;
19299 }
19300
19301
19302 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19303 PyObject *resultobj;
19304 wxPrintData *arg1 = (wxPrintData *) 0 ;
19305 wxString *arg2 = 0 ;
19306 bool temp2 = false ;
19307 PyObject * obj0 = 0 ;
19308 PyObject * obj1 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self",(char *) "command", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19316 {
19317 arg2 = wxString_in_helper(obj1);
19318 if (arg2 == NULL) SWIG_fail;
19319 temp2 = true;
19320 }
19321 {
19322 PyThreadState* __tstate = wxPyBeginAllowThreads();
19323 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19324
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 Py_INCREF(Py_None); resultobj = Py_None;
19329 {
19330 if (temp2)
19331 delete arg2;
19332 }
19333 return resultobj;
19334 fail:
19335 {
19336 if (temp2)
19337 delete arg2;
19338 }
19339 return NULL;
19340 }
19341
19342
19343 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19344 PyObject *resultobj;
19345 wxPrintData *arg1 = (wxPrintData *) 0 ;
19346 wxString *arg2 = 0 ;
19347 bool temp2 = false ;
19348 PyObject * obj0 = 0 ;
19349 PyObject * obj1 = 0 ;
19350 char *kwnames[] = {
19351 (char *) "self",(char *) "filename", NULL
19352 };
19353
19354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19357 {
19358 arg2 = wxString_in_helper(obj1);
19359 if (arg2 == NULL) SWIG_fail;
19360 temp2 = true;
19361 }
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 (arg1)->SetFilename((wxString const &)*arg2);
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 Py_INCREF(Py_None); resultobj = Py_None;
19370 {
19371 if (temp2)
19372 delete arg2;
19373 }
19374 return resultobj;
19375 fail:
19376 {
19377 if (temp2)
19378 delete arg2;
19379 }
19380 return NULL;
19381 }
19382
19383
19384 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxPrintData *arg1 = (wxPrintData *) 0 ;
19387 wxString *arg2 = 0 ;
19388 bool temp2 = false ;
19389 PyObject * obj0 = 0 ;
19390 PyObject * obj1 = 0 ;
19391 char *kwnames[] = {
19392 (char *) "self",(char *) "path", NULL
19393 };
19394
19395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19398 {
19399 arg2 = wxString_in_helper(obj1);
19400 if (arg2 == NULL) SWIG_fail;
19401 temp2 = true;
19402 }
19403 {
19404 PyThreadState* __tstate = wxPyBeginAllowThreads();
19405 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19406
19407 wxPyEndAllowThreads(__tstate);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 }
19410 Py_INCREF(Py_None); resultobj = Py_None;
19411 {
19412 if (temp2)
19413 delete arg2;
19414 }
19415 return resultobj;
19416 fail:
19417 {
19418 if (temp2)
19419 delete arg2;
19420 }
19421 return NULL;
19422 }
19423
19424
19425 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19426 PyObject *resultobj;
19427 wxPrintData *arg1 = (wxPrintData *) 0 ;
19428 double arg2 ;
19429 PyObject * obj0 = 0 ;
19430 PyObject * obj1 = 0 ;
19431 char *kwnames[] = {
19432 (char *) "self",(char *) "x", NULL
19433 };
19434
19435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19438 arg2 = (double)SWIG_As_double(obj1);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 {
19441 PyThreadState* __tstate = wxPyBeginAllowThreads();
19442 (arg1)->SetPrinterScaleX(arg2);
19443
19444 wxPyEndAllowThreads(__tstate);
19445 if (PyErr_Occurred()) SWIG_fail;
19446 }
19447 Py_INCREF(Py_None); resultobj = Py_None;
19448 return resultobj;
19449 fail:
19450 return NULL;
19451 }
19452
19453
19454 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19455 PyObject *resultobj;
19456 wxPrintData *arg1 = (wxPrintData *) 0 ;
19457 double arg2 ;
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj1 = 0 ;
19460 char *kwnames[] = {
19461 (char *) "self",(char *) "y", NULL
19462 };
19463
19464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19467 arg2 = (double)SWIG_As_double(obj1);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 {
19470 PyThreadState* __tstate = wxPyBeginAllowThreads();
19471 (arg1)->SetPrinterScaleY(arg2);
19472
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 Py_INCREF(Py_None); resultobj = Py_None;
19477 return resultobj;
19478 fail:
19479 return NULL;
19480 }
19481
19482
19483 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19484 PyObject *resultobj;
19485 wxPrintData *arg1 = (wxPrintData *) 0 ;
19486 double arg2 ;
19487 double arg3 ;
19488 PyObject * obj0 = 0 ;
19489 PyObject * obj1 = 0 ;
19490 PyObject * obj2 = 0 ;
19491 char *kwnames[] = {
19492 (char *) "self",(char *) "x",(char *) "y", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19498 arg2 = (double)SWIG_As_double(obj1);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 arg3 = (double)SWIG_As_double(obj2);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 (arg1)->SetPrinterScaling(arg2,arg3);
19505
19506 wxPyEndAllowThreads(__tstate);
19507 if (PyErr_Occurred()) SWIG_fail;
19508 }
19509 Py_INCREF(Py_None); resultobj = Py_None;
19510 return resultobj;
19511 fail:
19512 return NULL;
19513 }
19514
19515
19516 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj;
19518 wxPrintData *arg1 = (wxPrintData *) 0 ;
19519 long arg2 ;
19520 PyObject * obj0 = 0 ;
19521 PyObject * obj1 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self",(char *) "x", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19529 arg2 = (long)SWIG_As_long(obj1);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 (arg1)->SetPrinterTranslateX(arg2);
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 Py_INCREF(Py_None); resultobj = Py_None;
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxPrintData *arg1 = (wxPrintData *) 0 ;
19548 long arg2 ;
19549 PyObject * obj0 = 0 ;
19550 PyObject * obj1 = 0 ;
19551 char *kwnames[] = {
19552 (char *) "self",(char *) "y", NULL
19553 };
19554
19555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19558 arg2 = (long)SWIG_As_long(obj1);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 (arg1)->SetPrinterTranslateY(arg2);
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 Py_INCREF(Py_None); resultobj = Py_None;
19568 return resultobj;
19569 fail:
19570 return NULL;
19571 }
19572
19573
19574 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxPrintData *arg1 = (wxPrintData *) 0 ;
19577 long arg2 ;
19578 long arg3 ;
19579 PyObject * obj0 = 0 ;
19580 PyObject * obj1 = 0 ;
19581 PyObject * obj2 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self",(char *) "x",(char *) "y", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19589 arg2 = (long)SWIG_As_long(obj1);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 arg3 = (long)SWIG_As_long(obj2);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 (arg1)->SetPrinterTranslation(arg2,arg3);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 Py_INCREF(Py_None); resultobj = Py_None;
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxPrintData *arg1 = (wxPrintData *) 0 ;
19610 int arg2 ;
19611 PyObject * obj0 = 0 ;
19612 PyObject * obj1 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self",(char *) "printMode", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19620 arg2 = (int)SWIG_As_int(obj1);
19621 if (PyErr_Occurred()) SWIG_fail;
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 (arg1)->SetPrintMode((wxPrintMode )arg2);
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 Py_INCREF(Py_None); resultobj = Py_None;
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxPrintData *arg1 = (wxPrintData *) 0 ;
19639 wxOutputStream *result;
19640 PyObject * obj0 = 0 ;
19641 char *kwnames[] = {
19642 (char *) "self", NULL
19643 };
19644
19645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19648 {
19649 PyThreadState* __tstate = wxPyBeginAllowThreads();
19650 result = (wxOutputStream *)(arg1)->GetOutputStream();
19651
19652 wxPyEndAllowThreads(__tstate);
19653 if (PyErr_Occurred()) SWIG_fail;
19654 }
19655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19656 return resultobj;
19657 fail:
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxPrintData *arg1 = (wxPrintData *) 0 ;
19665 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19666 PyObject * obj0 = 0 ;
19667 PyObject * obj1 = 0 ;
19668 char *kwnames[] = {
19669 (char *) "self",(char *) "outputstream", NULL
19670 };
19671
19672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19677 {
19678 PyThreadState* __tstate = wxPyBeginAllowThreads();
19679 (arg1)->SetOutputStream(arg2);
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 Py_INCREF(Py_None); resultobj = Py_None;
19685 return resultobj;
19686 fail:
19687 return NULL;
19688 }
19689
19690
19691 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19692 PyObject *obj;
19693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19694 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19695 Py_INCREF(obj);
19696 return Py_BuildValue((char *)"");
19697 }
19698 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19699 PyObject *resultobj;
19700 wxPageSetupDialogData *result;
19701
19702 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19711 return resultobj;
19712 fail:
19713 return NULL;
19714 }
19715
19716
19717 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19718 PyObject *resultobj;
19719 wxPageSetupDialogData *arg1 = 0 ;
19720 wxPageSetupDialogData *result;
19721 PyObject * obj0 = 0 ;
19722
19723 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19725 SWIG_POINTER_EXCEPTION | 0)) == -1)
19726 SWIG_fail;
19727 if (arg1 == NULL) {
19728 PyErr_SetString(PyExc_TypeError,"null reference");
19729 SWIG_fail;
19730 }
19731 {
19732 PyThreadState* __tstate = wxPyBeginAllowThreads();
19733 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19734
19735 wxPyEndAllowThreads(__tstate);
19736 if (PyErr_Occurred()) SWIG_fail;
19737 }
19738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19739 return resultobj;
19740 fail:
19741 return NULL;
19742 }
19743
19744
19745 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19746 int argc;
19747 PyObject *argv[2];
19748 int ii;
19749
19750 argc = PyObject_Length(args);
19751 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19752 argv[ii] = PyTuple_GetItem(args,ii);
19753 }
19754 if (argc == 0) {
19755 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19756 }
19757 if (argc == 1) {
19758 int _v;
19759 {
19760 void *ptr;
19761 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19762 _v = 0;
19763 PyErr_Clear();
19764 } else {
19765 _v = 1;
19766 }
19767 }
19768 if (_v) {
19769 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19770 }
19771 }
19772
19773 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19774 return NULL;
19775 }
19776
19777
19778 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19781 PyObject * obj0 = 0 ;
19782 char *kwnames[] = {
19783 (char *) "self", NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 delete arg1;
19792
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 Py_INCREF(Py_None); resultobj = Py_None;
19797 return resultobj;
19798 fail:
19799 return NULL;
19800 }
19801
19802
19803 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj;
19805 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19806 bool arg2 ;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "flag", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19816 arg2 = (bool)SWIG_As_bool(obj1);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
19820 (arg1)->EnableHelp(arg2);
19821
19822 wxPyEndAllowThreads(__tstate);
19823 if (PyErr_Occurred()) SWIG_fail;
19824 }
19825 Py_INCREF(Py_None); resultobj = Py_None;
19826 return resultobj;
19827 fail:
19828 return NULL;
19829 }
19830
19831
19832 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19833 PyObject *resultobj;
19834 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19835 bool arg2 ;
19836 PyObject * obj0 = 0 ;
19837 PyObject * obj1 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self",(char *) "flag", NULL
19840 };
19841
19842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19845 arg2 = (bool)SWIG_As_bool(obj1);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 (arg1)->EnableMargins(arg2);
19850
19851 wxPyEndAllowThreads(__tstate);
19852 if (PyErr_Occurred()) SWIG_fail;
19853 }
19854 Py_INCREF(Py_None); resultobj = Py_None;
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19864 bool arg2 ;
19865 PyObject * obj0 = 0 ;
19866 PyObject * obj1 = 0 ;
19867 char *kwnames[] = {
19868 (char *) "self",(char *) "flag", NULL
19869 };
19870
19871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19874 arg2 = (bool)SWIG_As_bool(obj1);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 (arg1)->EnableOrientation(arg2);
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 Py_INCREF(Py_None); resultobj = Py_None;
19884 return resultobj;
19885 fail:
19886 return NULL;
19887 }
19888
19889
19890 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19891 PyObject *resultobj;
19892 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19893 bool arg2 ;
19894 PyObject * obj0 = 0 ;
19895 PyObject * obj1 = 0 ;
19896 char *kwnames[] = {
19897 (char *) "self",(char *) "flag", NULL
19898 };
19899
19900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19903 arg2 = (bool)SWIG_As_bool(obj1);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 (arg1)->EnablePaper(arg2);
19908
19909 wxPyEndAllowThreads(__tstate);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 Py_INCREF(Py_None); resultobj = Py_None;
19913 return resultobj;
19914 fail:
19915 return NULL;
19916 }
19917
19918
19919 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19920 PyObject *resultobj;
19921 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19922 bool arg2 ;
19923 PyObject * obj0 = 0 ;
19924 PyObject * obj1 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "flag", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19932 arg2 = (bool)SWIG_As_bool(obj1);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 (arg1)->EnablePrinter(arg2);
19937
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 Py_INCREF(Py_None); resultobj = Py_None;
19942 return resultobj;
19943 fail:
19944 return NULL;
19945 }
19946
19947
19948 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19949 PyObject *resultobj;
19950 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19951 bool result;
19952 PyObject * obj0 = 0 ;
19953 char *kwnames[] = {
19954 (char *) "self", NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 result = (bool)(arg1)->GetDefaultMinMargins();
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 {
19968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19969 }
19970 return resultobj;
19971 fail:
19972 return NULL;
19973 }
19974
19975
19976 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19977 PyObject *resultobj;
19978 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19979 bool result;
19980 PyObject * obj0 = 0 ;
19981 char *kwnames[] = {
19982 (char *) "self", NULL
19983 };
19984
19985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19988 {
19989 PyThreadState* __tstate = wxPyBeginAllowThreads();
19990 result = (bool)(arg1)->GetEnableMargins();
19991
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 {
19996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19997 }
19998 return resultobj;
19999 fail:
20000 return NULL;
20001 }
20002
20003
20004 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj;
20006 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20007 bool result;
20008 PyObject * obj0 = 0 ;
20009 char *kwnames[] = {
20010 (char *) "self", NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20016 {
20017 PyThreadState* __tstate = wxPyBeginAllowThreads();
20018 result = (bool)(arg1)->GetEnableOrientation();
20019
20020 wxPyEndAllowThreads(__tstate);
20021 if (PyErr_Occurred()) SWIG_fail;
20022 }
20023 {
20024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20025 }
20026 return resultobj;
20027 fail:
20028 return NULL;
20029 }
20030
20031
20032 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20035 bool result;
20036 PyObject * obj0 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 result = (bool)(arg1)->GetEnablePaper();
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 {
20052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20053 }
20054 return resultobj;
20055 fail:
20056 return NULL;
20057 }
20058
20059
20060 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20061 PyObject *resultobj;
20062 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20063 bool result;
20064 PyObject * obj0 = 0 ;
20065 char *kwnames[] = {
20066 (char *) "self", NULL
20067 };
20068
20069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 result = (bool)(arg1)->GetEnablePrinter();
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 {
20080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20081 }
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20091 bool result;
20092 PyObject * obj0 = 0 ;
20093 char *kwnames[] = {
20094 (char *) "self", NULL
20095 };
20096
20097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 result = (bool)(arg1)->GetEnableHelp();
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 {
20108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20109 }
20110 return resultobj;
20111 fail:
20112 return NULL;
20113 }
20114
20115
20116 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20117 PyObject *resultobj;
20118 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20119 bool result;
20120 PyObject * obj0 = 0 ;
20121 char *kwnames[] = {
20122 (char *) "self", NULL
20123 };
20124
20125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",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 = (bool)(arg1)->GetDefaultInfo();
20131
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 {
20136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20137 }
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj;
20146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20147 wxPoint result;
20148 PyObject * obj0 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 result = (arg1)->GetMarginTopLeft();
20159
20160 wxPyEndAllowThreads(__tstate);
20161 if (PyErr_Occurred()) SWIG_fail;
20162 }
20163 {
20164 wxPoint * resultptr;
20165 resultptr = new wxPoint((wxPoint &) result);
20166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20167 }
20168 return resultobj;
20169 fail:
20170 return NULL;
20171 }
20172
20173
20174 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20177 wxPoint result;
20178 PyObject * obj0 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 result = (arg1)->GetMarginBottomRight();
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 {
20194 wxPoint * resultptr;
20195 resultptr = new wxPoint((wxPoint &) result);
20196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20207 wxPoint result;
20208 PyObject * obj0 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 result = (arg1)->GetMinMarginTopLeft();
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 {
20224 wxPoint * resultptr;
20225 resultptr = new wxPoint((wxPoint &) result);
20226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20227 }
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj;
20236 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20237 wxPoint result;
20238 PyObject * obj0 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = (arg1)->GetMinMarginBottomRight();
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 {
20254 wxPoint * resultptr;
20255 resultptr = new wxPoint((wxPoint &) result);
20256 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20257 }
20258 return resultobj;
20259 fail:
20260 return NULL;
20261 }
20262
20263
20264 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20267 int result;
20268 PyObject * obj0 = 0 ;
20269 char *kwnames[] = {
20270 (char *) "self", NULL
20271 };
20272
20273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (int)(arg1)->GetPaperId();
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 resultobj = SWIG_From_int((int)result);
20284 return resultobj;
20285 fail:
20286 return NULL;
20287 }
20288
20289
20290 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20293 wxSize result;
20294 PyObject * obj0 = 0 ;
20295 char *kwnames[] = {
20296 (char *) "self", NULL
20297 };
20298
20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 result = (arg1)->GetPaperSize();
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
20309 {
20310 wxSize * resultptr;
20311 resultptr = new wxSize((wxSize &) result);
20312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20313 }
20314 return resultobj;
20315 fail:
20316 return NULL;
20317 }
20318
20319
20320 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20323 wxPrintData *result;
20324 PyObject * obj0 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "self", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 {
20335 wxPrintData &_result_ref = (arg1)->GetPrintData();
20336 result = (wxPrintData *) &_result_ref;
20337 }
20338
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20343 return resultobj;
20344 fail:
20345 return NULL;
20346 }
20347
20348
20349 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20352 bool result;
20353 PyObject * obj0 = 0 ;
20354 char *kwnames[] = {
20355 (char *) "self", NULL
20356 };
20357
20358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = (bool)(arg1)->Ok();
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 {
20369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20370 }
20371 return resultobj;
20372 fail:
20373 return NULL;
20374 }
20375
20376
20377 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj;
20379 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20380 bool arg2 ;
20381 PyObject * obj0 = 0 ;
20382 PyObject * obj1 = 0 ;
20383 char *kwnames[] = {
20384 (char *) "self",(char *) "flag", NULL
20385 };
20386
20387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20390 arg2 = (bool)SWIG_As_bool(obj1);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 (arg1)->SetDefaultInfo(arg2);
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 Py_INCREF(Py_None); resultobj = Py_None;
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20409 bool arg2 ;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self",(char *) "flag", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20419 arg2 = (bool)SWIG_As_bool(obj1);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 (arg1)->SetDefaultMinMargins(arg2);
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 Py_INCREF(Py_None); resultobj = Py_None;
20429 return resultobj;
20430 fail:
20431 return NULL;
20432 }
20433
20434
20435 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20436 PyObject *resultobj;
20437 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20438 wxPoint *arg2 = 0 ;
20439 wxPoint temp2 ;
20440 PyObject * obj0 = 0 ;
20441 PyObject * obj1 = 0 ;
20442 char *kwnames[] = {
20443 (char *) "self",(char *) "pt", NULL
20444 };
20445
20446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20449 {
20450 arg2 = &temp2;
20451 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20452 }
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 Py_INCREF(Py_None); resultobj = Py_None;
20461 return resultobj;
20462 fail:
20463 return NULL;
20464 }
20465
20466
20467 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20470 wxPoint *arg2 = 0 ;
20471 wxPoint temp2 ;
20472 PyObject * obj0 = 0 ;
20473 PyObject * obj1 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self",(char *) "pt", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20481 {
20482 arg2 = &temp2;
20483 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20484 }
20485 {
20486 PyThreadState* __tstate = wxPyBeginAllowThreads();
20487 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20488
20489 wxPyEndAllowThreads(__tstate);
20490 if (PyErr_Occurred()) SWIG_fail;
20491 }
20492 Py_INCREF(Py_None); resultobj = Py_None;
20493 return resultobj;
20494 fail:
20495 return NULL;
20496 }
20497
20498
20499 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20500 PyObject *resultobj;
20501 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20502 wxPoint *arg2 = 0 ;
20503 wxPoint temp2 ;
20504 PyObject * obj0 = 0 ;
20505 PyObject * obj1 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self",(char *) "pt", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20513 {
20514 arg2 = &temp2;
20515 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20516 }
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 Py_INCREF(Py_None); resultobj = Py_None;
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20534 wxPoint *arg2 = 0 ;
20535 wxPoint temp2 ;
20536 PyObject * obj0 = 0 ;
20537 PyObject * obj1 = 0 ;
20538 char *kwnames[] = {
20539 (char *) "self",(char *) "pt", NULL
20540 };
20541
20542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20545 {
20546 arg2 = &temp2;
20547 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20548 }
20549 {
20550 PyThreadState* __tstate = wxPyBeginAllowThreads();
20551 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20552
20553 wxPyEndAllowThreads(__tstate);
20554 if (PyErr_Occurred()) SWIG_fail;
20555 }
20556 Py_INCREF(Py_None); resultobj = Py_None;
20557 return resultobj;
20558 fail:
20559 return NULL;
20560 }
20561
20562
20563 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj;
20565 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20566 int arg2 ;
20567 PyObject * obj0 = 0 ;
20568 PyObject * obj1 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self",(char *) "id", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20576 arg2 = (int)SWIG_As_int(obj1);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 (arg1)->SetPaperId((wxPaperSize )arg2);
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 Py_INCREF(Py_None); resultobj = Py_None;
20586 return resultobj;
20587 fail:
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20595 wxSize *arg2 = 0 ;
20596 wxSize temp2 ;
20597 PyObject * obj0 = 0 ;
20598 PyObject * obj1 = 0 ;
20599 char *kwnames[] = {
20600 (char *) "self",(char *) "size", NULL
20601 };
20602
20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20606 {
20607 arg2 = &temp2;
20608 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20609 }
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 (arg1)->SetPaperSize((wxSize const &)*arg2);
20613
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 Py_INCREF(Py_None); resultobj = Py_None;
20618 return resultobj;
20619 fail:
20620 return NULL;
20621 }
20622
20623
20624 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20627 wxPrintData *arg2 = 0 ;
20628 PyObject * obj0 = 0 ;
20629 PyObject * obj1 = 0 ;
20630 char *kwnames[] = {
20631 (char *) "self",(char *) "printData", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20638 SWIG_POINTER_EXCEPTION | 0)) == -1)
20639 SWIG_fail;
20640 if (arg2 == NULL) {
20641 PyErr_SetString(PyExc_TypeError,"null reference");
20642 SWIG_fail;
20643 }
20644 {
20645 PyThreadState* __tstate = wxPyBeginAllowThreads();
20646 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20647
20648 wxPyEndAllowThreads(__tstate);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
20651 Py_INCREF(Py_None); resultobj = Py_None;
20652 return resultobj;
20653 fail:
20654 return NULL;
20655 }
20656
20657
20658 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20659 PyObject *obj;
20660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20661 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20662 Py_INCREF(obj);
20663 return Py_BuildValue((char *)"");
20664 }
20665 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20666 PyObject *resultobj;
20667 wxWindow *arg1 = (wxWindow *) 0 ;
20668 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20669 wxPageSetupDialog *result;
20670 PyObject * obj0 = 0 ;
20671 PyObject * obj1 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "parent",(char *) "data", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20679 if (obj1) {
20680 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20682 }
20683 {
20684 if (!wxPyCheckForApp()) SWIG_fail;
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20692 return resultobj;
20693 fail:
20694 return NULL;
20695 }
20696
20697
20698 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20701 wxPageSetupDialogData *result;
20702 PyObject * obj0 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "self", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 {
20713 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20714 result = (wxPageSetupDialogData *) &_result_ref;
20715 }
20716
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20721 return resultobj;
20722 fail:
20723 return NULL;
20724 }
20725
20726
20727 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20728 PyObject *resultobj;
20729 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20730 int result;
20731 PyObject * obj0 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "self", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20739 {
20740 PyThreadState* __tstate = wxPyBeginAllowThreads();
20741 result = (int)(arg1)->ShowModal();
20742
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 resultobj = SWIG_From_int((int)result);
20747 return resultobj;
20748 fail:
20749 return NULL;
20750 }
20751
20752
20753 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20754 PyObject *obj;
20755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20756 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20757 Py_INCREF(obj);
20758 return Py_BuildValue((char *)"");
20759 }
20760 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20761 PyObject *resultobj;
20762 wxPrintDialogData *result;
20763
20764 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = (wxPrintDialogData *)new wxPrintDialogData();
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20773 return resultobj;
20774 fail:
20775 return NULL;
20776 }
20777
20778
20779 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20780 PyObject *resultobj;
20781 wxPrintData *arg1 = 0 ;
20782 wxPrintDialogData *result;
20783 PyObject * obj0 = 0 ;
20784
20785 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20787 SWIG_POINTER_EXCEPTION | 0)) == -1)
20788 SWIG_fail;
20789 if (arg1 == NULL) {
20790 PyErr_SetString(PyExc_TypeError,"null reference");
20791 SWIG_fail;
20792 }
20793 {
20794 PyThreadState* __tstate = wxPyBeginAllowThreads();
20795 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20796
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20801 return resultobj;
20802 fail:
20803 return NULL;
20804 }
20805
20806
20807 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20808 int argc;
20809 PyObject *argv[2];
20810 int ii;
20811
20812 argc = PyObject_Length(args);
20813 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20814 argv[ii] = PyTuple_GetItem(args,ii);
20815 }
20816 if (argc == 0) {
20817 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20818 }
20819 if (argc == 1) {
20820 int _v;
20821 {
20822 void *ptr;
20823 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20824 _v = 0;
20825 PyErr_Clear();
20826 } else {
20827 _v = 1;
20828 }
20829 }
20830 if (_v) {
20831 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20832 }
20833 }
20834
20835 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20836 return NULL;
20837 }
20838
20839
20840 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20841 PyObject *resultobj;
20842 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20843 PyObject * obj0 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 delete arg1;
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 Py_INCREF(Py_None); resultobj = Py_None;
20859 return resultobj;
20860 fail:
20861 return NULL;
20862 }
20863
20864
20865 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20866 PyObject *resultobj;
20867 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20868 int result;
20869 PyObject * obj0 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
20884 resultobj = SWIG_From_int((int)result);
20885 return resultobj;
20886 fail:
20887 return NULL;
20888 }
20889
20890
20891 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20892 PyObject *resultobj;
20893 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20894 int result;
20895 PyObject * obj0 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 resultobj = SWIG_From_int((int)result);
20911 return resultobj;
20912 fail:
20913 return NULL;
20914 }
20915
20916
20917 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20918 PyObject *resultobj;
20919 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20920 int result;
20921 PyObject * obj0 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "self", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 resultobj = SWIG_From_int((int)result);
20937 return resultobj;
20938 fail:
20939 return NULL;
20940 }
20941
20942
20943 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20944 PyObject *resultobj;
20945 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20946 int result;
20947 PyObject * obj0 = 0 ;
20948 char *kwnames[] = {
20949 (char *) "self", NULL
20950 };
20951
20952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20955 {
20956 PyThreadState* __tstate = wxPyBeginAllowThreads();
20957 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20958
20959 wxPyEndAllowThreads(__tstate);
20960 if (PyErr_Occurred()) SWIG_fail;
20961 }
20962 resultobj = SWIG_From_int((int)result);
20963 return resultobj;
20964 fail:
20965 return NULL;
20966 }
20967
20968
20969 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20970 PyObject *resultobj;
20971 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20972 int result;
20973 PyObject * obj0 = 0 ;
20974 char *kwnames[] = {
20975 (char *) "self", NULL
20976 };
20977
20978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 resultobj = SWIG_From_int((int)result);
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20996 PyObject *resultobj;
20997 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20998 bool result;
20999 PyObject * obj0 = 0 ;
21000 char *kwnames[] = {
21001 (char *) "self", NULL
21002 };
21003
21004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21007 {
21008 PyThreadState* __tstate = wxPyBeginAllowThreads();
21009 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21010
21011 wxPyEndAllowThreads(__tstate);
21012 if (PyErr_Occurred()) SWIG_fail;
21013 }
21014 {
21015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21016 }
21017 return resultobj;
21018 fail:
21019 return NULL;
21020 }
21021
21022
21023 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21024 PyObject *resultobj;
21025 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21026 bool result;
21027 PyObject * obj0 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 {
21043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21044 }
21045 return resultobj;
21046 fail:
21047 return NULL;
21048 }
21049
21050
21051 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21052 PyObject *resultobj;
21053 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21054 bool result;
21055 PyObject * obj0 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21063 {
21064 PyThreadState* __tstate = wxPyBeginAllowThreads();
21065 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21066
21067 wxPyEndAllowThreads(__tstate);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 }
21070 {
21071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21072 }
21073 return resultobj;
21074 fail:
21075 return NULL;
21076 }
21077
21078
21079 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21080 PyObject *resultobj;
21081 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21082 bool result;
21083 PyObject * obj0 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21094
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
21098 {
21099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21100 }
21101 return resultobj;
21102 fail:
21103 return NULL;
21104 }
21105
21106
21107 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj;
21109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21110 bool result;
21111 PyObject * obj0 = 0 ;
21112 char *kwnames[] = {
21113 (char *) "self", NULL
21114 };
21115
21116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21122
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
21126 {
21127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21128 }
21129 return resultobj;
21130 fail:
21131 return NULL;
21132 }
21133
21134
21135 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21136 PyObject *resultobj;
21137 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21138 int arg2 ;
21139 PyObject * obj0 = 0 ;
21140 PyObject * obj1 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self",(char *) "v", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21148 arg2 = (int)SWIG_As_int(obj1);
21149 if (PyErr_Occurred()) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 (arg1)->SetFromPage(arg2);
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 Py_INCREF(Py_None); resultobj = Py_None;
21158 return resultobj;
21159 fail:
21160 return NULL;
21161 }
21162
21163
21164 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21167 int arg2 ;
21168 PyObject * obj0 = 0 ;
21169 PyObject * obj1 = 0 ;
21170 char *kwnames[] = {
21171 (char *) "self",(char *) "v", NULL
21172 };
21173
21174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21177 arg2 = (int)SWIG_As_int(obj1);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 {
21180 PyThreadState* __tstate = wxPyBeginAllowThreads();
21181 (arg1)->SetToPage(arg2);
21182
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 Py_INCREF(Py_None); resultobj = Py_None;
21187 return resultobj;
21188 fail:
21189 return NULL;
21190 }
21191
21192
21193 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21194 PyObject *resultobj;
21195 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21196 int arg2 ;
21197 PyObject * obj0 = 0 ;
21198 PyObject * obj1 = 0 ;
21199 char *kwnames[] = {
21200 (char *) "self",(char *) "v", NULL
21201 };
21202
21203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21206 arg2 = (int)SWIG_As_int(obj1);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 (arg1)->SetMinPage(arg2);
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 Py_INCREF(Py_None); resultobj = Py_None;
21216 return resultobj;
21217 fail:
21218 return NULL;
21219 }
21220
21221
21222 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj;
21224 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21225 int arg2 ;
21226 PyObject * obj0 = 0 ;
21227 PyObject * obj1 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self",(char *) "v", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21235 arg2 = (int)SWIG_As_int(obj1);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 (arg1)->SetMaxPage(arg2);
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 Py_INCREF(Py_None); resultobj = Py_None;
21245 return resultobj;
21246 fail:
21247 return NULL;
21248 }
21249
21250
21251 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21252 PyObject *resultobj;
21253 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21254 int arg2 ;
21255 PyObject * obj0 = 0 ;
21256 PyObject * obj1 = 0 ;
21257 char *kwnames[] = {
21258 (char *) "self",(char *) "v", NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21264 arg2 = (int)SWIG_As_int(obj1);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 {
21267 PyThreadState* __tstate = wxPyBeginAllowThreads();
21268 (arg1)->SetNoCopies(arg2);
21269
21270 wxPyEndAllowThreads(__tstate);
21271 if (PyErr_Occurred()) SWIG_fail;
21272 }
21273 Py_INCREF(Py_None); resultobj = Py_None;
21274 return resultobj;
21275 fail:
21276 return NULL;
21277 }
21278
21279
21280 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21281 PyObject *resultobj;
21282 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21283 bool arg2 ;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 char *kwnames[] = {
21287 (char *) "self",(char *) "flag", NULL
21288 };
21289
21290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21293 arg2 = (bool)SWIG_As_bool(obj1);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 {
21296 PyThreadState* __tstate = wxPyBeginAllowThreads();
21297 (arg1)->SetAllPages(arg2);
21298
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 Py_INCREF(Py_None); resultobj = Py_None;
21303 return resultobj;
21304 fail:
21305 return NULL;
21306 }
21307
21308
21309 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21310 PyObject *resultobj;
21311 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21312 bool arg2 ;
21313 PyObject * obj0 = 0 ;
21314 PyObject * obj1 = 0 ;
21315 char *kwnames[] = {
21316 (char *) "self",(char *) "flag", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21322 arg2 = (bool)SWIG_As_bool(obj1);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 (arg1)->SetSelection(arg2);
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
21331 Py_INCREF(Py_None); resultobj = Py_None;
21332 return resultobj;
21333 fail:
21334 return NULL;
21335 }
21336
21337
21338 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21341 bool arg2 ;
21342 PyObject * obj0 = 0 ;
21343 PyObject * obj1 = 0 ;
21344 char *kwnames[] = {
21345 (char *) "self",(char *) "flag", NULL
21346 };
21347
21348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21351 arg2 = (bool)SWIG_As_bool(obj1);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 {
21354 PyThreadState* __tstate = wxPyBeginAllowThreads();
21355 (arg1)->SetCollate(arg2);
21356
21357 wxPyEndAllowThreads(__tstate);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 Py_INCREF(Py_None); resultobj = Py_None;
21361 return resultobj;
21362 fail:
21363 return NULL;
21364 }
21365
21366
21367 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj;
21369 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21370 bool arg2 ;
21371 PyObject * obj0 = 0 ;
21372 PyObject * obj1 = 0 ;
21373 char *kwnames[] = {
21374 (char *) "self",(char *) "flag", NULL
21375 };
21376
21377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21380 arg2 = (bool)SWIG_As_bool(obj1);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 {
21383 PyThreadState* __tstate = wxPyBeginAllowThreads();
21384 (arg1)->SetPrintToFile(arg2);
21385
21386 wxPyEndAllowThreads(__tstate);
21387 if (PyErr_Occurred()) SWIG_fail;
21388 }
21389 Py_INCREF(Py_None); resultobj = Py_None;
21390 return resultobj;
21391 fail:
21392 return NULL;
21393 }
21394
21395
21396 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21397 PyObject *resultobj;
21398 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21399 bool arg2 ;
21400 PyObject * obj0 = 0 ;
21401 PyObject * obj1 = 0 ;
21402 char *kwnames[] = {
21403 (char *) "self",(char *) "flag", NULL
21404 };
21405
21406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21409 arg2 = (bool)SWIG_As_bool(obj1);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 (arg1)->SetSetupDialog(arg2);
21414
21415 wxPyEndAllowThreads(__tstate);
21416 if (PyErr_Occurred()) SWIG_fail;
21417 }
21418 Py_INCREF(Py_None); resultobj = Py_None;
21419 return resultobj;
21420 fail:
21421 return NULL;
21422 }
21423
21424
21425 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21426 PyObject *resultobj;
21427 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21428 bool arg2 ;
21429 PyObject * obj0 = 0 ;
21430 PyObject * obj1 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "self",(char *) "flag", NULL
21433 };
21434
21435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21438 arg2 = (bool)SWIG_As_bool(obj1);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 {
21441 PyThreadState* __tstate = wxPyBeginAllowThreads();
21442 (arg1)->EnablePrintToFile(arg2);
21443
21444 wxPyEndAllowThreads(__tstate);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 Py_INCREF(Py_None); resultobj = Py_None;
21448 return resultobj;
21449 fail:
21450 return NULL;
21451 }
21452
21453
21454 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21455 PyObject *resultobj;
21456 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21457 bool arg2 ;
21458 PyObject * obj0 = 0 ;
21459 PyObject * obj1 = 0 ;
21460 char *kwnames[] = {
21461 (char *) "self",(char *) "flag", NULL
21462 };
21463
21464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21467 arg2 = (bool)SWIG_As_bool(obj1);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 (arg1)->EnableSelection(arg2);
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 Py_INCREF(Py_None); resultobj = Py_None;
21477 return resultobj;
21478 fail:
21479 return NULL;
21480 }
21481
21482
21483 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj;
21485 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21486 bool arg2 ;
21487 PyObject * obj0 = 0 ;
21488 PyObject * obj1 = 0 ;
21489 char *kwnames[] = {
21490 (char *) "self",(char *) "flag", NULL
21491 };
21492
21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21496 arg2 = (bool)SWIG_As_bool(obj1);
21497 if (PyErr_Occurred()) SWIG_fail;
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 (arg1)->EnablePageNumbers(arg2);
21501
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 Py_INCREF(Py_None); resultobj = Py_None;
21506 return resultobj;
21507 fail:
21508 return NULL;
21509 }
21510
21511
21512 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21513 PyObject *resultobj;
21514 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21515 bool arg2 ;
21516 PyObject * obj0 = 0 ;
21517 PyObject * obj1 = 0 ;
21518 char *kwnames[] = {
21519 (char *) "self",(char *) "flag", NULL
21520 };
21521
21522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21525 arg2 = (bool)SWIG_As_bool(obj1);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 (arg1)->EnableHelp(arg2);
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 Py_INCREF(Py_None); resultobj = Py_None;
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21544 bool result;
21545 PyObject * obj0 = 0 ;
21546 char *kwnames[] = {
21547 (char *) "self", NULL
21548 };
21549
21550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 {
21561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21562 }
21563 return resultobj;
21564 fail:
21565 return NULL;
21566 }
21567
21568
21569 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21570 PyObject *resultobj;
21571 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21572 bool result;
21573 PyObject * obj0 = 0 ;
21574 char *kwnames[] = {
21575 (char *) "self", NULL
21576 };
21577
21578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21581 {
21582 PyThreadState* __tstate = wxPyBeginAllowThreads();
21583 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21584
21585 wxPyEndAllowThreads(__tstate);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 }
21588 {
21589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21590 }
21591 return resultobj;
21592 fail:
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21600 bool result;
21601 PyObject * obj0 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self", NULL
21604 };
21605
21606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21609 {
21610 PyThreadState* __tstate = wxPyBeginAllowThreads();
21611 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21612
21613 wxPyEndAllowThreads(__tstate);
21614 if (PyErr_Occurred()) SWIG_fail;
21615 }
21616 {
21617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21618 }
21619 return resultobj;
21620 fail:
21621 return NULL;
21622 }
21623
21624
21625 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21626 PyObject *resultobj;
21627 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21628 bool result;
21629 PyObject * obj0 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21637 {
21638 PyThreadState* __tstate = wxPyBeginAllowThreads();
21639 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21640
21641 wxPyEndAllowThreads(__tstate);
21642 if (PyErr_Occurred()) SWIG_fail;
21643 }
21644 {
21645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21646 }
21647 return resultobj;
21648 fail:
21649 return NULL;
21650 }
21651
21652
21653 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj;
21655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21656 bool result;
21657 PyObject * obj0 = 0 ;
21658 char *kwnames[] = {
21659 (char *) "self", NULL
21660 };
21661
21662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
21667 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 {
21673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21674 }
21675 return resultobj;
21676 fail:
21677 return NULL;
21678 }
21679
21680
21681 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj;
21683 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21684 wxPrintData *result;
21685 PyObject * obj0 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21693 {
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 {
21696 wxPrintData &_result_ref = (arg1)->GetPrintData();
21697 result = (wxPrintData *) &_result_ref;
21698 }
21699
21700 wxPyEndAllowThreads(__tstate);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
21703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21704 return resultobj;
21705 fail:
21706 return NULL;
21707 }
21708
21709
21710 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21711 PyObject *resultobj;
21712 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21713 wxPrintData *arg2 = 0 ;
21714 PyObject * obj0 = 0 ;
21715 PyObject * obj1 = 0 ;
21716 char *kwnames[] = {
21717 (char *) "self",(char *) "printData", NULL
21718 };
21719
21720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21724 SWIG_POINTER_EXCEPTION | 0)) == -1)
21725 SWIG_fail;
21726 if (arg2 == NULL) {
21727 PyErr_SetString(PyExc_TypeError,"null reference");
21728 SWIG_fail;
21729 }
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21733
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 Py_INCREF(Py_None); resultobj = Py_None;
21738 return resultobj;
21739 fail:
21740 return NULL;
21741 }
21742
21743
21744 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21745 PyObject *obj;
21746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21747 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21748 Py_INCREF(obj);
21749 return Py_BuildValue((char *)"");
21750 }
21751 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj;
21753 wxWindow *arg1 = (wxWindow *) 0 ;
21754 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21755 wxPrintDialog *result;
21756 PyObject * obj0 = 0 ;
21757 PyObject * obj1 = 0 ;
21758 char *kwnames[] = {
21759 (char *) "parent",(char *) "data", NULL
21760 };
21761
21762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21765 if (obj1) {
21766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21768 }
21769 {
21770 if (!wxPyCheckForApp()) SWIG_fail;
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21778 return resultobj;
21779 fail:
21780 return NULL;
21781 }
21782
21783
21784 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21785 PyObject *resultobj;
21786 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21787 wxPrintDialogData *result;
21788 PyObject * obj0 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21796 {
21797 PyThreadState* __tstate = wxPyBeginAllowThreads();
21798 {
21799 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21800 result = (wxPrintDialogData *) &_result_ref;
21801 }
21802
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21807 return resultobj;
21808 fail:
21809 return NULL;
21810 }
21811
21812
21813 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21816 wxDC *result;
21817 PyObject * obj0 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21825 {
21826 PyThreadState* __tstate = wxPyBeginAllowThreads();
21827 result = (wxDC *)(arg1)->GetPrintDC();
21828
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 {
21833 resultobj = wxPyMake_wxObject(result, 1);
21834 }
21835 return resultobj;
21836 fail:
21837 return NULL;
21838 }
21839
21840
21841 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21842 PyObject *resultobj;
21843 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21844 int result;
21845 PyObject * obj0 = 0 ;
21846 char *kwnames[] = {
21847 (char *) "self", NULL
21848 };
21849
21850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21853 {
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 result = (int)(arg1)->ShowModal();
21856
21857 wxPyEndAllowThreads(__tstate);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 }
21860 resultobj = SWIG_From_int((int)result);
21861 return resultobj;
21862 fail:
21863 return NULL;
21864 }
21865
21866
21867 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
21868 PyObject *obj;
21869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21870 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21871 Py_INCREF(obj);
21872 return Py_BuildValue((char *)"");
21873 }
21874 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21875 PyObject *resultobj;
21876 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21877 wxPrinter *result;
21878 PyObject * obj0 = 0 ;
21879 char *kwnames[] = {
21880 (char *) "data", NULL
21881 };
21882
21883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21884 if (obj0) {
21885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21887 }
21888 {
21889 if (!wxPyCheckForApp()) SWIG_fail;
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 result = (wxPrinter *)new wxPrinter(arg1);
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21897 return resultobj;
21898 fail:
21899 return NULL;
21900 }
21901
21902
21903 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj;
21905 wxPrinter *arg1 = (wxPrinter *) 0 ;
21906 PyObject * obj0 = 0 ;
21907 char *kwnames[] = {
21908 (char *) "self", NULL
21909 };
21910
21911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21914 {
21915 PyThreadState* __tstate = wxPyBeginAllowThreads();
21916 delete arg1;
21917
21918 wxPyEndAllowThreads(__tstate);
21919 if (PyErr_Occurred()) SWIG_fail;
21920 }
21921 Py_INCREF(Py_None); resultobj = Py_None;
21922 return resultobj;
21923 fail:
21924 return NULL;
21925 }
21926
21927
21928 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21929 PyObject *resultobj;
21930 wxPrinter *arg1 = (wxPrinter *) 0 ;
21931 wxWindow *arg2 = (wxWindow *) 0 ;
21932 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21933 PyObject * obj0 = 0 ;
21934 PyObject * obj1 = 0 ;
21935 PyObject * obj2 = 0 ;
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "parent",(char *) "printout", NULL
21938 };
21939
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21945 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 (arg1)->CreateAbortWindow(arg2,arg3);
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 Py_INCREF(Py_None); resultobj = Py_None;
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxPrinter *arg1 = (wxPrinter *) 0 ;
21964 wxPrintDialogData *result;
21965 PyObject * obj0 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 {
21976 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21977 result = (wxPrintDialogData *) &_result_ref;
21978 }
21979
21980 wxPyEndAllowThreads(__tstate);
21981 if (PyErr_Occurred()) SWIG_fail;
21982 }
21983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21984 return resultobj;
21985 fail:
21986 return NULL;
21987 }
21988
21989
21990 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21991 PyObject *resultobj;
21992 wxPrinter *arg1 = (wxPrinter *) 0 ;
21993 wxWindow *arg2 = (wxWindow *) 0 ;
21994 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21995 int arg4 = (int) true ;
21996 bool result;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 PyObject * obj2 = 0 ;
22000 PyObject * obj3 = 0 ;
22001 char *kwnames[] = {
22002 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22003 };
22004
22005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22010 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22012 if (obj3) {
22013 arg4 = (int)SWIG_As_int(obj3);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 {
22024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22025 }
22026 return resultobj;
22027 fail:
22028 return NULL;
22029 }
22030
22031
22032 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22033 PyObject *resultobj;
22034 wxPrinter *arg1 = (wxPrinter *) 0 ;
22035 wxWindow *arg2 = (wxWindow *) 0 ;
22036 wxDC *result;
22037 PyObject * obj0 = 0 ;
22038 PyObject * obj1 = 0 ;
22039 char *kwnames[] = {
22040 (char *) "self",(char *) "parent", NULL
22041 };
22042
22043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22046 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22048 {
22049 PyThreadState* __tstate = wxPyBeginAllowThreads();
22050 result = (wxDC *)(arg1)->PrintDialog(arg2);
22051
22052 wxPyEndAllowThreads(__tstate);
22053 if (PyErr_Occurred()) SWIG_fail;
22054 }
22055 {
22056 resultobj = wxPyMake_wxObject(result, 0);
22057 }
22058 return resultobj;
22059 fail:
22060 return NULL;
22061 }
22062
22063
22064 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
22065 PyObject *resultobj;
22066 wxPrinter *arg1 = (wxPrinter *) 0 ;
22067 wxWindow *arg2 = (wxWindow *) 0 ;
22068 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22069 wxString *arg4 = 0 ;
22070 bool temp4 = false ;
22071 PyObject * obj0 = 0 ;
22072 PyObject * obj1 = 0 ;
22073 PyObject * obj2 = 0 ;
22074 PyObject * obj3 = 0 ;
22075 char *kwnames[] = {
22076 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22077 };
22078
22079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22084 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22086 {
22087 arg4 = wxString_in_helper(obj3);
22088 if (arg4 == NULL) SWIG_fail;
22089 temp4 = true;
22090 }
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22094
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 Py_INCREF(Py_None); resultobj = Py_None;
22099 {
22100 if (temp4)
22101 delete arg4;
22102 }
22103 return resultobj;
22104 fail:
22105 {
22106 if (temp4)
22107 delete arg4;
22108 }
22109 return NULL;
22110 }
22111
22112
22113 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22114 PyObject *resultobj;
22115 wxPrinter *arg1 = (wxPrinter *) 0 ;
22116 wxWindow *arg2 = (wxWindow *) 0 ;
22117 bool result;
22118 PyObject * obj0 = 0 ;
22119 PyObject * obj1 = 0 ;
22120 char *kwnames[] = {
22121 (char *) "self",(char *) "parent", NULL
22122 };
22123
22124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 result = (bool)(arg1)->Setup(arg2);
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 {
22137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22138 }
22139 return resultobj;
22140 fail:
22141 return NULL;
22142 }
22143
22144
22145 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22146 PyObject *resultobj;
22147 wxPrinter *arg1 = (wxPrinter *) 0 ;
22148 bool result;
22149 PyObject * obj0 = 0 ;
22150 char *kwnames[] = {
22151 (char *) "self", NULL
22152 };
22153
22154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 result = (bool)(arg1)->GetAbort();
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 {
22165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22166 }
22167 return resultobj;
22168 fail:
22169 return NULL;
22170 }
22171
22172
22173 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22174 PyObject *resultobj;
22175 int result;
22176 char *kwnames[] = {
22177 NULL
22178 };
22179
22180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 result = (int)wxPrinter::GetLastError();
22184
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 resultobj = SWIG_From_int((int)result);
22189 return resultobj;
22190 fail:
22191 return NULL;
22192 }
22193
22194
22195 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22196 PyObject *obj;
22197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22198 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22199 Py_INCREF(obj);
22200 return Py_BuildValue((char *)"");
22201 }
22202 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22203 PyObject *resultobj;
22204 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22205 wxString *arg1 = (wxString *) &arg1_defvalue ;
22206 wxPyPrintout *result;
22207 bool temp1 = false ;
22208 PyObject * obj0 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "title", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22214 if (obj0) {
22215 {
22216 arg1 = wxString_in_helper(obj0);
22217 if (arg1 == NULL) SWIG_fail;
22218 temp1 = true;
22219 }
22220 }
22221 {
22222 if (!wxPyCheckForApp()) SWIG_fail;
22223 PyThreadState* __tstate = wxPyBeginAllowThreads();
22224 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22225
22226 wxPyEndAllowThreads(__tstate);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 }
22229 {
22230 resultobj = wxPyMake_wxObject(result, 1);
22231 }
22232 {
22233 if (temp1)
22234 delete arg1;
22235 }
22236 return resultobj;
22237 fail:
22238 {
22239 if (temp1)
22240 delete arg1;
22241 }
22242 return NULL;
22243 }
22244
22245
22246 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22247 PyObject *resultobj;
22248 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22249 PyObject *arg2 = (PyObject *) 0 ;
22250 PyObject *arg3 = (PyObject *) 0 ;
22251 PyObject * obj0 = 0 ;
22252 PyObject * obj1 = 0 ;
22253 PyObject * obj2 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "self",(char *) "self",(char *) "_class", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22261 arg2 = obj1;
22262 arg3 = obj2;
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 (arg1)->_setCallbackInfo(arg2,arg3);
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 Py_INCREF(Py_None); resultobj = Py_None;
22271 return resultobj;
22272 fail:
22273 return NULL;
22274 }
22275
22276
22277 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22278 PyObject *resultobj;
22279 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22280 wxString result;
22281 PyObject * obj0 = 0 ;
22282 char *kwnames[] = {
22283 (char *) "self", NULL
22284 };
22285
22286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22289 {
22290 PyThreadState* __tstate = wxPyBeginAllowThreads();
22291 result = ((wxPyPrintout const *)arg1)->GetTitle();
22292
22293 wxPyEndAllowThreads(__tstate);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 }
22296 {
22297 #if wxUSE_UNICODE
22298 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22299 #else
22300 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22301 #endif
22302 }
22303 return resultobj;
22304 fail:
22305 return NULL;
22306 }
22307
22308
22309 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22310 PyObject *resultobj;
22311 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22312 wxDC *result;
22313 PyObject * obj0 = 0 ;
22314 char *kwnames[] = {
22315 (char *) "self", NULL
22316 };
22317
22318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22321 {
22322 PyThreadState* __tstate = wxPyBeginAllowThreads();
22323 result = (wxDC *)(arg1)->GetDC();
22324
22325 wxPyEndAllowThreads(__tstate);
22326 if (PyErr_Occurred()) SWIG_fail;
22327 }
22328 {
22329 resultobj = wxPyMake_wxObject(result, 0);
22330 }
22331 return resultobj;
22332 fail:
22333 return NULL;
22334 }
22335
22336
22337 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22338 PyObject *resultobj;
22339 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22340 wxDC *arg2 = (wxDC *) 0 ;
22341 PyObject * obj0 = 0 ;
22342 PyObject * obj1 = 0 ;
22343 char *kwnames[] = {
22344 (char *) "self",(char *) "dc", NULL
22345 };
22346
22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 (arg1)->SetDC(arg2);
22355
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 Py_INCREF(Py_None); resultobj = Py_None;
22360 return resultobj;
22361 fail:
22362 return NULL;
22363 }
22364
22365
22366 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22367 PyObject *resultobj;
22368 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22369 int arg2 ;
22370 int arg3 ;
22371 PyObject * obj0 = 0 ;
22372 PyObject * obj1 = 0 ;
22373 PyObject * obj2 = 0 ;
22374 char *kwnames[] = {
22375 (char *) "self",(char *) "w",(char *) "h", NULL
22376 };
22377
22378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22381 arg2 = (int)SWIG_As_int(obj1);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 arg3 = (int)SWIG_As_int(obj2);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 (arg1)->SetPageSizePixels(arg2,arg3);
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 Py_INCREF(Py_None); resultobj = Py_None;
22393 return resultobj;
22394 fail:
22395 return NULL;
22396 }
22397
22398
22399 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22402 int *arg2 = (int *) 0 ;
22403 int *arg3 = (int *) 0 ;
22404 int temp2 ;
22405 int res2 = 0 ;
22406 int temp3 ;
22407 int res3 = 0 ;
22408 PyObject * obj0 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self", NULL
22411 };
22412
22413 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22414 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 (arg1)->GetPageSizePixels(arg2,arg3);
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 Py_INCREF(Py_None); resultobj = Py_None;
22426 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22427 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22428 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22429 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22430 return resultobj;
22431 fail:
22432 return NULL;
22433 }
22434
22435
22436 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22437 PyObject *resultobj;
22438 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22439 int arg2 ;
22440 int arg3 ;
22441 PyObject * obj0 = 0 ;
22442 PyObject * obj1 = 0 ;
22443 PyObject * obj2 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self",(char *) "w",(char *) "h", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22451 arg2 = (int)SWIG_As_int(obj1);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 arg3 = (int)SWIG_As_int(obj2);
22454 if (PyErr_Occurred()) SWIG_fail;
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 (arg1)->SetPageSizeMM(arg2,arg3);
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 Py_INCREF(Py_None); resultobj = Py_None;
22463 return resultobj;
22464 fail:
22465 return NULL;
22466 }
22467
22468
22469 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22470 PyObject *resultobj;
22471 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22472 int *arg2 = (int *) 0 ;
22473 int *arg3 = (int *) 0 ;
22474 int temp2 ;
22475 int res2 = 0 ;
22476 int temp3 ;
22477 int res3 = 0 ;
22478 PyObject * obj0 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self", NULL
22481 };
22482
22483 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22484 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22488 {
22489 PyThreadState* __tstate = wxPyBeginAllowThreads();
22490 (arg1)->GetPageSizeMM(arg2,arg3);
22491
22492 wxPyEndAllowThreads(__tstate);
22493 if (PyErr_Occurred()) SWIG_fail;
22494 }
22495 Py_INCREF(Py_None); resultobj = Py_None;
22496 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22497 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22498 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22499 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22500 return resultobj;
22501 fail:
22502 return NULL;
22503 }
22504
22505
22506 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22509 int arg2 ;
22510 int arg3 ;
22511 PyObject * obj0 = 0 ;
22512 PyObject * obj1 = 0 ;
22513 PyObject * obj2 = 0 ;
22514 char *kwnames[] = {
22515 (char *) "self",(char *) "x",(char *) "y", NULL
22516 };
22517
22518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22521 arg2 = (int)SWIG_As_int(obj1);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 arg3 = (int)SWIG_As_int(obj2);
22524 if (PyErr_Occurred()) SWIG_fail;
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 (arg1)->SetPPIScreen(arg2,arg3);
22528
22529 wxPyEndAllowThreads(__tstate);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 Py_INCREF(Py_None); resultobj = Py_None;
22533 return resultobj;
22534 fail:
22535 return NULL;
22536 }
22537
22538
22539 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22540 PyObject *resultobj;
22541 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22542 int *arg2 = (int *) 0 ;
22543 int *arg3 = (int *) 0 ;
22544 int temp2 ;
22545 int res2 = 0 ;
22546 int temp3 ;
22547 int res3 = 0 ;
22548 PyObject * obj0 = 0 ;
22549 char *kwnames[] = {
22550 (char *) "self", NULL
22551 };
22552
22553 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22554 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 (arg1)->GetPPIScreen(arg2,arg3);
22561
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 Py_INCREF(Py_None); resultobj = Py_None;
22566 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22567 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22568 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22569 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22570 return resultobj;
22571 fail:
22572 return NULL;
22573 }
22574
22575
22576 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22577 PyObject *resultobj;
22578 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22579 int arg2 ;
22580 int arg3 ;
22581 PyObject * obj0 = 0 ;
22582 PyObject * obj1 = 0 ;
22583 PyObject * obj2 = 0 ;
22584 char *kwnames[] = {
22585 (char *) "self",(char *) "x",(char *) "y", NULL
22586 };
22587
22588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22591 arg2 = (int)SWIG_As_int(obj1);
22592 if (PyErr_Occurred()) SWIG_fail;
22593 arg3 = (int)SWIG_As_int(obj2);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 {
22596 PyThreadState* __tstate = wxPyBeginAllowThreads();
22597 (arg1)->SetPPIPrinter(arg2,arg3);
22598
22599 wxPyEndAllowThreads(__tstate);
22600 if (PyErr_Occurred()) SWIG_fail;
22601 }
22602 Py_INCREF(Py_None); resultobj = Py_None;
22603 return resultobj;
22604 fail:
22605 return NULL;
22606 }
22607
22608
22609 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22610 PyObject *resultobj;
22611 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22612 int *arg2 = (int *) 0 ;
22613 int *arg3 = (int *) 0 ;
22614 int temp2 ;
22615 int res2 = 0 ;
22616 int temp3 ;
22617 int res3 = 0 ;
22618 PyObject * obj0 = 0 ;
22619 char *kwnames[] = {
22620 (char *) "self", NULL
22621 };
22622
22623 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22624 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 (arg1)->GetPPIPrinter(arg2,arg3);
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 Py_INCREF(Py_None); resultobj = Py_None;
22636 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22637 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22638 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22639 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22640 return resultobj;
22641 fail:
22642 return NULL;
22643 }
22644
22645
22646 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22647 PyObject *resultobj;
22648 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22649 bool result;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "self", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22658 {
22659 PyThreadState* __tstate = wxPyBeginAllowThreads();
22660 result = (bool)(arg1)->IsPreview();
22661
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 {
22666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22667 }
22668 return resultobj;
22669 fail:
22670 return NULL;
22671 }
22672
22673
22674 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22675 PyObject *resultobj;
22676 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22677 bool arg2 ;
22678 PyObject * obj0 = 0 ;
22679 PyObject * obj1 = 0 ;
22680 char *kwnames[] = {
22681 (char *) "self",(char *) "p", NULL
22682 };
22683
22684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22687 arg2 = (bool)SWIG_As_bool(obj1);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 {
22690 PyThreadState* __tstate = wxPyBeginAllowThreads();
22691 (arg1)->SetIsPreview(arg2);
22692
22693 wxPyEndAllowThreads(__tstate);
22694 if (PyErr_Occurred()) SWIG_fail;
22695 }
22696 Py_INCREF(Py_None); resultobj = Py_None;
22697 return resultobj;
22698 fail:
22699 return NULL;
22700 }
22701
22702
22703 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj;
22705 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22706 int arg2 ;
22707 int arg3 ;
22708 bool result;
22709 PyObject * obj0 = 0 ;
22710 PyObject * obj1 = 0 ;
22711 PyObject * obj2 = 0 ;
22712 char *kwnames[] = {
22713 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22714 };
22715
22716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22719 arg2 = (int)SWIG_As_int(obj1);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 arg3 = (int)SWIG_As_int(obj2);
22722 if (PyErr_Occurred()) SWIG_fail;
22723 {
22724 PyThreadState* __tstate = wxPyBeginAllowThreads();
22725 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22726
22727 wxPyEndAllowThreads(__tstate);
22728 if (PyErr_Occurred()) SWIG_fail;
22729 }
22730 {
22731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22732 }
22733 return resultobj;
22734 fail:
22735 return NULL;
22736 }
22737
22738
22739 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22740 PyObject *resultobj;
22741 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22742 PyObject * obj0 = 0 ;
22743 char *kwnames[] = {
22744 (char *) "self", NULL
22745 };
22746
22747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 (arg1)->base_OnEndDocument();
22753
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 Py_INCREF(Py_None); resultobj = Py_None;
22758 return resultobj;
22759 fail:
22760 return NULL;
22761 }
22762
22763
22764 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22765 PyObject *resultobj;
22766 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22767 PyObject * obj0 = 0 ;
22768 char *kwnames[] = {
22769 (char *) "self", NULL
22770 };
22771
22772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22775 {
22776 PyThreadState* __tstate = wxPyBeginAllowThreads();
22777 (arg1)->base_OnBeginPrinting();
22778
22779 wxPyEndAllowThreads(__tstate);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 }
22782 Py_INCREF(Py_None); resultobj = Py_None;
22783 return resultobj;
22784 fail:
22785 return NULL;
22786 }
22787
22788
22789 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22790 PyObject *resultobj;
22791 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22792 PyObject * obj0 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->base_OnEndPrinting();
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22817 PyObject * obj0 = 0 ;
22818 char *kwnames[] = {
22819 (char *) "self", NULL
22820 };
22821
22822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22825 {
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 (arg1)->base_OnPreparePrinting();
22828
22829 wxPyEndAllowThreads(__tstate);
22830 if (PyErr_Occurred()) SWIG_fail;
22831 }
22832 Py_INCREF(Py_None); resultobj = Py_None;
22833 return resultobj;
22834 fail:
22835 return NULL;
22836 }
22837
22838
22839 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
22840 PyObject *resultobj;
22841 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22842 int arg2 ;
22843 bool result;
22844 PyObject * obj0 = 0 ;
22845 PyObject * obj1 = 0 ;
22846 char *kwnames[] = {
22847 (char *) "self",(char *) "page", NULL
22848 };
22849
22850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22853 arg2 = (int)SWIG_As_int(obj1);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 result = (bool)(arg1)->base_HasPage(arg2);
22858
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 {
22863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22864 }
22865 return resultobj;
22866 fail:
22867 return NULL;
22868 }
22869
22870
22871 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22872 PyObject *resultobj;
22873 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22874 int *arg2 = (int *) 0 ;
22875 int *arg3 = (int *) 0 ;
22876 int *arg4 = (int *) 0 ;
22877 int *arg5 = (int *) 0 ;
22878 int temp2 ;
22879 int res2 = 0 ;
22880 int temp3 ;
22881 int res3 = 0 ;
22882 int temp4 ;
22883 int res4 = 0 ;
22884 int temp5 ;
22885 int res5 = 0 ;
22886 PyObject * obj0 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self", NULL
22889 };
22890
22891 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22892 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22893 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22894 arg5 = &temp5; res5 = SWIG_NEWOBJ;
22895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22901
22902 wxPyEndAllowThreads(__tstate);
22903 if (PyErr_Occurred()) SWIG_fail;
22904 }
22905 Py_INCREF(Py_None); resultobj = Py_None;
22906 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22907 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22908 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22909 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22910 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22911 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22912 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22913 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
22914 return resultobj;
22915 fail:
22916 return NULL;
22917 }
22918
22919
22920 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
22921 PyObject *obj;
22922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22923 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22924 Py_INCREF(obj);
22925 return Py_BuildValue((char *)"");
22926 }
22927 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22928 PyObject *resultobj;
22929 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22930 wxWindow *arg2 = (wxWindow *) 0 ;
22931 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22932 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22933 wxSize const &arg4_defvalue = wxDefaultSize ;
22934 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22935 long arg5 = (long) 0 ;
22936 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22937 wxString *arg6 = (wxString *) &arg6_defvalue ;
22938 wxPreviewCanvas *result;
22939 wxPoint temp3 ;
22940 wxSize temp4 ;
22941 bool temp6 = false ;
22942 PyObject * obj0 = 0 ;
22943 PyObject * obj1 = 0 ;
22944 PyObject * obj2 = 0 ;
22945 PyObject * obj3 = 0 ;
22946 PyObject * obj4 = 0 ;
22947 PyObject * obj5 = 0 ;
22948 char *kwnames[] = {
22949 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22950 };
22951
22952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22957 if (obj2) {
22958 {
22959 arg3 = &temp3;
22960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22961 }
22962 }
22963 if (obj3) {
22964 {
22965 arg4 = &temp4;
22966 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22967 }
22968 }
22969 if (obj4) {
22970 arg5 = (long)SWIG_As_long(obj4);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 if (obj5) {
22974 {
22975 arg6 = wxString_in_helper(obj5);
22976 if (arg6 == NULL) SWIG_fail;
22977 temp6 = true;
22978 }
22979 }
22980 {
22981 if (!wxPyCheckForApp()) SWIG_fail;
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22989 {
22990 if (temp6)
22991 delete arg6;
22992 }
22993 return resultobj;
22994 fail:
22995 {
22996 if (temp6)
22997 delete arg6;
22998 }
22999 return NULL;
23000 }
23001
23002
23003 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
23004 PyObject *obj;
23005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23006 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23007 Py_INCREF(obj);
23008 return Py_BuildValue((char *)"");
23009 }
23010 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23011 PyObject *resultobj;
23012 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23013 wxFrame *arg2 = (wxFrame *) 0 ;
23014 wxString *arg3 = 0 ;
23015 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23016 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23017 wxSize const &arg5_defvalue = wxDefaultSize ;
23018 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23019 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23020 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23021 wxString *arg7 = (wxString *) &arg7_defvalue ;
23022 wxPreviewFrame *result;
23023 bool temp3 = false ;
23024 wxPoint temp4 ;
23025 wxSize temp5 ;
23026 bool temp7 = false ;
23027 PyObject * obj0 = 0 ;
23028 PyObject * obj1 = 0 ;
23029 PyObject * obj2 = 0 ;
23030 PyObject * obj3 = 0 ;
23031 PyObject * obj4 = 0 ;
23032 PyObject * obj5 = 0 ;
23033 PyObject * obj6 = 0 ;
23034 char *kwnames[] = {
23035 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23036 };
23037
23038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23043 {
23044 arg3 = wxString_in_helper(obj2);
23045 if (arg3 == NULL) SWIG_fail;
23046 temp3 = true;
23047 }
23048 if (obj3) {
23049 {
23050 arg4 = &temp4;
23051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23052 }
23053 }
23054 if (obj4) {
23055 {
23056 arg5 = &temp5;
23057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23058 }
23059 }
23060 if (obj5) {
23061 arg6 = (long)SWIG_As_long(obj5);
23062 if (PyErr_Occurred()) SWIG_fail;
23063 }
23064 if (obj6) {
23065 {
23066 arg7 = wxString_in_helper(obj6);
23067 if (arg7 == NULL) SWIG_fail;
23068 temp7 = true;
23069 }
23070 }
23071 {
23072 if (!wxPyCheckForApp()) SWIG_fail;
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23075
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
23079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23080 {
23081 if (temp3)
23082 delete arg3;
23083 }
23084 {
23085 if (temp7)
23086 delete arg7;
23087 }
23088 return resultobj;
23089 fail:
23090 {
23091 if (temp3)
23092 delete arg3;
23093 }
23094 {
23095 if (temp7)
23096 delete arg7;
23097 }
23098 return NULL;
23099 }
23100
23101
23102 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23103 PyObject *resultobj;
23104 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23105 PyObject * obj0 = 0 ;
23106 char *kwnames[] = {
23107 (char *) "self", NULL
23108 };
23109
23110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 (arg1)->Initialize();
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 Py_INCREF(Py_None); resultobj = Py_None;
23121 return resultobj;
23122 fail:
23123 return NULL;
23124 }
23125
23126
23127 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj;
23129 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23130 PyObject * obj0 = 0 ;
23131 char *kwnames[] = {
23132 (char *) "self", NULL
23133 };
23134
23135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23138 {
23139 PyThreadState* __tstate = wxPyBeginAllowThreads();
23140 (arg1)->CreateControlBar();
23141
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 Py_INCREF(Py_None); resultobj = Py_None;
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23155 PyObject * obj0 = 0 ;
23156 char *kwnames[] = {
23157 (char *) "self", NULL
23158 };
23159
23160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23163 {
23164 PyThreadState* __tstate = wxPyBeginAllowThreads();
23165 (arg1)->CreateCanvas();
23166
23167 wxPyEndAllowThreads(__tstate);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 }
23170 Py_INCREF(Py_None); resultobj = Py_None;
23171 return resultobj;
23172 fail:
23173 return NULL;
23174 }
23175
23176
23177 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23178 PyObject *resultobj;
23179 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23180 wxPreviewControlBar *result;
23181 PyObject * obj0 = 0 ;
23182 char *kwnames[] = {
23183 (char *) "self", NULL
23184 };
23185
23186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23189 {
23190 PyThreadState* __tstate = wxPyBeginAllowThreads();
23191 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23192
23193 wxPyEndAllowThreads(__tstate);
23194 if (PyErr_Occurred()) SWIG_fail;
23195 }
23196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23197 return resultobj;
23198 fail:
23199 return NULL;
23200 }
23201
23202
23203 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23204 PyObject *obj;
23205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23206 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23207 Py_INCREF(obj);
23208 return Py_BuildValue((char *)"");
23209 }
23210 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23211 PyObject *resultobj;
23212 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23213 long arg2 ;
23214 wxWindow *arg3 = (wxWindow *) 0 ;
23215 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23216 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23217 wxSize const &arg5_defvalue = wxDefaultSize ;
23218 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23219 long arg6 = (long) wxTAB_TRAVERSAL ;
23220 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23221 wxString *arg7 = (wxString *) &arg7_defvalue ;
23222 wxPreviewControlBar *result;
23223 wxPoint temp4 ;
23224 wxSize temp5 ;
23225 bool temp7 = false ;
23226 PyObject * obj0 = 0 ;
23227 PyObject * obj1 = 0 ;
23228 PyObject * obj2 = 0 ;
23229 PyObject * obj3 = 0 ;
23230 PyObject * obj4 = 0 ;
23231 PyObject * obj5 = 0 ;
23232 PyObject * obj6 = 0 ;
23233 char *kwnames[] = {
23234 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23235 };
23236
23237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23240 arg2 = (long)SWIG_As_long(obj1);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23244 if (obj3) {
23245 {
23246 arg4 = &temp4;
23247 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23248 }
23249 }
23250 if (obj4) {
23251 {
23252 arg5 = &temp5;
23253 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23254 }
23255 }
23256 if (obj5) {
23257 arg6 = (long)SWIG_As_long(obj5);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 if (obj6) {
23261 {
23262 arg7 = wxString_in_helper(obj6);
23263 if (arg7 == NULL) SWIG_fail;
23264 temp7 = true;
23265 }
23266 }
23267 {
23268 if (!wxPyCheckForApp()) SWIG_fail;
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23276 {
23277 if (temp7)
23278 delete arg7;
23279 }
23280 return resultobj;
23281 fail:
23282 {
23283 if (temp7)
23284 delete arg7;
23285 }
23286 return NULL;
23287 }
23288
23289
23290 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj;
23292 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23293 int result;
23294 PyObject * obj0 = 0 ;
23295 char *kwnames[] = {
23296 (char *) "self", NULL
23297 };
23298
23299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 result = (int)(arg1)->GetZoomControl();
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 resultobj = SWIG_From_int((int)result);
23310 return resultobj;
23311 fail:
23312 return NULL;
23313 }
23314
23315
23316 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23317 PyObject *resultobj;
23318 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23319 int arg2 ;
23320 PyObject * obj0 = 0 ;
23321 PyObject * obj1 = 0 ;
23322 char *kwnames[] = {
23323 (char *) "self",(char *) "zoom", NULL
23324 };
23325
23326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23329 arg2 = (int)SWIG_As_int(obj1);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 {
23332 PyThreadState* __tstate = wxPyBeginAllowThreads();
23333 (arg1)->SetZoomControl(arg2);
23334
23335 wxPyEndAllowThreads(__tstate);
23336 if (PyErr_Occurred()) SWIG_fail;
23337 }
23338 Py_INCREF(Py_None); resultobj = Py_None;
23339 return resultobj;
23340 fail:
23341 return NULL;
23342 }
23343
23344
23345 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23346 PyObject *resultobj;
23347 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23348 wxPrintPreview *result;
23349 PyObject * obj0 = 0 ;
23350 char *kwnames[] = {
23351 (char *) "self", NULL
23352 };
23353
23354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23357 {
23358 PyThreadState* __tstate = wxPyBeginAllowThreads();
23359 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23360
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
23364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23365 return resultobj;
23366 fail:
23367 return NULL;
23368 }
23369
23370
23371 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23374 PyObject * obj0 = 0 ;
23375 char *kwnames[] = {
23376 (char *) "self", NULL
23377 };
23378
23379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 (arg1)->OnNext();
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 Py_INCREF(Py_None); resultobj = Py_None;
23390 return resultobj;
23391 fail:
23392 return NULL;
23393 }
23394
23395
23396 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23397 PyObject *resultobj;
23398 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23399 PyObject * obj0 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 (arg1)->OnPrevious();
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 Py_INCREF(Py_None); resultobj = Py_None;
23415 return resultobj;
23416 fail:
23417 return NULL;
23418 }
23419
23420
23421 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23422 PyObject *resultobj;
23423 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23424 PyObject * obj0 = 0 ;
23425 char *kwnames[] = {
23426 (char *) "self", NULL
23427 };
23428
23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 (arg1)->OnFirst();
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 Py_INCREF(Py_None); resultobj = Py_None;
23440 return resultobj;
23441 fail:
23442 return NULL;
23443 }
23444
23445
23446 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23447 PyObject *resultobj;
23448 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23449 PyObject * obj0 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 (arg1)->OnLast();
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 Py_INCREF(Py_None); resultobj = Py_None;
23465 return resultobj;
23466 fail:
23467 return NULL;
23468 }
23469
23470
23471 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23472 PyObject *resultobj;
23473 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23474 PyObject * obj0 = 0 ;
23475 char *kwnames[] = {
23476 (char *) "self", NULL
23477 };
23478
23479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23482 {
23483 PyThreadState* __tstate = wxPyBeginAllowThreads();
23484 (arg1)->OnGoto();
23485
23486 wxPyEndAllowThreads(__tstate);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 }
23489 Py_INCREF(Py_None); resultobj = Py_None;
23490 return resultobj;
23491 fail:
23492 return NULL;
23493 }
23494
23495
23496 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23497 PyObject *obj;
23498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23499 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23500 Py_INCREF(obj);
23501 return Py_BuildValue((char *)"");
23502 }
23503 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23504 PyObject *resultobj;
23505 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23506 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23507 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23508 wxPrintPreview *result;
23509 PyObject * obj0 = 0 ;
23510 PyObject * obj1 = 0 ;
23511 PyObject * obj2 = 0 ;
23512
23513 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23518 if (obj2) {
23519 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23521 }
23522 {
23523 if (!wxPyCheckForApp()) SWIG_fail;
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23531 return resultobj;
23532 fail:
23533 return NULL;
23534 }
23535
23536
23537 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23538 PyObject *resultobj;
23539 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23540 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23541 wxPrintData *arg3 = (wxPrintData *) 0 ;
23542 wxPrintPreview *result;
23543 PyObject * obj0 = 0 ;
23544 PyObject * obj1 = 0 ;
23545 PyObject * obj2 = 0 ;
23546
23547 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23552 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23554 {
23555 if (!wxPyCheckForApp()) SWIG_fail;
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23563 return resultobj;
23564 fail:
23565 return NULL;
23566 }
23567
23568
23569 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23570 int argc;
23571 PyObject *argv[4];
23572 int ii;
23573
23574 argc = PyObject_Length(args);
23575 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23576 argv[ii] = PyTuple_GetItem(args,ii);
23577 }
23578 if ((argc >= 2) && (argc <= 3)) {
23579 int _v;
23580 {
23581 void *ptr;
23582 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23583 _v = 0;
23584 PyErr_Clear();
23585 } else {
23586 _v = 1;
23587 }
23588 }
23589 if (_v) {
23590 {
23591 void *ptr;
23592 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23593 _v = 0;
23594 PyErr_Clear();
23595 } else {
23596 _v = 1;
23597 }
23598 }
23599 if (_v) {
23600 if (argc <= 2) {
23601 return _wrap_new_PrintPreview__SWIG_0(self,args);
23602 }
23603 {
23604 void *ptr;
23605 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23606 _v = 0;
23607 PyErr_Clear();
23608 } else {
23609 _v = 1;
23610 }
23611 }
23612 if (_v) {
23613 return _wrap_new_PrintPreview__SWIG_0(self,args);
23614 }
23615 }
23616 }
23617 }
23618 if (argc == 3) {
23619 int _v;
23620 {
23621 void *ptr;
23622 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23623 _v = 0;
23624 PyErr_Clear();
23625 } else {
23626 _v = 1;
23627 }
23628 }
23629 if (_v) {
23630 {
23631 void *ptr;
23632 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23633 _v = 0;
23634 PyErr_Clear();
23635 } else {
23636 _v = 1;
23637 }
23638 }
23639 if (_v) {
23640 {
23641 void *ptr;
23642 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23643 _v = 0;
23644 PyErr_Clear();
23645 } else {
23646 _v = 1;
23647 }
23648 }
23649 if (_v) {
23650 return _wrap_new_PrintPreview__SWIG_1(self,args);
23651 }
23652 }
23653 }
23654 }
23655
23656 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23657 return NULL;
23658 }
23659
23660
23661 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23662 PyObject *resultobj;
23663 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23664 int arg2 ;
23665 bool result;
23666 PyObject * obj0 = 0 ;
23667 PyObject * obj1 = 0 ;
23668 char *kwnames[] = {
23669 (char *) "self",(char *) "pageNum", NULL
23670 };
23671
23672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23675 arg2 = (int)SWIG_As_int(obj1);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 {
23678 PyThreadState* __tstate = wxPyBeginAllowThreads();
23679 result = (bool)(arg1)->SetCurrentPage(arg2);
23680
23681 wxPyEndAllowThreads(__tstate);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 }
23684 {
23685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23686 }
23687 return resultobj;
23688 fail:
23689 return NULL;
23690 }
23691
23692
23693 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj;
23695 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23696 int result;
23697 PyObject * obj0 = 0 ;
23698 char *kwnames[] = {
23699 (char *) "self", NULL
23700 };
23701
23702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 result = (int)(arg1)->GetCurrentPage();
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 resultobj = SWIG_From_int((int)result);
23713 return resultobj;
23714 fail:
23715 return NULL;
23716 }
23717
23718
23719 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23720 PyObject *resultobj;
23721 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23722 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23723 PyObject * obj0 = 0 ;
23724 PyObject * obj1 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self",(char *) "printout", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 (arg1)->SetPrintout(arg2);
23737
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 Py_INCREF(Py_None); resultobj = Py_None;
23742 return resultobj;
23743 fail:
23744 return NULL;
23745 }
23746
23747
23748 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23749 PyObject *resultobj;
23750 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23751 wxPyPrintout *result;
23752 PyObject * obj0 = 0 ;
23753 char *kwnames[] = {
23754 (char *) "self", NULL
23755 };
23756
23757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23760 {
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 result = (wxPyPrintout *)(arg1)->GetPrintout();
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 {
23768 resultobj = wxPyMake_wxObject(result, 0);
23769 }
23770 return resultobj;
23771 fail:
23772 return NULL;
23773 }
23774
23775
23776 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23777 PyObject *resultobj;
23778 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23779 wxPyPrintout *result;
23780 PyObject * obj0 = 0 ;
23781 char *kwnames[] = {
23782 (char *) "self", NULL
23783 };
23784
23785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23791
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 {
23796 resultobj = wxPyMake_wxObject(result, 0);
23797 }
23798 return resultobj;
23799 fail:
23800 return NULL;
23801 }
23802
23803
23804 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23805 PyObject *resultobj;
23806 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23807 wxFrame *arg2 = (wxFrame *) 0 ;
23808 PyObject * obj0 = 0 ;
23809 PyObject * obj1 = 0 ;
23810 char *kwnames[] = {
23811 (char *) "self",(char *) "frame", NULL
23812 };
23813
23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 (arg1)->SetFrame(arg2);
23822
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 Py_INCREF(Py_None); resultobj = Py_None;
23827 return resultobj;
23828 fail:
23829 return NULL;
23830 }
23831
23832
23833 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23834 PyObject *resultobj;
23835 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23836 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23837 PyObject * obj0 = 0 ;
23838 PyObject * obj1 = 0 ;
23839 char *kwnames[] = {
23840 (char *) "self",(char *) "canvas", NULL
23841 };
23842
23843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23848 {
23849 PyThreadState* __tstate = wxPyBeginAllowThreads();
23850 (arg1)->SetCanvas(arg2);
23851
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 Py_INCREF(Py_None); resultobj = Py_None;
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj;
23864 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23865 wxFrame *result;
23866 PyObject * obj0 = 0 ;
23867 char *kwnames[] = {
23868 (char *) "self", NULL
23869 };
23870
23871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23874 {
23875 PyThreadState* __tstate = wxPyBeginAllowThreads();
23876 result = (wxFrame *)(arg1)->GetFrame();
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 {
23882 resultobj = wxPyMake_wxObject(result, 0);
23883 }
23884 return resultobj;
23885 fail:
23886 return NULL;
23887 }
23888
23889
23890 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23891 PyObject *resultobj;
23892 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23893 wxPreviewCanvas *result;
23894 PyObject * obj0 = 0 ;
23895 char *kwnames[] = {
23896 (char *) "self", NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23902 {
23903 PyThreadState* __tstate = wxPyBeginAllowThreads();
23904 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23905
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj;
23918 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23919 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23920 wxDC *arg3 = 0 ;
23921 bool result;
23922 PyObject * obj0 = 0 ;
23923 PyObject * obj1 = 0 ;
23924 PyObject * obj2 = 0 ;
23925 char *kwnames[] = {
23926 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23927 };
23928
23929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23934 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23935 SWIG_POINTER_EXCEPTION | 0)) == -1)
23936 SWIG_fail;
23937 if (arg3 == NULL) {
23938 PyErr_SetString(PyExc_TypeError,"null reference");
23939 SWIG_fail;
23940 }
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23944
23945 wxPyEndAllowThreads(__tstate);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
23948 {
23949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23950 }
23951 return resultobj;
23952 fail:
23953 return NULL;
23954 }
23955
23956
23957 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23958 PyObject *resultobj;
23959 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23960 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23961 wxDC *arg3 = 0 ;
23962 bool result;
23963 PyObject * obj0 = 0 ;
23964 PyObject * obj1 = 0 ;
23965 PyObject * obj2 = 0 ;
23966 char *kwnames[] = {
23967 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23968 };
23969
23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23975 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23976 SWIG_POINTER_EXCEPTION | 0)) == -1)
23977 SWIG_fail;
23978 if (arg3 == NULL) {
23979 PyErr_SetString(PyExc_TypeError,"null reference");
23980 SWIG_fail;
23981 }
23982 {
23983 PyThreadState* __tstate = wxPyBeginAllowThreads();
23984 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23985
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 }
23989 {
23990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23991 }
23992 return resultobj;
23993 fail:
23994 return NULL;
23995 }
23996
23997
23998 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23999 PyObject *resultobj;
24000 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24001 int arg2 ;
24002 bool result;
24003 PyObject * obj0 = 0 ;
24004 PyObject * obj1 = 0 ;
24005 char *kwnames[] = {
24006 (char *) "self",(char *) "pageNum", NULL
24007 };
24008
24009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24012 arg2 = (int)SWIG_As_int(obj1);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 {
24015 PyThreadState* __tstate = wxPyBeginAllowThreads();
24016 result = (bool)(arg1)->RenderPage(arg2);
24017
24018 wxPyEndAllowThreads(__tstate);
24019 if (PyErr_Occurred()) SWIG_fail;
24020 }
24021 {
24022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24023 }
24024 return resultobj;
24025 fail:
24026 return NULL;
24027 }
24028
24029
24030 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
24031 PyObject *resultobj;
24032 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24033 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24034 PyObject * obj0 = 0 ;
24035 PyObject * obj1 = 0 ;
24036 char *kwnames[] = {
24037 (char *) "self",(char *) "canvas", NULL
24038 };
24039
24040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24045 {
24046 PyThreadState* __tstate = wxPyBeginAllowThreads();
24047 (arg1)->AdjustScrollbars(arg2);
24048
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 Py_INCREF(Py_None); resultobj = Py_None;
24053 return resultobj;
24054 fail:
24055 return NULL;
24056 }
24057
24058
24059 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24060 PyObject *resultobj;
24061 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24062 wxPrintDialogData *result;
24063 PyObject * obj0 = 0 ;
24064 char *kwnames[] = {
24065 (char *) "self", NULL
24066 };
24067
24068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24071 {
24072 PyThreadState* __tstate = wxPyBeginAllowThreads();
24073 {
24074 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24075 result = (wxPrintDialogData *) &_result_ref;
24076 }
24077
24078 wxPyEndAllowThreads(__tstate);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24082 return resultobj;
24083 fail:
24084 return NULL;
24085 }
24086
24087
24088 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24089 PyObject *resultobj;
24090 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24091 int arg2 ;
24092 PyObject * obj0 = 0 ;
24093 PyObject * obj1 = 0 ;
24094 char *kwnames[] = {
24095 (char *) "self",(char *) "percent", NULL
24096 };
24097
24098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24101 arg2 = (int)SWIG_As_int(obj1);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 {
24104 PyThreadState* __tstate = wxPyBeginAllowThreads();
24105 (arg1)->SetZoom(arg2);
24106
24107 wxPyEndAllowThreads(__tstate);
24108 if (PyErr_Occurred()) SWIG_fail;
24109 }
24110 Py_INCREF(Py_None); resultobj = Py_None;
24111 return resultobj;
24112 fail:
24113 return NULL;
24114 }
24115
24116
24117 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24118 PyObject *resultobj;
24119 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24120 int result;
24121 PyObject * obj0 = 0 ;
24122 char *kwnames[] = {
24123 (char *) "self", NULL
24124 };
24125
24126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24129 {
24130 PyThreadState* __tstate = wxPyBeginAllowThreads();
24131 result = (int)(arg1)->GetZoom();
24132
24133 wxPyEndAllowThreads(__tstate);
24134 if (PyErr_Occurred()) SWIG_fail;
24135 }
24136 resultobj = SWIG_From_int((int)result);
24137 return resultobj;
24138 fail:
24139 return NULL;
24140 }
24141
24142
24143 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24144 PyObject *resultobj;
24145 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24146 int result;
24147 PyObject * obj0 = 0 ;
24148 char *kwnames[] = {
24149 (char *) "self", NULL
24150 };
24151
24152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24155 {
24156 PyThreadState* __tstate = wxPyBeginAllowThreads();
24157 result = (int)(arg1)->GetMaxPage();
24158
24159 wxPyEndAllowThreads(__tstate);
24160 if (PyErr_Occurred()) SWIG_fail;
24161 }
24162 resultobj = SWIG_From_int((int)result);
24163 return resultobj;
24164 fail:
24165 return NULL;
24166 }
24167
24168
24169 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24170 PyObject *resultobj;
24171 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24172 int result;
24173 PyObject * obj0 = 0 ;
24174 char *kwnames[] = {
24175 (char *) "self", NULL
24176 };
24177
24178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24181 {
24182 PyThreadState* __tstate = wxPyBeginAllowThreads();
24183 result = (int)(arg1)->GetMinPage();
24184
24185 wxPyEndAllowThreads(__tstate);
24186 if (PyErr_Occurred()) SWIG_fail;
24187 }
24188 resultobj = SWIG_From_int((int)result);
24189 return resultobj;
24190 fail:
24191 return NULL;
24192 }
24193
24194
24195 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj;
24197 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24198 bool result;
24199 PyObject * obj0 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",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 result = (bool)(arg1)->Ok();
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 {
24215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24216 }
24217 return resultobj;
24218 fail:
24219 return NULL;
24220 }
24221
24222
24223 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24224 PyObject *resultobj;
24225 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24226 bool arg2 ;
24227 PyObject * obj0 = 0 ;
24228 PyObject * obj1 = 0 ;
24229 char *kwnames[] = {
24230 (char *) "self",(char *) "ok", NULL
24231 };
24232
24233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24236 arg2 = (bool)SWIG_As_bool(obj1);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 {
24239 PyThreadState* __tstate = wxPyBeginAllowThreads();
24240 (arg1)->SetOk(arg2);
24241
24242 wxPyEndAllowThreads(__tstate);
24243 if (PyErr_Occurred()) SWIG_fail;
24244 }
24245 Py_INCREF(Py_None); resultobj = Py_None;
24246 return resultobj;
24247 fail:
24248 return NULL;
24249 }
24250
24251
24252 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24253 PyObject *resultobj;
24254 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24255 bool arg2 ;
24256 bool result;
24257 PyObject * obj0 = 0 ;
24258 PyObject * obj1 = 0 ;
24259 char *kwnames[] = {
24260 (char *) "self",(char *) "interactive", NULL
24261 };
24262
24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24266 arg2 = (bool)SWIG_As_bool(obj1);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 {
24269 PyThreadState* __tstate = wxPyBeginAllowThreads();
24270 result = (bool)(arg1)->Print(arg2);
24271
24272 wxPyEndAllowThreads(__tstate);
24273 if (PyErr_Occurred()) SWIG_fail;
24274 }
24275 {
24276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24277 }
24278 return resultobj;
24279 fail:
24280 return NULL;
24281 }
24282
24283
24284 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24285 PyObject *resultobj;
24286 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24287 PyObject * obj0 = 0 ;
24288 char *kwnames[] = {
24289 (char *) "self", NULL
24290 };
24291
24292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24295 {
24296 PyThreadState* __tstate = wxPyBeginAllowThreads();
24297 (arg1)->DetermineScaling();
24298
24299 wxPyEndAllowThreads(__tstate);
24300 if (PyErr_Occurred()) SWIG_fail;
24301 }
24302 Py_INCREF(Py_None); resultobj = Py_None;
24303 return resultobj;
24304 fail:
24305 return NULL;
24306 }
24307
24308
24309 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24310 PyObject *obj;
24311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24312 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24313 Py_INCREF(obj);
24314 return Py_BuildValue((char *)"");
24315 }
24316 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24317 PyObject *resultobj;
24318 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24319 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24320 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24321 wxPyPrintPreview *result;
24322 PyObject * obj0 = 0 ;
24323 PyObject * obj1 = 0 ;
24324 PyObject * obj2 = 0 ;
24325
24326 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24331 if (obj2) {
24332 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24334 }
24335 {
24336 if (!wxPyCheckForApp()) SWIG_fail;
24337 PyThreadState* __tstate = wxPyBeginAllowThreads();
24338 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24339
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24351 PyObject *resultobj;
24352 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24353 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24354 wxPrintData *arg3 = (wxPrintData *) 0 ;
24355 wxPyPrintPreview *result;
24356 PyObject * obj0 = 0 ;
24357 PyObject * obj1 = 0 ;
24358 PyObject * obj2 = 0 ;
24359
24360 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24365 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24367 {
24368 if (!wxPyCheckForApp()) SWIG_fail;
24369 PyThreadState* __tstate = wxPyBeginAllowThreads();
24370 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24371
24372 wxPyEndAllowThreads(__tstate);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 }
24375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24376 return resultobj;
24377 fail:
24378 return NULL;
24379 }
24380
24381
24382 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24383 int argc;
24384 PyObject *argv[4];
24385 int ii;
24386
24387 argc = PyObject_Length(args);
24388 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24389 argv[ii] = PyTuple_GetItem(args,ii);
24390 }
24391 if ((argc >= 2) && (argc <= 3)) {
24392 int _v;
24393 {
24394 void *ptr;
24395 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24396 _v = 0;
24397 PyErr_Clear();
24398 } else {
24399 _v = 1;
24400 }
24401 }
24402 if (_v) {
24403 {
24404 void *ptr;
24405 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24406 _v = 0;
24407 PyErr_Clear();
24408 } else {
24409 _v = 1;
24410 }
24411 }
24412 if (_v) {
24413 if (argc <= 2) {
24414 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24415 }
24416 {
24417 void *ptr;
24418 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24419 _v = 0;
24420 PyErr_Clear();
24421 } else {
24422 _v = 1;
24423 }
24424 }
24425 if (_v) {
24426 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24427 }
24428 }
24429 }
24430 }
24431 if (argc == 3) {
24432 int _v;
24433 {
24434 void *ptr;
24435 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24436 _v = 0;
24437 PyErr_Clear();
24438 } else {
24439 _v = 1;
24440 }
24441 }
24442 if (_v) {
24443 {
24444 void *ptr;
24445 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24446 _v = 0;
24447 PyErr_Clear();
24448 } else {
24449 _v = 1;
24450 }
24451 }
24452 if (_v) {
24453 {
24454 void *ptr;
24455 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24456 _v = 0;
24457 PyErr_Clear();
24458 } else {
24459 _v = 1;
24460 }
24461 }
24462 if (_v) {
24463 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24464 }
24465 }
24466 }
24467 }
24468
24469 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24470 return NULL;
24471 }
24472
24473
24474 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24475 PyObject *resultobj;
24476 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24477 PyObject *arg2 = (PyObject *) 0 ;
24478 PyObject *arg3 = (PyObject *) 0 ;
24479 PyObject * obj0 = 0 ;
24480 PyObject * obj1 = 0 ;
24481 PyObject * obj2 = 0 ;
24482 char *kwnames[] = {
24483 (char *) "self",(char *) "self",(char *) "_class", NULL
24484 };
24485
24486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24489 arg2 = obj1;
24490 arg3 = obj2;
24491 {
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 (arg1)->_setCallbackInfo(arg2,arg3);
24494
24495 wxPyEndAllowThreads(__tstate);
24496 if (PyErr_Occurred()) SWIG_fail;
24497 }
24498 Py_INCREF(Py_None); resultobj = Py_None;
24499 return resultobj;
24500 fail:
24501 return NULL;
24502 }
24503
24504
24505 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24506 PyObject *resultobj;
24507 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24508 int arg2 ;
24509 bool result;
24510 PyObject * obj0 = 0 ;
24511 PyObject * obj1 = 0 ;
24512 char *kwnames[] = {
24513 (char *) "self",(char *) "pageNum", NULL
24514 };
24515
24516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24519 arg2 = (int)SWIG_As_int(obj1);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
24528 {
24529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24530 }
24531 return resultobj;
24532 fail:
24533 return NULL;
24534 }
24535
24536
24537 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24538 PyObject *resultobj;
24539 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24540 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24541 wxDC *arg3 = 0 ;
24542 bool result;
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 PyObject * obj2 = 0 ;
24546 char *kwnames[] = {
24547 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24548 };
24549
24550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24555 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24556 SWIG_POINTER_EXCEPTION | 0)) == -1)
24557 SWIG_fail;
24558 if (arg3 == NULL) {
24559 PyErr_SetString(PyExc_TypeError,"null reference");
24560 SWIG_fail;
24561 }
24562 {
24563 PyThreadState* __tstate = wxPyBeginAllowThreads();
24564 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24565
24566 wxPyEndAllowThreads(__tstate);
24567 if (PyErr_Occurred()) SWIG_fail;
24568 }
24569 {
24570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24571 }
24572 return resultobj;
24573 fail:
24574 return NULL;
24575 }
24576
24577
24578 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24579 PyObject *resultobj;
24580 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24581 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24582 wxDC *arg3 = 0 ;
24583 bool result;
24584 PyObject * obj0 = 0 ;
24585 PyObject * obj1 = 0 ;
24586 PyObject * obj2 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24596 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24597 SWIG_POINTER_EXCEPTION | 0)) == -1)
24598 SWIG_fail;
24599 if (arg3 == NULL) {
24600 PyErr_SetString(PyExc_TypeError,"null reference");
24601 SWIG_fail;
24602 }
24603 {
24604 PyThreadState* __tstate = wxPyBeginAllowThreads();
24605 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24606
24607 wxPyEndAllowThreads(__tstate);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 }
24610 {
24611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24612 }
24613 return resultobj;
24614 fail:
24615 return NULL;
24616 }
24617
24618
24619 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24620 PyObject *resultobj;
24621 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24622 int arg2 ;
24623 bool result;
24624 PyObject * obj0 = 0 ;
24625 PyObject * obj1 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self",(char *) "pageNum", NULL
24628 };
24629
24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24633 arg2 = (int)SWIG_As_int(obj1);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 result = (bool)(arg1)->base_RenderPage(arg2);
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 {
24643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24644 }
24645 return resultobj;
24646 fail:
24647 return NULL;
24648 }
24649
24650
24651 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24652 PyObject *resultobj;
24653 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24654 int arg2 ;
24655 PyObject * obj0 = 0 ;
24656 PyObject * obj1 = 0 ;
24657 char *kwnames[] = {
24658 (char *) "self",(char *) "percent", NULL
24659 };
24660
24661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24664 arg2 = (int)SWIG_As_int(obj1);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 (arg1)->base_SetZoom(arg2);
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 Py_INCREF(Py_None); resultobj = Py_None;
24674 return resultobj;
24675 fail:
24676 return NULL;
24677 }
24678
24679
24680 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24681 PyObject *resultobj;
24682 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24683 bool arg2 ;
24684 bool result;
24685 PyObject * obj0 = 0 ;
24686 PyObject * obj1 = 0 ;
24687 char *kwnames[] = {
24688 (char *) "self",(char *) "interactive", NULL
24689 };
24690
24691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24694 arg2 = (bool)SWIG_As_bool(obj1);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 {
24697 PyThreadState* __tstate = wxPyBeginAllowThreads();
24698 result = (bool)(arg1)->base_Print(arg2);
24699
24700 wxPyEndAllowThreads(__tstate);
24701 if (PyErr_Occurred()) SWIG_fail;
24702 }
24703 {
24704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24705 }
24706 return resultobj;
24707 fail:
24708 return NULL;
24709 }
24710
24711
24712 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24713 PyObject *resultobj;
24714 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24715 PyObject * obj0 = 0 ;
24716 char *kwnames[] = {
24717 (char *) "self", NULL
24718 };
24719
24720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24723 {
24724 PyThreadState* __tstate = wxPyBeginAllowThreads();
24725 (arg1)->base_DetermineScaling();
24726
24727 wxPyEndAllowThreads(__tstate);
24728 if (PyErr_Occurred()) SWIG_fail;
24729 }
24730 Py_INCREF(Py_None); resultobj = Py_None;
24731 return resultobj;
24732 fail:
24733 return NULL;
24734 }
24735
24736
24737 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24738 PyObject *obj;
24739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24740 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24741 Py_INCREF(obj);
24742 return Py_BuildValue((char *)"");
24743 }
24744 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24745 PyObject *resultobj;
24746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24747 wxFrame *arg2 = (wxFrame *) 0 ;
24748 wxString *arg3 = 0 ;
24749 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24750 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24751 wxSize const &arg5_defvalue = wxDefaultSize ;
24752 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24753 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24754 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24755 wxString *arg7 = (wxString *) &arg7_defvalue ;
24756 wxPyPreviewFrame *result;
24757 bool temp3 = false ;
24758 wxPoint temp4 ;
24759 wxSize temp5 ;
24760 bool temp7 = false ;
24761 PyObject * obj0 = 0 ;
24762 PyObject * obj1 = 0 ;
24763 PyObject * obj2 = 0 ;
24764 PyObject * obj3 = 0 ;
24765 PyObject * obj4 = 0 ;
24766 PyObject * obj5 = 0 ;
24767 PyObject * obj6 = 0 ;
24768 char *kwnames[] = {
24769 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24770 };
24771
24772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24775 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24777 {
24778 arg3 = wxString_in_helper(obj2);
24779 if (arg3 == NULL) SWIG_fail;
24780 temp3 = true;
24781 }
24782 if (obj3) {
24783 {
24784 arg4 = &temp4;
24785 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24786 }
24787 }
24788 if (obj4) {
24789 {
24790 arg5 = &temp5;
24791 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24792 }
24793 }
24794 if (obj5) {
24795 arg6 = (long)SWIG_As_long(obj5);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 if (obj6) {
24799 {
24800 arg7 = wxString_in_helper(obj6);
24801 if (arg7 == NULL) SWIG_fail;
24802 temp7 = true;
24803 }
24804 }
24805 {
24806 if (!wxPyCheckForApp()) SWIG_fail;
24807 PyThreadState* __tstate = wxPyBeginAllowThreads();
24808 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24809
24810 wxPyEndAllowThreads(__tstate);
24811 if (PyErr_Occurred()) SWIG_fail;
24812 }
24813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24814 {
24815 if (temp3)
24816 delete arg3;
24817 }
24818 {
24819 if (temp7)
24820 delete arg7;
24821 }
24822 return resultobj;
24823 fail:
24824 {
24825 if (temp3)
24826 delete arg3;
24827 }
24828 {
24829 if (temp7)
24830 delete arg7;
24831 }
24832 return NULL;
24833 }
24834
24835
24836 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24839 PyObject *arg2 = (PyObject *) 0 ;
24840 PyObject *arg3 = (PyObject *) 0 ;
24841 PyObject * obj0 = 0 ;
24842 PyObject * obj1 = 0 ;
24843 PyObject * obj2 = 0 ;
24844 char *kwnames[] = {
24845 (char *) "self",(char *) "self",(char *) "_class", NULL
24846 };
24847
24848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24851 arg2 = obj1;
24852 arg3 = obj2;
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
24855 (arg1)->_setCallbackInfo(arg2,arg3);
24856
24857 wxPyEndAllowThreads(__tstate);
24858 if (PyErr_Occurred()) SWIG_fail;
24859 }
24860 Py_INCREF(Py_None); resultobj = Py_None;
24861 return resultobj;
24862 fail:
24863 return NULL;
24864 }
24865
24866
24867 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24868 PyObject *resultobj;
24869 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24870 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24871 PyObject * obj0 = 0 ;
24872 PyObject * obj1 = 0 ;
24873 char *kwnames[] = {
24874 (char *) "self",(char *) "canvas", NULL
24875 };
24876
24877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24882 {
24883 PyThreadState* __tstate = wxPyBeginAllowThreads();
24884 (arg1)->SetPreviewCanvas(arg2);
24885
24886 wxPyEndAllowThreads(__tstate);
24887 if (PyErr_Occurred()) SWIG_fail;
24888 }
24889 Py_INCREF(Py_None); resultobj = Py_None;
24890 return resultobj;
24891 fail:
24892 return NULL;
24893 }
24894
24895
24896 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24897 PyObject *resultobj;
24898 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24899 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24900 PyObject * obj0 = 0 ;
24901 PyObject * obj1 = 0 ;
24902 char *kwnames[] = {
24903 (char *) "self",(char *) "bar", NULL
24904 };
24905
24906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24911 {
24912 PyThreadState* __tstate = wxPyBeginAllowThreads();
24913 (arg1)->SetControlBar(arg2);
24914
24915 wxPyEndAllowThreads(__tstate);
24916 if (PyErr_Occurred()) SWIG_fail;
24917 }
24918 Py_INCREF(Py_None); resultobj = Py_None;
24919 return resultobj;
24920 fail:
24921 return NULL;
24922 }
24923
24924
24925 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
24926 PyObject *resultobj;
24927 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24928 PyObject * obj0 = 0 ;
24929 char *kwnames[] = {
24930 (char *) "self", NULL
24931 };
24932
24933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24936 {
24937 PyThreadState* __tstate = wxPyBeginAllowThreads();
24938 (arg1)->base_Initialize();
24939
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 Py_INCREF(Py_None); resultobj = Py_None;
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj;
24952 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24953 PyObject * obj0 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24961 {
24962 PyThreadState* __tstate = wxPyBeginAllowThreads();
24963 (arg1)->base_CreateCanvas();
24964
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 Py_INCREF(Py_None); resultobj = Py_None;
24969 return resultobj;
24970 fail:
24971 return NULL;
24972 }
24973
24974
24975 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24976 PyObject *resultobj;
24977 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24978 PyObject * obj0 = 0 ;
24979 char *kwnames[] = {
24980 (char *) "self", NULL
24981 };
24982
24983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24986 {
24987 PyThreadState* __tstate = wxPyBeginAllowThreads();
24988 (arg1)->base_CreateControlBar();
24989
24990 wxPyEndAllowThreads(__tstate);
24991 if (PyErr_Occurred()) SWIG_fail;
24992 }
24993 Py_INCREF(Py_None); resultobj = Py_None;
24994 return resultobj;
24995 fail:
24996 return NULL;
24997 }
24998
24999
25000 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
25001 PyObject *obj;
25002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25003 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25004 Py_INCREF(obj);
25005 return Py_BuildValue((char *)"");
25006 }
25007 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25008 PyObject *resultobj;
25009 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25010 long arg2 ;
25011 wxWindow *arg3 = (wxWindow *) 0 ;
25012 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25013 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25014 wxSize const &arg5_defvalue = wxDefaultSize ;
25015 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25016 long arg6 = (long) 0 ;
25017 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25018 wxString *arg7 = (wxString *) &arg7_defvalue ;
25019 wxPyPreviewControlBar *result;
25020 wxPoint temp4 ;
25021 wxSize temp5 ;
25022 bool temp7 = false ;
25023 PyObject * obj0 = 0 ;
25024 PyObject * obj1 = 0 ;
25025 PyObject * obj2 = 0 ;
25026 PyObject * obj3 = 0 ;
25027 PyObject * obj4 = 0 ;
25028 PyObject * obj5 = 0 ;
25029 PyObject * obj6 = 0 ;
25030 char *kwnames[] = {
25031 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25032 };
25033
25034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25037 arg2 = (long)SWIG_As_long(obj1);
25038 if (PyErr_Occurred()) SWIG_fail;
25039 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25041 if (obj3) {
25042 {
25043 arg4 = &temp4;
25044 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25045 }
25046 }
25047 if (obj4) {
25048 {
25049 arg5 = &temp5;
25050 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25051 }
25052 }
25053 if (obj5) {
25054 arg6 = (long)SWIG_As_long(obj5);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 if (obj6) {
25058 {
25059 arg7 = wxString_in_helper(obj6);
25060 if (arg7 == NULL) SWIG_fail;
25061 temp7 = true;
25062 }
25063 }
25064 {
25065 if (!wxPyCheckForApp()) SWIG_fail;
25066 PyThreadState* __tstate = wxPyBeginAllowThreads();
25067 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25068
25069 wxPyEndAllowThreads(__tstate);
25070 if (PyErr_Occurred()) SWIG_fail;
25071 }
25072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25073 {
25074 if (temp7)
25075 delete arg7;
25076 }
25077 return resultobj;
25078 fail:
25079 {
25080 if (temp7)
25081 delete arg7;
25082 }
25083 return NULL;
25084 }
25085
25086
25087 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25088 PyObject *resultobj;
25089 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25090 PyObject *arg2 = (PyObject *) 0 ;
25091 PyObject *arg3 = (PyObject *) 0 ;
25092 PyObject * obj0 = 0 ;
25093 PyObject * obj1 = 0 ;
25094 PyObject * obj2 = 0 ;
25095 char *kwnames[] = {
25096 (char *) "self",(char *) "self",(char *) "_class", NULL
25097 };
25098
25099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25102 arg2 = obj1;
25103 arg3 = obj2;
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 (arg1)->_setCallbackInfo(arg2,arg3);
25107
25108 wxPyEndAllowThreads(__tstate);
25109 if (PyErr_Occurred()) SWIG_fail;
25110 }
25111 Py_INCREF(Py_None); resultobj = Py_None;
25112 return resultobj;
25113 fail:
25114 return NULL;
25115 }
25116
25117
25118 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25119 PyObject *resultobj;
25120 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25121 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25122 PyObject * obj0 = 0 ;
25123 PyObject * obj1 = 0 ;
25124 char *kwnames[] = {
25125 (char *) "self",(char *) "preview", NULL
25126 };
25127
25128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25133 {
25134 PyThreadState* __tstate = wxPyBeginAllowThreads();
25135 (arg1)->SetPrintPreview(arg2);
25136
25137 wxPyEndAllowThreads(__tstate);
25138 if (PyErr_Occurred()) SWIG_fail;
25139 }
25140 Py_INCREF(Py_None); resultobj = Py_None;
25141 return resultobj;
25142 fail:
25143 return NULL;
25144 }
25145
25146
25147 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25148 PyObject *resultobj;
25149 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25150 PyObject * obj0 = 0 ;
25151 char *kwnames[] = {
25152 (char *) "self", NULL
25153 };
25154
25155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 (arg1)->base_CreateButtons();
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 Py_INCREF(Py_None); resultobj = Py_None;
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj;
25174 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25175 int arg2 ;
25176 PyObject * obj0 = 0 ;
25177 PyObject * obj1 = 0 ;
25178 char *kwnames[] = {
25179 (char *) "self",(char *) "zoom", NULL
25180 };
25181
25182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25185 arg2 = (int)SWIG_As_int(obj1);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 (arg1)->base_SetZoomControl(arg2);
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 Py_INCREF(Py_None); resultobj = Py_None;
25195 return resultobj;
25196 fail:
25197 return NULL;
25198 }
25199
25200
25201 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25202 PyObject *obj;
25203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25204 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25205 Py_INCREF(obj);
25206 return Py_BuildValue((char *)"");
25207 }
25208 static PyMethodDef SwigMethods[] = {
25209 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25210 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25211 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25212 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25213 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25214 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25215 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25216 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25217 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25218 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25219 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25220 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25221 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25222 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25223 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25224 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25225 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25226 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25227 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25228 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25229 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25230 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25231 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25232 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25233 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25234 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25235 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25236 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25237 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25238 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25239 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25240 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25241 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25242 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25243 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25244 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25245 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25246 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25247 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25248 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25249 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25250 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25251 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25252 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
25253 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25254 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25255 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25256 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25257 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25258 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25259 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25260 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25261 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25262 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25263 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25264 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25265 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25266 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25267 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25268 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25269 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25274 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25275 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25276 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25278 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25289 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25290 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25291 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25294 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25297 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25298 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25299 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25300 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25303 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25307 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25308 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25314 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25315 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25319 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25320 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25323 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25324 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25325 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25334 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25338 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25340 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25346 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25348 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25349 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25350 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25355 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25358 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25363 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25364 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25378 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25386 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25389 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25398 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25404 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25413 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25419 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25424 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25430 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25434 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25452 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25478 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25486 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25495 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25497 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25506 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25509 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25516 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25534 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25538 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25543 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25547 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25563 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25566 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25568 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25572 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25581 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25590 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25596 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25608 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25615 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25619 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25645 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25671 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25697 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25698 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25745 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25746 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25777 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25781 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25782 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25815 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25820 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25831 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25843 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25854 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25856 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25862 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25867 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25869 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25872 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25873 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25877 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25882 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25885 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25890 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25891 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25892 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25893 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25894 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25895 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25896 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25897 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25898 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25899 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25902 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25903 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25906 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25908 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25909 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25912 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25914 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25915 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25916 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25917 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25918 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25920 { NULL, NULL, 0, NULL }
25921 };
25922
25923
25924 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25925
25926 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25927 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25928 }
25929 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25930 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25931 }
25932 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25933 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25934 }
25935 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25936 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25937 }
25938 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25939 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25940 }
25941 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25942 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25943 }
25944 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25945 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25946 }
25947 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25948 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25949 }
25950 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25951 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25952 }
25953 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25954 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25955 }
25956 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25957 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25958 }
25959 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25960 return (void *)((wxEvent *) ((wxPyEvent *) x));
25961 }
25962 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25963 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25964 }
25965 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25966 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25967 }
25968 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25969 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25970 }
25971 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25972 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25973 }
25974 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25975 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25976 }
25977 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25978 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25979 }
25980 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25981 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25982 }
25983 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25984 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25985 }
25986 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25987 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25988 }
25989 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25990 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25991 }
25992 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25993 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25994 }
25995 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25996 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25997 }
25998 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25999 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26000 }
26001 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26002 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26003 }
26004 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26005 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26006 }
26007 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26008 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26009 }
26010 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26011 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26012 }
26013 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26014 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26015 }
26016 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26017 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26018 }
26019 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26020 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26021 }
26022 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26023 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26024 }
26025 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26026 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26027 }
26028 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26029 return (void *)((wxEvent *) ((wxShowEvent *) x));
26030 }
26031 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26032 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26033 }
26034 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26035 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26036 }
26037 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26038 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26039 }
26040 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26041 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26042 }
26043 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26044 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26045 }
26046 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26047 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26048 }
26049 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26050 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26051 }
26052 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26053 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26054 }
26055 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26056 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26057 }
26058 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26059 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26060 }
26061 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26062 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26063 }
26064 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26065 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26066 }
26067 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26068 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26069 }
26070 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26071 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26072 }
26073 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26074 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26075 }
26076 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26077 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26078 }
26079 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26080 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26081 }
26082 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26083 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26084 }
26085 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26086 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26087 }
26088 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26089 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26090 }
26091 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26092 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26093 }
26094 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26095 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26096 }
26097 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26098 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26099 }
26100 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26101 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26102 }
26103 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26104 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26105 }
26106 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26107 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26108 }
26109 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26110 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26111 }
26112 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26114 }
26115 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26116 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26117 }
26118 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26119 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26120 }
26121 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26122 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26123 }
26124 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26125 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26126 }
26127 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26128 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26129 }
26130 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26131 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26132 }
26133 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26134 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26135 }
26136 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26137 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26138 }
26139 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26140 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26141 }
26142 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26143 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26144 }
26145 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26146 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26147 }
26148 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26149 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26150 }
26151 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26152 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26153 }
26154 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26155 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26156 }
26157 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26158 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26159 }
26160 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26161 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26162 }
26163 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26164 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26165 }
26166 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26167 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26168 }
26169 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26170 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26171 }
26172 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26173 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26174 }
26175 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26176 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26177 }
26178 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
26179 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
26180 }
26181 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26182 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26183 }
26184 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26185 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26186 }
26187 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26188 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26189 }
26190 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26191 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26192 }
26193 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26194 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26195 }
26196 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26198 }
26199 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26201 }
26202 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26204 }
26205 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26206 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26207 }
26208 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26209 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26210 }
26211 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26212 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26213 }
26214 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26215 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26216 }
26217 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26218 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26219 }
26220 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26221 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26222 }
26223 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26224 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26225 }
26226 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26227 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26228 }
26229 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26230 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26231 }
26232 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26233 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26234 }
26235 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26237 }
26238 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26240 }
26241 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26242 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26243 }
26244 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26245 return (void *)((wxObject *) ((wxSizerItem *) x));
26246 }
26247 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26248 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26249 }
26250 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26251 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26252 }
26253 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26254 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26255 }
26256 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26257 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26258 }
26259 static void *_p_wxSizerTo_p_wxObject(void *x) {
26260 return (void *)((wxObject *) ((wxSizer *) x));
26261 }
26262 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26263 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26264 }
26265 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26266 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26267 }
26268 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26270 }
26271 static void *_p_wxEventTo_p_wxObject(void *x) {
26272 return (void *)((wxObject *) ((wxEvent *) x));
26273 }
26274 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26275 return (void *)((wxObject *) ((wxFontData *) x));
26276 }
26277 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26278 return (void *)((wxObject *) ((wxPrintData *) x));
26279 }
26280 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26281 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26282 }
26283 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26284 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26285 }
26286 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26287 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26288 }
26289 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26290 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26291 }
26292 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26293 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26294 }
26295 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26296 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26297 }
26298 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26299 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26300 }
26301 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26302 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26303 }
26304 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26305 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26306 }
26307 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26308 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26309 }
26310 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26311 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26312 }
26313 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26314 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26315 }
26316 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26318 }
26319 static void *_p_wxControlTo_p_wxObject(void *x) {
26320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26321 }
26322 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26323 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26324 }
26325 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26326 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26327 }
26328 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26329 return (void *)((wxObject *) ((wxFSFile *) x));
26330 }
26331 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26332 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26333 }
26334 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26335 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26336 }
26337 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26339 }
26340 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26341 return (void *)((wxObject *) ((wxColourData *) x));
26342 }
26343 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26344 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26345 }
26346 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26347 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26348 }
26349 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26351 }
26352 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26354 }
26355 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26357 }
26358 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26360 }
26361 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26363 }
26364 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26366 }
26367 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26369 }
26370 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26372 }
26373 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26375 }
26376 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26377 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26378 }
26379 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26380 return (void *)((wxObject *) ((wxPrinter *) x));
26381 }
26382 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26383 return (void *)((wxObject *) ((wxMenuItem *) x));
26384 }
26385 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26386 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26387 }
26388 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26389 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26390 }
26391 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26392 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26393 }
26394 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26395 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26396 }
26397 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26398 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26399 }
26400 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26401 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26402 }
26403 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26404 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26405 }
26406 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26407 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26408 }
26409 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26410 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26411 }
26412 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26413 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26414 }
26415 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26416 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26417 }
26418 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26419 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26420 }
26421 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26422 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26423 }
26424 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26425 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26426 }
26427 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26428 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26429 }
26430 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26431 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26432 }
26433 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26434 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26435 }
26436 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26437 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26438 }
26439 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26440 return (void *)((wxObject *) ((wxImageHandler *) x));
26441 }
26442 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26443 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26444 }
26445 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26446 return (void *)((wxObject *) ((wxEvtHandler *) x));
26447 }
26448 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26449 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26450 }
26451 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26453 }
26454 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26456 }
26457 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26458 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26459 }
26460 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26462 }
26463 static void *_p_wxImageTo_p_wxObject(void *x) {
26464 return (void *)((wxObject *) ((wxImage *) x));
26465 }
26466 static void *_p_wxFrameTo_p_wxObject(void *x) {
26467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26468 }
26469 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26470 return (void *)((wxObject *) ((wxPyPrintout *) x));
26471 }
26472 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26473 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26474 }
26475 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26476 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26477 }
26478 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26480 }
26481 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26483 }
26484 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26485 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26486 }
26487 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26488 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26489 }
26490 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26491 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26492 }
26493 static void *_p_wxWindowTo_p_wxObject(void *x) {
26494 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26495 }
26496 static void *_p_wxMenuTo_p_wxObject(void *x) {
26497 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26498 }
26499 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26501 }
26502 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26504 }
26505 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26507 }
26508 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26510 }
26511 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26513 }
26514 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26516 }
26517 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26519 }
26520 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26522 }
26523 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26525 }
26526 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26528 }
26529 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26531 }
26532 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26534 }
26535 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26537 }
26538 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26540 }
26541 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26542 return (void *)((wxObject *) ((wxPrintPreview *) x));
26543 }
26544 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26545 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26546 }
26547 static void *_p_wxPanelTo_p_wxObject(void *x) {
26548 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26549 }
26550 static void *_p_wxDialogTo_p_wxObject(void *x) {
26551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26552 }
26553 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26555 }
26556 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26558 }
26559 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26561 }
26562 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26564 }
26565 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26567 }
26568 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26569 return (void *)((wxObject *) ((wxFileSystem *) x));
26570 }
26571 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26572 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26573 }
26574 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26575 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26576 }
26577 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26578 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26579 }
26580 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26581 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26582 }
26583 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26584 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26585 }
26586 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26587 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26588 }
26589 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26591 }
26592 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26593 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26594 }
26595 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26597 }
26598 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26600 }
26601 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26602 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26603 }
26604 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26605 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26606 }
26607 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26608 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26609 }
26610 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26612 }
26613 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26614 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26615 }
26616 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26617 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26618 }
26619 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26620 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26621 }
26622 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26623 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26624 }
26625 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26626 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26627 }
26628 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26629 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26630 }
26631 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26632 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26633 }
26634 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26635 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26636 }
26637 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26638 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26639 }
26640 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26641 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26642 }
26643 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26644 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26645 }
26646 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26647 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26648 }
26649 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26650 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26651 }
26652 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26653 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26654 }
26655 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26656 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26657 }
26658 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26659 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26660 }
26661 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26662 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26663 }
26664 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26665 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26666 }
26667 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26668 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26669 }
26670 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26671 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26672 }
26673 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26674 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26675 }
26676 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26677 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26678 }
26679 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26680 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26681 }
26682 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26683 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26684 }
26685 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26686 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26687 }
26688 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26689 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26690 }
26691 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26692 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26693 }
26694 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26695 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26696 }
26697 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26698 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26699 }
26700 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26701 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26702 }
26703 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26704 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26705 }
26706 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26707 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26708 }
26709 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26710 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26711 }
26712 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26713 return (void *)((wxWindow *) ((wxMenuBar *) x));
26714 }
26715 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26716 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26717 }
26718 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26719 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26720 }
26721 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26722 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26723 }
26724 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26725 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26726 }
26727 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26728 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26729 }
26730 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26731 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26732 }
26733 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26734 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26735 }
26736 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26737 return (void *)((wxWindow *) ((wxPanel *) x));
26738 }
26739 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26740 return (void *)((wxWindow *) ((wxStatusBar *) x));
26741 }
26742 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26743 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26744 }
26745 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26746 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26747 }
26748 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26749 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26750 }
26751 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26752 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26753 }
26754 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26755 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26756 }
26757 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26758 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26759 }
26760 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26761 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26762 }
26763 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26764 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26765 }
26766 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26767 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26768 }
26769 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26770 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26771 }
26772 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26773 return (void *)((wxWindow *) ((wxSashWindow *) x));
26774 }
26775 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26776 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26777 }
26778 static void *_p_wxControlTo_p_wxWindow(void *x) {
26779 return (void *)((wxWindow *) ((wxControl *) x));
26780 }
26781 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26783 }
26784 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26785 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26786 }
26787 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26788 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26789 }
26790 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26791 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26792 }
26793 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26794 return (void *)((wxWindow *) ((wxPyWindow *) x));
26795 }
26796 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26797 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26798 }
26799 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26800 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26801 }
26802 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26803 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26804 }
26805 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26806 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26807 }
26808 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26809 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26810 }
26811 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26812 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26813 }
26814 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26815 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26816 }
26817 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26818 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26819 }
26820 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26821 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26822 }
26823 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26824 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26825 }
26826 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26827 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26828 }
26829 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26830 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26831 }
26832 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26833 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26834 }
26835 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26836 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26837 }
26838 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26839 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26840 }
26841 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26842 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26843 }
26844 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26845 return (void *)((wxDialog *) ((wxColourDialog *) x));
26846 }
26847 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26848 return (void *)((wxDialog *) ((wxDirDialog *) x));
26849 }
26850 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26851 return (void *)((wxDialog *) ((wxFontDialog *) x));
26852 }
26853 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26854 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26855 }
26856 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26857 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26858 }
26859 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26860 return (void *)((wxDialog *) ((wxFileDialog *) x));
26861 }
26862 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26863 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26864 }
26865 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26866 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26867 }
26868 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26869 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26870 }
26871 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26872 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26873 }
26874 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26875 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26876 }
26877 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26878 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26879 }
26880 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26881 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26882 }
26883 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26884 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26885 }
26886 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26887 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26888 }
26889 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26890 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26891 }
26892 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26893 return (void *)((wxPanel *) ((wxPyPanel *) x));
26894 }
26895 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26896 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26897 }
26898 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26899 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26900 }
26901 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26902 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26903 }
26904 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26905 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26906 }
26907 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26908 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26909 }
26910 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26911 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26912 }
26913 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26914 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26915 }
26916 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26917 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26918 }
26919 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26920 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26921 }
26922 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26923 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26924 }
26925 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26926 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26927 }
26928 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26929 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26930 }
26931 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26932 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26933 }
26934 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26935 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26936 }
26937 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26938 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26939 }
26940 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}};
26941 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}};
26942 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}};
26943 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}};
26944 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}};
26945 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}};
26946 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}};
26947 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}};
26948 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}};
26949 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}};
26950 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}};
26951 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}};
26952 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}};
26953 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}};
26954 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}};
26955 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}};
26956 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}};
26957 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}};
26958 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}};
26959 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}};
26960 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}};
26961 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}};
26962 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}};
26963 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}};
26964 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}};
26965 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}};
26966 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}};
26967 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}};
26968 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}};
26969 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}};
26970 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}};
26971 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}};
26972 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}};
26973 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}};
26974 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}};
26975 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}};
26976 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}};
26977 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}};
26978 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}};
26979 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}};
26980 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}};
26981 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}};
26982 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}};
26983 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}};
26984 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}};
26985 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}};
26986 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}};
26987 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}};
26988 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}};
26989 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}};
26990 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}};
26991 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}};
26992 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}};
26993 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}};
26994 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}};
26995 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}};
26996 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}};
26997 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}};
26998 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}};
26999 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}};
27000 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}};
27001 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}};
27002 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}};
27003 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}};
27004 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}};
27005 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}};
27006 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}};
27007 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}};
27008 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}};
27009 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}};
27010 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}};
27011 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}};
27012 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}};
27013 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}};
27014 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}};
27015 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}};
27016 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}};
27017 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}};
27018 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}};
27019 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}};
27020 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}};
27021 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}};
27022 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}};
27023 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}};
27024 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}};
27025 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}};
27026
27027 static swig_type_info *swig_types_initial[] = {
27028 _swigt__p_wxQueryLayoutInfoEvent,
27029 _swigt__p_wxPreviewFrame,
27030 _swigt__p_wxPyPreviewFrame,
27031 _swigt__p_wxPyPanel,
27032 _swigt__p_wxMenu,
27033 _swigt__p_wxFontData,
27034 _swigt__p_wxEvent,
27035 _swigt__p_wxPrintData,
27036 _swigt__p_wxTaskBarIcon,
27037 _swigt__p_wxIconBundle,
27038 _swigt__p_wxLayoutAlgorithm,
27039 _swigt__p_wxFindDialogEvent,
27040 _swigt__p_wxPreviewCanvas,
27041 _swigt__p_wxFont,
27042 _swigt__p_wxSplitterEvent,
27043 _swigt__p_wxRegion,
27044 _swigt__p_wxFindReplaceData,
27045 _swigt__p_int,
27046 _swigt__p_wxSize,
27047 _swigt__p_wxDC,
27048 _swigt__p_wxIcon,
27049 _swigt__p_wxVisualAttributes,
27050 _swigt__p_wxMDIChildFrame,
27051 _swigt__p_wxColourData,
27052 _swigt__p_wxNotifyEvent,
27053 _swigt__p_wxPyWindow,
27054 _swigt__p_wxSplashScreen,
27055 _swigt__p_wxFindReplaceDialog,
27056 _swigt__p_wxProgressDialog,
27057 _swigt__p_wxMessageDialog,
27058 _swigt__p_wxTextEntryDialog,
27059 _swigt__p_wxSingleChoiceDialog,
27060 _swigt__p_wxMultiChoiceDialog,
27061 _swigt__p_wxFileDialog,
27062 _swigt__p_wxPrinter,
27063 _swigt__p_wxArrayInt,
27064 _swigt__p_wxEvtHandler,
27065 _swigt__p_wxCalculateLayoutEvent,
27066 _swigt__p_wxPyHtmlListBox,
27067 _swigt__p_wxPyVListBox,
27068 _swigt__p_wxRect,
27069 _swigt__p_char,
27070 _swigt__p_wxMiniFrame,
27071 _swigt__p_wxFrame,
27072 _swigt__p_wxPyPrintout,
27073 _swigt__p_wxTaskBarIconEvent,
27074 _swigt__p_wxScrollWinEvent,
27075 _swigt__p_wxStatusBar,
27076 _swigt__p_wxMDIParentFrame,
27077 _swigt__p_wxPoint,
27078 _swigt__p_wxObject,
27079 _swigt__p_wxOutputStream,
27080 _swigt__p_wxPyScrolledWindow,
27081 _swigt__p_wxMDIClientWindow,
27082 _swigt__p_wxTipWindow,
27083 _swigt__p_wxSashLayoutWindow,
27084 _swigt__p_wxSplitterWindow,
27085 _swigt__p_wxSplashScreenWindow,
27086 _swigt__p_wxPyVScrolledWindow,
27087 _swigt__p_wxPyPopupTransientWindow,
27088 _swigt__p_wxPopupWindow,
27089 _swigt__p_wxSashWindow,
27090 _swigt__p_wxTopLevelWindow,
27091 _swigt__p_wxWindow,
27092 _swigt__p_wxScrolledWindow,
27093 _swigt__p_wxMenuBar,
27094 _swigt__p_wxPrintPreview,
27095 _swigt__p_wxSashEvent,
27096 _swigt__p_wxString,
27097 _swigt__p_wxPyPrintPreview,
27098 _swigt__p_wxFontDialog,
27099 _swigt__p_wxDirDialog,
27100 _swigt__p_wxColourDialog,
27101 _swigt__p_wxDialog,
27102 _swigt__p_wxPanel,
27103 _swigt__p_wxPageSetupDialog,
27104 _swigt__p_wxPrintDialog,
27105 _swigt__p_wxFileSystem,
27106 _swigt__p_wxBitmap,
27107 _swigt__p_wxCommandEvent,
27108 _swigt__p_wxPreviewControlBar,
27109 _swigt__p_wxPyPreviewControlBar,
27110 _swigt__p_wxColour,
27111 _swigt__p_wxToolBar,
27112 _swigt__p_wxPageSetupDialogData,
27113 _swigt__p_wxPrintDialogData,
27114 0
27115 };
27116
27117
27118 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27119
27120 static swig_const_info swig_const_table[] = {
27121 {0, 0, 0, 0.0, 0, 0}};
27122
27123 #ifdef __cplusplus
27124 }
27125 #endif
27126
27127 #ifdef __cplusplus
27128 extern "C"
27129 #endif
27130 SWIGEXPORT(void) SWIG_init(void) {
27131 static PyObject *SWIG_globals = 0;
27132 static int typeinit = 0;
27133 PyObject *m, *d;
27134 int i;
27135 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27136 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27137 d = PyModule_GetDict(m);
27138
27139 if (!typeinit) {
27140 for (i = 0; swig_types_initial[i]; i++) {
27141 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27142 }
27143 typeinit = 1;
27144 }
27145 SWIG_InstallConstants(d,swig_const_table);
27146
27147 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27148 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27149 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27150 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27151 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27152 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27153 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27154 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27155 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27156 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27157 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27158 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27159 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27160 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27161 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27162 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27163 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27164 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27165 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27166 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27167 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27168 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27169 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27170 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27171 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27172 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27173 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
27174 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27175 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27176 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27177 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27178 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27179 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27180 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27181 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27182 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27183 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27184 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27185 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27186 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27187 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27188 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27189 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27190 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27191 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27192 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27193 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27194 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27195 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27196 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27197 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27198 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27199 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27200 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27201 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27202 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27203 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27204 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27205 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27206 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27207 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27208 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27209 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27210 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27211 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27212 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27213 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27214 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27215 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27216 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27217 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27218 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27219 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27220 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27221 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27222 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27223 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27224 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27225 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27226 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27227 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27228 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27229 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27230 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27231 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27232 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27233 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27234 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27235 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27236 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27237 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27238 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27239 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27240 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27241 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27242 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27243 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27244 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27245 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27246
27247 // Map renamed classes back to their common name for OOR
27248 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27249 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27250 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27251
27252 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27253 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27254 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27255 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27256 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27257 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27258 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27259 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27260 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27261 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27262 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27263 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27264 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27265 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27266 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27267 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27268 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27269 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27270 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27271 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27272 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27273 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27274 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27275 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27276 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27277 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27278 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27279 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27280 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27281 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27282 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27283 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27284 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27285 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27286 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27287 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27288 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27289 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27290 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27291 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27292 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27293 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27294 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27295 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27296 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27297 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27298 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27299 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27300 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27301 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27302 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27303 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27304 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27305 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27306 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27307 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
27308 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27309 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27310 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27311 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27312 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27313 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27314 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27315 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27316 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27317 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27318 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27319 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27320 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27321 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27322 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27323 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27324 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27325 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27326 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27327
27328 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27329
27330 }
27331