]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
b1ad8819c9a875d48191e0216d2c68a3952c608b
[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 * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3250 PyObject *obj;
3251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3252 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3253 Py_INCREF(obj);
3254 return Py_BuildValue((char *)"");
3255 }
3256 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3257 PyObject *resultobj;
3258 wxWindow *arg1 = (wxWindow *) 0 ;
3259 int arg2 = (int) (int)-1 ;
3260 wxString const &arg3_defvalue = wxPyEmptyString ;
3261 wxString *arg3 = (wxString *) &arg3_defvalue ;
3262 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3263 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3264 wxSize const &arg5_defvalue = wxDefaultSize ;
3265 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3266 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3267 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3268 wxString *arg7 = (wxString *) &arg7_defvalue ;
3269 wxFrame *result;
3270 bool temp3 = false ;
3271 wxPoint temp4 ;
3272 wxSize temp5 ;
3273 bool temp7 = false ;
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
3276 PyObject * obj2 = 0 ;
3277 PyObject * obj3 = 0 ;
3278 PyObject * obj4 = 0 ;
3279 PyObject * obj5 = 0 ;
3280 PyObject * obj6 = 0 ;
3281 char *kwnames[] = {
3282 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3283 };
3284
3285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3288 if (obj1) {
3289 arg2 = (int)SWIG_As_int(obj1);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 if (obj2) {
3293 {
3294 arg3 = wxString_in_helper(obj2);
3295 if (arg3 == NULL) SWIG_fail;
3296 temp3 = true;
3297 }
3298 }
3299 if (obj3) {
3300 {
3301 arg4 = &temp4;
3302 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3303 }
3304 }
3305 if (obj4) {
3306 {
3307 arg5 = &temp5;
3308 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3309 }
3310 }
3311 if (obj5) {
3312 arg6 = (long)SWIG_As_long(obj5);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 if (obj6) {
3316 {
3317 arg7 = wxString_in_helper(obj6);
3318 if (arg7 == NULL) SWIG_fail;
3319 temp7 = true;
3320 }
3321 }
3322 {
3323 if (!wxPyCheckForApp()) SWIG_fail;
3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
3325 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3331 {
3332 if (temp3)
3333 delete arg3;
3334 }
3335 {
3336 if (temp7)
3337 delete arg7;
3338 }
3339 return resultobj;
3340 fail:
3341 {
3342 if (temp3)
3343 delete arg3;
3344 }
3345 {
3346 if (temp7)
3347 delete arg7;
3348 }
3349 return NULL;
3350 }
3351
3352
3353 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3354 PyObject *resultobj;
3355 wxFrame *result;
3356 char *kwnames[] = {
3357 NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3361 {
3362 if (!wxPyCheckForApp()) SWIG_fail;
3363 PyThreadState* __tstate = wxPyBeginAllowThreads();
3364 result = (wxFrame *)new wxFrame();
3365
3366 wxPyEndAllowThreads(__tstate);
3367 if (PyErr_Occurred()) SWIG_fail;
3368 }
3369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3370 return resultobj;
3371 fail:
3372 return NULL;
3373 }
3374
3375
3376 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3377 PyObject *resultobj;
3378 wxFrame *arg1 = (wxFrame *) 0 ;
3379 wxWindow *arg2 = (wxWindow *) 0 ;
3380 int arg3 = (int) (int)-1 ;
3381 wxString const &arg4_defvalue = wxPyEmptyString ;
3382 wxString *arg4 = (wxString *) &arg4_defvalue ;
3383 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3384 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3385 wxSize const &arg6_defvalue = wxDefaultSize ;
3386 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3387 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3388 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3389 wxString *arg8 = (wxString *) &arg8_defvalue ;
3390 bool result;
3391 bool temp4 = false ;
3392 wxPoint temp5 ;
3393 wxSize temp6 ;
3394 bool temp8 = false ;
3395 PyObject * obj0 = 0 ;
3396 PyObject * obj1 = 0 ;
3397 PyObject * obj2 = 0 ;
3398 PyObject * obj3 = 0 ;
3399 PyObject * obj4 = 0 ;
3400 PyObject * obj5 = 0 ;
3401 PyObject * obj6 = 0 ;
3402 PyObject * obj7 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3412 if (obj2) {
3413 arg3 = (int)SWIG_As_int(obj2);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
3416 if (obj3) {
3417 {
3418 arg4 = wxString_in_helper(obj3);
3419 if (arg4 == NULL) SWIG_fail;
3420 temp4 = true;
3421 }
3422 }
3423 if (obj4) {
3424 {
3425 arg5 = &temp5;
3426 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3427 }
3428 }
3429 if (obj5) {
3430 {
3431 arg6 = &temp6;
3432 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3433 }
3434 }
3435 if (obj6) {
3436 arg7 = (long)SWIG_As_long(obj6);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 if (obj7) {
3440 {
3441 arg8 = wxString_in_helper(obj7);
3442 if (arg8 == NULL) SWIG_fail;
3443 temp8 = true;
3444 }
3445 }
3446 {
3447 PyThreadState* __tstate = wxPyBeginAllowThreads();
3448 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3449
3450 wxPyEndAllowThreads(__tstate);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 {
3454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3455 }
3456 {
3457 if (temp4)
3458 delete arg4;
3459 }
3460 {
3461 if (temp8)
3462 delete arg8;
3463 }
3464 return resultobj;
3465 fail:
3466 {
3467 if (temp4)
3468 delete arg4;
3469 }
3470 {
3471 if (temp8)
3472 delete arg8;
3473 }
3474 return NULL;
3475 }
3476
3477
3478 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3479 PyObject *resultobj;
3480 wxFrame *arg1 = (wxFrame *) 0 ;
3481 wxPoint result;
3482 PyObject * obj0 = 0 ;
3483 char *kwnames[] = {
3484 (char *) "self", NULL
3485 };
3486
3487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3493
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 {
3498 wxPoint * resultptr;
3499 resultptr = new wxPoint((wxPoint &) result);
3500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3501 }
3502 return resultobj;
3503 fail:
3504 return NULL;
3505 }
3506
3507
3508 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3509 PyObject *resultobj;
3510 wxFrame *arg1 = (wxFrame *) 0 ;
3511 PyObject * obj0 = 0 ;
3512 char *kwnames[] = {
3513 (char *) "self", NULL
3514 };
3515
3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3519 {
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 (arg1)->SendSizeEvent();
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) SWIG_fail;
3525 }
3526 Py_INCREF(Py_None); resultobj = Py_None;
3527 return resultobj;
3528 fail:
3529 return NULL;
3530 }
3531
3532
3533 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3534 PyObject *resultobj;
3535 wxFrame *arg1 = (wxFrame *) 0 ;
3536 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3537 PyObject * obj0 = 0 ;
3538 PyObject * obj1 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "self",(char *) "menubar", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3548 {
3549 PyThreadState* __tstate = wxPyBeginAllowThreads();
3550 (arg1)->SetMenuBar(arg2);
3551
3552 wxPyEndAllowThreads(__tstate);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 }
3555 Py_INCREF(Py_None); resultobj = Py_None;
3556 return resultobj;
3557 fail:
3558 return NULL;
3559 }
3560
3561
3562 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 wxFrame *arg1 = (wxFrame *) 0 ;
3565 wxMenuBar *result;
3566 PyObject * obj0 = 0 ;
3567 char *kwnames[] = {
3568 (char *) "self", NULL
3569 };
3570
3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 {
3582 resultobj = wxPyMake_wxObject(result, 0);
3583 }
3584 return resultobj;
3585 fail:
3586 return NULL;
3587 }
3588
3589
3590 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3591 PyObject *resultobj;
3592 wxFrame *arg1 = (wxFrame *) 0 ;
3593 int arg2 ;
3594 bool result;
3595 PyObject * obj0 = 0 ;
3596 PyObject * obj1 = 0 ;
3597 char *kwnames[] = {
3598 (char *) "self",(char *) "winid", NULL
3599 };
3600
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3604 arg2 = (int)SWIG_As_int(obj1);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 result = (bool)(arg1)->ProcessCommand(arg2);
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 {
3614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3615 }
3616 return resultobj;
3617 fail:
3618 return NULL;
3619 }
3620
3621
3622 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3623 PyObject *resultobj;
3624 wxFrame *arg1 = (wxFrame *) 0 ;
3625 int arg2 = (int) 1 ;
3626 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3627 int arg4 = (int) 0 ;
3628 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3629 wxString *arg5 = (wxString *) &arg5_defvalue ;
3630 wxStatusBar *result;
3631 bool temp5 = false ;
3632 PyObject * obj0 = 0 ;
3633 PyObject * obj1 = 0 ;
3634 PyObject * obj2 = 0 ;
3635 PyObject * obj3 = 0 ;
3636 PyObject * obj4 = 0 ;
3637 char *kwnames[] = {
3638 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3644 if (obj1) {
3645 arg2 = (int)SWIG_As_int(obj1);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 if (obj2) {
3649 arg3 = (long)SWIG_As_long(obj2);
3650 if (PyErr_Occurred()) SWIG_fail;
3651 }
3652 if (obj3) {
3653 arg4 = (int)SWIG_As_int(obj3);
3654 if (PyErr_Occurred()) SWIG_fail;
3655 }
3656 if (obj4) {
3657 {
3658 arg5 = wxString_in_helper(obj4);
3659 if (arg5 == NULL) SWIG_fail;
3660 temp5 = true;
3661 }
3662 }
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 {
3671 resultobj = wxPyMake_wxObject(result, 0);
3672 }
3673 {
3674 if (temp5)
3675 delete arg5;
3676 }
3677 return resultobj;
3678 fail:
3679 {
3680 if (temp5)
3681 delete arg5;
3682 }
3683 return NULL;
3684 }
3685
3686
3687 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3688 PyObject *resultobj;
3689 wxFrame *arg1 = (wxFrame *) 0 ;
3690 wxStatusBar *result;
3691 PyObject * obj0 = 0 ;
3692 char *kwnames[] = {
3693 (char *) "self", NULL
3694 };
3695
3696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3702
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 {
3707 resultobj = wxPyMake_wxObject(result, 0);
3708 }
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxFrame *arg1 = (wxFrame *) 0 ;
3718 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3719 PyObject * obj0 = 0 ;
3720 PyObject * obj1 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "self",(char *) "statBar", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 (arg1)->SetStatusBar(arg2);
3733
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 Py_INCREF(Py_None); resultobj = Py_None;
3738 return resultobj;
3739 fail:
3740 return NULL;
3741 }
3742
3743
3744 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 wxFrame *arg1 = (wxFrame *) 0 ;
3747 wxString *arg2 = 0 ;
3748 int arg3 = (int) 0 ;
3749 bool temp2 = false ;
3750 PyObject * obj0 = 0 ;
3751 PyObject * obj1 = 0 ;
3752 PyObject * obj2 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self",(char *) "text",(char *) "number", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3760 {
3761 arg2 = wxString_in_helper(obj1);
3762 if (arg2 == NULL) SWIG_fail;
3763 temp2 = true;
3764 }
3765 if (obj2) {
3766 arg3 = (int)SWIG_As_int(obj2);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
3769 {
3770 PyThreadState* __tstate = wxPyBeginAllowThreads();
3771 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3772
3773 wxPyEndAllowThreads(__tstate);
3774 if (PyErr_Occurred()) SWIG_fail;
3775 }
3776 Py_INCREF(Py_None); resultobj = Py_None;
3777 {
3778 if (temp2)
3779 delete arg2;
3780 }
3781 return resultobj;
3782 fail:
3783 {
3784 if (temp2)
3785 delete arg2;
3786 }
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxFrame *arg1 = (wxFrame *) 0 ;
3794 int arg2 ;
3795 int *arg3 = (int *) 0 ;
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 char *kwnames[] = {
3799 (char *) "self",(char *) "widths", NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3805 {
3806 arg2 = PyList_Size(obj1);
3807 arg3 = int_LIST_helper(obj1);
3808 if (arg3 == NULL) SWIG_fail;
3809 }
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 Py_INCREF(Py_None); resultobj = Py_None;
3818 {
3819 if (arg3) delete [] arg3;
3820 }
3821 return resultobj;
3822 fail:
3823 {
3824 if (arg3) delete [] arg3;
3825 }
3826 return NULL;
3827 }
3828
3829
3830 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3831 PyObject *resultobj;
3832 wxFrame *arg1 = (wxFrame *) 0 ;
3833 wxString *arg2 = 0 ;
3834 int arg3 = (int) 0 ;
3835 bool temp2 = false ;
3836 PyObject * obj0 = 0 ;
3837 PyObject * obj1 = 0 ;
3838 PyObject * obj2 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self",(char *) "text",(char *) "number", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3846 {
3847 arg2 = wxString_in_helper(obj1);
3848 if (arg2 == NULL) SWIG_fail;
3849 temp2 = true;
3850 }
3851 if (obj2) {
3852 arg3 = (int)SWIG_As_int(obj2);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 Py_INCREF(Py_None); resultobj = Py_None;
3863 {
3864 if (temp2)
3865 delete arg2;
3866 }
3867 return resultobj;
3868 fail:
3869 {
3870 if (temp2)
3871 delete arg2;
3872 }
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxFrame *arg1 = (wxFrame *) 0 ;
3880 int arg2 = (int) 0 ;
3881 PyObject * obj0 = 0 ;
3882 PyObject * obj1 = 0 ;
3883 char *kwnames[] = {
3884 (char *) "self",(char *) "number", NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3890 if (obj1) {
3891 arg2 = (int)SWIG_As_int(obj1);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 (arg1)->PopStatusText(arg2);
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 Py_INCREF(Py_None); resultobj = Py_None;
3902 return resultobj;
3903 fail:
3904 return NULL;
3905 }
3906
3907
3908 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 wxFrame *arg1 = (wxFrame *) 0 ;
3911 int arg2 ;
3912 PyObject * obj0 = 0 ;
3913 PyObject * obj1 = 0 ;
3914 char *kwnames[] = {
3915 (char *) "self",(char *) "n", NULL
3916 };
3917
3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3921 arg2 = (int)SWIG_As_int(obj1);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 (arg1)->SetStatusBarPane(arg2);
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 Py_INCREF(Py_None); resultobj = Py_None;
3931 return resultobj;
3932 fail:
3933 return NULL;
3934 }
3935
3936
3937 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3938 PyObject *resultobj;
3939 wxFrame *arg1 = (wxFrame *) 0 ;
3940 int result;
3941 PyObject * obj0 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "self", NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 resultobj = SWIG_From_int((int)result);
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxFrame *arg1 = (wxFrame *) 0 ;
3966 long arg2 = (long) -1 ;
3967 int arg3 = (int) -1 ;
3968 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3969 wxString *arg4 = (wxString *) &arg4_defvalue ;
3970 wxToolBar *result;
3971 bool temp4 = false ;
3972 PyObject * obj0 = 0 ;
3973 PyObject * obj1 = 0 ;
3974 PyObject * obj2 = 0 ;
3975 PyObject * obj3 = 0 ;
3976 char *kwnames[] = {
3977 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3978 };
3979
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3983 if (obj1) {
3984 arg2 = (long)SWIG_As_long(obj1);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 if (obj2) {
3988 arg3 = (int)SWIG_As_int(obj2);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 if (obj3) {
3992 {
3993 arg4 = wxString_in_helper(obj3);
3994 if (arg4 == NULL) SWIG_fail;
3995 temp4 = true;
3996 }
3997 }
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 {
4006 resultobj = wxPyMake_wxObject(result, 0);
4007 }
4008 {
4009 if (temp4)
4010 delete arg4;
4011 }
4012 return resultobj;
4013 fail:
4014 {
4015 if (temp4)
4016 delete arg4;
4017 }
4018 return NULL;
4019 }
4020
4021
4022 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4023 PyObject *resultobj;
4024 wxFrame *arg1 = (wxFrame *) 0 ;
4025 wxToolBar *result;
4026 PyObject * obj0 = 0 ;
4027 char *kwnames[] = {
4028 (char *) "self", NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4034 {
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4037
4038 wxPyEndAllowThreads(__tstate);
4039 if (PyErr_Occurred()) SWIG_fail;
4040 }
4041 {
4042 resultobj = wxPyMake_wxObject(result, 0);
4043 }
4044 return resultobj;
4045 fail:
4046 return NULL;
4047 }
4048
4049
4050 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxFrame *arg1 = (wxFrame *) 0 ;
4053 wxToolBar *arg2 = (wxToolBar *) 0 ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self",(char *) "toolbar", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 (arg1)->SetToolBar(arg2);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 Py_INCREF(Py_None); resultobj = Py_None;
4073 return resultobj;
4074 fail:
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxFrame *arg1 = (wxFrame *) 0 ;
4082 wxString *arg2 = 0 ;
4083 bool arg3 ;
4084 bool temp2 = false ;
4085 PyObject * obj0 = 0 ;
4086 PyObject * obj1 = 0 ;
4087 PyObject * obj2 = 0 ;
4088 char *kwnames[] = {
4089 (char *) "self",(char *) "text",(char *) "show", NULL
4090 };
4091
4092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4095 {
4096 arg2 = wxString_in_helper(obj1);
4097 if (arg2 == NULL) SWIG_fail;
4098 temp2 = true;
4099 }
4100 arg3 = (bool)SWIG_As_bool(obj2);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 {
4103 PyThreadState* __tstate = wxPyBeginAllowThreads();
4104 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4105
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 Py_INCREF(Py_None); resultobj = Py_None;
4110 {
4111 if (temp2)
4112 delete arg2;
4113 }
4114 return resultobj;
4115 fail:
4116 {
4117 if (temp2)
4118 delete arg2;
4119 }
4120 return NULL;
4121 }
4122
4123
4124 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4125 PyObject *resultobj;
4126 wxFrame *arg1 = (wxFrame *) 0 ;
4127 wxMenu *arg2 = (wxMenu *) NULL ;
4128 PyObject * obj0 = 0 ;
4129 PyObject * obj1 = 0 ;
4130 char *kwnames[] = {
4131 (char *) "self",(char *) "menu", NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4137 if (obj1) {
4138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4140 }
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 (arg1)->DoMenuUpdates(arg2);
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 Py_INCREF(Py_None); resultobj = Py_None;
4149 return resultobj;
4150 fail:
4151 return NULL;
4152 }
4153
4154
4155 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj;
4157 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4158 wxVisualAttributes result;
4159 PyObject * obj0 = 0 ;
4160 char *kwnames[] = {
4161 (char *) "variant", NULL
4162 };
4163
4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4165 if (obj0) {
4166 arg1 = (int)SWIG_As_int(obj0);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 {
4170 if (!wxPyCheckForApp()) SWIG_fail;
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 {
4178 wxVisualAttributes * resultptr;
4179 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4181 }
4182 return resultobj;
4183 fail:
4184 return NULL;
4185 }
4186
4187
4188 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4189 PyObject *obj;
4190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4191 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4192 Py_INCREF(obj);
4193 return Py_BuildValue((char *)"");
4194 }
4195 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4196 PyObject *resultobj;
4197 wxWindow *arg1 = (wxWindow *) 0 ;
4198 int arg2 = (int) (int)-1 ;
4199 wxString const &arg3_defvalue = wxPyEmptyString ;
4200 wxString *arg3 = (wxString *) &arg3_defvalue ;
4201 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4202 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4203 wxSize const &arg5_defvalue = wxDefaultSize ;
4204 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4205 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4206 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4207 wxString *arg7 = (wxString *) &arg7_defvalue ;
4208 wxDialog *result;
4209 bool temp3 = false ;
4210 wxPoint temp4 ;
4211 wxSize temp5 ;
4212 bool temp7 = false ;
4213 PyObject * obj0 = 0 ;
4214 PyObject * obj1 = 0 ;
4215 PyObject * obj2 = 0 ;
4216 PyObject * obj3 = 0 ;
4217 PyObject * obj4 = 0 ;
4218 PyObject * obj5 = 0 ;
4219 PyObject * obj6 = 0 ;
4220 char *kwnames[] = {
4221 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4222 };
4223
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4227 if (obj1) {
4228 arg2 = (int)SWIG_As_int(obj1);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 if (obj2) {
4232 {
4233 arg3 = wxString_in_helper(obj2);
4234 if (arg3 == NULL) SWIG_fail;
4235 temp3 = true;
4236 }
4237 }
4238 if (obj3) {
4239 {
4240 arg4 = &temp4;
4241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4242 }
4243 }
4244 if (obj4) {
4245 {
4246 arg5 = &temp5;
4247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4248 }
4249 }
4250 if (obj5) {
4251 arg6 = (long)SWIG_As_long(obj5);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 if (obj6) {
4255 {
4256 arg7 = wxString_in_helper(obj6);
4257 if (arg7 == NULL) SWIG_fail;
4258 temp7 = true;
4259 }
4260 }
4261 {
4262 if (!wxPyCheckForApp()) SWIG_fail;
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4270 {
4271 if (temp3)
4272 delete arg3;
4273 }
4274 {
4275 if (temp7)
4276 delete arg7;
4277 }
4278 return resultobj;
4279 fail:
4280 {
4281 if (temp3)
4282 delete arg3;
4283 }
4284 {
4285 if (temp7)
4286 delete arg7;
4287 }
4288 return NULL;
4289 }
4290
4291
4292 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4293 PyObject *resultobj;
4294 wxDialog *result;
4295 char *kwnames[] = {
4296 NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4300 {
4301 if (!wxPyCheckForApp()) SWIG_fail;
4302 PyThreadState* __tstate = wxPyBeginAllowThreads();
4303 result = (wxDialog *)new wxDialog();
4304
4305 wxPyEndAllowThreads(__tstate);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4309 return resultobj;
4310 fail:
4311 return NULL;
4312 }
4313
4314
4315 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4316 PyObject *resultobj;
4317 wxDialog *arg1 = (wxDialog *) 0 ;
4318 wxWindow *arg2 = (wxWindow *) 0 ;
4319 int arg3 = (int) (int)-1 ;
4320 wxString const &arg4_defvalue = wxPyEmptyString ;
4321 wxString *arg4 = (wxString *) &arg4_defvalue ;
4322 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4323 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4324 wxSize const &arg6_defvalue = wxDefaultSize ;
4325 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4326 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4327 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4328 wxString *arg8 = (wxString *) &arg8_defvalue ;
4329 bool result;
4330 bool temp4 = false ;
4331 wxPoint temp5 ;
4332 wxSize temp6 ;
4333 bool temp8 = false ;
4334 PyObject * obj0 = 0 ;
4335 PyObject * obj1 = 0 ;
4336 PyObject * obj2 = 0 ;
4337 PyObject * obj3 = 0 ;
4338 PyObject * obj4 = 0 ;
4339 PyObject * obj5 = 0 ;
4340 PyObject * obj6 = 0 ;
4341 PyObject * obj7 = 0 ;
4342 char *kwnames[] = {
4343 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4344 };
4345
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4351 if (obj2) {
4352 arg3 = (int)SWIG_As_int(obj2);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 if (obj3) {
4356 {
4357 arg4 = wxString_in_helper(obj3);
4358 if (arg4 == NULL) SWIG_fail;
4359 temp4 = true;
4360 }
4361 }
4362 if (obj4) {
4363 {
4364 arg5 = &temp5;
4365 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4366 }
4367 }
4368 if (obj5) {
4369 {
4370 arg6 = &temp6;
4371 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4372 }
4373 }
4374 if (obj6) {
4375 arg7 = (long)SWIG_As_long(obj6);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 if (obj7) {
4379 {
4380 arg8 = wxString_in_helper(obj7);
4381 if (arg8 == NULL) SWIG_fail;
4382 temp8 = true;
4383 }
4384 }
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4388
4389 wxPyEndAllowThreads(__tstate);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 }
4392 {
4393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4394 }
4395 {
4396 if (temp4)
4397 delete arg4;
4398 }
4399 {
4400 if (temp8)
4401 delete arg8;
4402 }
4403 return resultobj;
4404 fail:
4405 {
4406 if (temp4)
4407 delete arg4;
4408 }
4409 {
4410 if (temp8)
4411 delete arg8;
4412 }
4413 return NULL;
4414 }
4415
4416
4417 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxDialog *arg1 = (wxDialog *) 0 ;
4420 int arg2 ;
4421 PyObject * obj0 = 0 ;
4422 PyObject * obj1 = 0 ;
4423 char *kwnames[] = {
4424 (char *) "self",(char *) "returnCode", NULL
4425 };
4426
4427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4430 arg2 = (int)SWIG_As_int(obj1);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 {
4433 PyThreadState* __tstate = wxPyBeginAllowThreads();
4434 (arg1)->SetReturnCode(arg2);
4435
4436 wxPyEndAllowThreads(__tstate);
4437 if (PyErr_Occurred()) SWIG_fail;
4438 }
4439 Py_INCREF(Py_None); resultobj = Py_None;
4440 return resultobj;
4441 fail:
4442 return NULL;
4443 }
4444
4445
4446 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj;
4448 wxDialog *arg1 = (wxDialog *) 0 ;
4449 int result;
4450 PyObject * obj0 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 resultobj = SWIG_From_int((int)result);
4466 return resultobj;
4467 fail:
4468 return NULL;
4469 }
4470
4471
4472 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4473 PyObject *resultobj;
4474 wxDialog *arg1 = (wxDialog *) 0 ;
4475 wxString *arg2 = 0 ;
4476 wxSizer *result;
4477 bool temp2 = false ;
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self",(char *) "message", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4487 {
4488 arg2 = wxString_in_helper(obj1);
4489 if (arg2 == NULL) SWIG_fail;
4490 temp2 = true;
4491 }
4492 {
4493 PyThreadState* __tstate = wxPyBeginAllowThreads();
4494 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4495
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 }
4499 {
4500 resultobj = wxPyMake_wxSizer(result, 0);
4501 }
4502 {
4503 if (temp2)
4504 delete arg2;
4505 }
4506 return resultobj;
4507 fail:
4508 {
4509 if (temp2)
4510 delete arg2;
4511 }
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxDialog *arg1 = (wxDialog *) 0 ;
4519 long arg2 ;
4520 wxSizer *result;
4521 PyObject * obj0 = 0 ;
4522 PyObject * obj1 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self",(char *) "flags", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4530 arg2 = (long)SWIG_As_long(obj1);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 {
4533 PyThreadState* __tstate = wxPyBeginAllowThreads();
4534 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4535
4536 wxPyEndAllowThreads(__tstate);
4537 if (PyErr_Occurred()) SWIG_fail;
4538 }
4539 {
4540 resultobj = wxPyMake_wxSizer(result, 0);
4541 }
4542 return resultobj;
4543 fail:
4544 return NULL;
4545 }
4546
4547
4548 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxDialog *arg1 = (wxDialog *) 0 ;
4551 bool result;
4552 PyObject * obj0 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "self", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 result = (bool)((wxDialog const *)arg1)->IsModal();
4563
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 {
4568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4569 }
4570 return resultobj;
4571 fail:
4572 return NULL;
4573 }
4574
4575
4576 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4577 PyObject *resultobj;
4578 wxDialog *arg1 = (wxDialog *) 0 ;
4579 int result;
4580 PyObject * obj0 = 0 ;
4581 char *kwnames[] = {
4582 (char *) "self", NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",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 = (int)(arg1)->ShowModal();
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 resultobj = SWIG_From_int((int)result);
4596 return resultobj;
4597 fail:
4598 return NULL;
4599 }
4600
4601
4602 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4603 PyObject *resultobj;
4604 wxDialog *arg1 = (wxDialog *) 0 ;
4605 int arg2 ;
4606 PyObject * obj0 = 0 ;
4607 PyObject * obj1 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "self",(char *) "retCode", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4615 arg2 = (int)SWIG_As_int(obj1);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 (arg1)->EndModal(arg2);
4620
4621 wxPyEndAllowThreads(__tstate);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 }
4624 Py_INCREF(Py_None); resultobj = Py_None;
4625 return resultobj;
4626 fail:
4627 return NULL;
4628 }
4629
4630
4631 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4634 wxVisualAttributes result;
4635 PyObject * obj0 = 0 ;
4636 char *kwnames[] = {
4637 (char *) "variant", NULL
4638 };
4639
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4641 if (obj0) {
4642 arg1 = (int)SWIG_As_int(obj0);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 {
4646 if (!wxPyCheckForApp()) SWIG_fail;
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 {
4654 wxVisualAttributes * resultptr;
4655 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4657 }
4658 return resultobj;
4659 fail:
4660 return NULL;
4661 }
4662
4663
4664 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4665 PyObject *obj;
4666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4667 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4668 Py_INCREF(obj);
4669 return Py_BuildValue((char *)"");
4670 }
4671 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj;
4673 wxWindow *arg1 = (wxWindow *) 0 ;
4674 int arg2 = (int) (int)-1 ;
4675 wxString const &arg3_defvalue = wxPyEmptyString ;
4676 wxString *arg3 = (wxString *) &arg3_defvalue ;
4677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4679 wxSize const &arg5_defvalue = wxDefaultSize ;
4680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4681 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4682 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4683 wxString *arg7 = (wxString *) &arg7_defvalue ;
4684 wxMiniFrame *result;
4685 bool temp3 = false ;
4686 wxPoint temp4 ;
4687 wxSize temp5 ;
4688 bool temp7 = false ;
4689 PyObject * obj0 = 0 ;
4690 PyObject * obj1 = 0 ;
4691 PyObject * obj2 = 0 ;
4692 PyObject * obj3 = 0 ;
4693 PyObject * obj4 = 0 ;
4694 PyObject * obj5 = 0 ;
4695 PyObject * obj6 = 0 ;
4696 char *kwnames[] = {
4697 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4698 };
4699
4700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4703 if (obj1) {
4704 arg2 = (int)SWIG_As_int(obj1);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 if (obj2) {
4708 {
4709 arg3 = wxString_in_helper(obj2);
4710 if (arg3 == NULL) SWIG_fail;
4711 temp3 = true;
4712 }
4713 }
4714 if (obj3) {
4715 {
4716 arg4 = &temp4;
4717 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4718 }
4719 }
4720 if (obj4) {
4721 {
4722 arg5 = &temp5;
4723 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4724 }
4725 }
4726 if (obj5) {
4727 arg6 = (long)SWIG_As_long(obj5);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 if (obj6) {
4731 {
4732 arg7 = wxString_in_helper(obj6);
4733 if (arg7 == NULL) SWIG_fail;
4734 temp7 = true;
4735 }
4736 }
4737 {
4738 if (!wxPyCheckForApp()) SWIG_fail;
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
4745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4746 {
4747 if (temp3)
4748 delete arg3;
4749 }
4750 {
4751 if (temp7)
4752 delete arg7;
4753 }
4754 return resultobj;
4755 fail:
4756 {
4757 if (temp3)
4758 delete arg3;
4759 }
4760 {
4761 if (temp7)
4762 delete arg7;
4763 }
4764 return NULL;
4765 }
4766
4767
4768 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4769 PyObject *resultobj;
4770 wxMiniFrame *result;
4771 char *kwnames[] = {
4772 NULL
4773 };
4774
4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4776 {
4777 if (!wxPyCheckForApp()) SWIG_fail;
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (wxMiniFrame *)new wxMiniFrame();
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4792 PyObject *resultobj;
4793 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4794 wxWindow *arg2 = (wxWindow *) 0 ;
4795 int arg3 = (int) (int)-1 ;
4796 wxString const &arg4_defvalue = wxPyEmptyString ;
4797 wxString *arg4 = (wxString *) &arg4_defvalue ;
4798 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4799 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4800 wxSize const &arg6_defvalue = wxDefaultSize ;
4801 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4802 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4803 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4804 wxString *arg8 = (wxString *) &arg8_defvalue ;
4805 bool result;
4806 bool temp4 = false ;
4807 wxPoint temp5 ;
4808 wxSize temp6 ;
4809 bool temp8 = false ;
4810 PyObject * obj0 = 0 ;
4811 PyObject * obj1 = 0 ;
4812 PyObject * obj2 = 0 ;
4813 PyObject * obj3 = 0 ;
4814 PyObject * obj4 = 0 ;
4815 PyObject * obj5 = 0 ;
4816 PyObject * obj6 = 0 ;
4817 PyObject * obj7 = 0 ;
4818 char *kwnames[] = {
4819 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4820 };
4821
4822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4827 if (obj2) {
4828 arg3 = (int)SWIG_As_int(obj2);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
4831 if (obj3) {
4832 {
4833 arg4 = wxString_in_helper(obj3);
4834 if (arg4 == NULL) SWIG_fail;
4835 temp4 = true;
4836 }
4837 }
4838 if (obj4) {
4839 {
4840 arg5 = &temp5;
4841 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4842 }
4843 }
4844 if (obj5) {
4845 {
4846 arg6 = &temp6;
4847 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4848 }
4849 }
4850 if (obj6) {
4851 arg7 = (long)SWIG_As_long(obj6);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 if (obj7) {
4855 {
4856 arg8 = wxString_in_helper(obj7);
4857 if (arg8 == NULL) SWIG_fail;
4858 temp8 = true;
4859 }
4860 }
4861 {
4862 PyThreadState* __tstate = wxPyBeginAllowThreads();
4863 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4864
4865 wxPyEndAllowThreads(__tstate);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 {
4869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4870 }
4871 {
4872 if (temp4)
4873 delete arg4;
4874 }
4875 {
4876 if (temp8)
4877 delete arg8;
4878 }
4879 return resultobj;
4880 fail:
4881 {
4882 if (temp4)
4883 delete arg4;
4884 }
4885 {
4886 if (temp8)
4887 delete arg8;
4888 }
4889 return NULL;
4890 }
4891
4892
4893 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4894 PyObject *obj;
4895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4896 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4897 Py_INCREF(obj);
4898 return Py_BuildValue((char *)"");
4899 }
4900 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4901 PyObject *resultobj;
4902 wxBitmap *arg1 = 0 ;
4903 wxWindow *arg2 = (wxWindow *) 0 ;
4904 int arg3 ;
4905 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4906 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4907 wxSize const &arg5_defvalue = wxDefaultSize ;
4908 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4909 long arg6 = (long) wxNO_BORDER ;
4910 wxSplashScreenWindow *result;
4911 wxPoint temp4 ;
4912 wxSize temp5 ;
4913 PyObject * obj0 = 0 ;
4914 PyObject * obj1 = 0 ;
4915 PyObject * obj2 = 0 ;
4916 PyObject * obj3 = 0 ;
4917 PyObject * obj4 = 0 ;
4918 PyObject * obj5 = 0 ;
4919 char *kwnames[] = {
4920 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4921 };
4922
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4925 SWIG_POINTER_EXCEPTION | 0)) == -1)
4926 SWIG_fail;
4927 if (arg1 == NULL) {
4928 PyErr_SetString(PyExc_TypeError,"null reference");
4929 SWIG_fail;
4930 }
4931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4933 arg3 = (int)SWIG_As_int(obj2);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 if (obj3) {
4936 {
4937 arg4 = &temp4;
4938 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4939 }
4940 }
4941 if (obj4) {
4942 {
4943 arg5 = &temp5;
4944 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4945 }
4946 }
4947 if (obj5) {
4948 arg6 = (long)SWIG_As_long(obj5);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 {
4952 if (!wxPyCheckForApp()) SWIG_fail;
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4955
4956 wxPyEndAllowThreads(__tstate);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4960 return resultobj;
4961 fail:
4962 return NULL;
4963 }
4964
4965
4966 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4967 PyObject *resultobj;
4968 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4969 wxBitmap *arg2 = 0 ;
4970 PyObject * obj0 = 0 ;
4971 PyObject * obj1 = 0 ;
4972 char *kwnames[] = {
4973 (char *) "self",(char *) "bitmap", NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4980 SWIG_POINTER_EXCEPTION | 0)) == -1)
4981 SWIG_fail;
4982 if (arg2 == NULL) {
4983 PyErr_SetString(PyExc_TypeError,"null reference");
4984 SWIG_fail;
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 Py_INCREF(Py_None); resultobj = Py_None;
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5003 wxBitmap *result;
5004 PyObject * obj0 = 0 ;
5005 char *kwnames[] = {
5006 (char *) "self", NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 {
5015 wxBitmap &_result_ref = (arg1)->GetBitmap();
5016 result = (wxBitmap *) &_result_ref;
5017 }
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 {
5023 wxBitmap* resultptr = new wxBitmap(*result);
5024 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5025 }
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5033 PyObject *obj;
5034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5036 Py_INCREF(obj);
5037 return Py_BuildValue((char *)"");
5038 }
5039 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxBitmap *arg1 = 0 ;
5042 long arg2 ;
5043 int arg3 ;
5044 wxWindow *arg4 = (wxWindow *) 0 ;
5045 int arg5 = (int) -1 ;
5046 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5047 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5048 wxSize const &arg7_defvalue = wxDefaultSize ;
5049 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5050 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5051 wxSplashScreen *result;
5052 wxPoint temp6 ;
5053 wxSize temp7 ;
5054 PyObject * obj0 = 0 ;
5055 PyObject * obj1 = 0 ;
5056 PyObject * obj2 = 0 ;
5057 PyObject * obj3 = 0 ;
5058 PyObject * obj4 = 0 ;
5059 PyObject * obj5 = 0 ;
5060 PyObject * obj6 = 0 ;
5061 PyObject * obj7 = 0 ;
5062 char *kwnames[] = {
5063 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5064 };
5065
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5068 SWIG_POINTER_EXCEPTION | 0)) == -1)
5069 SWIG_fail;
5070 if (arg1 == NULL) {
5071 PyErr_SetString(PyExc_TypeError,"null reference");
5072 SWIG_fail;
5073 }
5074 arg2 = (long)SWIG_As_long(obj1);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 arg3 = (int)SWIG_As_int(obj2);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5080 if (obj4) {
5081 arg5 = (int)SWIG_As_int(obj4);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 if (obj5) {
5085 {
5086 arg6 = &temp6;
5087 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5088 }
5089 }
5090 if (obj6) {
5091 {
5092 arg7 = &temp7;
5093 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5094 }
5095 }
5096 if (obj7) {
5097 arg8 = (long)SWIG_As_long(obj7);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 {
5101 if (!wxPyCheckForApp()) SWIG_fail;
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5104
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5109 return resultobj;
5110 fail:
5111 return NULL;
5112 }
5113
5114
5115 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5116 PyObject *resultobj;
5117 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5118 long result;
5119 PyObject * obj0 = 0 ;
5120 char *kwnames[] = {
5121 (char *) "self", NULL
5122 };
5123
5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5127 {
5128 PyThreadState* __tstate = wxPyBeginAllowThreads();
5129 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5130
5131 wxPyEndAllowThreads(__tstate);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
5134 resultobj = SWIG_From_long((long)result);
5135 return resultobj;
5136 fail:
5137 return NULL;
5138 }
5139
5140
5141 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5142 PyObject *resultobj;
5143 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5144 wxSplashScreenWindow *result;
5145 PyObject * obj0 = 0 ;
5146 char *kwnames[] = {
5147 (char *) "self", NULL
5148 };
5149
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5161 return resultobj;
5162 fail:
5163 return NULL;
5164 }
5165
5166
5167 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5170 int result;
5171 PyObject * obj0 = 0 ;
5172 char *kwnames[] = {
5173 (char *) "self", NULL
5174 };
5175
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 resultobj = SWIG_From_int((int)result);
5187 return resultobj;
5188 fail:
5189 return NULL;
5190 }
5191
5192
5193 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5194 PyObject *obj;
5195 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5196 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5197 Py_INCREF(obj);
5198 return Py_BuildValue((char *)"");
5199 }
5200 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5201 PyObject *resultobj;
5202 wxWindow *arg1 = (wxWindow *) 0 ;
5203 int arg2 = (int) -1 ;
5204 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
5205 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5206 wxString *arg4 = (wxString *) &arg4_defvalue ;
5207 wxStatusBar *result;
5208 bool temp4 = false ;
5209 PyObject * obj0 = 0 ;
5210 PyObject * obj1 = 0 ;
5211 PyObject * obj2 = 0 ;
5212 PyObject * obj3 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5220 if (obj1) {
5221 arg2 = (int)SWIG_As_int(obj1);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 if (obj2) {
5225 arg3 = (long)SWIG_As_long(obj2);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 if (obj3) {
5229 {
5230 arg4 = wxString_in_helper(obj3);
5231 if (arg4 == NULL) SWIG_fail;
5232 temp4 = true;
5233 }
5234 }
5235 {
5236 if (!wxPyCheckForApp()) SWIG_fail;
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5244 {
5245 if (temp4)
5246 delete arg4;
5247 }
5248 return resultobj;
5249 fail:
5250 {
5251 if (temp4)
5252 delete arg4;
5253 }
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxStatusBar *result;
5261 char *kwnames[] = {
5262 NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5266 {
5267 if (!wxPyCheckForApp()) SWIG_fail;
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = (wxStatusBar *)new wxStatusBar();
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5284 wxWindow *arg2 = (wxWindow *) 0 ;
5285 int arg3 = (int) -1 ;
5286 long arg4 = (long) wxST_SIZEGRIP ;
5287 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5288 wxString *arg5 = (wxString *) &arg5_defvalue ;
5289 bool result;
5290 bool temp5 = false ;
5291 PyObject * obj0 = 0 ;
5292 PyObject * obj1 = 0 ;
5293 PyObject * obj2 = 0 ;
5294 PyObject * obj3 = 0 ;
5295 PyObject * obj4 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5298 };
5299
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5305 if (obj2) {
5306 arg3 = (int)SWIG_As_int(obj2);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 if (obj3) {
5310 arg4 = (long)SWIG_As_long(obj3);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 if (obj4) {
5314 {
5315 arg5 = wxString_in_helper(obj4);
5316 if (arg5 == NULL) SWIG_fail;
5317 temp5 = true;
5318 }
5319 }
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 {
5328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5329 }
5330 {
5331 if (temp5)
5332 delete arg5;
5333 }
5334 return resultobj;
5335 fail:
5336 {
5337 if (temp5)
5338 delete arg5;
5339 }
5340 return NULL;
5341 }
5342
5343
5344 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5345 PyObject *resultobj;
5346 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5347 int arg2 = (int) 1 ;
5348 PyObject * obj0 = 0 ;
5349 PyObject * obj1 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self",(char *) "number", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5357 if (obj1) {
5358 arg2 = (int)SWIG_As_int(obj1);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 (arg1)->SetFieldsCount(arg2);
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 Py_INCREF(Py_None); resultobj = Py_None;
5369 return resultobj;
5370 fail:
5371 return NULL;
5372 }
5373
5374
5375 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj;
5377 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5378 int result;
5379 PyObject * obj0 = 0 ;
5380 char *kwnames[] = {
5381 (char *) "self", NULL
5382 };
5383
5384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_From_int((int)result);
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5402 PyObject *resultobj;
5403 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5404 wxString *arg2 = 0 ;
5405 int arg3 = (int) 0 ;
5406 bool temp2 = false ;
5407 PyObject * obj0 = 0 ;
5408 PyObject * obj1 = 0 ;
5409 PyObject * obj2 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self",(char *) "text",(char *) "number", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5417 {
5418 arg2 = wxString_in_helper(obj1);
5419 if (arg2 == NULL) SWIG_fail;
5420 temp2 = true;
5421 }
5422 if (obj2) {
5423 arg3 = (int)SWIG_As_int(obj2);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 {
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5429
5430 wxPyEndAllowThreads(__tstate);
5431 if (PyErr_Occurred()) SWIG_fail;
5432 }
5433 Py_INCREF(Py_None); resultobj = Py_None;
5434 {
5435 if (temp2)
5436 delete arg2;
5437 }
5438 return resultobj;
5439 fail:
5440 {
5441 if (temp2)
5442 delete arg2;
5443 }
5444 return NULL;
5445 }
5446
5447
5448 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5451 int arg2 = (int) 0 ;
5452 wxString result;
5453 PyObject * obj0 = 0 ;
5454 PyObject * obj1 = 0 ;
5455 char *kwnames[] = {
5456 (char *) "self",(char *) "number", NULL
5457 };
5458
5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5462 if (obj1) {
5463 arg2 = (int)SWIG_As_int(obj1);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 {
5474 #if wxUSE_UNICODE
5475 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5476 #else
5477 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5478 #endif
5479 }
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj;
5488 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5489 wxString *arg2 = 0 ;
5490 int arg3 = (int) 0 ;
5491 bool temp2 = false ;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 PyObject * obj2 = 0 ;
5495 char *kwnames[] = {
5496 (char *) "self",(char *) "text",(char *) "number", NULL
5497 };
5498
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5502 {
5503 arg2 = wxString_in_helper(obj1);
5504 if (arg2 == NULL) SWIG_fail;
5505 temp2 = true;
5506 }
5507 if (obj2) {
5508 arg3 = (int)SWIG_As_int(obj2);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5514
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 Py_INCREF(Py_None); resultobj = Py_None;
5519 {
5520 if (temp2)
5521 delete arg2;
5522 }
5523 return resultobj;
5524 fail:
5525 {
5526 if (temp2)
5527 delete arg2;
5528 }
5529 return NULL;
5530 }
5531
5532
5533 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5534 PyObject *resultobj;
5535 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5536 int arg2 = (int) 0 ;
5537 PyObject * obj0 = 0 ;
5538 PyObject * obj1 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self",(char *) "number", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5546 if (obj1) {
5547 arg2 = (int)SWIG_As_int(obj1);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 }
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 (arg1)->PopStatusText(arg2);
5553
5554 wxPyEndAllowThreads(__tstate);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 Py_INCREF(Py_None); resultobj = Py_None;
5558 return resultobj;
5559 fail:
5560 return NULL;
5561 }
5562
5563
5564 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5565 PyObject *resultobj;
5566 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5567 int arg2 ;
5568 int *arg3 = (int *) 0 ;
5569 PyObject * obj0 = 0 ;
5570 PyObject * obj1 = 0 ;
5571 char *kwnames[] = {
5572 (char *) "self",(char *) "widths", NULL
5573 };
5574
5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5578 {
5579 arg2 = PyList_Size(obj1);
5580 arg3 = int_LIST_helper(obj1);
5581 if (arg3 == NULL) SWIG_fail;
5582 }
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 Py_INCREF(Py_None); resultobj = Py_None;
5591 {
5592 if (arg3) delete [] arg3;
5593 }
5594 return resultobj;
5595 fail:
5596 {
5597 if (arg3) delete [] arg3;
5598 }
5599 return NULL;
5600 }
5601
5602
5603 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj;
5605 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5606 int arg2 ;
5607 int *arg3 = (int *) 0 ;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 char *kwnames[] = {
5611 (char *) "self",(char *) "styles", NULL
5612 };
5613
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5617 {
5618 arg2 = PyList_Size(obj1);
5619 arg3 = int_LIST_helper(obj1);
5620 if (arg3 == NULL) SWIG_fail;
5621 }
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5625
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 Py_INCREF(Py_None); resultobj = Py_None;
5630 {
5631 if (arg3) delete [] arg3;
5632 }
5633 return resultobj;
5634 fail:
5635 {
5636 if (arg3) delete [] arg3;
5637 }
5638 return NULL;
5639 }
5640
5641
5642 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5643 PyObject *resultobj;
5644 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5645 int arg2 ;
5646 wxRect result;
5647 PyObject * obj0 = 0 ;
5648 PyObject * obj1 = 0 ;
5649 char *kwnames[] = {
5650 (char *) "self",(char *) "i", NULL
5651 };
5652
5653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5656 arg2 = (int)SWIG_As_int(obj1);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = wxStatusBar_GetFieldRect(arg1,arg2);
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 {
5666 wxRect * resultptr;
5667 resultptr = new wxRect((wxRect &) result);
5668 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5669 }
5670 return resultobj;
5671 fail:
5672 return NULL;
5673 }
5674
5675
5676 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj;
5678 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5679 int arg2 ;
5680 PyObject * obj0 = 0 ;
5681 PyObject * obj1 = 0 ;
5682 char *kwnames[] = {
5683 (char *) "self",(char *) "height", NULL
5684 };
5685
5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5689 arg2 = (int)SWIG_As_int(obj1);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 (arg1)->SetMinHeight(arg2);
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 Py_INCREF(Py_None); resultobj = Py_None;
5699 return resultobj;
5700 fail:
5701 return NULL;
5702 }
5703
5704
5705 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5706 PyObject *resultobj;
5707 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5708 int result;
5709 PyObject * obj0 = 0 ;
5710 char *kwnames[] = {
5711 (char *) "self", NULL
5712 };
5713
5714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 resultobj = SWIG_From_int((int)result);
5725 return resultobj;
5726 fail:
5727 return NULL;
5728 }
5729
5730
5731 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5732 PyObject *resultobj;
5733 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5734 int result;
5735 PyObject * obj0 = 0 ;
5736 char *kwnames[] = {
5737 (char *) "self", NULL
5738 };
5739
5740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5743 {
5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
5745 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5746
5747 wxPyEndAllowThreads(__tstate);
5748 if (PyErr_Occurred()) SWIG_fail;
5749 }
5750 resultobj = SWIG_From_int((int)result);
5751 return resultobj;
5752 fail:
5753 return NULL;
5754 }
5755
5756
5757 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5758 PyObject *resultobj;
5759 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5760 wxVisualAttributes result;
5761 PyObject * obj0 = 0 ;
5762 char *kwnames[] = {
5763 (char *) "variant", NULL
5764 };
5765
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5767 if (obj0) {
5768 arg1 = (int)SWIG_As_int(obj0);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 {
5772 if (!wxPyCheckForApp()) SWIG_fail;
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 {
5780 wxVisualAttributes * resultptr;
5781 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5783 }
5784 return resultobj;
5785 fail:
5786 return NULL;
5787 }
5788
5789
5790 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5791 PyObject *obj;
5792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5793 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5794 Py_INCREF(obj);
5795 return Py_BuildValue((char *)"");
5796 }
5797 static int _wrap_SplitterNameStr_set(PyObject *) {
5798 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5799 return 1;
5800 }
5801
5802
5803 static PyObject *_wrap_SplitterNameStr_get() {
5804 PyObject *pyobj;
5805
5806 {
5807 #if wxUSE_UNICODE
5808 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5809 #else
5810 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5811 #endif
5812 }
5813 return pyobj;
5814 }
5815
5816
5817 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5818 PyObject *resultobj;
5819 wxWindow *arg1 = (wxWindow *) 0 ;
5820 int arg2 = (int) -1 ;
5821 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5822 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5823 wxSize const &arg4_defvalue = wxDefaultSize ;
5824 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5825 long arg5 = (long) wxSP_3D ;
5826 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5827 wxString *arg6 = (wxString *) &arg6_defvalue ;
5828 wxSplitterWindow *result;
5829 wxPoint temp3 ;
5830 wxSize temp4 ;
5831 bool temp6 = false ;
5832 PyObject * obj0 = 0 ;
5833 PyObject * obj1 = 0 ;
5834 PyObject * obj2 = 0 ;
5835 PyObject * obj3 = 0 ;
5836 PyObject * obj4 = 0 ;
5837 PyObject * obj5 = 0 ;
5838 char *kwnames[] = {
5839 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5845 if (obj1) {
5846 arg2 = (int)SWIG_As_int(obj1);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 if (obj2) {
5850 {
5851 arg3 = &temp3;
5852 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5853 }
5854 }
5855 if (obj3) {
5856 {
5857 arg4 = &temp4;
5858 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5859 }
5860 }
5861 if (obj4) {
5862 arg5 = (long)SWIG_As_long(obj4);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 if (obj5) {
5866 {
5867 arg6 = wxString_in_helper(obj5);
5868 if (arg6 == NULL) SWIG_fail;
5869 temp6 = true;
5870 }
5871 }
5872 {
5873 if (!wxPyCheckForApp()) SWIG_fail;
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5881 {
5882 if (temp6)
5883 delete arg6;
5884 }
5885 return resultobj;
5886 fail:
5887 {
5888 if (temp6)
5889 delete arg6;
5890 }
5891 return NULL;
5892 }
5893
5894
5895 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 wxSplitterWindow *result;
5898 char *kwnames[] = {
5899 NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5903 {
5904 if (!wxPyCheckForApp()) SWIG_fail;
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (wxSplitterWindow *)new wxSplitterWindow();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5921 wxWindow *arg2 = (wxWindow *) 0 ;
5922 int arg3 = (int) -1 ;
5923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5925 wxSize const &arg5_defvalue = wxDefaultSize ;
5926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5927 long arg6 = (long) wxSP_3D ;
5928 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5929 wxString *arg7 = (wxString *) &arg7_defvalue ;
5930 bool result;
5931 wxPoint temp4 ;
5932 wxSize temp5 ;
5933 bool temp7 = false ;
5934 PyObject * obj0 = 0 ;
5935 PyObject * obj1 = 0 ;
5936 PyObject * obj2 = 0 ;
5937 PyObject * obj3 = 0 ;
5938 PyObject * obj4 = 0 ;
5939 PyObject * obj5 = 0 ;
5940 PyObject * obj6 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5950 if (obj2) {
5951 arg3 = (int)SWIG_As_int(obj2);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 if (obj3) {
5955 {
5956 arg4 = &temp4;
5957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5958 }
5959 }
5960 if (obj4) {
5961 {
5962 arg5 = &temp5;
5963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5964 }
5965 }
5966 if (obj5) {
5967 arg6 = (long)SWIG_As_long(obj5);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 if (obj6) {
5971 {
5972 arg7 = wxString_in_helper(obj6);
5973 if (arg7 == NULL) SWIG_fail;
5974 temp7 = true;
5975 }
5976 }
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 {
5985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5986 }
5987 {
5988 if (temp7)
5989 delete arg7;
5990 }
5991 return resultobj;
5992 fail:
5993 {
5994 if (temp7)
5995 delete arg7;
5996 }
5997 return NULL;
5998 }
5999
6000
6001 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6004 wxWindow *result;
6005 PyObject * obj0 = 0 ;
6006 char *kwnames[] = {
6007 (char *) "self", NULL
6008 };
6009
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 {
6021 resultobj = wxPyMake_wxObject(result, 0);
6022 }
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 static PyObject *_wrap_SplitterWindow_GetWindow2(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_GetWindow2",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)->GetWindow2();
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_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj;
6059 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6060 int arg2 ;
6061 PyObject * obj0 = 0 ;
6062 PyObject * obj1 = 0 ;
6063 char *kwnames[] = {
6064 (char *) "self",(char *) "mode", NULL
6065 };
6066
6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6070 arg2 = (int)SWIG_As_int(obj1);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 (arg1)->SetSplitMode(arg2);
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 Py_INCREF(Py_None); resultobj = Py_None;
6080 return resultobj;
6081 fail:
6082 return NULL;
6083 }
6084
6085
6086 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6087 PyObject *resultobj;
6088 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6089 int result;
6090 PyObject * obj0 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6098 {
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6101
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 resultobj = SWIG_From_int((int)result);
6106 return resultobj;
6107 fail:
6108 return NULL;
6109 }
6110
6111
6112 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6113 PyObject *resultobj;
6114 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6115 wxWindow *arg2 = (wxWindow *) 0 ;
6116 PyObject * obj0 = 0 ;
6117 PyObject * obj1 = 0 ;
6118 char *kwnames[] = {
6119 (char *) "self",(char *) "window", NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 (arg1)->Initialize(arg2);
6130
6131 wxPyEndAllowThreads(__tstate);
6132 if (PyErr_Occurred()) SWIG_fail;
6133 }
6134 Py_INCREF(Py_None); resultobj = Py_None;
6135 return resultobj;
6136 fail:
6137 return NULL;
6138 }
6139
6140
6141 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6142 PyObject *resultobj;
6143 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6144 wxWindow *arg2 = (wxWindow *) 0 ;
6145 wxWindow *arg3 = (wxWindow *) 0 ;
6146 int arg4 = (int) 0 ;
6147 bool result;
6148 PyObject * obj0 = 0 ;
6149 PyObject * obj1 = 0 ;
6150 PyObject * obj2 = 0 ;
6151 PyObject * obj3 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6161 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6163 if (obj3) {
6164 arg4 = (int)SWIG_As_int(obj3);
6165 if (PyErr_Occurred()) SWIG_fail;
6166 }
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 {
6175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6176 }
6177 return resultobj;
6178 fail:
6179 return NULL;
6180 }
6181
6182
6183 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6184 PyObject *resultobj;
6185 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6186 wxWindow *arg2 = (wxWindow *) 0 ;
6187 wxWindow *arg3 = (wxWindow *) 0 ;
6188 int arg4 = (int) 0 ;
6189 bool result;
6190 PyObject * obj0 = 0 ;
6191 PyObject * obj1 = 0 ;
6192 PyObject * obj2 = 0 ;
6193 PyObject * obj3 = 0 ;
6194 char *kwnames[] = {
6195 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6196 };
6197
6198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6203 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6205 if (obj3) {
6206 arg4 = (int)SWIG_As_int(obj3);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 {
6210 PyThreadState* __tstate = wxPyBeginAllowThreads();
6211 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6212
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 {
6217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6218 }
6219 return resultobj;
6220 fail:
6221 return NULL;
6222 }
6223
6224
6225 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6228 wxWindow *arg2 = (wxWindow *) NULL ;
6229 bool result;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "toRemove", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 if (obj1) {
6240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6242 }
6243 {
6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
6245 result = (bool)(arg1)->Unsplit(arg2);
6246
6247 wxPyEndAllowThreads(__tstate);
6248 if (PyErr_Occurred()) SWIG_fail;
6249 }
6250 {
6251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6252 }
6253 return resultobj;
6254 fail:
6255 return NULL;
6256 }
6257
6258
6259 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj;
6261 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6262 wxWindow *arg2 = (wxWindow *) 0 ;
6263 wxWindow *arg3 = (wxWindow *) 0 ;
6264 bool result;
6265 PyObject * obj0 = 0 ;
6266 PyObject * obj1 = 0 ;
6267 PyObject * obj2 = 0 ;
6268 char *kwnames[] = {
6269 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6270 };
6271
6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6277 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 {
6287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6288 }
6289 return resultobj;
6290 fail:
6291 return NULL;
6292 }
6293
6294
6295 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6296 PyObject *resultobj;
6297 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 (arg1)->UpdateSize();
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 Py_INCREF(Py_None); resultobj = Py_None;
6314 return resultobj;
6315 fail:
6316 return NULL;
6317 }
6318
6319
6320 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6323 bool result;
6324 PyObject * obj0 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 {
6340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6341 }
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6351 int arg2 ;
6352 PyObject * obj0 = 0 ;
6353 PyObject * obj1 = 0 ;
6354 char *kwnames[] = {
6355 (char *) "self",(char *) "width", NULL
6356 };
6357
6358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6361 arg2 = (int)SWIG_As_int(obj1);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 (arg1)->SetSashSize(arg2);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 Py_INCREF(Py_None); resultobj = Py_None;
6371 return resultobj;
6372 fail:
6373 return NULL;
6374 }
6375
6376
6377 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6380 int arg2 ;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self",(char *) "width", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6390 arg2 = (int)SWIG_As_int(obj1);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 (arg1)->SetBorderSize(arg2);
6395
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 Py_INCREF(Py_None); resultobj = Py_None;
6400 return resultobj;
6401 fail:
6402 return NULL;
6403 }
6404
6405
6406 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6407 PyObject *resultobj;
6408 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6409 int result;
6410 PyObject * obj0 = 0 ;
6411 char *kwnames[] = {
6412 (char *) "self", NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 resultobj = SWIG_From_int((int)result);
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6435 int result;
6436 PyObject * obj0 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "self", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6444 {
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6447
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 }
6451 resultobj = SWIG_From_int((int)result);
6452 return resultobj;
6453 fail:
6454 return NULL;
6455 }
6456
6457
6458 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6459 PyObject *resultobj;
6460 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6461 int arg2 ;
6462 bool arg3 = (bool) true ;
6463 PyObject * obj0 = 0 ;
6464 PyObject * obj1 = 0 ;
6465 PyObject * obj2 = 0 ;
6466 char *kwnames[] = {
6467 (char *) "self",(char *) "position",(char *) "redraw", NULL
6468 };
6469
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6473 arg2 = (int)SWIG_As_int(obj1);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 if (obj2) {
6476 arg3 = (bool)SWIG_As_bool(obj2);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 (arg1)->SetSashPosition(arg2,arg3);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 Py_INCREF(Py_None); resultobj = Py_None;
6487 return resultobj;
6488 fail:
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6496 int result;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 resultobj = SWIG_From_int((int)result);
6513 return resultobj;
6514 fail:
6515 return NULL;
6516 }
6517
6518
6519 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj;
6521 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6522 int arg2 ;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self",(char *) "min", NULL
6527 };
6528
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6532 arg2 = (int)SWIG_As_int(obj1);
6533 if (PyErr_Occurred()) SWIG_fail;
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 (arg1)->SetMinimumPaneSize(arg2);
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
6541 Py_INCREF(Py_None); resultobj = Py_None;
6542 return resultobj;
6543 fail:
6544 return NULL;
6545 }
6546
6547
6548 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj;
6550 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6551 int result;
6552 PyObject * obj0 = 0 ;
6553 char *kwnames[] = {
6554 (char *) "self", NULL
6555 };
6556
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6563
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 resultobj = SWIG_From_int((int)result);
6568 return resultobj;
6569 fail:
6570 return NULL;
6571 }
6572
6573
6574 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6575 PyObject *resultobj;
6576 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6577 int arg2 ;
6578 int arg3 ;
6579 int arg4 = (int) 5 ;
6580 bool result;
6581 PyObject * obj0 = 0 ;
6582 PyObject * obj1 = 0 ;
6583 PyObject * obj2 = 0 ;
6584 PyObject * obj3 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6592 arg2 = (int)SWIG_As_int(obj1);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 arg3 = (int)SWIG_As_int(obj2);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 if (obj3) {
6597 arg4 = (int)SWIG_As_int(obj3);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6603
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) SWIG_fail;
6606 }
6607 {
6608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6609 }
6610 return resultobj;
6611 fail:
6612 return NULL;
6613 }
6614
6615
6616 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6617 PyObject *resultobj;
6618 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6619 PyObject * obj0 = 0 ;
6620 char *kwnames[] = {
6621 (char *) "self", NULL
6622 };
6623
6624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 (arg1)->SizeWindows();
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 Py_INCREF(Py_None); resultobj = Py_None;
6635 return resultobj;
6636 fail:
6637 return NULL;
6638 }
6639
6640
6641 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6642 PyObject *resultobj;
6643 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6644 bool arg2 ;
6645 PyObject * obj0 = 0 ;
6646 PyObject * obj1 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self",(char *) "needUpdating", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6654 arg2 = (bool)SWIG_As_bool(obj1);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 (arg1)->SetNeedUpdating(arg2);
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 Py_INCREF(Py_None); resultobj = Py_None;
6664 return resultobj;
6665 fail:
6666 return NULL;
6667 }
6668
6669
6670 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj;
6672 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6673 bool result;
6674 PyObject * obj0 = 0 ;
6675 char *kwnames[] = {
6676 (char *) "self", NULL
6677 };
6678
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6682 {
6683 PyThreadState* __tstate = wxPyBeginAllowThreads();
6684 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6685
6686 wxPyEndAllowThreads(__tstate);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 }
6689 {
6690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6691 }
6692 return resultobj;
6693 fail:
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6701 wxVisualAttributes result;
6702 PyObject * obj0 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "variant", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6708 if (obj0) {
6709 arg1 = (int)SWIG_As_int(obj0);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 {
6713 if (!wxPyCheckForApp()) SWIG_fail;
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6716
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 {
6721 wxVisualAttributes * resultptr;
6722 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6724 }
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6732 PyObject *obj;
6733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6735 Py_INCREF(obj);
6736 return Py_BuildValue((char *)"");
6737 }
6738 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj;
6740 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6741 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6742 wxSplitterEvent *result;
6743 PyObject * obj0 = 0 ;
6744 PyObject * obj1 = 0 ;
6745 char *kwnames[] = {
6746 (char *) "type",(char *) "splitter", NULL
6747 };
6748
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6750 if (obj0) {
6751 arg1 = (wxEventType)SWIG_As_int(obj0);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 if (obj1) {
6755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6757 }
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6766 return resultobj;
6767 fail:
6768 return NULL;
6769 }
6770
6771
6772 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6773 PyObject *resultobj;
6774 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6775 int arg2 ;
6776 PyObject * obj0 = 0 ;
6777 PyObject * obj1 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "self",(char *) "pos", NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6785 arg2 = (int)SWIG_As_int(obj1);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 {
6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
6789 (arg1)->SetSashPosition(arg2);
6790
6791 wxPyEndAllowThreads(__tstate);
6792 if (PyErr_Occurred()) SWIG_fail;
6793 }
6794 Py_INCREF(Py_None); resultobj = Py_None;
6795 return resultobj;
6796 fail:
6797 return NULL;
6798 }
6799
6800
6801 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6802 PyObject *resultobj;
6803 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6804 int result;
6805 PyObject * obj0 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_From_int((int)result);
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6830 wxWindow *result;
6831 PyObject * obj0 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "self", NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6842
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
6846 {
6847 resultobj = wxPyMake_wxObject(result, 0);
6848 }
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6858 int result;
6859 PyObject * obj0 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",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 = (int)((wxSplitterEvent const *)arg1)->GetX();
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 resultobj = SWIG_From_int((int)result);
6875 return resultobj;
6876 fail:
6877 return NULL;
6878 }
6879
6880
6881 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6884 int result;
6885 PyObject * obj0 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 resultobj = SWIG_From_int((int)result);
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6908 PyObject *obj;
6909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6910 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6911 Py_INCREF(obj);
6912 return Py_BuildValue((char *)"");
6913 }
6914 static int _wrap_SashNameStr_set(PyObject *) {
6915 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6916 return 1;
6917 }
6918
6919
6920 static PyObject *_wrap_SashNameStr_get() {
6921 PyObject *pyobj;
6922
6923 {
6924 #if wxUSE_UNICODE
6925 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6926 #else
6927 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6928 #endif
6929 }
6930 return pyobj;
6931 }
6932
6933
6934 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6935 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6936 return 1;
6937 }
6938
6939
6940 static PyObject *_wrap_SashLayoutNameStr_get() {
6941 PyObject *pyobj;
6942
6943 {
6944 #if wxUSE_UNICODE
6945 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6946 #else
6947 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6948 #endif
6949 }
6950 return pyobj;
6951 }
6952
6953
6954 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj;
6956 wxWindow *arg1 = (wxWindow *) 0 ;
6957 int arg2 = (int) -1 ;
6958 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6959 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6960 wxSize const &arg4_defvalue = wxDefaultSize ;
6961 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6962 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6963 wxString const &arg6_defvalue = wxPySashNameStr ;
6964 wxString *arg6 = (wxString *) &arg6_defvalue ;
6965 wxSashWindow *result;
6966 wxPoint temp3 ;
6967 wxSize temp4 ;
6968 bool temp6 = false ;
6969 PyObject * obj0 = 0 ;
6970 PyObject * obj1 = 0 ;
6971 PyObject * obj2 = 0 ;
6972 PyObject * obj3 = 0 ;
6973 PyObject * obj4 = 0 ;
6974 PyObject * obj5 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6982 if (obj1) {
6983 arg2 = (int)SWIG_As_int(obj1);
6984 if (PyErr_Occurred()) SWIG_fail;
6985 }
6986 if (obj2) {
6987 {
6988 arg3 = &temp3;
6989 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6990 }
6991 }
6992 if (obj3) {
6993 {
6994 arg4 = &temp4;
6995 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6996 }
6997 }
6998 if (obj4) {
6999 arg5 = (long)SWIG_As_long(obj4);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 if (obj5) {
7003 {
7004 arg6 = wxString_in_helper(obj5);
7005 if (arg6 == NULL) SWIG_fail;
7006 temp6 = true;
7007 }
7008 }
7009 {
7010 if (!wxPyCheckForApp()) SWIG_fail;
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7018 {
7019 if (temp6)
7020 delete arg6;
7021 }
7022 return resultobj;
7023 fail:
7024 {
7025 if (temp6)
7026 delete arg6;
7027 }
7028 return NULL;
7029 }
7030
7031
7032 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7033 PyObject *resultobj;
7034 wxSashWindow *result;
7035 char *kwnames[] = {
7036 NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7040 {
7041 if (!wxPyCheckForApp()) SWIG_fail;
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = (wxSashWindow *)new wxSashWindow();
7044
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7049 return resultobj;
7050 fail:
7051 return NULL;
7052 }
7053
7054
7055 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7056 PyObject *resultobj;
7057 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7058 wxWindow *arg2 = (wxWindow *) 0 ;
7059 int arg3 = (int) -1 ;
7060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7062 wxSize const &arg5_defvalue = wxDefaultSize ;
7063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7064 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7065 wxString const &arg7_defvalue = wxPySashNameStr ;
7066 wxString *arg7 = (wxString *) &arg7_defvalue ;
7067 bool result;
7068 wxPoint temp4 ;
7069 wxSize temp5 ;
7070 bool temp7 = false ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 PyObject * obj2 = 0 ;
7074 PyObject * obj3 = 0 ;
7075 PyObject * obj4 = 0 ;
7076 PyObject * obj5 = 0 ;
7077 PyObject * obj6 = 0 ;
7078 char *kwnames[] = {
7079 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7087 if (obj2) {
7088 arg3 = (int)SWIG_As_int(obj2);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 if (obj3) {
7092 {
7093 arg4 = &temp4;
7094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7095 }
7096 }
7097 if (obj4) {
7098 {
7099 arg5 = &temp5;
7100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7101 }
7102 }
7103 if (obj5) {
7104 arg6 = (long)SWIG_As_long(obj5);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 if (obj6) {
7108 {
7109 arg7 = wxString_in_helper(obj6);
7110 if (arg7 == NULL) SWIG_fail;
7111 temp7 = true;
7112 }
7113 }
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 {
7122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7123 }
7124 {
7125 if (temp7)
7126 delete arg7;
7127 }
7128 return resultobj;
7129 fail:
7130 {
7131 if (temp7)
7132 delete arg7;
7133 }
7134 return NULL;
7135 }
7136
7137
7138 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7139 PyObject *resultobj;
7140 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7141 int arg2 ;
7142 bool arg3 ;
7143 PyObject * obj0 = 0 ;
7144 PyObject * obj1 = 0 ;
7145 PyObject * obj2 = 0 ;
7146 char *kwnames[] = {
7147 (char *) "self",(char *) "edge",(char *) "sash", NULL
7148 };
7149
7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7153 arg2 = (int)SWIG_As_int(obj1);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 arg3 = (bool)SWIG_As_bool(obj2);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 {
7158 PyThreadState* __tstate = wxPyBeginAllowThreads();
7159 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7160
7161 wxPyEndAllowThreads(__tstate);
7162 if (PyErr_Occurred()) SWIG_fail;
7163 }
7164 Py_INCREF(Py_None); resultobj = Py_None;
7165 return resultobj;
7166 fail:
7167 return NULL;
7168 }
7169
7170
7171 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7172 PyObject *resultobj;
7173 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7174 int arg2 ;
7175 bool result;
7176 PyObject * obj0 = 0 ;
7177 PyObject * obj1 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self",(char *) "edge", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7185 arg2 = (int)SWIG_As_int(obj1);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 {
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7190
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 {
7195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7196 }
7197 return resultobj;
7198 fail:
7199 return NULL;
7200 }
7201
7202
7203 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj;
7205 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7206 int arg2 ;
7207 bool arg3 ;
7208 PyObject * obj0 = 0 ;
7209 PyObject * obj1 = 0 ;
7210 PyObject * obj2 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "self",(char *) "edge",(char *) "border", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7218 arg2 = (int)SWIG_As_int(obj1);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 arg3 = (bool)SWIG_As_bool(obj2);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 Py_INCREF(Py_None); resultobj = Py_None;
7230 return resultobj;
7231 fail:
7232 return NULL;
7233 }
7234
7235
7236 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7237 PyObject *resultobj;
7238 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7239 int arg2 ;
7240 bool result;
7241 PyObject * obj0 = 0 ;
7242 PyObject * obj1 = 0 ;
7243 char *kwnames[] = {
7244 (char *) "self",(char *) "edge", NULL
7245 };
7246
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7250 arg2 = (int)SWIG_As_int(obj1);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 {
7260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7261 }
7262 return resultobj;
7263 fail:
7264 return NULL;
7265 }
7266
7267
7268 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7271 int arg2 ;
7272 int result;
7273 PyObject * obj0 = 0 ;
7274 PyObject * obj1 = 0 ;
7275 char *kwnames[] = {
7276 (char *) "self",(char *) "edge", NULL
7277 };
7278
7279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7282 arg2 = (int)SWIG_As_int(obj1);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 resultobj = SWIG_From_int((int)result);
7292 return resultobj;
7293 fail:
7294 return NULL;
7295 }
7296
7297
7298 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7299 PyObject *resultobj;
7300 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7301 int arg2 ;
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "self",(char *) "width", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7311 arg2 = (int)SWIG_As_int(obj1);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 (arg1)->SetDefaultBorderSize(arg2);
7316
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
7320 Py_INCREF(Py_None); resultobj = Py_None;
7321 return resultobj;
7322 fail:
7323 return NULL;
7324 }
7325
7326
7327 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7330 int result;
7331 PyObject * obj0 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "self", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 resultobj = SWIG_From_int((int)result);
7347 return resultobj;
7348 fail:
7349 return NULL;
7350 }
7351
7352
7353 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7354 PyObject *resultobj;
7355 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7356 int arg2 ;
7357 PyObject * obj0 = 0 ;
7358 PyObject * obj1 = 0 ;
7359 char *kwnames[] = {
7360 (char *) "self",(char *) "width", NULL
7361 };
7362
7363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7366 arg2 = (int)SWIG_As_int(obj1);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 {
7369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7370 (arg1)->SetExtraBorderSize(arg2);
7371
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
7375 Py_INCREF(Py_None); resultobj = Py_None;
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7385 int result;
7386 PyObject * obj0 = 0 ;
7387 char *kwnames[] = {
7388 (char *) "self", NULL
7389 };
7390
7391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 resultobj = SWIG_From_int((int)result);
7402 return resultobj;
7403 fail:
7404 return NULL;
7405 }
7406
7407
7408 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7411 int arg2 ;
7412 PyObject * obj0 = 0 ;
7413 PyObject * obj1 = 0 ;
7414 char *kwnames[] = {
7415 (char *) "self",(char *) "min", NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7421 arg2 = (int)SWIG_As_int(obj1);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 (arg1)->SetMinimumSizeX(arg2);
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 Py_INCREF(Py_None); resultobj = Py_None;
7431 return resultobj;
7432 fail:
7433 return NULL;
7434 }
7435
7436
7437 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7438 PyObject *resultobj;
7439 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7440 int arg2 ;
7441 PyObject * obj0 = 0 ;
7442 PyObject * obj1 = 0 ;
7443 char *kwnames[] = {
7444 (char *) "self",(char *) "min", NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7450 arg2 = (int)SWIG_As_int(obj1);
7451 if (PyErr_Occurred()) SWIG_fail;
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 (arg1)->SetMinimumSizeY(arg2);
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 Py_INCREF(Py_None); resultobj = Py_None;
7460 return resultobj;
7461 fail:
7462 return NULL;
7463 }
7464
7465
7466 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7467 PyObject *resultobj;
7468 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7469 int result;
7470 PyObject * obj0 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7481
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 resultobj = SWIG_From_int((int)result);
7486 return resultobj;
7487 fail:
7488 return NULL;
7489 }
7490
7491
7492 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7493 PyObject *resultobj;
7494 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7495 int result;
7496 PyObject * obj0 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "self", NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 resultobj = SWIG_From_int((int)result);
7512 return resultobj;
7513 fail:
7514 return NULL;
7515 }
7516
7517
7518 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj;
7520 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7521 int arg2 ;
7522 PyObject * obj0 = 0 ;
7523 PyObject * obj1 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "self",(char *) "max", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7531 arg2 = (int)SWIG_As_int(obj1);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 (arg1)->SetMaximumSizeX(arg2);
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 Py_INCREF(Py_None); resultobj = Py_None;
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj;
7549 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7550 int arg2 ;
7551 PyObject * obj0 = 0 ;
7552 PyObject * obj1 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self",(char *) "max", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7560 arg2 = (int)SWIG_As_int(obj1);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 (arg1)->SetMaximumSizeY(arg2);
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 Py_INCREF(Py_None); resultobj = Py_None;
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7579 int result;
7580 PyObject * obj0 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7591
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 resultobj = SWIG_From_int((int)result);
7596 return resultobj;
7597 fail:
7598 return NULL;
7599 }
7600
7601
7602 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7603 PyObject *resultobj;
7604 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7605 int result;
7606 PyObject * obj0 = 0 ;
7607 char *kwnames[] = {
7608 (char *) "self", NULL
7609 };
7610
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7614 {
7615 PyThreadState* __tstate = wxPyBeginAllowThreads();
7616 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7617
7618 wxPyEndAllowThreads(__tstate);
7619 if (PyErr_Occurred()) SWIG_fail;
7620 }
7621 resultobj = SWIG_From_int((int)result);
7622 return resultobj;
7623 fail:
7624 return NULL;
7625 }
7626
7627
7628 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7629 PyObject *resultobj;
7630 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7631 int arg2 ;
7632 int arg3 ;
7633 int arg4 = (int) 2 ;
7634 int result;
7635 PyObject * obj0 = 0 ;
7636 PyObject * obj1 = 0 ;
7637 PyObject * obj2 = 0 ;
7638 PyObject * obj3 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7646 arg2 = (int)SWIG_As_int(obj1);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 arg3 = (int)SWIG_As_int(obj2);
7649 if (PyErr_Occurred()) SWIG_fail;
7650 if (obj3) {
7651 arg4 = (int)SWIG_As_int(obj3);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 resultobj = SWIG_From_int((int)result);
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7669 PyObject *resultobj;
7670 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7671 PyObject * obj0 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 (arg1)->SizeWindows();
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 Py_INCREF(Py_None); resultobj = Py_None;
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7694 PyObject *obj;
7695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7696 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7697 Py_INCREF(obj);
7698 return Py_BuildValue((char *)"");
7699 }
7700 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj;
7702 int arg1 = (int) 0 ;
7703 int arg2 = (int) wxSASH_NONE ;
7704 wxSashEvent *result;
7705 PyObject * obj0 = 0 ;
7706 PyObject * obj1 = 0 ;
7707 char *kwnames[] = {
7708 (char *) "id",(char *) "edge", NULL
7709 };
7710
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7712 if (obj0) {
7713 arg1 = (int)SWIG_As_int(obj0);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 if (obj1) {
7717 arg2 = (int)SWIG_As_int(obj1);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj;
7736 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7737 int arg2 ;
7738 PyObject * obj0 = 0 ;
7739 PyObject * obj1 = 0 ;
7740 char *kwnames[] = {
7741 (char *) "self",(char *) "edge", NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7747 arg2 = (int)SWIG_As_int(obj1);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7752
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 }
7756 Py_INCREF(Py_None); resultobj = Py_None;
7757 return resultobj;
7758 fail:
7759 return NULL;
7760 }
7761
7762
7763 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj;
7765 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7766 int result;
7767 PyObject * obj0 = 0 ;
7768 char *kwnames[] = {
7769 (char *) "self", NULL
7770 };
7771
7772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 resultobj = SWIG_From_int((int)result);
7783 return resultobj;
7784 fail:
7785 return NULL;
7786 }
7787
7788
7789 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj;
7791 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7792 wxRect *arg2 = 0 ;
7793 wxRect temp2 ;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 char *kwnames[] = {
7797 (char *) "self",(char *) "rect", NULL
7798 };
7799
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7803 {
7804 arg2 = &temp2;
7805 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7806 }
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 (arg1)->SetDragRect((wxRect const &)*arg2);
7810
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 Py_INCREF(Py_None); resultobj = Py_None;
7815 return resultobj;
7816 fail:
7817 return NULL;
7818 }
7819
7820
7821 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj;
7823 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7824 wxRect result;
7825 PyObject * obj0 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = ((wxSashEvent const *)arg1)->GetDragRect();
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
7840 {
7841 wxRect * resultptr;
7842 resultptr = new wxRect((wxRect &) result);
7843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7844 }
7845 return resultobj;
7846 fail:
7847 return NULL;
7848 }
7849
7850
7851 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj;
7853 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7854 int arg2 ;
7855 PyObject * obj0 = 0 ;
7856 PyObject * obj1 = 0 ;
7857 char *kwnames[] = {
7858 (char *) "self",(char *) "status", NULL
7859 };
7860
7861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7864 arg2 = (int)SWIG_As_int(obj1);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 Py_INCREF(Py_None); resultobj = Py_None;
7874 return resultobj;
7875 fail:
7876 return NULL;
7877 }
7878
7879
7880 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj;
7882 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7883 int result;
7884 PyObject * obj0 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 resultobj = SWIG_From_int((int)result);
7900 return resultobj;
7901 fail:
7902 return NULL;
7903 }
7904
7905
7906 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7907 PyObject *obj;
7908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7909 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7910 Py_INCREF(obj);
7911 return Py_BuildValue((char *)"");
7912 }
7913 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7914 PyObject *resultobj;
7915 int arg1 = (int) 0 ;
7916 wxQueryLayoutInfoEvent *result;
7917 PyObject * obj0 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "id", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7923 if (obj0) {
7924 arg1 = (int)SWIG_As_int(obj0);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7935 return resultobj;
7936 fail:
7937 return NULL;
7938 }
7939
7940
7941 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7942 PyObject *resultobj;
7943 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7944 int arg2 ;
7945 PyObject * obj0 = 0 ;
7946 PyObject * obj1 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self",(char *) "length", NULL
7949 };
7950
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7954 arg2 = (int)SWIG_As_int(obj1);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 (arg1)->SetRequestedLength(arg2);
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 Py_INCREF(Py_None); resultobj = Py_None;
7964 return resultobj;
7965 fail:
7966 return NULL;
7967 }
7968
7969
7970 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7973 int result;
7974 PyObject * obj0 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "self", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 resultobj = SWIG_From_int((int)result);
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7999 int arg2 ;
8000 PyObject * obj0 = 0 ;
8001 PyObject * obj1 = 0 ;
8002 char *kwnames[] = {
8003 (char *) "self",(char *) "flags", NULL
8004 };
8005
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8009 arg2 = (int)SWIG_As_int(obj1);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 (arg1)->SetFlags(arg2);
8014
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 Py_INCREF(Py_None); resultobj = Py_None;
8019 return resultobj;
8020 fail:
8021 return NULL;
8022 }
8023
8024
8025 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8026 PyObject *resultobj;
8027 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8028 int result;
8029 PyObject * obj0 = 0 ;
8030 char *kwnames[] = {
8031 (char *) "self", NULL
8032 };
8033
8034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8037 {
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8040
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 resultobj = SWIG_From_int((int)result);
8045 return resultobj;
8046 fail:
8047 return NULL;
8048 }
8049
8050
8051 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8052 PyObject *resultobj;
8053 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8054 wxSize *arg2 = 0 ;
8055 wxSize temp2 ;
8056 PyObject * obj0 = 0 ;
8057 PyObject * obj1 = 0 ;
8058 char *kwnames[] = {
8059 (char *) "self",(char *) "size", NULL
8060 };
8061
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8065 {
8066 arg2 = &temp2;
8067 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8068 }
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 (arg1)->SetSize((wxSize const &)*arg2);
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 Py_INCREF(Py_None); resultobj = Py_None;
8077 return resultobj;
8078 fail:
8079 return NULL;
8080 }
8081
8082
8083 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj;
8085 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8086 wxSize result;
8087 PyObject * obj0 = 0 ;
8088 char *kwnames[] = {
8089 (char *) "self", NULL
8090 };
8091
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8095 {
8096 PyThreadState* __tstate = wxPyBeginAllowThreads();
8097 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8098
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 {
8103 wxSize * resultptr;
8104 resultptr = new wxSize((wxSize &) result);
8105 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8106 }
8107 return resultobj;
8108 fail:
8109 return NULL;
8110 }
8111
8112
8113 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8114 PyObject *resultobj;
8115 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8116 int arg2 ;
8117 PyObject * obj0 = 0 ;
8118 PyObject * obj1 = 0 ;
8119 char *kwnames[] = {
8120 (char *) "self",(char *) "orient", NULL
8121 };
8122
8123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8126 arg2 = (int)SWIG_As_int(obj1);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 {
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
8130 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 Py_INCREF(Py_None); resultobj = Py_None;
8136 return resultobj;
8137 fail:
8138 return NULL;
8139 }
8140
8141
8142 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8143 PyObject *resultobj;
8144 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8145 int result;
8146 PyObject * obj0 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "self", NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8154 {
8155 PyThreadState* __tstate = wxPyBeginAllowThreads();
8156 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8157
8158 wxPyEndAllowThreads(__tstate);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 resultobj = SWIG_From_int((int)result);
8162 return resultobj;
8163 fail:
8164 return NULL;
8165 }
8166
8167
8168 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8169 PyObject *resultobj;
8170 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8171 int arg2 ;
8172 PyObject * obj0 = 0 ;
8173 PyObject * obj1 = 0 ;
8174 char *kwnames[] = {
8175 (char *) "self",(char *) "align", NULL
8176 };
8177
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8181 arg2 = (int)SWIG_As_int(obj1);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 Py_INCREF(Py_None); resultobj = Py_None;
8191 return resultobj;
8192 fail:
8193 return NULL;
8194 }
8195
8196
8197 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8198 PyObject *resultobj;
8199 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8200 int result;
8201 PyObject * obj0 = 0 ;
8202 char *kwnames[] = {
8203 (char *) "self", NULL
8204 };
8205
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 resultobj = SWIG_From_int((int)result);
8217 return resultobj;
8218 fail:
8219 return NULL;
8220 }
8221
8222
8223 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8224 PyObject *obj;
8225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8226 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8227 Py_INCREF(obj);
8228 return Py_BuildValue((char *)"");
8229 }
8230 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj;
8232 int arg1 = (int) 0 ;
8233 wxCalculateLayoutEvent *result;
8234 PyObject * obj0 = 0 ;
8235 char *kwnames[] = {
8236 (char *) "id", NULL
8237 };
8238
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8240 if (obj0) {
8241 arg1 = (int)SWIG_As_int(obj0);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8252 return resultobj;
8253 fail:
8254 return NULL;
8255 }
8256
8257
8258 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj;
8260 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8261 int arg2 ;
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 char *kwnames[] = {
8265 (char *) "self",(char *) "flags", NULL
8266 };
8267
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8271 arg2 = (int)SWIG_As_int(obj1);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 (arg1)->SetFlags(arg2);
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 Py_INCREF(Py_None); resultobj = Py_None;
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8290 int result;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 resultobj = SWIG_From_int((int)result);
8307 return resultobj;
8308 fail:
8309 return NULL;
8310 }
8311
8312
8313 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj;
8315 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8316 wxRect *arg2 = 0 ;
8317 wxRect temp2 ;
8318 PyObject * obj0 = 0 ;
8319 PyObject * obj1 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self",(char *) "rect", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8327 {
8328 arg2 = &temp2;
8329 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 (arg1)->SetRect((wxRect const &)*arg2);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 Py_INCREF(Py_None); resultobj = Py_None;
8339 return resultobj;
8340 fail:
8341 return NULL;
8342 }
8343
8344
8345 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj;
8347 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8348 wxRect result;
8349 PyObject * obj0 = 0 ;
8350 char *kwnames[] = {
8351 (char *) "self", NULL
8352 };
8353
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8357 {
8358 PyThreadState* __tstate = wxPyBeginAllowThreads();
8359 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8360
8361 wxPyEndAllowThreads(__tstate);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 {
8365 wxRect * resultptr;
8366 resultptr = new wxRect((wxRect &) result);
8367 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8368 }
8369 return resultobj;
8370 fail:
8371 return NULL;
8372 }
8373
8374
8375 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8376 PyObject *obj;
8377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8378 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8379 Py_INCREF(obj);
8380 return Py_BuildValue((char *)"");
8381 }
8382 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8383 PyObject *resultobj;
8384 wxWindow *arg1 = (wxWindow *) 0 ;
8385 int arg2 = (int) -1 ;
8386 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8387 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8388 wxSize const &arg4_defvalue = wxDefaultSize ;
8389 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8390 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8391 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8392 wxString *arg6 = (wxString *) &arg6_defvalue ;
8393 wxSashLayoutWindow *result;
8394 wxPoint temp3 ;
8395 wxSize temp4 ;
8396 bool temp6 = false ;
8397 PyObject * obj0 = 0 ;
8398 PyObject * obj1 = 0 ;
8399 PyObject * obj2 = 0 ;
8400 PyObject * obj3 = 0 ;
8401 PyObject * obj4 = 0 ;
8402 PyObject * obj5 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8410 if (obj1) {
8411 arg2 = (int)SWIG_As_int(obj1);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 if (obj2) {
8415 {
8416 arg3 = &temp3;
8417 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8418 }
8419 }
8420 if (obj3) {
8421 {
8422 arg4 = &temp4;
8423 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8424 }
8425 }
8426 if (obj4) {
8427 arg5 = (long)SWIG_As_long(obj4);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
8430 if (obj5) {
8431 {
8432 arg6 = wxString_in_helper(obj5);
8433 if (arg6 == NULL) SWIG_fail;
8434 temp6 = true;
8435 }
8436 }
8437 {
8438 if (!wxPyCheckForApp()) SWIG_fail;
8439 PyThreadState* __tstate = wxPyBeginAllowThreads();
8440 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8441
8442 wxPyEndAllowThreads(__tstate);
8443 if (PyErr_Occurred()) SWIG_fail;
8444 }
8445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8446 {
8447 if (temp6)
8448 delete arg6;
8449 }
8450 return resultobj;
8451 fail:
8452 {
8453 if (temp6)
8454 delete arg6;
8455 }
8456 return NULL;
8457 }
8458
8459
8460 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj;
8462 wxSashLayoutWindow *result;
8463 char *kwnames[] = {
8464 NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8468 {
8469 if (!wxPyCheckForApp()) SWIG_fail;
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8477 return resultobj;
8478 fail:
8479 return NULL;
8480 }
8481
8482
8483 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8486 wxWindow *arg2 = (wxWindow *) 0 ;
8487 int arg3 = (int) -1 ;
8488 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8489 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8490 wxSize const &arg5_defvalue = wxDefaultSize ;
8491 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8492 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8493 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8494 wxString *arg7 = (wxString *) &arg7_defvalue ;
8495 bool result;
8496 wxPoint temp4 ;
8497 wxSize temp5 ;
8498 bool temp7 = false ;
8499 PyObject * obj0 = 0 ;
8500 PyObject * obj1 = 0 ;
8501 PyObject * obj2 = 0 ;
8502 PyObject * obj3 = 0 ;
8503 PyObject * obj4 = 0 ;
8504 PyObject * obj5 = 0 ;
8505 PyObject * obj6 = 0 ;
8506 char *kwnames[] = {
8507 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8508 };
8509
8510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8515 if (obj2) {
8516 arg3 = (int)SWIG_As_int(obj2);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 if (obj3) {
8520 {
8521 arg4 = &temp4;
8522 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8523 }
8524 }
8525 if (obj4) {
8526 {
8527 arg5 = &temp5;
8528 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8529 }
8530 }
8531 if (obj5) {
8532 arg6 = (long)SWIG_As_long(obj5);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 if (obj6) {
8536 {
8537 arg7 = wxString_in_helper(obj6);
8538 if (arg7 == NULL) SWIG_fail;
8539 temp7 = true;
8540 }
8541 }
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8545
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 {
8550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8551 }
8552 {
8553 if (temp7)
8554 delete arg7;
8555 }
8556 return resultobj;
8557 fail:
8558 {
8559 if (temp7)
8560 delete arg7;
8561 }
8562 return NULL;
8563 }
8564
8565
8566 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8567 PyObject *resultobj;
8568 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8569 int result;
8570 PyObject * obj0 = 0 ;
8571 char *kwnames[] = {
8572 (char *) "self", NULL
8573 };
8574
8575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8578 {
8579 PyThreadState* __tstate = wxPyBeginAllowThreads();
8580 result = (int)(arg1)->GetAlignment();
8581
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 resultobj = SWIG_From_int((int)result);
8586 return resultobj;
8587 fail:
8588 return NULL;
8589 }
8590
8591
8592 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8593 PyObject *resultobj;
8594 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8595 int result;
8596 PyObject * obj0 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "self", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 result = (int)(arg1)->GetOrientation();
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 resultobj = SWIG_From_int((int)result);
8612 return resultobj;
8613 fail:
8614 return NULL;
8615 }
8616
8617
8618 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8619 PyObject *resultobj;
8620 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8621 int arg2 ;
8622 PyObject * obj0 = 0 ;
8623 PyObject * obj1 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "self",(char *) "alignment", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8631 arg2 = (int)SWIG_As_int(obj1);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
8640 Py_INCREF(Py_None); resultobj = Py_None;
8641 return resultobj;
8642 fail:
8643 return NULL;
8644 }
8645
8646
8647 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8648 PyObject *resultobj;
8649 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8650 wxSize *arg2 = 0 ;
8651 wxSize temp2 ;
8652 PyObject * obj0 = 0 ;
8653 PyObject * obj1 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self",(char *) "size", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8661 {
8662 arg2 = &temp2;
8663 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8664 }
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 Py_INCREF(Py_None); resultobj = Py_None;
8673 return resultobj;
8674 fail:
8675 return NULL;
8676 }
8677
8678
8679 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8682 int arg2 ;
8683 PyObject * obj0 = 0 ;
8684 PyObject * obj1 = 0 ;
8685 char *kwnames[] = {
8686 (char *) "self",(char *) "orientation", NULL
8687 };
8688
8689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8692 arg2 = (int)SWIG_As_int(obj1);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 Py_INCREF(Py_None); resultobj = Py_None;
8702 return resultobj;
8703 fail:
8704 return NULL;
8705 }
8706
8707
8708 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8709 PyObject *obj;
8710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8711 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8712 Py_INCREF(obj);
8713 return Py_BuildValue((char *)"");
8714 }
8715 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8716 PyObject *resultobj;
8717 wxLayoutAlgorithm *result;
8718 char *kwnames[] = {
8719 NULL
8720 };
8721
8722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8731 return resultobj;
8732 fail:
8733 return NULL;
8734 }
8735
8736
8737 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj;
8739 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8740 PyObject * obj0 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self", NULL
8743 };
8744
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8748 {
8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
8750 delete arg1;
8751
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 Py_INCREF(Py_None); resultobj = Py_None;
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj;
8764 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8765 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8766 wxRect *arg3 = (wxRect *) NULL ;
8767 bool result;
8768 PyObject * obj0 = 0 ;
8769 PyObject * obj1 = 0 ;
8770 PyObject * obj2 = 0 ;
8771 char *kwnames[] = {
8772 (char *) "self",(char *) "frame",(char *) "rect", NULL
8773 };
8774
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8780 if (obj2) {
8781 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8783 }
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 {
8792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8793 }
8794 return resultobj;
8795 fail:
8796 return NULL;
8797 }
8798
8799
8800 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj;
8802 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8803 wxFrame *arg2 = (wxFrame *) 0 ;
8804 wxWindow *arg3 = (wxWindow *) NULL ;
8805 bool result;
8806 PyObject * obj0 = 0 ;
8807 PyObject * obj1 = 0 ;
8808 PyObject * obj2 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8818 if (obj2) {
8819 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8821 }
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8825
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 {
8830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8831 }
8832 return resultobj;
8833 fail:
8834 return NULL;
8835 }
8836
8837
8838 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8841 wxWindow *arg2 = (wxWindow *) 0 ;
8842 wxWindow *arg3 = (wxWindow *) NULL ;
8843 bool result;
8844 PyObject * obj0 = 0 ;
8845 PyObject * obj1 = 0 ;
8846 PyObject * obj2 = 0 ;
8847 char *kwnames[] = {
8848 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8849 };
8850
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8856 if (obj2) {
8857 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8859 }
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 {
8868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8869 }
8870 return resultobj;
8871 fail:
8872 return NULL;
8873 }
8874
8875
8876 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8877 PyObject *obj;
8878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8879 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8880 Py_INCREF(obj);
8881 return Py_BuildValue((char *)"");
8882 }
8883 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8884 PyObject *resultobj;
8885 wxWindow *arg1 = (wxWindow *) 0 ;
8886 int arg2 = (int) wxBORDER_NONE ;
8887 wxPopupWindow *result;
8888 PyObject * obj0 = 0 ;
8889 PyObject * obj1 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "parent",(char *) "flags", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8897 if (obj1) {
8898 arg2 = (int)SWIG_As_int(obj1);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 {
8902 if (!wxPyCheckForApp()) SWIG_fail;
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8905
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8910 return resultobj;
8911 fail:
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxPopupWindow *result;
8919 char *kwnames[] = {
8920 NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8924 {
8925 if (!wxPyCheckForApp()) SWIG_fail;
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (wxPopupWindow *)new wxPopupWindow();
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8933 return resultobj;
8934 fail:
8935 return NULL;
8936 }
8937
8938
8939 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8942 wxWindow *arg2 = (wxWindow *) 0 ;
8943 int arg3 = (int) wxBORDER_NONE ;
8944 bool result;
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 PyObject * obj2 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "self",(char *) "parent",(char *) "flags", NULL
8950 };
8951
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8957 if (obj2) {
8958 arg3 = (int)SWIG_As_int(obj2);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 result = (bool)(arg1)->Create(arg2,arg3);
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 {
8969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8970 }
8971 return resultobj;
8972 fail:
8973 return NULL;
8974 }
8975
8976
8977 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
8978 PyObject *resultobj;
8979 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8980 wxPoint *arg2 = 0 ;
8981 wxSize *arg3 = 0 ;
8982 wxPoint temp2 ;
8983 wxSize temp3 ;
8984 PyObject * obj0 = 0 ;
8985 PyObject * obj1 = 0 ;
8986 PyObject * obj2 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8994 {
8995 arg2 = &temp2;
8996 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8997 }
8998 {
8999 arg3 = &temp3;
9000 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9001 }
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 Py_INCREF(Py_None); resultobj = Py_None;
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9017 PyObject *obj;
9018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9019 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9020 Py_INCREF(obj);
9021 return Py_BuildValue((char *)"");
9022 }
9023 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj;
9025 wxWindow *arg1 = (wxWindow *) 0 ;
9026 int arg2 = (int) wxBORDER_NONE ;
9027 wxPyPopupTransientWindow *result;
9028 PyObject * obj0 = 0 ;
9029 PyObject * obj1 = 0 ;
9030 char *kwnames[] = {
9031 (char *) "parent",(char *) "style", NULL
9032 };
9033
9034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9037 if (obj1) {
9038 arg2 = (int)SWIG_As_int(obj1);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 }
9041 {
9042 if (!wxPyCheckForApp()) SWIG_fail;
9043 PyThreadState* __tstate = wxPyBeginAllowThreads();
9044 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9045
9046 wxPyEndAllowThreads(__tstate);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 }
9049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9050 return resultobj;
9051 fail:
9052 return NULL;
9053 }
9054
9055
9056 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj;
9058 wxPyPopupTransientWindow *result;
9059 char *kwnames[] = {
9060 NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9064 {
9065 if (!wxPyCheckForApp()) SWIG_fail;
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9082 PyObject *arg2 = (PyObject *) 0 ;
9083 PyObject *arg3 = (PyObject *) 0 ;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9086 PyObject * obj2 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self",(char *) "self",(char *) "_class", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9094 arg2 = obj1;
9095 arg3 = obj2;
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 (arg1)->_setCallbackInfo(arg2,arg3);
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 Py_INCREF(Py_None); resultobj = Py_None;
9104 return resultobj;
9105 fail:
9106 return NULL;
9107 }
9108
9109
9110 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj;
9112 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9113 wxWindow *arg2 = (wxWindow *) NULL ;
9114 PyObject * obj0 = 0 ;
9115 PyObject * obj1 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self",(char *) "focus", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9123 if (obj1) {
9124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9126 }
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 (arg1)->Popup(arg2);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 Py_INCREF(Py_None); resultobj = Py_None;
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj;
9143 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9144 PyObject * obj0 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 (arg1)->Dismiss();
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 Py_INCREF(Py_None); resultobj = Py_None;
9160 return resultobj;
9161 fail:
9162 return NULL;
9163 }
9164
9165
9166 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9167 PyObject *obj;
9168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9169 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9170 Py_INCREF(obj);
9171 return Py_BuildValue((char *)"");
9172 }
9173 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxWindow *arg1 = (wxWindow *) 0 ;
9176 wxString *arg2 = 0 ;
9177 int arg3 = (int) 100 ;
9178 wxRect *arg4 = (wxRect *) NULL ;
9179 wxTipWindow *result;
9180 bool temp2 = false ;
9181 PyObject * obj0 = 0 ;
9182 PyObject * obj1 = 0 ;
9183 PyObject * obj2 = 0 ;
9184 PyObject * obj3 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9192 {
9193 arg2 = wxString_in_helper(obj1);
9194 if (arg2 == NULL) SWIG_fail;
9195 temp2 = true;
9196 }
9197 if (obj2) {
9198 arg3 = (int)SWIG_As_int(obj2);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 if (obj3) {
9202 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9204 }
9205 {
9206 if (!wxPyCheckForApp()) SWIG_fail;
9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
9208 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9209
9210 wxPyEndAllowThreads(__tstate);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 }
9213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9214 {
9215 if (temp2)
9216 delete arg2;
9217 }
9218 return resultobj;
9219 fail:
9220 {
9221 if (temp2)
9222 delete arg2;
9223 }
9224 return NULL;
9225 }
9226
9227
9228 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj;
9230 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9231 wxRect *arg2 = 0 ;
9232 wxRect temp2 ;
9233 PyObject * obj0 = 0 ;
9234 PyObject * obj1 = 0 ;
9235 char *kwnames[] = {
9236 (char *) "self",(char *) "rectBound", NULL
9237 };
9238
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9242 {
9243 arg2 = &temp2;
9244 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9245 }
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 Py_INCREF(Py_None); resultobj = Py_None;
9254 return resultobj;
9255 fail:
9256 return NULL;
9257 }
9258
9259
9260 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj;
9262 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9263 PyObject * obj0 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 (arg1)->Close();
9274
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 Py_INCREF(Py_None); resultobj = Py_None;
9279 return resultobj;
9280 fail:
9281 return NULL;
9282 }
9283
9284
9285 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9286 PyObject *obj;
9287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9288 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9289 Py_INCREF(obj);
9290 return Py_BuildValue((char *)"");
9291 }
9292 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9293 PyObject *resultobj;
9294 wxWindow *arg1 = (wxWindow *) 0 ;
9295 int arg2 = (int) wxID_ANY ;
9296 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9297 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9298 wxSize const &arg4_defvalue = wxDefaultSize ;
9299 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9300 long arg5 = (long) 0 ;
9301 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9302 wxString *arg6 = (wxString *) &arg6_defvalue ;
9303 wxPyVScrolledWindow *result;
9304 wxPoint temp3 ;
9305 wxSize temp4 ;
9306 bool temp6 = false ;
9307 PyObject * obj0 = 0 ;
9308 PyObject * obj1 = 0 ;
9309 PyObject * obj2 = 0 ;
9310 PyObject * obj3 = 0 ;
9311 PyObject * obj4 = 0 ;
9312 PyObject * obj5 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9320 if (obj1) {
9321 arg2 = (int)SWIG_As_int(obj1);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 if (obj2) {
9325 {
9326 arg3 = &temp3;
9327 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9328 }
9329 }
9330 if (obj3) {
9331 {
9332 arg4 = &temp4;
9333 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9334 }
9335 }
9336 if (obj4) {
9337 arg5 = (long)SWIG_As_long(obj4);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 }
9340 if (obj5) {
9341 {
9342 arg6 = wxString_in_helper(obj5);
9343 if (arg6 == NULL) SWIG_fail;
9344 temp6 = true;
9345 }
9346 }
9347 {
9348 if (!wxPyCheckForApp()) SWIG_fail;
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9356 {
9357 if (temp6)
9358 delete arg6;
9359 }
9360 return resultobj;
9361 fail:
9362 {
9363 if (temp6)
9364 delete arg6;
9365 }
9366 return NULL;
9367 }
9368
9369
9370 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj;
9372 wxPyVScrolledWindow *result;
9373 char *kwnames[] = {
9374 NULL
9375 };
9376
9377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9378 {
9379 if (!wxPyCheckForApp()) SWIG_fail;
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9387 return resultobj;
9388 fail:
9389 return NULL;
9390 }
9391
9392
9393 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9394 PyObject *resultobj;
9395 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9396 PyObject *arg2 = (PyObject *) 0 ;
9397 PyObject *arg3 = (PyObject *) 0 ;
9398 PyObject * obj0 = 0 ;
9399 PyObject * obj1 = 0 ;
9400 PyObject * obj2 = 0 ;
9401 char *kwnames[] = {
9402 (char *) "self",(char *) "self",(char *) "_class", NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9408 arg2 = obj1;
9409 arg3 = obj2;
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 (arg1)->_setCallbackInfo(arg2,arg3);
9413
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 Py_INCREF(Py_None); resultobj = Py_None;
9418 return resultobj;
9419 fail:
9420 return NULL;
9421 }
9422
9423
9424 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj;
9426 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9427 wxWindow *arg2 = (wxWindow *) 0 ;
9428 int arg3 = (int) wxID_ANY ;
9429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9431 wxSize const &arg5_defvalue = wxDefaultSize ;
9432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9433 long arg6 = (long) 0 ;
9434 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9435 wxString *arg7 = (wxString *) &arg7_defvalue ;
9436 bool result;
9437 wxPoint temp4 ;
9438 wxSize temp5 ;
9439 bool temp7 = false ;
9440 PyObject * obj0 = 0 ;
9441 PyObject * obj1 = 0 ;
9442 PyObject * obj2 = 0 ;
9443 PyObject * obj3 = 0 ;
9444 PyObject * obj4 = 0 ;
9445 PyObject * obj5 = 0 ;
9446 PyObject * obj6 = 0 ;
9447 char *kwnames[] = {
9448 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9449 };
9450
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9456 if (obj2) {
9457 arg3 = (int)SWIG_As_int(obj2);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 if (obj3) {
9461 {
9462 arg4 = &temp4;
9463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9464 }
9465 }
9466 if (obj4) {
9467 {
9468 arg5 = &temp5;
9469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9470 }
9471 }
9472 if (obj5) {
9473 arg6 = (long)SWIG_As_long(obj5);
9474 if (PyErr_Occurred()) SWIG_fail;
9475 }
9476 if (obj6) {
9477 {
9478 arg7 = wxString_in_helper(obj6);
9479 if (arg7 == NULL) SWIG_fail;
9480 temp7 = true;
9481 }
9482 }
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 {
9491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9492 }
9493 {
9494 if (temp7)
9495 delete arg7;
9496 }
9497 return resultobj;
9498 fail:
9499 {
9500 if (temp7)
9501 delete arg7;
9502 }
9503 return NULL;
9504 }
9505
9506
9507 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9510 size_t arg2 ;
9511 PyObject * obj0 = 0 ;
9512 PyObject * obj1 = 0 ;
9513 char *kwnames[] = {
9514 (char *) "self",(char *) "count", NULL
9515 };
9516
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9520 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 (arg1)->SetLineCount(arg2);
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 Py_INCREF(Py_None); resultobj = Py_None;
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj;
9538 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9539 size_t arg2 ;
9540 bool result;
9541 PyObject * obj0 = 0 ;
9542 PyObject * obj1 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "self",(char *) "line", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9550 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 result = (bool)(arg1)->ScrollToLine(arg2);
9555
9556 wxPyEndAllowThreads(__tstate);
9557 if (PyErr_Occurred()) SWIG_fail;
9558 }
9559 {
9560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9561 }
9562 return resultobj;
9563 fail:
9564 return NULL;
9565 }
9566
9567
9568 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj;
9570 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9571 int arg2 ;
9572 bool result;
9573 PyObject * obj0 = 0 ;
9574 PyObject * obj1 = 0 ;
9575 char *kwnames[] = {
9576 (char *) "self",(char *) "lines", NULL
9577 };
9578
9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9582 arg2 = (int)SWIG_As_int(obj1);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 result = (bool)(arg1)->ScrollLines(arg2);
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 {
9592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9593 }
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9603 int arg2 ;
9604 bool result;
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
9607 char *kwnames[] = {
9608 (char *) "self",(char *) "pages", NULL
9609 };
9610
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9614 arg2 = (int)SWIG_As_int(obj1);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (bool)(arg1)->ScrollPages(arg2);
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 {
9624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9625 }
9626 return resultobj;
9627 fail:
9628 return NULL;
9629 }
9630
9631
9632 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9633 PyObject *resultobj;
9634 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9635 size_t arg2 ;
9636 PyObject * obj0 = 0 ;
9637 PyObject * obj1 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self",(char *) "line", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9645 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 (arg1)->RefreshLine(arg2);
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 Py_INCREF(Py_None); resultobj = Py_None;
9655 return resultobj;
9656 fail:
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9664 size_t arg2 ;
9665 size_t arg3 ;
9666 PyObject * obj0 = 0 ;
9667 PyObject * obj1 = 0 ;
9668 PyObject * obj2 = 0 ;
9669 char *kwnames[] = {
9670 (char *) "self",(char *) "from",(char *) "to", NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9676 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 (arg1)->RefreshLines(arg2,arg3);
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 Py_INCREF(Py_None); resultobj = Py_None;
9688 return resultobj;
9689 fail:
9690 return NULL;
9691 }
9692
9693
9694 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9697 int arg2 ;
9698 int arg3 ;
9699 int result;
9700 PyObject * obj0 = 0 ;
9701 PyObject * obj1 = 0 ;
9702 PyObject * obj2 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self",(char *) "x",(char *) "y", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9710 arg2 = (int)SWIG_As_int(obj1);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 arg3 = (int)SWIG_As_int(obj2);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9717
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) SWIG_fail;
9720 }
9721 resultobj = SWIG_From_int((int)result);
9722 return resultobj;
9723 fail:
9724 return NULL;
9725 }
9726
9727
9728 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9731 wxPoint *arg2 = 0 ;
9732 int result;
9733 wxPoint temp2 ;
9734 PyObject * obj0 = 0 ;
9735 PyObject * obj1 = 0 ;
9736 char *kwnames[] = {
9737 (char *) "self",(char *) "pt", NULL
9738 };
9739
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9743 {
9744 arg2 = &temp2;
9745 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9746 }
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 resultobj = SWIG_From_int((int)result);
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9764 PyObject * obj0 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9772 {
9773 PyThreadState* __tstate = wxPyBeginAllowThreads();
9774 (arg1)->RefreshAll();
9775
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 Py_INCREF(Py_None); resultobj = Py_None;
9780 return resultobj;
9781 fail:
9782 return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9789 size_t result;
9790 PyObject * obj0 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9801
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9806 return resultobj;
9807 fail:
9808 return NULL;
9809 }
9810
9811
9812 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj;
9814 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9815 size_t result;
9816 PyObject * obj0 = 0 ;
9817 char *kwnames[] = {
9818 (char *) "self", NULL
9819 };
9820
9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9841 size_t result;
9842 PyObject * obj0 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9858 return resultobj;
9859 fail:
9860 return NULL;
9861 }
9862
9863
9864 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj;
9866 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9867 size_t arg2 ;
9868 bool result;
9869 PyObject * obj0 = 0 ;
9870 PyObject * obj1 = 0 ;
9871 char *kwnames[] = {
9872 (char *) "self",(char *) "line", NULL
9873 };
9874
9875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9878 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 {
9888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9889 }
9890 return resultobj;
9891 fail:
9892 return NULL;
9893 }
9894
9895
9896 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9897 PyObject *obj;
9898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9899 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9900 Py_INCREF(obj);
9901 return Py_BuildValue((char *)"");
9902 }
9903 static int _wrap_VListBoxNameStr_set(PyObject *) {
9904 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9905 return 1;
9906 }
9907
9908
9909 static PyObject *_wrap_VListBoxNameStr_get() {
9910 PyObject *pyobj;
9911
9912 {
9913 #if wxUSE_UNICODE
9914 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9915 #else
9916 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9917 #endif
9918 }
9919 return pyobj;
9920 }
9921
9922
9923 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9924 PyObject *resultobj;
9925 wxWindow *arg1 = (wxWindow *) 0 ;
9926 int arg2 = (int) wxID_ANY ;
9927 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9928 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9929 wxSize const &arg4_defvalue = wxDefaultSize ;
9930 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9931 long arg5 = (long) 0 ;
9932 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9933 wxString *arg6 = (wxString *) &arg6_defvalue ;
9934 wxPyVListBox *result;
9935 wxPoint temp3 ;
9936 wxSize temp4 ;
9937 bool temp6 = false ;
9938 PyObject * obj0 = 0 ;
9939 PyObject * obj1 = 0 ;
9940 PyObject * obj2 = 0 ;
9941 PyObject * obj3 = 0 ;
9942 PyObject * obj4 = 0 ;
9943 PyObject * obj5 = 0 ;
9944 char *kwnames[] = {
9945 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9951 if (obj1) {
9952 arg2 = (int)SWIG_As_int(obj1);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 if (obj2) {
9956 {
9957 arg3 = &temp3;
9958 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9959 }
9960 }
9961 if (obj3) {
9962 {
9963 arg4 = &temp4;
9964 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9965 }
9966 }
9967 if (obj4) {
9968 arg5 = (long)SWIG_As_long(obj4);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 if (obj5) {
9972 {
9973 arg6 = wxString_in_helper(obj5);
9974 if (arg6 == NULL) SWIG_fail;
9975 temp6 = true;
9976 }
9977 }
9978 {
9979 if (!wxPyCheckForApp()) SWIG_fail;
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9987 {
9988 if (temp6)
9989 delete arg6;
9990 }
9991 return resultobj;
9992 fail:
9993 {
9994 if (temp6)
9995 delete arg6;
9996 }
9997 return NULL;
9998 }
9999
10000
10001 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj;
10003 wxPyVListBox *result;
10004 char *kwnames[] = {
10005 NULL
10006 };
10007
10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10009 {
10010 if (!wxPyCheckForApp()) SWIG_fail;
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (wxPyVListBox *)new wxPyVListBox();
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10025 PyObject *resultobj;
10026 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10027 PyObject *arg2 = (PyObject *) 0 ;
10028 PyObject *arg3 = (PyObject *) 0 ;
10029 PyObject * obj0 = 0 ;
10030 PyObject * obj1 = 0 ;
10031 PyObject * obj2 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "self",(char *) "self",(char *) "_class", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10039 arg2 = obj1;
10040 arg3 = obj2;
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 (arg1)->_setCallbackInfo(arg2,arg3);
10044
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 Py_INCREF(Py_None); resultobj = Py_None;
10049 return resultobj;
10050 fail:
10051 return NULL;
10052 }
10053
10054
10055 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10056 PyObject *resultobj;
10057 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10058 wxWindow *arg2 = (wxWindow *) 0 ;
10059 int arg3 = (int) wxID_ANY ;
10060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10062 wxSize const &arg5_defvalue = wxDefaultSize ;
10063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10064 long arg6 = (long) 0 ;
10065 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10066 wxString *arg7 = (wxString *) &arg7_defvalue ;
10067 bool result;
10068 wxPoint temp4 ;
10069 wxSize temp5 ;
10070 bool temp7 = false ;
10071 PyObject * obj0 = 0 ;
10072 PyObject * obj1 = 0 ;
10073 PyObject * obj2 = 0 ;
10074 PyObject * obj3 = 0 ;
10075 PyObject * obj4 = 0 ;
10076 PyObject * obj5 = 0 ;
10077 PyObject * obj6 = 0 ;
10078 char *kwnames[] = {
10079 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10080 };
10081
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10087 if (obj2) {
10088 arg3 = (int)SWIG_As_int(obj2);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 if (obj3) {
10092 {
10093 arg4 = &temp4;
10094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10095 }
10096 }
10097 if (obj4) {
10098 {
10099 arg5 = &temp5;
10100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10101 }
10102 }
10103 if (obj5) {
10104 arg6 = (long)SWIG_As_long(obj5);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 if (obj6) {
10108 {
10109 arg7 = wxString_in_helper(obj6);
10110 if (arg7 == NULL) SWIG_fail;
10111 temp7 = true;
10112 }
10113 }
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 {
10122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10123 }
10124 {
10125 if (temp7)
10126 delete arg7;
10127 }
10128 return resultobj;
10129 fail:
10130 {
10131 if (temp7)
10132 delete arg7;
10133 }
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10141 size_t result;
10142 PyObject * obj0 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10158 return resultobj;
10159 fail:
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10165 PyObject *resultobj;
10166 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10167 bool result;
10168 PyObject * obj0 = 0 ;
10169 char *kwnames[] = {
10170 (char *) "self", NULL
10171 };
10172
10173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 {
10184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10185 }
10186 return resultobj;
10187 fail:
10188 return NULL;
10189 }
10190
10191
10192 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10195 int result;
10196 PyObject * obj0 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",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 = (int)((wxPyVListBox const *)arg1)->GetSelection();
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 resultobj = SWIG_From_int((int)result);
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10219 PyObject *resultobj;
10220 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10221 size_t arg2 ;
10222 bool result;
10223 PyObject * obj0 = 0 ;
10224 PyObject * obj1 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self",(char *) "item", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10232 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 {
10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
10236 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10237
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
10241 {
10242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10243 }
10244 return resultobj;
10245 fail:
10246 return NULL;
10247 }
10248
10249
10250 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10251 PyObject *resultobj;
10252 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10253 size_t arg2 ;
10254 bool result;
10255 PyObject * obj0 = 0 ;
10256 PyObject * obj1 = 0 ;
10257 char *kwnames[] = {
10258 (char *) "self",(char *) "item", NULL
10259 };
10260
10261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10264 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 {
10274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10275 }
10276 return resultobj;
10277 fail:
10278 return NULL;
10279 }
10280
10281
10282 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10283 PyObject *resultobj;
10284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10285 size_t result;
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
10301 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10302 return resultobj;
10303 fail:
10304 return NULL;
10305 }
10306
10307
10308 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10309 PyObject *resultobj;
10310 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10311 PyObject *result;
10312 PyObject * obj0 = 0 ;
10313 char *kwnames[] = {
10314 (char *) "self", NULL
10315 };
10316
10317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 resultobj = result;
10328 return resultobj;
10329 fail:
10330 return NULL;
10331 }
10332
10333
10334 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj;
10336 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10337 unsigned long arg2 ;
10338 PyObject *result;
10339 PyObject * obj0 = 0 ;
10340 PyObject * obj1 = 0 ;
10341 char *kwnames[] = {
10342 (char *) "self",(char *) "cookie", NULL
10343 };
10344
10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10348 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 resultobj = result;
10358 return resultobj;
10359 fail:
10360 return NULL;
10361 }
10362
10363
10364 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj;
10366 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10367 wxPoint result;
10368 PyObject * obj0 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 result = ((wxPyVListBox const *)arg1)->GetMargins();
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 {
10384 wxPoint * resultptr;
10385 resultptr = new wxPoint((wxPoint &) result);
10386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10387 }
10388 return resultobj;
10389 fail:
10390 return NULL;
10391 }
10392
10393
10394 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10395 PyObject *resultobj;
10396 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10397 wxColour *result;
10398 PyObject * obj0 = 0 ;
10399 char *kwnames[] = {
10400 (char *) "self", NULL
10401 };
10402
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 {
10409 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10410 result = (wxColour *) &_result_ref;
10411 }
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10426 size_t arg2 ;
10427 PyObject * obj0 = 0 ;
10428 PyObject * obj1 = 0 ;
10429 char *kwnames[] = {
10430 (char *) "self",(char *) "count", NULL
10431 };
10432
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10436 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 (arg1)->SetItemCount(arg2);
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 Py_INCREF(Py_None); resultobj = Py_None;
10446 return resultobj;
10447 fail:
10448 return NULL;
10449 }
10450
10451
10452 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10455 PyObject * obj0 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 (arg1)->Clear();
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 Py_INCREF(Py_None); resultobj = Py_None;
10471 return resultobj;
10472 fail:
10473 return NULL;
10474 }
10475
10476
10477 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj;
10479 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10480 int arg2 ;
10481 PyObject * obj0 = 0 ;
10482 PyObject * obj1 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self",(char *) "selection", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10490 arg2 = (int)SWIG_As_int(obj1);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 (arg1)->SetSelection(arg2);
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 Py_INCREF(Py_None); resultobj = Py_None;
10500 return resultobj;
10501 fail:
10502 return NULL;
10503 }
10504
10505
10506 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10507 PyObject *resultobj;
10508 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10509 size_t arg2 ;
10510 bool arg3 = (bool) true ;
10511 bool result;
10512 PyObject * obj0 = 0 ;
10513 PyObject * obj1 = 0 ;
10514 PyObject * obj2 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self",(char *) "item",(char *) "select", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10522 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 if (obj2) {
10525 arg3 = (bool)SWIG_As_bool(obj2);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = (bool)(arg1)->Select(arg2,arg3);
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 {
10536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10537 }
10538 return resultobj;
10539 fail:
10540 return NULL;
10541 }
10542
10543
10544 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj;
10546 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10547 size_t arg2 ;
10548 size_t arg3 ;
10549 bool result;
10550 PyObject * obj0 = 0 ;
10551 PyObject * obj1 = 0 ;
10552 PyObject * obj2 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "self",(char *) "from",(char *) "to", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10560 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 result = (bool)(arg1)->SelectRange(arg2,arg3);
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 {
10572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10573 }
10574 return resultobj;
10575 fail:
10576 return NULL;
10577 }
10578
10579
10580 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj;
10582 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10583 size_t arg2 ;
10584 PyObject * obj0 = 0 ;
10585 PyObject * obj1 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "item", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10593 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 (arg1)->Toggle(arg2);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 Py_INCREF(Py_None); resultobj = Py_None;
10603 return resultobj;
10604 fail:
10605 return NULL;
10606 }
10607
10608
10609 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10610 PyObject *resultobj;
10611 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10612 bool result;
10613 PyObject * obj0 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "self", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 result = (bool)(arg1)->SelectAll();
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 {
10629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10630 }
10631 return resultobj;
10632 fail:
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_VListBox_DeselectAll(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_DeselectAll",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)->DeselectAll();
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_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10666 PyObject *resultobj;
10667 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10668 wxPoint *arg2 = 0 ;
10669 wxPoint temp2 ;
10670 PyObject * obj0 = 0 ;
10671 PyObject * obj1 = 0 ;
10672 char *kwnames[] = {
10673 (char *) "self",(char *) "pt", NULL
10674 };
10675
10676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10679 {
10680 arg2 = &temp2;
10681 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10682 }
10683 {
10684 PyThreadState* __tstate = wxPyBeginAllowThreads();
10685 (arg1)->SetMargins((wxPoint const &)*arg2);
10686
10687 wxPyEndAllowThreads(__tstate);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 Py_INCREF(Py_None); resultobj = Py_None;
10691 return resultobj;
10692 fail:
10693 return NULL;
10694 }
10695
10696
10697 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10698 PyObject *resultobj;
10699 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10700 int arg2 ;
10701 int arg3 ;
10702 PyObject * obj0 = 0 ;
10703 PyObject * obj1 = 0 ;
10704 PyObject * obj2 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self",(char *) "x",(char *) "y", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10712 arg2 = (int)SWIG_As_int(obj1);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 arg3 = (int)SWIG_As_int(obj2);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 (arg1)->SetMargins(arg2,arg3);
10719
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 Py_INCREF(Py_None); resultobj = Py_None;
10724 return resultobj;
10725 fail:
10726 return NULL;
10727 }
10728
10729
10730 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj;
10732 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10733 wxColour *arg2 = 0 ;
10734 wxColour temp2 ;
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "col", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10744 {
10745 arg2 = &temp2;
10746 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10747 }
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 Py_INCREF(Py_None); resultobj = Py_None;
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10763 PyObject *obj;
10764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10765 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10766 Py_INCREF(obj);
10767 return Py_BuildValue((char *)"");
10768 }
10769 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj;
10771 wxWindow *arg1 = (wxWindow *) 0 ;
10772 int arg2 = (int) wxID_ANY ;
10773 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10774 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10775 wxSize const &arg4_defvalue = wxDefaultSize ;
10776 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10777 long arg5 = (long) 0 ;
10778 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10779 wxString *arg6 = (wxString *) &arg6_defvalue ;
10780 wxPyHtmlListBox *result;
10781 wxPoint temp3 ;
10782 wxSize temp4 ;
10783 bool temp6 = false ;
10784 PyObject * obj0 = 0 ;
10785 PyObject * obj1 = 0 ;
10786 PyObject * obj2 = 0 ;
10787 PyObject * obj3 = 0 ;
10788 PyObject * obj4 = 0 ;
10789 PyObject * obj5 = 0 ;
10790 char *kwnames[] = {
10791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10792 };
10793
10794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10797 if (obj1) {
10798 arg2 = (int)SWIG_As_int(obj1);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 if (obj2) {
10802 {
10803 arg3 = &temp3;
10804 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10805 }
10806 }
10807 if (obj3) {
10808 {
10809 arg4 = &temp4;
10810 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10811 }
10812 }
10813 if (obj4) {
10814 arg5 = (long)SWIG_As_long(obj4);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 if (obj5) {
10818 {
10819 arg6 = wxString_in_helper(obj5);
10820 if (arg6 == NULL) SWIG_fail;
10821 temp6 = true;
10822 }
10823 }
10824 {
10825 if (!wxPyCheckForApp()) SWIG_fail;
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10833 {
10834 if (temp6)
10835 delete arg6;
10836 }
10837 return resultobj;
10838 fail:
10839 {
10840 if (temp6)
10841 delete arg6;
10842 }
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxPyHtmlListBox *result;
10850 char *kwnames[] = {
10851 NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10855 {
10856 if (!wxPyCheckForApp()) SWIG_fail;
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10859
10860 wxPyEndAllowThreads(__tstate);
10861 if (PyErr_Occurred()) SWIG_fail;
10862 }
10863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10864 return resultobj;
10865 fail:
10866 return NULL;
10867 }
10868
10869
10870 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10871 PyObject *resultobj;
10872 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10873 PyObject *arg2 = (PyObject *) 0 ;
10874 PyObject *arg3 = (PyObject *) 0 ;
10875 PyObject * obj0 = 0 ;
10876 PyObject * obj1 = 0 ;
10877 PyObject * obj2 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self",(char *) "self",(char *) "_class", NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10885 arg2 = obj1;
10886 arg3 = obj2;
10887 {
10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
10889 (arg1)->_setCallbackInfo(arg2,arg3);
10890
10891 wxPyEndAllowThreads(__tstate);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
10894 Py_INCREF(Py_None); resultobj = Py_None;
10895 return resultobj;
10896 fail:
10897 return NULL;
10898 }
10899
10900
10901 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10902 PyObject *resultobj;
10903 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10904 wxWindow *arg2 = (wxWindow *) 0 ;
10905 int arg3 = (int) wxID_ANY ;
10906 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10907 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10908 wxSize const &arg5_defvalue = wxDefaultSize ;
10909 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10910 long arg6 = (long) 0 ;
10911 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10912 wxString *arg7 = (wxString *) &arg7_defvalue ;
10913 bool result;
10914 wxPoint temp4 ;
10915 wxSize temp5 ;
10916 bool temp7 = false ;
10917 PyObject * obj0 = 0 ;
10918 PyObject * obj1 = 0 ;
10919 PyObject * obj2 = 0 ;
10920 PyObject * obj3 = 0 ;
10921 PyObject * obj4 = 0 ;
10922 PyObject * obj5 = 0 ;
10923 PyObject * obj6 = 0 ;
10924 char *kwnames[] = {
10925 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10926 };
10927
10928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10933 if (obj2) {
10934 arg3 = (int)SWIG_As_int(obj2);
10935 if (PyErr_Occurred()) SWIG_fail;
10936 }
10937 if (obj3) {
10938 {
10939 arg4 = &temp4;
10940 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10941 }
10942 }
10943 if (obj4) {
10944 {
10945 arg5 = &temp5;
10946 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10947 }
10948 }
10949 if (obj5) {
10950 arg6 = (long)SWIG_As_long(obj5);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 if (obj6) {
10954 {
10955 arg7 = wxString_in_helper(obj6);
10956 if (arg7 == NULL) SWIG_fail;
10957 temp7 = true;
10958 }
10959 }
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 {
10968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10969 }
10970 {
10971 if (temp7)
10972 delete arg7;
10973 }
10974 return resultobj;
10975 fail:
10976 {
10977 if (temp7)
10978 delete arg7;
10979 }
10980 return NULL;
10981 }
10982
10983
10984 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10985 PyObject *resultobj;
10986 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10987 PyObject * obj0 = 0 ;
10988 char *kwnames[] = {
10989 (char *) "self", NULL
10990 };
10991
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 (arg1)->RefreshAll();
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 Py_INCREF(Py_None); resultobj = Py_None;
11003 return resultobj;
11004 fail:
11005 return NULL;
11006 }
11007
11008
11009 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj;
11011 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11012 size_t arg2 ;
11013 PyObject * obj0 = 0 ;
11014 PyObject * obj1 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self",(char *) "count", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11022 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 (arg1)->SetItemCount(arg2);
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 Py_INCREF(Py_None); resultobj = Py_None;
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj;
11040 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11041 wxFileSystem *result;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 {
11053 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11054 result = (wxFileSystem *) &_result_ref;
11055 }
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11061 return resultobj;
11062 fail:
11063 return NULL;
11064 }
11065
11066
11067 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11068 PyObject *obj;
11069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11070 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11071 Py_INCREF(obj);
11072 return Py_BuildValue((char *)"");
11073 }
11074 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxTaskBarIcon *result;
11077 char *kwnames[] = {
11078 NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11082 {
11083 if (!wxPyCheckForApp()) SWIG_fail;
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 result = (wxTaskBarIcon *)new wxTaskBarIcon();
11086
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
11091 return resultobj;
11092 fail:
11093 return NULL;
11094 }
11095
11096
11097 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11098 PyObject *resultobj;
11099 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11100 PyObject * obj0 = 0 ;
11101 char *kwnames[] = {
11102 (char *) "self", NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 delete arg1;
11111
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 Py_INCREF(Py_None); resultobj = Py_None;
11116 return resultobj;
11117 fail:
11118 return NULL;
11119 }
11120
11121
11122 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj;
11124 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11125 PyObject * obj0 = 0 ;
11126 char *kwnames[] = {
11127 (char *) "self", NULL
11128 };
11129
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 wxTaskBarIcon_Destroy(arg1);
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 Py_INCREF(Py_None); resultobj = Py_None;
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj;
11149 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11150 bool result;
11151 PyObject * obj0 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "self", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 {
11167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11168 }
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(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_IsIconInstalled",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)->IsIconInstalled();
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_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11206 wxIcon *arg2 = 0 ;
11207 wxString const &arg3_defvalue = wxPyEmptyString ;
11208 wxString *arg3 = (wxString *) &arg3_defvalue ;
11209 bool result;
11210 bool temp3 = false ;
11211 PyObject * obj0 = 0 ;
11212 PyObject * obj1 = 0 ;
11213 PyObject * obj2 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11222 SWIG_POINTER_EXCEPTION | 0)) == -1)
11223 SWIG_fail;
11224 if (arg2 == NULL) {
11225 PyErr_SetString(PyExc_TypeError,"null reference");
11226 SWIG_fail;
11227 }
11228 if (obj2) {
11229 {
11230 arg3 = wxString_in_helper(obj2);
11231 if (arg3 == NULL) SWIG_fail;
11232 temp3 = true;
11233 }
11234 }
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 {
11243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11244 }
11245 {
11246 if (temp3)
11247 delete arg3;
11248 }
11249 return resultobj;
11250 fail:
11251 {
11252 if (temp3)
11253 delete arg3;
11254 }
11255 return NULL;
11256 }
11257
11258
11259 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj;
11261 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11262 bool result;
11263 PyObject * obj0 = 0 ;
11264 char *kwnames[] = {
11265 (char *) "self", NULL
11266 };
11267
11268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 result = (bool)(arg1)->RemoveIcon();
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 {
11279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11280 }
11281 return resultobj;
11282 fail:
11283 return NULL;
11284 }
11285
11286
11287 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11288 PyObject *resultobj;
11289 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11290 wxMenu *arg2 = (wxMenu *) 0 ;
11291 bool result;
11292 PyObject * obj0 = 0 ;
11293 PyObject * obj1 = 0 ;
11294 char *kwnames[] = {
11295 (char *) "self",(char *) "menu", NULL
11296 };
11297
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 result = (bool)(arg1)->PopupMenu(arg2);
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 {
11311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11312 }
11313 return resultobj;
11314 fail:
11315 return NULL;
11316 }
11317
11318
11319 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11320 PyObject *obj;
11321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11322 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11323 Py_INCREF(obj);
11324 return Py_BuildValue((char *)"");
11325 }
11326 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxEventType arg1 ;
11329 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11330 wxTaskBarIconEvent *result;
11331 PyObject * obj0 = 0 ;
11332 PyObject * obj1 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "evtType",(char *) "tbIcon", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11338 arg1 = (wxEventType)SWIG_As_int(obj0);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11350 return resultobj;
11351 fail:
11352 return NULL;
11353 }
11354
11355
11356 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11357 PyObject *obj;
11358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11359 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11360 Py_INCREF(obj);
11361 return Py_BuildValue((char *)"");
11362 }
11363 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11364 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11365 return 1;
11366 }
11367
11368
11369 static PyObject *_wrap_FileSelectorPromptStr_get() {
11370 PyObject *pyobj;
11371
11372 {
11373 #if wxUSE_UNICODE
11374 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11375 #else
11376 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11377 #endif
11378 }
11379 return pyobj;
11380 }
11381
11382
11383 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11384 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11385 return 1;
11386 }
11387
11388
11389 static PyObject *_wrap_DirSelectorPromptStr_get() {
11390 PyObject *pyobj;
11391
11392 {
11393 #if wxUSE_UNICODE
11394 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11395 #else
11396 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11397 #endif
11398 }
11399 return pyobj;
11400 }
11401
11402
11403 static int _wrap_DirDialogNameStr_set(PyObject *) {
11404 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11405 return 1;
11406 }
11407
11408
11409 static PyObject *_wrap_DirDialogNameStr_get() {
11410 PyObject *pyobj;
11411
11412 {
11413 #if wxUSE_UNICODE
11414 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11415 #else
11416 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11417 #endif
11418 }
11419 return pyobj;
11420 }
11421
11422
11423 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11424 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11425 return 1;
11426 }
11427
11428
11429 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11430 PyObject *pyobj;
11431
11432 {
11433 #if wxUSE_UNICODE
11434 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11435 #else
11436 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11437 #endif
11438 }
11439 return pyobj;
11440 }
11441
11442
11443 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11444 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11445 return 1;
11446 }
11447
11448
11449 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11450 PyObject *pyobj;
11451
11452 {
11453 #if wxUSE_UNICODE
11454 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11455 #else
11456 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11457 #endif
11458 }
11459 return pyobj;
11460 }
11461
11462
11463 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11464 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11465 return 1;
11466 }
11467
11468
11469 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11470 PyObject *pyobj;
11471
11472 {
11473 #if wxUSE_UNICODE
11474 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11475 #else
11476 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11477 #endif
11478 }
11479 return pyobj;
11480 }
11481
11482
11483 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj;
11485 wxColourData *result;
11486 char *kwnames[] = {
11487 NULL
11488 };
11489
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 result = (wxColourData *)new wxColourData();
11494
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11499 return resultobj;
11500 fail:
11501 return NULL;
11502 }
11503
11504
11505 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11506 PyObject *resultobj;
11507 wxColourData *arg1 = (wxColourData *) 0 ;
11508 PyObject * obj0 = 0 ;
11509 char *kwnames[] = {
11510 (char *) "self", NULL
11511 };
11512
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 delete arg1;
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 Py_INCREF(Py_None); resultobj = Py_None;
11524 return resultobj;
11525 fail:
11526 return NULL;
11527 }
11528
11529
11530 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj;
11532 wxColourData *arg1 = (wxColourData *) 0 ;
11533 bool result;
11534 PyObject * obj0 = 0 ;
11535 char *kwnames[] = {
11536 (char *) "self", NULL
11537 };
11538
11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 result = (bool)(arg1)->GetChooseFull();
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
11549 {
11550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11551 }
11552 return resultobj;
11553 fail:
11554 return NULL;
11555 }
11556
11557
11558 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11559 PyObject *resultobj;
11560 wxColourData *arg1 = (wxColourData *) 0 ;
11561 wxColour result;
11562 PyObject * obj0 = 0 ;
11563 char *kwnames[] = {
11564 (char *) "self", NULL
11565 };
11566
11567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",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 = (arg1)->GetColour();
11573
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 {
11578 wxColour * resultptr;
11579 resultptr = new wxColour((wxColour &) result);
11580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11581 }
11582 return resultobj;
11583 fail:
11584 return NULL;
11585 }
11586
11587
11588 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11589 PyObject *resultobj;
11590 wxColourData *arg1 = (wxColourData *) 0 ;
11591 int arg2 ;
11592 wxColour result;
11593 PyObject * obj0 = 0 ;
11594 PyObject * obj1 = 0 ;
11595 char *kwnames[] = {
11596 (char *) "self",(char *) "i", NULL
11597 };
11598
11599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11602 arg2 = (int)SWIG_As_int(obj1);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = (arg1)->GetCustomColour(arg2);
11607
11608 wxPyEndAllowThreads(__tstate);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 {
11612 wxColour * resultptr;
11613 resultptr = new wxColour((wxColour &) result);
11614 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11615 }
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj;
11624 wxColourData *arg1 = (wxColourData *) 0 ;
11625 int arg2 ;
11626 PyObject * obj0 = 0 ;
11627 PyObject * obj1 = 0 ;
11628 char *kwnames[] = {
11629 (char *) "self",(char *) "flag", NULL
11630 };
11631
11632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11635 arg2 = (int)SWIG_As_int(obj1);
11636 if (PyErr_Occurred()) SWIG_fail;
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 (arg1)->SetChooseFull(arg2);
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 Py_INCREF(Py_None); resultobj = Py_None;
11645 return resultobj;
11646 fail:
11647 return NULL;
11648 }
11649
11650
11651 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxColourData *arg1 = (wxColourData *) 0 ;
11654 wxColour *arg2 = 0 ;
11655 wxColour temp2 ;
11656 PyObject * obj0 = 0 ;
11657 PyObject * obj1 = 0 ;
11658 char *kwnames[] = {
11659 (char *) "self",(char *) "colour", NULL
11660 };
11661
11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11665 {
11666 arg2 = &temp2;
11667 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11668 }
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 (arg1)->SetColour((wxColour const &)*arg2);
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 Py_INCREF(Py_None); resultobj = Py_None;
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxColourData *arg1 = (wxColourData *) 0 ;
11686 int arg2 ;
11687 wxColour *arg3 = 0 ;
11688 wxColour temp3 ;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 PyObject * obj2 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "i",(char *) "colour", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11699 arg2 = (int)SWIG_As_int(obj1);
11700 if (PyErr_Occurred()) SWIG_fail;
11701 {
11702 arg3 = &temp3;
11703 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11704 }
11705 {
11706 PyThreadState* __tstate = wxPyBeginAllowThreads();
11707 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11708
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 Py_INCREF(Py_None); resultobj = Py_None;
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11720 PyObject *obj;
11721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11722 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11723 Py_INCREF(obj);
11724 return Py_BuildValue((char *)"");
11725 }
11726 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj;
11728 wxWindow *arg1 = (wxWindow *) 0 ;
11729 wxColourData *arg2 = (wxColourData *) NULL ;
11730 wxColourDialog *result;
11731 PyObject * obj0 = 0 ;
11732 PyObject * obj1 = 0 ;
11733 char *kwnames[] = {
11734 (char *) "parent",(char *) "data", NULL
11735 };
11736
11737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11740 if (obj1) {
11741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11743 }
11744 {
11745 if (!wxPyCheckForApp()) SWIG_fail;
11746 PyThreadState* __tstate = wxPyBeginAllowThreads();
11747 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11748
11749 wxPyEndAllowThreads(__tstate);
11750 if (PyErr_Occurred()) SWIG_fail;
11751 }
11752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11753 return resultobj;
11754 fail:
11755 return NULL;
11756 }
11757
11758
11759 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj;
11761 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11762 wxColourData *result;
11763 PyObject * obj0 = 0 ;
11764 char *kwnames[] = {
11765 (char *) "self", NULL
11766 };
11767
11768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11771 {
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 {
11774 wxColourData &_result_ref = (arg1)->GetColourData();
11775 result = (wxColourData *) &_result_ref;
11776 }
11777
11778 wxPyEndAllowThreads(__tstate);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11782 return resultobj;
11783 fail:
11784 return NULL;
11785 }
11786
11787
11788 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11789 PyObject *obj;
11790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11791 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11792 Py_INCREF(obj);
11793 return Py_BuildValue((char *)"");
11794 }
11795 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxWindow *arg1 = (wxWindow *) 0 ;
11798 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11799 wxString *arg2 = (wxString *) &arg2_defvalue ;
11800 wxString const &arg3_defvalue = wxPyEmptyString ;
11801 wxString *arg3 = (wxString *) &arg3_defvalue ;
11802 long arg4 = (long) 0 ;
11803 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11804 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11805 wxSize const &arg6_defvalue = wxDefaultSize ;
11806 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11807 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11808 wxString *arg7 = (wxString *) &arg7_defvalue ;
11809 wxDirDialog *result;
11810 bool temp2 = false ;
11811 bool temp3 = false ;
11812 wxPoint temp5 ;
11813 wxSize temp6 ;
11814 bool temp7 = false ;
11815 PyObject * obj0 = 0 ;
11816 PyObject * obj1 = 0 ;
11817 PyObject * obj2 = 0 ;
11818 PyObject * obj3 = 0 ;
11819 PyObject * obj4 = 0 ;
11820 PyObject * obj5 = 0 ;
11821 PyObject * obj6 = 0 ;
11822 char *kwnames[] = {
11823 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11829 if (obj1) {
11830 {
11831 arg2 = wxString_in_helper(obj1);
11832 if (arg2 == NULL) SWIG_fail;
11833 temp2 = true;
11834 }
11835 }
11836 if (obj2) {
11837 {
11838 arg3 = wxString_in_helper(obj2);
11839 if (arg3 == NULL) SWIG_fail;
11840 temp3 = true;
11841 }
11842 }
11843 if (obj3) {
11844 arg4 = (long)SWIG_As_long(obj3);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 if (obj4) {
11848 {
11849 arg5 = &temp5;
11850 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11851 }
11852 }
11853 if (obj5) {
11854 {
11855 arg6 = &temp6;
11856 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11857 }
11858 }
11859 if (obj6) {
11860 {
11861 arg7 = wxString_in_helper(obj6);
11862 if (arg7 == NULL) SWIG_fail;
11863 temp7 = true;
11864 }
11865 }
11866 {
11867 if (!wxPyCheckForApp()) SWIG_fail;
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
11869 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 }
11874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11875 {
11876 if (temp2)
11877 delete arg2;
11878 }
11879 {
11880 if (temp3)
11881 delete arg3;
11882 }
11883 {
11884 if (temp7)
11885 delete arg7;
11886 }
11887 return resultobj;
11888 fail:
11889 {
11890 if (temp2)
11891 delete arg2;
11892 }
11893 {
11894 if (temp3)
11895 delete arg3;
11896 }
11897 {
11898 if (temp7)
11899 delete arg7;
11900 }
11901 return NULL;
11902 }
11903
11904
11905 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj;
11907 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11908 wxString result;
11909 PyObject * obj0 = 0 ;
11910 char *kwnames[] = {
11911 (char *) "self", NULL
11912 };
11913
11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (arg1)->GetPath();
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 {
11925 #if wxUSE_UNICODE
11926 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11927 #else
11928 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11929 #endif
11930 }
11931 return resultobj;
11932 fail:
11933 return NULL;
11934 }
11935
11936
11937 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11940 wxString result;
11941 PyObject * obj0 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (arg1)->GetMessage();
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 {
11957 #if wxUSE_UNICODE
11958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11959 #else
11960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11961 #endif
11962 }
11963 return resultobj;
11964 fail:
11965 return NULL;
11966 }
11967
11968
11969 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11970 PyObject *resultobj;
11971 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11972 long result;
11973 PyObject * obj0 = 0 ;
11974 char *kwnames[] = {
11975 (char *) "self", NULL
11976 };
11977
11978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11981 {
11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
11983 result = (long)(arg1)->GetStyle();
11984
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 resultobj = SWIG_From_long((long)result);
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11998 wxString *arg2 = 0 ;
11999 bool temp2 = false ;
12000 PyObject * obj0 = 0 ;
12001 PyObject * obj1 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self",(char *) "message", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12009 {
12010 arg2 = wxString_in_helper(obj1);
12011 if (arg2 == NULL) SWIG_fail;
12012 temp2 = true;
12013 }
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 (arg1)->SetMessage((wxString const &)*arg2);
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 Py_INCREF(Py_None); resultobj = Py_None;
12022 {
12023 if (temp2)
12024 delete arg2;
12025 }
12026 return resultobj;
12027 fail:
12028 {
12029 if (temp2)
12030 delete arg2;
12031 }
12032 return NULL;
12033 }
12034
12035
12036 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12037 PyObject *resultobj;
12038 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12039 wxString *arg2 = 0 ;
12040 bool temp2 = false ;
12041 PyObject * obj0 = 0 ;
12042 PyObject * obj1 = 0 ;
12043 char *kwnames[] = {
12044 (char *) "self",(char *) "path", NULL
12045 };
12046
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12050 {
12051 arg2 = wxString_in_helper(obj1);
12052 if (arg2 == NULL) SWIG_fail;
12053 temp2 = true;
12054 }
12055 {
12056 PyThreadState* __tstate = wxPyBeginAllowThreads();
12057 (arg1)->SetPath((wxString const &)*arg2);
12058
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 Py_INCREF(Py_None); resultobj = Py_None;
12063 {
12064 if (temp2)
12065 delete arg2;
12066 }
12067 return resultobj;
12068 fail:
12069 {
12070 if (temp2)
12071 delete arg2;
12072 }
12073 return NULL;
12074 }
12075
12076
12077 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12078 PyObject *obj;
12079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12080 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12081 Py_INCREF(obj);
12082 return Py_BuildValue((char *)"");
12083 }
12084 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12085 PyObject *resultobj;
12086 wxWindow *arg1 = (wxWindow *) 0 ;
12087 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12088 wxString *arg2 = (wxString *) &arg2_defvalue ;
12089 wxString const &arg3_defvalue = wxPyEmptyString ;
12090 wxString *arg3 = (wxString *) &arg3_defvalue ;
12091 wxString const &arg4_defvalue = wxPyEmptyString ;
12092 wxString *arg4 = (wxString *) &arg4_defvalue ;
12093 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12094 wxString *arg5 = (wxString *) &arg5_defvalue ;
12095 long arg6 = (long) 0 ;
12096 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12097 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12098 wxFileDialog *result;
12099 bool temp2 = false ;
12100 bool temp3 = false ;
12101 bool temp4 = false ;
12102 bool temp5 = false ;
12103 wxPoint temp7 ;
12104 PyObject * obj0 = 0 ;
12105 PyObject * obj1 = 0 ;
12106 PyObject * obj2 = 0 ;
12107 PyObject * obj3 = 0 ;
12108 PyObject * obj4 = 0 ;
12109 PyObject * obj5 = 0 ;
12110 PyObject * obj6 = 0 ;
12111 char *kwnames[] = {
12112 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12113 };
12114
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12118 if (obj1) {
12119 {
12120 arg2 = wxString_in_helper(obj1);
12121 if (arg2 == NULL) SWIG_fail;
12122 temp2 = true;
12123 }
12124 }
12125 if (obj2) {
12126 {
12127 arg3 = wxString_in_helper(obj2);
12128 if (arg3 == NULL) SWIG_fail;
12129 temp3 = true;
12130 }
12131 }
12132 if (obj3) {
12133 {
12134 arg4 = wxString_in_helper(obj3);
12135 if (arg4 == NULL) SWIG_fail;
12136 temp4 = true;
12137 }
12138 }
12139 if (obj4) {
12140 {
12141 arg5 = wxString_in_helper(obj4);
12142 if (arg5 == NULL) SWIG_fail;
12143 temp5 = true;
12144 }
12145 }
12146 if (obj5) {
12147 arg6 = (long)SWIG_As_long(obj5);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
12150 if (obj6) {
12151 {
12152 arg7 = &temp7;
12153 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12154 }
12155 }
12156 {
12157 if (!wxPyCheckForApp()) SWIG_fail;
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12165 {
12166 if (temp2)
12167 delete arg2;
12168 }
12169 {
12170 if (temp3)
12171 delete arg3;
12172 }
12173 {
12174 if (temp4)
12175 delete arg4;
12176 }
12177 {
12178 if (temp5)
12179 delete arg5;
12180 }
12181 return resultobj;
12182 fail:
12183 {
12184 if (temp2)
12185 delete arg2;
12186 }
12187 {
12188 if (temp3)
12189 delete arg3;
12190 }
12191 {
12192 if (temp4)
12193 delete arg4;
12194 }
12195 {
12196 if (temp5)
12197 delete arg5;
12198 }
12199 return NULL;
12200 }
12201
12202
12203 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12206 wxString *arg2 = 0 ;
12207 bool temp2 = false ;
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self",(char *) "message", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12217 {
12218 arg2 = wxString_in_helper(obj1);
12219 if (arg2 == NULL) SWIG_fail;
12220 temp2 = true;
12221 }
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 (arg1)->SetMessage((wxString const &)*arg2);
12225
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 Py_INCREF(Py_None); resultobj = Py_None;
12230 {
12231 if (temp2)
12232 delete arg2;
12233 }
12234 return resultobj;
12235 fail:
12236 {
12237 if (temp2)
12238 delete arg2;
12239 }
12240 return NULL;
12241 }
12242
12243
12244 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12245 PyObject *resultobj;
12246 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12247 wxString *arg2 = 0 ;
12248 bool temp2 = false ;
12249 PyObject * obj0 = 0 ;
12250 PyObject * obj1 = 0 ;
12251 char *kwnames[] = {
12252 (char *) "self",(char *) "path", NULL
12253 };
12254
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12258 {
12259 arg2 = wxString_in_helper(obj1);
12260 if (arg2 == NULL) SWIG_fail;
12261 temp2 = true;
12262 }
12263 {
12264 PyThreadState* __tstate = wxPyBeginAllowThreads();
12265 (arg1)->SetPath((wxString const &)*arg2);
12266
12267 wxPyEndAllowThreads(__tstate);
12268 if (PyErr_Occurred()) SWIG_fail;
12269 }
12270 Py_INCREF(Py_None); resultobj = Py_None;
12271 {
12272 if (temp2)
12273 delete arg2;
12274 }
12275 return resultobj;
12276 fail:
12277 {
12278 if (temp2)
12279 delete arg2;
12280 }
12281 return NULL;
12282 }
12283
12284
12285 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12286 PyObject *resultobj;
12287 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12288 wxString *arg2 = 0 ;
12289 bool temp2 = false ;
12290 PyObject * obj0 = 0 ;
12291 PyObject * obj1 = 0 ;
12292 char *kwnames[] = {
12293 (char *) "self",(char *) "dir", NULL
12294 };
12295
12296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12299 {
12300 arg2 = wxString_in_helper(obj1);
12301 if (arg2 == NULL) SWIG_fail;
12302 temp2 = true;
12303 }
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 (arg1)->SetDirectory((wxString const &)*arg2);
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 Py_INCREF(Py_None); resultobj = Py_None;
12312 {
12313 if (temp2)
12314 delete arg2;
12315 }
12316 return resultobj;
12317 fail:
12318 {
12319 if (temp2)
12320 delete arg2;
12321 }
12322 return NULL;
12323 }
12324
12325
12326 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12329 wxString *arg2 = 0 ;
12330 bool temp2 = false ;
12331 PyObject * obj0 = 0 ;
12332 PyObject * obj1 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self",(char *) "name", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12340 {
12341 arg2 = wxString_in_helper(obj1);
12342 if (arg2 == NULL) SWIG_fail;
12343 temp2 = true;
12344 }
12345 {
12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
12347 (arg1)->SetFilename((wxString const &)*arg2);
12348
12349 wxPyEndAllowThreads(__tstate);
12350 if (PyErr_Occurred()) SWIG_fail;
12351 }
12352 Py_INCREF(Py_None); resultobj = Py_None;
12353 {
12354 if (temp2)
12355 delete arg2;
12356 }
12357 return resultobj;
12358 fail:
12359 {
12360 if (temp2)
12361 delete arg2;
12362 }
12363 return NULL;
12364 }
12365
12366
12367 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12368 PyObject *resultobj;
12369 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12370 wxString *arg2 = 0 ;
12371 bool temp2 = false ;
12372 PyObject * obj0 = 0 ;
12373 PyObject * obj1 = 0 ;
12374 char *kwnames[] = {
12375 (char *) "self",(char *) "wildCard", NULL
12376 };
12377
12378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12381 {
12382 arg2 = wxString_in_helper(obj1);
12383 if (arg2 == NULL) SWIG_fail;
12384 temp2 = true;
12385 }
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 (arg1)->SetWildcard((wxString const &)*arg2);
12389
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 Py_INCREF(Py_None); resultobj = Py_None;
12394 {
12395 if (temp2)
12396 delete arg2;
12397 }
12398 return resultobj;
12399 fail:
12400 {
12401 if (temp2)
12402 delete arg2;
12403 }
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12411 long arg2 ;
12412 PyObject * obj0 = 0 ;
12413 PyObject * obj1 = 0 ;
12414 char *kwnames[] = {
12415 (char *) "self",(char *) "style", NULL
12416 };
12417
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12421 arg2 = (long)SWIG_As_long(obj1);
12422 if (PyErr_Occurred()) SWIG_fail;
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 (arg1)->SetStyle(arg2);
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 Py_INCREF(Py_None); resultobj = Py_None;
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj;
12439 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12440 int arg2 ;
12441 PyObject * obj0 = 0 ;
12442 PyObject * obj1 = 0 ;
12443 char *kwnames[] = {
12444 (char *) "self",(char *) "filterIndex", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12450 arg2 = (int)SWIG_As_int(obj1);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 {
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 (arg1)->SetFilterIndex(arg2);
12455
12456 wxPyEndAllowThreads(__tstate);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 }
12459 Py_INCREF(Py_None); resultobj = Py_None;
12460 return resultobj;
12461 fail:
12462 return NULL;
12463 }
12464
12465
12466 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12467 PyObject *resultobj;
12468 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12469 wxString result;
12470 PyObject * obj0 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12478 {
12479 PyThreadState* __tstate = wxPyBeginAllowThreads();
12480 result = ((wxFileDialog const *)arg1)->GetMessage();
12481
12482 wxPyEndAllowThreads(__tstate);
12483 if (PyErr_Occurred()) SWIG_fail;
12484 }
12485 {
12486 #if wxUSE_UNICODE
12487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12488 #else
12489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12490 #endif
12491 }
12492 return resultobj;
12493 fail:
12494 return NULL;
12495 }
12496
12497
12498 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12499 PyObject *resultobj;
12500 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12501 wxString result;
12502 PyObject * obj0 = 0 ;
12503 char *kwnames[] = {
12504 (char *) "self", NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 result = ((wxFileDialog const *)arg1)->GetPath();
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 {
12518 #if wxUSE_UNICODE
12519 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12520 #else
12521 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12522 #endif
12523 }
12524 return resultobj;
12525 fail:
12526 return NULL;
12527 }
12528
12529
12530 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12531 PyObject *resultobj;
12532 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12533 wxString result;
12534 PyObject * obj0 = 0 ;
12535 char *kwnames[] = {
12536 (char *) "self", NULL
12537 };
12538
12539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12542 {
12543 PyThreadState* __tstate = wxPyBeginAllowThreads();
12544 result = ((wxFileDialog const *)arg1)->GetDirectory();
12545
12546 wxPyEndAllowThreads(__tstate);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 }
12549 {
12550 #if wxUSE_UNICODE
12551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12552 #else
12553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12554 #endif
12555 }
12556 return resultobj;
12557 fail:
12558 return NULL;
12559 }
12560
12561
12562 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12563 PyObject *resultobj;
12564 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12565 wxString result;
12566 PyObject * obj0 = 0 ;
12567 char *kwnames[] = {
12568 (char *) "self", NULL
12569 };
12570
12571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12574 {
12575 PyThreadState* __tstate = wxPyBeginAllowThreads();
12576 result = ((wxFileDialog const *)arg1)->GetFilename();
12577
12578 wxPyEndAllowThreads(__tstate);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
12581 {
12582 #if wxUSE_UNICODE
12583 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12584 #else
12585 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12586 #endif
12587 }
12588 return resultobj;
12589 fail:
12590 return NULL;
12591 }
12592
12593
12594 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12595 PyObject *resultobj;
12596 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12597 wxString result;
12598 PyObject * obj0 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 result = ((wxFileDialog const *)arg1)->GetWildcard();
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 {
12614 #if wxUSE_UNICODE
12615 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12616 #else
12617 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12618 #endif
12619 }
12620 return resultobj;
12621 fail:
12622 return NULL;
12623 }
12624
12625
12626 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12627 PyObject *resultobj;
12628 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12629 long result;
12630 PyObject * obj0 = 0 ;
12631 char *kwnames[] = {
12632 (char *) "self", NULL
12633 };
12634
12635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12641
12642 wxPyEndAllowThreads(__tstate);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 }
12645 resultobj = SWIG_From_long((long)result);
12646 return resultobj;
12647 fail:
12648 return NULL;
12649 }
12650
12651
12652 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12653 PyObject *resultobj;
12654 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12655 int result;
12656 PyObject * obj0 = 0 ;
12657 char *kwnames[] = {
12658 (char *) "self", NULL
12659 };
12660
12661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12664 {
12665 PyThreadState* __tstate = wxPyBeginAllowThreads();
12666 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12667
12668 wxPyEndAllowThreads(__tstate);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 resultobj = SWIG_From_int((int)result);
12672 return resultobj;
12673 fail:
12674 return NULL;
12675 }
12676
12677
12678 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj;
12680 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12681 PyObject *result;
12682 PyObject * obj0 = 0 ;
12683 char *kwnames[] = {
12684 (char *) "self", NULL
12685 };
12686
12687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12690 {
12691 PyThreadState* __tstate = wxPyBeginAllowThreads();
12692 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12693
12694 wxPyEndAllowThreads(__tstate);
12695 if (PyErr_Occurred()) SWIG_fail;
12696 }
12697 resultobj = result;
12698 return resultobj;
12699 fail:
12700 return NULL;
12701 }
12702
12703
12704 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12705 PyObject *resultobj;
12706 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12707 PyObject *result;
12708 PyObject * obj0 = 0 ;
12709 char *kwnames[] = {
12710 (char *) "self", NULL
12711 };
12712
12713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = result;
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12731 PyObject *obj;
12732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12733 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12734 Py_INCREF(obj);
12735 return Py_BuildValue((char *)"");
12736 }
12737 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12738 PyObject *resultobj;
12739 wxWindow *arg1 = (wxWindow *) 0 ;
12740 wxString *arg2 = 0 ;
12741 wxString *arg3 = 0 ;
12742 int arg4 = (int) 0 ;
12743 wxString *arg5 = (wxString *) NULL ;
12744 long arg6 = (long) wxCHOICEDLG_STYLE ;
12745 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12746 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12747 wxMultiChoiceDialog *result;
12748 bool temp2 = false ;
12749 bool temp3 = false ;
12750 wxPoint temp6 ;
12751 PyObject * obj0 = 0 ;
12752 PyObject * obj1 = 0 ;
12753 PyObject * obj2 = 0 ;
12754 PyObject * obj3 = 0 ;
12755 PyObject * obj4 = 0 ;
12756 PyObject * obj5 = 0 ;
12757 char *kwnames[] = {
12758 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12759 };
12760
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12764 {
12765 arg2 = wxString_in_helper(obj1);
12766 if (arg2 == NULL) SWIG_fail;
12767 temp2 = true;
12768 }
12769 {
12770 arg3 = wxString_in_helper(obj2);
12771 if (arg3 == NULL) SWIG_fail;
12772 temp3 = true;
12773 }
12774 if (obj3) {
12775 {
12776 arg4 = PyList_Size(obj3);
12777 arg5 = wxString_LIST_helper(obj3);
12778 if (arg5 == NULL) SWIG_fail;
12779 }
12780 }
12781 if (obj4) {
12782 arg6 = (long)SWIG_As_long(obj4);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 }
12785 if (obj5) {
12786 {
12787 arg7 = &temp6;
12788 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12789 }
12790 }
12791 {
12792 if (!wxPyCheckForApp()) SWIG_fail;
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12795
12796 wxPyEndAllowThreads(__tstate);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12800 {
12801 if (temp2)
12802 delete arg2;
12803 }
12804 {
12805 if (temp3)
12806 delete arg3;
12807 }
12808 {
12809 if (arg5) delete [] arg5;
12810 }
12811 return resultobj;
12812 fail:
12813 {
12814 if (temp2)
12815 delete arg2;
12816 }
12817 {
12818 if (temp3)
12819 delete arg3;
12820 }
12821 {
12822 if (arg5) delete [] arg5;
12823 }
12824 return NULL;
12825 }
12826
12827
12828 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12829 PyObject *resultobj;
12830 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12831 wxArrayInt *arg2 = 0 ;
12832 bool temp2 = false ;
12833 PyObject * obj0 = 0 ;
12834 PyObject * obj1 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self",(char *) "selections", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12842 {
12843 if (! PySequence_Check(obj1)) {
12844 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12845 SWIG_fail;
12846 }
12847 arg2 = new wxArrayInt;
12848 temp2 = true;
12849 int i, len=PySequence_Length(obj1);
12850 for (i=0; i<len; i++) {
12851 PyObject* item = PySequence_GetItem(obj1, i);
12852 PyObject* number = PyNumber_Int(item);
12853 arg2->Add(PyInt_AS_LONG(number));
12854 Py_DECREF(item);
12855 Py_DECREF(number);
12856 }
12857 }
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 Py_INCREF(Py_None); resultobj = Py_None;
12866 {
12867 if (temp2) delete arg2;
12868 }
12869 return resultobj;
12870 fail:
12871 {
12872 if (temp2) delete arg2;
12873 }
12874 return NULL;
12875 }
12876
12877
12878 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12879 PyObject *resultobj;
12880 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12881 PyObject *result;
12882 PyObject * obj0 = 0 ;
12883 char *kwnames[] = {
12884 (char *) "self", NULL
12885 };
12886
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12893
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 resultobj = result;
12898 return resultobj;
12899 fail:
12900 return NULL;
12901 }
12902
12903
12904 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12905 PyObject *obj;
12906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12907 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12908 Py_INCREF(obj);
12909 return Py_BuildValue((char *)"");
12910 }
12911 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12912 PyObject *resultobj;
12913 wxWindow *arg1 = (wxWindow *) 0 ;
12914 wxString *arg2 = 0 ;
12915 wxString *arg3 = 0 ;
12916 int arg4 ;
12917 wxString *arg5 = (wxString *) 0 ;
12918 long arg6 = (long) wxCHOICEDLG_STYLE ;
12919 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12920 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12921 wxSingleChoiceDialog *result;
12922 bool temp2 = false ;
12923 bool temp3 = false ;
12924 wxPoint temp6 ;
12925 PyObject * obj0 = 0 ;
12926 PyObject * obj1 = 0 ;
12927 PyObject * obj2 = 0 ;
12928 PyObject * obj3 = 0 ;
12929 PyObject * obj4 = 0 ;
12930 PyObject * obj5 = 0 ;
12931 char *kwnames[] = {
12932 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12933 };
12934
12935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12938 {
12939 arg2 = wxString_in_helper(obj1);
12940 if (arg2 == NULL) SWIG_fail;
12941 temp2 = true;
12942 }
12943 {
12944 arg3 = wxString_in_helper(obj2);
12945 if (arg3 == NULL) SWIG_fail;
12946 temp3 = true;
12947 }
12948 {
12949 arg4 = PyList_Size(obj3);
12950 arg5 = wxString_LIST_helper(obj3);
12951 if (arg5 == NULL) SWIG_fail;
12952 }
12953 if (obj4) {
12954 arg6 = (long)SWIG_As_long(obj4);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
12957 if (obj5) {
12958 {
12959 arg7 = &temp6;
12960 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12961 }
12962 }
12963 {
12964 if (!wxPyCheckForApp()) SWIG_fail;
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12967
12968 wxPyEndAllowThreads(__tstate);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12972 {
12973 if (temp2)
12974 delete arg2;
12975 }
12976 {
12977 if (temp3)
12978 delete arg3;
12979 }
12980 {
12981 if (arg5) delete [] arg5;
12982 }
12983 return resultobj;
12984 fail:
12985 {
12986 if (temp2)
12987 delete arg2;
12988 }
12989 {
12990 if (temp3)
12991 delete arg3;
12992 }
12993 {
12994 if (arg5) delete [] arg5;
12995 }
12996 return NULL;
12997 }
12998
12999
13000 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13001 PyObject *resultobj;
13002 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13003 int result;
13004 PyObject * obj0 = 0 ;
13005 char *kwnames[] = {
13006 (char *) "self", NULL
13007 };
13008
13009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13012 {
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 result = (int)(arg1)->GetSelection();
13015
13016 wxPyEndAllowThreads(__tstate);
13017 if (PyErr_Occurred()) SWIG_fail;
13018 }
13019 resultobj = SWIG_From_int((int)result);
13020 return resultobj;
13021 fail:
13022 return NULL;
13023 }
13024
13025
13026 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13027 PyObject *resultobj;
13028 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13029 wxString result;
13030 PyObject * obj0 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 result = (arg1)->GetStringSelection();
13041
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 {
13046 #if wxUSE_UNICODE
13047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13048 #else
13049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13050 #endif
13051 }
13052 return resultobj;
13053 fail:
13054 return NULL;
13055 }
13056
13057
13058 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13059 PyObject *resultobj;
13060 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13061 int arg2 ;
13062 PyObject * obj0 = 0 ;
13063 PyObject * obj1 = 0 ;
13064 char *kwnames[] = {
13065 (char *) "self",(char *) "sel", NULL
13066 };
13067
13068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13071 arg2 = (int)SWIG_As_int(obj1);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 (arg1)->SetSelection(arg2);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 return resultobj;
13082 fail:
13083 return NULL;
13084 }
13085
13086
13087 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13088 PyObject *obj;
13089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13090 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13091 Py_INCREF(obj);
13092 return Py_BuildValue((char *)"");
13093 }
13094 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj;
13096 wxWindow *arg1 = (wxWindow *) 0 ;
13097 wxString *arg2 = 0 ;
13098 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13099 wxString *arg3 = (wxString *) &arg3_defvalue ;
13100 wxString const &arg4_defvalue = wxPyEmptyString ;
13101 wxString *arg4 = (wxString *) &arg4_defvalue ;
13102 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13103 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13104 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13105 wxTextEntryDialog *result;
13106 bool temp2 = false ;
13107 bool temp3 = false ;
13108 bool temp4 = false ;
13109 wxPoint temp6 ;
13110 PyObject * obj0 = 0 ;
13111 PyObject * obj1 = 0 ;
13112 PyObject * obj2 = 0 ;
13113 PyObject * obj3 = 0 ;
13114 PyObject * obj4 = 0 ;
13115 PyObject * obj5 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13123 {
13124 arg2 = wxString_in_helper(obj1);
13125 if (arg2 == NULL) SWIG_fail;
13126 temp2 = true;
13127 }
13128 if (obj2) {
13129 {
13130 arg3 = wxString_in_helper(obj2);
13131 if (arg3 == NULL) SWIG_fail;
13132 temp3 = true;
13133 }
13134 }
13135 if (obj3) {
13136 {
13137 arg4 = wxString_in_helper(obj3);
13138 if (arg4 == NULL) SWIG_fail;
13139 temp4 = true;
13140 }
13141 }
13142 if (obj4) {
13143 arg5 = (long)SWIG_As_long(obj4);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 if (obj5) {
13147 {
13148 arg6 = &temp6;
13149 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13150 }
13151 }
13152 {
13153 if (!wxPyCheckForApp()) SWIG_fail;
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13156
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13161 {
13162 if (temp2)
13163 delete arg2;
13164 }
13165 {
13166 if (temp3)
13167 delete arg3;
13168 }
13169 {
13170 if (temp4)
13171 delete arg4;
13172 }
13173 return resultobj;
13174 fail:
13175 {
13176 if (temp2)
13177 delete arg2;
13178 }
13179 {
13180 if (temp3)
13181 delete arg3;
13182 }
13183 {
13184 if (temp4)
13185 delete arg4;
13186 }
13187 return NULL;
13188 }
13189
13190
13191 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13194 wxString result;
13195 PyObject * obj0 = 0 ;
13196 char *kwnames[] = {
13197 (char *) "self", NULL
13198 };
13199
13200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 result = (arg1)->GetValue();
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 {
13211 #if wxUSE_UNICODE
13212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13213 #else
13214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13215 #endif
13216 }
13217 return resultobj;
13218 fail:
13219 return NULL;
13220 }
13221
13222
13223 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj;
13225 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13226 wxString *arg2 = 0 ;
13227 bool temp2 = false ;
13228 PyObject * obj0 = 0 ;
13229 PyObject * obj1 = 0 ;
13230 char *kwnames[] = {
13231 (char *) "self",(char *) "value", NULL
13232 };
13233
13234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13237 {
13238 arg2 = wxString_in_helper(obj1);
13239 if (arg2 == NULL) SWIG_fail;
13240 temp2 = true;
13241 }
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->SetValue((wxString const &)*arg2);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 {
13251 if (temp2)
13252 delete arg2;
13253 }
13254 return resultobj;
13255 fail:
13256 {
13257 if (temp2)
13258 delete arg2;
13259 }
13260 return NULL;
13261 }
13262
13263
13264 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13265 PyObject *obj;
13266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13267 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13268 Py_INCREF(obj);
13269 return Py_BuildValue((char *)"");
13270 }
13271 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxFontData *result;
13274 char *kwnames[] = {
13275 NULL
13276 };
13277
13278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = (wxFontData *)new wxFontData();
13282
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13287 return resultobj;
13288 fail:
13289 return NULL;
13290 }
13291
13292
13293 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj;
13295 wxFontData *arg1 = (wxFontData *) 0 ;
13296 PyObject * obj0 = 0 ;
13297 char *kwnames[] = {
13298 (char *) "self", NULL
13299 };
13300
13301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 delete arg1;
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 Py_INCREF(Py_None); resultobj = Py_None;
13312 return resultobj;
13313 fail:
13314 return NULL;
13315 }
13316
13317
13318 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxFontData *arg1 = (wxFontData *) 0 ;
13321 bool arg2 ;
13322 PyObject * obj0 = 0 ;
13323 PyObject * obj1 = 0 ;
13324 char *kwnames[] = {
13325 (char *) "self",(char *) "enable", NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13331 arg2 = (bool)SWIG_As_bool(obj1);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 (arg1)->EnableEffects(arg2);
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 Py_INCREF(Py_None); resultobj = Py_None;
13341 return resultobj;
13342 fail:
13343 return NULL;
13344 }
13345
13346
13347 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13348 PyObject *resultobj;
13349 wxFontData *arg1 = (wxFontData *) 0 ;
13350 bool result;
13351 PyObject * obj0 = 0 ;
13352 char *kwnames[] = {
13353 (char *) "self", NULL
13354 };
13355
13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 result = (bool)(arg1)->GetAllowSymbols();
13362
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 {
13367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13368 }
13369 return resultobj;
13370 fail:
13371 return NULL;
13372 }
13373
13374
13375 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxFontData *arg1 = (wxFontData *) 0 ;
13378 wxColour result;
13379 PyObject * obj0 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",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 = (arg1)->GetColour();
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 {
13395 wxColour * resultptr;
13396 resultptr = new wxColour((wxColour &) result);
13397 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13398 }
13399 return resultobj;
13400 fail:
13401 return NULL;
13402 }
13403
13404
13405 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13406 PyObject *resultobj;
13407 wxFontData *arg1 = (wxFontData *) 0 ;
13408 wxFont result;
13409 PyObject * obj0 = 0 ;
13410 char *kwnames[] = {
13411 (char *) "self", NULL
13412 };
13413
13414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13417 {
13418 PyThreadState* __tstate = wxPyBeginAllowThreads();
13419 result = (arg1)->GetChosenFont();
13420
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 {
13425 wxFont * resultptr;
13426 resultptr = new wxFont((wxFont &) result);
13427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13428 }
13429 return resultobj;
13430 fail:
13431 return NULL;
13432 }
13433
13434
13435 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13436 PyObject *resultobj;
13437 wxFontData *arg1 = (wxFontData *) 0 ;
13438 bool result;
13439 PyObject * obj0 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "self", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13447 {
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 result = (bool)(arg1)->GetEnableEffects();
13450
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
13454 {
13455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13456 }
13457 return resultobj;
13458 fail:
13459 return NULL;
13460 }
13461
13462
13463 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13464 PyObject *resultobj;
13465 wxFontData *arg1 = (wxFontData *) 0 ;
13466 wxFont result;
13467 PyObject * obj0 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",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 = (arg1)->GetInitialFont();
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483 wxFont * resultptr;
13484 resultptr = new wxFont((wxFont &) result);
13485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13486 }
13487 return resultobj;
13488 fail:
13489 return NULL;
13490 }
13491
13492
13493 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13494 PyObject *resultobj;
13495 wxFontData *arg1 = (wxFontData *) 0 ;
13496 bool result;
13497 PyObject * obj0 = 0 ;
13498 char *kwnames[] = {
13499 (char *) "self", NULL
13500 };
13501
13502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (bool)(arg1)->GetShowHelp();
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 {
13513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13514 }
13515 return resultobj;
13516 fail:
13517 return NULL;
13518 }
13519
13520
13521 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxFontData *arg1 = (wxFontData *) 0 ;
13524 bool arg2 ;
13525 PyObject * obj0 = 0 ;
13526 PyObject * obj1 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self",(char *) "allowSymbols", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13534 arg2 = (bool)SWIG_As_bool(obj1);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 (arg1)->SetAllowSymbols(arg2);
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 Py_INCREF(Py_None); resultobj = Py_None;
13544 return resultobj;
13545 fail:
13546 return NULL;
13547 }
13548
13549
13550 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxFontData *arg1 = (wxFontData *) 0 ;
13553 wxFont *arg2 = 0 ;
13554 PyObject * obj0 = 0 ;
13555 PyObject * obj1 = 0 ;
13556 char *kwnames[] = {
13557 (char *) "self",(char *) "font", NULL
13558 };
13559
13560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13564 SWIG_POINTER_EXCEPTION | 0)) == -1)
13565 SWIG_fail;
13566 if (arg2 == NULL) {
13567 PyErr_SetString(PyExc_TypeError,"null reference");
13568 SWIG_fail;
13569 }
13570 {
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 (arg1)->SetChosenFont((wxFont const &)*arg2);
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 Py_INCREF(Py_None); resultobj = Py_None;
13578 return resultobj;
13579 fail:
13580 return NULL;
13581 }
13582
13583
13584 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj;
13586 wxFontData *arg1 = (wxFontData *) 0 ;
13587 wxColour *arg2 = 0 ;
13588 wxColour temp2 ;
13589 PyObject * obj0 = 0 ;
13590 PyObject * obj1 = 0 ;
13591 char *kwnames[] = {
13592 (char *) "self",(char *) "colour", NULL
13593 };
13594
13595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13598 {
13599 arg2 = &temp2;
13600 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13601 }
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 (arg1)->SetColour((wxColour const &)*arg2);
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 Py_INCREF(Py_None); resultobj = Py_None;
13610 return resultobj;
13611 fail:
13612 return NULL;
13613 }
13614
13615
13616 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 wxFontData *arg1 = (wxFontData *) 0 ;
13619 wxFont *arg2 = 0 ;
13620 PyObject * obj0 = 0 ;
13621 PyObject * obj1 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "self",(char *) "font", NULL
13624 };
13625
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13630 SWIG_POINTER_EXCEPTION | 0)) == -1)
13631 SWIG_fail;
13632 if (arg2 == NULL) {
13633 PyErr_SetString(PyExc_TypeError,"null reference");
13634 SWIG_fail;
13635 }
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 (arg1)->SetInitialFont((wxFont const &)*arg2);
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 Py_INCREF(Py_None); resultobj = Py_None;
13644 return resultobj;
13645 fail:
13646 return NULL;
13647 }
13648
13649
13650 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13651 PyObject *resultobj;
13652 wxFontData *arg1 = (wxFontData *) 0 ;
13653 int arg2 ;
13654 int arg3 ;
13655 PyObject * obj0 = 0 ;
13656 PyObject * obj1 = 0 ;
13657 PyObject * obj2 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self",(char *) "min",(char *) "max", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13665 arg2 = (int)SWIG_As_int(obj1);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 arg3 = (int)SWIG_As_int(obj2);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 (arg1)->SetRange(arg2,arg3);
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 Py_INCREF(Py_None); resultobj = Py_None;
13677 return resultobj;
13678 fail:
13679 return NULL;
13680 }
13681
13682
13683 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13684 PyObject *resultobj;
13685 wxFontData *arg1 = (wxFontData *) 0 ;
13686 bool arg2 ;
13687 PyObject * obj0 = 0 ;
13688 PyObject * obj1 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self",(char *) "showHelp", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13696 arg2 = (bool)SWIG_As_bool(obj1);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 (arg1)->SetShowHelp(arg2);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 Py_INCREF(Py_None); resultobj = Py_None;
13706 return resultobj;
13707 fail:
13708 return NULL;
13709 }
13710
13711
13712 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13713 PyObject *obj;
13714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13715 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13716 Py_INCREF(obj);
13717 return Py_BuildValue((char *)"");
13718 }
13719 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj;
13721 wxWindow *arg1 = (wxWindow *) 0 ;
13722 wxFontData *arg2 = 0 ;
13723 wxFontDialog *result;
13724 PyObject * obj0 = 0 ;
13725 PyObject * obj1 = 0 ;
13726 char *kwnames[] = {
13727 (char *) "parent",(char *) "data", NULL
13728 };
13729
13730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13734 SWIG_POINTER_EXCEPTION | 0)) == -1)
13735 SWIG_fail;
13736 if (arg2 == NULL) {
13737 PyErr_SetString(PyExc_TypeError,"null reference");
13738 SWIG_fail;
13739 }
13740 {
13741 if (!wxPyCheckForApp()) SWIG_fail;
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13749 return resultobj;
13750 fail:
13751 return NULL;
13752 }
13753
13754
13755 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13758 wxFontData *result;
13759 PyObject * obj0 = 0 ;
13760 char *kwnames[] = {
13761 (char *) "self", NULL
13762 };
13763
13764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 {
13770 wxFontData &_result_ref = (arg1)->GetFontData();
13771 result = (wxFontData *) &_result_ref;
13772 }
13773
13774 wxPyEndAllowThreads(__tstate);
13775 if (PyErr_Occurred()) SWIG_fail;
13776 }
13777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13778 return resultobj;
13779 fail:
13780 return NULL;
13781 }
13782
13783
13784 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13785 PyObject *obj;
13786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13787 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13788 Py_INCREF(obj);
13789 return Py_BuildValue((char *)"");
13790 }
13791 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13792 PyObject *resultobj;
13793 wxWindow *arg1 = (wxWindow *) 0 ;
13794 wxString *arg2 = 0 ;
13795 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13796 wxString *arg3 = (wxString *) &arg3_defvalue ;
13797 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13798 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13799 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13800 wxMessageDialog *result;
13801 bool temp2 = false ;
13802 bool temp3 = false ;
13803 wxPoint temp5 ;
13804 PyObject * obj0 = 0 ;
13805 PyObject * obj1 = 0 ;
13806 PyObject * obj2 = 0 ;
13807 PyObject * obj3 = 0 ;
13808 PyObject * obj4 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13816 {
13817 arg2 = wxString_in_helper(obj1);
13818 if (arg2 == NULL) SWIG_fail;
13819 temp2 = true;
13820 }
13821 if (obj2) {
13822 {
13823 arg3 = wxString_in_helper(obj2);
13824 if (arg3 == NULL) SWIG_fail;
13825 temp3 = true;
13826 }
13827 }
13828 if (obj3) {
13829 arg4 = (long)SWIG_As_long(obj3);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 if (obj4) {
13833 {
13834 arg5 = &temp5;
13835 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13836 }
13837 }
13838 {
13839 if (!wxPyCheckForApp()) SWIG_fail;
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13842
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13847 {
13848 if (temp2)
13849 delete arg2;
13850 }
13851 {
13852 if (temp3)
13853 delete arg3;
13854 }
13855 return resultobj;
13856 fail:
13857 {
13858 if (temp2)
13859 delete arg2;
13860 }
13861 {
13862 if (temp3)
13863 delete arg3;
13864 }
13865 return NULL;
13866 }
13867
13868
13869 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13870 PyObject *obj;
13871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13872 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13873 Py_INCREF(obj);
13874 return Py_BuildValue((char *)"");
13875 }
13876 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj;
13878 wxString *arg1 = 0 ;
13879 wxString *arg2 = 0 ;
13880 int arg3 = (int) 100 ;
13881 wxWindow *arg4 = (wxWindow *) NULL ;
13882 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13883 wxProgressDialog *result;
13884 bool temp1 = false ;
13885 bool temp2 = false ;
13886 PyObject * obj0 = 0 ;
13887 PyObject * obj1 = 0 ;
13888 PyObject * obj2 = 0 ;
13889 PyObject * obj3 = 0 ;
13890 PyObject * obj4 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13896 {
13897 arg1 = wxString_in_helper(obj0);
13898 if (arg1 == NULL) SWIG_fail;
13899 temp1 = true;
13900 }
13901 {
13902 arg2 = wxString_in_helper(obj1);
13903 if (arg2 == NULL) SWIG_fail;
13904 temp2 = true;
13905 }
13906 if (obj2) {
13907 arg3 = (int)SWIG_As_int(obj2);
13908 if (PyErr_Occurred()) SWIG_fail;
13909 }
13910 if (obj3) {
13911 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13913 }
13914 if (obj4) {
13915 arg5 = (int)SWIG_As_int(obj4);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 {
13919 if (!wxPyCheckForApp()) SWIG_fail;
13920 PyThreadState* __tstate = wxPyBeginAllowThreads();
13921 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13922
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13927 {
13928 if (temp1)
13929 delete arg1;
13930 }
13931 {
13932 if (temp2)
13933 delete arg2;
13934 }
13935 return resultobj;
13936 fail:
13937 {
13938 if (temp1)
13939 delete arg1;
13940 }
13941 {
13942 if (temp2)
13943 delete arg2;
13944 }
13945 return NULL;
13946 }
13947
13948
13949 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13950 PyObject *resultobj;
13951 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13952 int arg2 ;
13953 wxString const &arg3_defvalue = wxPyEmptyString ;
13954 wxString *arg3 = (wxString *) &arg3_defvalue ;
13955 bool result;
13956 bool temp3 = false ;
13957 PyObject * obj0 = 0 ;
13958 PyObject * obj1 = 0 ;
13959 PyObject * obj2 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13967 arg2 = (int)SWIG_As_int(obj1);
13968 if (PyErr_Occurred()) SWIG_fail;
13969 if (obj2) {
13970 {
13971 arg3 = wxString_in_helper(obj2);
13972 if (arg3 == NULL) SWIG_fail;
13973 temp3 = true;
13974 }
13975 }
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13979
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 {
13984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13985 }
13986 {
13987 if (temp3)
13988 delete arg3;
13989 }
13990 return resultobj;
13991 fail:
13992 {
13993 if (temp3)
13994 delete arg3;
13995 }
13996 return NULL;
13997 }
13998
13999
14000 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj;
14002 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14003 PyObject * obj0 = 0 ;
14004 char *kwnames[] = {
14005 (char *) "self", NULL
14006 };
14007
14008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14011 {
14012 PyThreadState* __tstate = wxPyBeginAllowThreads();
14013 (arg1)->Resume();
14014
14015 wxPyEndAllowThreads(__tstate);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 Py_INCREF(Py_None); resultobj = Py_None;
14019 return resultobj;
14020 fail:
14021 return NULL;
14022 }
14023
14024
14025 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14026 PyObject *obj;
14027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14028 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14029 Py_INCREF(obj);
14030 return Py_BuildValue((char *)"");
14031 }
14032 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14033 PyObject *resultobj;
14034 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14035 int arg2 = (int) 0 ;
14036 wxFindDialogEvent *result;
14037 PyObject * obj0 = 0 ;
14038 PyObject * obj1 = 0 ;
14039 char *kwnames[] = {
14040 (char *) "commandType",(char *) "id", NULL
14041 };
14042
14043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14044 if (obj0) {
14045 arg1 = (wxEventType)SWIG_As_int(obj0);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 if (obj1) {
14049 arg2 = (int)SWIG_As_int(obj1);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14055
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14060 return resultobj;
14061 fail:
14062 return NULL;
14063 }
14064
14065
14066 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14067 PyObject *resultobj;
14068 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14069 int result;
14070 PyObject * obj0 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self", NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14078 {
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 result = (int)(arg1)->GetFlags();
14081
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 resultobj = SWIG_From_int((int)result);
14086 return resultobj;
14087 fail:
14088 return NULL;
14089 }
14090
14091
14092 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14095 wxString *result;
14096 PyObject * obj0 = 0 ;
14097 char *kwnames[] = {
14098 (char *) "self", NULL
14099 };
14100
14101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14104 {
14105 PyThreadState* __tstate = wxPyBeginAllowThreads();
14106 {
14107 wxString const &_result_ref = (arg1)->GetFindString();
14108 result = (wxString *) &_result_ref;
14109 }
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 {
14115 #if wxUSE_UNICODE
14116 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14117 #else
14118 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14119 #endif
14120 }
14121 return resultobj;
14122 fail:
14123 return NULL;
14124 }
14125
14126
14127 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14128 PyObject *resultobj;
14129 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14130 wxString *result;
14131 PyObject * obj0 = 0 ;
14132 char *kwnames[] = {
14133 (char *) "self", NULL
14134 };
14135
14136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14139 {
14140 PyThreadState* __tstate = wxPyBeginAllowThreads();
14141 {
14142 wxString const &_result_ref = (arg1)->GetReplaceString();
14143 result = (wxString *) &_result_ref;
14144 }
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 {
14150 #if wxUSE_UNICODE
14151 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14152 #else
14153 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14154 #endif
14155 }
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14165 wxFindReplaceDialog *result;
14166 PyObject * obj0 = 0 ;
14167 char *kwnames[] = {
14168 (char *) "self", NULL
14169 };
14170
14171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14174 {
14175 PyThreadState* __tstate = wxPyBeginAllowThreads();
14176 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14177
14178 wxPyEndAllowThreads(__tstate);
14179 if (PyErr_Occurred()) SWIG_fail;
14180 }
14181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14182 return resultobj;
14183 fail:
14184 return NULL;
14185 }
14186
14187
14188 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14189 PyObject *resultobj;
14190 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14191 int arg2 ;
14192 PyObject * obj0 = 0 ;
14193 PyObject * obj1 = 0 ;
14194 char *kwnames[] = {
14195 (char *) "self",(char *) "flags", NULL
14196 };
14197
14198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14201 arg2 = (int)SWIG_As_int(obj1);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 {
14204 PyThreadState* __tstate = wxPyBeginAllowThreads();
14205 (arg1)->SetFlags(arg2);
14206
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 Py_INCREF(Py_None); resultobj = Py_None;
14211 return resultobj;
14212 fail:
14213 return NULL;
14214 }
14215
14216
14217 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14218 PyObject *resultobj;
14219 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14220 wxString *arg2 = 0 ;
14221 bool temp2 = false ;
14222 PyObject * obj0 = 0 ;
14223 PyObject * obj1 = 0 ;
14224 char *kwnames[] = {
14225 (char *) "self",(char *) "str", NULL
14226 };
14227
14228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14231 {
14232 arg2 = wxString_in_helper(obj1);
14233 if (arg2 == NULL) SWIG_fail;
14234 temp2 = true;
14235 }
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 (arg1)->SetFindString((wxString const &)*arg2);
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 Py_INCREF(Py_None); resultobj = Py_None;
14244 {
14245 if (temp2)
14246 delete arg2;
14247 }
14248 return resultobj;
14249 fail:
14250 {
14251 if (temp2)
14252 delete arg2;
14253 }
14254 return NULL;
14255 }
14256
14257
14258 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14259 PyObject *resultobj;
14260 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14261 wxString *arg2 = 0 ;
14262 bool temp2 = false ;
14263 PyObject * obj0 = 0 ;
14264 PyObject * obj1 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "str", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14272 {
14273 arg2 = wxString_in_helper(obj1);
14274 if (arg2 == NULL) SWIG_fail;
14275 temp2 = true;
14276 }
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 (arg1)->SetReplaceString((wxString const &)*arg2);
14280
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 Py_INCREF(Py_None); resultobj = Py_None;
14285 {
14286 if (temp2)
14287 delete arg2;
14288 }
14289 return resultobj;
14290 fail:
14291 {
14292 if (temp2)
14293 delete arg2;
14294 }
14295 return NULL;
14296 }
14297
14298
14299 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14300 PyObject *obj;
14301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14302 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14303 Py_INCREF(obj);
14304 return Py_BuildValue((char *)"");
14305 }
14306 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 int arg1 = (int) 0 ;
14309 wxFindReplaceData *result;
14310 PyObject * obj0 = 0 ;
14311 char *kwnames[] = {
14312 (char *) "flags", NULL
14313 };
14314
14315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14316 if (obj0) {
14317 arg1 = (int)SWIG_As_int(obj0);
14318 if (PyErr_Occurred()) SWIG_fail;
14319 }
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14328 return resultobj;
14329 fail:
14330 return NULL;
14331 }
14332
14333
14334 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14337 PyObject * obj0 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "self", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14345 {
14346 PyThreadState* __tstate = wxPyBeginAllowThreads();
14347 delete arg1;
14348
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 Py_INCREF(Py_None); resultobj = Py_None;
14353 return resultobj;
14354 fail:
14355 return NULL;
14356 }
14357
14358
14359 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj;
14361 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14362 wxString *result;
14363 PyObject * obj0 = 0 ;
14364 char *kwnames[] = {
14365 (char *) "self", NULL
14366 };
14367
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14371 {
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 {
14374 wxString const &_result_ref = (arg1)->GetFindString();
14375 result = (wxString *) &_result_ref;
14376 }
14377
14378 wxPyEndAllowThreads(__tstate);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 {
14382 #if wxUSE_UNICODE
14383 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14384 #else
14385 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14386 #endif
14387 }
14388 return resultobj;
14389 fail:
14390 return NULL;
14391 }
14392
14393
14394 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj;
14396 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14397 wxString *result;
14398 PyObject * obj0 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14406 {
14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 {
14409 wxString const &_result_ref = (arg1)->GetReplaceString();
14410 result = (wxString *) &_result_ref;
14411 }
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 {
14417 #if wxUSE_UNICODE
14418 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14419 #else
14420 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14421 #endif
14422 }
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj;
14431 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14432 int result;
14433 PyObject * obj0 = 0 ;
14434 char *kwnames[] = {
14435 (char *) "self", NULL
14436 };
14437
14438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14441 {
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 result = (int)(arg1)->GetFlags();
14444
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 resultobj = SWIG_From_int((int)result);
14449 return resultobj;
14450 fail:
14451 return NULL;
14452 }
14453
14454
14455 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj;
14457 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14458 int arg2 ;
14459 PyObject * obj0 = 0 ;
14460 PyObject * obj1 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self",(char *) "flags", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14468 arg2 = (int)SWIG_As_int(obj1);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 {
14471 PyThreadState* __tstate = wxPyBeginAllowThreads();
14472 (arg1)->SetFlags(arg2);
14473
14474 wxPyEndAllowThreads(__tstate);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 }
14477 Py_INCREF(Py_None); resultobj = Py_None;
14478 return resultobj;
14479 fail:
14480 return NULL;
14481 }
14482
14483
14484 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14485 PyObject *resultobj;
14486 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14487 wxString *arg2 = 0 ;
14488 bool temp2 = false ;
14489 PyObject * obj0 = 0 ;
14490 PyObject * obj1 = 0 ;
14491 char *kwnames[] = {
14492 (char *) "self",(char *) "str", NULL
14493 };
14494
14495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14498 {
14499 arg2 = wxString_in_helper(obj1);
14500 if (arg2 == NULL) SWIG_fail;
14501 temp2 = true;
14502 }
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 (arg1)->SetFindString((wxString const &)*arg2);
14506
14507 wxPyEndAllowThreads(__tstate);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 }
14510 Py_INCREF(Py_None); resultobj = Py_None;
14511 {
14512 if (temp2)
14513 delete arg2;
14514 }
14515 return resultobj;
14516 fail:
14517 {
14518 if (temp2)
14519 delete arg2;
14520 }
14521 return NULL;
14522 }
14523
14524
14525 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14526 PyObject *resultobj;
14527 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14528 wxString *arg2 = 0 ;
14529 bool temp2 = false ;
14530 PyObject * obj0 = 0 ;
14531 PyObject * obj1 = 0 ;
14532 char *kwnames[] = {
14533 (char *) "self",(char *) "str", NULL
14534 };
14535
14536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14539 {
14540 arg2 = wxString_in_helper(obj1);
14541 if (arg2 == NULL) SWIG_fail;
14542 temp2 = true;
14543 }
14544 {
14545 PyThreadState* __tstate = wxPyBeginAllowThreads();
14546 (arg1)->SetReplaceString((wxString const &)*arg2);
14547
14548 wxPyEndAllowThreads(__tstate);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 Py_INCREF(Py_None); resultobj = Py_None;
14552 {
14553 if (temp2)
14554 delete arg2;
14555 }
14556 return resultobj;
14557 fail:
14558 {
14559 if (temp2)
14560 delete arg2;
14561 }
14562 return NULL;
14563 }
14564
14565
14566 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14567 PyObject *obj;
14568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14569 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14570 Py_INCREF(obj);
14571 return Py_BuildValue((char *)"");
14572 }
14573 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxWindow *arg1 = (wxWindow *) 0 ;
14576 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14577 wxString *arg3 = 0 ;
14578 int arg4 = (int) 0 ;
14579 wxFindReplaceDialog *result;
14580 bool temp3 = false ;
14581 PyObject * obj0 = 0 ;
14582 PyObject * obj1 = 0 ;
14583 PyObject * obj2 = 0 ;
14584 PyObject * obj3 = 0 ;
14585 char *kwnames[] = {
14586 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14587 };
14588
14589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14594 {
14595 arg3 = wxString_in_helper(obj2);
14596 if (arg3 == NULL) SWIG_fail;
14597 temp3 = true;
14598 }
14599 if (obj3) {
14600 arg4 = (int)SWIG_As_int(obj3);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 {
14604 if (!wxPyCheckForApp()) SWIG_fail;
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14607
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14612 {
14613 if (temp3)
14614 delete arg3;
14615 }
14616 return resultobj;
14617 fail:
14618 {
14619 if (temp3)
14620 delete arg3;
14621 }
14622 return NULL;
14623 }
14624
14625
14626 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxFindReplaceDialog *result;
14629 char *kwnames[] = {
14630 NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14634 {
14635 if (!wxPyCheckForApp()) SWIG_fail;
14636 PyThreadState* __tstate = wxPyBeginAllowThreads();
14637 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14638
14639 wxPyEndAllowThreads(__tstate);
14640 if (PyErr_Occurred()) SWIG_fail;
14641 }
14642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14643 return resultobj;
14644 fail:
14645 return NULL;
14646 }
14647
14648
14649 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14650 PyObject *resultobj;
14651 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14652 wxWindow *arg2 = (wxWindow *) 0 ;
14653 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14654 wxString *arg4 = 0 ;
14655 int arg5 = (int) 0 ;
14656 bool result;
14657 bool temp4 = false ;
14658 PyObject * obj0 = 0 ;
14659 PyObject * obj1 = 0 ;
14660 PyObject * obj2 = 0 ;
14661 PyObject * obj3 = 0 ;
14662 PyObject * obj4 = 0 ;
14663 char *kwnames[] = {
14664 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14665 };
14666
14667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14672 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14674 {
14675 arg4 = wxString_in_helper(obj3);
14676 if (arg4 == NULL) SWIG_fail;
14677 temp4 = true;
14678 }
14679 if (obj4) {
14680 arg5 = (int)SWIG_As_int(obj4);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 {
14691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14692 }
14693 {
14694 if (temp4)
14695 delete arg4;
14696 }
14697 return resultobj;
14698 fail:
14699 {
14700 if (temp4)
14701 delete arg4;
14702 }
14703 return NULL;
14704 }
14705
14706
14707 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14708 PyObject *resultobj;
14709 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14710 wxFindReplaceData *result;
14711 PyObject * obj0 = 0 ;
14712 char *kwnames[] = {
14713 (char *) "self", NULL
14714 };
14715
14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 result = (wxFindReplaceData *)(arg1)->GetData();
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj;
14735 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14736 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14737 PyObject * obj0 = 0 ;
14738 PyObject * obj1 = 0 ;
14739 char *kwnames[] = {
14740 (char *) "self",(char *) "data", NULL
14741 };
14742
14743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14748 {
14749 PyThreadState* __tstate = wxPyBeginAllowThreads();
14750 (arg1)->SetData(arg2);
14751
14752 wxPyEndAllowThreads(__tstate);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 }
14755 Py_INCREF(Py_None); resultobj = Py_None;
14756 return resultobj;
14757 fail:
14758 return NULL;
14759 }
14760
14761
14762 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14763 PyObject *obj;
14764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14765 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14766 Py_INCREF(obj);
14767 return Py_BuildValue((char *)"");
14768 }
14769 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14770 PyObject *resultobj;
14771 wxWindow *arg1 = (wxWindow *) 0 ;
14772 int arg2 = (int) (int)-1 ;
14773 wxString const &arg3_defvalue = wxPyEmptyString ;
14774 wxString *arg3 = (wxString *) &arg3_defvalue ;
14775 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14776 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14777 wxSize const &arg5_defvalue = wxDefaultSize ;
14778 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14779 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14780 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14781 wxString *arg7 = (wxString *) &arg7_defvalue ;
14782 wxMDIParentFrame *result;
14783 bool temp3 = false ;
14784 wxPoint temp4 ;
14785 wxSize temp5 ;
14786 bool temp7 = false ;
14787 PyObject * obj0 = 0 ;
14788 PyObject * obj1 = 0 ;
14789 PyObject * obj2 = 0 ;
14790 PyObject * obj3 = 0 ;
14791 PyObject * obj4 = 0 ;
14792 PyObject * obj5 = 0 ;
14793 PyObject * obj6 = 0 ;
14794 char *kwnames[] = {
14795 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14796 };
14797
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14801 if (obj1) {
14802 arg2 = (int)SWIG_As_int(obj1);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 if (obj2) {
14806 {
14807 arg3 = wxString_in_helper(obj2);
14808 if (arg3 == NULL) SWIG_fail;
14809 temp3 = true;
14810 }
14811 }
14812 if (obj3) {
14813 {
14814 arg4 = &temp4;
14815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14816 }
14817 }
14818 if (obj4) {
14819 {
14820 arg5 = &temp5;
14821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14822 }
14823 }
14824 if (obj5) {
14825 arg6 = (long)SWIG_As_long(obj5);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 if (obj6) {
14829 {
14830 arg7 = wxString_in_helper(obj6);
14831 if (arg7 == NULL) SWIG_fail;
14832 temp7 = true;
14833 }
14834 }
14835 {
14836 if (!wxPyCheckForApp()) SWIG_fail;
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14839
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14844 {
14845 if (temp3)
14846 delete arg3;
14847 }
14848 {
14849 if (temp7)
14850 delete arg7;
14851 }
14852 return resultobj;
14853 fail:
14854 {
14855 if (temp3)
14856 delete arg3;
14857 }
14858 {
14859 if (temp7)
14860 delete arg7;
14861 }
14862 return NULL;
14863 }
14864
14865
14866 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14867 PyObject *resultobj;
14868 wxMDIParentFrame *result;
14869 char *kwnames[] = {
14870 NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14874 {
14875 if (!wxPyCheckForApp()) SWIG_fail;
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14883 return resultobj;
14884 fail:
14885 return NULL;
14886 }
14887
14888
14889 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14890 PyObject *resultobj;
14891 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14892 wxWindow *arg2 = (wxWindow *) 0 ;
14893 int arg3 = (int) (int)-1 ;
14894 wxString const &arg4_defvalue = wxPyEmptyString ;
14895 wxString *arg4 = (wxString *) &arg4_defvalue ;
14896 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14897 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14898 wxSize const &arg6_defvalue = wxDefaultSize ;
14899 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14900 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14901 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14902 wxString *arg8 = (wxString *) &arg8_defvalue ;
14903 bool result;
14904 bool temp4 = false ;
14905 wxPoint temp5 ;
14906 wxSize temp6 ;
14907 bool temp8 = false ;
14908 PyObject * obj0 = 0 ;
14909 PyObject * obj1 = 0 ;
14910 PyObject * obj2 = 0 ;
14911 PyObject * obj3 = 0 ;
14912 PyObject * obj4 = 0 ;
14913 PyObject * obj5 = 0 ;
14914 PyObject * obj6 = 0 ;
14915 PyObject * obj7 = 0 ;
14916 char *kwnames[] = {
14917 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14918 };
14919
14920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14925 if (obj2) {
14926 arg3 = (int)SWIG_As_int(obj2);
14927 if (PyErr_Occurred()) SWIG_fail;
14928 }
14929 if (obj3) {
14930 {
14931 arg4 = wxString_in_helper(obj3);
14932 if (arg4 == NULL) SWIG_fail;
14933 temp4 = true;
14934 }
14935 }
14936 if (obj4) {
14937 {
14938 arg5 = &temp5;
14939 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14940 }
14941 }
14942 if (obj5) {
14943 {
14944 arg6 = &temp6;
14945 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14946 }
14947 }
14948 if (obj6) {
14949 arg7 = (long)SWIG_As_long(obj6);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 if (obj7) {
14953 {
14954 arg8 = wxString_in_helper(obj7);
14955 if (arg8 == NULL) SWIG_fail;
14956 temp8 = true;
14957 }
14958 }
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14962
14963 wxPyEndAllowThreads(__tstate);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
14966 {
14967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14968 }
14969 {
14970 if (temp4)
14971 delete arg4;
14972 }
14973 {
14974 if (temp8)
14975 delete arg8;
14976 }
14977 return resultobj;
14978 fail:
14979 {
14980 if (temp4)
14981 delete arg4;
14982 }
14983 {
14984 if (temp8)
14985 delete arg8;
14986 }
14987 return NULL;
14988 }
14989
14990
14991 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14994 PyObject * obj0 = 0 ;
14995 char *kwnames[] = {
14996 (char *) "self", NULL
14997 };
14998
14999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 (arg1)->ActivateNext();
15005
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 Py_INCREF(Py_None); resultobj = Py_None;
15010 return resultobj;
15011 fail:
15012 return NULL;
15013 }
15014
15015
15016 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15017 PyObject *resultobj;
15018 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15019 PyObject * obj0 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15027 {
15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
15029 (arg1)->ActivatePrevious();
15030
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 Py_INCREF(Py_None); resultobj = Py_None;
15035 return resultobj;
15036 fail:
15037 return NULL;
15038 }
15039
15040
15041 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj;
15043 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15044 PyObject * obj0 = 0 ;
15045 char *kwnames[] = {
15046 (char *) "self", NULL
15047 };
15048
15049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 (arg1)->ArrangeIcons();
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 Py_INCREF(Py_None); resultobj = Py_None;
15060 return resultobj;
15061 fail:
15062 return NULL;
15063 }
15064
15065
15066 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15067 PyObject *resultobj;
15068 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15069 PyObject * obj0 = 0 ;
15070 char *kwnames[] = {
15071 (char *) "self", NULL
15072 };
15073
15074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15077 {
15078 PyThreadState* __tstate = wxPyBeginAllowThreads();
15079 (arg1)->Cascade();
15080
15081 wxPyEndAllowThreads(__tstate);
15082 if (PyErr_Occurred()) SWIG_fail;
15083 }
15084 Py_INCREF(Py_None); resultobj = Py_None;
15085 return resultobj;
15086 fail:
15087 return NULL;
15088 }
15089
15090
15091 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj;
15093 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15094 wxMDIChildFrame *result;
15095 PyObject * obj0 = 0 ;
15096 char *kwnames[] = {
15097 (char *) "self", NULL
15098 };
15099
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15103 {
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15106
15107 wxPyEndAllowThreads(__tstate);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 }
15110 {
15111 resultobj = wxPyMake_wxObject(result, 0);
15112 }
15113 return resultobj;
15114 fail:
15115 return NULL;
15116 }
15117
15118
15119 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15120 PyObject *resultobj;
15121 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15122 wxMDIClientWindow *result;
15123 PyObject * obj0 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",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 = (wxMDIClientWindow *)(arg1)->GetClientWindow();
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_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15150 wxWindow *result;
15151 PyObject * obj0 = 0 ;
15152 char *kwnames[] = {
15153 (char *) "self", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",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 = (wxWindow *)(arg1)->GetToolBar();
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_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15176 PyObject *resultobj;
15177 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15178 PyObject * obj0 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 (arg1)->Tile();
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 Py_INCREF(Py_None); resultobj = Py_None;
15194 return resultobj;
15195 fail:
15196 return NULL;
15197 }
15198
15199
15200 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15201 PyObject *obj;
15202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15203 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15204 Py_INCREF(obj);
15205 return Py_BuildValue((char *)"");
15206 }
15207 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15208 PyObject *resultobj;
15209 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15210 int arg2 = (int) (int)-1 ;
15211 wxString const &arg3_defvalue = wxPyEmptyString ;
15212 wxString *arg3 = (wxString *) &arg3_defvalue ;
15213 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15214 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15215 wxSize const &arg5_defvalue = wxDefaultSize ;
15216 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15217 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15218 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15219 wxString *arg7 = (wxString *) &arg7_defvalue ;
15220 wxMDIChildFrame *result;
15221 bool temp3 = false ;
15222 wxPoint temp4 ;
15223 wxSize temp5 ;
15224 bool temp7 = false ;
15225 PyObject * obj0 = 0 ;
15226 PyObject * obj1 = 0 ;
15227 PyObject * obj2 = 0 ;
15228 PyObject * obj3 = 0 ;
15229 PyObject * obj4 = 0 ;
15230 PyObject * obj5 = 0 ;
15231 PyObject * obj6 = 0 ;
15232 char *kwnames[] = {
15233 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15234 };
15235
15236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15239 if (obj1) {
15240 arg2 = (int)SWIG_As_int(obj1);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15243 if (obj2) {
15244 {
15245 arg3 = wxString_in_helper(obj2);
15246 if (arg3 == NULL) SWIG_fail;
15247 temp3 = true;
15248 }
15249 }
15250 if (obj3) {
15251 {
15252 arg4 = &temp4;
15253 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15254 }
15255 }
15256 if (obj4) {
15257 {
15258 arg5 = &temp5;
15259 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15260 }
15261 }
15262 if (obj5) {
15263 arg6 = (long)SWIG_As_long(obj5);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 if (obj6) {
15267 {
15268 arg7 = wxString_in_helper(obj6);
15269 if (arg7 == NULL) SWIG_fail;
15270 temp7 = true;
15271 }
15272 }
15273 {
15274 if (!wxPyCheckForApp()) SWIG_fail;
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15282 {
15283 if (temp3)
15284 delete arg3;
15285 }
15286 {
15287 if (temp7)
15288 delete arg7;
15289 }
15290 return resultobj;
15291 fail:
15292 {
15293 if (temp3)
15294 delete arg3;
15295 }
15296 {
15297 if (temp7)
15298 delete arg7;
15299 }
15300 return NULL;
15301 }
15302
15303
15304 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15305 PyObject *resultobj;
15306 wxMDIChildFrame *result;
15307 char *kwnames[] = {
15308 NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15312 {
15313 if (!wxPyCheckForApp()) SWIG_fail;
15314 PyThreadState* __tstate = wxPyBeginAllowThreads();
15315 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15316
15317 wxPyEndAllowThreads(__tstate);
15318 if (PyErr_Occurred()) SWIG_fail;
15319 }
15320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15321 return resultobj;
15322 fail:
15323 return NULL;
15324 }
15325
15326
15327 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15328 PyObject *resultobj;
15329 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15330 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15331 int arg3 = (int) (int)-1 ;
15332 wxString const &arg4_defvalue = wxPyEmptyString ;
15333 wxString *arg4 = (wxString *) &arg4_defvalue ;
15334 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15335 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15336 wxSize const &arg6_defvalue = wxDefaultSize ;
15337 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15338 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15339 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15340 wxString *arg8 = (wxString *) &arg8_defvalue ;
15341 bool result;
15342 bool temp4 = false ;
15343 wxPoint temp5 ;
15344 wxSize temp6 ;
15345 bool temp8 = false ;
15346 PyObject * obj0 = 0 ;
15347 PyObject * obj1 = 0 ;
15348 PyObject * obj2 = 0 ;
15349 PyObject * obj3 = 0 ;
15350 PyObject * obj4 = 0 ;
15351 PyObject * obj5 = 0 ;
15352 PyObject * obj6 = 0 ;
15353 PyObject * obj7 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15363 if (obj2) {
15364 arg3 = (int)SWIG_As_int(obj2);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 if (obj3) {
15368 {
15369 arg4 = wxString_in_helper(obj3);
15370 if (arg4 == NULL) SWIG_fail;
15371 temp4 = true;
15372 }
15373 }
15374 if (obj4) {
15375 {
15376 arg5 = &temp5;
15377 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15378 }
15379 }
15380 if (obj5) {
15381 {
15382 arg6 = &temp6;
15383 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15384 }
15385 }
15386 if (obj6) {
15387 arg7 = (long)SWIG_As_long(obj6);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 if (obj7) {
15391 {
15392 arg8 = wxString_in_helper(obj7);
15393 if (arg8 == NULL) SWIG_fail;
15394 temp8 = true;
15395 }
15396 }
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15400
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 {
15405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15406 }
15407 {
15408 if (temp4)
15409 delete arg4;
15410 }
15411 {
15412 if (temp8)
15413 delete arg8;
15414 }
15415 return resultobj;
15416 fail:
15417 {
15418 if (temp4)
15419 delete arg4;
15420 }
15421 {
15422 if (temp8)
15423 delete arg8;
15424 }
15425 return NULL;
15426 }
15427
15428
15429 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15432 PyObject * obj0 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 (arg1)->Activate();
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 Py_INCREF(Py_None); resultobj = Py_None;
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15457 bool arg2 ;
15458 PyObject * obj0 = 0 ;
15459 PyObject * obj1 = 0 ;
15460 char *kwnames[] = {
15461 (char *) "self",(char *) "maximize", NULL
15462 };
15463
15464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15467 arg2 = (bool)SWIG_As_bool(obj1);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 (arg1)->Maximize(arg2);
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 Py_INCREF(Py_None); resultobj = Py_None;
15477 return resultobj;
15478 fail:
15479 return NULL;
15480 }
15481
15482
15483 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15486 PyObject * obj0 = 0 ;
15487 char *kwnames[] = {
15488 (char *) "self", NULL
15489 };
15490
15491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 (arg1)->Restore();
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 Py_INCREF(Py_None); resultobj = Py_None;
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15509 PyObject *obj;
15510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15511 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15512 Py_INCREF(obj);
15513 return Py_BuildValue((char *)"");
15514 }
15515 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15516 PyObject *resultobj;
15517 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15518 long arg2 = (long) 0 ;
15519 wxMDIClientWindow *result;
15520 PyObject * obj0 = 0 ;
15521 PyObject * obj1 = 0 ;
15522 char *kwnames[] = {
15523 (char *) "parent",(char *) "style", NULL
15524 };
15525
15526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15529 if (obj1) {
15530 arg2 = (long)SWIG_As_long(obj1);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 {
15534 if (!wxPyCheckForApp()) SWIG_fail;
15535 PyThreadState* __tstate = wxPyBeginAllowThreads();
15536 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15537
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15542 return resultobj;
15543 fail:
15544 return NULL;
15545 }
15546
15547
15548 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15549 PyObject *resultobj;
15550 wxMDIClientWindow *result;
15551 char *kwnames[] = {
15552 NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15556 {
15557 if (!wxPyCheckForApp()) SWIG_fail;
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15560
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15574 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15575 long arg3 = (long) 0 ;
15576 bool result;
15577 PyObject * obj0 = 0 ;
15578 PyObject * obj1 = 0 ;
15579 PyObject * obj2 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self",(char *) "parent",(char *) "style", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15589 if (obj2) {
15590 arg3 = (long)SWIG_As_long(obj2);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 {
15594 PyThreadState* __tstate = wxPyBeginAllowThreads();
15595 result = (bool)(arg1)->Create(arg2,arg3);
15596
15597 wxPyEndAllowThreads(__tstate);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 {
15601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15602 }
15603 return resultobj;
15604 fail:
15605 return NULL;
15606 }
15607
15608
15609 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15610 PyObject *obj;
15611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15612 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15613 Py_INCREF(obj);
15614 return Py_BuildValue((char *)"");
15615 }
15616 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj;
15618 wxWindow *arg1 = (wxWindow *) 0 ;
15619 int arg2 = (int) (int)-1 ;
15620 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15621 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15622 wxSize const &arg4_defvalue = wxDefaultSize ;
15623 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15624 long arg5 = (long) 0 ;
15625 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15626 wxString *arg6 = (wxString *) &arg6_defvalue ;
15627 wxPyWindow *result;
15628 wxPoint temp3 ;
15629 wxSize temp4 ;
15630 bool temp6 = false ;
15631 PyObject * obj0 = 0 ;
15632 PyObject * obj1 = 0 ;
15633 PyObject * obj2 = 0 ;
15634 PyObject * obj3 = 0 ;
15635 PyObject * obj4 = 0 ;
15636 PyObject * obj5 = 0 ;
15637 char *kwnames[] = {
15638 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15639 };
15640
15641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15644 if (obj1) {
15645 arg2 = (int)SWIG_As_int(obj1);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 if (obj2) {
15649 {
15650 arg3 = &temp3;
15651 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15652 }
15653 }
15654 if (obj3) {
15655 {
15656 arg4 = &temp4;
15657 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15658 }
15659 }
15660 if (obj4) {
15661 arg5 = (long)SWIG_As_long(obj4);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 }
15664 if (obj5) {
15665 {
15666 arg6 = wxString_in_helper(obj5);
15667 if (arg6 == NULL) SWIG_fail;
15668 temp6 = true;
15669 }
15670 }
15671 {
15672 if (!wxPyCheckForApp()) SWIG_fail;
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15680 {
15681 if (temp6)
15682 delete arg6;
15683 }
15684 return resultobj;
15685 fail:
15686 {
15687 if (temp6)
15688 delete arg6;
15689 }
15690 return NULL;
15691 }
15692
15693
15694 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15695 PyObject *resultobj;
15696 wxPyWindow *result;
15697 char *kwnames[] = {
15698 NULL
15699 };
15700
15701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15702 {
15703 if (!wxPyCheckForApp()) SWIG_fail;
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 result = (wxPyWindow *)new wxPyWindow();
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15711 return resultobj;
15712 fail:
15713 return NULL;
15714 }
15715
15716
15717 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15720 PyObject *arg2 = (PyObject *) 0 ;
15721 PyObject *arg3 = (PyObject *) 0 ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 PyObject * obj2 = 0 ;
15725 char *kwnames[] = {
15726 (char *) "self",(char *) "self",(char *) "_class", NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15732 arg2 = obj1;
15733 arg3 = obj2;
15734 {
15735 PyThreadState* __tstate = wxPyBeginAllowThreads();
15736 (arg1)->_setCallbackInfo(arg2,arg3);
15737
15738 wxPyEndAllowThreads(__tstate);
15739 if (PyErr_Occurred()) SWIG_fail;
15740 }
15741 Py_INCREF(Py_None); resultobj = Py_None;
15742 return resultobj;
15743 fail:
15744 return NULL;
15745 }
15746
15747
15748 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15749 PyObject *resultobj;
15750 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15751 wxSize *arg2 = 0 ;
15752 wxSize temp2 ;
15753 PyObject * obj0 = 0 ;
15754 PyObject * obj1 = 0 ;
15755 char *kwnames[] = {
15756 (char *) "self",(char *) "size", NULL
15757 };
15758
15759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15762 {
15763 arg2 = &temp2;
15764 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15765 }
15766 {
15767 PyThreadState* __tstate = wxPyBeginAllowThreads();
15768 (arg1)->SetBestSize((wxSize const &)*arg2);
15769
15770 wxPyEndAllowThreads(__tstate);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 }
15773 Py_INCREF(Py_None); resultobj = Py_None;
15774 return resultobj;
15775 fail:
15776 return NULL;
15777 }
15778
15779
15780 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15781 PyObject *resultobj;
15782 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15783 int arg2 ;
15784 int arg3 ;
15785 int arg4 ;
15786 int arg5 ;
15787 PyObject * obj0 = 0 ;
15788 PyObject * obj1 = 0 ;
15789 PyObject * obj2 = 0 ;
15790 PyObject * obj3 = 0 ;
15791 PyObject * obj4 = 0 ;
15792 char *kwnames[] = {
15793 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15794 };
15795
15796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15799 arg2 = (int)SWIG_As_int(obj1);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 arg3 = (int)SWIG_As_int(obj2);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 arg4 = (int)SWIG_As_int(obj3);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 arg5 = (int)SWIG_As_int(obj4);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818 }
15819
15820
15821 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15824 int arg2 ;
15825 int arg3 ;
15826 int arg4 ;
15827 int arg5 ;
15828 int arg6 = (int) wxSIZE_AUTO ;
15829 PyObject * obj0 = 0 ;
15830 PyObject * obj1 = 0 ;
15831 PyObject * obj2 = 0 ;
15832 PyObject * obj3 = 0 ;
15833 PyObject * obj4 = 0 ;
15834 PyObject * obj5 = 0 ;
15835 char *kwnames[] = {
15836 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15837 };
15838
15839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15842 arg2 = (int)SWIG_As_int(obj1);
15843 if (PyErr_Occurred()) SWIG_fail;
15844 arg3 = (int)SWIG_As_int(obj2);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 arg4 = (int)SWIG_As_int(obj3);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 arg5 = (int)SWIG_As_int(obj4);
15849 if (PyErr_Occurred()) SWIG_fail;
15850 if (obj5) {
15851 arg6 = (int)SWIG_As_int(obj5);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15857
15858 wxPyEndAllowThreads(__tstate);
15859 if (PyErr_Occurred()) SWIG_fail;
15860 }
15861 Py_INCREF(Py_None); resultobj = Py_None;
15862 return resultobj;
15863 fail:
15864 return NULL;
15865 }
15866
15867
15868 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15869 PyObject *resultobj;
15870 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15871 int arg2 ;
15872 int arg3 ;
15873 PyObject * obj0 = 0 ;
15874 PyObject * obj1 = 0 ;
15875 PyObject * obj2 = 0 ;
15876 char *kwnames[] = {
15877 (char *) "self",(char *) "width",(char *) "height", NULL
15878 };
15879
15880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15883 arg2 = (int)SWIG_As_int(obj1);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 arg3 = (int)SWIG_As_int(obj2);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 (arg1)->base_DoSetClientSize(arg2,arg3);
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 Py_INCREF(Py_None); resultobj = Py_None;
15895 return resultobj;
15896 fail:
15897 return NULL;
15898 }
15899
15900
15901 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15904 int arg2 ;
15905 int arg3 ;
15906 PyObject * obj0 = 0 ;
15907 PyObject * obj1 = 0 ;
15908 PyObject * obj2 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self",(char *) "x",(char *) "y", NULL
15911 };
15912
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15916 arg2 = (int)SWIG_As_int(obj1);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 arg3 = (int)SWIG_As_int(obj2);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 {
15921 PyThreadState* __tstate = wxPyBeginAllowThreads();
15922 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15923
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 Py_INCREF(Py_None); resultobj = Py_None;
15928 return resultobj;
15929 fail:
15930 return NULL;
15931 }
15932
15933
15934 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj;
15936 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15937 int *arg2 = (int *) 0 ;
15938 int *arg3 = (int *) 0 ;
15939 int temp2 ;
15940 int res2 = 0 ;
15941 int temp3 ;
15942 int res3 = 0 ;
15943 PyObject * obj0 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self", NULL
15946 };
15947
15948 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15949 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 Py_INCREF(Py_None); resultobj = Py_None;
15961 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15962 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15963 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15964 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj;
15973 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15974 int *arg2 = (int *) 0 ;
15975 int *arg3 = (int *) 0 ;
15976 int temp2 ;
15977 int res2 = 0 ;
15978 int temp3 ;
15979 int res3 = 0 ;
15980 PyObject * obj0 = 0 ;
15981 char *kwnames[] = {
15982 (char *) "self", NULL
15983 };
15984
15985 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15986 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15990 {
15991 PyThreadState* __tstate = wxPyBeginAllowThreads();
15992 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15993
15994 wxPyEndAllowThreads(__tstate);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 }
15997 Py_INCREF(Py_None); resultobj = Py_None;
15998 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15999 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16000 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16001 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16002 return resultobj;
16003 fail:
16004 return NULL;
16005 }
16006
16007
16008 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16009 PyObject *resultobj;
16010 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16011 int *arg2 = (int *) 0 ;
16012 int *arg3 = (int *) 0 ;
16013 int temp2 ;
16014 int res2 = 0 ;
16015 int temp3 ;
16016 int res3 = 0 ;
16017 PyObject * obj0 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self", NULL
16020 };
16021
16022 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16023 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 Py_INCREF(Py_None); resultobj = Py_None;
16035 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16036 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16037 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16038 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16039 return resultobj;
16040 fail:
16041 return NULL;
16042 }
16043
16044
16045 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16048 wxSize result;
16049 PyObject * obj0 = 0 ;
16050 char *kwnames[] = {
16051 (char *) "self", NULL
16052 };
16053
16054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
16059 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16060
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
16064 {
16065 wxSize * resultptr;
16066 resultptr = new wxSize((wxSize &) result);
16067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16068 }
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16078 wxSize result;
16079 PyObject * obj0 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16090
16091 wxPyEndAllowThreads(__tstate);
16092 if (PyErr_Occurred()) SWIG_fail;
16093 }
16094 {
16095 wxSize * resultptr;
16096 resultptr = new wxSize((wxSize &) result);
16097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16098 }
16099 return resultobj;
16100 fail:
16101 return NULL;
16102 }
16103
16104
16105 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16106 PyObject *resultobj;
16107 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16108 PyObject * obj0 = 0 ;
16109 char *kwnames[] = {
16110 (char *) "self", NULL
16111 };
16112
16113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16116 {
16117 PyThreadState* __tstate = wxPyBeginAllowThreads();
16118 (arg1)->base_InitDialog();
16119
16120 wxPyEndAllowThreads(__tstate);
16121 if (PyErr_Occurred()) SWIG_fail;
16122 }
16123 Py_INCREF(Py_None); resultobj = Py_None;
16124 return resultobj;
16125 fail:
16126 return NULL;
16127 }
16128
16129
16130 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16131 PyObject *resultobj;
16132 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16133 bool result;
16134 PyObject * obj0 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "self", NULL
16137 };
16138
16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 result = (bool)(arg1)->base_TransferDataToWindow();
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 {
16150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16151 }
16152 return resultobj;
16153 fail:
16154 return NULL;
16155 }
16156
16157
16158 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(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_TransferDataFromWindow",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_TransferDataFromWindow();
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_Validate(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_Validate",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_Validate();
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_AcceptsFocus(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_AcceptsFocus",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)((wxPyWindow const *)arg1)->base_AcceptsFocus();
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_AcceptsFocusFromKeyboard(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_AcceptsFocusFromKeyboard",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_AcceptsFocusFromKeyboard();
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_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16271 PyObject *resultobj;
16272 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16273 wxSize result;
16274 PyObject * obj0 = 0 ;
16275 char *kwnames[] = {
16276 (char *) "self", NULL
16277 };
16278
16279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",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 = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16285
16286 wxPyEndAllowThreads(__tstate);
16287 if (PyErr_Occurred()) SWIG_fail;
16288 }
16289 {
16290 wxSize * resultptr;
16291 resultptr = new wxSize((wxSize &) result);
16292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16293 }
16294 return resultobj;
16295 fail:
16296 return NULL;
16297 }
16298
16299
16300 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj;
16302 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16303 wxWindow *arg2 = (wxWindow *) 0 ;
16304 PyObject * obj0 = 0 ;
16305 PyObject * obj1 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "self",(char *) "child", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 (arg1)->base_AddChild(arg2);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 Py_INCREF(Py_None); resultobj = Py_None;
16323 return resultobj;
16324 fail:
16325 return NULL;
16326 }
16327
16328
16329 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16332 wxWindow *arg2 = (wxWindow *) 0 ;
16333 PyObject * obj0 = 0 ;
16334 PyObject * obj1 = 0 ;
16335 char *kwnames[] = {
16336 (char *) "self",(char *) "child", NULL
16337 };
16338
16339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 (arg1)->base_RemoveChild(arg2);
16347
16348 wxPyEndAllowThreads(__tstate);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 Py_INCREF(Py_None); resultobj = Py_None;
16352 return resultobj;
16353 fail:
16354 return NULL;
16355 }
16356
16357
16358 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16359 PyObject *resultobj;
16360 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16361 bool result;
16362 PyObject * obj0 = 0 ;
16363 char *kwnames[] = {
16364 (char *) "self", NULL
16365 };
16366
16367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 {
16378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16379 }
16380 return resultobj;
16381 fail:
16382 return NULL;
16383 }
16384
16385
16386 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16389 wxColour *arg2 = 0 ;
16390 wxColour temp2 ;
16391 PyObject * obj0 = 0 ;
16392 PyObject * obj1 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self",(char *) "c", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16400 {
16401 arg2 = &temp2;
16402 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16403 }
16404 {
16405 PyThreadState* __tstate = wxPyBeginAllowThreads();
16406 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16407
16408 wxPyEndAllowThreads(__tstate);
16409 if (PyErr_Occurred()) SWIG_fail;
16410 }
16411 Py_INCREF(Py_None); resultobj = Py_None;
16412 return resultobj;
16413 fail:
16414 return NULL;
16415 }
16416
16417
16418 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16419 PyObject *resultobj;
16420 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16421 wxVisualAttributes result;
16422 PyObject * obj0 = 0 ;
16423 char *kwnames[] = {
16424 (char *) "self", NULL
16425 };
16426
16427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 result = (arg1)->base_GetDefaultAttributes();
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 {
16438 wxVisualAttributes * resultptr;
16439 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16440 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16441 }
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16449 PyObject *obj;
16450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16451 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16452 Py_INCREF(obj);
16453 return Py_BuildValue((char *)"");
16454 }
16455 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16456 PyObject *resultobj;
16457 wxWindow *arg1 = (wxWindow *) 0 ;
16458 int arg2 = (int) (int)-1 ;
16459 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16460 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16461 wxSize const &arg4_defvalue = wxDefaultSize ;
16462 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16463 long arg5 = (long) 0 ;
16464 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16465 wxString *arg6 = (wxString *) &arg6_defvalue ;
16466 wxPyPanel *result;
16467 wxPoint temp3 ;
16468 wxSize temp4 ;
16469 bool temp6 = false ;
16470 PyObject * obj0 = 0 ;
16471 PyObject * obj1 = 0 ;
16472 PyObject * obj2 = 0 ;
16473 PyObject * obj3 = 0 ;
16474 PyObject * obj4 = 0 ;
16475 PyObject * obj5 = 0 ;
16476 char *kwnames[] = {
16477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16478 };
16479
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16483 if (obj1) {
16484 arg2 = (int)SWIG_As_int(obj1);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 if (obj2) {
16488 {
16489 arg3 = &temp3;
16490 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16491 }
16492 }
16493 if (obj3) {
16494 {
16495 arg4 = &temp4;
16496 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16497 }
16498 }
16499 if (obj4) {
16500 arg5 = (long)SWIG_As_long(obj4);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 if (obj5) {
16504 {
16505 arg6 = wxString_in_helper(obj5);
16506 if (arg6 == NULL) SWIG_fail;
16507 temp6 = true;
16508 }
16509 }
16510 {
16511 if (!wxPyCheckForApp()) SWIG_fail;
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16519 {
16520 if (temp6)
16521 delete arg6;
16522 }
16523 return resultobj;
16524 fail:
16525 {
16526 if (temp6)
16527 delete arg6;
16528 }
16529 return NULL;
16530 }
16531
16532
16533 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxPyPanel *result;
16536 char *kwnames[] = {
16537 NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16541 {
16542 if (!wxPyCheckForApp()) SWIG_fail;
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 result = (wxPyPanel *)new wxPyPanel();
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16550 return resultobj;
16551 fail:
16552 return NULL;
16553 }
16554
16555
16556 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16559 PyObject *arg2 = (PyObject *) 0 ;
16560 PyObject *arg3 = (PyObject *) 0 ;
16561 PyObject * obj0 = 0 ;
16562 PyObject * obj1 = 0 ;
16563 PyObject * obj2 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self",(char *) "self",(char *) "_class", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16571 arg2 = obj1;
16572 arg3 = obj2;
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 (arg1)->_setCallbackInfo(arg2,arg3);
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 Py_INCREF(Py_None); resultobj = Py_None;
16581 return resultobj;
16582 fail:
16583 return NULL;
16584 }
16585
16586
16587 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16590 wxSize *arg2 = 0 ;
16591 wxSize temp2 ;
16592 PyObject * obj0 = 0 ;
16593 PyObject * obj1 = 0 ;
16594 char *kwnames[] = {
16595 (char *) "self",(char *) "size", NULL
16596 };
16597
16598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16601 {
16602 arg2 = &temp2;
16603 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16604 }
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 (arg1)->SetBestSize((wxSize const &)*arg2);
16608
16609 wxPyEndAllowThreads(__tstate);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 Py_INCREF(Py_None); resultobj = Py_None;
16613 return resultobj;
16614 fail:
16615 return NULL;
16616 }
16617
16618
16619 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16620 PyObject *resultobj;
16621 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16622 int arg2 ;
16623 int arg3 ;
16624 int arg4 ;
16625 int arg5 ;
16626 PyObject * obj0 = 0 ;
16627 PyObject * obj1 = 0 ;
16628 PyObject * obj2 = 0 ;
16629 PyObject * obj3 = 0 ;
16630 PyObject * obj4 = 0 ;
16631 char *kwnames[] = {
16632 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16633 };
16634
16635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16638 arg2 = (int)SWIG_As_int(obj1);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 arg3 = (int)SWIG_As_int(obj2);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 arg4 = (int)SWIG_As_int(obj3);
16643 if (PyErr_Occurred()) SWIG_fail;
16644 arg5 = (int)SWIG_As_int(obj4);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 {
16647 PyThreadState* __tstate = wxPyBeginAllowThreads();
16648 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16649
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 Py_INCREF(Py_None); resultobj = Py_None;
16654 return resultobj;
16655 fail:
16656 return NULL;
16657 }
16658
16659
16660 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16661 PyObject *resultobj;
16662 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16663 int arg2 ;
16664 int arg3 ;
16665 int arg4 ;
16666 int arg5 ;
16667 int arg6 = (int) wxSIZE_AUTO ;
16668 PyObject * obj0 = 0 ;
16669 PyObject * obj1 = 0 ;
16670 PyObject * obj2 = 0 ;
16671 PyObject * obj3 = 0 ;
16672 PyObject * obj4 = 0 ;
16673 PyObject * obj5 = 0 ;
16674 char *kwnames[] = {
16675 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16676 };
16677
16678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16681 arg2 = (int)SWIG_As_int(obj1);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 arg3 = (int)SWIG_As_int(obj2);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 arg4 = (int)SWIG_As_int(obj3);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 arg5 = (int)SWIG_As_int(obj4);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 if (obj5) {
16690 arg6 = (int)SWIG_As_int(obj5);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
16693 {
16694 PyThreadState* __tstate = wxPyBeginAllowThreads();
16695 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16696
16697 wxPyEndAllowThreads(__tstate);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 }
16700 Py_INCREF(Py_None); resultobj = Py_None;
16701 return resultobj;
16702 fail:
16703 return NULL;
16704 }
16705
16706
16707 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16708 PyObject *resultobj;
16709 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16710 int arg2 ;
16711 int arg3 ;
16712 PyObject * obj0 = 0 ;
16713 PyObject * obj1 = 0 ;
16714 PyObject * obj2 = 0 ;
16715 char *kwnames[] = {
16716 (char *) "self",(char *) "width",(char *) "height", NULL
16717 };
16718
16719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16722 arg2 = (int)SWIG_As_int(obj1);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 arg3 = (int)SWIG_As_int(obj2);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 (arg1)->base_DoSetClientSize(arg2,arg3);
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 Py_INCREF(Py_None); resultobj = Py_None;
16734 return resultobj;
16735 fail:
16736 return NULL;
16737 }
16738
16739
16740 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16743 int arg2 ;
16744 int arg3 ;
16745 PyObject * obj0 = 0 ;
16746 PyObject * obj1 = 0 ;
16747 PyObject * obj2 = 0 ;
16748 char *kwnames[] = {
16749 (char *) "self",(char *) "x",(char *) "y", NULL
16750 };
16751
16752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16755 arg2 = (int)SWIG_As_int(obj1);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 arg3 = (int)SWIG_As_int(obj2);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 Py_INCREF(Py_None); resultobj = Py_None;
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16776 int *arg2 = (int *) 0 ;
16777 int *arg3 = (int *) 0 ;
16778 int temp2 ;
16779 int res2 = 0 ;
16780 int temp3 ;
16781 int res3 = 0 ;
16782 PyObject * obj0 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self", NULL
16785 };
16786
16787 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16788 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 Py_INCREF(Py_None); resultobj = Py_None;
16800 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16801 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16802 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16803 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16804 return resultobj;
16805 fail:
16806 return NULL;
16807 }
16808
16809
16810 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj;
16812 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16813 int *arg2 = (int *) 0 ;
16814 int *arg3 = (int *) 0 ;
16815 int temp2 ;
16816 int res2 = 0 ;
16817 int temp3 ;
16818 int res3 = 0 ;
16819 PyObject * obj0 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "self", NULL
16822 };
16823
16824 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16825 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16829 {
16830 PyThreadState* __tstate = wxPyBeginAllowThreads();
16831 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16832
16833 wxPyEndAllowThreads(__tstate);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 Py_INCREF(Py_None); resultobj = Py_None;
16837 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16838 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16839 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16840 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16841 return resultobj;
16842 fail:
16843 return NULL;
16844 }
16845
16846
16847 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16848 PyObject *resultobj;
16849 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16850 int *arg2 = (int *) 0 ;
16851 int *arg3 = (int *) 0 ;
16852 int temp2 ;
16853 int res2 = 0 ;
16854 int temp3 ;
16855 int res3 = 0 ;
16856 PyObject * obj0 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self", NULL
16859 };
16860
16861 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16862 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 Py_INCREF(Py_None); resultobj = Py_None;
16874 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16875 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16876 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16877 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16878 return resultobj;
16879 fail:
16880 return NULL;
16881 }
16882
16883
16884 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16885 PyObject *resultobj;
16886 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16887 wxSize result;
16888 PyObject * obj0 = 0 ;
16889 char *kwnames[] = {
16890 (char *) "self", NULL
16891 };
16892
16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 {
16904 wxSize * resultptr;
16905 resultptr = new wxSize((wxSize &) result);
16906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16907 }
16908 return resultobj;
16909 fail:
16910 return NULL;
16911 }
16912
16913
16914 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj;
16916 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16917 wxSize result;
16918 PyObject * obj0 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "self", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 {
16934 wxSize * resultptr;
16935 resultptr = new wxSize((wxSize &) result);
16936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16937 }
16938 return resultobj;
16939 fail:
16940 return NULL;
16941 }
16942
16943
16944 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj;
16946 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16947 PyObject * obj0 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 (arg1)->base_InitDialog();
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 Py_INCREF(Py_None); resultobj = Py_None;
16963 return resultobj;
16964 fail:
16965 return NULL;
16966 }
16967
16968
16969 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16972 bool result;
16973 PyObject * obj0 = 0 ;
16974 char *kwnames[] = {
16975 (char *) "self", NULL
16976 };
16977
16978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 result = (bool)(arg1)->base_TransferDataToWindow();
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 {
16989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16990 }
16991 return resultobj;
16992 fail:
16993 return NULL;
16994 }
16995
16996
16997 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(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_TransferDataFromWindow",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_TransferDataFromWindow();
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_Validate(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_Validate",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_Validate();
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_AcceptsFocus(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_AcceptsFocus",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)((wxPyPanel const *)arg1)->base_AcceptsFocus();
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_AcceptsFocusFromKeyboard(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_AcceptsFocusFromKeyboard",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_AcceptsFocusFromKeyboard();
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_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj;
17111 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17112 wxSize result;
17113 PyObject * obj0 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",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 = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 {
17129 wxSize * resultptr;
17130 resultptr = new wxSize((wxSize &) result);
17131 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17132 }
17133 return resultobj;
17134 fail:
17135 return NULL;
17136 }
17137
17138
17139 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj;
17141 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17142 wxWindow *arg2 = (wxWindow *) 0 ;
17143 PyObject * obj0 = 0 ;
17144 PyObject * obj1 = 0 ;
17145 char *kwnames[] = {
17146 (char *) "self",(char *) "child", NULL
17147 };
17148
17149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 (arg1)->base_AddChild(arg2);
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 Py_INCREF(Py_None); resultobj = Py_None;
17162 return resultobj;
17163 fail:
17164 return NULL;
17165 }
17166
17167
17168 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17171 wxWindow *arg2 = (wxWindow *) 0 ;
17172 PyObject * obj0 = 0 ;
17173 PyObject * obj1 = 0 ;
17174 char *kwnames[] = {
17175 (char *) "self",(char *) "child", NULL
17176 };
17177
17178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 (arg1)->base_RemoveChild(arg2);
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 Py_INCREF(Py_None); resultobj = Py_None;
17191 return resultobj;
17192 fail:
17193 return NULL;
17194 }
17195
17196
17197 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj;
17199 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17200 bool result;
17201 PyObject * obj0 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17212
17213 wxPyEndAllowThreads(__tstate);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 {
17217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17218 }
17219 return resultobj;
17220 fail:
17221 return NULL;
17222 }
17223
17224
17225 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17228 wxColour *arg2 = 0 ;
17229 wxColour temp2 ;
17230 PyObject * obj0 = 0 ;
17231 PyObject * obj1 = 0 ;
17232 char *kwnames[] = {
17233 (char *) "self",(char *) "c", NULL
17234 };
17235
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17239 {
17240 arg2 = &temp2;
17241 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17242 }
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 Py_INCREF(Py_None); resultobj = Py_None;
17251 return resultobj;
17252 fail:
17253 return NULL;
17254 }
17255
17256
17257 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17260 wxVisualAttributes result;
17261 PyObject * obj0 = 0 ;
17262 char *kwnames[] = {
17263 (char *) "self", NULL
17264 };
17265
17266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 result = (arg1)->base_GetDefaultAttributes();
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 {
17277 wxVisualAttributes * resultptr;
17278 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17279 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17280 }
17281 return resultobj;
17282 fail:
17283 return NULL;
17284 }
17285
17286
17287 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17288 PyObject *obj;
17289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17290 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17291 Py_INCREF(obj);
17292 return Py_BuildValue((char *)"");
17293 }
17294 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj;
17296 wxWindow *arg1 = (wxWindow *) 0 ;
17297 int arg2 = (int) (int)-1 ;
17298 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17299 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17300 wxSize const &arg4_defvalue = wxDefaultSize ;
17301 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17302 long arg5 = (long) 0 ;
17303 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17304 wxString *arg6 = (wxString *) &arg6_defvalue ;
17305 wxPyScrolledWindow *result;
17306 wxPoint temp3 ;
17307 wxSize temp4 ;
17308 bool temp6 = false ;
17309 PyObject * obj0 = 0 ;
17310 PyObject * obj1 = 0 ;
17311 PyObject * obj2 = 0 ;
17312 PyObject * obj3 = 0 ;
17313 PyObject * obj4 = 0 ;
17314 PyObject * obj5 = 0 ;
17315 char *kwnames[] = {
17316 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17322 if (obj1) {
17323 arg2 = (int)SWIG_As_int(obj1);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 if (obj2) {
17327 {
17328 arg3 = &temp3;
17329 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17330 }
17331 }
17332 if (obj3) {
17333 {
17334 arg4 = &temp4;
17335 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17336 }
17337 }
17338 if (obj4) {
17339 arg5 = (long)SWIG_As_long(obj4);
17340 if (PyErr_Occurred()) SWIG_fail;
17341 }
17342 if (obj5) {
17343 {
17344 arg6 = wxString_in_helper(obj5);
17345 if (arg6 == NULL) SWIG_fail;
17346 temp6 = true;
17347 }
17348 }
17349 {
17350 if (!wxPyCheckForApp()) SWIG_fail;
17351 PyThreadState* __tstate = wxPyBeginAllowThreads();
17352 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17353
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17358 {
17359 if (temp6)
17360 delete arg6;
17361 }
17362 return resultobj;
17363 fail:
17364 {
17365 if (temp6)
17366 delete arg6;
17367 }
17368 return NULL;
17369 }
17370
17371
17372 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxPyScrolledWindow *result;
17375 char *kwnames[] = {
17376 NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17380 {
17381 if (!wxPyCheckForApp()) SWIG_fail;
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17384
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17389 return resultobj;
17390 fail:
17391 return NULL;
17392 }
17393
17394
17395 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj;
17397 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17398 PyObject *arg2 = (PyObject *) 0 ;
17399 PyObject *arg3 = (PyObject *) 0 ;
17400 PyObject * obj0 = 0 ;
17401 PyObject * obj1 = 0 ;
17402 PyObject * obj2 = 0 ;
17403 char *kwnames[] = {
17404 (char *) "self",(char *) "self",(char *) "_class", NULL
17405 };
17406
17407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17410 arg2 = obj1;
17411 arg3 = obj2;
17412 {
17413 PyThreadState* __tstate = wxPyBeginAllowThreads();
17414 (arg1)->_setCallbackInfo(arg2,arg3);
17415
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 Py_INCREF(Py_None); resultobj = Py_None;
17420 return resultobj;
17421 fail:
17422 return NULL;
17423 }
17424
17425
17426 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17427 PyObject *resultobj;
17428 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17429 wxSize *arg2 = 0 ;
17430 wxSize temp2 ;
17431 PyObject * obj0 = 0 ;
17432 PyObject * obj1 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "self",(char *) "size", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17440 {
17441 arg2 = &temp2;
17442 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17443 }
17444 {
17445 PyThreadState* __tstate = wxPyBeginAllowThreads();
17446 (arg1)->SetBestSize((wxSize const &)*arg2);
17447
17448 wxPyEndAllowThreads(__tstate);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 }
17451 Py_INCREF(Py_None); resultobj = Py_None;
17452 return resultobj;
17453 fail:
17454 return NULL;
17455 }
17456
17457
17458 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17459 PyObject *resultobj;
17460 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17461 int arg2 ;
17462 int arg3 ;
17463 int arg4 ;
17464 int arg5 ;
17465 PyObject * obj0 = 0 ;
17466 PyObject * obj1 = 0 ;
17467 PyObject * obj2 = 0 ;
17468 PyObject * obj3 = 0 ;
17469 PyObject * obj4 = 0 ;
17470 char *kwnames[] = {
17471 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17472 };
17473
17474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17477 arg2 = (int)SWIG_As_int(obj1);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 arg3 = (int)SWIG_As_int(obj2);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 arg4 = (int)SWIG_As_int(obj3);
17482 if (PyErr_Occurred()) SWIG_fail;
17483 arg5 = (int)SWIG_As_int(obj4);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 Py_INCREF(Py_None); resultobj = Py_None;
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17502 int arg2 ;
17503 int arg3 ;
17504 int arg4 ;
17505 int arg5 ;
17506 int arg6 = (int) wxSIZE_AUTO ;
17507 PyObject * obj0 = 0 ;
17508 PyObject * obj1 = 0 ;
17509 PyObject * obj2 = 0 ;
17510 PyObject * obj3 = 0 ;
17511 PyObject * obj4 = 0 ;
17512 PyObject * obj5 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17520 arg2 = (int)SWIG_As_int(obj1);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 arg3 = (int)SWIG_As_int(obj2);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 arg4 = (int)SWIG_As_int(obj3);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 arg5 = (int)SWIG_As_int(obj4);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 if (obj5) {
17529 arg6 = (int)SWIG_As_int(obj5);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 }
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17535
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 Py_INCREF(Py_None); resultobj = Py_None;
17540 return resultobj;
17541 fail:
17542 return NULL;
17543 }
17544
17545
17546 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj;
17548 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17549 int arg2 ;
17550 int arg3 ;
17551 PyObject * obj0 = 0 ;
17552 PyObject * obj1 = 0 ;
17553 PyObject * obj2 = 0 ;
17554 char *kwnames[] = {
17555 (char *) "self",(char *) "width",(char *) "height", NULL
17556 };
17557
17558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17561 arg2 = (int)SWIG_As_int(obj1);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 arg3 = (int)SWIG_As_int(obj2);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 {
17566 PyThreadState* __tstate = wxPyBeginAllowThreads();
17567 (arg1)->base_DoSetClientSize(arg2,arg3);
17568
17569 wxPyEndAllowThreads(__tstate);
17570 if (PyErr_Occurred()) SWIG_fail;
17571 }
17572 Py_INCREF(Py_None); resultobj = Py_None;
17573 return resultobj;
17574 fail:
17575 return NULL;
17576 }
17577
17578
17579 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17582 int arg2 ;
17583 int arg3 ;
17584 PyObject * obj0 = 0 ;
17585 PyObject * obj1 = 0 ;
17586 PyObject * obj2 = 0 ;
17587 char *kwnames[] = {
17588 (char *) "self",(char *) "x",(char *) "y", NULL
17589 };
17590
17591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17594 arg2 = (int)SWIG_As_int(obj1);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 arg3 = (int)SWIG_As_int(obj2);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 Py_INCREF(Py_None); resultobj = Py_None;
17606 return resultobj;
17607 fail:
17608 return NULL;
17609 }
17610
17611
17612 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17615 int *arg2 = (int *) 0 ;
17616 int *arg3 = (int *) 0 ;
17617 int temp2 ;
17618 int res2 = 0 ;
17619 int temp3 ;
17620 int res3 = 0 ;
17621 PyObject * obj0 = 0 ;
17622 char *kwnames[] = {
17623 (char *) "self", NULL
17624 };
17625
17626 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17627 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 Py_INCREF(Py_None); resultobj = Py_None;
17639 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17640 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17641 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17642 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17643 return resultobj;
17644 fail:
17645 return NULL;
17646 }
17647
17648
17649 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17652 int *arg2 = (int *) 0 ;
17653 int *arg3 = (int *) 0 ;
17654 int temp2 ;
17655 int res2 = 0 ;
17656 int temp3 ;
17657 int res3 = 0 ;
17658 PyObject * obj0 = 0 ;
17659 char *kwnames[] = {
17660 (char *) "self", NULL
17661 };
17662
17663 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17664 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17671
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 Py_INCREF(Py_None); resultobj = Py_None;
17676 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17677 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17678 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17679 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17680 return resultobj;
17681 fail:
17682 return NULL;
17683 }
17684
17685
17686 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17687 PyObject *resultobj;
17688 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17689 int *arg2 = (int *) 0 ;
17690 int *arg3 = (int *) 0 ;
17691 int temp2 ;
17692 int res2 = 0 ;
17693 int temp3 ;
17694 int res3 = 0 ;
17695 PyObject * obj0 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self", NULL
17698 };
17699
17700 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17701 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17705 {
17706 PyThreadState* __tstate = wxPyBeginAllowThreads();
17707 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17708
17709 wxPyEndAllowThreads(__tstate);
17710 if (PyErr_Occurred()) SWIG_fail;
17711 }
17712 Py_INCREF(Py_None); resultobj = Py_None;
17713 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17714 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17715 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17716 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17717 return resultobj;
17718 fail:
17719 return NULL;
17720 }
17721
17722
17723 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17724 PyObject *resultobj;
17725 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17726 wxSize result;
17727 PyObject * obj0 = 0 ;
17728 char *kwnames[] = {
17729 (char *) "self", NULL
17730 };
17731
17732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 {
17743 wxSize * resultptr;
17744 resultptr = new wxSize((wxSize &) result);
17745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17746 }
17747 return resultobj;
17748 fail:
17749 return NULL;
17750 }
17751
17752
17753 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17754 PyObject *resultobj;
17755 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17756 wxSize result;
17757 PyObject * obj0 = 0 ;
17758 char *kwnames[] = {
17759 (char *) "self", NULL
17760 };
17761
17762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17765 {
17766 PyThreadState* __tstate = wxPyBeginAllowThreads();
17767 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17768
17769 wxPyEndAllowThreads(__tstate);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 }
17772 {
17773 wxSize * resultptr;
17774 resultptr = new wxSize((wxSize &) result);
17775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17776 }
17777 return resultobj;
17778 fail:
17779 return NULL;
17780 }
17781
17782
17783 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17786 PyObject * obj0 = 0 ;
17787 char *kwnames[] = {
17788 (char *) "self", NULL
17789 };
17790
17791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 (arg1)->base_InitDialog();
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 Py_INCREF(Py_None); resultobj = Py_None;
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17811 bool result;
17812 PyObject * obj0 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "self", NULL
17815 };
17816
17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 result = (bool)(arg1)->base_TransferDataToWindow();
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 {
17828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17829 }
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(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_TransferDataFromWindow",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_TransferDataFromWindow();
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_Validate(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_Validate",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_Validate();
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_AcceptsFocus(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_AcceptsFocus",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)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
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_AcceptsFocusFromKeyboard(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_AcceptsFocusFromKeyboard",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_AcceptsFocusFromKeyboard();
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_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17951 wxSize result;
17952 PyObject * obj0 = 0 ;
17953 char *kwnames[] = {
17954 (char *) "self", NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",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 = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 {
17968 wxSize * resultptr;
17969 resultptr = new wxSize((wxSize &) result);
17970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17971 }
17972 return resultobj;
17973 fail:
17974 return NULL;
17975 }
17976
17977
17978 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17979 PyObject *resultobj;
17980 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17981 wxWindow *arg2 = (wxWindow *) 0 ;
17982 PyObject * obj0 = 0 ;
17983 PyObject * obj1 = 0 ;
17984 char *kwnames[] = {
17985 (char *) "self",(char *) "child", NULL
17986 };
17987
17988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17993 {
17994 PyThreadState* __tstate = wxPyBeginAllowThreads();
17995 (arg1)->base_AddChild(arg2);
17996
17997 wxPyEndAllowThreads(__tstate);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 }
18000 Py_INCREF(Py_None); resultobj = Py_None;
18001 return resultobj;
18002 fail:
18003 return NULL;
18004 }
18005
18006
18007 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj;
18009 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18010 wxWindow *arg2 = (wxWindow *) 0 ;
18011 PyObject * obj0 = 0 ;
18012 PyObject * obj1 = 0 ;
18013 char *kwnames[] = {
18014 (char *) "self",(char *) "child", NULL
18015 };
18016
18017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 (arg1)->base_RemoveChild(arg2);
18025
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 Py_INCREF(Py_None); resultobj = Py_None;
18030 return resultobj;
18031 fail:
18032 return NULL;
18033 }
18034
18035
18036 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj;
18038 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18039 bool result;
18040 PyObject * obj0 = 0 ;
18041 char *kwnames[] = {
18042 (char *) "self", NULL
18043 };
18044
18045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18051
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 {
18056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18057 }
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18067 wxColour *arg2 = 0 ;
18068 wxColour temp2 ;
18069 PyObject * obj0 = 0 ;
18070 PyObject * obj1 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self",(char *) "c", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18078 {
18079 arg2 = &temp2;
18080 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18081 }
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 Py_INCREF(Py_None); resultobj = Py_None;
18090 return resultobj;
18091 fail:
18092 return NULL;
18093 }
18094
18095
18096 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj;
18098 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18099 wxVisualAttributes result;
18100 PyObject * obj0 = 0 ;
18101 char *kwnames[] = {
18102 (char *) "self", NULL
18103 };
18104
18105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18108 {
18109 PyThreadState* __tstate = wxPyBeginAllowThreads();
18110 result = (arg1)->base_GetDefaultAttributes();
18111
18112 wxPyEndAllowThreads(__tstate);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 }
18115 {
18116 wxVisualAttributes * resultptr;
18117 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18119 }
18120 return resultobj;
18121 fail:
18122 return NULL;
18123 }
18124
18125
18126 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18127 PyObject *obj;
18128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18129 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18130 Py_INCREF(obj);
18131 return Py_BuildValue((char *)"");
18132 }
18133 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18134 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18135 return 1;
18136 }
18137
18138
18139 static PyObject *_wrap_PrintoutTitleStr_get() {
18140 PyObject *pyobj;
18141
18142 {
18143 #if wxUSE_UNICODE
18144 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18145 #else
18146 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18147 #endif
18148 }
18149 return pyobj;
18150 }
18151
18152
18153 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18154 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18155 return 1;
18156 }
18157
18158
18159 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18160 PyObject *pyobj;
18161
18162 {
18163 #if wxUSE_UNICODE
18164 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18165 #else
18166 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18167 #endif
18168 }
18169 return pyobj;
18170 }
18171
18172
18173 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18174 PyObject *resultobj;
18175 wxPrintData *result;
18176
18177 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 result = (wxPrintData *)new wxPrintData();
18181
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18193 PyObject *resultobj;
18194 wxPrintData *arg1 = 0 ;
18195 wxPrintData *result;
18196 PyObject * obj0 = 0 ;
18197
18198 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18200 SWIG_POINTER_EXCEPTION | 0)) == -1)
18201 SWIG_fail;
18202 if (arg1 == NULL) {
18203 PyErr_SetString(PyExc_TypeError,"null reference");
18204 SWIG_fail;
18205 }
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
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(PyObject *self, PyObject *args) {
18221 int argc;
18222 PyObject *argv[2];
18223 int ii;
18224
18225 argc = PyObject_Length(args);
18226 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18227 argv[ii] = PyTuple_GetItem(args,ii);
18228 }
18229 if (argc == 0) {
18230 return _wrap_new_PrintData__SWIG_0(self,args);
18231 }
18232 if (argc == 1) {
18233 int _v;
18234 {
18235 void *ptr;
18236 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18237 _v = 0;
18238 PyErr_Clear();
18239 } else {
18240 _v = 1;
18241 }
18242 }
18243 if (_v) {
18244 return _wrap_new_PrintData__SWIG_1(self,args);
18245 }
18246 }
18247
18248 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18249 return NULL;
18250 }
18251
18252
18253 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj;
18255 wxPrintData *arg1 = (wxPrintData *) 0 ;
18256 PyObject * obj0 = 0 ;
18257 char *kwnames[] = {
18258 (char *) "self", NULL
18259 };
18260
18261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18264 {
18265 PyThreadState* __tstate = wxPyBeginAllowThreads();
18266 delete arg1;
18267
18268 wxPyEndAllowThreads(__tstate);
18269 if (PyErr_Occurred()) SWIG_fail;
18270 }
18271 Py_INCREF(Py_None); resultobj = Py_None;
18272 return resultobj;
18273 fail:
18274 return NULL;
18275 }
18276
18277
18278 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18279 PyObject *resultobj;
18280 wxPrintData *arg1 = (wxPrintData *) 0 ;
18281 int result;
18282 PyObject * obj0 = 0 ;
18283 char *kwnames[] = {
18284 (char *) "self", NULL
18285 };
18286
18287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18290 {
18291 PyThreadState* __tstate = wxPyBeginAllowThreads();
18292 result = (int)(arg1)->GetNoCopies();
18293
18294 wxPyEndAllowThreads(__tstate);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 }
18297 resultobj = SWIG_From_int((int)result);
18298 return resultobj;
18299 fail:
18300 return NULL;
18301 }
18302
18303
18304 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18305 PyObject *resultobj;
18306 wxPrintData *arg1 = (wxPrintData *) 0 ;
18307 bool result;
18308 PyObject * obj0 = 0 ;
18309 char *kwnames[] = {
18310 (char *) "self", NULL
18311 };
18312
18313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18316 {
18317 PyThreadState* __tstate = wxPyBeginAllowThreads();
18318 result = (bool)(arg1)->GetCollate();
18319
18320 wxPyEndAllowThreads(__tstate);
18321 if (PyErr_Occurred()) SWIG_fail;
18322 }
18323 {
18324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18325 }
18326 return resultobj;
18327 fail:
18328 return NULL;
18329 }
18330
18331
18332 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 wxPrintData *arg1 = (wxPrintData *) 0 ;
18335 int result;
18336 PyObject * obj0 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",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 = (int)(arg1)->GetOrientation();
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 resultobj = SWIG_From_int((int)result);
18352 return resultobj;
18353 fail:
18354 return NULL;
18355 }
18356
18357
18358 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxPrintData *arg1 = (wxPrintData *) 0 ;
18361 bool result;
18362 PyObject * obj0 = 0 ;
18363 char *kwnames[] = {
18364 (char *) "self", NULL
18365 };
18366
18367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (bool)(arg1)->Ok();
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 {
18378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18379 }
18380 return resultobj;
18381 fail:
18382 return NULL;
18383 }
18384
18385
18386 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18387 PyObject *resultobj;
18388 wxPrintData *arg1 = (wxPrintData *) 0 ;
18389 wxString *result;
18390 PyObject * obj0 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self", NULL
18393 };
18394
18395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",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 {
18401 wxString const &_result_ref = (arg1)->GetPrinterName();
18402 result = (wxString *) &_result_ref;
18403 }
18404
18405 wxPyEndAllowThreads(__tstate);
18406 if (PyErr_Occurred()) SWIG_fail;
18407 }
18408 {
18409 #if wxUSE_UNICODE
18410 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18411 #else
18412 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18413 #endif
18414 }
18415 return resultobj;
18416 fail:
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxPrintData *arg1 = (wxPrintData *) 0 ;
18424 bool result;
18425 PyObject * obj0 = 0 ;
18426 char *kwnames[] = {
18427 (char *) "self", NULL
18428 };
18429
18430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18433 {
18434 PyThreadState* __tstate = wxPyBeginAllowThreads();
18435 result = (bool)(arg1)->GetColour();
18436
18437 wxPyEndAllowThreads(__tstate);
18438 if (PyErr_Occurred()) SWIG_fail;
18439 }
18440 {
18441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18442 }
18443 return resultobj;
18444 fail:
18445 return NULL;
18446 }
18447
18448
18449 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18450 PyObject *resultobj;
18451 wxPrintData *arg1 = (wxPrintData *) 0 ;
18452 int result;
18453 PyObject * obj0 = 0 ;
18454 char *kwnames[] = {
18455 (char *) "self", NULL
18456 };
18457
18458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",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 = (int)(arg1)->GetDuplex();
18464
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 resultobj = SWIG_From_int((int)result);
18469 return resultobj;
18470 fail:
18471 return NULL;
18472 }
18473
18474
18475 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxPrintData *arg1 = (wxPrintData *) 0 ;
18478 int result;
18479 PyObject * obj0 = 0 ;
18480 char *kwnames[] = {
18481 (char *) "self", NULL
18482 };
18483
18484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18487 {
18488 PyThreadState* __tstate = wxPyBeginAllowThreads();
18489 result = (int)(arg1)->GetPaperId();
18490
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 resultobj = SWIG_From_int((int)result);
18495 return resultobj;
18496 fail:
18497 return NULL;
18498 }
18499
18500
18501 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18502 PyObject *resultobj;
18503 wxPrintData *arg1 = (wxPrintData *) 0 ;
18504 wxSize *result;
18505 PyObject * obj0 = 0 ;
18506 char *kwnames[] = {
18507 (char *) "self", NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
18515 {
18516 wxSize const &_result_ref = (arg1)->GetPaperSize();
18517 result = (wxSize *) &_result_ref;
18518 }
18519
18520 wxPyEndAllowThreads(__tstate);
18521 if (PyErr_Occurred()) SWIG_fail;
18522 }
18523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 wxPrintData *arg1 = (wxPrintData *) 0 ;
18533 int result;
18534 PyObject * obj0 = 0 ;
18535 char *kwnames[] = {
18536 (char *) "self", NULL
18537 };
18538
18539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (int)(arg1)->GetQuality();
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 resultobj = SWIG_From_int((int)result);
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18557 PyObject *resultobj;
18558 wxPrintData *arg1 = (wxPrintData *) 0 ;
18559 int result;
18560 PyObject * obj0 = 0 ;
18561 char *kwnames[] = {
18562 (char *) "self", NULL
18563 };
18564
18565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 result = (int)(arg1)->GetBin();
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 resultobj = SWIG_From_int((int)result);
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxPrintData *arg1 = (wxPrintData *) 0 ;
18585 int arg2 ;
18586 PyObject * obj0 = 0 ;
18587 PyObject * obj1 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "self",(char *) "v", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18595 arg2 = (int)SWIG_As_int(obj1);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 (arg1)->SetNoCopies(arg2);
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 Py_INCREF(Py_None); resultobj = Py_None;
18605 return resultobj;
18606 fail:
18607 return NULL;
18608 }
18609
18610
18611 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18612 PyObject *resultobj;
18613 wxPrintData *arg1 = (wxPrintData *) 0 ;
18614 bool arg2 ;
18615 PyObject * obj0 = 0 ;
18616 PyObject * obj1 = 0 ;
18617 char *kwnames[] = {
18618 (char *) "self",(char *) "flag", NULL
18619 };
18620
18621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18624 arg2 = (bool)SWIG_As_bool(obj1);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 {
18627 PyThreadState* __tstate = wxPyBeginAllowThreads();
18628 (arg1)->SetCollate(arg2);
18629
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 Py_INCREF(Py_None); resultobj = Py_None;
18634 return resultobj;
18635 fail:
18636 return NULL;
18637 }
18638
18639
18640 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj;
18642 wxPrintData *arg1 = (wxPrintData *) 0 ;
18643 int arg2 ;
18644 PyObject * obj0 = 0 ;
18645 PyObject * obj1 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self",(char *) "orient", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18653 arg2 = (int)SWIG_As_int(obj1);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 (arg1)->SetOrientation(arg2);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 Py_INCREF(Py_None); resultobj = Py_None;
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxPrintData *arg1 = (wxPrintData *) 0 ;
18672 wxString *arg2 = 0 ;
18673 bool temp2 = false ;
18674 PyObject * obj0 = 0 ;
18675 PyObject * obj1 = 0 ;
18676 char *kwnames[] = {
18677 (char *) "self",(char *) "name", NULL
18678 };
18679
18680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18683 {
18684 arg2 = wxString_in_helper(obj1);
18685 if (arg2 == NULL) SWIG_fail;
18686 temp2 = true;
18687 }
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 (arg1)->SetPrinterName((wxString const &)*arg2);
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 Py_INCREF(Py_None); resultobj = Py_None;
18696 {
18697 if (temp2)
18698 delete arg2;
18699 }
18700 return resultobj;
18701 fail:
18702 {
18703 if (temp2)
18704 delete arg2;
18705 }
18706 return NULL;
18707 }
18708
18709
18710 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18711 PyObject *resultobj;
18712 wxPrintData *arg1 = (wxPrintData *) 0 ;
18713 bool arg2 ;
18714 PyObject * obj0 = 0 ;
18715 PyObject * obj1 = 0 ;
18716 char *kwnames[] = {
18717 (char *) "self",(char *) "colour", NULL
18718 };
18719
18720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18723 arg2 = (bool)SWIG_As_bool(obj1);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
18727 (arg1)->SetColour(arg2);
18728
18729 wxPyEndAllowThreads(__tstate);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
18732 Py_INCREF(Py_None); resultobj = Py_None;
18733 return resultobj;
18734 fail:
18735 return NULL;
18736 }
18737
18738
18739 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18740 PyObject *resultobj;
18741 wxPrintData *arg1 = (wxPrintData *) 0 ;
18742 int arg2 ;
18743 PyObject * obj0 = 0 ;
18744 PyObject * obj1 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self",(char *) "duplex", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18752 arg2 = (int)SWIG_As_int(obj1);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 {
18755 PyThreadState* __tstate = wxPyBeginAllowThreads();
18756 (arg1)->SetDuplex((wxDuplexMode )arg2);
18757
18758 wxPyEndAllowThreads(__tstate);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 }
18761 Py_INCREF(Py_None); resultobj = Py_None;
18762 return resultobj;
18763 fail:
18764 return NULL;
18765 }
18766
18767
18768 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18769 PyObject *resultobj;
18770 wxPrintData *arg1 = (wxPrintData *) 0 ;
18771 int arg2 ;
18772 PyObject * obj0 = 0 ;
18773 PyObject * obj1 = 0 ;
18774 char *kwnames[] = {
18775 (char *) "self",(char *) "sizeId", NULL
18776 };
18777
18778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18781 arg2 = (int)SWIG_As_int(obj1);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 (arg1)->SetPaperId((wxPaperSize )arg2);
18786
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 Py_INCREF(Py_None); resultobj = Py_None;
18791 return resultobj;
18792 fail:
18793 return NULL;
18794 }
18795
18796
18797 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18798 PyObject *resultobj;
18799 wxPrintData *arg1 = (wxPrintData *) 0 ;
18800 wxSize *arg2 = 0 ;
18801 wxSize temp2 ;
18802 PyObject * obj0 = 0 ;
18803 PyObject * obj1 = 0 ;
18804 char *kwnames[] = {
18805 (char *) "self",(char *) "sz", NULL
18806 };
18807
18808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18811 {
18812 arg2 = &temp2;
18813 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18814 }
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 (arg1)->SetPaperSize((wxSize const &)*arg2);
18818
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 Py_INCREF(Py_None); resultobj = Py_None;
18823 return resultobj;
18824 fail:
18825 return NULL;
18826 }
18827
18828
18829 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18830 PyObject *resultobj;
18831 wxPrintData *arg1 = (wxPrintData *) 0 ;
18832 int arg2 ;
18833 PyObject * obj0 = 0 ;
18834 PyObject * obj1 = 0 ;
18835 char *kwnames[] = {
18836 (char *) "self",(char *) "quality", NULL
18837 };
18838
18839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18842 arg2 = (int)SWIG_As_int(obj1);
18843 if (PyErr_Occurred()) SWIG_fail;
18844 {
18845 PyThreadState* __tstate = wxPyBeginAllowThreads();
18846 (arg1)->SetQuality(arg2);
18847
18848 wxPyEndAllowThreads(__tstate);
18849 if (PyErr_Occurred()) SWIG_fail;
18850 }
18851 Py_INCREF(Py_None); resultobj = Py_None;
18852 return resultobj;
18853 fail:
18854 return NULL;
18855 }
18856
18857
18858 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18859 PyObject *resultobj;
18860 wxPrintData *arg1 = (wxPrintData *) 0 ;
18861 int arg2 ;
18862 PyObject * obj0 = 0 ;
18863 PyObject * obj1 = 0 ;
18864 char *kwnames[] = {
18865 (char *) "self",(char *) "bin", NULL
18866 };
18867
18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
18869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18871 arg2 = (int)SWIG_As_int(obj1);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 {
18874 PyThreadState* __tstate = wxPyBeginAllowThreads();
18875 (arg1)->SetBin((wxPrintBin )arg2);
18876
18877 wxPyEndAllowThreads(__tstate);
18878 if (PyErr_Occurred()) SWIG_fail;
18879 }
18880 Py_INCREF(Py_None); resultobj = Py_None;
18881 return resultobj;
18882 fail:
18883 return NULL;
18884 }
18885
18886
18887 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18888 PyObject *resultobj;
18889 wxPrintData *arg1 = (wxPrintData *) 0 ;
18890 wxString *result;
18891 PyObject * obj0 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18899 {
18900 PyThreadState* __tstate = wxPyBeginAllowThreads();
18901 {
18902 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18903 result = (wxString *) &_result_ref;
18904 }
18905
18906 wxPyEndAllowThreads(__tstate);
18907 if (PyErr_Occurred()) SWIG_fail;
18908 }
18909 {
18910 #if wxUSE_UNICODE
18911 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18912 #else
18913 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18914 #endif
18915 }
18916 return resultobj;
18917 fail:
18918 return NULL;
18919 }
18920
18921
18922 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18923 PyObject *resultobj;
18924 wxPrintData *arg1 = (wxPrintData *) 0 ;
18925 wxString *result;
18926 PyObject * obj0 = 0 ;
18927 char *kwnames[] = {
18928 (char *) "self", NULL
18929 };
18930
18931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18934 {
18935 PyThreadState* __tstate = wxPyBeginAllowThreads();
18936 {
18937 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18938 result = (wxString *) &_result_ref;
18939 }
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 {
18945 #if wxUSE_UNICODE
18946 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18947 #else
18948 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18949 #endif
18950 }
18951 return resultobj;
18952 fail:
18953 return NULL;
18954 }
18955
18956
18957 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18958 PyObject *resultobj;
18959 wxPrintData *arg1 = (wxPrintData *) 0 ;
18960 wxString *result;
18961 PyObject * obj0 = 0 ;
18962 char *kwnames[] = {
18963 (char *) "self", NULL
18964 };
18965
18966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 {
18972 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18973 result = (wxString *) &_result_ref;
18974 }
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 {
18980 #if wxUSE_UNICODE
18981 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18982 #else
18983 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18984 #endif
18985 }
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxPrintData *arg1 = (wxPrintData *) 0 ;
18995 wxString *result;
18996 PyObject * obj0 = 0 ;
18997 char *kwnames[] = {
18998 (char *) "self", NULL
18999 };
19000
19001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 {
19007 wxString const &_result_ref = (arg1)->GetFilename();
19008 result = (wxString *) &_result_ref;
19009 }
19010
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 {
19015 #if wxUSE_UNICODE
19016 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19017 #else
19018 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19019 #endif
19020 }
19021 return resultobj;
19022 fail:
19023 return NULL;
19024 }
19025
19026
19027 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19028 PyObject *resultobj;
19029 wxPrintData *arg1 = (wxPrintData *) 0 ;
19030 wxString *result;
19031 PyObject * obj0 = 0 ;
19032 char *kwnames[] = {
19033 (char *) "self", NULL
19034 };
19035
19036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 {
19042 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19043 result = (wxString *) &_result_ref;
19044 }
19045
19046 wxPyEndAllowThreads(__tstate);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 {
19050 #if wxUSE_UNICODE
19051 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19052 #else
19053 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19054 #endif
19055 }
19056 return resultobj;
19057 fail:
19058 return NULL;
19059 }
19060
19061
19062 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj;
19064 wxPrintData *arg1 = (wxPrintData *) 0 ;
19065 double result;
19066 PyObject * obj0 = 0 ;
19067 char *kwnames[] = {
19068 (char *) "self", NULL
19069 };
19070
19071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
19076 result = (double)(arg1)->GetPrinterScaleX();
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 resultobj = SWIG_From_double((double)result);
19082 return resultobj;
19083 fail:
19084 return NULL;
19085 }
19086
19087
19088 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 wxPrintData *arg1 = (wxPrintData *) 0 ;
19091 double result;
19092 PyObject * obj0 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (double)(arg1)->GetPrinterScaleY();
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 resultobj = SWIG_From_double((double)result);
19108 return resultobj;
19109 fail:
19110 return NULL;
19111 }
19112
19113
19114 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19115 PyObject *resultobj;
19116 wxPrintData *arg1 = (wxPrintData *) 0 ;
19117 long result;
19118 PyObject * obj0 = 0 ;
19119 char *kwnames[] = {
19120 (char *) "self", NULL
19121 };
19122
19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 result = (long)(arg1)->GetPrinterTranslateX();
19129
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 resultobj = SWIG_From_long((long)result);
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxPrintData *arg1 = (wxPrintData *) 0 ;
19143 long result;
19144 PyObject * obj0 = 0 ;
19145 char *kwnames[] = {
19146 (char *) "self", NULL
19147 };
19148
19149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19152 {
19153 PyThreadState* __tstate = wxPyBeginAllowThreads();
19154 result = (long)(arg1)->GetPrinterTranslateY();
19155
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 resultobj = SWIG_From_long((long)result);
19160 return resultobj;
19161 fail:
19162 return NULL;
19163 }
19164
19165
19166 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19167 PyObject *resultobj;
19168 wxPrintData *arg1 = (wxPrintData *) 0 ;
19169 int result;
19170 PyObject * obj0 = 0 ;
19171 char *kwnames[] = {
19172 (char *) "self", NULL
19173 };
19174
19175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 result = (int)(arg1)->GetPrintMode();
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 resultobj = SWIG_From_int((int)result);
19186 return resultobj;
19187 fail:
19188 return NULL;
19189 }
19190
19191
19192 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxPrintData *arg1 = (wxPrintData *) 0 ;
19195 wxString *arg2 = 0 ;
19196 bool temp2 = false ;
19197 PyObject * obj0 = 0 ;
19198 PyObject * obj1 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "self",(char *) "command", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19206 {
19207 arg2 = wxString_in_helper(obj1);
19208 if (arg2 == NULL) SWIG_fail;
19209 temp2 = true;
19210 }
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 Py_INCREF(Py_None); resultobj = Py_None;
19219 {
19220 if (temp2)
19221 delete arg2;
19222 }
19223 return resultobj;
19224 fail:
19225 {
19226 if (temp2)
19227 delete arg2;
19228 }
19229 return NULL;
19230 }
19231
19232
19233 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19234 PyObject *resultobj;
19235 wxPrintData *arg1 = (wxPrintData *) 0 ;
19236 wxString *arg2 = 0 ;
19237 bool temp2 = false ;
19238 PyObject * obj0 = 0 ;
19239 PyObject * obj1 = 0 ;
19240 char *kwnames[] = {
19241 (char *) "self",(char *) "options", NULL
19242 };
19243
19244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19247 {
19248 arg2 = wxString_in_helper(obj1);
19249 if (arg2 == NULL) SWIG_fail;
19250 temp2 = true;
19251 }
19252 {
19253 PyThreadState* __tstate = wxPyBeginAllowThreads();
19254 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19255
19256 wxPyEndAllowThreads(__tstate);
19257 if (PyErr_Occurred()) SWIG_fail;
19258 }
19259 Py_INCREF(Py_None); resultobj = Py_None;
19260 {
19261 if (temp2)
19262 delete arg2;
19263 }
19264 return resultobj;
19265 fail:
19266 {
19267 if (temp2)
19268 delete arg2;
19269 }
19270 return NULL;
19271 }
19272
19273
19274 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19275 PyObject *resultobj;
19276 wxPrintData *arg1 = (wxPrintData *) 0 ;
19277 wxString *arg2 = 0 ;
19278 bool temp2 = false ;
19279 PyObject * obj0 = 0 ;
19280 PyObject * obj1 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self",(char *) "command", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19288 {
19289 arg2 = wxString_in_helper(obj1);
19290 if (arg2 == NULL) SWIG_fail;
19291 temp2 = true;
19292 }
19293 {
19294 PyThreadState* __tstate = wxPyBeginAllowThreads();
19295 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19296
19297 wxPyEndAllowThreads(__tstate);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 }
19300 Py_INCREF(Py_None); resultobj = Py_None;
19301 {
19302 if (temp2)
19303 delete arg2;
19304 }
19305 return resultobj;
19306 fail:
19307 {
19308 if (temp2)
19309 delete arg2;
19310 }
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxPrintData *arg1 = (wxPrintData *) 0 ;
19318 wxString *arg2 = 0 ;
19319 bool temp2 = false ;
19320 PyObject * obj0 = 0 ;
19321 PyObject * obj1 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "self",(char *) "filename", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19329 {
19330 arg2 = wxString_in_helper(obj1);
19331 if (arg2 == NULL) SWIG_fail;
19332 temp2 = true;
19333 }
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 (arg1)->SetFilename((wxString const &)*arg2);
19337
19338 wxPyEndAllowThreads(__tstate);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 }
19341 Py_INCREF(Py_None); resultobj = Py_None;
19342 {
19343 if (temp2)
19344 delete arg2;
19345 }
19346 return resultobj;
19347 fail:
19348 {
19349 if (temp2)
19350 delete arg2;
19351 }
19352 return NULL;
19353 }
19354
19355
19356 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19357 PyObject *resultobj;
19358 wxPrintData *arg1 = (wxPrintData *) 0 ;
19359 wxString *arg2 = 0 ;
19360 bool temp2 = false ;
19361 PyObject * obj0 = 0 ;
19362 PyObject * obj1 = 0 ;
19363 char *kwnames[] = {
19364 (char *) "self",(char *) "path", NULL
19365 };
19366
19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19370 {
19371 arg2 = wxString_in_helper(obj1);
19372 if (arg2 == NULL) SWIG_fail;
19373 temp2 = true;
19374 }
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 Py_INCREF(Py_None); resultobj = Py_None;
19383 {
19384 if (temp2)
19385 delete arg2;
19386 }
19387 return resultobj;
19388 fail:
19389 {
19390 if (temp2)
19391 delete arg2;
19392 }
19393 return NULL;
19394 }
19395
19396
19397 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj;
19399 wxPrintData *arg1 = (wxPrintData *) 0 ;
19400 double arg2 ;
19401 PyObject * obj0 = 0 ;
19402 PyObject * obj1 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self",(char *) "x", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19410 arg2 = (double)SWIG_As_double(obj1);
19411 if (PyErr_Occurred()) SWIG_fail;
19412 {
19413 PyThreadState* __tstate = wxPyBeginAllowThreads();
19414 (arg1)->SetPrinterScaleX(arg2);
19415
19416 wxPyEndAllowThreads(__tstate);
19417 if (PyErr_Occurred()) SWIG_fail;
19418 }
19419 Py_INCREF(Py_None); resultobj = Py_None;
19420 return resultobj;
19421 fail:
19422 return NULL;
19423 }
19424
19425
19426 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19427 PyObject *resultobj;
19428 wxPrintData *arg1 = (wxPrintData *) 0 ;
19429 double arg2 ;
19430 PyObject * obj0 = 0 ;
19431 PyObject * obj1 = 0 ;
19432 char *kwnames[] = {
19433 (char *) "self",(char *) "y", NULL
19434 };
19435
19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19439 arg2 = (double)SWIG_As_double(obj1);
19440 if (PyErr_Occurred()) SWIG_fail;
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 (arg1)->SetPrinterScaleY(arg2);
19444
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 Py_INCREF(Py_None); resultobj = Py_None;
19449 return resultobj;
19450 fail:
19451 return NULL;
19452 }
19453
19454
19455 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj;
19457 wxPrintData *arg1 = (wxPrintData *) 0 ;
19458 double arg2 ;
19459 double arg3 ;
19460 PyObject * obj0 = 0 ;
19461 PyObject * obj1 = 0 ;
19462 PyObject * obj2 = 0 ;
19463 char *kwnames[] = {
19464 (char *) "self",(char *) "x",(char *) "y", NULL
19465 };
19466
19467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19470 arg2 = (double)SWIG_As_double(obj1);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 arg3 = (double)SWIG_As_double(obj2);
19473 if (PyErr_Occurred()) SWIG_fail;
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 (arg1)->SetPrinterScaling(arg2,arg3);
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 Py_INCREF(Py_None); resultobj = Py_None;
19482 return resultobj;
19483 fail:
19484 return NULL;
19485 }
19486
19487
19488 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19489 PyObject *resultobj;
19490 wxPrintData *arg1 = (wxPrintData *) 0 ;
19491 long arg2 ;
19492 PyObject * obj0 = 0 ;
19493 PyObject * obj1 = 0 ;
19494 char *kwnames[] = {
19495 (char *) "self",(char *) "x", NULL
19496 };
19497
19498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19501 arg2 = (long)SWIG_As_long(obj1);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 (arg1)->SetPrinterTranslateX(arg2);
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 Py_INCREF(Py_None); resultobj = Py_None;
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxPrintData *arg1 = (wxPrintData *) 0 ;
19520 long arg2 ;
19521 PyObject * obj0 = 0 ;
19522 PyObject * obj1 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self",(char *) "y", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19530 arg2 = (long)SWIG_As_long(obj1);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 (arg1)->SetPrinterTranslateY(arg2);
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 Py_INCREF(Py_None); resultobj = Py_None;
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxPrintData *arg1 = (wxPrintData *) 0 ;
19549 long arg2 ;
19550 long arg3 ;
19551 PyObject * obj0 = 0 ;
19552 PyObject * obj1 = 0 ;
19553 PyObject * obj2 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self",(char *) "x",(char *) "y", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19561 arg2 = (long)SWIG_As_long(obj1);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 arg3 = (long)SWIG_As_long(obj2);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 {
19566 PyThreadState* __tstate = wxPyBeginAllowThreads();
19567 (arg1)->SetPrinterTranslation(arg2,arg3);
19568
19569 wxPyEndAllowThreads(__tstate);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
19572 Py_INCREF(Py_None); resultobj = Py_None;
19573 return resultobj;
19574 fail:
19575 return NULL;
19576 }
19577
19578
19579 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19580 PyObject *resultobj;
19581 wxPrintData *arg1 = (wxPrintData *) 0 ;
19582 int arg2 ;
19583 PyObject * obj0 = 0 ;
19584 PyObject * obj1 = 0 ;
19585 char *kwnames[] = {
19586 (char *) "self",(char *) "printMode", NULL
19587 };
19588
19589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19592 arg2 = (int)SWIG_As_int(obj1);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 {
19595 PyThreadState* __tstate = wxPyBeginAllowThreads();
19596 (arg1)->SetPrintMode((wxPrintMode )arg2);
19597
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 Py_INCREF(Py_None); resultobj = Py_None;
19602 return resultobj;
19603 fail:
19604 return NULL;
19605 }
19606
19607
19608 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19609 PyObject *resultobj;
19610 wxPrintData *arg1 = (wxPrintData *) 0 ;
19611 wxOutputStream *result;
19612 PyObject * obj0 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 result = (wxOutputStream *)(arg1)->GetOutputStream();
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19628 return resultobj;
19629 fail:
19630 return NULL;
19631 }
19632
19633
19634 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19635 PyObject *resultobj;
19636 wxPrintData *arg1 = (wxPrintData *) 0 ;
19637 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19638 PyObject * obj0 = 0 ;
19639 PyObject * obj1 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self",(char *) "outputstream", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 (arg1)->SetOutputStream(arg2);
19652
19653 wxPyEndAllowThreads(__tstate);
19654 if (PyErr_Occurred()) SWIG_fail;
19655 }
19656 Py_INCREF(Py_None); resultobj = Py_None;
19657 return resultobj;
19658 fail:
19659 return NULL;
19660 }
19661
19662
19663 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19664 PyObject *obj;
19665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19666 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19667 Py_INCREF(obj);
19668 return Py_BuildValue((char *)"");
19669 }
19670 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19671 PyObject *resultobj;
19672 wxPageSetupDialogData *result;
19673
19674 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19690 PyObject *resultobj;
19691 wxPageSetupDialogData *arg1 = 0 ;
19692 wxPageSetupDialogData *result;
19693 PyObject * obj0 = 0 ;
19694
19695 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19697 SWIG_POINTER_EXCEPTION | 0)) == -1)
19698 SWIG_fail;
19699 if (arg1 == NULL) {
19700 PyErr_SetString(PyExc_TypeError,"null reference");
19701 SWIG_fail;
19702 }
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
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(PyObject *self, PyObject *args) {
19718 int argc;
19719 PyObject *argv[2];
19720 int ii;
19721
19722 argc = PyObject_Length(args);
19723 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19724 argv[ii] = PyTuple_GetItem(args,ii);
19725 }
19726 if (argc == 0) {
19727 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19728 }
19729 if (argc == 1) {
19730 int _v;
19731 {
19732 void *ptr;
19733 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19734 _v = 0;
19735 PyErr_Clear();
19736 } else {
19737 _v = 1;
19738 }
19739 }
19740 if (_v) {
19741 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19742 }
19743 }
19744
19745 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19753 PyObject * obj0 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 delete arg1;
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 Py_INCREF(Py_None); resultobj = Py_None;
19769 return resultobj;
19770 fail:
19771 return NULL;
19772 }
19773
19774
19775 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19776 PyObject *resultobj;
19777 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19778 bool arg2 ;
19779 PyObject * obj0 = 0 ;
19780 PyObject * obj1 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self",(char *) "flag", NULL
19783 };
19784
19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19788 arg2 = (bool)SWIG_As_bool(obj1);
19789 if (PyErr_Occurred()) SWIG_fail;
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 (arg1)->EnableHelp(arg2);
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 Py_INCREF(Py_None); resultobj = Py_None;
19798 return resultobj;
19799 fail:
19800 return NULL;
19801 }
19802
19803
19804 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj;
19806 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19807 bool arg2 ;
19808 PyObject * obj0 = 0 ;
19809 PyObject * obj1 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self",(char *) "flag", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19817 arg2 = (bool)SWIG_As_bool(obj1);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 (arg1)->EnableMargins(arg2);
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 Py_INCREF(Py_None); resultobj = Py_None;
19827 return resultobj;
19828 fail:
19829 return NULL;
19830 }
19831
19832
19833 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj;
19835 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19836 bool arg2 ;
19837 PyObject * obj0 = 0 ;
19838 PyObject * obj1 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self",(char *) "flag", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19846 arg2 = (bool)SWIG_As_bool(obj1);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 (arg1)->EnableOrientation(arg2);
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 Py_INCREF(Py_None); resultobj = Py_None;
19856 return resultobj;
19857 fail:
19858 return NULL;
19859 }
19860
19861
19862 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19863 PyObject *resultobj;
19864 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19865 bool arg2 ;
19866 PyObject * obj0 = 0 ;
19867 PyObject * obj1 = 0 ;
19868 char *kwnames[] = {
19869 (char *) "self",(char *) "flag", NULL
19870 };
19871
19872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19875 arg2 = (bool)SWIG_As_bool(obj1);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 {
19878 PyThreadState* __tstate = wxPyBeginAllowThreads();
19879 (arg1)->EnablePaper(arg2);
19880
19881 wxPyEndAllowThreads(__tstate);
19882 if (PyErr_Occurred()) SWIG_fail;
19883 }
19884 Py_INCREF(Py_None); resultobj = Py_None;
19885 return resultobj;
19886 fail:
19887 return NULL;
19888 }
19889
19890
19891 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19892 PyObject *resultobj;
19893 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19894 bool arg2 ;
19895 PyObject * obj0 = 0 ;
19896 PyObject * obj1 = 0 ;
19897 char *kwnames[] = {
19898 (char *) "self",(char *) "flag", NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19904 arg2 = (bool)SWIG_As_bool(obj1);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 (arg1)->EnablePrinter(arg2);
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 Py_INCREF(Py_None); resultobj = Py_None;
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19923 bool result;
19924 PyObject * obj0 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 result = (bool)(arg1)->GetDefaultMinMargins();
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 {
19940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19941 }
19942 return resultobj;
19943 fail:
19944 return NULL;
19945 }
19946
19947
19948 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(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_GetEnableMargins",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)->GetEnableMargins();
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_GetEnableOrientation(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_GetEnableOrientation",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)->GetEnableOrientation();
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_GetEnablePaper(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_GetEnablePaper",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)->GetEnablePaper();
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_GetEnablePrinter(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_GetEnablePrinter",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)->GetEnablePrinter();
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_GetEnableHelp(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_GetEnableHelp",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)->GetEnableHelp();
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_GetDefaultInfo(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_GetDefaultInfo",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)->GetDefaultInfo();
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_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20117 PyObject *resultobj;
20118 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20119 wxPoint result;
20120 PyObject * obj0 = 0 ;
20121 char *kwnames[] = {
20122 (char *) "self", NULL
20123 };
20124
20125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20128 {
20129 PyThreadState* __tstate = wxPyBeginAllowThreads();
20130 result = (arg1)->GetMarginTopLeft();
20131
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 {
20136 wxPoint * resultptr;
20137 resultptr = new wxPoint((wxPoint &) result);
20138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20139 }
20140 return resultobj;
20141 fail:
20142 return NULL;
20143 }
20144
20145
20146 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20147 PyObject *resultobj;
20148 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20149 wxPoint result;
20150 PyObject * obj0 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 result = (arg1)->GetMarginBottomRight();
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 {
20166 wxPoint * resultptr;
20167 resultptr = new wxPoint((wxPoint &) result);
20168 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20169 }
20170 return resultobj;
20171 fail:
20172 return NULL;
20173 }
20174
20175
20176 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20179 wxPoint result;
20180 PyObject * obj0 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (arg1)->GetMinMarginTopLeft();
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196 wxPoint * resultptr;
20197 resultptr = new wxPoint((wxPoint &) result);
20198 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20199 }
20200 return resultobj;
20201 fail:
20202 return NULL;
20203 }
20204
20205
20206 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj;
20208 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20209 wxPoint result;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 result = (arg1)->GetMinMarginBottomRight();
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 {
20226 wxPoint * resultptr;
20227 resultptr = new wxPoint((wxPoint &) result);
20228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20229 }
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20239 int result;
20240 PyObject * obj0 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (int)(arg1)->GetPaperId();
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 resultobj = SWIG_From_int((int)result);
20256 return resultobj;
20257 fail:
20258 return NULL;
20259 }
20260
20261
20262 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20265 wxSize result;
20266 PyObject * obj0 = 0 ;
20267 char *kwnames[] = {
20268 (char *) "self", NULL
20269 };
20270
20271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (arg1)->GetPaperSize();
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 {
20282 wxSize * resultptr;
20283 resultptr = new wxSize((wxSize &) result);
20284 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20285 }
20286 return resultobj;
20287 fail:
20288 return NULL;
20289 }
20290
20291
20292 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20293 PyObject *resultobj;
20294 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20295 wxPrintData *result;
20296 PyObject * obj0 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 {
20307 wxPrintData &_result_ref = (arg1)->GetPrintData();
20308 result = (wxPrintData *) &_result_ref;
20309 }
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20315 return resultobj;
20316 fail:
20317 return NULL;
20318 }
20319
20320
20321 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20322 PyObject *resultobj;
20323 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20324 bool result;
20325 PyObject * obj0 = 0 ;
20326 char *kwnames[] = {
20327 (char *) "self", NULL
20328 };
20329
20330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 result = (bool)(arg1)->Ok();
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 {
20341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20342 }
20343 return resultobj;
20344 fail:
20345 return NULL;
20346 }
20347
20348
20349 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20352 bool arg2 ;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self",(char *) "flag", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20362 arg2 = (bool)SWIG_As_bool(obj1);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 (arg1)->SetDefaultInfo(arg2);
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 Py_INCREF(Py_None); resultobj = Py_None;
20372 return resultobj;
20373 fail:
20374 return NULL;
20375 }
20376
20377
20378 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20379 PyObject *resultobj;
20380 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20381 bool arg2 ;
20382 PyObject * obj0 = 0 ;
20383 PyObject * obj1 = 0 ;
20384 char *kwnames[] = {
20385 (char *) "self",(char *) "flag", NULL
20386 };
20387
20388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20391 arg2 = (bool)SWIG_As_bool(obj1);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 (arg1)->SetDefaultMinMargins(arg2);
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 Py_INCREF(Py_None); resultobj = Py_None;
20401 return resultobj;
20402 fail:
20403 return NULL;
20404 }
20405
20406
20407 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20408 PyObject *resultobj;
20409 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20410 wxPoint *arg2 = 0 ;
20411 wxPoint temp2 ;
20412 PyObject * obj0 = 0 ;
20413 PyObject * obj1 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "self",(char *) "pt", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20421 {
20422 arg2 = &temp2;
20423 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20424 }
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 Py_INCREF(Py_None); resultobj = Py_None;
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20442 wxPoint *arg2 = 0 ;
20443 wxPoint temp2 ;
20444 PyObject * obj0 = 0 ;
20445 PyObject * obj1 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self",(char *) "pt", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20453 {
20454 arg2 = &temp2;
20455 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20456 }
20457 {
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
20459 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20460
20461 wxPyEndAllowThreads(__tstate);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 }
20464 Py_INCREF(Py_None); resultobj = Py_None;
20465 return resultobj;
20466 fail:
20467 return NULL;
20468 }
20469
20470
20471 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20472 PyObject *resultobj;
20473 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20474 wxPoint *arg2 = 0 ;
20475 wxPoint temp2 ;
20476 PyObject * obj0 = 0 ;
20477 PyObject * obj1 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self",(char *) "pt", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20485 {
20486 arg2 = &temp2;
20487 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20488 }
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 Py_INCREF(Py_None); resultobj = Py_None;
20497 return resultobj;
20498 fail:
20499 return NULL;
20500 }
20501
20502
20503 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20504 PyObject *resultobj;
20505 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20506 wxPoint *arg2 = 0 ;
20507 wxPoint temp2 ;
20508 PyObject * obj0 = 0 ;
20509 PyObject * obj1 = 0 ;
20510 char *kwnames[] = {
20511 (char *) "self",(char *) "pt", NULL
20512 };
20513
20514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20517 {
20518 arg2 = &temp2;
20519 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20520 }
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20524
20525 wxPyEndAllowThreads(__tstate);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 Py_INCREF(Py_None); resultobj = Py_None;
20529 return resultobj;
20530 fail:
20531 return NULL;
20532 }
20533
20534
20535 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj;
20537 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20538 int arg2 ;
20539 PyObject * obj0 = 0 ;
20540 PyObject * obj1 = 0 ;
20541 char *kwnames[] = {
20542 (char *) "self",(char *) "id", NULL
20543 };
20544
20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20548 arg2 = (int)SWIG_As_int(obj1);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 (arg1)->SetPaperId((wxPaperSize )arg2);
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 Py_INCREF(Py_None); resultobj = Py_None;
20558 return resultobj;
20559 fail:
20560 return NULL;
20561 }
20562
20563
20564 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20565 PyObject *resultobj;
20566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20567 wxSize *arg2 = 0 ;
20568 wxSize temp2 ;
20569 PyObject * obj0 = 0 ;
20570 PyObject * obj1 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self",(char *) "size", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20578 {
20579 arg2 = &temp2;
20580 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20581 }
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 (arg1)->SetPaperSize((wxSize const &)*arg2);
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 Py_INCREF(Py_None); resultobj = Py_None;
20590 return resultobj;
20591 fail:
20592 return NULL;
20593 }
20594
20595
20596 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20597 PyObject *resultobj;
20598 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20599 wxPrintData *arg2 = 0 ;
20600 PyObject * obj0 = 0 ;
20601 PyObject * obj1 = 0 ;
20602 char *kwnames[] = {
20603 (char *) "self",(char *) "printData", NULL
20604 };
20605
20606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20610 SWIG_POINTER_EXCEPTION | 0)) == -1)
20611 SWIG_fail;
20612 if (arg2 == NULL) {
20613 PyErr_SetString(PyExc_TypeError,"null reference");
20614 SWIG_fail;
20615 }
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 Py_INCREF(Py_None); resultobj = Py_None;
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20631 PyObject *obj;
20632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20633 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20634 Py_INCREF(obj);
20635 return Py_BuildValue((char *)"");
20636 }
20637 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxWindow *arg1 = (wxWindow *) 0 ;
20640 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20641 wxPageSetupDialog *result;
20642 PyObject * obj0 = 0 ;
20643 PyObject * obj1 = 0 ;
20644 char *kwnames[] = {
20645 (char *) "parent",(char *) "data", NULL
20646 };
20647
20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20651 if (obj1) {
20652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20654 }
20655 {
20656 if (!wxPyCheckForApp()) SWIG_fail;
20657 PyThreadState* __tstate = wxPyBeginAllowThreads();
20658 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20659
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20664 return resultobj;
20665 fail:
20666 return NULL;
20667 }
20668
20669
20670 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20673 wxPageSetupDialogData *result;
20674 PyObject * obj0 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "self", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 {
20685 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20686 result = (wxPageSetupDialogData *) &_result_ref;
20687 }
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20693 return resultobj;
20694 fail:
20695 return NULL;
20696 }
20697
20698
20699 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20700 PyObject *resultobj;
20701 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20702 int result;
20703 PyObject * obj0 = 0 ;
20704 char *kwnames[] = {
20705 (char *) "self", NULL
20706 };
20707
20708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 result = (int)(arg1)->ShowModal();
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 resultobj = SWIG_From_int((int)result);
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20726 PyObject *obj;
20727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20728 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20729 Py_INCREF(obj);
20730 return Py_BuildValue((char *)"");
20731 }
20732 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20733 PyObject *resultobj;
20734 wxPrintDialogData *result;
20735
20736 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 result = (wxPrintDialogData *)new wxPrintDialogData();
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20745 return resultobj;
20746 fail:
20747 return NULL;
20748 }
20749
20750
20751 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20752 PyObject *resultobj;
20753 wxPrintData *arg1 = 0 ;
20754 wxPrintDialogData *result;
20755 PyObject * obj0 = 0 ;
20756
20757 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20759 SWIG_POINTER_EXCEPTION | 0)) == -1)
20760 SWIG_fail;
20761 if (arg1 == NULL) {
20762 PyErr_SetString(PyExc_TypeError,"null reference");
20763 SWIG_fail;
20764 }
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
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(PyObject *self, PyObject *args) {
20780 int argc;
20781 PyObject *argv[2];
20782 int ii;
20783
20784 argc = PyObject_Length(args);
20785 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20786 argv[ii] = PyTuple_GetItem(args,ii);
20787 }
20788 if (argc == 0) {
20789 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20790 }
20791 if (argc == 1) {
20792 int _v;
20793 {
20794 void *ptr;
20795 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20796 _v = 0;
20797 PyErr_Clear();
20798 } else {
20799 _v = 1;
20800 }
20801 }
20802 if (_v) {
20803 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20804 }
20805 }
20806
20807 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20808 return NULL;
20809 }
20810
20811
20812 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20815 PyObject * obj0 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 delete arg1;
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 Py_INCREF(Py_None); resultobj = Py_None;
20831 return resultobj;
20832 fail:
20833 return NULL;
20834 }
20835
20836
20837 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj;
20839 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20840 int result;
20841 PyObject * obj0 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20852
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 resultobj = SWIG_From_int((int)result);
20857 return resultobj;
20858 fail:
20859 return NULL;
20860 }
20861
20862
20863 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20864 PyObject *resultobj;
20865 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20866 int result;
20867 PyObject * obj0 = 0 ;
20868 char *kwnames[] = {
20869 (char *) "self", NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 resultobj = SWIG_From_int((int)result);
20883 return resultobj;
20884 fail:
20885 return NULL;
20886 }
20887
20888
20889 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20892 int result;
20893 PyObject * obj0 = 0 ;
20894 char *kwnames[] = {
20895 (char *) "self", NULL
20896 };
20897
20898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20901 {
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20904
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 resultobj = SWIG_From_int((int)result);
20909 return resultobj;
20910 fail:
20911 return NULL;
20912 }
20913
20914
20915 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20916 PyObject *resultobj;
20917 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20918 int result;
20919 PyObject * obj0 = 0 ;
20920 char *kwnames[] = {
20921 (char *) "self", NULL
20922 };
20923
20924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20927 {
20928 PyThreadState* __tstate = wxPyBeginAllowThreads();
20929 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20930
20931 wxPyEndAllowThreads(__tstate);
20932 if (PyErr_Occurred()) SWIG_fail;
20933 }
20934 resultobj = SWIG_From_int((int)result);
20935 return resultobj;
20936 fail:
20937 return NULL;
20938 }
20939
20940
20941 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20942 PyObject *resultobj;
20943 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20944 int result;
20945 PyObject * obj0 = 0 ;
20946 char *kwnames[] = {
20947 (char *) "self", NULL
20948 };
20949
20950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 resultobj = SWIG_From_int((int)result);
20961 return resultobj;
20962 fail:
20963 return NULL;
20964 }
20965
20966
20967 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20968 PyObject *resultobj;
20969 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20970 bool result;
20971 PyObject * obj0 = 0 ;
20972 char *kwnames[] = {
20973 (char *) "self", NULL
20974 };
20975
20976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20979 {
20980 PyThreadState* __tstate = wxPyBeginAllowThreads();
20981 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 {
20987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20988 }
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 static PyObject *_wrap_PrintDialogData_GetSelection(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_GetSelection",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)->GetSelection();
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_GetCollate(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_GetCollate",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)->GetCollate();
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_GetPrintToFile(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_GetPrintToFile",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)->GetPrintToFile();
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_GetSetupDialog(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_GetSetupDialog",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)->GetSetupDialog();
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_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj;
21109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21110 int arg2 ;
21111 PyObject * obj0 = 0 ;
21112 PyObject * obj1 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self",(char *) "v", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21120 arg2 = (int)SWIG_As_int(obj1);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 (arg1)->SetFromPage(arg2);
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 Py_INCREF(Py_None); resultobj = Py_None;
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21139 int arg2 ;
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self",(char *) "v", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21149 arg2 = (int)SWIG_As_int(obj1);
21150 if (PyErr_Occurred()) SWIG_fail;
21151 {
21152 PyThreadState* __tstate = wxPyBeginAllowThreads();
21153 (arg1)->SetToPage(arg2);
21154
21155 wxPyEndAllowThreads(__tstate);
21156 if (PyErr_Occurred()) SWIG_fail;
21157 }
21158 Py_INCREF(Py_None); resultobj = Py_None;
21159 return resultobj;
21160 fail:
21161 return NULL;
21162 }
21163
21164
21165 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21166 PyObject *resultobj;
21167 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21168 int arg2 ;
21169 PyObject * obj0 = 0 ;
21170 PyObject * obj1 = 0 ;
21171 char *kwnames[] = {
21172 (char *) "self",(char *) "v", NULL
21173 };
21174
21175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21178 arg2 = (int)SWIG_As_int(obj1);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 (arg1)->SetMinPage(arg2);
21183
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 Py_INCREF(Py_None); resultobj = Py_None;
21188 return resultobj;
21189 fail:
21190 return NULL;
21191 }
21192
21193
21194 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21195 PyObject *resultobj;
21196 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21197 int arg2 ;
21198 PyObject * obj0 = 0 ;
21199 PyObject * obj1 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self",(char *) "v", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21207 arg2 = (int)SWIG_As_int(obj1);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 {
21210 PyThreadState* __tstate = wxPyBeginAllowThreads();
21211 (arg1)->SetMaxPage(arg2);
21212
21213 wxPyEndAllowThreads(__tstate);
21214 if (PyErr_Occurred()) SWIG_fail;
21215 }
21216 Py_INCREF(Py_None); resultobj = Py_None;
21217 return resultobj;
21218 fail:
21219 return NULL;
21220 }
21221
21222
21223 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21224 PyObject *resultobj;
21225 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21226 int arg2 ;
21227 PyObject * obj0 = 0 ;
21228 PyObject * obj1 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self",(char *) "v", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21236 arg2 = (int)SWIG_As_int(obj1);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 (arg1)->SetNoCopies(arg2);
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 Py_INCREF(Py_None); resultobj = Py_None;
21246 return resultobj;
21247 fail:
21248 return NULL;
21249 }
21250
21251
21252 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj;
21254 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21255 bool arg2 ;
21256 PyObject * obj0 = 0 ;
21257 PyObject * obj1 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "flag", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21265 arg2 = (bool)SWIG_As_bool(obj1);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 {
21268 PyThreadState* __tstate = wxPyBeginAllowThreads();
21269 (arg1)->SetAllPages(arg2);
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 Py_INCREF(Py_None); resultobj = Py_None;
21275 return resultobj;
21276 fail:
21277 return NULL;
21278 }
21279
21280
21281 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21282 PyObject *resultobj;
21283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21284 bool arg2 ;
21285 PyObject * obj0 = 0 ;
21286 PyObject * obj1 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self",(char *) "flag", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21294 arg2 = (bool)SWIG_As_bool(obj1);
21295 if (PyErr_Occurred()) SWIG_fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 (arg1)->SetSelection(arg2);
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 Py_INCREF(Py_None); resultobj = Py_None;
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21313 bool arg2 ;
21314 PyObject * obj0 = 0 ;
21315 PyObject * obj1 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self",(char *) "flag", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 arg2 = (bool)SWIG_As_bool(obj1);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 (arg1)->SetCollate(arg2);
21328
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 Py_INCREF(Py_None); resultobj = Py_None;
21333 return resultobj;
21334 fail:
21335 return NULL;
21336 }
21337
21338
21339 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21340 PyObject *resultobj;
21341 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21342 bool arg2 ;
21343 PyObject * obj0 = 0 ;
21344 PyObject * obj1 = 0 ;
21345 char *kwnames[] = {
21346 (char *) "self",(char *) "flag", NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21352 arg2 = (bool)SWIG_As_bool(obj1);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 (arg1)->SetPrintToFile(arg2);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 Py_INCREF(Py_None); resultobj = Py_None;
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21371 bool arg2 ;
21372 PyObject * obj0 = 0 ;
21373 PyObject * obj1 = 0 ;
21374 char *kwnames[] = {
21375 (char *) "self",(char *) "flag", NULL
21376 };
21377
21378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21381 arg2 = (bool)SWIG_As_bool(obj1);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 (arg1)->SetSetupDialog(arg2);
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 Py_INCREF(Py_None); resultobj = Py_None;
21391 return resultobj;
21392 fail:
21393 return NULL;
21394 }
21395
21396
21397 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21398 PyObject *resultobj;
21399 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21400 bool arg2 ;
21401 PyObject * obj0 = 0 ;
21402 PyObject * obj1 = 0 ;
21403 char *kwnames[] = {
21404 (char *) "self",(char *) "flag", NULL
21405 };
21406
21407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21410 arg2 = (bool)SWIG_As_bool(obj1);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 (arg1)->EnablePrintToFile(arg2);
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 Py_INCREF(Py_None); resultobj = Py_None;
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj;
21428 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21429 bool arg2 ;
21430 PyObject * obj0 = 0 ;
21431 PyObject * obj1 = 0 ;
21432 char *kwnames[] = {
21433 (char *) "self",(char *) "flag", NULL
21434 };
21435
21436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21439 arg2 = (bool)SWIG_As_bool(obj1);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 (arg1)->EnableSelection(arg2);
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 Py_INCREF(Py_None); resultobj = Py_None;
21449 return resultobj;
21450 fail:
21451 return NULL;
21452 }
21453
21454
21455 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj;
21457 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21458 bool arg2 ;
21459 PyObject * obj0 = 0 ;
21460 PyObject * obj1 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self",(char *) "flag", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21468 arg2 = (bool)SWIG_As_bool(obj1);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 (arg1)->EnablePageNumbers(arg2);
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 Py_INCREF(Py_None); resultobj = Py_None;
21478 return resultobj;
21479 fail:
21480 return NULL;
21481 }
21482
21483
21484 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21485 PyObject *resultobj;
21486 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21487 bool arg2 ;
21488 PyObject * obj0 = 0 ;
21489 PyObject * obj1 = 0 ;
21490 char *kwnames[] = {
21491 (char *) "self",(char *) "flag", NULL
21492 };
21493
21494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21497 arg2 = (bool)SWIG_As_bool(obj1);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 (arg1)->EnableHelp(arg2);
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 Py_INCREF(Py_None); resultobj = Py_None;
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21516 bool result;
21517 PyObject * obj0 = 0 ;
21518 char *kwnames[] = {
21519 (char *) "self", NULL
21520 };
21521
21522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 {
21533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21534 }
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 static PyObject *_wrap_PrintDialogData_GetEnableSelection(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_GetEnableSelection",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)->GetEnableSelection();
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_GetEnablePageNumbers(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_GetEnablePageNumbers",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)->GetEnablePageNumbers();
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_GetEnableHelp(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_GetEnableHelp",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)->GetEnableHelp();
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_Ok(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_Ok",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)->Ok();
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_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj;
21655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21656 wxPrintData *result;
21657 PyObject * obj0 = 0 ;
21658 char *kwnames[] = {
21659 (char *) "self", NULL
21660 };
21661
21662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",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 {
21668 wxPrintData &_result_ref = (arg1)->GetPrintData();
21669 result = (wxPrintData *) &_result_ref;
21670 }
21671
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj;
21684 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21685 wxPrintData *arg2 = 0 ;
21686 PyObject * obj0 = 0 ;
21687 PyObject * obj1 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self",(char *) "printData", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21696 SWIG_POINTER_EXCEPTION | 0)) == -1)
21697 SWIG_fail;
21698 if (arg2 == NULL) {
21699 PyErr_SetString(PyExc_TypeError,"null reference");
21700 SWIG_fail;
21701 }
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 Py_INCREF(Py_None); resultobj = Py_None;
21710 return resultobj;
21711 fail:
21712 return NULL;
21713 }
21714
21715
21716 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21717 PyObject *obj;
21718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21719 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21720 Py_INCREF(obj);
21721 return Py_BuildValue((char *)"");
21722 }
21723 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21724 PyObject *resultobj;
21725 wxWindow *arg1 = (wxWindow *) 0 ;
21726 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21727 wxPrintDialog *result;
21728 PyObject * obj0 = 0 ;
21729 PyObject * obj1 = 0 ;
21730 char *kwnames[] = {
21731 (char *) "parent",(char *) "data", NULL
21732 };
21733
21734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21737 if (obj1) {
21738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21740 }
21741 {
21742 if (!wxPyCheckForApp()) SWIG_fail;
21743 PyThreadState* __tstate = wxPyBeginAllowThreads();
21744 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21745
21746 wxPyEndAllowThreads(__tstate);
21747 if (PyErr_Occurred()) SWIG_fail;
21748 }
21749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21750 return resultobj;
21751 fail:
21752 return NULL;
21753 }
21754
21755
21756 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21757 PyObject *resultobj;
21758 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21759 wxPrintDialogData *result;
21760 PyObject * obj0 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 {
21771 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21772 result = (wxPrintDialogData *) &_result_ref;
21773 }
21774
21775 wxPyEndAllowThreads(__tstate);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 }
21778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21779 return resultobj;
21780 fail:
21781 return NULL;
21782 }
21783
21784
21785 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
21786 PyObject *resultobj;
21787 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21788 wxDC *result;
21789 PyObject * obj0 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "self", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 result = (wxDC *)(arg1)->GetPrintDC();
21800
21801 wxPyEndAllowThreads(__tstate);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 {
21805 resultobj = wxPyMake_wxObject(result, 1);
21806 }
21807 return resultobj;
21808 fail:
21809 return NULL;
21810 }
21811
21812
21813 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21816 int result;
21817 PyObject * obj0 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",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 = (int)(arg1)->ShowModal();
21828
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 resultobj = SWIG_From_int((int)result);
21833 return resultobj;
21834 fail:
21835 return NULL;
21836 }
21837
21838
21839 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
21840 PyObject *obj;
21841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21842 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21843 Py_INCREF(obj);
21844 return Py_BuildValue((char *)"");
21845 }
21846 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj;
21848 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21849 wxPrinter *result;
21850 PyObject * obj0 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "data", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21856 if (obj0) {
21857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21859 }
21860 {
21861 if (!wxPyCheckForApp()) SWIG_fail;
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 result = (wxPrinter *)new wxPrinter(arg1);
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21869 return resultobj;
21870 fail:
21871 return NULL;
21872 }
21873
21874
21875 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj;
21877 wxPrinter *arg1 = (wxPrinter *) 0 ;
21878 PyObject * obj0 = 0 ;
21879 char *kwnames[] = {
21880 (char *) "self", NULL
21881 };
21882
21883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21886 {
21887 PyThreadState* __tstate = wxPyBeginAllowThreads();
21888 delete arg1;
21889
21890 wxPyEndAllowThreads(__tstate);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 Py_INCREF(Py_None); resultobj = Py_None;
21894 return resultobj;
21895 fail:
21896 return NULL;
21897 }
21898
21899
21900 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj;
21902 wxPrinter *arg1 = (wxPrinter *) 0 ;
21903 wxWindow *arg2 = (wxWindow *) 0 ;
21904 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21905 PyObject * obj0 = 0 ;
21906 PyObject * obj1 = 0 ;
21907 PyObject * obj2 = 0 ;
21908 char *kwnames[] = {
21909 (char *) "self",(char *) "parent",(char *) "printout", NULL
21910 };
21911
21912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21917 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 (arg1)->CreateAbortWindow(arg2,arg3);
21922
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 Py_INCREF(Py_None); resultobj = Py_None;
21927 return resultobj;
21928 fail:
21929 return NULL;
21930 }
21931
21932
21933 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21934 PyObject *resultobj;
21935 wxPrinter *arg1 = (wxPrinter *) 0 ;
21936 wxPrintDialogData *result;
21937 PyObject * obj0 = 0 ;
21938 char *kwnames[] = {
21939 (char *) "self", NULL
21940 };
21941
21942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 {
21948 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21949 result = (wxPrintDialogData *) &_result_ref;
21950 }
21951
21952 wxPyEndAllowThreads(__tstate);
21953 if (PyErr_Occurred()) SWIG_fail;
21954 }
21955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21956 return resultobj;
21957 fail:
21958 return NULL;
21959 }
21960
21961
21962 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21963 PyObject *resultobj;
21964 wxPrinter *arg1 = (wxPrinter *) 0 ;
21965 wxWindow *arg2 = (wxWindow *) 0 ;
21966 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21967 int arg4 = (int) true ;
21968 bool result;
21969 PyObject * obj0 = 0 ;
21970 PyObject * obj1 = 0 ;
21971 PyObject * obj2 = 0 ;
21972 PyObject * obj3 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21975 };
21976
21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21982 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21984 if (obj3) {
21985 arg4 = (int)SWIG_As_int(obj3);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 }
21988 {
21989 PyThreadState* __tstate = wxPyBeginAllowThreads();
21990 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21991
21992 wxPyEndAllowThreads(__tstate);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 {
21996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21997 }
21998 return resultobj;
21999 fail:
22000 return NULL;
22001 }
22002
22003
22004 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22005 PyObject *resultobj;
22006 wxPrinter *arg1 = (wxPrinter *) 0 ;
22007 wxWindow *arg2 = (wxWindow *) 0 ;
22008 wxDC *result;
22009 PyObject * obj0 = 0 ;
22010 PyObject * obj1 = 0 ;
22011 char *kwnames[] = {
22012 (char *) "self",(char *) "parent", NULL
22013 };
22014
22015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 result = (wxDC *)(arg1)->PrintDialog(arg2);
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 {
22028 resultobj = wxPyMake_wxObject(result, 0);
22029 }
22030 return resultobj;
22031 fail:
22032 return NULL;
22033 }
22034
22035
22036 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
22037 PyObject *resultobj;
22038 wxPrinter *arg1 = (wxPrinter *) 0 ;
22039 wxWindow *arg2 = (wxWindow *) 0 ;
22040 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22041 wxString *arg4 = 0 ;
22042 bool temp4 = false ;
22043 PyObject * obj0 = 0 ;
22044 PyObject * obj1 = 0 ;
22045 PyObject * obj2 = 0 ;
22046 PyObject * obj3 = 0 ;
22047 char *kwnames[] = {
22048 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22049 };
22050
22051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22056 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22058 {
22059 arg4 = wxString_in_helper(obj3);
22060 if (arg4 == NULL) SWIG_fail;
22061 temp4 = true;
22062 }
22063 {
22064 PyThreadState* __tstate = wxPyBeginAllowThreads();
22065 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22066
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 Py_INCREF(Py_None); resultobj = Py_None;
22071 {
22072 if (temp4)
22073 delete arg4;
22074 }
22075 return resultobj;
22076 fail:
22077 {
22078 if (temp4)
22079 delete arg4;
22080 }
22081 return NULL;
22082 }
22083
22084
22085 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22086 PyObject *resultobj;
22087 wxPrinter *arg1 = (wxPrinter *) 0 ;
22088 wxWindow *arg2 = (wxWindow *) 0 ;
22089 bool result;
22090 PyObject * obj0 = 0 ;
22091 PyObject * obj1 = 0 ;
22092 char *kwnames[] = {
22093 (char *) "self",(char *) "parent", NULL
22094 };
22095
22096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22101 {
22102 PyThreadState* __tstate = wxPyBeginAllowThreads();
22103 result = (bool)(arg1)->Setup(arg2);
22104
22105 wxPyEndAllowThreads(__tstate);
22106 if (PyErr_Occurred()) SWIG_fail;
22107 }
22108 {
22109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22110 }
22111 return resultobj;
22112 fail:
22113 return NULL;
22114 }
22115
22116
22117 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22118 PyObject *resultobj;
22119 wxPrinter *arg1 = (wxPrinter *) 0 ;
22120 bool result;
22121 PyObject * obj0 = 0 ;
22122 char *kwnames[] = {
22123 (char *) "self", NULL
22124 };
22125
22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 result = (bool)(arg1)->GetAbort();
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_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22146 PyObject *resultobj;
22147 int result;
22148 char *kwnames[] = {
22149 NULL
22150 };
22151
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22153 {
22154 PyThreadState* __tstate = wxPyBeginAllowThreads();
22155 result = (int)wxPrinter::GetLastError();
22156
22157 wxPyEndAllowThreads(__tstate);
22158 if (PyErr_Occurred()) SWIG_fail;
22159 }
22160 resultobj = SWIG_From_int((int)result);
22161 return resultobj;
22162 fail:
22163 return NULL;
22164 }
22165
22166
22167 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22168 PyObject *obj;
22169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22170 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22171 Py_INCREF(obj);
22172 return Py_BuildValue((char *)"");
22173 }
22174 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22175 PyObject *resultobj;
22176 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22177 wxString *arg1 = (wxString *) &arg1_defvalue ;
22178 wxPyPrintout *result;
22179 bool temp1 = false ;
22180 PyObject * obj0 = 0 ;
22181 char *kwnames[] = {
22182 (char *) "title", NULL
22183 };
22184
22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22186 if (obj0) {
22187 {
22188 arg1 = wxString_in_helper(obj0);
22189 if (arg1 == NULL) SWIG_fail;
22190 temp1 = true;
22191 }
22192 }
22193 {
22194 if (!wxPyCheckForApp()) SWIG_fail;
22195 PyThreadState* __tstate = wxPyBeginAllowThreads();
22196 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22197
22198 wxPyEndAllowThreads(__tstate);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 }
22201 {
22202 resultobj = wxPyMake_wxObject(result, 1);
22203 }
22204 {
22205 if (temp1)
22206 delete arg1;
22207 }
22208 return resultobj;
22209 fail:
22210 {
22211 if (temp1)
22212 delete arg1;
22213 }
22214 return NULL;
22215 }
22216
22217
22218 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22219 PyObject *resultobj;
22220 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22221 PyObject *arg2 = (PyObject *) 0 ;
22222 PyObject *arg3 = (PyObject *) 0 ;
22223 PyObject * obj0 = 0 ;
22224 PyObject * obj1 = 0 ;
22225 PyObject * obj2 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "self",(char *) "self",(char *) "_class", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22233 arg2 = obj1;
22234 arg3 = obj2;
22235 {
22236 PyThreadState* __tstate = wxPyBeginAllowThreads();
22237 (arg1)->_setCallbackInfo(arg2,arg3);
22238
22239 wxPyEndAllowThreads(__tstate);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 Py_INCREF(Py_None); resultobj = Py_None;
22243 return resultobj;
22244 fail:
22245 return NULL;
22246 }
22247
22248
22249 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22250 PyObject *resultobj;
22251 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22252 wxString result;
22253 PyObject * obj0 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "self", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 result = ((wxPyPrintout const *)arg1)->GetTitle();
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 {
22269 #if wxUSE_UNICODE
22270 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22271 #else
22272 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22273 #endif
22274 }
22275 return resultobj;
22276 fail:
22277 return NULL;
22278 }
22279
22280
22281 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22282 PyObject *resultobj;
22283 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22284 wxDC *result;
22285 PyObject * obj0 = 0 ;
22286 char *kwnames[] = {
22287 (char *) "self", NULL
22288 };
22289
22290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22293 {
22294 PyThreadState* __tstate = wxPyBeginAllowThreads();
22295 result = (wxDC *)(arg1)->GetDC();
22296
22297 wxPyEndAllowThreads(__tstate);
22298 if (PyErr_Occurred()) SWIG_fail;
22299 }
22300 {
22301 resultobj = wxPyMake_wxObject(result, 0);
22302 }
22303 return resultobj;
22304 fail:
22305 return NULL;
22306 }
22307
22308
22309 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22310 PyObject *resultobj;
22311 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22312 wxDC *arg2 = (wxDC *) 0 ;
22313 PyObject * obj0 = 0 ;
22314 PyObject * obj1 = 0 ;
22315 char *kwnames[] = {
22316 (char *) "self",(char *) "dc", NULL
22317 };
22318
22319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22324 {
22325 PyThreadState* __tstate = wxPyBeginAllowThreads();
22326 (arg1)->SetDC(arg2);
22327
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 Py_INCREF(Py_None); resultobj = Py_None;
22332 return resultobj;
22333 fail:
22334 return NULL;
22335 }
22336
22337
22338 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22339 PyObject *resultobj;
22340 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22341 int arg2 ;
22342 int arg3 ;
22343 PyObject * obj0 = 0 ;
22344 PyObject * obj1 = 0 ;
22345 PyObject * obj2 = 0 ;
22346 char *kwnames[] = {
22347 (char *) "self",(char *) "w",(char *) "h", NULL
22348 };
22349
22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22353 arg2 = (int)SWIG_As_int(obj1);
22354 if (PyErr_Occurred()) SWIG_fail;
22355 arg3 = (int)SWIG_As_int(obj2);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 {
22358 PyThreadState* __tstate = wxPyBeginAllowThreads();
22359 (arg1)->SetPageSizePixels(arg2,arg3);
22360
22361 wxPyEndAllowThreads(__tstate);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 }
22364 Py_INCREF(Py_None); resultobj = Py_None;
22365 return resultobj;
22366 fail:
22367 return NULL;
22368 }
22369
22370
22371 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22372 PyObject *resultobj;
22373 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22374 int *arg2 = (int *) 0 ;
22375 int *arg3 = (int *) 0 ;
22376 int temp2 ;
22377 int res2 = 0 ;
22378 int temp3 ;
22379 int res3 = 0 ;
22380 PyObject * obj0 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self", NULL
22383 };
22384
22385 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22386 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 (arg1)->GetPageSizePixels(arg2,arg3);
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 Py_INCREF(Py_None); resultobj = Py_None;
22398 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22399 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22400 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22401 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22402 return resultobj;
22403 fail:
22404 return NULL;
22405 }
22406
22407
22408 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj;
22410 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22411 int arg2 ;
22412 int arg3 ;
22413 PyObject * obj0 = 0 ;
22414 PyObject * obj1 = 0 ;
22415 PyObject * obj2 = 0 ;
22416 char *kwnames[] = {
22417 (char *) "self",(char *) "w",(char *) "h", NULL
22418 };
22419
22420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22423 arg2 = (int)SWIG_As_int(obj1);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 arg3 = (int)SWIG_As_int(obj2);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 {
22428 PyThreadState* __tstate = wxPyBeginAllowThreads();
22429 (arg1)->SetPageSizeMM(arg2,arg3);
22430
22431 wxPyEndAllowThreads(__tstate);
22432 if (PyErr_Occurred()) SWIG_fail;
22433 }
22434 Py_INCREF(Py_None); resultobj = Py_None;
22435 return resultobj;
22436 fail:
22437 return NULL;
22438 }
22439
22440
22441 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22442 PyObject *resultobj;
22443 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22444 int *arg2 = (int *) 0 ;
22445 int *arg3 = (int *) 0 ;
22446 int temp2 ;
22447 int res2 = 0 ;
22448 int temp3 ;
22449 int res3 = 0 ;
22450 PyObject * obj0 = 0 ;
22451 char *kwnames[] = {
22452 (char *) "self", NULL
22453 };
22454
22455 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22456 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 (arg1)->GetPageSizeMM(arg2,arg3);
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 Py_INCREF(Py_None); resultobj = Py_None;
22468 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22469 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22470 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22471 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22472 return resultobj;
22473 fail:
22474 return NULL;
22475 }
22476
22477
22478 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22479 PyObject *resultobj;
22480 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22481 int arg2 ;
22482 int arg3 ;
22483 PyObject * obj0 = 0 ;
22484 PyObject * obj1 = 0 ;
22485 PyObject * obj2 = 0 ;
22486 char *kwnames[] = {
22487 (char *) "self",(char *) "x",(char *) "y", NULL
22488 };
22489
22490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22493 arg2 = (int)SWIG_As_int(obj1);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 arg3 = (int)SWIG_As_int(obj2);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 (arg1)->SetPPIScreen(arg2,arg3);
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 Py_INCREF(Py_None); resultobj = Py_None;
22505 return resultobj;
22506 fail:
22507 return NULL;
22508 }
22509
22510
22511 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22512 PyObject *resultobj;
22513 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22514 int *arg2 = (int *) 0 ;
22515 int *arg3 = (int *) 0 ;
22516 int temp2 ;
22517 int res2 = 0 ;
22518 int temp3 ;
22519 int res3 = 0 ;
22520 PyObject * obj0 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self", NULL
22523 };
22524
22525 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22526 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
22532 (arg1)->GetPPIScreen(arg2,arg3);
22533
22534 wxPyEndAllowThreads(__tstate);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 }
22537 Py_INCREF(Py_None); resultobj = Py_None;
22538 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22539 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22540 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22541 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22542 return resultobj;
22543 fail:
22544 return NULL;
22545 }
22546
22547
22548 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22549 PyObject *resultobj;
22550 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22551 int arg2 ;
22552 int arg3 ;
22553 PyObject * obj0 = 0 ;
22554 PyObject * obj1 = 0 ;
22555 PyObject * obj2 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self",(char *) "x",(char *) "y", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22563 arg2 = (int)SWIG_As_int(obj1);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 arg3 = (int)SWIG_As_int(obj2);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 {
22568 PyThreadState* __tstate = wxPyBeginAllowThreads();
22569 (arg1)->SetPPIPrinter(arg2,arg3);
22570
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 Py_INCREF(Py_None); resultobj = Py_None;
22575 return resultobj;
22576 fail:
22577 return NULL;
22578 }
22579
22580
22581 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22582 PyObject *resultobj;
22583 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22584 int *arg2 = (int *) 0 ;
22585 int *arg3 = (int *) 0 ;
22586 int temp2 ;
22587 int res2 = 0 ;
22588 int temp3 ;
22589 int res3 = 0 ;
22590 PyObject * obj0 = 0 ;
22591 char *kwnames[] = {
22592 (char *) "self", NULL
22593 };
22594
22595 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22596 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 (arg1)->GetPPIPrinter(arg2,arg3);
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 Py_INCREF(Py_None); resultobj = Py_None;
22608 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22609 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22610 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22611 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj;
22620 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22621 bool result;
22622 PyObject * obj0 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "self", NULL
22625 };
22626
22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22630 {
22631 PyThreadState* __tstate = wxPyBeginAllowThreads();
22632 result = (bool)(arg1)->IsPreview();
22633
22634 wxPyEndAllowThreads(__tstate);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 }
22637 {
22638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22639 }
22640 return resultobj;
22641 fail:
22642 return NULL;
22643 }
22644
22645
22646 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22647 PyObject *resultobj;
22648 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22649 bool arg2 ;
22650 PyObject * obj0 = 0 ;
22651 PyObject * obj1 = 0 ;
22652 char *kwnames[] = {
22653 (char *) "self",(char *) "p", NULL
22654 };
22655
22656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22659 arg2 = (bool)SWIG_As_bool(obj1);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 (arg1)->SetIsPreview(arg2);
22664
22665 wxPyEndAllowThreads(__tstate);
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 Py_INCREF(Py_None); resultobj = Py_None;
22669 return resultobj;
22670 fail:
22671 return NULL;
22672 }
22673
22674
22675 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22676 PyObject *resultobj;
22677 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22678 int arg2 ;
22679 int arg3 ;
22680 bool result;
22681 PyObject * obj0 = 0 ;
22682 PyObject * obj1 = 0 ;
22683 PyObject * obj2 = 0 ;
22684 char *kwnames[] = {
22685 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22686 };
22687
22688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22691 arg2 = (int)SWIG_As_int(obj1);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 arg3 = (int)SWIG_As_int(obj2);
22694 if (PyErr_Occurred()) SWIG_fail;
22695 {
22696 PyThreadState* __tstate = wxPyBeginAllowThreads();
22697 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22698
22699 wxPyEndAllowThreads(__tstate);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 }
22702 {
22703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22704 }
22705 return resultobj;
22706 fail:
22707 return NULL;
22708 }
22709
22710
22711 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22712 PyObject *resultobj;
22713 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22714 PyObject * obj0 = 0 ;
22715 char *kwnames[] = {
22716 (char *) "self", NULL
22717 };
22718
22719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22722 {
22723 PyThreadState* __tstate = wxPyBeginAllowThreads();
22724 (arg1)->base_OnEndDocument();
22725
22726 wxPyEndAllowThreads(__tstate);
22727 if (PyErr_Occurred()) SWIG_fail;
22728 }
22729 Py_INCREF(Py_None); resultobj = Py_None;
22730 return resultobj;
22731 fail:
22732 return NULL;
22733 }
22734
22735
22736 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22737 PyObject *resultobj;
22738 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22739 PyObject * obj0 = 0 ;
22740 char *kwnames[] = {
22741 (char *) "self", NULL
22742 };
22743
22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22747 {
22748 PyThreadState* __tstate = wxPyBeginAllowThreads();
22749 (arg1)->base_OnBeginPrinting();
22750
22751 wxPyEndAllowThreads(__tstate);
22752 if (PyErr_Occurred()) SWIG_fail;
22753 }
22754 Py_INCREF(Py_None); resultobj = Py_None;
22755 return resultobj;
22756 fail:
22757 return NULL;
22758 }
22759
22760
22761 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22764 PyObject * obj0 = 0 ;
22765 char *kwnames[] = {
22766 (char *) "self", NULL
22767 };
22768
22769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 (arg1)->base_OnEndPrinting();
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 Py_INCREF(Py_None); resultobj = Py_None;
22780 return resultobj;
22781 fail:
22782 return NULL;
22783 }
22784
22785
22786 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22787 PyObject *resultobj;
22788 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22789 PyObject * obj0 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self", NULL
22792 };
22793
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 (arg1)->base_OnPreparePrinting();
22800
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 Py_INCREF(Py_None); resultobj = Py_None;
22805 return resultobj;
22806 fail:
22807 return NULL;
22808 }
22809
22810
22811 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
22812 PyObject *resultobj;
22813 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22814 int arg2 ;
22815 bool result;
22816 PyObject * obj0 = 0 ;
22817 PyObject * obj1 = 0 ;
22818 char *kwnames[] = {
22819 (char *) "self",(char *) "page", NULL
22820 };
22821
22822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22825 arg2 = (int)SWIG_As_int(obj1);
22826 if (PyErr_Occurred()) SWIG_fail;
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 result = (bool)(arg1)->base_HasPage(arg2);
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 {
22835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22836 }
22837 return resultobj;
22838 fail:
22839 return NULL;
22840 }
22841
22842
22843 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22844 PyObject *resultobj;
22845 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22846 int *arg2 = (int *) 0 ;
22847 int *arg3 = (int *) 0 ;
22848 int *arg4 = (int *) 0 ;
22849 int *arg5 = (int *) 0 ;
22850 int temp2 ;
22851 int res2 = 0 ;
22852 int temp3 ;
22853 int res3 = 0 ;
22854 int temp4 ;
22855 int res4 = 0 ;
22856 int temp5 ;
22857 int res5 = 0 ;
22858 PyObject * obj0 = 0 ;
22859 char *kwnames[] = {
22860 (char *) "self", NULL
22861 };
22862
22863 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22864 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22865 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22866 arg5 = &temp5; res5 = SWIG_NEWOBJ;
22867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 Py_INCREF(Py_None); resultobj = Py_None;
22878 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22879 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22880 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22881 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22882 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22883 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22884 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22885 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
22886 return resultobj;
22887 fail:
22888 return NULL;
22889 }
22890
22891
22892 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
22893 PyObject *obj;
22894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22895 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22896 Py_INCREF(obj);
22897 return Py_BuildValue((char *)"");
22898 }
22899 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22900 PyObject *resultobj;
22901 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22902 wxWindow *arg2 = (wxWindow *) 0 ;
22903 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22904 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22905 wxSize const &arg4_defvalue = wxDefaultSize ;
22906 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22907 long arg5 = (long) 0 ;
22908 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22909 wxString *arg6 = (wxString *) &arg6_defvalue ;
22910 wxPreviewCanvas *result;
22911 wxPoint temp3 ;
22912 wxSize temp4 ;
22913 bool temp6 = false ;
22914 PyObject * obj0 = 0 ;
22915 PyObject * obj1 = 0 ;
22916 PyObject * obj2 = 0 ;
22917 PyObject * obj3 = 0 ;
22918 PyObject * obj4 = 0 ;
22919 PyObject * obj5 = 0 ;
22920 char *kwnames[] = {
22921 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22927 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22929 if (obj2) {
22930 {
22931 arg3 = &temp3;
22932 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22933 }
22934 }
22935 if (obj3) {
22936 {
22937 arg4 = &temp4;
22938 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22939 }
22940 }
22941 if (obj4) {
22942 arg5 = (long)SWIG_As_long(obj4);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 if (obj5) {
22946 {
22947 arg6 = wxString_in_helper(obj5);
22948 if (arg6 == NULL) SWIG_fail;
22949 temp6 = true;
22950 }
22951 }
22952 {
22953 if (!wxPyCheckForApp()) SWIG_fail;
22954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22955 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22956
22957 wxPyEndAllowThreads(__tstate);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 }
22960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22961 {
22962 if (temp6)
22963 delete arg6;
22964 }
22965 return resultobj;
22966 fail:
22967 {
22968 if (temp6)
22969 delete arg6;
22970 }
22971 return NULL;
22972 }
22973
22974
22975 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
22976 PyObject *obj;
22977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22978 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22979 Py_INCREF(obj);
22980 return Py_BuildValue((char *)"");
22981 }
22982 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22983 PyObject *resultobj;
22984 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22985 wxFrame *arg2 = (wxFrame *) 0 ;
22986 wxString *arg3 = 0 ;
22987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22989 wxSize const &arg5_defvalue = wxDefaultSize ;
22990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22991 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22992 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22993 wxString *arg7 = (wxString *) &arg7_defvalue ;
22994 wxPreviewFrame *result;
22995 bool temp3 = false ;
22996 wxPoint temp4 ;
22997 wxSize temp5 ;
22998 bool temp7 = false ;
22999 PyObject * obj0 = 0 ;
23000 PyObject * obj1 = 0 ;
23001 PyObject * obj2 = 0 ;
23002 PyObject * obj3 = 0 ;
23003 PyObject * obj4 = 0 ;
23004 PyObject * obj5 = 0 ;
23005 PyObject * obj6 = 0 ;
23006 char *kwnames[] = {
23007 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23008 };
23009
23010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23015 {
23016 arg3 = wxString_in_helper(obj2);
23017 if (arg3 == NULL) SWIG_fail;
23018 temp3 = true;
23019 }
23020 if (obj3) {
23021 {
23022 arg4 = &temp4;
23023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23024 }
23025 }
23026 if (obj4) {
23027 {
23028 arg5 = &temp5;
23029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23030 }
23031 }
23032 if (obj5) {
23033 arg6 = (long)SWIG_As_long(obj5);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 if (obj6) {
23037 {
23038 arg7 = wxString_in_helper(obj6);
23039 if (arg7 == NULL) SWIG_fail;
23040 temp7 = true;
23041 }
23042 }
23043 {
23044 if (!wxPyCheckForApp()) SWIG_fail;
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23047
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23052 {
23053 if (temp3)
23054 delete arg3;
23055 }
23056 {
23057 if (temp7)
23058 delete arg7;
23059 }
23060 return resultobj;
23061 fail:
23062 {
23063 if (temp3)
23064 delete arg3;
23065 }
23066 {
23067 if (temp7)
23068 delete arg7;
23069 }
23070 return NULL;
23071 }
23072
23073
23074 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23075 PyObject *resultobj;
23076 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23077 PyObject * obj0 = 0 ;
23078 char *kwnames[] = {
23079 (char *) "self", NULL
23080 };
23081
23082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23085 {
23086 PyThreadState* __tstate = wxPyBeginAllowThreads();
23087 (arg1)->Initialize();
23088
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
23092 Py_INCREF(Py_None); resultobj = Py_None;
23093 return resultobj;
23094 fail:
23095 return NULL;
23096 }
23097
23098
23099 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23100 PyObject *resultobj;
23101 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23102 PyObject * obj0 = 0 ;
23103 char *kwnames[] = {
23104 (char *) "self", NULL
23105 };
23106
23107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23110 {
23111 PyThreadState* __tstate = wxPyBeginAllowThreads();
23112 (arg1)->CreateControlBar();
23113
23114 wxPyEndAllowThreads(__tstate);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 Py_INCREF(Py_None); resultobj = Py_None;
23118 return resultobj;
23119 fail:
23120 return NULL;
23121 }
23122
23123
23124 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23125 PyObject *resultobj;
23126 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23127 PyObject * obj0 = 0 ;
23128 char *kwnames[] = {
23129 (char *) "self", NULL
23130 };
23131
23132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23135 {
23136 PyThreadState* __tstate = wxPyBeginAllowThreads();
23137 (arg1)->CreateCanvas();
23138
23139 wxPyEndAllowThreads(__tstate);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
23142 Py_INCREF(Py_None); resultobj = Py_None;
23143 return resultobj;
23144 fail:
23145 return NULL;
23146 }
23147
23148
23149 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23150 PyObject *resultobj;
23151 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23152 wxPreviewControlBar *result;
23153 PyObject * obj0 = 0 ;
23154 char *kwnames[] = {
23155 (char *) "self", NULL
23156 };
23157
23158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23161 {
23162 PyThreadState* __tstate = wxPyBeginAllowThreads();
23163 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23164
23165 wxPyEndAllowThreads(__tstate);
23166 if (PyErr_Occurred()) SWIG_fail;
23167 }
23168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23169 return resultobj;
23170 fail:
23171 return NULL;
23172 }
23173
23174
23175 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23176 PyObject *obj;
23177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23178 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23179 Py_INCREF(obj);
23180 return Py_BuildValue((char *)"");
23181 }
23182 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23183 PyObject *resultobj;
23184 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23185 long arg2 ;
23186 wxWindow *arg3 = (wxWindow *) 0 ;
23187 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23188 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23189 wxSize const &arg5_defvalue = wxDefaultSize ;
23190 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23191 long arg6 = (long) wxTAB_TRAVERSAL ;
23192 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23193 wxString *arg7 = (wxString *) &arg7_defvalue ;
23194 wxPreviewControlBar *result;
23195 wxPoint temp4 ;
23196 wxSize temp5 ;
23197 bool temp7 = false ;
23198 PyObject * obj0 = 0 ;
23199 PyObject * obj1 = 0 ;
23200 PyObject * obj2 = 0 ;
23201 PyObject * obj3 = 0 ;
23202 PyObject * obj4 = 0 ;
23203 PyObject * obj5 = 0 ;
23204 PyObject * obj6 = 0 ;
23205 char *kwnames[] = {
23206 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23207 };
23208
23209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23212 arg2 = (long)SWIG_As_long(obj1);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23216 if (obj3) {
23217 {
23218 arg4 = &temp4;
23219 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23220 }
23221 }
23222 if (obj4) {
23223 {
23224 arg5 = &temp5;
23225 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23226 }
23227 }
23228 if (obj5) {
23229 arg6 = (long)SWIG_As_long(obj5);
23230 if (PyErr_Occurred()) SWIG_fail;
23231 }
23232 if (obj6) {
23233 {
23234 arg7 = wxString_in_helper(obj6);
23235 if (arg7 == NULL) SWIG_fail;
23236 temp7 = true;
23237 }
23238 }
23239 {
23240 if (!wxPyCheckForApp()) SWIG_fail;
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23248 {
23249 if (temp7)
23250 delete arg7;
23251 }
23252 return resultobj;
23253 fail:
23254 {
23255 if (temp7)
23256 delete arg7;
23257 }
23258 return NULL;
23259 }
23260
23261
23262 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23263 PyObject *resultobj;
23264 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23265 int result;
23266 PyObject * obj0 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "self", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 result = (int)(arg1)->GetZoomControl();
23277
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 resultobj = SWIG_From_int((int)result);
23282 return resultobj;
23283 fail:
23284 return NULL;
23285 }
23286
23287
23288 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23289 PyObject *resultobj;
23290 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23291 int arg2 ;
23292 PyObject * obj0 = 0 ;
23293 PyObject * obj1 = 0 ;
23294 char *kwnames[] = {
23295 (char *) "self",(char *) "zoom", NULL
23296 };
23297
23298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23301 arg2 = (int)SWIG_As_int(obj1);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 {
23304 PyThreadState* __tstate = wxPyBeginAllowThreads();
23305 (arg1)->SetZoomControl(arg2);
23306
23307 wxPyEndAllowThreads(__tstate);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 }
23310 Py_INCREF(Py_None); resultobj = Py_None;
23311 return resultobj;
23312 fail:
23313 return NULL;
23314 }
23315
23316
23317 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23318 PyObject *resultobj;
23319 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23320 wxPrintPreview *result;
23321 PyObject * obj0 = 0 ;
23322 char *kwnames[] = {
23323 (char *) "self", NULL
23324 };
23325
23326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23329 {
23330 PyThreadState* __tstate = wxPyBeginAllowThreads();
23331 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23332
23333 wxPyEndAllowThreads(__tstate);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 }
23336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23337 return resultobj;
23338 fail:
23339 return NULL;
23340 }
23341
23342
23343 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj;
23345 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23346 PyObject * obj0 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 (arg1)->OnNext();
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 Py_INCREF(Py_None); resultobj = Py_None;
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23369 PyObject *resultobj;
23370 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23371 PyObject * obj0 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 (arg1)->OnPrevious();
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 Py_INCREF(Py_None); resultobj = Py_None;
23387 return resultobj;
23388 fail:
23389 return NULL;
23390 }
23391
23392
23393 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23394 PyObject *resultobj;
23395 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23396 PyObject * obj0 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 (arg1)->OnFirst();
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 Py_INCREF(Py_None); resultobj = Py_None;
23412 return resultobj;
23413 fail:
23414 return NULL;
23415 }
23416
23417
23418 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23419 PyObject *resultobj;
23420 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23421 PyObject * obj0 = 0 ;
23422 char *kwnames[] = {
23423 (char *) "self", NULL
23424 };
23425
23426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 (arg1)->OnLast();
23432
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 Py_INCREF(Py_None); resultobj = Py_None;
23437 return resultobj;
23438 fail:
23439 return NULL;
23440 }
23441
23442
23443 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23444 PyObject *resultobj;
23445 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23446 PyObject * obj0 = 0 ;
23447 char *kwnames[] = {
23448 (char *) "self", NULL
23449 };
23450
23451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 (arg1)->OnGoto();
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 Py_INCREF(Py_None); resultobj = Py_None;
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23469 PyObject *obj;
23470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23471 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23472 Py_INCREF(obj);
23473 return Py_BuildValue((char *)"");
23474 }
23475 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23476 PyObject *resultobj;
23477 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23478 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23479 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23480 wxPrintPreview *result;
23481 PyObject * obj0 = 0 ;
23482 PyObject * obj1 = 0 ;
23483 PyObject * obj2 = 0 ;
23484
23485 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23490 if (obj2) {
23491 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23493 }
23494 {
23495 if (!wxPyCheckForApp()) SWIG_fail;
23496 PyThreadState* __tstate = wxPyBeginAllowThreads();
23497 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23498
23499 wxPyEndAllowThreads(__tstate);
23500 if (PyErr_Occurred()) SWIG_fail;
23501 }
23502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23503 return resultobj;
23504 fail:
23505 return NULL;
23506 }
23507
23508
23509 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23510 PyObject *resultobj;
23511 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23512 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23513 wxPrintData *arg3 = (wxPrintData *) 0 ;
23514 wxPrintPreview *result;
23515 PyObject * obj0 = 0 ;
23516 PyObject * obj1 = 0 ;
23517 PyObject * obj2 = 0 ;
23518
23519 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23524 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23526 {
23527 if (!wxPyCheckForApp()) SWIG_fail;
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23535 return resultobj;
23536 fail:
23537 return NULL;
23538 }
23539
23540
23541 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23542 int argc;
23543 PyObject *argv[4];
23544 int ii;
23545
23546 argc = PyObject_Length(args);
23547 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23548 argv[ii] = PyTuple_GetItem(args,ii);
23549 }
23550 if ((argc >= 2) && (argc <= 3)) {
23551 int _v;
23552 {
23553 void *ptr;
23554 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23555 _v = 0;
23556 PyErr_Clear();
23557 } else {
23558 _v = 1;
23559 }
23560 }
23561 if (_v) {
23562 {
23563 void *ptr;
23564 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23565 _v = 0;
23566 PyErr_Clear();
23567 } else {
23568 _v = 1;
23569 }
23570 }
23571 if (_v) {
23572 if (argc <= 2) {
23573 return _wrap_new_PrintPreview__SWIG_0(self,args);
23574 }
23575 {
23576 void *ptr;
23577 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23578 _v = 0;
23579 PyErr_Clear();
23580 } else {
23581 _v = 1;
23582 }
23583 }
23584 if (_v) {
23585 return _wrap_new_PrintPreview__SWIG_0(self,args);
23586 }
23587 }
23588 }
23589 }
23590 if (argc == 3) {
23591 int _v;
23592 {
23593 void *ptr;
23594 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23595 _v = 0;
23596 PyErr_Clear();
23597 } else {
23598 _v = 1;
23599 }
23600 }
23601 if (_v) {
23602 {
23603 void *ptr;
23604 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23605 _v = 0;
23606 PyErr_Clear();
23607 } else {
23608 _v = 1;
23609 }
23610 }
23611 if (_v) {
23612 {
23613 void *ptr;
23614 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23615 _v = 0;
23616 PyErr_Clear();
23617 } else {
23618 _v = 1;
23619 }
23620 }
23621 if (_v) {
23622 return _wrap_new_PrintPreview__SWIG_1(self,args);
23623 }
23624 }
23625 }
23626 }
23627
23628 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23629 return NULL;
23630 }
23631
23632
23633 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23634 PyObject *resultobj;
23635 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23636 int arg2 ;
23637 bool result;
23638 PyObject * obj0 = 0 ;
23639 PyObject * obj1 = 0 ;
23640 char *kwnames[] = {
23641 (char *) "self",(char *) "pageNum", NULL
23642 };
23643
23644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23647 arg2 = (int)SWIG_As_int(obj1);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 result = (bool)(arg1)->SetCurrentPage(arg2);
23652
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
23656 {
23657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23658 }
23659 return resultobj;
23660 fail:
23661 return NULL;
23662 }
23663
23664
23665 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23666 PyObject *resultobj;
23667 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23668 int result;
23669 PyObject * obj0 = 0 ;
23670 char *kwnames[] = {
23671 (char *) "self", NULL
23672 };
23673
23674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23677 {
23678 PyThreadState* __tstate = wxPyBeginAllowThreads();
23679 result = (int)(arg1)->GetCurrentPage();
23680
23681 wxPyEndAllowThreads(__tstate);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 }
23684 resultobj = SWIG_From_int((int)result);
23685 return resultobj;
23686 fail:
23687 return NULL;
23688 }
23689
23690
23691 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23692 PyObject *resultobj;
23693 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23694 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23695 PyObject * obj0 = 0 ;
23696 PyObject * obj1 = 0 ;
23697 char *kwnames[] = {
23698 (char *) "self",(char *) "printout", NULL
23699 };
23700
23701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 (arg1)->SetPrintout(arg2);
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 Py_INCREF(Py_None); resultobj = Py_None;
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23723 wxPyPrintout *result;
23724 PyObject * obj0 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 result = (wxPyPrintout *)(arg1)->GetPrintout();
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 {
23740 resultobj = wxPyMake_wxObject(result, 0);
23741 }
23742 return resultobj;
23743 fail:
23744 return NULL;
23745 }
23746
23747
23748 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(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_GetPrintoutForPrinting",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)->GetPrintoutForPrinting();
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_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23777 PyObject *resultobj;
23778 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23779 wxFrame *arg2 = (wxFrame *) 0 ;
23780 PyObject * obj0 = 0 ;
23781 PyObject * obj1 = 0 ;
23782 char *kwnames[] = {
23783 (char *) "self",(char *) "frame", NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 (arg1)->SetFrame(arg2);
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 Py_INCREF(Py_None); resultobj = Py_None;
23799 return resultobj;
23800 fail:
23801 return NULL;
23802 }
23803
23804
23805 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23808 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23809 PyObject * obj0 = 0 ;
23810 PyObject * obj1 = 0 ;
23811 char *kwnames[] = {
23812 (char *) "self",(char *) "canvas", NULL
23813 };
23814
23815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 (arg1)->SetCanvas(arg2);
23823
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 Py_INCREF(Py_None); resultobj = Py_None;
23828 return resultobj;
23829 fail:
23830 return NULL;
23831 }
23832
23833
23834 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23837 wxFrame *result;
23838 PyObject * obj0 = 0 ;
23839 char *kwnames[] = {
23840 (char *) "self", NULL
23841 };
23842
23843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23846 {
23847 PyThreadState* __tstate = wxPyBeginAllowThreads();
23848 result = (wxFrame *)(arg1)->GetFrame();
23849
23850 wxPyEndAllowThreads(__tstate);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 }
23853 {
23854 resultobj = wxPyMake_wxObject(result, 0);
23855 }
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj;
23864 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23865 wxPreviewCanvas *result;
23866 PyObject * obj0 = 0 ;
23867 char *kwnames[] = {
23868 (char *) "self", NULL
23869 };
23870
23871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",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 = (wxPreviewCanvas *)(arg1)->GetCanvas();
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23882 return resultobj;
23883 fail:
23884 return NULL;
23885 }
23886
23887
23888 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23889 PyObject *resultobj;
23890 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23891 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23892 wxDC *arg3 = 0 ;
23893 bool result;
23894 PyObject * obj0 = 0 ;
23895 PyObject * obj1 = 0 ;
23896 PyObject * obj2 = 0 ;
23897 char *kwnames[] = {
23898 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23899 };
23900
23901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23906 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23907 SWIG_POINTER_EXCEPTION | 0)) == -1)
23908 SWIG_fail;
23909 if (arg3 == NULL) {
23910 PyErr_SetString(PyExc_TypeError,"null reference");
23911 SWIG_fail;
23912 }
23913 {
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23916
23917 wxPyEndAllowThreads(__tstate);
23918 if (PyErr_Occurred()) SWIG_fail;
23919 }
23920 {
23921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23922 }
23923 return resultobj;
23924 fail:
23925 return NULL;
23926 }
23927
23928
23929 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23930 PyObject *resultobj;
23931 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23932 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23933 wxDC *arg3 = 0 ;
23934 bool result;
23935 PyObject * obj0 = 0 ;
23936 PyObject * obj1 = 0 ;
23937 PyObject * obj2 = 0 ;
23938 char *kwnames[] = {
23939 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23940 };
23941
23942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23947 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23948 SWIG_POINTER_EXCEPTION | 0)) == -1)
23949 SWIG_fail;
23950 if (arg3 == NULL) {
23951 PyErr_SetString(PyExc_TypeError,"null reference");
23952 SWIG_fail;
23953 }
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 {
23962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23963 }
23964 return resultobj;
23965 fail:
23966 return NULL;
23967 }
23968
23969
23970 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23971 PyObject *resultobj;
23972 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23973 int arg2 ;
23974 bool result;
23975 PyObject * obj0 = 0 ;
23976 PyObject * obj1 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "self",(char *) "pageNum", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23984 arg2 = (int)SWIG_As_int(obj1);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 result = (bool)(arg1)->RenderPage(arg2);
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 {
23994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23995 }
23996 return resultobj;
23997 fail:
23998 return NULL;
23999 }
24000
24001
24002 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
24003 PyObject *resultobj;
24004 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24005 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24006 PyObject * obj0 = 0 ;
24007 PyObject * obj1 = 0 ;
24008 char *kwnames[] = {
24009 (char *) "self",(char *) "canvas", NULL
24010 };
24011
24012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24017 {
24018 PyThreadState* __tstate = wxPyBeginAllowThreads();
24019 (arg1)->AdjustScrollbars(arg2);
24020
24021 wxPyEndAllowThreads(__tstate);
24022 if (PyErr_Occurred()) SWIG_fail;
24023 }
24024 Py_INCREF(Py_None); resultobj = Py_None;
24025 return resultobj;
24026 fail:
24027 return NULL;
24028 }
24029
24030
24031 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24032 PyObject *resultobj;
24033 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24034 wxPrintDialogData *result;
24035 PyObject * obj0 = 0 ;
24036 char *kwnames[] = {
24037 (char *) "self", NULL
24038 };
24039
24040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 {
24046 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24047 result = (wxPrintDialogData *) &_result_ref;
24048 }
24049
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24054 return resultobj;
24055 fail:
24056 return NULL;
24057 }
24058
24059
24060 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24061 PyObject *resultobj;
24062 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24063 int arg2 ;
24064 PyObject * obj0 = 0 ;
24065 PyObject * obj1 = 0 ;
24066 char *kwnames[] = {
24067 (char *) "self",(char *) "percent", NULL
24068 };
24069
24070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24073 arg2 = (int)SWIG_As_int(obj1);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 (arg1)->SetZoom(arg2);
24078
24079 wxPyEndAllowThreads(__tstate);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
24082 Py_INCREF(Py_None); resultobj = Py_None;
24083 return resultobj;
24084 fail:
24085 return NULL;
24086 }
24087
24088
24089 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24090 PyObject *resultobj;
24091 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24092 int result;
24093 PyObject * obj0 = 0 ;
24094 char *kwnames[] = {
24095 (char *) "self", NULL
24096 };
24097
24098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24101 {
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 result = (int)(arg1)->GetZoom();
24104
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 resultobj = SWIG_From_int((int)result);
24109 return resultobj;
24110 fail:
24111 return NULL;
24112 }
24113
24114
24115 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj;
24117 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24118 int result;
24119 PyObject * obj0 = 0 ;
24120 char *kwnames[] = {
24121 (char *) "self", NULL
24122 };
24123
24124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 result = (int)(arg1)->GetMaxPage();
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 resultobj = SWIG_From_int((int)result);
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24144 int result;
24145 PyObject * obj0 = 0 ;
24146 char *kwnames[] = {
24147 (char *) "self", NULL
24148 };
24149
24150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24153 {
24154 PyThreadState* __tstate = wxPyBeginAllowThreads();
24155 result = (int)(arg1)->GetMinPage();
24156
24157 wxPyEndAllowThreads(__tstate);
24158 if (PyErr_Occurred()) SWIG_fail;
24159 }
24160 resultobj = SWIG_From_int((int)result);
24161 return resultobj;
24162 fail:
24163 return NULL;
24164 }
24165
24166
24167 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj;
24169 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24170 bool result;
24171 PyObject * obj0 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self", NULL
24174 };
24175
24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = (bool)(arg1)->Ok();
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 {
24187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24188 }
24189 return resultobj;
24190 fail:
24191 return NULL;
24192 }
24193
24194
24195 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj;
24197 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24198 bool arg2 ;
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 char *kwnames[] = {
24202 (char *) "self",(char *) "ok", NULL
24203 };
24204
24205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24208 arg2 = (bool)SWIG_As_bool(obj1);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 {
24211 PyThreadState* __tstate = wxPyBeginAllowThreads();
24212 (arg1)->SetOk(arg2);
24213
24214 wxPyEndAllowThreads(__tstate);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 }
24217 Py_INCREF(Py_None); resultobj = Py_None;
24218 return resultobj;
24219 fail:
24220 return NULL;
24221 }
24222
24223
24224 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24225 PyObject *resultobj;
24226 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24227 bool arg2 ;
24228 bool result;
24229 PyObject * obj0 = 0 ;
24230 PyObject * obj1 = 0 ;
24231 char *kwnames[] = {
24232 (char *) "self",(char *) "interactive", NULL
24233 };
24234
24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24238 arg2 = (bool)SWIG_As_bool(obj1);
24239 if (PyErr_Occurred()) SWIG_fail;
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 result = (bool)(arg1)->Print(arg2);
24243
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
24247 {
24248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24249 }
24250 return resultobj;
24251 fail:
24252 return NULL;
24253 }
24254
24255
24256 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24257 PyObject *resultobj;
24258 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24259 PyObject * obj0 = 0 ;
24260 char *kwnames[] = {
24261 (char *) "self", NULL
24262 };
24263
24264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 (arg1)->DetermineScaling();
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 Py_INCREF(Py_None); resultobj = Py_None;
24275 return resultobj;
24276 fail:
24277 return NULL;
24278 }
24279
24280
24281 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24282 PyObject *obj;
24283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24284 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24285 Py_INCREF(obj);
24286 return Py_BuildValue((char *)"");
24287 }
24288 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24289 PyObject *resultobj;
24290 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24291 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24292 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24293 wxPyPrintPreview *result;
24294 PyObject * obj0 = 0 ;
24295 PyObject * obj1 = 0 ;
24296 PyObject * obj2 = 0 ;
24297
24298 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24303 if (obj2) {
24304 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24306 }
24307 {
24308 if (!wxPyCheckForApp()) SWIG_fail;
24309 PyThreadState* __tstate = wxPyBeginAllowThreads();
24310 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24311
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24316 return resultobj;
24317 fail:
24318 return NULL;
24319 }
24320
24321
24322 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24323 PyObject *resultobj;
24324 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24325 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24326 wxPrintData *arg3 = (wxPrintData *) 0 ;
24327 wxPyPrintPreview *result;
24328 PyObject * obj0 = 0 ;
24329 PyObject * obj1 = 0 ;
24330 PyObject * obj2 = 0 ;
24331
24332 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24337 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24339 {
24340 if (!wxPyCheckForApp()) SWIG_fail;
24341 PyThreadState* __tstate = wxPyBeginAllowThreads();
24342 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24343
24344 wxPyEndAllowThreads(__tstate);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
24347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24348 return resultobj;
24349 fail:
24350 return NULL;
24351 }
24352
24353
24354 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24355 int argc;
24356 PyObject *argv[4];
24357 int ii;
24358
24359 argc = PyObject_Length(args);
24360 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24361 argv[ii] = PyTuple_GetItem(args,ii);
24362 }
24363 if ((argc >= 2) && (argc <= 3)) {
24364 int _v;
24365 {
24366 void *ptr;
24367 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24368 _v = 0;
24369 PyErr_Clear();
24370 } else {
24371 _v = 1;
24372 }
24373 }
24374 if (_v) {
24375 {
24376 void *ptr;
24377 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24378 _v = 0;
24379 PyErr_Clear();
24380 } else {
24381 _v = 1;
24382 }
24383 }
24384 if (_v) {
24385 if (argc <= 2) {
24386 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24387 }
24388 {
24389 void *ptr;
24390 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24391 _v = 0;
24392 PyErr_Clear();
24393 } else {
24394 _v = 1;
24395 }
24396 }
24397 if (_v) {
24398 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24399 }
24400 }
24401 }
24402 }
24403 if (argc == 3) {
24404 int _v;
24405 {
24406 void *ptr;
24407 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24408 _v = 0;
24409 PyErr_Clear();
24410 } else {
24411 _v = 1;
24412 }
24413 }
24414 if (_v) {
24415 {
24416 void *ptr;
24417 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24418 _v = 0;
24419 PyErr_Clear();
24420 } else {
24421 _v = 1;
24422 }
24423 }
24424 if (_v) {
24425 {
24426 void *ptr;
24427 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24428 _v = 0;
24429 PyErr_Clear();
24430 } else {
24431 _v = 1;
24432 }
24433 }
24434 if (_v) {
24435 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24436 }
24437 }
24438 }
24439 }
24440
24441 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24442 return NULL;
24443 }
24444
24445
24446 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24447 PyObject *resultobj;
24448 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24449 PyObject *arg2 = (PyObject *) 0 ;
24450 PyObject *arg3 = (PyObject *) 0 ;
24451 PyObject * obj0 = 0 ;
24452 PyObject * obj1 = 0 ;
24453 PyObject * obj2 = 0 ;
24454 char *kwnames[] = {
24455 (char *) "self",(char *) "self",(char *) "_class", NULL
24456 };
24457
24458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24461 arg2 = obj1;
24462 arg3 = obj2;
24463 {
24464 PyThreadState* __tstate = wxPyBeginAllowThreads();
24465 (arg1)->_setCallbackInfo(arg2,arg3);
24466
24467 wxPyEndAllowThreads(__tstate);
24468 if (PyErr_Occurred()) SWIG_fail;
24469 }
24470 Py_INCREF(Py_None); resultobj = Py_None;
24471 return resultobj;
24472 fail:
24473 return NULL;
24474 }
24475
24476
24477 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24478 PyObject *resultobj;
24479 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24480 int arg2 ;
24481 bool result;
24482 PyObject * obj0 = 0 ;
24483 PyObject * obj1 = 0 ;
24484 char *kwnames[] = {
24485 (char *) "self",(char *) "pageNum", NULL
24486 };
24487
24488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24491 arg2 = (int)SWIG_As_int(obj1);
24492 if (PyErr_Occurred()) SWIG_fail;
24493 {
24494 PyThreadState* __tstate = wxPyBeginAllowThreads();
24495 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24496
24497 wxPyEndAllowThreads(__tstate);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 }
24500 {
24501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24502 }
24503 return resultobj;
24504 fail:
24505 return NULL;
24506 }
24507
24508
24509 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj;
24511 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24512 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24513 wxDC *arg3 = 0 ;
24514 bool result;
24515 PyObject * obj0 = 0 ;
24516 PyObject * obj1 = 0 ;
24517 PyObject * obj2 = 0 ;
24518 char *kwnames[] = {
24519 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24520 };
24521
24522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24527 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24528 SWIG_POINTER_EXCEPTION | 0)) == -1)
24529 SWIG_fail;
24530 if (arg3 == NULL) {
24531 PyErr_SetString(PyExc_TypeError,"null reference");
24532 SWIG_fail;
24533 }
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 {
24542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24543 }
24544 return resultobj;
24545 fail:
24546 return NULL;
24547 }
24548
24549
24550 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24551 PyObject *resultobj;
24552 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24553 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24554 wxDC *arg3 = 0 ;
24555 bool result;
24556 PyObject * obj0 = 0 ;
24557 PyObject * obj1 = 0 ;
24558 PyObject * obj2 = 0 ;
24559 char *kwnames[] = {
24560 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24561 };
24562
24563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24568 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24569 SWIG_POINTER_EXCEPTION | 0)) == -1)
24570 SWIG_fail;
24571 if (arg3 == NULL) {
24572 PyErr_SetString(PyExc_TypeError,"null reference");
24573 SWIG_fail;
24574 }
24575 {
24576 PyThreadState* __tstate = wxPyBeginAllowThreads();
24577 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24578
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 {
24583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24584 }
24585 return resultobj;
24586 fail:
24587 return NULL;
24588 }
24589
24590
24591 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24592 PyObject *resultobj;
24593 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24594 int arg2 ;
24595 bool result;
24596 PyObject * obj0 = 0 ;
24597 PyObject * obj1 = 0 ;
24598 char *kwnames[] = {
24599 (char *) "self",(char *) "pageNum", NULL
24600 };
24601
24602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24605 arg2 = (int)SWIG_As_int(obj1);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 {
24608 PyThreadState* __tstate = wxPyBeginAllowThreads();
24609 result = (bool)(arg1)->base_RenderPage(arg2);
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
24614 {
24615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24616 }
24617 return resultobj;
24618 fail:
24619 return NULL;
24620 }
24621
24622
24623 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24624 PyObject *resultobj;
24625 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24626 int arg2 ;
24627 PyObject * obj0 = 0 ;
24628 PyObject * obj1 = 0 ;
24629 char *kwnames[] = {
24630 (char *) "self",(char *) "percent", NULL
24631 };
24632
24633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24636 arg2 = (int)SWIG_As_int(obj1);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 {
24639 PyThreadState* __tstate = wxPyBeginAllowThreads();
24640 (arg1)->base_SetZoom(arg2);
24641
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
24645 Py_INCREF(Py_None); resultobj = Py_None;
24646 return resultobj;
24647 fail:
24648 return NULL;
24649 }
24650
24651
24652 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24653 PyObject *resultobj;
24654 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24655 bool arg2 ;
24656 bool result;
24657 PyObject * obj0 = 0 ;
24658 PyObject * obj1 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "self",(char *) "interactive", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24666 arg2 = (bool)SWIG_As_bool(obj1);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 result = (bool)(arg1)->base_Print(arg2);
24671
24672 wxPyEndAllowThreads(__tstate);
24673 if (PyErr_Occurred()) SWIG_fail;
24674 }
24675 {
24676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24677 }
24678 return resultobj;
24679 fail:
24680 return NULL;
24681 }
24682
24683
24684 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24685 PyObject *resultobj;
24686 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24687 PyObject * obj0 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24695 {
24696 PyThreadState* __tstate = wxPyBeginAllowThreads();
24697 (arg1)->base_DetermineScaling();
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 Py_INCREF(Py_None); resultobj = Py_None;
24703 return resultobj;
24704 fail:
24705 return NULL;
24706 }
24707
24708
24709 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24710 PyObject *obj;
24711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24712 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24713 Py_INCREF(obj);
24714 return Py_BuildValue((char *)"");
24715 }
24716 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24717 PyObject *resultobj;
24718 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24719 wxFrame *arg2 = (wxFrame *) 0 ;
24720 wxString *arg3 = 0 ;
24721 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24722 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24723 wxSize const &arg5_defvalue = wxDefaultSize ;
24724 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24725 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24726 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24727 wxString *arg7 = (wxString *) &arg7_defvalue ;
24728 wxPyPreviewFrame *result;
24729 bool temp3 = false ;
24730 wxPoint temp4 ;
24731 wxSize temp5 ;
24732 bool temp7 = false ;
24733 PyObject * obj0 = 0 ;
24734 PyObject * obj1 = 0 ;
24735 PyObject * obj2 = 0 ;
24736 PyObject * obj3 = 0 ;
24737 PyObject * obj4 = 0 ;
24738 PyObject * obj5 = 0 ;
24739 PyObject * obj6 = 0 ;
24740 char *kwnames[] = {
24741 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24742 };
24743
24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24749 {
24750 arg3 = wxString_in_helper(obj2);
24751 if (arg3 == NULL) SWIG_fail;
24752 temp3 = true;
24753 }
24754 if (obj3) {
24755 {
24756 arg4 = &temp4;
24757 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24758 }
24759 }
24760 if (obj4) {
24761 {
24762 arg5 = &temp5;
24763 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24764 }
24765 }
24766 if (obj5) {
24767 arg6 = (long)SWIG_As_long(obj5);
24768 if (PyErr_Occurred()) SWIG_fail;
24769 }
24770 if (obj6) {
24771 {
24772 arg7 = wxString_in_helper(obj6);
24773 if (arg7 == NULL) SWIG_fail;
24774 temp7 = true;
24775 }
24776 }
24777 {
24778 if (!wxPyCheckForApp()) SWIG_fail;
24779 PyThreadState* __tstate = wxPyBeginAllowThreads();
24780 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24781
24782 wxPyEndAllowThreads(__tstate);
24783 if (PyErr_Occurred()) SWIG_fail;
24784 }
24785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24786 {
24787 if (temp3)
24788 delete arg3;
24789 }
24790 {
24791 if (temp7)
24792 delete arg7;
24793 }
24794 return resultobj;
24795 fail:
24796 {
24797 if (temp3)
24798 delete arg3;
24799 }
24800 {
24801 if (temp7)
24802 delete arg7;
24803 }
24804 return NULL;
24805 }
24806
24807
24808 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24809 PyObject *resultobj;
24810 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24811 PyObject *arg2 = (PyObject *) 0 ;
24812 PyObject *arg3 = (PyObject *) 0 ;
24813 PyObject * obj0 = 0 ;
24814 PyObject * obj1 = 0 ;
24815 PyObject * obj2 = 0 ;
24816 char *kwnames[] = {
24817 (char *) "self",(char *) "self",(char *) "_class", NULL
24818 };
24819
24820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24823 arg2 = obj1;
24824 arg3 = obj2;
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 (arg1)->_setCallbackInfo(arg2,arg3);
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 Py_INCREF(Py_None); resultobj = Py_None;
24833 return resultobj;
24834 fail:
24835 return NULL;
24836 }
24837
24838
24839 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj;
24841 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24842 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24843 PyObject * obj0 = 0 ;
24844 PyObject * obj1 = 0 ;
24845 char *kwnames[] = {
24846 (char *) "self",(char *) "canvas", NULL
24847 };
24848
24849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 (arg1)->SetPreviewCanvas(arg2);
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
24861 Py_INCREF(Py_None); resultobj = Py_None;
24862 return resultobj;
24863 fail:
24864 return NULL;
24865 }
24866
24867
24868 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24869 PyObject *resultobj;
24870 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24871 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24872 PyObject * obj0 = 0 ;
24873 PyObject * obj1 = 0 ;
24874 char *kwnames[] = {
24875 (char *) "self",(char *) "bar", NULL
24876 };
24877
24878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24883 {
24884 PyThreadState* __tstate = wxPyBeginAllowThreads();
24885 (arg1)->SetControlBar(arg2);
24886
24887 wxPyEndAllowThreads(__tstate);
24888 if (PyErr_Occurred()) SWIG_fail;
24889 }
24890 Py_INCREF(Py_None); resultobj = Py_None;
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24900 PyObject * obj0 = 0 ;
24901 char *kwnames[] = {
24902 (char *) "self", NULL
24903 };
24904
24905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24908 {
24909 PyThreadState* __tstate = wxPyBeginAllowThreads();
24910 (arg1)->base_Initialize();
24911
24912 wxPyEndAllowThreads(__tstate);
24913 if (PyErr_Occurred()) SWIG_fail;
24914 }
24915 Py_INCREF(Py_None); resultobj = Py_None;
24916 return resultobj;
24917 fail:
24918 return NULL;
24919 }
24920
24921
24922 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj;
24924 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24925 PyObject * obj0 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "self", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 (arg1)->base_CreateCanvas();
24936
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 Py_INCREF(Py_None); resultobj = Py_None;
24941 return resultobj;
24942 fail:
24943 return NULL;
24944 }
24945
24946
24947 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24948 PyObject *resultobj;
24949 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24950 PyObject * obj0 = 0 ;
24951 char *kwnames[] = {
24952 (char *) "self", NULL
24953 };
24954
24955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24958 {
24959 PyThreadState* __tstate = wxPyBeginAllowThreads();
24960 (arg1)->base_CreateControlBar();
24961
24962 wxPyEndAllowThreads(__tstate);
24963 if (PyErr_Occurred()) SWIG_fail;
24964 }
24965 Py_INCREF(Py_None); resultobj = Py_None;
24966 return resultobj;
24967 fail:
24968 return NULL;
24969 }
24970
24971
24972 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
24973 PyObject *obj;
24974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24975 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24976 Py_INCREF(obj);
24977 return Py_BuildValue((char *)"");
24978 }
24979 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24980 PyObject *resultobj;
24981 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24982 long arg2 ;
24983 wxWindow *arg3 = (wxWindow *) 0 ;
24984 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24985 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24986 wxSize const &arg5_defvalue = wxDefaultSize ;
24987 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24988 long arg6 = (long) 0 ;
24989 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24990 wxString *arg7 = (wxString *) &arg7_defvalue ;
24991 wxPyPreviewControlBar *result;
24992 wxPoint temp4 ;
24993 wxSize temp5 ;
24994 bool temp7 = false ;
24995 PyObject * obj0 = 0 ;
24996 PyObject * obj1 = 0 ;
24997 PyObject * obj2 = 0 ;
24998 PyObject * obj3 = 0 ;
24999 PyObject * obj4 = 0 ;
25000 PyObject * obj5 = 0 ;
25001 PyObject * obj6 = 0 ;
25002 char *kwnames[] = {
25003 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25004 };
25005
25006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25009 arg2 = (long)SWIG_As_long(obj1);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25013 if (obj3) {
25014 {
25015 arg4 = &temp4;
25016 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25017 }
25018 }
25019 if (obj4) {
25020 {
25021 arg5 = &temp5;
25022 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25023 }
25024 }
25025 if (obj5) {
25026 arg6 = (long)SWIG_As_long(obj5);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 if (obj6) {
25030 {
25031 arg7 = wxString_in_helper(obj6);
25032 if (arg7 == NULL) SWIG_fail;
25033 temp7 = true;
25034 }
25035 }
25036 {
25037 if (!wxPyCheckForApp()) SWIG_fail;
25038 PyThreadState* __tstate = wxPyBeginAllowThreads();
25039 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25040
25041 wxPyEndAllowThreads(__tstate);
25042 if (PyErr_Occurred()) SWIG_fail;
25043 }
25044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25045 {
25046 if (temp7)
25047 delete arg7;
25048 }
25049 return resultobj;
25050 fail:
25051 {
25052 if (temp7)
25053 delete arg7;
25054 }
25055 return NULL;
25056 }
25057
25058
25059 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25060 PyObject *resultobj;
25061 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25062 PyObject *arg2 = (PyObject *) 0 ;
25063 PyObject *arg3 = (PyObject *) 0 ;
25064 PyObject * obj0 = 0 ;
25065 PyObject * obj1 = 0 ;
25066 PyObject * obj2 = 0 ;
25067 char *kwnames[] = {
25068 (char *) "self",(char *) "self",(char *) "_class", NULL
25069 };
25070
25071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25074 arg2 = obj1;
25075 arg3 = obj2;
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 (arg1)->_setCallbackInfo(arg2,arg3);
25079
25080 wxPyEndAllowThreads(__tstate);
25081 if (PyErr_Occurred()) SWIG_fail;
25082 }
25083 Py_INCREF(Py_None); resultobj = Py_None;
25084 return resultobj;
25085 fail:
25086 return NULL;
25087 }
25088
25089
25090 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25091 PyObject *resultobj;
25092 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25093 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25094 PyObject * obj0 = 0 ;
25095 PyObject * obj1 = 0 ;
25096 char *kwnames[] = {
25097 (char *) "self",(char *) "preview", NULL
25098 };
25099
25100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25105 {
25106 PyThreadState* __tstate = wxPyBeginAllowThreads();
25107 (arg1)->SetPrintPreview(arg2);
25108
25109 wxPyEndAllowThreads(__tstate);
25110 if (PyErr_Occurred()) SWIG_fail;
25111 }
25112 Py_INCREF(Py_None); resultobj = Py_None;
25113 return resultobj;
25114 fail:
25115 return NULL;
25116 }
25117
25118
25119 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25120 PyObject *resultobj;
25121 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25122 PyObject * obj0 = 0 ;
25123 char *kwnames[] = {
25124 (char *) "self", NULL
25125 };
25126
25127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25130 {
25131 PyThreadState* __tstate = wxPyBeginAllowThreads();
25132 (arg1)->base_CreateButtons();
25133
25134 wxPyEndAllowThreads(__tstate);
25135 if (PyErr_Occurred()) SWIG_fail;
25136 }
25137 Py_INCREF(Py_None); resultobj = Py_None;
25138 return resultobj;
25139 fail:
25140 return NULL;
25141 }
25142
25143
25144 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25145 PyObject *resultobj;
25146 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25147 int arg2 ;
25148 PyObject * obj0 = 0 ;
25149 PyObject * obj1 = 0 ;
25150 char *kwnames[] = {
25151 (char *) "self",(char *) "zoom", NULL
25152 };
25153
25154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25157 arg2 = (int)SWIG_As_int(obj1);
25158 if (PyErr_Occurred()) SWIG_fail;
25159 {
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 (arg1)->base_SetZoomControl(arg2);
25162
25163 wxPyEndAllowThreads(__tstate);
25164 if (PyErr_Occurred()) SWIG_fail;
25165 }
25166 Py_INCREF(Py_None); resultobj = Py_None;
25167 return resultobj;
25168 fail:
25169 return NULL;
25170 }
25171
25172
25173 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25174 PyObject *obj;
25175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25176 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25177 Py_INCREF(obj);
25178 return Py_BuildValue((char *)"");
25179 }
25180 static PyMethodDef SwigMethods[] = {
25181 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25182 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25183 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25184 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25185 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25186 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25187 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25188 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25189 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25190 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25191 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25192 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25193 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25194 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25195 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25196 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25197 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25198 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25199 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25200 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25201 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25202 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25203 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25204 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25205 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25206 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25207 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25208 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25209 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25210 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25211 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25212 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25213 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25214 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25215 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25216 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25217 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25218 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25219 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25220 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25221 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25222 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25223 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25224 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25225 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25226 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25227 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25228 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25229 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25230 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25231 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25232 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25233 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25234 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25235 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25236 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25237 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25238 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25239 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25240 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25241 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25242 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25243 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25244 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25245 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25246 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25247 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25248 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25249 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25250 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25251 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25252 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25253 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25254 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25255 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25256 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25257 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25258 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25259 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25260 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25261 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25262 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25263 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25264 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25265 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25266 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25267 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25268 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25269 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25274 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25275 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25276 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25278 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25289 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25290 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25291 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25294 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25297 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25298 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25299 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25300 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25307 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25308 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25314 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25315 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25319 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25323 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25324 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25325 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25326 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25334 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25338 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25340 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25346 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25349 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25350 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25355 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25357 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25358 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25363 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25364 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25369 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25375 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25384 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25389 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25390 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25395 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25401 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25405 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25423 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25449 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25457 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25466 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25468 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25477 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25480 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25487 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25505 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25509 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25514 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25518 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25534 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25537 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25539 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25543 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25552 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25561 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25567 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25579 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25586 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25590 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25616 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25642 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25668 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25669 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25716 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25717 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25748 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25752 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25753 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25786 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25791 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25802 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25825 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25827 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25833 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25843 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25844 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25867 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25868 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25869 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25872 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25873 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25877 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25882 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25885 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25890 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25891 { NULL, NULL, 0, NULL }
25892 };
25893
25894
25895 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25896
25897 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25898 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25899 }
25900 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25901 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25902 }
25903 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25904 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25905 }
25906 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25907 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25908 }
25909 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25910 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25911 }
25912 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25913 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25914 }
25915 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25916 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25917 }
25918 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25919 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25920 }
25921 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25922 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25923 }
25924 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25925 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25926 }
25927 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25928 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25929 }
25930 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25931 return (void *)((wxEvent *) ((wxPyEvent *) x));
25932 }
25933 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25934 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25935 }
25936 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25937 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25938 }
25939 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25940 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25941 }
25942 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25944 }
25945 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25946 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25947 }
25948 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25949 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25950 }
25951 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25952 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25953 }
25954 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25955 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25956 }
25957 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25958 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25959 }
25960 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25961 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25962 }
25963 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25964 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25965 }
25966 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25967 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25968 }
25969 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25970 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25971 }
25972 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25973 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25974 }
25975 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25976 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25977 }
25978 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25979 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25980 }
25981 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25982 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25983 }
25984 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25985 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25986 }
25987 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25988 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25989 }
25990 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25991 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25992 }
25993 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25994 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25995 }
25996 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25997 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25998 }
25999 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26000 return (void *)((wxEvent *) ((wxShowEvent *) x));
26001 }
26002 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26003 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26004 }
26005 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26006 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26007 }
26008 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26009 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26010 }
26011 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26012 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26013 }
26014 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26015 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26016 }
26017 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26018 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26019 }
26020 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26021 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26022 }
26023 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26024 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26025 }
26026 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26027 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26028 }
26029 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26030 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26031 }
26032 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26033 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26034 }
26035 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26036 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26037 }
26038 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26039 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26040 }
26041 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26042 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26043 }
26044 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26045 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26046 }
26047 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26049 }
26050 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26051 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26052 }
26053 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26055 }
26056 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26057 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26058 }
26059 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26060 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26061 }
26062 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26063 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26064 }
26065 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26066 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26067 }
26068 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26069 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26070 }
26071 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26072 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26073 }
26074 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26075 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26076 }
26077 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26078 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26079 }
26080 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26081 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26082 }
26083 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26084 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26085 }
26086 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26087 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26088 }
26089 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26090 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26091 }
26092 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26093 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26094 }
26095 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26096 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26097 }
26098 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26099 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26100 }
26101 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26102 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26103 }
26104 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26105 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26106 }
26107 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26108 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26109 }
26110 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26111 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26112 }
26113 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26114 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26115 }
26116 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26117 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26118 }
26119 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26120 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26121 }
26122 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26123 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26124 }
26125 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26126 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26127 }
26128 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26129 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26130 }
26131 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26132 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26133 }
26134 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26135 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26136 }
26137 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26138 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26139 }
26140 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26141 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26142 }
26143 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26144 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26145 }
26146 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26147 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26148 }
26149 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
26150 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
26151 }
26152 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26153 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26154 }
26155 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26156 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26157 }
26158 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26159 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26160 }
26161 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26162 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26163 }
26164 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26165 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26166 }
26167 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26169 }
26170 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26172 }
26173 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26175 }
26176 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26177 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26178 }
26179 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26180 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26181 }
26182 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26183 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26184 }
26185 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26186 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26187 }
26188 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26189 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26190 }
26191 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26192 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26193 }
26194 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26195 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26196 }
26197 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26198 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26199 }
26200 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26201 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26202 }
26203 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26204 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26205 }
26206 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26208 }
26209 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26211 }
26212 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26213 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26214 }
26215 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26216 return (void *)((wxObject *) ((wxSizerItem *) x));
26217 }
26218 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26219 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26220 }
26221 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26222 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26223 }
26224 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26225 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26226 }
26227 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26228 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26229 }
26230 static void *_p_wxSizerTo_p_wxObject(void *x) {
26231 return (void *)((wxObject *) ((wxSizer *) x));
26232 }
26233 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26234 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26235 }
26236 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26237 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26238 }
26239 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26241 }
26242 static void *_p_wxEventTo_p_wxObject(void *x) {
26243 return (void *)((wxObject *) ((wxEvent *) x));
26244 }
26245 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26246 return (void *)((wxObject *) ((wxFontData *) x));
26247 }
26248 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26249 return (void *)((wxObject *) ((wxPrintData *) x));
26250 }
26251 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26252 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26253 }
26254 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26255 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26256 }
26257 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26258 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26259 }
26260 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26261 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26262 }
26263 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26264 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26265 }
26266 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26267 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26268 }
26269 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26270 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26271 }
26272 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26273 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26274 }
26275 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26276 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26277 }
26278 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26279 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26280 }
26281 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26282 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26283 }
26284 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26285 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26286 }
26287 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26289 }
26290 static void *_p_wxControlTo_p_wxObject(void *x) {
26291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26292 }
26293 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26294 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26295 }
26296 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26297 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26298 }
26299 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26300 return (void *)((wxObject *) ((wxFSFile *) x));
26301 }
26302 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26303 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26304 }
26305 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26306 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26307 }
26308 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26310 }
26311 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26312 return (void *)((wxObject *) ((wxColourData *) x));
26313 }
26314 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26315 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26316 }
26317 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26318 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26319 }
26320 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26322 }
26323 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26325 }
26326 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26328 }
26329 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26331 }
26332 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26334 }
26335 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26337 }
26338 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26340 }
26341 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26343 }
26344 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26346 }
26347 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26348 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26349 }
26350 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26351 return (void *)((wxObject *) ((wxPrinter *) x));
26352 }
26353 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26354 return (void *)((wxObject *) ((wxMenuItem *) x));
26355 }
26356 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26357 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26358 }
26359 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26360 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26361 }
26362 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26363 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26364 }
26365 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26366 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26367 }
26368 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26369 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26370 }
26371 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26372 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26373 }
26374 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26375 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26376 }
26377 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26378 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26379 }
26380 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26381 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26382 }
26383 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26384 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26385 }
26386 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26387 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26388 }
26389 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26390 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26391 }
26392 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26393 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26394 }
26395 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26396 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26397 }
26398 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26399 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26400 }
26401 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26402 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26403 }
26404 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26405 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26406 }
26407 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26408 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26409 }
26410 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26411 return (void *)((wxObject *) ((wxImageHandler *) x));
26412 }
26413 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26414 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26415 }
26416 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26417 return (void *)((wxObject *) ((wxEvtHandler *) x));
26418 }
26419 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26420 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26421 }
26422 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26424 }
26425 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26427 }
26428 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26429 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26430 }
26431 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26433 }
26434 static void *_p_wxImageTo_p_wxObject(void *x) {
26435 return (void *)((wxObject *) ((wxImage *) x));
26436 }
26437 static void *_p_wxFrameTo_p_wxObject(void *x) {
26438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26439 }
26440 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26441 return (void *)((wxObject *) ((wxPyPrintout *) x));
26442 }
26443 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26444 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26445 }
26446 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26447 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26448 }
26449 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26451 }
26452 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26454 }
26455 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26456 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26457 }
26458 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26459 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26460 }
26461 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26462 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26463 }
26464 static void *_p_wxWindowTo_p_wxObject(void *x) {
26465 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26466 }
26467 static void *_p_wxMenuTo_p_wxObject(void *x) {
26468 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26469 }
26470 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26472 }
26473 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26475 }
26476 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26478 }
26479 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26481 }
26482 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26484 }
26485 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26487 }
26488 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26490 }
26491 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26493 }
26494 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26496 }
26497 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26499 }
26500 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26502 }
26503 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26505 }
26506 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26508 }
26509 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26510 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26511 }
26512 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26513 return (void *)((wxObject *) ((wxPrintPreview *) x));
26514 }
26515 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26516 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26517 }
26518 static void *_p_wxPanelTo_p_wxObject(void *x) {
26519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26520 }
26521 static void *_p_wxDialogTo_p_wxObject(void *x) {
26522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26523 }
26524 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26526 }
26527 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26529 }
26530 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26532 }
26533 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26535 }
26536 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26538 }
26539 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26540 return (void *)((wxObject *) ((wxFileSystem *) x));
26541 }
26542 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26543 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26544 }
26545 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26546 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26547 }
26548 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26549 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26550 }
26551 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26552 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26553 }
26554 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26555 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26556 }
26557 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26558 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26559 }
26560 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26561 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26562 }
26563 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26564 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26565 }
26566 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26568 }
26569 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26571 }
26572 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26573 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26574 }
26575 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26576 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26577 }
26578 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26579 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26580 }
26581 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26583 }
26584 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26585 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26586 }
26587 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26588 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26589 }
26590 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26591 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26592 }
26593 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26594 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26595 }
26596 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26597 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26598 }
26599 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26600 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26601 }
26602 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26603 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26604 }
26605 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26606 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26607 }
26608 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26609 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26610 }
26611 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26612 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26613 }
26614 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26615 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26616 }
26617 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26618 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26619 }
26620 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26621 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26622 }
26623 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26624 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26625 }
26626 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26627 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26628 }
26629 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26630 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26631 }
26632 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26633 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26634 }
26635 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26636 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26637 }
26638 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26639 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26640 }
26641 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26642 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26643 }
26644 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26645 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26646 }
26647 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26648 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26649 }
26650 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26651 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26652 }
26653 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26654 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26655 }
26656 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26657 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26658 }
26659 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26660 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26661 }
26662 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26663 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26664 }
26665 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26666 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26667 }
26668 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26669 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26670 }
26671 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26672 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26673 }
26674 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26675 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26676 }
26677 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26678 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26679 }
26680 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26681 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26682 }
26683 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26684 return (void *)((wxWindow *) ((wxMenuBar *) x));
26685 }
26686 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26687 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26688 }
26689 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26690 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26691 }
26692 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26693 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26694 }
26695 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26696 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26697 }
26698 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26699 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26700 }
26701 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26702 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26703 }
26704 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26705 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26706 }
26707 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26708 return (void *)((wxWindow *) ((wxPanel *) x));
26709 }
26710 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26711 return (void *)((wxWindow *) ((wxStatusBar *) x));
26712 }
26713 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26714 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26715 }
26716 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26717 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26718 }
26719 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26720 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26721 }
26722 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26723 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26724 }
26725 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26726 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26727 }
26728 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26729 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26730 }
26731 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26732 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26733 }
26734 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26735 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26736 }
26737 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26738 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26739 }
26740 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26741 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26742 }
26743 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26744 return (void *)((wxWindow *) ((wxSashWindow *) x));
26745 }
26746 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26747 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26748 }
26749 static void *_p_wxControlTo_p_wxWindow(void *x) {
26750 return (void *)((wxWindow *) ((wxControl *) x));
26751 }
26752 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26753 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26754 }
26755 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26756 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26757 }
26758 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26759 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26760 }
26761 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26762 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26763 }
26764 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26765 return (void *)((wxWindow *) ((wxPyWindow *) x));
26766 }
26767 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26768 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26769 }
26770 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26771 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26772 }
26773 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26774 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26775 }
26776 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26777 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26778 }
26779 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26780 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26781 }
26782 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26783 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26784 }
26785 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26786 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26787 }
26788 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26789 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26790 }
26791 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26792 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26793 }
26794 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26795 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26796 }
26797 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26798 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26799 }
26800 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26801 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26802 }
26803 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26804 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26805 }
26806 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26807 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26808 }
26809 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26810 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26811 }
26812 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26813 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26814 }
26815 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26816 return (void *)((wxDialog *) ((wxColourDialog *) x));
26817 }
26818 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26819 return (void *)((wxDialog *) ((wxDirDialog *) x));
26820 }
26821 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26822 return (void *)((wxDialog *) ((wxFontDialog *) x));
26823 }
26824 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26825 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26826 }
26827 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26828 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26829 }
26830 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26831 return (void *)((wxDialog *) ((wxFileDialog *) x));
26832 }
26833 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26834 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26835 }
26836 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26837 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26838 }
26839 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26840 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26841 }
26842 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26843 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26844 }
26845 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26846 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26847 }
26848 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26849 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26850 }
26851 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26852 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26853 }
26854 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26855 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26856 }
26857 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26858 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26859 }
26860 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26861 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26862 }
26863 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26864 return (void *)((wxPanel *) ((wxPyPanel *) x));
26865 }
26866 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26867 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26868 }
26869 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26870 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26871 }
26872 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26873 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26874 }
26875 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26876 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26877 }
26878 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26879 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26880 }
26881 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26882 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26883 }
26884 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26885 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26886 }
26887 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26888 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26889 }
26890 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26891 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26892 }
26893 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26894 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26895 }
26896 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26897 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26898 }
26899 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26900 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26901 }
26902 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26903 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26904 }
26905 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26906 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26907 }
26908 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26909 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26910 }
26911 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}};
26912 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}};
26913 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}};
26914 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}};
26915 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}};
26916 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}};
26917 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}};
26918 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}};
26919 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}};
26920 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}};
26921 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}};
26922 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}};
26923 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}};
26924 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}};
26925 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}};
26926 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}};
26927 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}};
26928 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}};
26929 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}};
26930 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}};
26931 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}};
26932 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}};
26933 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}};
26934 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}};
26935 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}};
26936 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}};
26937 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}};
26938 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}};
26939 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}};
26940 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}};
26941 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}};
26942 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}};
26943 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}};
26944 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}};
26945 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}};
26946 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}};
26947 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}};
26948 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}};
26949 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}};
26950 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}};
26951 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}};
26952 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}};
26953 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}};
26954 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}};
26955 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}};
26956 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}};
26957 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}};
26958 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}};
26959 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}};
26960 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}};
26961 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}};
26962 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}};
26963 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}};
26964 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}};
26965 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}};
26966 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}};
26967 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}};
26968 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}};
26969 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}};
26970 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}};
26971 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}};
26972 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}};
26973 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}};
26974 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}};
26975 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}};
26976 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}};
26977 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}};
26978 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}};
26979 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}};
26980 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}};
26981 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}};
26982 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}};
26983 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}};
26984 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}};
26985 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}};
26986 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}};
26987 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}};
26988 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}};
26989 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}};
26990 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}};
26991 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}};
26992 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}};
26993 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}};
26994 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}};
26995 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}};
26996 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}};
26997
26998 static swig_type_info *swig_types_initial[] = {
26999 _swigt__p_wxQueryLayoutInfoEvent,
27000 _swigt__p_wxPreviewFrame,
27001 _swigt__p_wxPyPreviewFrame,
27002 _swigt__p_wxPyPanel,
27003 _swigt__p_wxMenu,
27004 _swigt__p_wxFontData,
27005 _swigt__p_wxEvent,
27006 _swigt__p_wxPrintData,
27007 _swigt__p_wxTaskBarIcon,
27008 _swigt__p_wxIconBundle,
27009 _swigt__p_wxLayoutAlgorithm,
27010 _swigt__p_wxFindDialogEvent,
27011 _swigt__p_wxPreviewCanvas,
27012 _swigt__p_wxFont,
27013 _swigt__p_wxSplitterEvent,
27014 _swigt__p_wxRegion,
27015 _swigt__p_wxFindReplaceData,
27016 _swigt__p_int,
27017 _swigt__p_wxSize,
27018 _swigt__p_wxDC,
27019 _swigt__p_wxIcon,
27020 _swigt__p_wxVisualAttributes,
27021 _swigt__p_wxMDIChildFrame,
27022 _swigt__p_wxColourData,
27023 _swigt__p_wxNotifyEvent,
27024 _swigt__p_wxPyWindow,
27025 _swigt__p_wxSplashScreen,
27026 _swigt__p_wxFindReplaceDialog,
27027 _swigt__p_wxProgressDialog,
27028 _swigt__p_wxMessageDialog,
27029 _swigt__p_wxTextEntryDialog,
27030 _swigt__p_wxSingleChoiceDialog,
27031 _swigt__p_wxMultiChoiceDialog,
27032 _swigt__p_wxFileDialog,
27033 _swigt__p_wxPrinter,
27034 _swigt__p_wxArrayInt,
27035 _swigt__p_wxEvtHandler,
27036 _swigt__p_wxCalculateLayoutEvent,
27037 _swigt__p_wxPyHtmlListBox,
27038 _swigt__p_wxPyVListBox,
27039 _swigt__p_wxRect,
27040 _swigt__p_char,
27041 _swigt__p_wxMiniFrame,
27042 _swigt__p_wxFrame,
27043 _swigt__p_wxPyPrintout,
27044 _swigt__p_wxTaskBarIconEvent,
27045 _swigt__p_wxScrollWinEvent,
27046 _swigt__p_wxStatusBar,
27047 _swigt__p_wxMDIParentFrame,
27048 _swigt__p_wxPoint,
27049 _swigt__p_wxObject,
27050 _swigt__p_wxOutputStream,
27051 _swigt__p_wxPyScrolledWindow,
27052 _swigt__p_wxMDIClientWindow,
27053 _swigt__p_wxTipWindow,
27054 _swigt__p_wxSashLayoutWindow,
27055 _swigt__p_wxSplitterWindow,
27056 _swigt__p_wxSplashScreenWindow,
27057 _swigt__p_wxPyVScrolledWindow,
27058 _swigt__p_wxPyPopupTransientWindow,
27059 _swigt__p_wxPopupWindow,
27060 _swigt__p_wxSashWindow,
27061 _swigt__p_wxTopLevelWindow,
27062 _swigt__p_wxWindow,
27063 _swigt__p_wxScrolledWindow,
27064 _swigt__p_wxMenuBar,
27065 _swigt__p_wxPrintPreview,
27066 _swigt__p_wxSashEvent,
27067 _swigt__p_wxString,
27068 _swigt__p_wxPyPrintPreview,
27069 _swigt__p_wxFontDialog,
27070 _swigt__p_wxDirDialog,
27071 _swigt__p_wxColourDialog,
27072 _swigt__p_wxDialog,
27073 _swigt__p_wxPanel,
27074 _swigt__p_wxPageSetupDialog,
27075 _swigt__p_wxPrintDialog,
27076 _swigt__p_wxFileSystem,
27077 _swigt__p_wxBitmap,
27078 _swigt__p_wxCommandEvent,
27079 _swigt__p_wxPreviewControlBar,
27080 _swigt__p_wxPyPreviewControlBar,
27081 _swigt__p_wxColour,
27082 _swigt__p_wxToolBar,
27083 _swigt__p_wxPageSetupDialogData,
27084 _swigt__p_wxPrintDialogData,
27085 0
27086 };
27087
27088
27089 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27090
27091 static swig_const_info swig_const_table[] = {
27092 {0, 0, 0, 0.0, 0, 0}};
27093
27094 #ifdef __cplusplus
27095 }
27096 #endif
27097
27098 #ifdef __cplusplus
27099 extern "C"
27100 #endif
27101 SWIGEXPORT(void) SWIG_init(void) {
27102 static PyObject *SWIG_globals = 0;
27103 static int typeinit = 0;
27104 PyObject *m, *d;
27105 int i;
27106 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27107 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27108 d = PyModule_GetDict(m);
27109
27110 if (!typeinit) {
27111 for (i = 0; swig_types_initial[i]; i++) {
27112 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27113 }
27114 typeinit = 1;
27115 }
27116 SWIG_InstallConstants(d,swig_const_table);
27117
27118 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27119 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27120 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27121 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27122 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27123 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27124 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27125 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27126 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27127 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27128 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27129 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27130 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27131 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27132 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27133 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27134 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27135 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27136 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27137 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27138 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27139 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27140 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27141 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27142 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27143 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27144 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
27145 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27146 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27147 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27148 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27149 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27150 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27151 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27152 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27153 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27154 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27155 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27156 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27157 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27158 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27159 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27160 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27161 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27162 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27163 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27164 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27165 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27166 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27167 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27168 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27169 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27170 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27171 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27172 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27173 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27174 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27175 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27176 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27177 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27178 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27179 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27180 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27181 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27182 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27183 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27184 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27185 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27186 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27187 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27188 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27189 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27190 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27191 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27192 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27193 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27194 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27195 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27196 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27197 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27198 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27199 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27200 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27201 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27202 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27203 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27204 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27205 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27206 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27207 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27208 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27209 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27210 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27211 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27212 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27213 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27214 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27215 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27216 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27217
27218 // Map renamed classes back to their common name for OOR
27219 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27220 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27221 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27222
27223 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27224 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27225 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27226 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27227 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27228 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27229 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27230 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27231 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27232 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27233 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27234 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27235 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27236 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27237 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27238 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27239 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27240 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27241 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27242 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27243 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27244 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27245 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27246 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27247 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27248 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27249 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27250 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27251 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27252 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27253 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27254 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27255 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27256 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27257 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27258 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27259 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27260 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27261 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27262 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27263 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27264 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27265 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27266 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27267 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27268 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27269 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27270 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27271 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27272 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27273 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27274 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27275 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27276 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27277 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27278 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
27279 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27280 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27281 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27282 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27283 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27284 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27285 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27286 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27287 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27288 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27289 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27290 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27291 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27292 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27293 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27294 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27295 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27296 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27297 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27298
27299 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27300
27301 }
27302